WO2019126952A1 - Widget processing method for terminal, mobile terminal, and storage medium - Google Patents
Widget processing method for terminal, mobile terminal, and storage medium Download PDFInfo
- Publication number
- WO2019126952A1 WO2019126952A1 PCT/CN2017/118341 CN2017118341W WO2019126952A1 WO 2019126952 A1 WO2019126952 A1 WO 2019126952A1 CN 2017118341 W CN2017118341 W CN 2017118341W WO 2019126952 A1 WO2019126952 A1 WO 2019126952A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- widget
- display interface
- instruction
- added
- terminal
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
Definitions
- the present invention relates to the field of intelligent terminal technologies, and in particular, to a widget processing method for a terminal, a mobile terminal, and a storage medium.
- the widget's widget interface can display the widgets commonly used by the user.
- the user can directly open a widget from the widget display interface, or view the corresponding information without opening the widget, and bring the user to the terminal operation.
- the user can adjust the widget display interface in the setting item of the terminal according to his own preferences and needs, but can not directly edit the widget display interface.
- the settings can only be made from the settings of the terminal, and the location of adding the widgets cannot be set according to the user's preferences and usage habits, resulting in the user.
- the operation of adding widgets is weak and the user experience is poor.
- An object of the present invention is to provide a method for processing a widget of a terminal, a mobile terminal, and a storage medium, which can enhance the consistency of the widget addition operation.
- the present invention provides a method for processing a widget of a terminal, the widget processing method comprising:
- the receiving the response command from the widget display interface to determine at least one widget to be added further includes:
- Adding the determined at least one widget to be added to the widget display interface includes:
- the receiving the response instruction from the widget display interface to determine at least one widget to be added includes:
- the at least one widget to be added is determined according to a selection instruction acquired at the widget addition interface.
- the widget displayed on the widget adding interface includes all the widgets of the terminal; wherein the widgets added to the widget display interface of the all widgets are not added to the display interface. Widgets are displayed differently; or
- the widget displayed on the widget addition interface includes widgets not included in the widget display interface of all widgets of the terminal.
- the method further includes:
- the widget processing method further includes:
- the display manner of the widget to be edited is different from that of other widgets; and/or the display manner of the widget to be moved is different from that of other widgets.
- the obtaining an editing instruction from the widget display interface of the terminal includes:
- the second selection instruction and the editing instruction are the touch instructions.
- the present invention provides a mobile terminal, the mobile terminal comprising:
- a memory a processor and a touch display screen, the processor connecting the memory and the touch display screen;
- the memory is configured to store an operating system of the processor and corresponding operation instructions
- the touch display screen is used to display various interfaces of the terminal, and obtain corresponding control commands triggered by the user from the respective interfaces;
- the processor executes the operational instructions to implement the widget processing method described above.
- the present invention also provides a storage medium storing program data, the program data being executable to implement the above-described widget processing method proposed by the present invention.
- the present invention sets the widget display interface to the widget editing state by the editing command responding from the widget display interface, that is, the widget display interface can be directly edited from the widget display interface. Edit the pieces. Further, when the widget display interface is in the widget editing state, the response command of the widget display interface is used to determine at least one widget to be added; and the at least one widget to be added is added to the widget display interface, that is, The widget to be added is directly added to the widget display interface, and no other setting interface such as setting items of the terminal is needed, thereby enhancing the consistency of the widget addition operation.
- FIG. 1 is a schematic flow chart of a first embodiment of a method for processing a widget of a terminal of the present invention
- FIG. 2 is a schematic flow chart of a second embodiment of a method for processing a widget of a terminal of the present invention
- step S204 in the embodiment shown in FIG. 2;
- FIGS. 4a to 4d are schematic diagrams showing a display interface of a terminal in an application example of a widget processing method of a terminal of the present invention
- FIG. 5 is a schematic flow chart of a third embodiment of a method for processing a widget of a terminal of the present invention.
- 6a to 6c are schematic diagrams showing a display interface of a terminal in another application example of the widget processing method of the terminal of the present invention.
- FIG. 7 is a schematic flow chart of a fourth embodiment of a method for processing a widget of a terminal of the present invention.
- FIG. 8 is a schematic structural diagram of a first embodiment of a widget processing system of a terminal of the present invention.
- FIG. 9 is a schematic structural diagram of a second embodiment of a widget processing system of a terminal of the present invention.
- FIG. 10 is a schematic structural diagram of a first determining module in the embodiment shown in FIG. 9; FIG.
- FIG. 11 is a schematic structural diagram of a third embodiment of a widget processing system of a terminal of the present invention.
- FIG. 12 is a schematic structural diagram of a fourth embodiment of a widget processing system of a terminal of the present invention.
- FIG. 13 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention.
- Figure 14 is a block diagram showing the structure of an embodiment of the storage medium of the present invention.
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 1, the widget processing method of this embodiment includes the following steps:
- Widgets are diffracted products of smart terminal technology.
- Various applications such as clocks, diaries, calculators, video players, and memos can be used as widgets. Users can obtain corresponding information through widgets without unlocking the terminal. For example, check the journal information of the record on the diary, the itinerary record on the memo, the current system time, and so on. Therefore, the display of the widget is also different from the display interface of the terminal for displaying the application.
- the display interface is the widget display interface, and the widget display interface can also be viewed when the terminal is not unlocked.
- the embodiment obtains an edit command triggered by the user from the widget display interface, that is, an edit command received by the current widget display interface.
- the edit instruction may be a touch instruction for the widget received by the widget display interface, and the duration of the touch command is greater than or equal to the preset time, and the touch command is confirmed as an edit command. That is, when the user touches a widget on the widget display interface, and the touch duration is greater than or equal to the preset time, the user is considered to have triggered the editing instruction, and the widget display interface receives the editing instruction.
- the specific duration of the preset time is not limited, and the corresponding setting and adjustment may be performed according to actual requirements.
- the preset time is 2 seconds, 3 seconds, or 5 seconds.
- the widget display interface is set to the widget editing state.
- the user can autonomously perform corresponding editing operations on the widgets on the widget display interface, and implement different settings for the widgets by responding to various instructions generated by the user-triggered editing operations.
- the user triggers an instruction for selecting a widget to be added on the widget display interface, and these commands are response commands.
- the widget to be added selected by the user is determined according to the response instruction triggered by the user.
- the number of widgets to be added determined according to the response command of the user is not specifically displayed, and the user may select two, three or even more widgets as the widget to be added as needed.
- the widget to be added selected by the user in step S103 is added to the widget display interface.
- the widget to be added is added at a preset position of the widget display interface, instead of mechanically adding the widget-added widget to the end of the widget display interface. For example, add the widget to be added to the top, bottom, left or right of a widget.
- the widget display interface is set to the widget editing state by responding to the user-triggered editing instruction in the widget display interface, and the widget obtained on the widget display interface is used when the widget display interface is in the widget editing state.
- the instruction determines at least one widget to be added; and adds at least one widget to be added to the widget display interface, that is, the widget can be directly edited from the widget display interface to edit the widget and edit the widget of the widget display interface.
- the widget to be added is directly added to the widget display interface, so that the widget addition operation has stronger consistency.
- FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 2, the method includes the following steps:
- step S201 and step S202 in this embodiment are the same as steps S101 and S102 in the first embodiment of the widget processing method shown in FIG. 1, and details are not described herein again.
- the widget display interface can be edited.
- the widget is used as the widget to be edited.
- the first selection instruction may be a touch instruction to a widget that is responsive from the widget display interface. That is, on the widget display interface, when the user touches a widget and the touch duration is less than the preset time, the user is considered to trigger the first selection instruction of the widget, and the widget is selected according to the first selection instruction. Determined as the widget to be edited.
- the display manner of the widget to be edited may be left unchanged, that is, the display manner of the widget to be edited and other widgets are different on the widget display interface.
- the display of the widget to be edited is different from other widgets, that is, the widget and other widgets are displayed in different manners on the widget display interface, for example,
- the editing widget has a dynamic display effect or enlarges and shrinks the widget to be edited, so that the widget to be edited and other widgets are visually distinguished, so that the user can distinguish the widget to be edited.
- the user triggers an instruction for selecting a widget to be added on the widget display interface, and these commands are response commands.
- the widget to be added selected by the user is determined according to the response instruction triggered by the user.
- the number of widgets to be added determined according to the response command of the user is not specifically displayed, and the user may select two, three or even more widgets as the widget to be added as needed.
- the widget to be edited is determined in step S203, and after the widget to be added is determined in step S204, the determined widget to be added is added at a first preset position related to the position of the widget to be edited.
- the first preset position is upper, lower, left or right of the widget to be edited.
- the widget to be added is added to the first preset position related to the position of the widget to be edited, so that the widget can be added according to the widget to be edited.
- the flexible change of the position to be added to the widget to be edited can flexibly change the added position of the widget to be added, so that the user's operation is more suitable for their own usage habits, and the user experience is more reasonable.
- step S204 specifically includes the following steps:
- an add button for acquiring an add operation instruction is displayed at at least one peripheral position of the widget to be edited.
- the peripheral position includes upper, lower, left, and right sides of the widget to be edited. That is, the add button is displayed at at least one of the top, bottom, left or right of the widget to be edited.
- S2042 Acquire a widget addition instruction generated by a user to add an operation of the button.
- the user's operation of adding the button is regarded as a widget addition instruction. For example, if the user clicks, touches, or presses the add button, it is considered that the added button is operated to generate a widget addition command.
- the display interface of the terminal is switched from the current widget display interface to the widget addition interface according to the widget addition instruction.
- the widget displayed on the widget adding interface may be only the widgets of all the widgets of the terminal that are not added to the widget display interface, and may include all the widgets of the terminal. If the widget displayed on the widget addition interface contains all the widgets of the terminal, the widgets added to the widget display interface and the widgets not added to the display interface may be displayed differently so that the micro widgets are not added. The visual difference between the widget and the added widget allows the user to visually see which widgets are not added to the widget display interface and which widgets have been added to the widget display interface so that the user can never add Select the widget to be added to be added in the widget in the widget display interface.
- the widgets not added on the widget display interface may be displayed in front, and the widgets added on the widget display interface are displayed in the widget.
- the user can preferentially see the widgets not added on the display interface.
- the corresponding widget selected by the user is the widget to be added.
- the selection instruction may be a touch or press operation of a widget on the widget adding interface, that is, the user touches or presses a widget on the widget addition interface, that is, the widget is selected to be added. Pieces.
- the displayed display mode of the widget to be added is different from the display manner of other widgets, so that the user can intuitively see which are selected widgets to be added, and which are not. Selected widgets to be added.
- the number of widgets to be added selected by the user is not specifically limited, and the user may select according to his or her preference and needs, and the number of widgets to be added is at least one.
- the widget update interface may also be provided with a cancel button for responding to the user's cancel command, that is, the selected widget to be added may be canceled; in addition, the edit operation may be directly canceled, so that the display interface of the terminal is
- the widget addition interface returns to the widget display interface without adding any widgets.
- the OK button may be set on the widget addition interface. After the user determines a number of widgets to be added on the widget addition interface, the add instruction is determined by determining the add button trigger, and then several widgets to be added are added to the widget display interface at one time.
- the setting positions of the cancel button and the determined add button are not specifically limited.
- FIG. 4a to FIG. 4d are schematic diagrams showing a display interface of a terminal in an application example of the widget processing method of the terminal of the present invention.
- the display interface of the terminal displays the widget display interface 10, and the widgets A, B, and C are displayed on the widget display interface 10; according to the editing instruction triggered by the user to the widget B, the widget is displayed.
- the display interface 10 is set to the widget editing state; after the widget display interface 10 enters the widget editing state, as shown in FIG. 4b, the widget B is used as the widget to be edited, and the display manner is different from the widget A and the widget C, and
- the add button 11 is displayed below the widget B.
- the display interface of the terminal is switched from the widget display interface 10 to the widget addition interface 20,
- the widget adding interface 20 displays the widgets of all the widgets of the terminal that are not added to the widget display interface.
- the widget adding interface 20 shown in FIG. 4c is only an application example, instead of The limitation range of the present invention is that, in other application examples, the widget displayed on the widget addition interface may include all widgets of the terminal, wherein the widget G is the widget to be added determined by the selection instruction, and the widget G is displayed. The way is different from other widgets.
- the widget adding interface 20 determines the widget to be added, and receives the instruction to determine the addition, the widget G is added to the position where the button 11 is added, that is, the widget G is added to the widget to be edited. Below B.
- FIG. 5 is a schematic flowchart of a third embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 5, the present embodiment is further improved on the basis of the embodiment of the widget processing method shown in FIGS. 2 and 3. In this embodiment, after step S203 of the second embodiment of the widget processing method shown in FIG. 2, the method further includes the following steps:
- the operation of deleting the widget may also be performed. That is, after the widget to be edited is determined, the delete button is displayed at the second preset position of the widget display interface.
- Displaying the delete button on the second preset position may display the delete button directly at the second preset position on the widget display interface; in addition, the delete button may also be hidden, and when the user slides the widget to be edited, the delete button The delete button is displayed in the second preset position on the widget display interface; the second preset position may be any position on the widget display interface.
- the user can trigger the widget delete command by deleting the button, and the terminal will delete the widget to be edited after obtaining the widget delete command. It can be understood that after deleting the widget to be edited, the position of the widget to be edited on the widget display interface will be vacated, and the widget below the widget to be edited will be sequentially moved up to fill the deletion due to deletion. The vacancy created by editing the widget.
- FIG. 6a to FIG. 6c are schematic diagrams showing a display interface of a terminal in another application example of the widget processing method of the terminal of the present invention.
- the display interface of the terminal displays the widget display interface 30, and the widgets A, B, and C are displayed on the widget display interface 30; according to the editing instruction triggered by the user to the widget B, the widget is displayed.
- the display interface 30 is set to the widget editing state; after the widget display interface 30 enters the widget editing state, as shown in FIG. 6b, the widget B is used as the widget to be edited, and the display manner is different from the widget A and the widget C, and
- the add button 31 is displayed below the widget B.
- a delete button 32 is displayed on the upper right corner of the widget B to be edited in FIG. 6b, and the user can trigger the widget delete command on the delete button 32, and the widget B is deleted.
- the widget C is sequentially moved up and placed in the original position of the widget B without leaving the position of the widget B vacant.
- FIG. 7 is a schematic flowchart diagram of a fourth embodiment of a method for processing a widget of a terminal of the present invention.
- the widget processing method of this embodiment includes the following steps:
- Step S301 and step S302 in this embodiment are the same as steps S101 and S102 in the first embodiment of the widget processing method shown in FIG. 1, and are not described herein again.
- the user can trigger a corresponding instruction for determining the mobile widget on the widget display interface, and the instruction is the second selection instruction.
- the instruction is the second selection instruction.
- the second selection instruction may be a touch instruction to a widget that is responsive from the widget display interface, and the duration of the touch instruction is greater than or equal to the preset time.
- the user when the user touches a widget and the touch duration is greater than or equal to the preset time, the user is considered to trigger a second selection instruction for the widget, and according to the second selection instruction, The widget is determined to be the widget to be moved.
- the display manner of the widget to be moved may be changed, that is, on the widget display interface, the display manner of the widget to be moved and other widgets are different.
- the display manner of the widget to be moved is different from that of other widgets, that is, on the widget display interface, the display manner of the widget to be moved and other widgets is different, for example,
- the editing widget has a dynamic display effect or enlarges and shrinks the widget to be edited, so that the widget to be moved and other widgets are visually distinguished, so that the user can distinguish the widget to be moved.
- the user can drag the widget to be moved and reset the position of the widget to be moved.
- the terminal periodically or real-time obtains the dragging trajectory of the user to drag the widget to be moved on the widget display interface, and moves the widget to be moved according to the drag trajectory, so that the position of the moving widget can be reset.
- the operation of the user dragging the widget to be moved and the operation of triggering the second selection instruction are continuous. That is, after the user triggers the second selection instruction on a widget to determine the widget as the widget to be moved, the user needs to continue to touch the widget to be moved and perform a drag operation on the widget display interface. The position of the moving widget is reset; if the user interrupts the drag operation after determining the widget to be moved, or interrupts the drag operation during the dragging process, the position of the widget to be moved is reset this time. Failed, the moving widget is still placed in its original location.
- FIG. 8 is a schematic structural diagram of a first embodiment of a widget processing system of a terminal of the present invention.
- the widget processing system of this embodiment includes:
- the edit instruction acquisition module 101 is configured to obtain an edit instruction from the widget display interface of the terminal.
- the interface state setting module 102 is configured to set the widget display interface to the widget editing state according to the editing instruction.
- the first determining module 103 is configured to receive a response instruction from the widget display interface to determine at least one widget to be added when the widget display interface is in the widget editing state.
- the widget adding module 104 is configured to add the determined at least one widget to be added to the widget display interface.
- FIG. 9 is a schematic structural diagram of a second embodiment of a widget processing system of the terminal of the present invention.
- the widget processing system of this embodiment includes:
- the edit instruction acquisition module 201 is configured to obtain an edit instruction from the widget display interface of the terminal.
- the interface state setting module 202 is configured to set the widget display interface to the widget editing state according to the editing instruction.
- the first instruction acquisition module 203 is configured to receive a first selection instruction for the widget from the widget display interface when the widget display interface is in the widget editing state, to determine that the widget is a widget to be edited.
- the first determining module 204 is configured to receive a response instruction from the widget display interface to determine at least one widget to be added.
- the widget adding module 205 is configured to add the determined at least one widget to be added to the first preset position in the widget display interface related to the position of the widget to be edited.
- the first determining module 204 further includes the following execution units:
- the first display unit 2041 is configured to display an add button at at least one peripheral position of the widget to be edited.
- the addition instruction acquisition unit 2042 is configured to acquire a widget addition instruction generated by the user to add an operation of the button.
- the display interface switching unit 2043 is configured to switch the display interface of the terminal from the widget display interface to the widget addition interface according to the widget addition instruction.
- the selection instruction acquisition unit 2044 is configured to determine at least one widget to be added according to the selection instruction acquired at the widget addition interface.
- FIG. 11 is a schematic structural diagram of a third embodiment of a widget processing system of a terminal of the present invention. This embodiment is further improved on the basis of the embodiment of the widget processing system shown in Figs. 9 and 10. As shown in FIG. 10, this embodiment further includes: after the first instruction acquisition module 203 of the second embodiment of the widget processing system shown in FIG.
- the second display module 206 is configured to display a delete button in a second preset position in the widget display interface.
- the delete instruction acquisition module 207 is configured to acquire a widget deletion instruction generated by the user to delete the button, and delete the widget to be edited.
- FIG. 12 is a schematic structural diagram of a fourth embodiment of a widget processing system of a terminal of the present invention. As shown in FIG. 12, this embodiment includes:
- the edit instruction acquisition module 301 is configured to obtain an edit instruction from the widget display interface of the terminal.
- the interface state setting module 302 is configured to set the widget display interface to the widget editing state according to the editing instruction.
- the second instruction acquisition module 303 is configured to receive a second selection instruction for the widget from the widget display interface when the widget display interface is in the widget editing state, to determine that the selected widget is the widget to be moved.
- the widget moving module 304 is configured to acquire a drag track of the widget to be moved on the widget display interface in a timed or real time, and move the widget to be moved according to the drag track.
- each module/unit of the widget processing system embodiment of the terminal of the present invention shown in FIG. 8 to FIG. 12 and the first embodiment of the widget processing method of the terminal shown in FIG. 1 to FIG. 7 respectively The respective steps of the fourth embodiment are corresponding.
- FIG. 13 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention.
- the mobile terminal includes a memory 132, a processor 131, and a touch display screen 133.
- the processor 131 is connected to the memory 132 and the touch display screen 133.
- the memory 132 is used to store the operating system of the processor 131 and corresponding operational instructions.
- the touch display screen 133 is configured to display each interface of the terminal, and obtain corresponding control commands triggered by the user from each interface; wherein each interface includes a widget display interface and a widget addition interface;
- the processor 131 is configured to execute the operation instructions stored in the memory 132 to implement the steps of the first to fourth embodiments of the widget processing method of the terminal shown in FIG. 1 to FIG. 7, which are not described in detail herein. Please refer to the detailed description of the specific steps of FIG. 1 to FIG. 7 above.
- FIG. 14 is a schematic structural diagram of an embodiment of a storage medium according to the present invention.
- the storage medium 400 in the present embodiment stores program data 41 that can be executed, and the program data 41 is executed first to implement the widget processing method of the terminal shown in FIGS. 1 to 7.
- the storage medium 400 may be a storage module of the smart terminal, a mobile storage device (such as a mobile hard disk, a USB flash drive, etc.), a network cloud disk, an application storage platform, or a server, and the like. Further, the storage medium may also be the memory 132 shown in FIG. 13 described above.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A widget processing method for a terminal, a mobile terminal, and a storage medium. The widget processing method comprises: obtaining an editing instruction from a widget display interface of a terminal (S101); configuring the widget display interface to be in a widget editing state according to the editing instruction (S102); when the widget display interface is in the widget editing state, receiving a response instruction from the widget display interface to determine at least one widget to be added (S103); and adding the determined at least one widget to be added to the widget display interface (S104). By means of the method, a widget to be added can be directly added from a widget display interface, and the continuity of a widget adding operation can be improved.
Description
【技术领域】[Technical Field]
本发明涉及智能终端技术领域,尤其涉及终端的微件处理方法、移动终端及存储介质。The present invention relates to the field of intelligent terminal technologies, and in particular, to a widget processing method for a terminal, a mobile terminal, and a storage medium.
【背景技术】 【Background technique】
随着技术的发展,智能终端已经逐渐成为人们生活和工作中常见的工具。终端的微件界面能够显示出用户常用的微件,用户能够从微件显示界面中直接打开某一微件,或在不打开微件的情况下查看相应的信息,给用户对终端操作带来了极大便利。With the development of technology, smart terminals have gradually become a common tool in people's lives and work. The widget's widget interface can display the widgets commonly used by the user. The user can directly open a widget from the widget display interface, or view the corresponding information without opening the widget, and bring the user to the terminal operation. Great convenience.
在现有技术中,用户可以根据自己的喜好和需求在终端的设置项里对微件显示界面进行调整,但并不能对直接对微件显示界面进行编辑。当用户想要在现有的微件显示界面中添加其他微件时,只能从终端的设置项里进行设置,且添加微件的位置也不能根据用户的喜欢和使用习惯进行设置,导致用户添加微件的操作连贯性很弱,用户体验比较差。In the prior art, the user can adjust the widget display interface in the setting item of the terminal according to his own preferences and needs, but can not directly edit the widget display interface. When the user wants to add other widgets to the existing widget display interface, the settings can only be made from the settings of the terminal, and the location of adding the widgets cannot be set according to the user's preferences and usage habits, resulting in the user. The operation of adding widgets is weak and the user experience is poor.
【发明内容】 [Summary of the Invention]
本发明的目的在于提供终端的微件处理方法、移动终端及存储介质,能够增强微件添加操作的连贯性。An object of the present invention is to provide a method for processing a widget of a terminal, a mobile terminal, and a storage medium, which can enhance the consistency of the widget addition operation.
为实现上述目的,本发明提供一种终端的微件处理方法,该微件处理方法包括:To achieve the above object, the present invention provides a method for processing a widget of a terminal, the widget processing method comprising:
从所述终端的微件显示界面获取编辑指令;Obtaining an editing instruction from the widget display interface of the terminal;
根据所述编辑指令将所述微件显示界面设置为微件编辑状态;Setting the widget display interface to a widget editing state according to the editing instruction;
在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收响应指令以确定至少一个待添加微件;Receiving a response instruction from the widget display interface to determine at least one widget to be added when the widget display interface is in a widget editing state;
将所确定的至少一个待添加微件添加到所述微件显示界面。Adding the determined at least one widget to be added to the widget display interface.
其中,在所述从所述微件显示界面接收响应指令以确定至少一个待添加微件,还包括:The receiving the response command from the widget display interface to determine at least one widget to be added further includes:
从所述微件显示界面接收对微件的第一选择指令,以确定所述微件为待编辑微件;Receiving, by the widget display interface, a first selection instruction for the widget to determine that the widget is a widget to be edited;
所述将所确定的至少一个待添加微件添加在所述微件显示界面,包括:Adding the determined at least one widget to be added to the widget display interface includes:
将所确定的至少一个待添加微件添加在所述微件显示界面中与所述待编辑微件的位置相关的第一预设位置。And determining the determined at least one widget to be added in a first preset position in the widget display interface related to a position of the widget to be edited.
其中,所述从所述微件显示界面接收响应指令以确定至少一个待添加微件,包括:The receiving the response instruction from the widget display interface to determine at least one widget to be added includes:
在所述待编辑微件的至少一个周边位置显示添加按键;Displaying an add button at at least one peripheral position of the widget to be edited;
获取用户对所述添加按键的操作而产生的微件添加指令;Obtaining a widget addition instruction generated by a user to operate the added button;
根据所述微件添加指令,将终端的显示界面从所述微件显示界面切换至微件添加界面;Switching the display interface of the terminal from the widget display interface to the widget addition interface according to the widget addition instruction;
根据在所述微件添加界面获取到的选择指令确定所述至少一个待添加微件。The at least one widget to be added is determined according to a selection instruction acquired at the widget addition interface.
其中,所述微件添加界面上显示的微件包括终端的全部微件;其中,所述全部微件中已添加在所述微件显示界面上的微件和未添加在所述显示界面上的微件的显示方式不同;或The widget displayed on the widget adding interface includes all the widgets of the terminal; wherein the widgets added to the widget display interface of the all widgets are not added to the display interface. Widgets are displayed differently; or
所述微件添加界面上显示的微件包括所述终端的全部微件中未添加在所述微件显示界面上的微件。The widget displayed on the widget addition interface includes widgets not included in the widget display interface of all widgets of the terminal.
其中,在所述从所述微件显示界面接收到对微件的第一选择指令以确定所述选择的微件为待编辑微件之后,还包括:After the receiving the first selection instruction for the widget from the widget display interface to determine that the selected widget is the widget to be edited, the method further includes:
在所述微件显示界面中的第二预设位置显示删除按键;Displaying a delete button in a second preset position in the widget display interface;
获取用户对所述删除按键的操作而产生的微件删除指令,并删除所述待编辑微件。Obtaining a widget deletion instruction generated by the user's operation on the delete button, and deleting the widget to be edited.
其中,所述微件处理方法还包括:The widget processing method further includes:
在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收对微件的第二选择指令,以确定所述选择的微件为待移动微件;Receiving, by the widget display interface, a second selection instruction for the widget when the widget display interface is in the widget editing state, to determine that the selected widget is the widget to be moved;
定时或实时获取所述待移动微件在所述微件显示界面上的拖动轨迹,并根据所述拖动轨迹移动所述待移动微件。Obtaining a drag trajectory of the widget to be moved on the widget display interface, and moving the widget to be moved according to the drag trajectory.
其中,在所述微件显示界面中,所述待编辑微件的显示方式与其他微件的显示方式不同;和/或所述待移动微件的显示方式与其他微件的显示方式不同。In the widget display interface, the display manner of the widget to be edited is different from that of other widgets; and/or the display manner of the widget to be moved is different from that of other widgets.
其中,所述从所述终端的微件显示界面获取编辑指令,包括:The obtaining an editing instruction from the widget display interface of the terminal includes:
从所述终端的微件显示界面获取对微件的触摸指令,并当检测到所述触摸指令的持续时间大于或等于预设时间时,将所述触摸指令确认为编辑指令;以及Acquiring a touch instruction to the widget from the widget display interface of the terminal, and confirming the touch instruction as an edit instruction when detecting that the duration of the touch instruction is greater than or equal to a preset time;
所述第二选择指令与所述编辑指令为所述触摸指令。The second selection instruction and the editing instruction are the touch instructions.
另一方面,本发明提出了一种移动终端,该移动终端包括:In another aspect, the present invention provides a mobile terminal, the mobile terminal comprising:
存储器、处理器和触控显示屏,所述处理器连接所述存储器和所述触控显示屏;a memory, a processor and a touch display screen, the processor connecting the memory and the touch display screen;
所述存储器用于存储所述处理器的操作***和相应的操作指令;The memory is configured to store an operating system of the processor and corresponding operation instructions;
所述触控显示屏用于显示终端的各个界面,并从所述各个界面上获取用户触发的相应控制指令;The touch display screen is used to display various interfaces of the terminal, and obtain corresponding control commands triggered by the user from the respective interfaces;
所述处理器执行所述操作指令以实现上述的微件处理方法。The processor executes the operational instructions to implement the widget processing method described above.
另一方面,本发明还提出了一种存储介质,所述存储介质存储有程序数据,所述程序数据能够被执行以实现本发明提出的上述微件处理方法。In another aspect, the present invention also provides a storage medium storing program data, the program data being executable to implement the above-described widget processing method proposed by the present invention.
有益效果:区别于现有技术的情况,本发明通过从微件显示界面响应到的编辑指令将微件显示界面设置为微件编辑状态,即可以直接从微件显示界面进入编辑状态而对微件进行编辑。进一步,在微件显示界面处于微件编辑状态时,利用微件显示界面的响应指令确定至少一个待添加微件;将所述至少一个待添加微件添加在所述微件显示界面,即可以直接在微件显示界面上添加待添加微件,而不需要另外进行终端的设置项等其他设置界面,进而增强微件添加操作的连贯性。Advantageous Effects: Different from the prior art, the present invention sets the widget display interface to the widget editing state by the editing command responding from the widget display interface, that is, the widget display interface can be directly edited from the widget display interface. Edit the pieces. Further, when the widget display interface is in the widget editing state, the response command of the widget display interface is used to determine at least one widget to be added; and the at least one widget to be added is added to the widget display interface, that is, The widget to be added is directly added to the widget display interface, and no other setting interface such as setting items of the terminal is needed, thereby enhancing the consistency of the widget addition operation.
【附图说明】 [Description of the Drawings]
图1是本发明终端的微件处理方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a method for processing a widget of a terminal of the present invention;
图2是本发明终端的微件处理方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a method for processing a widget of a terminal of the present invention;
图3是图2所示的实施例中步骤S204的流程示意图;3 is a schematic flow chart of step S204 in the embodiment shown in FIG. 2;
图4a至图4d是本发明终端的微件处理方法一应用例中终端的显示界面的示意图;4a to 4d are schematic diagrams showing a display interface of a terminal in an application example of a widget processing method of a terminal of the present invention;
图5是本发明终端的微件处理方法第三实施例的流程示意图;5 is a schematic flow chart of a third embodiment of a method for processing a widget of a terminal of the present invention;
图6a至图6c是本发明终端的微件处理方法另一应用例中终端的显示界面的示意图;6a to 6c are schematic diagrams showing a display interface of a terminal in another application example of the widget processing method of the terminal of the present invention;
图7是本发明终端的微件处理方法第四实施例的流程示意图;7 is a schematic flow chart of a fourth embodiment of a method for processing a widget of a terminal of the present invention;
图8是本发明终端的微件处理***第一实施例的结构示意图;8 is a schematic structural diagram of a first embodiment of a widget processing system of a terminal of the present invention;
图9是本发明终端的微件处理***第二实施例的结构示意图;9 is a schematic structural diagram of a second embodiment of a widget processing system of a terminal of the present invention;
图10是图9所示的实施例中第一确定模块的结构示意图;FIG. 10 is a schematic structural diagram of a first determining module in the embodiment shown in FIG. 9; FIG.
图11是本发明终端的微件处理***第三实施例的结构示意图;11 is a schematic structural diagram of a third embodiment of a widget processing system of a terminal of the present invention;
图12是本发明终端的微件处理***第四实施例的结构示意图;12 is a schematic structural diagram of a fourth embodiment of a widget processing system of a terminal of the present invention;
图13是本发明移动终端一实施例的结构示意图;FIG. 13 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention; FIG.
图14是本发明存储介质实施例的结构示意图。Figure 14 is a block diagram showing the structure of an embodiment of the storage medium of the present invention.
【具体实施方式】【Detailed ways】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参阅图1,图1是本发明终端的微件处理方法第一实施例的流程示意图。如图1所示,本实施例的微件处理方法包括如下步骤:Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 1, the widget processing method of this embodiment includes the following steps:
S101、从终端的微件显示界面获取编辑指令。S101. Obtain an editing instruction from a widget display interface of the terminal.
微件是智能终端技术的衍射品,时钟、日记、计算器、视频播放器、备忘录等各种应用均可以作为微件,用户可以在不解锁终端的情况下,通过微件获取相应的信息,例如查看日记上的记录的日记信息、备忘录上的行程记录、当前的***时间等。因此,微件的显示也区别于终端通常的用于显示应用程序的显示界面,该显示界面即为微件显示界面,微件显示界面是在终端未解锁的情况下也能够查看的。Widgets are diffracted products of smart terminal technology. Various applications such as clocks, diaries, calculators, video players, and memos can be used as widgets. Users can obtain corresponding information through widgets without unlocking the terminal. For example, check the journal information of the record on the diary, the itinerary record on the memo, the current system time, and so on. Therefore, the display of the widget is also different from the display interface of the terminal for displaying the application. The display interface is the widget display interface, and the widget display interface can also be viewed when the terminal is not unlocked.
为了用户能够更加便捷的对微件显示界面进行编辑,本实施例从微件显示界面上获取用户触发的编辑指令,即当前微件显示界面接收到的编辑指令。In order to facilitate the user to edit the widget display interface, the embodiment obtains an edit command triggered by the user from the widget display interface, that is, an edit command received by the current widget display interface.
本实施例中,编辑指令可以为微件显示界面接收到的对微件的触摸指令,且该触摸指令的持续时间大于或等于预设时间,则将该触摸指令确认为编辑指令。即当用户在微件显示界面上触摸某一微件,且触摸持续时间大于或等于预设时间,则认为用户触发了编辑指令,此时微件显示界面接收到该编辑指令。本实施例对预设时间的具体时长不做限制,可以根据实际需求进行相应设置和调整,可选的,预设时间为2秒、3秒或5秒。In this embodiment, the edit instruction may be a touch instruction for the widget received by the widget display interface, and the duration of the touch command is greater than or equal to the preset time, and the touch command is confirmed as an edit command. That is, when the user touches a widget on the widget display interface, and the touch duration is greater than or equal to the preset time, the user is considered to have triggered the editing instruction, and the widget display interface receives the editing instruction. In this embodiment, the specific duration of the preset time is not limited, and the corresponding setting and adjustment may be performed according to actual requirements. Optionally, the preset time is 2 seconds, 3 seconds, or 5 seconds.
S102、根据编辑指令将微件显示界面设置为微件编辑状态。S102. Set the widget display interface to the widget editing state according to the editing instruction.
当确定获取到步骤S101中的编辑指令后,则将微件显示界面设置为微件编辑状态。此时,用户可以自主对微件显示界面上的微件进行相应的编辑操作,通过响应用户触发的这些编辑操作而生成的各种指令,实现对微件的不同设置。When it is determined that the editing instruction in step S101 is acquired, the widget display interface is set to the widget editing state. At this point, the user can autonomously perform corresponding editing operations on the widgets on the widget display interface, and implement different settings for the widgets by responding to various instructions generated by the user-triggered editing operations.
S103、在微件显示界面处于微件编辑状态时,从微件显示界面接收响应指令以确定至少一个待添加微件。S103. When the widget display interface is in the widget editing state, receive a response instruction from the widget display interface to determine at least one widget to be added.
在微件显示界面处于微件编辑状态下,用户在微件显示界面上触发用于选择待添加微件的指令,这些指令即为响应指令。根据用户触发的响应指令确定用户选择的待添加微件。本实施例对根据用户的响应指令确定的待添加微件的个数不做具体显示,用户可以根据需要选择2个、3个甚至更多微件作为待添加微件。When the widget display interface is in the widget editing state, the user triggers an instruction for selecting a widget to be added on the widget display interface, and these commands are response commands. The widget to be added selected by the user is determined according to the response instruction triggered by the user. In this embodiment, the number of widgets to be added determined according to the response command of the user is not specifically displayed, and the user may select two, three or even more widgets as the widget to be added as needed.
S104、将所确定的至少一个待添加微件添加到所述微件显示界面。S104. Add the determined at least one widget to be added to the widget display interface.
将步骤S103中用户选择的待添加微件添加至微件显示界面。本实施例中,将待添加微件添加在微件显示界面的预设的位置处,而不是机械的将带添加微件添加在微件显示界面的最后。例如,将待添加微件添加至某一微件的上方、下方、左方或右方。The widget to be added selected by the user in step S103 is added to the widget display interface. In this embodiment, the widget to be added is added at a preset position of the widget display interface, instead of mechanically adding the widget-added widget to the end of the widget display interface. For example, add the widget to be added to the top, bottom, left or right of a widget.
本实施例通过在微件显示界面响应用户触发的编辑指令,将微件显示界面设置为微件编辑状态,在微件显示界面处于微件编辑状态时,利用在微件显示界面上获取的响应指令确定至少一个待添加微件;将至少一个待添加微件添加在微件显示界面,即本实施例可以直接从微件显示界面进入编辑状态而对微件显示界面的微件进行编辑,可以直接在微件显示界面上添加待添加微件,使得微件添加操作具有更强的连贯性。In this embodiment, the widget display interface is set to the widget editing state by responding to the user-triggered editing instruction in the widget display interface, and the widget obtained on the widget display interface is used when the widget display interface is in the widget editing state. The instruction determines at least one widget to be added; and adds at least one widget to be added to the widget display interface, that is, the widget can be directly edited from the widget display interface to edit the widget and edit the widget of the widget display interface. The widget to be added is directly added to the widget display interface, so that the widget addition operation has stronger consistency.
进一步的,参阅图2,图2是本发明终端的微件处理方法第二实施例的流程示意图。如图2所示,本方法包括如下步骤:Further, referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a second embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 2, the method includes the following steps:
S201、从终端的微件显示界面获取编辑指令。S201. Acquire an editing instruction from a widget display interface of the terminal.
S202、根据编辑指令将微件显示界面设置为微件编辑状态。S202. Set the widget display interface to the widget editing state according to the editing instruction.
本实施例中S201和步骤S202分别与图1所示的微件处理方法第一实施例中的步骤S101和步骤S102相同,此处不再赘述。S201 and step S202 in this embodiment are the same as steps S101 and S102 in the first embodiment of the widget processing method shown in FIG. 1, and details are not described herein again.
S203、在微件显示界面处于微件编辑状态时,从所述微件显示界面接收对微件的第一选择指令,以确定所述微件为待编辑微件。S203. When the widget display interface is in the widget editing state, receive a first selection instruction for the widget from the widget display interface to determine that the widget is a widget to be edited.
微件显示界面处于微件编辑状态后,即可对微件显示界面进行编辑操作。当用户在微件显示界面上对一微件触发第一选择指令时,则将该微件作为待编辑微件。第一选择指令可以为从微件显示界面上响应到的对一微件的触摸指令。即在微件显示界面上,用户触摸一微件,且触摸持续时间小于预设时间,则认为用户触发了对该微件的第一选择指令,此时根据第一选择指令,将该微件确定为待编辑微件。After the widget display interface is in the widget editing state, the widget display interface can be edited. When the user triggers the first selection instruction on a widget on the widget display interface, the widget is used as the widget to be edited. The first selection instruction may be a touch instruction to a widget that is responsive from the widget display interface. That is, on the widget display interface, when the user touches a widget and the touch duration is less than the preset time, the user is considered to trigger the first selection instruction of the widget, and the widget is selected according to the first selection instruction. Determined as the widget to be edited.
进一步的,确定待编辑微件后,该待编辑微件的显示方式可以不做改变,即在微件显示界面上,待编辑微件和其他微件的显示方式不同。可选的,确定待编辑微件后,该待编辑微件的显示方式不同于其他微件,即在微件显示界面上,待编辑微件和其他微件的显示方式不同,例如,令待编辑微件具有动态显示效果或放大、缩小待编辑微件,以使待编辑微件和其他微件具有视觉上的区别,使用户能够区分出待编辑微件。Further, after the widget to be edited is determined, the display manner of the widget to be edited may be left unchanged, that is, the display manner of the widget to be edited and other widgets are different on the widget display interface. Optionally, after the widget to be edited is determined, the display of the widget to be edited is different from other widgets, that is, the widget and other widgets are displayed in different manners on the widget display interface, for example, The editing widget has a dynamic display effect or enlarges and shrinks the widget to be edited, so that the widget to be edited and other widgets are visually distinguished, so that the user can distinguish the widget to be edited.
S204、从微件显示界面接收响应指令以确定至少一个待添加微件。S204. Receive a response instruction from the widget display interface to determine at least one widget to be added.
在微件显示界面处于微件编辑状态下,用户在微件显示界面上触发用于选择待添加微件的指令,这些指令即为响应指令。根据用户触发的响应指令确定用户选择的待添加微件。本实施例对根据用户的响应指令确定的待添加微件的个数不做具体显示,用户可以根据需要选择2个、3个甚至更多微件作为待添加微件。When the widget display interface is in the widget editing state, the user triggers an instruction for selecting a widget to be added on the widget display interface, and these commands are response commands. The widget to be added selected by the user is determined according to the response instruction triggered by the user. In this embodiment, the number of widgets to be added determined according to the response command of the user is not specifically displayed, and the user may select two, three or even more widgets as the widget to be added as needed.
S205、将所确定的至少一个待添加微件添加在微件显示界面中与待编辑微件的位置相关的第一预设位置。S205. Add the determined at least one widget to be added to the first preset position in the widget display interface related to the position of the widget to be edited.
在步骤S203确定了待编辑微件,以及在步骤S204确定了待添加微件之后,将确定的待添加微件添加在与待编辑微件的位置相关的第一预设位置处。本实施例中,第一预设位置为待编辑微件的上方、下方、左方或右方。The widget to be edited is determined in step S203, and after the widget to be added is determined in step S204, the determined widget to be added is added at a first preset position related to the position of the widget to be edited. In this embodiment, the first preset position is upper, lower, left or right of the widget to be edited.
本实施例通过在微件显示界面上确定一待编辑微件,在待编辑微件的位置相关的第一预设位置上添加待添加微件,使得微件的添加可以根据改变待编辑微件而灵活改变待编辑微件要添加的位置,能够灵活变化待添加微件的添加位置,使用户的操作更加适合自己的使用习惯,用户体验更加合理。In this embodiment, by adding a widget to be edited on the widget display interface, the widget to be added is added to the first preset position related to the position of the widget to be edited, so that the widget can be added according to the widget to be edited. The flexible change of the position to be added to the widget to be edited can flexibly change the added position of the widget to be added, so that the user's operation is more suitable for their own usage habits, and the user experience is more reasonable.
进一步的,如图3所示,上述的步骤S204具体包括如下步骤:Further, as shown in FIG. 3, the foregoing step S204 specifically includes the following steps:
S2041、在待编辑微件的至少一个周边位置显示添加按键。S2041: Add an add button at at least one peripheral position of the widget to be edited.
在步骤S203确定了待编辑微件后,在该待编辑微件的至少一个周边位置显示用于获取添加操作指令的添加按键。本实施例中,周边位置包括该待编辑微件的上方、下方、左方和右方。即在该待编辑微件的上方、下方、左方或右方中的至少一个位置显示添加按键。After the widget to be edited is determined in step S203, an add button for acquiring an add operation instruction is displayed at at least one peripheral position of the widget to be edited. In this embodiment, the peripheral position includes upper, lower, left, and right sides of the widget to be edited. That is, the add button is displayed at at least one of the top, bottom, left or right of the widget to be edited.
S2042、获取用户对添加按键的操作而产生的微件添加指令。S2042: Acquire a widget addition instruction generated by a user to add an operation of the button.
本实施例中,将用户对该添加按键的操作视为微件添加指令。例如,用户点击、触碰或按压该添加按键,则认为用对该添加按键进行了操作,进而产生微件添加指令。In this embodiment, the user's operation of adding the button is regarded as a widget addition instruction. For example, if the user clicks, touches, or presses the add button, it is considered that the added button is operated to generate a widget addition command.
S2043、根据微件添加指令,将终端的显示界面从微件显示界面切换至微件添加界面。S2043: According to the widget addition instruction, switch the display interface of the terminal from the widget display interface to the widget addition interface.
在微件显示界面上响应步骤S2042中产生的微件添加指令,根据该微件添加指令,将终端的显示界面从当前的微件显示界面切换为微件添加界面。In response to the widget addition instruction generated in step S2042 on the widget display interface, the display interface of the terminal is switched from the current widget display interface to the widget addition interface according to the widget addition instruction.
可以理解的是,微件添加界面上显示的微件可以仅为终端的全部微件中未添加至微件显示界面的上的微件,可以包含终端的全部微件。若微件添加界面上显示的微件包含终端的全部微件,已添加在微件显示界面上的微件和未添加在显示界面上的微件的显示方式可以不同,以使未添加的微件和已添加的微件具备视觉上的区别,让用户直观的看出哪些微件未添加在微件显示界面中,哪些微件已添加在微件显示界面中,如此用户即可从未添加在微件显示界面中的微件中选择要要添加的待添加微件。此外,当微件添加界面上显示的微件为终端的全部微件时,可以将未添加在微件显示界面上的微件显示在前,已添加在微件显示界面上的微件显示在后,以使终端的显示界面从微件显示界面切换至微件添加界面时,用户能够优先看到未添加在显示界面上的微件。It can be understood that the widget displayed on the widget adding interface may be only the widgets of all the widgets of the terminal that are not added to the widget display interface, and may include all the widgets of the terminal. If the widget displayed on the widget addition interface contains all the widgets of the terminal, the widgets added to the widget display interface and the widgets not added to the display interface may be displayed differently so that the micro widgets are not added. The visual difference between the widget and the added widget allows the user to visually see which widgets are not added to the widget display interface and which widgets have been added to the widget display interface so that the user can never add Select the widget to be added to be added in the widget in the widget display interface. In addition, when the widget displayed on the widget adding interface is all the widgets of the terminal, the widgets not added on the widget display interface may be displayed in front, and the widgets added on the widget display interface are displayed in the widget. After the display interface of the terminal is switched from the widget display interface to the widget addition interface, the user can preferentially see the widgets not added on the display interface.
S2044、根据在微件添加界面获取到的选择指令确定至少一个待添加微件。S2044. Determine at least one widget to be added according to the selection instruction acquired at the widget addition interface.
用户在微件添加界面中选择要添加的微件,则相应的被用户选择的微件即为待添加微件。选择指令可以为用户在微件添加界面上对某一微件的触碰或按压操作,即在微件添加界面上用户通过触碰或按压某一微件,即将该微件选择为待添加微件。进一步的,在微件添加界面上,被选择的待添加微件的显示方式不同于其他微件的显示方式,以使用户能够直观的看到哪些是已选择的待添加微件,哪些是未选择的待添加微件。When the user selects the widget to be added in the widget addition interface, the corresponding widget selected by the user is the widget to be added. The selection instruction may be a touch or press operation of a widget on the widget adding interface, that is, the user touches or presses a widget on the widget addition interface, that is, the widget is selected to be added. Pieces. Further, on the widget adding interface, the displayed display mode of the widget to be added is different from the display manner of other widgets, so that the user can intuitively see which are selected widgets to be added, and which are not. Selected widgets to be added.
本实施例对用户选择的待添加微件的数目不做具体限制,用户可以根据自己的喜好和需求进行选择,待添加微件的数目至少为一个。In this embodiment, the number of widgets to be added selected by the user is not specifically limited, and the user may select according to his or her preference and needs, and the number of widgets to be added is at least one.
进一步的,微件添加界面上还可以设置取消按键,用于响应用户的取消指令,即可以取消已经选择的待添加微件;此外,也可以直接取消本次编辑操作,令终端的显示界面从微件添加界面返回微件显示界面,而不添加任何微件。此外,由于用户选择的待添加微件可以有多个,为了用户可以一次性将选择的待添加微件添加至微件显示界面,避免重复操作,可以在微件添加界面上设置确定添加按键,当用户在微件添加界面上确定了若干个待添加微件后,通过确定添加按键触发确定添加指令,则一次性将若干个待添加微件添加至微件显示界面。本实施例中,对取消按键和确定添加按键的设置位置不做具体限定。Further, the widget update interface may also be provided with a cancel button for responding to the user's cancel command, that is, the selected widget to be added may be canceled; in addition, the edit operation may be directly canceled, so that the display interface of the terminal is The widget addition interface returns to the widget display interface without adding any widgets. In addition, since the user may select more than one widget to be added, in order to add the selected widget to be added to the widget display interface at one time, to avoid repeated operations, the OK button may be set on the widget addition interface. After the user determines a number of widgets to be added on the widget addition interface, the add instruction is determined by determining the add button trigger, and then several widgets to be added are added to the widget display interface at one time. In this embodiment, the setting positions of the cancel button and the determined add button are not specifically limited.
参阅图4a至图4d,图4a至图4d是本发明终端的微件处理方法一应用例中终端的显示界面的示意图。如图4a所示,终端的显示界面显示的是微件显示界面10,在微件显示界面10上显示有微件A、B和C;根据用户对微件B触发的编辑指令,将微件显示界面10设置为微件编辑状态;微件显示界面10进入微件编辑状态后如图4b所示,微件B作为待编辑微件,其显示方式不同于微件A和微件C,且微件B的下方显示添加按键11。如图4c所示,当从微件显示界面上响应到用户对添加按键11的操作而产生的微件添加指令后,终端的显示界面从微件显示界面10切换至微件添加界面20,在微件添加界面20上显示了终端的全部微件中未添加至微件显示界面的上的微件(可以理解的是,图4c所显示的微件添加界面20仅为一应用例,而不是本发明的限制范围,在其他应用例中,微件添加界面上显示的微件可以包含终端的全部微件),其中微件G为通过选择指令确定的待添加微件,微件G的显示方式不同于其他微件。如图4d所示,在微件添加界面20确定了待添加微件,并接收到确定添加的指令后,将微件G添加在添加按键11的位置,即将微件G添加在待编辑微件B的下方。Referring to FIG. 4a to FIG. 4d, FIG. 4a to FIG. 4d are schematic diagrams showing a display interface of a terminal in an application example of the widget processing method of the terminal of the present invention. As shown in FIG. 4a, the display interface of the terminal displays the widget display interface 10, and the widgets A, B, and C are displayed on the widget display interface 10; according to the editing instruction triggered by the user to the widget B, the widget is displayed. The display interface 10 is set to the widget editing state; after the widget display interface 10 enters the widget editing state, as shown in FIG. 4b, the widget B is used as the widget to be edited, and the display manner is different from the widget A and the widget C, and The add button 11 is displayed below the widget B. As shown in FIG. 4c, after responding to the widget addition instruction generated by the user's operation of adding the button 11 from the widget display interface, the display interface of the terminal is switched from the widget display interface 10 to the widget addition interface 20, The widget adding interface 20 displays the widgets of all the widgets of the terminal that are not added to the widget display interface. It can be understood that the widget adding interface 20 shown in FIG. 4c is only an application example, instead of The limitation range of the present invention is that, in other application examples, the widget displayed on the widget addition interface may include all widgets of the terminal, wherein the widget G is the widget to be added determined by the selection instruction, and the widget G is displayed. The way is different from other widgets. As shown in FIG. 4d, after the widget adding interface 20 determines the widget to be added, and receives the instruction to determine the addition, the widget G is added to the position where the button 11 is added, that is, the widget G is added to the widget to be edited. Below B.
进一步的,参阅图5,图5是本发明终端的微件处理方法第三实施例的流程示意图。如图5所示,本实施例是在图2和图3所示的微件处理方法实施例的基础上进一步改进得到的。本实施例中,在图2所示的微件处理方法第二实施例的步骤S203之后,还包括如下步骤:Further, referring to FIG. 5, FIG. 5 is a schematic flowchart of a third embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 5, the present embodiment is further improved on the basis of the embodiment of the widget processing method shown in FIGS. 2 and 3. In this embodiment, after step S203 of the second embodiment of the widget processing method shown in FIG. 2, the method further includes the following steps:
S206、在微件显示界面中的第二预设位置显示删除按键。S206. Display a delete button in a second preset position in the widget display interface.
本实施例中,在步骤S203确定了待编辑微件后,还可以执行删除微件的操作。即确定待编辑微件后,在微件显示界面的第二预设位置显示删除按键。In this embodiment, after the widget to be edited is determined in step S203, the operation of deleting the widget may also be performed. That is, after the widget to be edited is determined, the delete button is displayed at the second preset position of the widget display interface.
在第二预设位置上显示删除按键可以为直接在微件显示界面上的第二预设位置显示出删除按键;此外,也可以隐藏删除按键,当用户滑动待编辑微件时,该删除按键才会在微件显示界面上的第二预设位置显示出删除按键;第二预设位置可以为微件显示界面上的任一位置。Displaying the delete button on the second preset position may display the delete button directly at the second preset position on the widget display interface; in addition, the delete button may also be hidden, and when the user slides the widget to be edited, the delete button The delete button is displayed in the second preset position on the widget display interface; the second preset position may be any position on the widget display interface.
S207、获取用户对删除按键的操作而产生的微件删除指令,并删除待编辑微件。S207. Acquire a widget deletion instruction generated by the user to delete the button, and delete the widget to be edited.
当微件显示界面上显示删除按键后,用户可以通过删除按键触发微件删除指令,终端获取到微件删除指令后,即将待编辑微件进行删除。可以理解的时,在删除待编辑微件后,在微件显示界面上该待编辑微件的位置会空出,此时待编辑微件下方的微件会顺序上移,以填补由于删除待编辑微件而产生的空缺。After the delete button is displayed on the widget display interface, the user can trigger the widget delete command by deleting the button, and the terminal will delete the widget to be edited after obtaining the widget delete command. It can be understood that after deleting the widget to be edited, the position of the widget to be edited on the widget display interface will be vacated, and the widget below the widget to be edited will be sequentially moved up to fill the deletion due to deletion. The vacancy created by editing the widget.
参阅图6a至图6c,图6a至图6c是本发明终端的微件处理方法另一应用例中终端的显示界面的示意图。如图6a所示,终端的显示界面显示的是微件显示界面30,在微件显示界面30上显示有微件A、B和C;根据用户对微件B触发的编辑指令,将微件显示界面30设置为微件编辑状态;微件显示界面30进入微件编辑状态后如图6b所示,微件B作为待编辑微件,其显示方式不同于微件A和微件C,且微件B的下方显示添加按键31。此外,图6b中待编辑微件B的右上角上显示有删除按键32,用户可以对删除按键32触发微件删除指令,进而微件B删除。如图6c所示,当微件B被删除后,微件C会顺序上移,放置在微件B原来的位置上,而不会让微件B的位置出现空缺。Referring to FIG. 6a to FIG. 6c, FIG. 6a to FIG. 6c are schematic diagrams showing a display interface of a terminal in another application example of the widget processing method of the terminal of the present invention. As shown in FIG. 6a, the display interface of the terminal displays the widget display interface 30, and the widgets A, B, and C are displayed on the widget display interface 30; according to the editing instruction triggered by the user to the widget B, the widget is displayed. The display interface 30 is set to the widget editing state; after the widget display interface 30 enters the widget editing state, as shown in FIG. 6b, the widget B is used as the widget to be edited, and the display manner is different from the widget A and the widget C, and The add button 31 is displayed below the widget B. In addition, a delete button 32 is displayed on the upper right corner of the widget B to be edited in FIG. 6b, and the user can trigger the widget delete command on the delete button 32, and the widget B is deleted. As shown in Fig. 6c, when the widget B is deleted, the widget C is sequentially moved up and placed in the original position of the widget B without leaving the position of the widget B vacant.
进一步的,参阅图7,图7是本发明终端的微件处理方法第四实施例的流程示意图。如图7所示,本实施例的微件处理方法包括如下步骤:Further, referring to FIG. 7, FIG. 7 is a schematic flowchart diagram of a fourth embodiment of a method for processing a widget of a terminal of the present invention. As shown in FIG. 7, the widget processing method of this embodiment includes the following steps:
S301、从终端的微件显示界面获取编辑指令。S301. Obtain an editing instruction from a widget display interface of the terminal.
S302、根据编辑指令将微件显示界面设置为微件编辑状态。S302. Set the widget display interface to the widget editing state according to the editing instruction.
本实施例中的步骤S301和步骤S302分别与图1所示的微件处理方法第一实施例中的步骤S101和步骤S102相同,此处不再赘述。Step S301 and step S302 in this embodiment are the same as steps S101 and S102 in the first embodiment of the widget processing method shown in FIG. 1, and are not described herein again.
S303、在微件显示界面处于微件编辑状态时,从微件显示界面接收对微件的第二选择指令,以确定选择的微件为待移动微件。S303. When the widget display interface is in the widget editing state, receive a second selection instruction for the widget from the widget display interface to determine that the selected widget is the widget to be moved.
本实施例中,通过步骤S302将微件显示界面设置为微件编辑状态后,用户可以在微件显示界面上触发相应的用于确定带移动微件的指令,该指令即为第二选择指令。即在微件显示界面处于微件编辑状态时,用户即可在微件显示界面上对一微件触发第二选择指令,该微件即为用户选择的待移动微件。第二选择指令可以为从微件显示界面上响应到的对一微件的触摸指令,且该触摸指令的持续时间大于或等于预设时间。即在微件显示界面上,用户触摸一微件,且触摸持续时间大于或等于预设时间,则认为用户触发了对该微件的第二选择指令,此时根据第二选择指令,将该微件确定为待移动微件。In this embodiment, after the widget display interface is set to the widget editing state in step S302, the user can trigger a corresponding instruction for determining the mobile widget on the widget display interface, and the instruction is the second selection instruction. . That is, when the widget display interface is in the widget editing state, the user can trigger a second selection instruction on a widget on the widget display interface, and the widget is the widget to be moved selected by the user. The second selection instruction may be a touch instruction to a widget that is responsive from the widget display interface, and the duration of the touch instruction is greater than or equal to the preset time. That is, on the widget display interface, when the user touches a widget and the touch duration is greater than or equal to the preset time, the user is considered to trigger a second selection instruction for the widget, and according to the second selection instruction, The widget is determined to be the widget to be moved.
进一步的,确定待移动微件后,该待移动微件的显示方式可以不做改变,即在微件显示界面上,待移动微件和其他微件的显示方式不同。可选的,确定待移动微件后,该待移动微件的显示方式不同于其他微件,即在微件显示界面上,待移动微件和其他微件的显示方式不同,例如,令待编辑微件具有动态显示效果或放大、缩小待编辑微件,以使待移动微件和其他微件具有视觉上的区别,使用户能够区分出待移动微件。Further, after the widget to be moved is determined, the display manner of the widget to be moved may be changed, that is, on the widget display interface, the display manner of the widget to be moved and other widgets are different. Optionally, after the widget to be moved is determined, the display manner of the widget to be moved is different from that of other widgets, that is, on the widget display interface, the display manner of the widget to be moved and other widgets is different, for example, The editing widget has a dynamic display effect or enlarges and shrinks the widget to be edited, so that the widget to be moved and other widgets are visually distinguished, so that the user can distinguish the widget to be moved.
S304、定时或实时获取待移动微件在微件显示界面上的拖动轨迹,并根据拖动轨迹移动待移动微件。S304. Obtain a drag track of the widget to be moved on the widget display interface in a timed or real time, and move the widget to be moved according to the drag track.
确定了待移动微件后,用户可以拖动该待移动微件,对该待移动微件的位置进行重新设置。终端定时或实时获取用户在拖住待移动微件在微件显示界面上的拖动轨迹,根据该拖动轨迹移动待移动微件,即可对待移动微件的位置进行重新设置。After determining the widget to be moved, the user can drag the widget to be moved and reset the position of the widget to be moved. The terminal periodically or real-time obtains the dragging trajectory of the user to drag the widget to be moved on the widget display interface, and moves the widget to be moved according to the drag trajectory, so that the position of the moving widget can be reset.
值得注意的是,本实施例中用户拖动待移动微件的操作与触发第二选择指令的操作是连续的。即当用户对一微件触发了第二选择指令将该微件确定为待移动微件后,用户需要继续触摸该待移动微件并在微件显示界面上执行拖动操作,才能对该待移动微件的位置进行重新设置;若用户在确定了待移动微件后就中断拖动操作,或在拖动过程中中断拖动操作,则此次对该待移动微件的位置进行重新设置失败,待移动微件仍然放置在原来的位置上。It should be noted that, in this embodiment, the operation of the user dragging the widget to be moved and the operation of triggering the second selection instruction are continuous. That is, after the user triggers the second selection instruction on a widget to determine the widget as the widget to be moved, the user needs to continue to touch the widget to be moved and perform a drag operation on the widget display interface. The position of the moving widget is reset; if the user interrupts the drag operation after determining the widget to be moved, or interrupts the drag operation during the dragging process, the position of the widget to be moved is reset this time. Failed, the moving widget is still placed in its original location.
此外,本发明该公开了一种终端的微件处理***。参阅图8,图8是本发明终端的微件处理***第一实施例的结构示意图。如图8所示,本实施例的微件处理***包括:Furthermore, the present invention discloses a widget processing system for a terminal. Referring to FIG. 8, FIG. 8 is a schematic structural diagram of a first embodiment of a widget processing system of a terminal of the present invention. As shown in FIG. 8, the widget processing system of this embodiment includes:
编辑指令获取模块101,用于从终端的微件显示界面获取编辑指令。The edit instruction acquisition module 101 is configured to obtain an edit instruction from the widget display interface of the terminal.
界面状态设置模块102,用于根据编辑指令将微件显示界面设置为微件编辑状态。The interface state setting module 102 is configured to set the widget display interface to the widget editing state according to the editing instruction.
第一确定模块103,用于在微件显示界面处于微件编辑状态时,从微件显示界面接收响应指令以确定至少一个待添加微件。The first determining module 103 is configured to receive a response instruction from the widget display interface to determine at least one widget to be added when the widget display interface is in the widget editing state.
微件添加模块104,用于将所确定的至少一个待添加微件添加到所述微件显示界面。The widget adding module 104 is configured to add the determined at least one widget to be added to the widget display interface.
进一步的,参阅图9,图9是本发明终端的微件处理***第二实施例的结构示意图。如图9所示,本实施例的微件处理***包括:Further, referring to FIG. 9, FIG. 9 is a schematic structural diagram of a second embodiment of a widget processing system of the terminal of the present invention. As shown in FIG. 9, the widget processing system of this embodiment includes:
编辑指令获取模块201,用于从终端的微件显示界面获取编辑指令。The edit instruction acquisition module 201 is configured to obtain an edit instruction from the widget display interface of the terminal.
界面状态设置模块202,用于根据编辑指令将微件显示界面设置为微件编辑状态。The interface state setting module 202 is configured to set the widget display interface to the widget editing state according to the editing instruction.
第一指令获取模块203,用于在微件显示界面处于微件编辑状态时,从所述微件显示界面接收对微件的第一选择指令,以确定所述微件为待编辑微件。The first instruction acquisition module 203 is configured to receive a first selection instruction for the widget from the widget display interface when the widget display interface is in the widget editing state, to determine that the widget is a widget to be edited.
第一确定模块204,用于从微件显示界面接收响应指令以确定至少一个待添加微件。The first determining module 204 is configured to receive a response instruction from the widget display interface to determine at least one widget to be added.
微件添加模块205,用于将所确定的至少一个待添加微件添加在微件显示界面中与待编辑微件的位置相关的第一预设位置。The widget adding module 205 is configured to add the determined at least one widget to be added to the first preset position in the widget display interface related to the position of the widget to be edited.
进一步,参阅图10,如图10所示,第一确定模块204还包括如下执行单元:Further, referring to FIG. 10, as shown in FIG. 10, the first determining module 204 further includes the following execution units:
第一显示单元2041,用于在待编辑微件的至少一个周边位置显示添加按键。The first display unit 2041 is configured to display an add button at at least one peripheral position of the widget to be edited.
添加指令获取单元2042,用于获取用户对添加按键的操作而产生的微件添加指令。The addition instruction acquisition unit 2042 is configured to acquire a widget addition instruction generated by the user to add an operation of the button.
显示界面切换单元2043,用于根据微件添加指令,将终端的显示界面从微件显示界面切换至微件添加界面。The display interface switching unit 2043 is configured to switch the display interface of the terminal from the widget display interface to the widget addition interface according to the widget addition instruction.
选择指令获取单元2044,用于根据在微件添加界面获取到的选择指令确定至少一个待添加微件。The selection instruction acquisition unit 2044 is configured to determine at least one widget to be added according to the selection instruction acquired at the widget addition interface.
参阅图11,图11是本发明终端的微件处理***第三实施例的结构示意图。本实施例是在图9和图10所示的微件处理***实施例的基础上进一步改善得到的。如图10所示,本实施例在图9所示的微件处理***第二实施例的第一指令获取模块203之后还包括:Referring to FIG. 11, FIG. 11 is a schematic structural diagram of a third embodiment of a widget processing system of a terminal of the present invention. This embodiment is further improved on the basis of the embodiment of the widget processing system shown in Figs. 9 and 10. As shown in FIG. 10, this embodiment further includes: after the first instruction acquisition module 203 of the second embodiment of the widget processing system shown in FIG.
第二显示模块206,用于在微件显示界面中的第二预设位置显示删除按键。The second display module 206 is configured to display a delete button in a second preset position in the widget display interface.
删除指令获取模块207,用于获取用户对删除按键的操作而产生的微件删除指令,并删除待编辑微件。The delete instruction acquisition module 207 is configured to acquire a widget deletion instruction generated by the user to delete the button, and delete the widget to be edited.
参阅图12,图12是本发明终端的微件处理***第四实施例的结构示意图。如图12所示,本实施例包括:Referring to FIG. 12, FIG. 12 is a schematic structural diagram of a fourth embodiment of a widget processing system of a terminal of the present invention. As shown in FIG. 12, this embodiment includes:
编辑指令获取模块301,用于从终端的微件显示界面获取编辑指令。The edit instruction acquisition module 301 is configured to obtain an edit instruction from the widget display interface of the terminal.
界面状态设置模块302,用于根据编辑指令将微件显示界面设置为微件编辑状态。The interface state setting module 302 is configured to set the widget display interface to the widget editing state according to the editing instruction.
第二指令获取模块303,用于在微件显示界面处于微件编辑状态时,从微件显示界面接收对微件的第二选择指令,以确定选择的微件为待移动微件。The second instruction acquisition module 303 is configured to receive a second selection instruction for the widget from the widget display interface when the widget display interface is in the widget editing state, to determine that the selected widget is the widget to be moved.
微件移动模块304,用于定时或实时获取待移动微件在微件显示界面上的拖动轨迹,并根据拖动轨迹移动待移动微件。The widget moving module 304 is configured to acquire a drag track of the widget to be moved on the widget display interface in a timed or real time, and move the widget to be moved according to the drag track.
可以理解的是,图8至图12所示的本发明终端的微件处理***实施例的各个模块/单元分别与图1至图7所示的终端的微件处理方法的第一实施例至第四实施例的各个步骤相对应,具体内容请参阅上述方法实施例的各个步骤的内容,此处不再赘述。It can be understood that each module/unit of the widget processing system embodiment of the terminal of the present invention shown in FIG. 8 to FIG. 12 and the first embodiment of the widget processing method of the terminal shown in FIG. 1 to FIG. 7 respectively The respective steps of the fourth embodiment are corresponding. For details, refer to the content of each step of the foregoing method embodiment, and details are not described herein again.
参阅图13,图13是本发明移动终端一实施例的结构示意图。如图13所示,该移动终端包括存储器132、处理器131和触控显示屏133,处理器131连接存储器132和触控显示屏133。Referring to FIG. 13, FIG. 13 is a schematic structural diagram of an embodiment of a mobile terminal according to the present invention. As shown in FIG. 13, the mobile terminal includes a memory 132, a processor 131, and a touch display screen 133. The processor 131 is connected to the memory 132 and the touch display screen 133.
存储器132用于存储处理器131的操作***和相应的操作指令。The memory 132 is used to store the operating system of the processor 131 and corresponding operational instructions.
触控显示屏133用于显示终端的各个界面,并从各个界面上获取用户触发的相应控制指令;其中,各个界面包括微件显示界面和微件添加界面;The touch display screen 133 is configured to display each interface of the terminal, and obtain corresponding control commands triggered by the user from each interface; wherein each interface includes a widget display interface and a widget addition interface;
处理器131用于执行存储器132中存储的操作指令以实现图1至图7所示的终端的微件处理方法的第一实施例至第四实施例的各个步骤,此处不再详细描述,请参照上述图1至图7的具体步骤的详细说明。The processor 131 is configured to execute the operation instructions stored in the memory 132 to implement the steps of the first to fourth embodiments of the widget processing method of the terminal shown in FIG. 1 to FIG. 7, which are not described in detail herein. Please refer to the detailed description of the specific steps of FIG. 1 to FIG. 7 above.
请参阅图14,图14是本发明存储介质实施例的结构示意图。如图14所示,本实施例中的存储介质400中存储有能够被执行的程序数据41,该程序数据41被执行能够实现图1至图7所示的终端的微件处理方法的第一实施例至第四实施例。Please refer to FIG. 14, which is a schematic structural diagram of an embodiment of a storage medium according to the present invention. As shown in FIG. 14, the storage medium 400 in the present embodiment stores program data 41 that can be executed, and the program data 41 is executed first to implement the widget processing method of the terminal shown in FIGS. 1 to 7. Embodiment to Fourth Embodiment.
本实施例中,该存储介质400可以是智能终端的存储模块、移动存储装置(如移动硬盘、U盘等)、网络云盘、应用存储平台或服务器等具备存储功能的介质。此外,该存储介质还可以为上述图13中所示的存储器132。In this embodiment, the storage medium 400 may be a storage module of the smart terminal, a mobile storage device (such as a mobile hard disk, a USB flash drive, etc.), a network cloud disk, an application storage platform, or a server, and the like. Further, the storage medium may also be the memory 132 shown in FIG. 13 described above.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.
Claims (20)
- 一种终端的微件处理方法,其中,包括:A method for processing a widget of a terminal, comprising:从所述终端的微件显示界面获取编辑指令;Obtaining an editing instruction from the widget display interface of the terminal;根据所述编辑指令将所述微件显示界面设置为微件编辑状态;Setting the widget display interface to a widget editing state according to the editing instruction;在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收响应指令以确定至少一个待添加微件;Receiving a response instruction from the widget display interface to determine at least one widget to be added when the widget display interface is in a widget editing state;将所确定的至少一个待添加微件添加到所述微件显示界面。Adding the determined at least one widget to be added to the widget display interface.
- 根据权利要求1所述的微件处理方法,其中,在所述从所述微件显示界面接收响应指令以确定至少一个待添加微件,还包括:The widget processing method according to claim 1, wherein the receiving the response instruction from the widget display interface to determine at least one widget to be added further comprises:从所述微件显示界面接收对微件的第一选择指令,以确定所述微件为待编辑微件;Receiving, by the widget display interface, a first selection instruction for the widget to determine that the widget is a widget to be edited;所述将所确定的至少一个待添加微件添加在所述微件显示界面,包括:Adding the determined at least one widget to be added to the widget display interface includes:将所确定的至少一个待添加微件添加在所述微件显示界面中与所述待编辑微件的位置相关的第一预设位置。And determining the determined at least one widget to be added in a first preset position in the widget display interface related to a position of the widget to be edited.
- 根据权利要求2所述的微件处理方法,其中,所述从所述微件显示界面接收响应指令以确定至少一个待添加微件,包括:The widget processing method according to claim 2, wherein the receiving the response instruction from the widget display interface to determine at least one widget to be added comprises:在所述待编辑微件的至少一个周边位置显示添加按键;Displaying an add button at at least one peripheral position of the widget to be edited;获取用户对所述添加按键的操作而产生的微件添加指令;Obtaining a widget addition instruction generated by a user to operate the added button;根据所述微件添加指令,将终端的显示界面从所述微件显示界面切换至微件添加界面;Switching the display interface of the terminal from the widget display interface to the widget addition interface according to the widget addition instruction;根据在所述微件添加界面获取到的选择指令确定所述至少一个待添加微件。The at least one widget to be added is determined according to a selection instruction acquired at the widget addition interface.
- 根据权利要求3所述的微件处理方法,其中,所述微件添加界面上显示的微件包括终端的全部微件;其中,所述全部微件中已添加在所述微件显示界面上的微件和未添加在所述显示界面上的微件的显示方式不同;或The widget processing method according to claim 3, wherein the widget displayed on the widget addition interface comprises all widgets of the terminal; wherein all the widgets are added to the widget display interface Widgets and widgets not added to the display interface are displayed differently; or所述微件添加界面上显示的微件包括所述终端的全部微件中未添加在所述微件显示界面上的微件。The widget displayed on the widget addition interface includes widgets not included in the widget display interface of all widgets of the terminal.
- 根据权利要求2所述的微件处理方法,其中,在所述从所述微件显示界面接收到对微件的第一选择指令以确定所述选择的微件为待编辑微件之后,还包括:The widget processing method according to claim 2, wherein after the first selection instruction for the widget is received from the widget display interface to determine that the selected widget is a widget to be edited, include:在所述微件显示界面中的第二预设位置显示删除按键;Displaying a delete button in a second preset position in the widget display interface;获取用户对所述删除按键的操作而产生的微件删除指令,并删除所述待编辑微件。Obtaining a widget deletion instruction generated by the user's operation on the delete button, and deleting the widget to be edited.
- 根据权利要求1所述的微件处理方法,其中,还包括:The widget processing method according to claim 1, further comprising:在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收对微件的第二选择指令,以确定所述选择的微件为待移动微件;Receiving, by the widget display interface, a second selection instruction for the widget when the widget display interface is in the widget editing state, to determine that the selected widget is the widget to be moved;定时或实时获取所述待移动微件在所述微件显示界面上的拖动轨迹,并根据所述拖动轨迹移动所述待移动微件。Obtaining a drag trajectory of the widget to be moved on the widget display interface, and moving the widget to be moved according to the drag trajectory.
- 根据权利要求6所述的微件处理方法,其中,在所述微件显示界面中,所述待编辑微件的显示方式与其他微件的显示方式不同;和/或所述待移动微件的显示方式与其他微件的显示方式不同。The widget processing method according to claim 6, wherein in the widget display interface, the display mode of the widget to be edited is different from that of other widgets; and/or the widget to be moved It is displayed differently than other widgets.
- 根据权利要求6所述的微件处理方法,其中,所述从所述终端的微件显示界面获取编辑指令,包括:The widget processing method according to claim 6, wherein the obtaining an editing instruction from the widget display interface of the terminal comprises:从所述终端的微件显示界面获取对微件的触摸指令,并当检测到所述触摸指令的持续时间大于或等于预设时间时,将所述触摸指令确认为编辑指令;以及Acquiring a touch instruction to the widget from the widget display interface of the terminal, and confirming the touch instruction as an edit instruction when detecting that the duration of the touch instruction is greater than or equal to a preset time;所述第二选择指令与所述编辑指令为所述触摸指令。The second selection instruction and the editing instruction are the touch instructions.
- 一种移动终端,其中,所述移动终端包括存储器、处理器和触控显示屏,所述处理器连接所述存储器和所述触控显示屏;A mobile terminal, wherein the mobile terminal includes a memory, a processor, and a touch display screen, the processor is connected to the memory and the touch display screen;所述存储器用于存储所述处理器的操作***和相应的操作指令;The memory is configured to store an operating system of the processor and corresponding operation instructions;所述触控显示屏用于显示终端的各个界面,并从所述各个界面上获取用户触发的相应控制指令;The touch display screen is used to display various interfaces of the terminal, and obtain corresponding control commands triggered by the user from the respective interfaces;所述处理器执行所述操作指令以实现从所述终端的微件显示界面获取编辑指令;Executing, by the processor, the operation instruction to obtain an edit instruction from a widget display interface of the terminal;根据所述编辑指令将所述微件显示界面设置为微件编辑状态;Setting the widget display interface to a widget editing state according to the editing instruction;在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收响应指令以确定至少一个待添加微件;Receiving a response instruction from the widget display interface to determine at least one widget to be added when the widget display interface is in a widget editing state;将所确定的至少一个待添加微件添加到所述微件显示界面。Adding the determined at least one widget to be added to the widget display interface.
- 根据权利要求9所述的移动终端,其中,所述处理器还执行从所述微件显示界面接收对微件的第一选择指令,以确定所述微件为待编辑微件;The mobile terminal of claim 9, wherein the processor further performs receiving a first selection instruction for the widget from the widget display interface to determine that the widget is a widget to be edited;所述将所确定的至少一个待添加微件添加在所述微件显示界面,包括:Adding the determined at least one widget to be added to the widget display interface includes:将所确定的至少一个待添加微件添加在所述微件显示界面中与所述待编辑微件的位置相关的第一预设位置。And determining the determined at least one widget to be added in a first preset position in the widget display interface related to a position of the widget to be edited.
- 根据权利要求10所述的移动终端,其中,所述处理器还执行在所述待编辑微件的至少一个周边位置显示添加按键;The mobile terminal of claim 10, wherein the processor further performs displaying an add button at at least one peripheral location of the widget to be edited;获取用户对所述添加按键的操作而产生的微件添加指令;Obtaining a widget addition instruction generated by a user to operate the added button;根据所述微件添加指令,将终端的显示界面从所述微件显示界面切换至微件添加界面;Switching the display interface of the terminal from the widget display interface to the widget addition interface according to the widget addition instruction;根据在所述微件添加界面获取到的选择指令确定所述至少一个待添加微件。The at least one widget to be added is determined according to a selection instruction acquired at the widget addition interface.
- 根据权利要求11所述的移动终端,其中,所述微件添加界面上显示的微件包括终端的全部微件;其中,所述全部微件中已添加在所述微件显示界面上的微件和未添加在所述显示界面上的微件的显示方式不同;或The mobile terminal of claim 11, wherein the widget displayed on the widget addition interface comprises all widgets of the terminal; wherein the widgets have been added to the widget display interface The widgets and the widgets not added to the display interface are displayed differently; or所述微件添加界面上显示的微件包括所述终端的全部微件中未添加在所述微件显示界面上的微件。The widget displayed on the widget addition interface includes widgets not included in the widget display interface of all widgets of the terminal.
- 根据权利要求10所述的移动终端,其中,所述处理器还执行在所述微件显示界面中的第二预设位置显示删除按键;The mobile terminal of claim 10, wherein the processor further executes displaying a delete button in a second preset position in the widget display interface;获取用户对所述删除按键的操作而产生的微件删除指令,并删除所述待编辑微件。Obtaining a widget deletion instruction generated by the user's operation on the delete button, and deleting the widget to be edited.
- 根据权利要求9所述的移动终端,其中,所述处理器还执行在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收对微件的第二选择指令,以确定所述选择的微件为待移动微件;The mobile terminal of claim 9, wherein the processor further performs receiving a second selection instruction for the widget from the widget display interface when the widget display interface is in a widget editing state, Determining that the selected widget is a widget to be moved;定时或实时获取所述待移动微件在所述微件显示界面上的拖动轨迹,并根据所述拖动轨迹移动所述待移动微件。Obtaining a drag trajectory of the widget to be moved on the widget display interface, and moving the widget to be moved according to the drag trajectory.
- 根据权利要求14所述的移动终端,其中,在所述微件显示界面中,所述待编辑微件的显示方式与其他微件的显示方式不同;和/或所述待移动微件的显示方式与其他微件的显示方式不同。The mobile terminal according to claim 14, wherein in the widget display interface, the display mode of the widget to be edited is different from that of other widgets; and/or the display of the widget to be moved The way is different from the way other widgets are displayed.
- 根据权利要求14所述的移动终端,其中,所述处理器还执行从所述终端的微件显示界面获取对微件的触摸指令,并当检测到所述触摸指令的持续时间大于或等于预设时间时,将所述触摸指令确认为编辑指令;以及The mobile terminal of claim 14, wherein the processor further performs obtaining a touch instruction for the widget from the widget display interface of the terminal, and when detecting that the duration of the touch command is greater than or equal to a pre- When the time is set, the touch command is confirmed as an edit command;所述第二选择指令与所述编辑指令为所述触摸指令。The second selection instruction and the editing instruction are the touch instructions.
- 一种存储介质,其中,存储有程序数据,所述程序数据能够被执行以实现终端的微件处理方法;A storage medium in which program data is stored, the program data being executable to implement a widget processing method of the terminal;所述终端的微件处理方法包括:The widget processing method of the terminal includes:从所述终端的微件显示界面获取编辑指令;Obtaining an editing instruction from the widget display interface of the terminal;根据所述编辑指令将所述微件显示界面设置为微件编辑状态;Setting the widget display interface to a widget editing state according to the editing instruction;在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收响应指令以确定至少一个待添加微件;Receiving a response instruction from the widget display interface to determine at least one widget to be added when the widget display interface is in a widget editing state;将所确定的至少一个待添加微件添加到所述微件显示界面。Adding the determined at least one widget to be added to the widget display interface.
- 根据权利要求17所述的存储介质,其中,所述终端的微件处理方法还包括:从所述微件显示界面接收对微件的第一选择指令,以确定所述微件为待编辑微件;The storage medium according to claim 17, wherein the widget processing method of the terminal further comprises: receiving a first selection instruction for the widget from the widget display interface to determine that the widget is to be edited Piece所述将所确定的至少一个待添加微件添加在所述微件显示界面,包括:Adding the determined at least one widget to be added to the widget display interface includes:将所确定的至少一个待添加微件添加在所述微件显示界面中与所述待编辑微件的位置相关的第一预设位置。And determining the determined at least one widget to be added in a first preset position in the widget display interface related to a position of the widget to be edited.
- 根据权利要求18所述的存储介质,其中,所述终端的微件处理方法还包括:在所述待编辑微件的至少一个周边位置显示添加按键;The storage medium according to claim 18, wherein the widget processing method of the terminal further comprises: displaying an add button at at least one peripheral position of the widget to be edited;获取用户对所述添加按键的操作而产生的微件添加指令;Obtaining a widget addition instruction generated by a user to operate the added button;根据所述微件添加指令,将终端的显示界面从所述微件显示界面切换至微件添加界面;Switching the display interface of the terminal from the widget display interface to the widget addition interface according to the widget addition instruction;根据在所述微件添加界面获取到的选择指令确定所述至少一个待添加微件。The at least one widget to be added is determined according to a selection instruction acquired at the widget addition interface.
- 根据权利要求18所述的存储介质,其中,所述终端的微件处理方法还包括:在所述微件显示界面处于微件编辑状态时,从所述微件显示界面接收对微件的第二选择指令,以确定所述选择的微件为待移动微件;The storage medium according to claim 18, wherein the widget processing method of the terminal further comprises: receiving the widget from the widget display interface when the widget display interface is in the widget editing state Selecting an instruction to determine that the selected widget is a widget to be moved;定时或实时获取所述待移动微件在所述微件显示界面上的拖动轨迹,并根据所述拖动轨迹移动所述待移动微件。Obtaining a drag trajectory of the widget to be moved on the widget display interface, and moving the widget to be moved according to the drag trajectory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/118341 WO2019126952A1 (en) | 2017-12-25 | 2017-12-25 | Widget processing method for terminal, mobile terminal, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/118341 WO2019126952A1 (en) | 2017-12-25 | 2017-12-25 | Widget processing method for terminal, mobile terminal, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019126952A1 true WO2019126952A1 (en) | 2019-07-04 |
Family
ID=67064271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/118341 WO2019126952A1 (en) | 2017-12-25 | 2017-12-25 | Widget processing method for terminal, mobile terminal, and storage medium |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2019126952A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045436A (en) * | 2009-10-22 | 2011-05-04 | 国基电子(上海)有限公司 | Mobile communication terminal and operating method thereof |
CN102436335A (en) * | 2010-09-29 | 2012-05-02 | 鸿富锦精密工业(深圳)有限公司 | Widget addition system and method |
CN102520940A (en) * | 2011-12-01 | 2012-06-27 | 深圳市中兴移动通信有限公司 | Method and device for displaying widget on screen-locking interface of touch-screen terminal |
CN103116452A (en) * | 2013-01-31 | 2013-05-22 | 华为终端有限公司 | Creating method and device and terminal equipment of tabletop component |
CN103970411A (en) * | 2013-01-30 | 2014-08-06 | 三星电子株式会社 | Method and electronic device for configuring screen |
CN106933452A (en) * | 2017-03-17 | 2017-07-07 | 上海传英信息技术有限公司 | A kind of adding method and adding set of application widget |
-
2017
- 2017-12-25 WO PCT/CN2017/118341 patent/WO2019126952A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045436A (en) * | 2009-10-22 | 2011-05-04 | 国基电子(上海)有限公司 | Mobile communication terminal and operating method thereof |
CN102436335A (en) * | 2010-09-29 | 2012-05-02 | 鸿富锦精密工业(深圳)有限公司 | Widget addition system and method |
CN102520940A (en) * | 2011-12-01 | 2012-06-27 | 深圳市中兴移动通信有限公司 | Method and device for displaying widget on screen-locking interface of touch-screen terminal |
CN103970411A (en) * | 2013-01-30 | 2014-08-06 | 三星电子株式会社 | Method and electronic device for configuring screen |
CN103116452A (en) * | 2013-01-31 | 2013-05-22 | 华为终端有限公司 | Creating method and device and terminal equipment of tabletop component |
CN106933452A (en) * | 2017-03-17 | 2017-07-07 | 上海传英信息技术有限公司 | A kind of adding method and adding set of application widget |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014012498A1 (en) | Desktop control method and apparatus, and computer storage medium | |
WO2017076039A1 (en) | Method for running multiple screens of intelligent device, and system thereof | |
WO2017096924A1 (en) | Method of capturing continuous screenshot of pages on basis of mobile terminal, system and mobile terminal | |
WO2018201773A1 (en) | Cell page rendering method, apparatus, server, and readable storage medium | |
WO2013176472A1 (en) | Method and apparatus of controlling user interface using touch screen | |
WO2014071755A1 (en) | Method for realizing downloading of mobile terminal application program and mobile terminal | |
WO2015020496A1 (en) | Device for providing user interface for video editing, and providing method thereof and recording medium | |
WO2012096451A2 (en) | Method and apparatus for editing touch display | |
WO2017211054A1 (en) | Bluetooth intelligent watch, intelligent terminal, and method and system thereof for remotely controlling photographing with spp | |
WO2017211056A1 (en) | One-handed operating method and system for mobile terminal | |
WO2017032061A1 (en) | Application starting method, smart watch, and storage medium | |
WO2018076433A1 (en) | Multi-opening application program method, multi-opening application program apparatus and terminal | |
WO2016022002A1 (en) | Apparatus and method for controlling content by using line interaction | |
WO2014089970A1 (en) | Method and device for arranging display terminal icons | |
WO2014098539A1 (en) | User terminal apparatus and control method thereof | |
WO2017016264A1 (en) | Crown of smart watch and operation method for smart watch | |
WO2018036329A1 (en) | Clipboard control method and system based on mobile terminal | |
WO2016192438A1 (en) | Motion sensing interaction system activation method, and motion sensing interaction method and system | |
WO2017092398A1 (en) | Mobile terminal-based photographing method and mobile terminal | |
WO2013044776A1 (en) | Interaction method and device in touch terminal, and interaction method, server and computer storage medium in network application | |
WO2014029170A1 (en) | Touch control method of capacitive and electromagnetic dual-mode touch screen and handheld electronic device | |
WO2018124823A1 (en) | Display apparatus and controlling method thereof | |
WO2015100911A1 (en) | Medical device, and method and apparatus for adjusting resolution of digital image thereof | |
WO2014190951A1 (en) | System and method for mapping occluded area | |
WO2015088196A1 (en) | Subtitle editing apparatus and subtitle editing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17936222 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17936222 Country of ref document: EP Kind code of ref document: A1 |