US20210004141A1 - Desktop generation and operation methods for mobile terminal and corresponding devices thereof - Google Patents
Desktop generation and operation methods for mobile terminal and corresponding devices thereof Download PDFInfo
- Publication number
- US20210004141A1 US20210004141A1 US17/026,030 US202017026030A US2021004141A1 US 20210004141 A1 US20210004141 A1 US 20210004141A1 US 202017026030 A US202017026030 A US 202017026030A US 2021004141 A1 US2021004141 A1 US 2021004141A1
- Authority
- US
- United States
- Prior art keywords
- desktop
- block
- blocks
- shortcut
- application program
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000009471 action Effects 0.000 claims description 18
- 238000012544 monitoring process Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 4
- 238000004519 manufacturing process Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 27
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000005352 clarification Methods 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- VJYFKVYYMZPMAB-UHFFFAOYSA-N ethoprophos Chemical compound CCCSP(=O)(OCC)SCCC VJYFKVYYMZPMAB-UHFFFAOYSA-N 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
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]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- 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]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- 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]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- 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]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- 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]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application relates to the field of information processing technology, and in particular to a desktop generation and operation methods for a mobile terminal and corresponding devices thereof.
- the mobile terminal is increasingly popular, and there are more and more application programs which can be run on the mobile terminal.
- it needs to find an executable file of the application program on the mobile terminal and then click the executable file to start the application program to run.
- a shortcut for the application program is generated on a desktop of the mobile terminal once the application program is installed on the mobile terminal.
- the shortcut includes contents indicating the application program, for example, an icon or a program name. The number of shortcuts on the desktop increases as more application programs run on the mobile terminal.
- each shortcut icon on the desktop is rounded rectangular.
- the shortcut icons of application programs have various shapes, for example, a regular shape such as a triangle or a circle, or an irregular shape.
- the shortcut icons are generally manufactured to be in a shape of rounded rectangle by using a special software, such that the shortcut icons are arranged on the desktop of the mobile terminal smoothly.
- this way limits presentation forms of the shortcut icons of application programs, reduces the tolerance of the mobile terminal to application programs, and increases the difficulty in presenting the shortcut icons on the desktop.
- a desktop generation method for a mobile terminal a desktop operation method for a mobile terminal and corresponding apparatuses thereof are provided by embodiments of the application, so as to improve the tolerance of the mobile terminal to the application program and reduce the difficulty in presenting the shortcut icon on the desktop.
- drawing by calling a drawing function, multiple blocks based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop;
- presenting, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program in a case that the shortcut for the application program is required to be presented on the desktop includes:
- the block is a rectangular block
- the number of the multiple blocks is NxM, where N is the number of the blocks on the desktop of the mobile terminal in a transverse direction, M is the number of the blocks on the desktop of the mobile terminal in a longitudinal direction, and N and M each are natural numbers greater than or equal to 2 .
- the blocks are spaced apart by a preset distance.
- a desktop operation method for a mobile terminal is further provided by an embodiment of the application.
- the method includes:
- the operation object is the desktop
- the type of the operation message is integral movement of the desktop
- performing the corresponding operation on the operation object based on the type of the operation message includes:
- the operation object is the block in the desktop
- the type of the operation message is selecting a block in one or more desktops and moving the selected block to a target desktop
- performing the corresponding operation on the operation object based on the type of the operation message includes:
- positions of the idle block and the block in the list are interchanged based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- the operation object is the block in the desktop
- the type of the operation message is displaying and hiding of the desktop
- performing the corresponding operation on the operation object based on the type of the operation message includes:
- a desktop generation apparatus for a mobile terminal is further provided according to an embodiment of the application.
- the apparatus includes a class object creating unit, a block drawing unit and a shortcut presenting unit;
- the class object creating unit is configured to create a block class object, where the block class object includes attribute information;
- the block drawing unit is configured to draw multiple blocks by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop;
- the shortcut presenting unit is configured to present, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented.
- the shortcut presenting unit further includes a message monitoring subunit, a shortcut reading subunit, an idle block detecting subunit and a shortcut presenting subunit, where
- the message monitoring subunit is configured to monitor a message of requiring creating a shortcut for an application program on the desktop which is sent from an operating system of the mobile terminal;
- the shortcut reading subunit is configured to read a shortcut icon and/or program name of the application program for which the shortcut is required to be created on the desktop;
- the idle block detecting subunit is configured to detect an idle block on the desktop
- the shortcut presenting subunit is configured to present the shortcut icon and/or program name of the application program in an idle block, in a case that it is detected that there is an idle block on the desktop.
- a desktop operation apparatus for a mobile terminal is further provided by an embodiment of the application.
- the apparatus includes a multiple-desktop presenting unit, an operation message receiving unit and an operation unit, where
- the multiple-desktop presenting unit is configured to perform an action in a predetermined action manner to present multiple desktops described above on a screen of the mobile terminal;
- the operation message receiving unit is configured to receive an operation message taking the desktop or a block included in the desktop as an operation object
- the operation unit is configured to perform a corresponding operation on the operation object based on a type of the operation message.
- the operation object is the desktop
- the type of the operation message is integral movement of the desktop
- the operation unit includes a first operation message detecting subunit, a first list creating subunit, a first target position detecting subunit and a desktop drawing subunit, where
- the first operation message detecting subunit is configured to detect whether the operation message of integral movement is received by one of the multiple desktops, and trigger the list creating subunit in a case that the operation message of integral movement is received by the one desktop;
- the first list creating subunit is configured to create a list corresponding to the one desktop for recording sequence numbers of blocks included in the one desktop and position information of the blocks in the one desktop;
- the first target position detecting subunit is configured to detect a target position to which the one desktop is to be moved integrally;
- the desktop drawing subunit is configured to draw the desktop at the target position by calling a drawing position, based on the sequence numbers of the blocks and the position information of the blocks in the desktop recorded in the list.
- the operation object is the block in the desktop
- the type of the operation message is selecting a block in one or more desktops and moving the selected block to a target desktop
- the operation unit includes a second operation message detecting subunit, a second list creating subunit, a block information recording subunit, a second target position detecting subunit and a position interchanging subunit, where
- the second operation message detecting subunit is configured to detect whether the operation message of selecting and moving is received by a block in the screen of the mobile terminal, and trigger the block information recording subunit in a case that the operation message of selecting and moving is received by the block;
- the block information recording subunit is configured to record in a list a sequence number of the block and position information of the block in the desktop;
- the second list creating subunit is configured to create the list when the operation message of selecting and moving is received by a block in the screen of the mobile terminal for the first time;
- the second target position detecting subunit is configured to detect a target position to which the block is to be moved
- the position interchanging subunit is configured to interchange positions of an idle block and the block in the list, based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- the operation unit further includes an idle block detecting subunit, and the idle block detecting subunit is configured to detect whether there is an idle block in a desktop where the target position is located, in a case that the target position to which the block is to be moved is detected; and trigger the position interchanging subunit in a case that there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list.
- the operation object is the block in the desktop
- the type of the operation message is displaying and hiding of the desktop
- the operation unit includes a third operation message detecting subunit, a block attribute adjusting subunit and a displaying and hiding subunit, where
- the third operation message detecting subunit is configured to detect whether the operation message of displaying and hiding is received by one of the multiple desktops; and trigger the block attribute adjusting subunit in a case that the operation message of displaying and hiding is received by the one desktop;
- the block attribute adjusting subunit is configured to change an attribute value of a visible attribute of a block in the one desktop to an opposite attribute value
- the displaying and hiding subunit is configured to draw the block in the desktop by calling a drawing function to display the desktop and the block in the desktop or not draw the block in the desktop by calling the drawing function to hide the desktop and the block in the desktop based on the attribute value, after the desktop is refreshed.
- the block class object including attribute information is created firstly, then multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on the whole screen of the mobile terminal without overlap to form a desktop; in a case that a shortcut for an application program is required to be presented on the desktop, the shortcut is presented in an idle block on the desktop.
- blocks are created and the desktop of the mobile terminal is formed by arrangement of these independent blocks in the embodiment of the application.
- the icon or program name of the shortcut is presented in one block rather than on the whole desktop (occupying certain region of the whole desktop), i.e., the icon or program name of the application program is presented using the block instead of the whole desktop. Therefore, the icon or program name of the application program can be in various shapes, and thereby increasing the tolerance of the desktop to the application program and reducing the difficulty in presenting the shortcut icon on the desktop.
- FIG. 1 is a flow chart of a desktop generation method for a mobile terminal according to an embodiment of the application
- FIG. 2 (a) is a schematic diagram of a conventional desktop form
- FIG. 2( b ) is a schematic diagram of a desktop form according to an embodiment of the application.
- FIG. 3 is a schematic diagram of a desktop form of Panel 9 according to an embodiment of embodiments of the application.
- FIG. 4 is a flow chart of a desktop operation method for a mobile terminal according to an embodiment of the application
- FIG. 5 is a structural block diagram of a desktop generation apparatus for a mobile terminal according to an embodiment of the application.
- FIG. 6 is a structural block diagram of a desktop operation apparatus for a mobile terminal according to an embodiment of the application.
- the “desktop” mentioned in the application refers to a space for presenting an icon and/or program name by an operating system.
- the “icon” mentioned in the application refers to a shortcut on the desktop indicating that there is an application program. A user can open a target application program associated with an icon by clicking the icon. In the conventional operating system, the overall shape of the icon is generally rounded rectangle.
- the “standard mode” mentioned in the application refers to a single-desktop mode, i.e., there is only one desktop in the screen of the mobile terminal.
- the “multiple-desktop mode” mentioned in the application refers to a case that there are multiple desktops in the screen of the mobile terminal.
- FIG. 1 illustrates a flow of a desktop generation method for a mobile terminal according to an embodiment of the application.
- the embodiment includes following steps S 101 to S 103 .
- step S 101 a block class object is created, where the block class object includes attribute information.
- a block class object needs to be created in order to generate a block on the desktop and the block class object is created by performing information interaction with the operating system of the mobile terminal.
- the block class object includes multiple attributes.
- the block class object may include a background attribute (for representing the background color of the block), a shape attribute (for representing the overall shape of the block), a size attribute (for representing a distance of the block in a certain direction, for example, the size attribute of a round block may be a radius R of the circle, and the size attribute of a rectangular block may be a width [width] or a height [height]), a position attribute (for representing coordinates of the block on the desktop [x, y, z]), and a color attribute (color [r, g, b, a] for representing the overall color of the block), and may further include attributes such as alpha, visible and scale.
- certain attributes may be selected based on actual requirement to describe the block class object.
- step S 102 multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop.
- blocks are drawn by calling a drawing function based on attributes of the block class object.
- the number of blocks required to be drawn depends on factors such as the shape of the block, the size of the block and the size of the screen of the mobile terminal. During actual application, after the shape of the block, the size of each block and the size of the screen of the mobile terminal are determined, the number of blocks required to be drawn and the position for drawing each block are calculated.
- the shape of the block, the size of each block and the size of the screen of the mobile terminal are not limited, as long as these blocks can be distributed on the whole screen of the mobile terminal without overlap to form a desktop.
- the drawing function refers to a tool for drawing in a broad sense based on parameter information in response to an instruction.
- the drawing function has different names in different programming languages.
- the drawing function is referred to as draw function in C language, and is referred to as draw method in java language.
- the tool and the language system of the tool are not limited, as long as the corresponding blocks can be drawn based on the attribute information of the block class object.
- step S 103 a shortcut icon and/or program name of a shortcut for an application program is presented in an idle block on the desktop, in a case that the shortcut for the application program is required to be presented on the desktop.
- the idle block is a block on which no shortcut for an application program is presented.
- the desktop in the application is a desktop on which there are at least one block presenting an icon of an application program.
- an idle block is searched for from the multiple blocks in the desktop if a shortcut for an application program is required to be presented on the desktop, and then the icon of the application program is presented in the idle block.
- an icon of the application program being required to be presented on the desktop may refer to “requirement” generated in various trigger conditions.
- an application program is required to be registered in the operating system during or after the application program is installed on the mobile terminal; the operating system generates a message after learning that certain application program is registered, and a monitor may be provided to monitor the notification message transmitted from the operating system in the embodiment of the application; and if the notification message is monitored, it is considered that the requirement for “creating a shortcut for the application program on the desktop” is generated.
- an icon for the application program prepared in advance, for presenting the shortcut for the application program is read. Before, during or after the icon is read, whether there is an idle block on the desktop is detected; if there is at least one idle block, one idle block is selected from the at least one idle block to present the shortcut icon of the application program.
- the idle block may be selected randomly or based on a preset rule. For example, an idle block close to the left side and upper side of the screen of the mobile terminal is selected.
- the idle block is a block on which no shortcut for an application program is presented.
- a list may be set in the background of the operating system of the mobile terminal for recording the sequence number and position of each block on the desktop and whether a shortcut icon is on the block, in the application. Once a shortcut icon is presented on one block by writing, this event is registered in the list, and in this way it can be conveniently known which blocks are idle by making a query on the list.
- the block class object including attribute information is created firstly, then multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object to make the multiple blocks be distributed on the whole screen of the mobile terminal without overlap to form a desktop; in a case that a shortcut for an application program is required to be presented on the desktop, the shortcut is presented in an idle block on the desktop.
- blocks are created and the desktop of the mobile terminal is formed by arrangement of these independent blocks in the embodiment of the application.
- the icon or program name of the shortcut is presented in one block rather than on the whole desktop (occupying certain region of the whole desktop), i.e., the icon or program name of the application program is presented using the block instead of the whole desktop. Therefore, the icon or program name of the application program can be in various shapes, and thereby increasing the tolerance of desktop to the application program and reducing the difficulty in presenting the shortcut icon on the desktop.
- FIG. 2 illustrates a conventional desktop form and a desktop form of the embodiment.
- FIG. 2( a ) illustrates a conventional desktop form. The desktop is presented as a whole panel, the shortcut icon and program name of each application program occupy one rounded rectangle region, and shortcut icons and program names of these “rounded rectangles” are arranged on the whole panel.
- FIG. 2( b ) illustrates a desktop form of the embodiment. The desktop includes multiple blocks independent of each other, and on each block a shortcut icon and program name of an application program are presented.
- the shortcut icon may be in a regular shape, for example, application program 4 (triangle) and application program 9 (circle) as shown in FIG.
- the shapes of the blocks and the number of the blocks on the desktop are not limited, and the object of the application can be realized as long as blocks drawn using the drawing function can be distributed on the whole screen of the mobile terminal.
- blocks on the desktop are rectangular blocks and the blocks are arranged in a “matrix”, i.e., presenting N ⁇ M blocks (referred to as PanelNM) on the screen of the mobile terminal, where N is the number of blocks on the desktop of the mobile terminal in a transverse direction, M is the number of blocks on the mobile terminal in a longitudinal direction, and N and M each are natural numbers greater than or equal to 2.
- the (N ⁇ M) blocks form a desktop. For example, reference is made to FIG.
- FIG. 3 which illustrates a (3 ⁇ 3) desktop (referred to as Pane 19 ). It can be seen from FIG. 3 that: there are 3 triangular blocks in the transverse direction and 3 triangular blocks in the longitudinal direction on the desktop, and there are 9 triangular blocks in total. Based on the similar principle and in the similar manner, a desktop of (6 ⁇ 6) Panel 36 or a desktop of (9 ⁇ 9) Panel 81 can be formed on the screen of the mobile terminal based on actual requirement. In addition, in order to view conveniently and detect a triggered region accurately, preferably an interval of certain distance is set between every two adjacent blocks in the application. The size of the interval may be set according to actual application requirement, for example, 2 mm.
- the layout of the blocks on the desktop is more explicit and more spiritual, which is convenient to view and improves user experience
- trigger regions in a touch screen, a region where each block is located is a trigger region
- the layout of the blocks on the desktop is more explicit and more spiritual, which is convenient to view and improves user experience
- trigger regions in a touch screen, a region where each block is located is a trigger region
- a desktop user may perform various operations on the desktop. For example, the desktop user may perform a click-to-open operation on the application program. Association between the non-idle block and the shortcut icon of the application program is established.
- the desktop user clicks a certain block with a finger and this trigger event is detected by the block, then an address of an executable file of a target application program is found out based on the association between the block and the shortcut icon and running of the executable file is started, thereby the application program is opened.
- the desktop user may perform selecting and moving operation on the application program. Once the desktop user selects a block by a gesture, the desktop user holds down and moves the block to drag the block to a target position.
- operations such as deleting a block and page turning of the desktop may also be performed. The page turning of the desktop may be performed in two ways.
- One way is that, only one desktop consisting of blocks is generated, and the second desktop is then generated according to the preceding steps in response to a trigger. For example, in the case that the user touches the touch screen and slides the desktop left and right by using a finger, a new desktop including multiple blocks is generated in the new region line out according to the steps in the above embodiments, thereby page turning is achieved.
- the other way is that, multiple desktops are generated once, only one desktop is displayed on the screen of the mobile terminal, and the block containing the shortcut icon and the program name which is not presented in the current desktop is presented in response to a trigger.
- the relationship between the blocks and the shortcut icons and program names of application programs out of the one screen is recorded, and the blocks which are not presented on the current screen are presented in sequence (or according to other rules) when the user slides on the desktop, thereby page turning is achieved.
- FIG. 4 illustrates a desktop operation method for a mobile terminal according to an embodiment.
- the embodiment includes following steps 5401 to S 402 .
- step S 401 an action is performed in a predetermined action manner to present multiple desktops according to any one of claims 1 to 3 on a screen of the mobile terminal.
- a desktop user may change the presentation way of the desktop on the mobile terminal in a predetermined action manner, to achieve conversion between different desktop modes. For example, in the case that the current desktop is in a standard desktop mode, the desktop user performs a grip action on the desktop consisting of multiple blocks in the standard desktop mode and then multiple desktops are presented on the screen of the mobile terminal; these desktops may be desktops generated newly under the trigger of the “grip” action or may be multiple desktops generated when the desktop in the standard desktop mode is generated and presented simultaneously under the trigger of the “grip” action. Similarly, in the case that the current desktop is in the multiple-desktop mode, the desktop user spaces out two desktops in the multiple-desktop mode with figures, and the desktop is returned to the desktop state in the standard desktop mode.
- the conversion between the two modes may also be triggered by a conversion button. Once the button is triggered, the current desktop mode is conversed to other desktop mode different from the current desktop mode.
- the embodiment refers to an operation method in the multiple-desktop mode.
- step S 402 an operation message is received by taking the desktop or the block included in the desktop as an operation object, and a corresponding operation is performed on the operation object based on the type of the operation message.
- an operation message may be received, a desktop or one or more blocks included in a desktop in the multiple-desktop mode is taken as an operation object, and a corresponding operation is performed on the operation object based on the type of the operation message.
- Different types of operation messages may correspond to different operation objects, and accordingly may correspond to different operations.
- three operation ways i.e., integral movement of the desktop, multi-selecting and moving of blocks in the desktop, and displaying and hiding of the desktop, are described hereinafter.
- the first operation way is integral movement of the desktop.
- the desktop including multiple blocks is as the operation object, and the type of the operation message is integral movement of the desktop.
- multiple Panel for example, 4 or 9 Panel 9
- NM multiple Panel
- a predetermined gesture for indicating integral movement of the desktop is set as “holding down and dragging” the desktop.
- an independent detector may be provided for each desktop, or one detector is shared by all the desktops, for detecting whether an operation message of integral movement is received by one of the multiple desktops.
- the detector detects that there is a trigger message of “holding down” for a certain desktop (referred to as desktop A), then it is considered that the message of integral movement of the desktop A is received; in this case, a list corresponding to the desktop A is created for recording sequence numbers of blocks included in the desktop A and position information of the blocks in the desktop A in the application. Further, a target position to which the desktop A is to be moved integrally is detected. For example, the detector detects that the “holding down” stays at a certain desktop position, then it is considered that the stayed position is the target position; in this case, the desktop is drawn at the target position by calling a drawing function, based on the sequence numbers of the blocks and the position information of blocks in the desktop recorded in the list.
- the target position to which the desktop A is moved may be a position where another desktop (referred to as desktop B) is located.
- desktop B another desktop
- sequence numbers of blocks in the desktop B and position information of the blocks in the desktop B may be recorded in a list, and the desktop B is drawn at the position where the desktop A is located by calling the drawing function, based on the sequence numbers of the blocks in the desktop B and the position information of the blocks in the desktop B recorded in the list.
- the shortcut icon of each application program is presented on a whole desktop, which can not be moved integrally, therefore, there is no practical meaning for the multiple-desktop mode.
- the 9 blocks function as one big block to move, i.e., are moved integrally.
- the second operation way is multi-selecting and moving of blocks in the desktop.
- the block in the desktop is as the operation object, and the type of the operation message is selecting blocks in one or more desktops and moving the selected blocks to a target desktop.
- a predetermined gesture for indicating multi-selecting and moving of blocks in the desktop is set as “clicking, holding down and dragging” the blocks in the desktop.
- each desktop includes multiple blocks.
- the detector may detect whether an operation message of selecting and moving is received by the block in the screen of the mobile terminal.
- the detector detects that several blocks are clicked, then it is considered that these blocks receive the operation message of selecting and moving; in this case, sequence numbers of the clicked blocks and position information of the clicked blocks in the desktop are recorded in a list.
- the list is created when the first of the clicked blocks is clicked.
- other clicked blocks may be set to be converged around the “held down” block. These clicked blocks may be from the same desktop or different desktops in the multiple-desktop mode.
- positions of idle blocks and the blocks in the list are interchanged based on sequence numbers of the blocks and position information of the blocks in the desktop recorded in the list, thereby multi-selecting and moving of the blocks is achieved.
- the number of idle blocks in the desktop where the target position is located may be less than the number of blocks selected to be moved by the desktop user, i.e., the desktop where the target position is located has “insufficient space”, in this case positions of the selected blocks and positions of the idle blocks in the desktop where the target position is located are interchanged in sequence according to a priority selection, and other extra selected blocks are returned to the original positions.
- the blocks selected by the desktop user can not move to the target position smoothly, it is preferably in the application that once the target position to which the blocks are to be moved is detected, it is detected whether there is an idle block in the desktop where the target position is located; and if there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list, i.e., the desktop where the target position is located has “sufficient space”, positions of the idle blocks and positions of the blocks in the list are interchanged based on sequence numbers of the blocks and position information of the blocks on the desktop recorded in the list.
- a green block (or corresponding text) may be displayed around the desktop where the target position is located in the case of “sufficient space” of the desktop where the target position is located, and a red block (or corresponding text) is displayed in the case of “insufficient space” of the desktop where the target position is located.
- the third operation way is displaying and hiding of the desktop.
- the block in the desktop is as the operation object, and the type of the operation message is displaying and hiding of the desktop.
- the block in the desktop has a visible attribute, and in the multiple-desktop mode each desktop as a whole may also have a visible attribute.
- a predetermined gesture indicating displaying and hiding of the desktop is set as “double-clicking” the block in the desktop.
- the desktop Panel 9 and blocks in the desktop Panel 9 each have a visible attribute, and the displaying and hiding states of the Panel 9 and its blocks may be changed by changing the visible attribute.
- FIG. 5 illustrates a structural block diagram of the desktop generation apparatus for the mobile terminal according to an embodiment of the application.
- the apparatus includes a class object creating unit 501 , a block drawing unit 502 and a shortcut presenting unit 503 .
- the class object creating unit 501 is configured to create a block class object, where the block class object includes attribute information.
- the block drawing unit 502 is configured to draw multiple blocks by calling a drawing function based on the attribute information of the block class object, where the multiple blocks are distributed on a whole screen of the mobile terminal without overlap to form a desktop.
- the shortcut presenting unit 503 is configured to present, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program, in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented.
- a working process of the apparatus is as follows.
- the class object creating unit 501 creates a block class object including attribute information.
- the block drawing unit 502 then draws multiple blocks by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop.
- the shortcut presenting unit 503 then presents a shortcut icon and/or program name of a shortcut for an application program in an idle block on the desktop in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented.
- the block class object including attribute information is created firstly, then multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on the whole screen of the mobile terminal without overlap to form a desktop; in a case that a shortcut for an application program is required to be presented on the desktop, the shortcut is presented in an idle block on the desktop.
- blocks are created and the desktop of the mobile terminal is formed by arrangement of these independent blocks in the apparatus embodiment.
- the icon or program name of the shortcut is presented in one block rather than on the whole desktop (occupying certain region of the whole desktop), i.e., the icon or program name of the application program is presented using the block instead of the whole desktop. Therefore, the icon or program name of the application program can be in various shapes, and thereby increasing the tolerance of the desktop to the application program and reducing the difficulty in presenting the shortcut icon on the desktop.
- the shortcut for the application program may be presented in different ways, and accordingly the shortcut presenting unit 503 has different internal structures.
- the shortcut presenting unit 503 includes a message monitoring subunit 5031 , a shortcut reading subunit 5032 , an idle block detecting subunit 5033 and a shortcut presenting subunit 5034 .
- the message monitoring subunit 5031 is configured to monitor a message of requiring creating a shortcut for an application program on the desktop, which is sent from an operating system of the mobile terminal.
- the shortcut reading subunit 5032 is configured to read a shortcut icon and/or program name of the application program for which the shortcut is required to be created on the desktop.
- the idle block detecting subunit 5033 is configured to detect an idle block on the desktop.
- the shortcut presenting subunit 5034 is configured to present the shortcut icon and/or program name in an idle block, in the case that it is detected that there is an idle block on the desktop.
- the generated block may be in various shapes, and the blocks may be arranged on the screen of the mobile terminal in multiple ways, as long as the blocks can be distributed on the whole screen of the mobile terminal to form a desktop.
- multiple (N ⁇ M) blocks may be arranged in a matrix, where N is the number of the blocks on the desktop of the mobile terminal in a transverse direction, M is the number of the blocks of the mobile terminal in a longitudinal direction, and N and M each are natural numbers greater than or equal to 2.
- An interval of a preset distance may be set between adjacent blocks arranged in the matrix to facilitate trigger reception and improve user experience.
- FIG. 6 illustrates a desktop operation apparatus for a mobile terminal according to an embodiment.
- the apparatus embodiment includes a multiple-desktop presenting unit 601 , an operation message receiving unit 602 and an operation unit 603 .
- the multiple-desktop presenting unit 601 is configured to perform an action in a predetermined action manner to present multiple desktops described above on a screen of the mobile terminal.
- the operation message receiving unit 602 is configured to receive an operation message taking the desktop or a block included in the desktop as an operation object.
- the operation unit 603 is configured to perform a corresponding operation on the operation object based on a type of the operation message.
- a working process of the apparatus embodiment is as follows.
- the multiple-desktop presenting unit 601 performs an action in a predetermined action manner to present multiple desktops described above on the screen of the mobile terminal;
- the operation message receiving unit 602 receives an operation message taking the desktop or a block included in the desktop as an operation object; and the operation unit 603 then performs a corresponding operation on the operation object based on the type of the operation message.
- the internal structure of the operation unit is different in view of different operation object and different operation way.
- the operation unit 603 may include a first operation message detecting subunit 6031 , a first list creating subunit 6032 , a first target position detecting subunit 6033 and a desktop drawing subunit 6034 .
- the first operation message detecting subunit 6031 is configured to detect whether the operation message of integral movement is received by one of the multiple desktops, and trigger the list creating subunit in the case that the operation message of integral movement is received by one desktop.
- the first list creating subunit 6032 is configured to create a list corresponding to the one desktop for recording sequence numbers of blocks included in the one desktop and position information of the blocks in the one desktop.
- the first target position detecting subunit 6033 is configured to detect a target position to which the one desktop is to be moved integrally.
- the desktop drawing subunit 6034 is configured to draw the desktop at the target position by calling a drawing function, based on the sequence numbers of the blocks and the position information of the blocks in the desktop recorded in the list.
- the operation unit may include a second operation message detecting subunit, a second list creating subunit, a block information recording subunit, a second target position detecting subunit and a position interchanging subunit.
- the second operation message detecting subunit is configured to detect whether the operation message of selecting and moving is received by a block in the screen of the mobile terminal, and trigger the block information recording subunit in the case that the operation message of selecting and moving is received by a block.
- the block information recording subunit is configured to record in a list a sequence number of the block and position information of the block in the desktop.
- the second list creating subunit is configured to create the list when the operation message of selecting and moving is received by a block in the screen of the mobile terminal for the first time.
- the second target position detecting subunit is configured to detect a target position to which the block is to be moved.
- the position interchanging subunit is configured to interchange positions of an idle block and the block in the list based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- the operation unit further includes an idle block detecting subunit.
- the idle block detecting subunit is configured to detect whether there is an idle block in a desktop where the target position is located, in the case that the target position to which the block is to be moved is detected; and trigger the position interchanging subunit in the case that there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list.
- the operation unit includes a third operation message detecting subunit, a block attribute adjusting subunit and a displaying and hiding subunit.
- the third operation message detecting subunit is configured to detect whether the operation message of displaying and hiding is received by one of the multiple desktops; and trigger the block attribute adjusting subunit in the case that the operation message of displaying and hiding is received by one desktop.
- the block attribute adjusting subunit is configured to change an attribute value of a visible attribute of a block in the one desktop to an opposite attribute value.
- the displaying and hiding subunit is configured to draw the block in the desktop by calling a drawing function to display the desktop and the block in the desktop or not draw the block in the desktop by calling the drawing function to hide the desktop and the block in the desktop based on the attribute value, after the desktop is refreshed.
- the above embodiments and variants thereof in the specification lay emphasis on the difference from other embodiments and variants thereof, and one may refer to the description of other embodiments for the same or similar parts between various embodiments.
- the description of the apparatus embodiments and the improved implementations thereof is simple since they are substantially similar to the method embodiments, and for the related parts one may refer to the description of the method embodiments.
- the various units of the apparatus embodiments described above may be or may not be physically separated, i.e., the units may be located on the same place or distributed in multiple network environments. During actual application, some or all of the units may be selected to realize the object of the technical solution of the embodiment based on actual requirement, and the disclosure can be understood and implemented by those skilled in the art without any creative work,
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
- The present application is a continuation application of U.S. application Ser. No. 14/779,777, filed on Sep. 24, 2015, which is a U.S. National Phase Application of International Application No. PCT/CN2013/090867, filed on Dec. 30, 2013 and claims a priority to Chinese Patent Application No. 201310103013.7, titled as “DESKTOP GENERATION AND OPERATION METHODS FOR MOBILE TERMINAL AND CORRESPONDING DEVICES THEREOF”, filed on Mar. 27, 2013 with State Intellectual Property Office of People's Republic of China, all of which are incorporated herein by reference in their entirety.
- The present application relates to the field of information processing technology, and in particular to a desktop generation and operation methods for a mobile terminal and corresponding devices thereof.
- With the development of communication technology, the mobile terminal is increasingly popular, and there are more and more application programs which can be run on the mobile terminal. In order to open these application programs, it needs to find an executable file of the application program on the mobile terminal and then click the executable file to start the application program to run. Usually, in order to start the application program conveniently, a shortcut for the application program is generated on a desktop of the mobile terminal once the application program is installed on the mobile terminal. The shortcut includes contents indicating the application program, for example, an icon or a program name. The number of shortcuts on the desktop increases as more application programs run on the mobile terminal. These shortcuts each occupy a predetermined region of the whole desktop and are arranged on the desktop based on a preset rule (for example, arranged close to the right side and the upper side of the screen of the mobile terminal). In order to facilitate management of the shortcuts of application programs, it is required in the conventional technology that each shortcut icon on the desktop is rounded rectangular. During practice process, the shortcut icons of application programs have various shapes, for example, a regular shape such as a triangle or a circle, or an irregular shape. Before these icons with different shapes are presented on the desktop of the mobile terminal, the shortcut icons are generally manufactured to be in a shape of rounded rectangle by using a special software, such that the shortcut icons are arranged on the desktop of the mobile terminal smoothly. However, this way limits presentation forms of the shortcut icons of application programs, reduces the tolerance of the mobile terminal to application programs, and increases the difficulty in presenting the shortcut icons on the desktop.
- In order to address the technical problem described above, a desktop generation method for a mobile terminal, a desktop operation method for a mobile terminal and corresponding apparatuses thereof are provided by embodiments of the application, so as to improve the tolerance of the mobile terminal to the application program and reduce the difficulty in presenting the shortcut icon on the desktop.
- A desktop generation method for a mobile terminal provided by an embodiment of the application includes:
- creating a block class object, where the block class object includes attribute information;
- drawing, by calling a drawing function, multiple blocks based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop; and
- presenting, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented.
- Preferably, presenting, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program in a case that the shortcut for the application program is required to be presented on the desktop includes:
- monitoring a message of requiring creating a shortcut for an application program on the desktop which is sent from an operating system of the mobile terminal; reading a shortcut icon and/or program name of the application program for which the shortcut is required to be created on the desktop; and detecting an idle block on the desktop and presenting the shortcut icon and/or program name of the application program in an idle block.
- Preferably, the block is a rectangular block, the number of the multiple blocks is NxM, where N is the number of the blocks on the desktop of the mobile terminal in a transverse direction, M is the number of the blocks on the desktop of the mobile terminal in a longitudinal direction, and N and M each are natural numbers greater than or equal to 2.
- Further preferably, the blocks are spaced apart by a preset distance.
- A desktop operation method for a mobile terminal is further provided by an embodiment of the application. The method includes:
- performing an action in a predetermined action manner to present multiple desktops described above on a screen of the mobile terminal; and
- receiving an operation message by taking the desktop or a block included in the desktop as an operation object, and performing a corresponding operation on the operation object based on a type of the operation message.
- Preferably, the operation object is the desktop, the type of the operation message is integral movement of the desktop, and performing the corresponding operation on the operation object based on the type of the operation message includes:
- detecting whether the operation message of integral movement is received by one of the multiple desktops; and creating a list corresponding to the one desktop for recording sequence numbers of blocks included in the one desktop and position information of the blocks in the one desktop, in a case that the operation message of integral movement is received by the one desktop; and
- detecting a target position to which the one desktop is to be moved integrally, and drawing the desktop at the target position by calling a drawing function, based on the sequence numbers of the blocks and the position information of the blocks in the desktop recorded in the list.
- Preferably, the operation object is the block in the desktop, the type of the operation message is selecting a block in one or more desktops and moving the selected block to a target desktop, and performing the corresponding operation on the operation object based on the type of the operation message includes:
- detecting whether the operation message of selecting and moving is received by a block in the screen of the mobile terminal; and recording in a list a sequence number of the block and position information of the block in the desktop in a case that the operation message of selecting and moving is received by the block, where the list is created when the operation message of selecting and moving is received by a block in the screen of the mobile terminal for the first time; and
- detecting a target position to which the block is to be moved, and interchanging positions of an idle block and the block in the list, based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- Further preferably, it is detected whether there is an idle block in the desktop where the target position is located in a case that the target position to which the block is to be moved is detected; and in a case that there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list, positions of the idle block and the block in the list are interchanged based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- Preferably, the operation object is the block in the desktop, the type of the operation message is displaying and hiding of the desktop, and performing the corresponding operation on the operation object based on the type of the operation message includes:
- detecting whether the operation message of displaying and hiding is received by one of the multiple desktops; changing an attribute value of a visible attribute of a block in the one desktop to an opposite attribute value, in a case that the operation message of displaying and hiding is received by the one desktop; refreshing the desktop, and drawing the block in the desktop by calling a drawing function to display the desktop and the block in the desktop or not drawing the block in the desktop by calling the drawing function to hide the desktop and the block in the desktop based on the attribute value.
- A desktop generation apparatus for a mobile terminal is further provided according to an embodiment of the application. The apparatus includes a class object creating unit, a block drawing unit and a shortcut presenting unit; where
- the class object creating unit is configured to create a block class object, where the block class object includes attribute information;
- the block drawing unit is configured to draw multiple blocks by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop; and
- the shortcut presenting unit is configured to present, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented.
- Preferably, the shortcut presenting unit further includes a message monitoring subunit, a shortcut reading subunit, an idle block detecting subunit and a shortcut presenting subunit, where
- the message monitoring subunit is configured to monitor a message of requiring creating a shortcut for an application program on the desktop which is sent from an operating system of the mobile terminal;
- the shortcut reading subunit is configured to read a shortcut icon and/or program name of the application program for which the shortcut is required to be created on the desktop;
- the idle block detecting subunit is configured to detect an idle block on the desktop; and
- the shortcut presenting subunit is configured to present the shortcut icon and/or program name of the application program in an idle block, in a case that it is detected that there is an idle block on the desktop.
- A desktop operation apparatus for a mobile terminal is further provided by an embodiment of the application. The apparatus includes a multiple-desktop presenting unit, an operation message receiving unit and an operation unit, where
- the multiple-desktop presenting unit is configured to perform an action in a predetermined action manner to present multiple desktops described above on a screen of the mobile terminal;
- the operation message receiving unit is configured to receive an operation message taking the desktop or a block included in the desktop as an operation object; and
- the operation unit is configured to perform a corresponding operation on the operation object based on a type of the operation message.
- Presently, the operation object is the desktop, the type of the operation message is integral movement of the desktop, and the operation unit includes a first operation message detecting subunit, a first list creating subunit, a first target position detecting subunit and a desktop drawing subunit, where
- the first operation message detecting subunit is configured to detect whether the operation message of integral movement is received by one of the multiple desktops, and trigger the list creating subunit in a case that the operation message of integral movement is received by the one desktop;
- the first list creating subunit is configured to create a list corresponding to the one desktop for recording sequence numbers of blocks included in the one desktop and position information of the blocks in the one desktop;
- the first target position detecting subunit is configured to detect a target position to which the one desktop is to be moved integrally; and
- the desktop drawing subunit is configured to draw the desktop at the target position by calling a drawing position, based on the sequence numbers of the blocks and the position information of the blocks in the desktop recorded in the list.
- Preferably, the operation object is the block in the desktop, the type of the operation message is selecting a block in one or more desktops and moving the selected block to a target desktop, and the operation unit includes a second operation message detecting subunit, a second list creating subunit, a block information recording subunit, a second target position detecting subunit and a position interchanging subunit, where
- the second operation message detecting subunit is configured to detect whether the operation message of selecting and moving is received by a block in the screen of the mobile terminal, and trigger the block information recording subunit in a case that the operation message of selecting and moving is received by the block;
- the block information recording subunit is configured to record in a list a sequence number of the block and position information of the block in the desktop;
- the second list creating subunit is configured to create the list when the operation message of selecting and moving is received by a block in the screen of the mobile terminal for the first time;
- the second target position detecting subunit is configured to detect a target position to which the block is to be moved; and
- the position interchanging subunit is configured to interchange positions of an idle block and the block in the list, based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- Further preferably, the operation unit further includes an idle block detecting subunit, and the idle block detecting subunit is configured to detect whether there is an idle block in a desktop where the target position is located, in a case that the target position to which the block is to be moved is detected; and trigger the position interchanging subunit in a case that there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list.
- Preferably, the operation object is the block in the desktop, the type of the operation message is displaying and hiding of the desktop, and the operation unit includes a third operation message detecting subunit, a block attribute adjusting subunit and a displaying and hiding subunit, where
- the third operation message detecting subunit is configured to detect whether the operation message of displaying and hiding is received by one of the multiple desktops; and trigger the block attribute adjusting subunit in a case that the operation message of displaying and hiding is received by the one desktop;
- the block attribute adjusting subunit is configured to change an attribute value of a visible attribute of a block in the one desktop to an opposite attribute value; and
- the displaying and hiding subunit is configured to draw the block in the desktop by calling a drawing function to display the desktop and the block in the desktop or not draw the block in the desktop by calling the drawing function to hide the desktop and the block in the desktop based on the attribute value, after the desktop is refreshed.
- According to the embodiments of the application, the block class object including attribute information is created firstly, then multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on the whole screen of the mobile terminal without overlap to form a desktop; in a case that a shortcut for an application program is required to be presented on the desktop, the shortcut is presented in an idle block on the desktop. Compared with the conventional technology, blocks are created and the desktop of the mobile terminal is formed by arrangement of these independent blocks in the embodiment of the application. If a shortcut for an application program is required to be presented on the desktop, the icon or program name of the shortcut is presented in one block rather than on the whole desktop (occupying certain region of the whole desktop), i.e., the icon or program name of the application program is presented using the block instead of the whole desktop. Therefore, the icon or program name of the application program can be in various shapes, and thereby increasing the tolerance of the desktop to the application program and reducing the difficulty in presenting the shortcut icon on the desktop.
- In order to illustrate technical solutions in embodiments of the invention or the conventional technology more clearly, hereinafter drawings for the description of the embodiments or the conventional technology are introduced briefly. Apparently, the drawings described below are only some embodiments of the invention, and other embodiments and drawings may be obtained by those skilled in the art based on the embodiments shown by these drawings.
-
FIG. 1 is a flow chart of a desktop generation method for a mobile terminal according to an embodiment of the application; -
FIG. 2 (a) is a schematic diagram of a conventional desktop form; -
FIG. 2(b) is a schematic diagram of a desktop form according to an embodiment of the application; -
FIG. 3 is a schematic diagram of a desktop form of Panel9 according to an embodiment of embodiments of the application; -
FIG. 4 is a flow chart of a desktop operation method for a mobile terminal according to an embodiment of the application; -
FIG. 5 is a structural block diagram of a desktop generation apparatus for a mobile terminal according to an embodiment of the application; and -
FIG. 6 is a structural block diagram of a desktop operation apparatus for a mobile terminal according to an embodiment of the application. - In order to better understand the technical solutions of the application by those skilled in the art, hereinafter the technical solutions of the embodiments of the application are described clearly and completely in conjunction with the drawings of the embodiments of the application. Apparently, the described embodiments are only some of embodiments of the application, but not all embodiments. Any other embodiments obtained based on the embodiments of the application by those skilled in the art without any creative work fall within the scope of protection of the application.
- Some concepts related to the application are briefly explained before detailed description of various embodiments of the application. The “desktop” mentioned in the application refers to a space for presenting an icon and/or program name by an operating system. The “icon” mentioned in the application refers to a shortcut on the desktop indicating that there is an application program. A user can open a target application program associated with an icon by clicking the icon. In the conventional operating system, the overall shape of the icon is generally rounded rectangle. The “standard mode” mentioned in the application refers to a single-desktop mode, i.e., there is only one desktop in the screen of the mobile terminal. The “multiple-desktop mode” mentioned in the application refers to a case that there are multiple desktops in the screen of the mobile terminal.
- Reference is made to
FIG. 1 , which illustrates a flow of a desktop generation method for a mobile terminal according to an embodiment of the application. The embodiment includes following steps S101 to S103. - In step S101, a block class object is created, where the block class object includes attribute information.
- A block class object needs to be created in order to generate a block on the desktop and the block class object is created by performing information interaction with the operating system of the mobile terminal. The block class object includes multiple attributes. For example, the block class object may include a background attribute (for representing the background color of the block), a shape attribute (for representing the overall shape of the block), a size attribute (for representing a distance of the block in a certain direction, for example, the size attribute of a round block may be a radius R of the circle, and the size attribute of a rectangular block may be a width [width] or a height [height]), a position attribute (for representing coordinates of the block on the desktop [x, y, z]), and a color attribute (color [r, g, b, a] for representing the overall color of the block), and may further include attributes such as alpha, visible and scale. In creating the block class object, certain attributes may be selected based on actual requirement to describe the block class object.
- In step S102, multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop.
- After the block class object is created, blocks are drawn by calling a drawing function based on attributes of the block class object. The number of blocks required to be drawn depends on factors such as the shape of the block, the size of the block and the size of the screen of the mobile terminal. During actual application, after the shape of the block, the size of each block and the size of the screen of the mobile terminal are determined, the number of blocks required to be drawn and the position for drawing each block are calculated. The shape of the block, the size of each block and the size of the screen of the mobile terminal are not limited, as long as these blocks can be distributed on the whole screen of the mobile terminal without overlap to form a desktop. Here the drawing function refers to a tool for drawing in a broad sense based on parameter information in response to an instruction. The drawing function has different names in different programming languages. For example, the drawing function is referred to as draw function in C language, and is referred to as draw method in java language. In the embodiment, the tool and the language system of the tool are not limited, as long as the corresponding blocks can be drawn based on the attribute information of the block class object.
- In step S103, a shortcut icon and/or program name of a shortcut for an application program is presented in an idle block on the desktop, in a case that the shortcut for the application program is required to be presented on the desktop. The idle block is a block on which no shortcut for an application program is presented.
- In general, once a desktop consisting of multiple blocks is formed on the screen of the mobile terminal, the process of desktop generation is finished. However, the desktop generation is not only for generating a desktop and the desktop is used to display icons of application programs. Hence, in practice, the desktop in the application is a desktop on which there are at least one block presenting an icon of an application program. Based on this, in the embodiment of the application, after the desktop is generated in the above step, an idle block is searched for from the multiple blocks in the desktop if a shortcut for an application program is required to be presented on the desktop, and then the icon of the application program is presented in the idle block. Here “an icon of the application program being required to be presented on the desktop” may refer to “requirement” generated in various trigger conditions. For example, an application program is required to be registered in the operating system during or after the application program is installed on the mobile terminal; the operating system generates a message after learning that certain application program is registered, and a monitor may be provided to monitor the notification message transmitted from the operating system in the embodiment of the application; and if the notification message is monitored, it is considered that the requirement for “creating a shortcut for the application program on the desktop” is generated. Under the trigger of such requirement, an icon for the application program prepared in advance, for presenting the shortcut for the application program, is read. Before, during or after the icon is read, whether there is an idle block on the desktop is detected; if there is at least one idle block, one idle block is selected from the at least one idle block to present the shortcut icon of the application program. The idle block may be selected randomly or based on a preset rule. For example, an idle block close to the left side and upper side of the screen of the mobile terminal is selected. Here the idle block is a block on which no shortcut for an application program is presented. During actual application, a list may be set in the background of the operating system of the mobile terminal for recording the sequence number and position of each block on the desktop and whether a shortcut icon is on the block, in the application. Once a shortcut icon is presented on one block by writing, this event is registered in the list, and in this way it can be conveniently known which blocks are idle by making a query on the list. It is to be noted that, for convenience of description, the above clarification is made by taking an example that only the shortcut icon of the shortcut for the application program is presented on the block, practically it may also be that only the program name or other related information of the application program is presented on the block. In actual application, both the shortcut icon and program name of the application program are presented in most cases.
- According to the solution of the embodiment, the block class object including attribute information is created firstly, then multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object to make the multiple blocks be distributed on the whole screen of the mobile terminal without overlap to form a desktop; in a case that a shortcut for an application program is required to be presented on the desktop, the shortcut is presented in an idle block on the desktop. Compared with the conventional technology, blocks are created and the desktop of the mobile terminal is formed by arrangement of these independent blocks in the embodiment of the application. If a shortcut for an application program is required to be presented on the desktop, the icon or program name of the shortcut is presented in one block rather than on the whole desktop (occupying certain region of the whole desktop), i.e., the icon or program name of the application program is presented using the block instead of the whole desktop. Therefore, the icon or program name of the application program can be in various shapes, and thereby increasing the tolerance of desktop to the application program and reducing the difficulty in presenting the shortcut icon on the desktop.
- In order to illustrate the above technical effect more clearly, clarification is made in conjunction with
FIG. 2 hereinafter.FIG. 2 illustrates a conventional desktop form and a desktop form of the embodiment.FIG. 2(a) illustrates a conventional desktop form. The desktop is presented as a whole panel, the shortcut icon and program name of each application program occupy one rounded rectangle region, and shortcut icons and program names of these “rounded rectangles” are arranged on the whole panel.FIG. 2(b) illustrates a desktop form of the embodiment. The desktop includes multiple blocks independent of each other, and on each block a shortcut icon and program name of an application program are presented. The shortcut icon may be in a regular shape, for example, application program 4 (triangle) and application program 9 (circle) as shown inFIG. 2(b) , or may be in an irregular shape, for example, icons ofapplication program 2,application program 8 andapplication program 11 as shown inFIG. 2(b) . It can be seen that, blocks exist on the desktop independently, and the shortcut icons on the blocks are not limited to the shapes of the shortcut icons of the application programs, thereby the tolerance of the desktop to the application program is increased and the shortcut icon needs not to be manufactured specially by the user in advance. - In the above embodiments of the application, the shapes of the blocks and the number of the blocks on the desktop are not limited, and the object of the application can be realized as long as blocks drawn using the drawing function can be distributed on the whole screen of the mobile terminal. However, in practice, it is preferred in the application that blocks on the desktop are rectangular blocks and the blocks are arranged in a “matrix”, i.e., presenting N×M blocks (referred to as PanelNM) on the screen of the mobile terminal, where N is the number of blocks on the desktop of the mobile terminal in a transverse direction, M is the number of blocks on the mobile terminal in a longitudinal direction, and N and M each are natural numbers greater than or equal to 2. The (N×M) blocks form a desktop. For example, reference is made to
FIG. 3 , which illustrates a (3×3) desktop (referred to as Pane 19). It can be seen fromFIG. 3 that: there are 3 triangular blocks in the transverse direction and 3 triangular blocks in the longitudinal direction on the desktop, and there are 9 triangular blocks in total. Based on the similar principle and in the similar manner, a desktop of (6×6) Panel 36 or a desktop of (9×9) Panel 81 can be formed on the screen of the mobile terminal based on actual requirement. In addition, in order to view conveniently and detect a triggered region accurately, preferably an interval of certain distance is set between every two adjacent blocks in the application. The size of the interval may be set according to actual application requirement, for example, 2 mm. By increasing the interval between adjacent blocks, in one aspect, the layout of the blocks on the desktop is more explicit and more spiritual, which is convenient to view and improves user experience, and in another aspect, trigger regions (in a touch screen, a region where each block is located is a trigger region) of different blocks are distinguished apparently, and it is beneficial to detect trigger information accurately, thereby operating correctly. - After the desktop consisting of multiple blocks (a block on which a shortcut icon and a program name of an application program are presented is referred to as a non-idle block; and a blank block is referred to as an idle block) is generated on the mobile terminal as described above, a desktop user may perform various operations on the desktop. For example, the desktop user may perform a click-to-open operation on the application program. Association between the non-idle block and the shortcut icon of the application program is established. In the case that the desktop is a touch screen, the desktop user clicks a certain block with a finger and this trigger event is detected by the block, then an address of an executable file of a target application program is found out based on the association between the block and the shortcut icon and running of the executable file is started, thereby the application program is opened. For another example, the desktop user may perform selecting and moving operation on the application program. Once the desktop user selects a block by a gesture, the desktop user holds down and moves the block to drag the block to a target position. In addition, operations such as deleting a block and page turning of the desktop may also be performed. The page turning of the desktop may be performed in two ways. One way is that, only one desktop consisting of blocks is generated, and the second desktop is then generated according to the preceding steps in response to a trigger. For example, in the case that the user touches the touch screen and slides the desktop left and right by using a finger, a new desktop including multiple blocks is generated in the new region line out according to the steps in the above embodiments, thereby page turning is achieved. The other way is that, multiple desktops are generated once, only one desktop is displayed on the screen of the mobile terminal, and the block containing the shortcut icon and the program name which is not presented in the current desktop is presented in response to a trigger. For example, in the case that the number of shortcut icons and program names of application programs required to be presented on the desktop is greater than the number of blocks of one screen, the relationship between the blocks and the shortcut icons and program names of application programs out of the one screen is recorded, and the blocks which are not presented on the current screen are presented in sequence (or according to other rules) when the user slides on the desktop, thereby page turning is achieved.
- The contents described above are technical solutions of the application for a standard desktop mode (i.e., there is only one desktop on the screen of the mobile terminal), and hereinafter the technical solutions of the application will be further illustrated for a multiple-desktop mode (i.e., there are multiple desktops on the screen of the mobile terminal). Reference is made to
FIG. 4 , which illustrates a desktop operation method for a mobile terminal according to an embodiment. The embodiment includes following steps 5401 to S402. - In step S401, an action is performed in a predetermined action manner to present multiple desktops according to any one of
claims 1 to 3 on a screen of the mobile terminal. - A desktop user may change the presentation way of the desktop on the mobile terminal in a predetermined action manner, to achieve conversion between different desktop modes. For example, in the case that the current desktop is in a standard desktop mode, the desktop user performs a grip action on the desktop consisting of multiple blocks in the standard desktop mode and then multiple desktops are presented on the screen of the mobile terminal; these desktops may be desktops generated newly under the trigger of the “grip” action or may be multiple desktops generated when the desktop in the standard desktop mode is generated and presented simultaneously under the trigger of the “grip” action. Similarly, in the case that the current desktop is in the multiple-desktop mode, the desktop user spaces out two desktops in the multiple-desktop mode with figures, and the desktop is returned to the desktop state in the standard desktop mode. In addition to be triggered by a special gesture set in advance, the conversion between the two modes may also be triggered by a conversion button. Once the button is triggered, the current desktop mode is conversed to other desktop mode different from the current desktop mode. The embodiment refers to an operation method in the multiple-desktop mode.
- In step S402, an operation message is received by taking the desktop or the block included in the desktop as an operation object, and a corresponding operation is performed on the operation object based on the type of the operation message.
- In the case that multiple desktops are presented on the desktop of the mobile terminal, an operation message may be received, a desktop or one or more blocks included in a desktop in the multiple-desktop mode is taken as an operation object, and a corresponding operation is performed on the operation object based on the type of the operation message. Different types of operation messages may correspond to different operation objects, and accordingly may correspond to different operations. In order to describe the operation on the desktop of the mobile terminal in the embodiment more clearly, three operation ways, i.e., integral movement of the desktop, multi-selecting and moving of blocks in the desktop, and displaying and hiding of the desktop, are described hereinafter.
- The first operation way is integral movement of the desktop. In this operation way, the desktop including multiple blocks is as the operation object, and the type of the operation message is integral movement of the desktop. In the multiple-desktop mode, multiple Panel (NM), for example, 4 or 9 Panel9, are displayed on the screen of the mobile terminal. Here for convenience of description, a predetermined gesture for indicating integral movement of the desktop is set as “holding down and dragging” the desktop. In the application, an independent detector may be provided for each desktop, or one detector is shared by all the desktops, for detecting whether an operation message of integral movement is received by one of the multiple desktops. For example, the detector detects that there is a trigger message of “holding down” for a certain desktop (referred to as desktop A), then it is considered that the message of integral movement of the desktop A is received; in this case, a list corresponding to the desktop A is created for recording sequence numbers of blocks included in the desktop A and position information of the blocks in the desktop A in the application. Further, a target position to which the desktop A is to be moved integrally is detected. For example, the detector detects that the “holding down” stays at a certain desktop position, then it is considered that the stayed position is the target position; in this case, the desktop is drawn at the target position by calling a drawing function, based on the sequence numbers of the blocks and the position information of blocks in the desktop recorded in the list. During actual application, the target position to which the desktop A is moved may be a position where another desktop (referred to as desktop B) is located. In this case, in order to avoid the desktop B being covered, sequence numbers of blocks in the desktop B and position information of the blocks in the desktop B may be recorded in a list, and the desktop B is drawn at the position where the desktop A is located by calling the drawing function, based on the sequence numbers of the blocks in the desktop B and the position information of the blocks in the desktop B recorded in the list. In the conventional multiple-desktop mode, the shortcut icon of each application program is presented on a whole desktop, which can not be moved integrally, therefore, there is no practical meaning for the multiple-desktop mode. However, in the operation way of the embodiment, in a case that the desktop includes 9 blocks originally, the 9 blocks function as one big block to move, i.e., are moved integrally.
- The second operation way is multi-selecting and moving of blocks in the desktop. In this operation way, the block in the desktop is as the operation object, and the type of the operation message is selecting blocks in one or more desktops and moving the selected blocks to a target desktop. Here for convenience of description, a predetermined gesture for indicating multi-selecting and moving of blocks in the desktop is set as “clicking, holding down and dragging” the blocks in the desktop. In the multiple-desktop mode, each desktop includes multiple blocks. The detector may detect whether an operation message of selecting and moving is received by the block in the screen of the mobile terminal. For example, the detector detects that several blocks are clicked, then it is considered that these blocks receive the operation message of selecting and moving; in this case, sequence numbers of the clicked blocks and position information of the clicked blocks in the desktop are recorded in a list. The list is created when the first of the clicked blocks is clicked. In order to obtain a good visual experience of the desktop user, once the desktop user holds down one of the clicked blocks after the clicking operation ends, other clicked blocks may be set to be converged around the “held down” block. These clicked blocks may be from the same desktop or different desktops in the multiple-desktop mode. After the desktop user “holds down and drags” the block to a certain target position, positions of idle blocks and the blocks in the list are interchanged based on sequence numbers of the blocks and position information of the blocks in the desktop recorded in the list, thereby multi-selecting and moving of the blocks is achieved.
- It is to be noted that, in some cases, the number of idle blocks in the desktop where the target position is located may be less than the number of blocks selected to be moved by the desktop user, i.e., the desktop where the target position is located has “insufficient space”, in this case positions of the selected blocks and positions of the idle blocks in the desktop where the target position is located are interchanged in sequence according to a priority selection, and other extra selected blocks are returned to the original positions. In actual application, in order to avoid the case that the blocks selected by the desktop user can not move to the target position smoothly, it is preferably in the application that once the target position to which the blocks are to be moved is detected, it is detected whether there is an idle block in the desktop where the target position is located; and if there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list, i.e., the desktop where the target position is located has “sufficient space”, positions of the idle blocks and positions of the blocks in the list are interchanged based on sequence numbers of the blocks and position information of the blocks on the desktop recorded in the list. In order to improve user experience, a green block (or corresponding text) may be displayed around the desktop where the target position is located in the case of “sufficient space” of the desktop where the target position is located, and a red block (or corresponding text) is displayed in the case of “insufficient space” of the desktop where the target position is located.
- The third operation way is displaying and hiding of the desktop. In this operation way, the block in the desktop is as the operation object, and the type of the operation message is displaying and hiding of the desktop. As described above, the block in the desktop has a visible attribute, and in the multiple-desktop mode each desktop as a whole may also have a visible attribute. Here for convenience of description, a predetermined gesture indicating displaying and hiding of the desktop is set as “double-clicking” the block in the desktop. Hereinafter it is illustrated by taking the
desktop Panel 9 as an example. The desktop Panel9 and blocks in the desktop Panel9 each have a visible attribute, and the displaying and hiding states of the Panel9 and its blocks may be changed by changing the visible attribute. Assuming that the Panel9 is visible initially, i.e., the value of visible is true, shortcut icons and program names of application programs presented on blocks in the Panel9 are displayed. Once the desktop user double-clicks, the attribute value of the visible attribute of the block changes to be the opposite attribute value, i.e., changing from true to false. The desktop is then refreshed, and in this case the block in the desktop drawn by calling the drawing function is not drawn, thereby hiding the desktop and the blocks in the desktop. Similarly, if the Panel9 is invisible initially, blocks in the desktop are drawn by calling the drawing function based on the attribute value after the desktop is refreshed, thereby displaying the desktop and the blocks in the desktop. - The embodiments of the desktop generation method and the desktop operation method for the mobile terminal of the application are described in detail above, accordingly, a desktop generation apparatus for a mobile terminal and a desktop operation apparatus for a mobile terminal are further provided according to embodiments of the application. Reference is made to
FIG. 5 , which illustrates a structural block diagram of the desktop generation apparatus for the mobile terminal according to an embodiment of the application. The apparatus includes a classobject creating unit 501, ablock drawing unit 502 and ashortcut presenting unit 503. - The class
object creating unit 501 is configured to create a block class object, where the block class object includes attribute information. - The
block drawing unit 502 is configured to draw multiple blocks by calling a drawing function based on the attribute information of the block class object, where the multiple blocks are distributed on a whole screen of the mobile terminal without overlap to form a desktop. - The
shortcut presenting unit 503 is configured to present, in an idle block on the desktop, a shortcut icon and/or program name of a shortcut for an application program, in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented. - A working process of the apparatus is as follows. The class
object creating unit 501 creates a block class object including attribute information. Theblock drawing unit 502 then draws multiple blocks by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on a whole screen of the mobile terminal without overlap to form a desktop. Theshortcut presenting unit 503 then presents a shortcut icon and/or program name of a shortcut for an application program in an idle block on the desktop in a case that the shortcut for the application program is required to be presented on the desktop, where the idle block is a block on which no shortcut for an application program is presented. - In the apparatus embodiment, the block class object including attribute information is created firstly, then multiple blocks are drawn by calling a drawing function based on the attribute information of the block class object, to make the multiple blocks be distributed on the whole screen of the mobile terminal without overlap to form a desktop; in a case that a shortcut for an application program is required to be presented on the desktop, the shortcut is presented in an idle block on the desktop. Compared with the conventional technology, blocks are created and the desktop of the mobile terminal is formed by arrangement of these independent blocks in the apparatus embodiment. If a shortcut for an application program is required to be presented on the desktop, the icon or program name of the shortcut is presented in one block rather than on the whole desktop (occupying certain region of the whole desktop), i.e., the icon or program name of the application program is presented using the block instead of the whole desktop. Therefore, the icon or program name of the application program can be in various shapes, and thereby increasing the tolerance of the desktop to the application program and reducing the difficulty in presenting the shortcut icon on the desktop.
- In the above embodiment of the desktop generation apparatus, the shortcut for the application program may be presented in different ways, and accordingly the
shortcut presenting unit 503 has different internal structures. In the application, preferably theshortcut presenting unit 503 includes amessage monitoring subunit 5031, ashortcut reading subunit 5032, an idleblock detecting subunit 5033 and ashortcut presenting subunit 5034. Themessage monitoring subunit 5031 is configured to monitor a message of requiring creating a shortcut for an application program on the desktop, which is sent from an operating system of the mobile terminal. Theshortcut reading subunit 5032 is configured to read a shortcut icon and/or program name of the application program for which the shortcut is required to be created on the desktop. The idleblock detecting subunit 5033 is configured to detect an idle block on the desktop. Theshortcut presenting subunit 5034 is configured to present the shortcut icon and/or program name in an idle block, in the case that it is detected that there is an idle block on the desktop. Similar to the method embodiment, in the desktop generation embodiment, the generated block may be in various shapes, and the blocks may be arranged on the screen of the mobile terminal in multiple ways, as long as the blocks can be distributed on the whole screen of the mobile terminal to form a desktop. In the case that the block is a rectangular block, multiple (N×M) blocks may be arranged in a matrix, where N is the number of the blocks on the desktop of the mobile terminal in a transverse direction, M is the number of the blocks of the mobile terminal in a longitudinal direction, and N and M each are natural numbers greater than or equal to 2. An interval of a preset distance may be set between adjacent blocks arranged in the matrix to facilitate trigger reception and improve user experience. - Reference is made to
FIG. 6 which illustrates a desktop operation apparatus for a mobile terminal according to an embodiment. The apparatus embodiment includes a multiple-desktop presenting unit 601, an operationmessage receiving unit 602 and anoperation unit 603. - The multiple-
desktop presenting unit 601 is configured to perform an action in a predetermined action manner to present multiple desktops described above on a screen of the mobile terminal. - The operation
message receiving unit 602 is configured to receive an operation message taking the desktop or a block included in the desktop as an operation object. - The
operation unit 603 is configured to perform a corresponding operation on the operation object based on a type of the operation message. - A working process of the apparatus embodiment is as follows. The multiple-
desktop presenting unit 601 performs an action in a predetermined action manner to present multiple desktops described above on the screen of the mobile terminal; the operationmessage receiving unit 602 receives an operation message taking the desktop or a block included in the desktop as an operation object; and theoperation unit 603 then performs a corresponding operation on the operation object based on the type of the operation message. - In the above apparatus embodiment, the internal structure of the operation unit is different in view of different operation object and different operation way. For example, in the case that the operation object is the desktop and the type of the operation message is integral movement of the desktop, the
operation unit 603 may include a first operationmessage detecting subunit 6031, a firstlist creating subunit 6032, a first targetposition detecting subunit 6033 and adesktop drawing subunit 6034. - The first operation
message detecting subunit 6031 is configured to detect whether the operation message of integral movement is received by one of the multiple desktops, and trigger the list creating subunit in the case that the operation message of integral movement is received by one desktop. The firstlist creating subunit 6032 is configured to create a list corresponding to the one desktop for recording sequence numbers of blocks included in the one desktop and position information of the blocks in the one desktop. The first targetposition detecting subunit 6033 is configured to detect a target position to which the one desktop is to be moved integrally. Thedesktop drawing subunit 6034 is configured to draw the desktop at the target position by calling a drawing function, based on the sequence numbers of the blocks and the position information of the blocks in the desktop recorded in the list. - For another example, in the case that the operation object is the block in the desktop and the type of the operation message is selecting a block in one or more desktops and moving the selected block to a target desktop, the operation unit may include a second operation message detecting subunit, a second list creating subunit, a block information recording subunit, a second target position detecting subunit and a position interchanging subunit. Specifically, the second operation message detecting subunit is configured to detect whether the operation message of selecting and moving is received by a block in the screen of the mobile terminal, and trigger the block information recording subunit in the case that the operation message of selecting and moving is received by a block. The block information recording subunit is configured to record in a list a sequence number of the block and position information of the block in the desktop. The second list creating subunit is configured to create the list when the operation message of selecting and moving is received by a block in the screen of the mobile terminal for the first time. The second target position detecting subunit is configured to detect a target position to which the block is to be moved. The position interchanging subunit is configured to interchange positions of an idle block and the block in the list based on the sequence number of the block and the position information of the block in the desktop recorded in the list.
- The operation unit further includes an idle block detecting subunit. The idle block detecting subunit is configured to detect whether there is an idle block in a desktop where the target position is located, in the case that the target position to which the block is to be moved is detected; and trigger the position interchanging subunit in the case that there is an idle block and the number of the idle blocks is greater than or equal to the number of the blocks recorded in the list.
- For another example, in the case that the operation object is the block in the desktop and the type of the operation message is displaying and hiding of the desktop, the operation unit includes a third operation message detecting subunit, a block attribute adjusting subunit and a displaying and hiding subunit. Specifically, the third operation message detecting subunit is configured to detect whether the operation message of displaying and hiding is received by one of the multiple desktops; and trigger the block attribute adjusting subunit in the case that the operation message of displaying and hiding is received by one desktop. The block attribute adjusting subunit is configured to change an attribute value of a visible attribute of a block in the one desktop to an opposite attribute value. The displaying and hiding subunit is configured to draw the block in the desktop by calling a drawing function to display the desktop and the block in the desktop or not draw the block in the desktop by calling the drawing function to hide the desktop and the block in the desktop based on the attribute value, after the desktop is refreshed.
- It is to be noted that, for convenience of description, the above embodiments and variants thereof in the specification lay emphasis on the difference from other embodiments and variants thereof, and one may refer to the description of other embodiments for the same or similar parts between various embodiments. Particularly, the description of the apparatus embodiments and the improved implementations thereof is simple since they are substantially similar to the method embodiments, and for the related parts one may refer to the description of the method embodiments. The various units of the apparatus embodiments described above may be or may not be physically separated, i.e., the units may be located on the same place or distributed in multiple network environments. During actual application, some or all of the units may be selected to realize the object of the technical solution of the embodiment based on actual requirement, and the disclosure can be understood and implemented by those skilled in the art without any creative work,
- The specific embodiments of the application are described above. It should be noted that, several improvements and modifications may be made to the embodiments by those skilled in the art without departing from the principles of the application, and these improvements and modifications should be regarded to fall within the scope of protection of the application.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/026,030 US20210004141A1 (en) | 2013-03-27 | 2020-09-18 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310103013.7A CN103150170B (en) | 2013-03-27 | 2013-03-27 | The desktop of a kind of mobile terminal generates and method of operating and corresponding device thereof |
CN201310103013.7 | 2013-03-27 | ||
PCT/CN2013/090867 WO2014154004A1 (en) | 2013-03-27 | 2013-12-30 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
US201514779777A | 2015-09-24 | 2015-09-24 | |
US17/026,030 US20210004141A1 (en) | 2013-03-27 | 2020-09-18 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
Related Parent Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/090867 Continuation WO2014154004A1 (en) | 2013-03-27 | 2013-12-30 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
US14/779,777 Continuation US10845944B2 (en) | 2013-03-27 | 2013-12-30 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
US20210004141A1 true US20210004141A1 (en) | 2021-01-07 |
Family
ID=48548272
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/779,777 Active 2035-04-08 US10845944B2 (en) | 2013-03-27 | 2013-12-30 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
US17/026,030 Pending US20210004141A1 (en) | 2013-03-27 | 2020-09-18 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/779,777 Active 2035-04-08 US10845944B2 (en) | 2013-03-27 | 2013-12-30 | Desktop generation and operation methods for mobile terminal and corresponding devices thereof |
Country Status (3)
Country | Link |
---|---|
US (2) | US10845944B2 (en) |
CN (1) | CN103150170B (en) |
WO (1) | WO2014154004A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117130515A (en) * | 2023-02-10 | 2023-11-28 | 荣耀终端有限公司 | Method and device for creating shortcut entry |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150170B (en) | 2013-03-27 | 2016-09-07 | 锤子科技(北京)股份有限公司 | The desktop of a kind of mobile terminal generates and method of operating and corresponding device thereof |
CN103617015A (en) * | 2013-11-22 | 2014-03-05 | 乐视致新电子科技(天津)有限公司 | Split screen display method, device and smart television |
CN103888809A (en) * | 2013-11-22 | 2014-06-25 | 乐视致新电子科技(天津)有限公司 | Split-screen display method and device, and intelligent television |
CN103617016A (en) * | 2013-11-22 | 2014-03-05 | 乐视致新电子科技(天津)有限公司 | Split screen switching method, device and smart television |
CN103616985B (en) * | 2013-11-27 | 2016-09-14 | 乐视网信息技术(北京)股份有限公司 | A kind of method and device choosing floating window player position |
CN104281359A (en) * | 2014-04-29 | 2015-01-14 | 福建星网视易信息系统有限公司 | Layout method and layout device for objects with different sizes |
CN104765845A (en) * | 2015-04-17 | 2015-07-08 | 魅族科技(中国)有限公司 | Split screen display method and device for terminal |
JP7009899B2 (en) * | 2017-10-10 | 2022-01-26 | コニカミノルタ株式会社 | Control device, shortcut icon registration method and shortcut icon registration control program |
CN109408184A (en) * | 2018-10-29 | 2019-03-01 | 努比亚技术有限公司 | A kind of icon processing method, mobile terminal and computer storage medium |
CN109639909A (en) * | 2019-02-12 | 2019-04-16 | 莆田市烛火信息技术有限公司 | A kind of quick call-out method of instant messaging Video chat and device |
CN111625305B (en) * | 2019-02-28 | 2024-04-23 | 北京小米移动软件有限公司 | Method, device, terminal and storage medium for switching target function |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110302519A1 (en) * | 2010-06-07 | 2011-12-08 | Christopher Brian Fleizach | Devices, Methods, and Graphical User Interfaces for Accessibility via a Touch-Sensitive Surface |
US9086779B2 (en) * | 2005-12-22 | 2015-07-21 | Core Wireless Licensing S.A.R.L. | Input device |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6061058A (en) * | 1993-03-03 | 2000-05-09 | Apple Computer, Inc. | Method and apparatus for transferring data by type according to data types available |
US8601370B2 (en) * | 2007-01-31 | 2013-12-03 | Blackberry Limited | System and method for organizing icons for applications on a mobile device |
US9772751B2 (en) * | 2007-06-29 | 2017-09-26 | Apple Inc. | Using gestures to slide between user interfaces |
KR101613838B1 (en) * | 2009-05-19 | 2016-05-02 | 삼성전자주식회사 | Home Screen Display Method And Apparatus For Portable Device |
US8208964B2 (en) * | 2009-10-30 | 2012-06-26 | Cellco Partnership | Flexible home page layout for mobile devices |
WO2011074548A1 (en) * | 2009-12-15 | 2011-06-23 | 京セラ株式会社 | Portable electronic device and display control method |
US20120174010A1 (en) * | 2011-01-03 | 2012-07-05 | Apple Inc. | Media Content Flocking |
CN102637125A (en) * | 2011-02-12 | 2012-08-15 | 中兴通讯股份有限公司 | Display method and mobile terminal of grid interface |
CN102184072B (en) * | 2011-03-15 | 2014-07-16 | 宇龙计算机通信科技(深圳)有限公司 | Method and terminal for opening folder |
KR101819513B1 (en) * | 2012-01-20 | 2018-01-17 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
US10216286B2 (en) * | 2012-03-06 | 2019-02-26 | Todd E. Chornenky | On-screen diagonal keyboard |
CN102622180B (en) | 2012-03-09 | 2015-08-19 | 腾讯科技(深圳)有限公司 | The displaying control method of interactive interface and device |
CN102819401A (en) * | 2012-06-08 | 2012-12-12 | 中标软件有限公司 | Android operating system and desktop icon arrangement method thereof |
CN102819574A (en) * | 2012-07-20 | 2012-12-12 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and method for displaying desktop of mobile terminal |
CN103150170B (en) * | 2013-03-27 | 2016-09-07 | 锤子科技(北京)股份有限公司 | The desktop of a kind of mobile terminal generates and method of operating and corresponding device thereof |
-
2013
- 2013-03-27 CN CN201310103013.7A patent/CN103150170B/en active Active
- 2013-12-30 US US14/779,777 patent/US10845944B2/en active Active
- 2013-12-30 WO PCT/CN2013/090867 patent/WO2014154004A1/en active Application Filing
-
2020
- 2020-09-18 US US17/026,030 patent/US20210004141A1/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9086779B2 (en) * | 2005-12-22 | 2015-07-21 | Core Wireless Licensing S.A.R.L. | Input device |
US20110302519A1 (en) * | 2010-06-07 | 2011-12-08 | Christopher Brian Fleizach | Devices, Methods, and Graphical User Interfaces for Accessibility via a Touch-Sensitive Surface |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117130515A (en) * | 2023-02-10 | 2023-11-28 | 荣耀终端有限公司 | Method and device for creating shortcut entry |
Also Published As
Publication number | Publication date |
---|---|
US20160085413A1 (en) | 2016-03-24 |
WO2014154004A1 (en) | 2014-10-02 |
CN103150170B (en) | 2016-09-07 |
CN103150170A (en) | 2013-06-12 |
US10845944B2 (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210004141A1 (en) | Desktop generation and operation methods for mobile terminal and corresponding devices thereof | |
US9098942B2 (en) | Legend indicator for selecting an active graph series | |
US9811186B2 (en) | Multi-touch uses, gestures, and implementation | |
US20160342779A1 (en) | System and method for universal user interface configurations | |
US9189144B2 (en) | Multi-touch gesture-based interface for network design and management | |
AU2014200472B2 (en) | Method and apparatus for multitasking | |
US9268423B2 (en) | Definition and use of node-based shapes, areas and windows on touch screen devices | |
KR101417318B1 (en) | Method for providing User Interface having multi-tasking function, Mobile Communication Device and Computer Readable Recording Medium for providing the same | |
RU2609070C2 (en) | Context menu launcher | |
US8819575B2 (en) | Method and apparatus that display items according to a user gesture | |
WO2018090893A1 (en) | Touch screen-based control method and device | |
RU2540826C2 (en) | Internal scroll activation and cursor adornment | |
CN105988860B (en) | Method for executing application program and mobile device | |
US9733785B2 (en) | Facilitating touch screen users to select elements identified in a two dimensional space | |
US20130067394A1 (en) | Pointer invocable navigational user interface | |
US9690479B2 (en) | Method and apparatus for controlling application using key inputs or combination thereof | |
US9465470B2 (en) | Controlling primary and secondary displays from a single touchscreen | |
WO2008044321A1 (en) | Operation support computer program, and operation support computer system | |
WO2019223280A1 (en) | Method and device for operating intelligent interactive tablet and intelligent interactive tablet | |
JP2013228939A (en) | Information processing program, information processing apparatus, information processing system, and information processing control method | |
US9495063B2 (en) | Displaying tooltips to users of touch screens | |
US20130127867A1 (en) | Freestyle drawing supported by stencil edge shapes | |
US20160231876A1 (en) | Graphical interaction in a touch screen user interface | |
CN110262747B (en) | Method and device for controlling terminal, terminal and storage medium | |
US10748093B2 (en) | Card view interface with automatically generated calculated value |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: SMARTISAN DIGITAL CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LUO, YONGHAO;CHEN, SHOUFU;FANG, CHI;AND OTHERS;REEL/FRAME:053835/0687 Effective date: 20150410 Owner name: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SMARTISAN DIGITAL CO., LTD.;REEL/FRAME:054359/0015 Effective date: 20190120 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |