CN109917976B - Terminal widget processing method, mobile terminal and storage medium - Google Patents

Terminal widget processing method, mobile terminal and storage medium Download PDF

Info

Publication number
CN109917976B
CN109917976B CN201711430300.3A CN201711430300A CN109917976B CN 109917976 B CN109917976 B CN 109917976B CN 201711430300 A CN201711430300 A CN 201711430300A CN 109917976 B CN109917976 B CN 109917976B
Authority
CN
China
Prior art keywords
widget
display interface
instruction
terminal
added
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711430300.3A
Other languages
Chinese (zh)
Other versions
CN109917976A (en
Inventor
李彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hytera Communications Corp Ltd
Original Assignee
Hytera Communications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hytera Communications Corp Ltd filed Critical Hytera Communications Corp Ltd
Priority to CN201711430300.3A priority Critical patent/CN109917976B/en
Publication of CN109917976A publication Critical patent/CN109917976A/en
Application granted granted Critical
Publication of CN109917976B publication Critical patent/CN109917976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a widget processing method of a terminal, a mobile terminal and a storage medium. The widget processing method comprises the steps of obtaining an editing instruction from a widget display interface of the terminal; setting the widget display interface to be in a widget editing state according to the editing instruction; when the widget display interface is in a widget editing state, receiving a response instruction from the widget display interface to determine at least one widget to be added; and adding the determined at least one widget to be added to the widget display interface. According to the method, the widget to be added can be directly added from the widget display interface, and the continuity of widget adding operation can be enhanced.

Description

Terminal widget processing method, mobile terminal and storage medium
Technical Field
The present invention relates to the field of intelligent terminals, and in particular, to a method for processing a widget of a terminal, a mobile terminal, and a storage medium.
Background
With the development of technology, intelligent terminals have become a common tool in life and work of people. The widget interface of the terminal can display the widget commonly used by the user, the user can directly open a certain widget from the widget display interface or view corresponding information under the condition of not opening the widget, and great convenience is brought to the terminal operation by the user.
In the prior art, a user can adjust the widget display interface in the setting item of the terminal according to own preference and demand, but cannot edit the widget display interface directly. When a user wants to add other widgets into the existing widget display interface, the user can only set the widget from the setting item of the terminal, and the position for adding the widget cannot be set according to the like and the use habit of the user, so that the continuity of the operation of adding the widget by the user is weak, and the user experience is poor.
Disclosure of Invention
The invention aims to provide a widget processing method of a terminal, a mobile terminal and a storage medium, which can enhance the consistency of widget adding operation.
In order to achieve the above object, the present invention provides a widget processing method for a terminal, including:
acquiring an editing instruction from a widget display interface of the terminal;
setting the widget display interface to be in a widget editing state according to the editing instruction;
when the widget display interface is in a widget editing state, receiving a response instruction from the widget display interface to determine at least one widget to be added;
and adding the determined at least one widget to be added to the widget display interface.
Wherein, receiving a response instruction from the widget display interface to determine at least one widget to be added, further comprises:
receiving a first selection instruction of a widget from the widget display interface to determine that the widget is a widget to be edited;
the adding the determined at least one widget to be added to the widget display interface comprises the following steps:
and adding the determined at least one widget to be added to a first preset position related to the position of the widget to be edited in the widget display interface.
The receiving a response instruction from the widget display interface to determine at least one widget to be added comprises the following steps:
displaying an adding key at least one peripheral position of the widget to be edited;
acquiring a widget adding instruction generated by the operation of a user on the adding key;
switching a display interface of a terminal from the widget display interface to a widget adding interface according to the widget adding instruction;
and determining the at least one widget to be added according to the selection instruction acquired from the widget adding interface.
The widget displayed on the widget adding interface comprises all widgets of the terminal; the display modes of the widgets added on the widget display interface and the widgets not added on the display interface are different in all the widgets; or (b)
The widget displayed on the widget adding interface comprises all widgets which are not added on the widget display interface in all widgets of the terminal.
After receiving a first selection instruction of the widget from the widget display interface to determine that the selected widget is a widget to be edited, the method further comprises:
displaying a deleting key at a second preset position in the widget display interface;
and acquiring a widget deleting instruction generated by the operation of the deleting key by a user, and deleting the widget to be edited.
The widget processing method further comprises the following steps:
when the widget display interface is in a widget editing state, receiving a second selection instruction of a widget from the widget display interface to determine that the selected widget is a widget to be moved;
and acquiring a dragging track of the widget to be moved on the widget display interface at fixed time or in real time, and moving the widget to be moved according to the dragging track.
In the widget display interface, the display mode of the widget to be edited is different from the display modes of other widgets; and/or the display mode of the widget to be moved is different from the display modes of other widgets.
The step of obtaining the editing instruction from the widget display interface of the terminal comprises the following steps:
acquiring a touch instruction of a widget from a widget display interface of the terminal, and confirming the touch instruction as an editing instruction when the duration of the touch instruction is detected to be greater than or equal to a preset time; and
the second selection instruction and the editing instruction are the touch instructions.
In another aspect, the present invention provides a mobile terminal, including:
the touch control device comprises a memory, a processor and a touch control display screen, wherein the processor is connected with the memory and the touch control display screen;
the memory is used for storing an operating system of the processor and corresponding operating instructions;
the touch display screen is used for displaying each interface of the terminal and acquiring corresponding control instructions triggered by a user from each interface;
and the processor executes the operation instruction to realize the widget processing method.
In another aspect, the present invention also proposes a storage medium storing program data that can be executed to implement the above-mentioned widget processing method proposed by the present invention.
The beneficial effects are that: compared with the prior art, the method and the device have the advantages that the widget display interface is set to be in the widget editing state through the response of the editing instruction from the widget display interface, so that the widget can be edited by directly entering the editing state from the widget display interface. Further, when the widget display interface is in a widget editing state, determining at least one widget to be added by using a response instruction of the widget display interface; and adding the at least one widget to be added to the widget display interface, namely adding the widget to be added to the widget display interface directly without additionally performing other setting interfaces such as setting items of a terminal, so that the continuity of widget adding operation is enhanced.
Drawings
FIG. 1 is a flow chart of a first embodiment of a widget processing method of a terminal of the present invention;
FIG. 2 is a flow chart of a second embodiment of a widget processing method of the terminal of the present invention;
FIG. 3 is a flowchart of step S204 in the embodiment shown in FIG. 2;
fig. 4a to fig. 4d are schematic views of a display interface of a terminal in an application example of the widget processing method of the terminal according to the present invention;
FIG. 5 is a flowchart of a third embodiment of a widget processing method of the terminal of the present invention;
FIGS. 6a to 6c are schematic diagrams illustrating a display interface of a terminal in another application example of the widget processing method of the terminal according to the present invention;
FIG. 7 is a flowchart of a fourth embodiment of a widget processing method of the terminal of the present invention;
FIG. 8 is a schematic diagram of the architecture of a first embodiment of the widget processing system of the terminal of the present invention;
FIG. 9 is a schematic diagram of the architecture of a second embodiment of the widget processing system of the terminal of the present invention;
FIG. 10 is a schematic diagram of the first determination module in the embodiment shown in FIG. 9;
FIG. 11 is a schematic diagram of the structure of a third embodiment of a widget processing system of the terminal of the present invention;
FIG. 12 is a schematic diagram of the structure of a fourth embodiment of the widget processing system of the terminal of the present invention;
FIG. 13 is a schematic diagram of a mobile terminal according to an embodiment of the present invention;
fig. 14 is a schematic structural view of an embodiment of the storage medium of the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the technical scheme of the present invention, the widget processing method of the terminal, the mobile terminal and the storage medium provided by the present invention are described in further detail below with reference to the accompanying drawings and the specific embodiments.
Referring to fig. 1, fig. 1 is a flow chart of a first embodiment of a widget processing method of a terminal according to the present invention. As shown in fig. 1, the widget processing method of the present embodiment includes the following steps:
s101, acquiring an editing instruction from a widget display interface of the terminal.
The widget is a diffraction product of the intelligent terminal technology, various applications such as a clock, a diary, a calculator, a video player and a memo can be used as the widget, and a user can acquire corresponding information through the widget under the condition that the terminal is not unlocked, for example, the diary information recorded on the diary, the travel record on the memo, the current system time and the like are checked. Therefore, the display of the widget is also different from the display interface of the terminal for displaying the application program, which is the widget display interface, and the widget display interface can be viewed under the condition that the terminal is not unlocked.
In order to enable a user to edit the widget display interface more conveniently, the embodiment obtains an edit instruction triggered by the user from the widget display interface, namely, an edit instruction received by the current widget display interface.
In this embodiment, the editing instruction may be a touch instruction to the widget received by the widget display interface, and if the duration of the touch instruction is greater than or equal to a preset time, the touch instruction is confirmed as the editing instruction. When a user touches a certain widget on the widget display interface and the touch duration is greater than or equal to the preset time, the user is considered to trigger an editing instruction, and the widget display interface receives the editing instruction. The specific duration of the preset time is not limited in this embodiment, and may be set and adjusted according to actual requirements, and optionally, the preset time is 2 seconds, 3 seconds or 5 seconds.
S102, setting the widget display interface to be in a widget editing state according to the editing instruction.
When it is determined that the editing instruction in step S101 is acquired, the widget display interface is set to a widget editing state. At this time, the user can autonomously perform corresponding editing operations on the widgets on the widget display interface, and different settings on the widgets are realized through various instructions generated by responding to the editing operations triggered by the user.
And S103, 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.
And triggering instructions for selecting the widget to be added on the widget display interface by a user when the widget display interface is in a widget editing state, wherein the instructions are response instructions. And determining the widget to be added selected by the user according to the response instruction triggered by the user. The embodiment does not specifically show the number of the widgets to be added, which is determined according to the response instruction of the user, and the user can select 2, 3 or even more widgets as the widgets to be added according to the requirement.
S104, adding the determined at least one widget to be added to the widget display interface.
And adding the widget to be added selected by the user in the step S103 to a 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 added widget at the end of the widget display interface. For example, a widget to be added is added above, below, left, or right of a certain widget.
According to the embodiment, the widget display interface is set to be in a widget editing state by responding to an editing instruction triggered by a user, and when the widget display interface is in the widget editing state, at least one widget to be added is determined by utilizing a response instruction acquired on the widget display interface; at least one widget to be added is added to the widget display interface, namely, the embodiment can directly enter an editing state from the widget display interface to edit the widget of the widget display interface, and the widget to be added can be directly added to the widget display interface, so that the widget adding operation has stronger consistency.
Further, referring to fig. 2, fig. 2 is a flow chart of a second embodiment of a widget processing method of the terminal of the present invention. As shown in fig. 2, the method comprises the following steps:
s201, acquiring an editing instruction from a widget display interface of the terminal.
S202, setting the widget display interface to be in a widget editing state according to the editing instruction.
In this embodiment, S201 and S202 are the same as step S101 and step S102 in the first embodiment of the widget processing method shown in fig. 1, and are not described here again.
And S203, when the widget display interface is in a widget editing state, receiving a first selection instruction of the widget from the widget display interface to determine that the widget is the widget to be edited.
And after the widget display interface is in the widget editing state, editing operation can be performed on the widget display interface. When a user triggers a first selection instruction for 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 responded to from the widget display interface. The method comprises the steps that a user touches a widget on a widget display interface, and if the touch duration is smaller than a preset time, the user is considered to trigger a first selection instruction of the widget, and the widget is determined to be a widget to be edited according to the first selection instruction.
Further, after the widget to be edited is determined, the display mode of the widget to be edited can be unchanged, that is, the display modes of the widget to be edited and other widgets are different on the widget display interface. Optionally, after determining the widget to be edited, the display mode of the widget to be edited is different from that of other widgets, that is, on the widget display interface, the display modes of the widget to be edited and other widgets are different, for example, the widget to be edited has a dynamic display effect or the widget to be edited is enlarged or reduced, so that the widget to be edited and other widgets have visual differences, and a user can distinguish the widget to be edited.
S204, receiving a response instruction from the widget display interface to determine at least one widget to be added.
And triggering instructions for selecting the widget to be added on the widget display interface by a user when the widget display interface is in a widget editing state, wherein the instructions are response instructions. And determining the widget to be added selected by the user according to the response instruction triggered by the user. The embodiment does not specifically show the number of the widgets to be added, which is determined according to the response instruction of the user, and the user can select 2, 3 or even more widgets as the widgets to be added according to the requirement.
S205, adding the determined at least one widget to be added to a first preset position related to the position of the widget to be edited in the widget display interface.
After determining the widget to be edited in step S203, and determining the widget to be added in step S204, adding the determined widget to be added at a first preset position related to the position of the widget to be edited. In this embodiment, the first preset position is the upper, lower, left or right direction of the widget to be edited.
According to the method, the widget to be edited is determined on the widget display interface, the widget to be added is added at the first preset position related to the position of the widget to be edited, so that the position of the widget to be added to be edited can be flexibly changed according to the change of the widget to be edited, the adding position of the widget to be added can be flexibly changed, the operation of a user is more suitable for the use habit of the user, and the user experience is more reasonable.
Further, as shown in fig. 3, the step S204 specifically includes the following steps:
s2041, displaying an adding key at least one peripheral position of the widget to be edited.
After determining the widget to be edited in step S203, an add key for acquiring an add operation instruction is displayed at least one peripheral position of the widget to be edited. In this embodiment, the peripheral locations include the upper, lower, left, and right sides of the widget to be edited. Namely, displaying an adding key at least one position of the upper part, the lower part, the left part or the right part of the widget to be edited.
S2042, obtaining a widget adding instruction generated by the operation of the adding key by the user.
In this embodiment, the operation of the add key by the user is regarded as a widget add instruction. For example, if the user clicks, touches or presses the add button, the add button is considered to be operated, and a widget add instruction is generated.
S2043, switching the display interface of the terminal from the widget display interface to the widget adding interface according to the widget adding instruction.
Responding to the widget adding instruction generated in the step S2042 on the widget display interface, and switching the display interface of the terminal from the current widget display interface to the widget adding interface according to the widget adding instruction.
It is understood that the widget displayed on the widget adding interface may be only the widget that is not added to the widget display interface among all the widgets of the terminal, and may include all the widgets of the terminal. If the widget displayed on the widget adding interface comprises all the widgets of the terminal, the display modes of the widget which is added on the widget display interface and the widget which is not added on the display interface can be different, so that the non-added widget and the added widget have visual differences, a user can intuitively see which widget is not added in the widget display interface and which widget is added in the widget display interface, and the user can select the widget to be added from the widgets which are not added in the widget display interface. In addition, when the widget displayed on the widget adding interface is all the widgets of the terminal, the widget which is not added on the widget display interface can be displayed in front, and the widget which is already added on the widget display interface can be displayed behind, so that when the display interface of the terminal is switched from the widget display interface to the widget adding interface, the user can preferentially see the widget which is not added on the display interface.
S2044, determining at least one widget to be added according to the selection instruction acquired from the widget adding interface.
And selecting the widget to be added in the widget adding interface by the user, wherein the corresponding widget selected by the user is the widget to be added. The selection instruction may be a touch or press operation of the user on a widget adding interface on a certain widget, that is, the user selects the widget as a widget to be added by touching or pressing the widget on the widget adding interface. Further, on the widget adding interface, the display mode of the selected widget to be added is different from the display modes of other widgets, so that a user can intuitively see which widgets are selected and which widgets are not selected.
The number of the widgets to be added selected by the user is not particularly limited, the user can select the widgets according to own preference and demand, and the number of the widgets to be added is at least one.
Furthermore, a cancel button can be arranged on the widget adding interface and used for responding to a cancel instruction of a user, namely, the selected widget to be added can be canceled; in addition, the editing operation can be directly canceled, so that the display interface of the terminal returns to the widget display interface from the widget adding interface without adding any widget. In addition, since the number of the to-be-added widgets selected by the user can be multiple, in order that the user can add the selected to-be-added widget to the widget display interface at one time, repeated operation is avoided, a determination adding key can be arranged on the widget adding interface, and after the user determines a plurality of to-be-added widgets on the widget adding interface, a determination adding instruction is triggered through the determination adding key, and then the plurality of to-be-added widgets are added to the widget display interface at one time. In the present embodiment, the setting positions of the cancel key and the determine add key are not particularly limited.
Referring to fig. 4a to 4d, fig. 4a to 4d are schematic views of a display interface of a terminal in an application example of the widget processing method of the terminal according to the present invention. As shown in fig. 4a, the display interface of the terminal shows a widget display interface 10, and widgets A, B and C are displayed on the widget display interface 10; setting the widget display interface 10 to be in a widget editing state according to an editing instruction triggered by a user on the widget B; after the widget display interface 10 enters the widget editing state, as shown in fig. 4B, a widget B is used as a widget to be edited, the display mode is different from that of a widget a and a widget C, and an add key 11 is displayed below the widget B. As shown in fig. 4c, after a widget adding instruction generated from the widget display interface in response to the operation of the adding key 11 by the user, the display interface of the terminal is switched from the widget display interface 10 to the widget adding interface 20, and the widgets which are not added to the widget display interface among all the widgets of the terminal are displayed on the widget adding interface 20 (it is understood that the widget adding interface 20 shown in fig. 4c is only an application example, but not a limitation of the present invention, and in other application examples, the widgets displayed on the widget adding interface may include all the widgets of the terminal, where the widget G is a widget to be added determined by the selection instruction, and the display manner of the widget G 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 for determining the addition, the widget G is added at the position of the adding key 11, that is, the widget G is added below the widget B to be edited.
Further, referring to fig. 5, fig. 5 is a flow chart of a third embodiment of a widget processing method of the terminal of the present invention. As shown in fig. 5, this embodiment is further improved on the basis of the embodiment of the widget processing method shown in fig. 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, displaying a deleting key at a second preset position in the widget display interface.
In this embodiment, after determining the widget to be edited in step S203, the operation of deleting the widget may also be performed. And displaying a deleting key at a second preset position of the widget display interface after determining the widget to be edited.
Displaying the delete key at the second preset position may be displaying the delete key directly at the second preset position on the widget display interface; in addition, the deleting key can be hidden, and when the user slides the widget to be edited, the deleting key can be displayed at a second preset position on the widget display interface; the second preset position may be any position on the widget display.
S207, acquiring a widget deleting instruction generated by the operation of a user on a deleting key, and deleting the widget to be edited.
After a deletion key is displayed on the widget display interface, a user can trigger a widget deletion instruction through the deletion key, and after the terminal acquires the widget deletion instruction, the widget to be edited is deleted. It can be understood that when the widget to be edited is deleted, the position of the widget to be edited on the widget display interface is free, and at this time, the widget below the widget to be edited moves up sequentially, so as to fill the gap generated by deleting the widget to be edited.
Referring to fig. 6a to 6c, fig. 6a to 6c are schematic views of a display interface of a terminal in another application example of the widget processing method of the terminal according to the present invention. As shown in fig. 6a, the display interface of the terminal shows a widget display interface 30, and widgets A, B and C are displayed on the widget display interface 30; setting the widget display interface 30 to be in a widget editing state according to an editing instruction triggered by a user on the widget B; after the widget display interface 30 enters the widget editing state, as shown in fig. 6B, a widget B is used as a widget to be edited, the display manner is different from that of a widget a and a widget C, and an add button 31 is displayed below the widget B. In addition, in fig. 6B, a delete key 32 is displayed on the upper right corner of the widget B to be edited, and the user may trigger a widget delete instruction to the delete key 32, so that 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 at the original position of the widget B without leaving a gap in the position of the widget B.
Further, referring to fig. 7, fig. 7 is a flowchart of a fourth embodiment of a widget processing method of a terminal according to the present invention. As shown in fig. 7, the widget processing method of the present embodiment includes the following steps:
s301, acquiring an editing instruction from a widget display interface of the terminal.
S302, setting the widget display interface to be in a widget editing state according to the editing instruction.
Step S301 and step S302 in this embodiment are the same as step S101 and step S102 in the first embodiment of the widget processing method shown in fig. 1, and are not described here again.
S303, when the widget display interface is in the widget editing state, receiving a second selection instruction for the widget from the widget display interface to determine that the selected widget is the widget to be moved.
In this embodiment, after setting the widget display interface to the widget editing state in step S302, the user may trigger a corresponding instruction for determining that the widget is moved on the widget display interface, where the instruction is the second selection instruction. When the widget display interface is in the widget editing state, a user can trigger a second selection instruction on the widget display interface for a widget, wherein the widget is the widget to be moved selected by the user. The second selection instruction may be a touch instruction to a widget, which is responded to from the widget display interface, and the duration of the touch instruction is greater than or equal to a preset time. 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 trigger a second selection instruction for the widget, and the widget is determined to be the widget to be moved according to the second selection instruction.
Further, after the widget to be moved is determined, the display mode of the widget to be moved may not be changed, that is, the display modes of the widget to be moved and other widgets are different on the widget display interface. Optionally, after determining the widget to be moved, 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 that of other widgets are different, for example, the widget to be edited is enabled to have a dynamic display effect or the widget to be edited is enlarged and reduced, so that the widget to be moved and the other widgets are enabled to have visual differences, and the user can distinguish the widget to be moved.
S304, acquiring a dragging track of the widget to be moved on the widget display interface at fixed time or in real time, and moving the widget to be moved according to the dragging track.
After the widget to be moved is determined, the user can drag the widget to be moved, and reset the position of the widget to be moved. And the terminal acquires a dragging track of a user on a widget display interface after dragging the widget to be moved at fixed time or in real time, and the position of the widget to be moved can be reset by moving the widget to be moved according to the dragging track.
It should be noted that, in this embodiment, the operation of dragging the widget to be moved by the user and the operation of triggering the second selection command are continuous. After a user triggers a second selection instruction for a widget to determine the widget as a widget to be moved, the user needs to continuously touch the widget to be moved and execute dragging operation on a widget display interface so as to reset the position of the widget to be moved; if the user stops the dragging operation after determining the widget to be moved or stops the dragging operation in the dragging process, the resetting of the position of the widget to be moved fails, and the widget to be moved is still placed at the original position.
In addition, the invention discloses a widget processing system of the terminal. Referring to fig. 8, fig. 8 is a schematic structural view of a first embodiment of a widget processing system of a terminal according to the present invention. As shown in fig. 8, the widget processing system of the present embodiment includes:
and the editing instruction acquisition module 101 is used for acquiring the editing instruction from the widget display interface of the terminal.
The interface state setting module 102 is configured to set the widget display interface to a widget editing state according to an 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 a 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.
Further, referring to fig. 9, fig. 9 is a schematic structural diagram of a second embodiment of a widget processing system of a terminal according to the present invention. As shown in fig. 9, the widget processing system of the present embodiment includes:
and the editing instruction acquisition module 201 is used for acquiring the editing instruction from the widget display interface of the terminal.
The interface state setting module 202 is configured to set the widget display interface to a widget editing state according to an editing instruction.
The first instruction obtaining module 203 is configured to receive, when the widget display interface is in a widget editing state, a first selection instruction for a widget from the widget display interface, so as 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 a first preset position related to a position of the widget to be edited in the widget display interface.
Further, referring to fig. 10, as shown in fig. 10, the first determining module 204 further includes the following execution units:
a first display unit 2041 for displaying an add key at least one peripheral position of the widget to be edited.
The add instruction acquisition unit 2042 is configured to acquire a widget add instruction generated by a user's operation of an add key.
And a display interface switching unit 2043, 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 acquiring unit 2044 is configured to determine at least one widget to be added according to the selection instruction acquired at the widget adding interface.
Referring to fig. 11, fig. 11 is a schematic structural view of a third embodiment of a widget processing system of a terminal according to the present invention. This embodiment is further improved upon the widget processing system embodiment shown in fig. 9 and 10. As shown in fig. 10, the first instruction fetch module 203 of the second embodiment of the widget processing system shown in fig. 9 further includes:
and a second display module 206, configured to display a delete key at a second preset position in the widget display interface.
The deletion instruction obtaining module 207 is configured to obtain a widget deletion instruction generated by a user operating a deletion key, and delete a widget to be edited.
Referring to fig. 12, fig. 12 is a schematic structural view of a fourth embodiment of a widget processing system of a terminal according to the present invention. As shown in fig. 12, the present embodiment includes:
the editing instruction obtaining module 301 is configured to obtain an editing instruction from a widget display interface of a terminal.
The interface state setting module 302 is configured to set the widget display interface to a widget editing state according to an editing instruction.
And 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, so as to determine that the selected widget is a widget to be moved.
The widget moving module 304 is configured to acquire a dragging track of a widget to be moved on a widget display interface at regular time or in real time, and move the widget to be moved according to the dragging track.
It can be understood that each module/unit of the embodiment of the widget processing system of the terminal shown in fig. 8 to 12 corresponds to each step of the first embodiment to the fourth embodiment of the widget processing method of the terminal shown in fig. 1 to 7, and the specific content refers to the content of each step of the above method embodiment, which is not repeated herein.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a mobile terminal according to an embodiment of the invention. As shown in fig. 13, the mobile terminal includes a memory 132, a processor 131 and a touch display screen 133, and the processor 131 is connected to the memory 132 and the touch display screen 133.
The memory 132 is used for storing an operating system and corresponding operating instructions of the processor 131.
The touch display screen 133 is configured to display each interface of the terminal, and obtain a corresponding control instruction triggered by a user from each interface; each interface comprises a widget display interface and a widget adding 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 7, and will not be described in detail herein, please refer to the detailed description of the specific steps of fig. 1 to 7.
Referring to fig. 14, fig. 14 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 therein program data 41 capable of being executed, the program data 41 being executed to enable the first to fourth embodiments of the widget processing methods of the terminals shown in fig. 1 to 7.
In this embodiment, the storage medium 400 may be a storage module of an intelligent terminal, a mobile storage device (such as a mobile hard disk, a usb disk, etc.), a network cloud disk, an application storage platform, a server, or other media with storage functions. The storage medium may be the memory 132 shown in fig. 13.
The foregoing is only the embodiments of the present invention, and the patent scope of the invention is not limited thereto, but is also covered by the patent protection scope of the invention, as long as the equivalent structures or equivalent processes of the present invention and the contents of the accompanying drawings are changed, or the present invention is directly or indirectly applied to other related technical fields.

Claims (8)

1. A widget processing method of a terminal, comprising:
acquiring an editing instruction from a widget display interface of the terminal;
setting the widget display interface to be in a widget editing state according to the editing instruction;
when the widget display interface is in a widget editing state, receiving a response instruction from the widget display interface to determine at least one widget to be added;
adding the determined at least one widget to be added to the widget display interface;
the step of receiving a response instruction from the widget display interface to determine at least one widget to be added, and the step of further comprising:
receiving a first selection instruction of a widget from the widget display interface to determine that the widget is a widget to be edited;
displaying an adding key at least one peripheral position of the widget to be edited;
acquiring a widget adding instruction generated by the operation of a user on the adding key;
switching a display interface of a terminal from the widget display interface to a widget adding interface according to the widget adding instruction;
determining the at least one widget to be added according to a selection instruction acquired from the widget adding interface;
the adding the determined at least one widget to be added to the widget display interface comprises the following steps:
and adding the determined at least one widget to be added to a first preset position related to the position of the widget to be edited in the widget display interface, wherein the first preset position is above, below, left or right of the widget to be edited.
2. The widget processing method according to claim 1, wherein the widget displayed on the widget addition interface includes all widgets of a terminal; the display modes of the widgets added on the widget display interface and the widgets not added on the display interface are different in all the widgets; or (b)
The widget displayed on the widget adding interface comprises all widgets which are not added on the widget display interface in all widgets of the terminal.
3. The widget processing method according to claim 1, wherein after receiving a first selection instruction for a widget from the widget display interface to determine that the selected widget is a widget to be edited, further comprising:
displaying a deleting key at a second preset position in the widget display interface;
and acquiring a widget deleting instruction generated by the operation of the deleting key by a user, and deleting the widget to be edited.
4. The widget processing method according to claim 1, further comprising:
when the widget display interface is in a widget editing state, receiving a second selection instruction of a widget from the widget display interface to determine that the selected widget is a widget to be moved;
and acquiring a dragging track of the widget to be moved on the widget display interface at fixed time or in real time, and moving the widget to be moved according to the dragging track.
5. The widget processing method according to claim 4, wherein in the widget display interface, the display manner of the widget to be edited is different from the display manner of other widgets; and/or the display mode of the widget to be moved is different from the display modes of other widgets.
6. The widget processing method of claim 4, wherein the obtaining an edit instruction from the widget display interface of the terminal comprises:
acquiring a touch instruction of a widget from a widget display interface of the terminal, and confirming the touch instruction as an editing instruction when the duration of the touch instruction is detected to be greater than or equal to a preset time; and
the second selection instruction and the editing instruction are the touch instructions.
7. The mobile terminal is characterized by comprising a memory, a processor and a touch display screen, wherein the processor is connected with the memory and the touch display screen;
the memory is used for storing an operating system of the processor and corresponding operating instructions;
the touch display screen is used for displaying each interface of the terminal and acquiring corresponding control instructions triggered by a user from each interface;
the processor executes the operational instructions to implement the widget processing method of any one of claims 1-6.
8. A storage medium storing program data executable to implement the widget processing method according to any one of claims 1 to 6.
CN201711430300.3A 2017-12-25 2017-12-25 Terminal widget processing method, mobile terminal and storage medium Active CN109917976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711430300.3A CN109917976B (en) 2017-12-25 2017-12-25 Terminal widget processing method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711430300.3A CN109917976B (en) 2017-12-25 2017-12-25 Terminal widget processing method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109917976A CN109917976A (en) 2019-06-21
CN109917976B true CN109917976B (en) 2023-06-20

Family

ID=66959488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711430300.3A Active CN109917976B (en) 2017-12-25 2017-12-25 Terminal widget processing method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109917976B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115098204A (en) * 2022-06-17 2022-09-23 深圳传音控股股份有限公司 Widget display method, intelligent terminal and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722358A (en) * 2011-03-30 2012-10-10 联想(北京)有限公司 Electronic equipment and method for presenting widgets

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7490295B2 (en) * 2004-06-25 2009-02-10 Apple Inc. Layer for accessing user interface elements
KR102078753B1 (en) * 2013-01-30 2020-02-19 삼성전자주식회사 Method for controlling layout and an electronic device thereof
CN103116452A (en) * 2013-01-31 2013-05-22 华为终端有限公司 Creating method and device and terminal equipment of tabletop component
CN104360798B (en) * 2014-10-29 2018-05-15 宇龙计算机通信科技(深圳)有限公司 The method and terminal of a kind of desktop layouts
CN106933452A (en) * 2017-03-17 2017-07-07 上海传英信息技术有限公司 A kind of adding method and adding set of application widget

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722358A (en) * 2011-03-30 2012-10-10 联想(北京)有限公司 Electronic equipment and method for presenting widgets

Also Published As

Publication number Publication date
CN109917976A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN106776514B (en) Annotating method and device
EP2701054B1 (en) Method and apparatus for constructing a home screen in a terminal having a touch screen
EP2172837B1 (en) Touch input device and method for portable device
KR102027879B1 (en) Menu contolling method of media equipment, apparatus thereof, and medium storing program source thereof
CN112181225A (en) Desktop element adjusting method and device and electronic equipment
CN108829314B (en) Screenshot selecting interface selection method, device, equipment and storage medium
CN105068727A (en) Realization method and device for drawing tool
CN105068721A (en) Operation menu display method and terminal
KR20130052743A (en) Method for selecting menu item
CN105302784A (en) Method and system for copying/ cutting and pasting data
CN105573740A (en) Split-screen display mode operation method and terminal
CN105159582A (en) Video region adjusting method and terminal
CN104281360A (en) Edit processing apparatus and edit processing program
CN109547623B (en) Interface switching method and device
CN111665984A (en) Information processing method and device, electronic equipment and readable storage medium
KR101419871B1 (en) Apparatus and method for editing subtitles
CN114518822A (en) Application icon management method and device and electronic equipment
US20170168686A1 (en) Method and electronic device for processing list item operation
CN106257389B (en) Realize the method and touch control terminal of folder icon interaction
CN109917976B (en) Terminal widget processing method, mobile terminal and storage medium
CN114397989A (en) Parameter value setting method and device, electronic equipment and storage medium
CN103279263A (en) Method and system for rapidly creating and editing folders
CN107291564B (en) Information copying and pasting method and device and electronic equipment
CN107544740B (en) Application processing method and device, storage medium and electronic equipment
CN112462989A (en) Operation method and device of intelligent interaction panel, intelligent interaction panel and medium

Legal Events

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