CN103902186B - Method for decomposing folder in desktop application - Google Patents
Method for decomposing folder in desktop application Download PDFInfo
- Publication number
- CN103902186B CN103902186B CN201410178372.3A CN201410178372A CN103902186B CN 103902186 B CN103902186 B CN 103902186B CN 201410178372 A CN201410178372 A CN 201410178372A CN 103902186 B CN103902186 B CN 103902186B
- Authority
- CN
- China
- Prior art keywords
- file
- region
- operated
- folder
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for decomposing a folder in a desktop application. The method includes the steps of judging whether a lasting-pressing event occurs on a to-be-operated object or not, wherein the to-be-operated object is the folder in the desktop application, the folder comprises an application program information list, and the list comprises one or more pieces of application program information; if the lasting-pressing event occurs on the to-be-operated object, displaying a folder decomposing region on a display screen; obtaining related operation items of the to-be-operated object, wherein the related operation items are input through pulling operation of a user; judging whether the folder is located in the decomposing region or not according to center point display coordinates of the to-be-operated object after pulling of the user and region display coordinates of the folder decomposing region; if the folder is located in the decomposing region, decomposing the folder, obtaining the application program information list in the folder, adding a new blank page, and adding application controls corresponding to the application program information in the list to the blank page. By means of the technical scheme, the steps for decomposing the folder can be simplified, and the operation efficiency of the user and the user experience can be improved.
Description
Technical field
The present invention relates to field of mobile terminals, the file decomposition method in more particularly, to a kind of desktop application.
Background technology
Mobile terminal has entered the life of people gradually, and the application program that user installs in the terminal is also increasingly
Many, corresponding management cost also day by day increases.User needs the application program on continuous arranging desktop, reasonably for applying journey
Sequence is laid out, faster to find the application program wanting to start.Current desktop application function is all fairly simple, uses
Family generally requires to carry out many more manipulations just to complete a simple task, especially for the operation of file.And for literary composition
The decomposition of part folder, existing technology is dragged by gesture after needing opened file folder and application is hauled out one by one.This skill
Art scheme complex operation, inefficiency, it is unfavorable for Consumer's Experience.
Content of the invention
The embodiment of the present invention proposes the file decomposition method in a kind of desktop application, can letter using technical solution of the present invention
Change the step that file decomposes, improve operating efficiency and the Consumer's Experience of user.
In order to solve the above problems, the embodiment of the present invention provides the file decomposition method in a kind of desktop application, including:
Judge whether object to be operated occurs length by event, described object to be operated is the file in desktop application, described file
Clip pack contains an application information list, and described application information list comprises one or more application informations;As
Fruit is then to show a file decomposition region on a display screen;
Obtain the associative operation item of described object to be operated, described associative operation item is inputted by the drag operation of user;
Central point displaing coordinate according to object to be operated described after being dragged by user and described file decomposition region
Whether region displaing coordinate, judge described file in described file decomposition region;
If it is, decomposing described file, obtain the described application information list in described file, and in institute
State and add new blank page on the display desktop of display screen, by described application program letter each in described application information list
Cease corresponding application controls to be added on described blank page.
Further, described judge object to be operated whether occur long by event, specially:
User is grown by operation to described object to be operated, if described length presses the operating time of operation more than default
Time is it is determined that occur length to press event.
Further, described one file decomposition region of display on a display screen, specially:
Show the file decomposition region of a rectangle in the bottom of display screen.
Further, the described central point displaing coordinate according to object to be operated described after being dragged by user and file divide
The region displaing coordinate in solution region, judges described file whether in described file decomposition region, specially:
After drag operation terminates, the central point displaing coordinate of described object to be operated and described file after being dragged by user
The region displaing coordinate of folder decomposition region substitutes into default expression formula, if described expression formula is true it is determined that described file
In described file decomposition region.
Further, when judging that described file is whether in described file decomposition region if it is decided that result is
No, then calculate the central point displaing coordinate of described object to be operated, described file is placed into and shows apart from described central point
The nearest display grid of coordinate, to realize the movement of described file.
Therefore, implement the embodiment of the present invention, have the advantages that:
File decomposition method provided in an embodiment of the present invention, when occurring length by event, shows a literary composition on the table
Part presss from both sides decomposition region, carries out operation splitting for user to described file.After user drags described file, according to dragged
The region displaing coordinate of the central point displaing coordinate of file and decomposition region afterwards, judges file whether in decomposition region,
If it is, decomposing this document folder, obtaining the application information list in file, and generating new blank page, should
It is added on blank page with the corresponding application controls of application information each in program information list, realize a key file
Decompose.Compared in prior art, using the multiple application program dragging in file to designated area, technical solution of the present invention
Simplify operating procedure, improve operating efficiency and the Consumer's Experience of user.
Further, when judging that this document folder is not in decomposition region, calculate the central point displaing coordinate of this document folder,
This document folder is placed in the nearest display grid of this central point displaing coordinate, the normal movement realizing file is placed, and enters
The raising user operation efficiency of one step and Consumer's Experience.
Brief description
Fig. 1 is the steps flow chart schematic diagram of the file decomposition method in a kind of desktop application that the present invention provides;
Fig. 2 is the interaction schematic diagram that the present invention provides.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Referring to Fig. 1, it is the steps flow chart schematic diagram of the file decomposition method in a kind of desktop application that the present invention provides,
It is applied to layout and the arrangement of mobile terminal desktop application.The method comprises the following steps:
Step 101:Judge whether object to be operated occurs length by event, if it is, execution step 102, otherwise, return
Step 101.
In the present embodiment, this object to be operated is the file in desktop application, and this document is clipped in mobile terminal
Display screen display.This document clip pack contains an application information list, and this list comprises one or more application program letters
Breath.File passes through application information inside it for the application information list maintenance.
In the present embodiment, judge whether to occur length to be specially by event:According to user, the length of this object to be operated is pressed
Operation, if length is more than the default time by the operating time of operation it is determined that occurring length to press event, is otherwise defined as not sending out
Raw.This length is specifically inputted by pinning the file in display screen for a long time by user by operation.
Step 102:Show a file decomposition region on a display screen.
In the present embodiment, this document folder decomposition region is a rectangular area, shows in the bottom of display screen in display.
File decomposition region can be, but not limited to the region for circular, polygon or other shapes, can be, but not limited in display screen
Top, show in left side or right side.
Step 103:Central point displaing coordinate according to this object to be operated after being dragged by user and this document folder resolver
The region displaing coordinate in domain, judges this document folder whether in this document folder decomposition region, if it is, execution step 104, such as
It is not really, then execution step 105.
In the present embodiment, judge file whether in file decomposition region, specially:Terminate in drag operation
Afterwards, the region displaing coordinate of the central point displaing coordinate and file decomposition region that are dragged object to be operated by user substitutes into default
Expression formula, if this expression formula be true it is determined that this document be clipped in this document folder decomposition region in, otherwise determine Bu Gai area
In domain.Such as, the file decomposition region in the present embodiment is rectangular area, and its region displaing coordinate is rect, and be decomposed literary composition
Then default expression formula is x to central point displaing coordinate (x, y) of part folder>=rect.left&&x<rect.right&&y>=
rect.bottom&&y<Rect.top, if this expression formula is true, this document is clipped in decomposition region.
Step 104:Decompose this document folder, obtain the application information list in file, and add on display desktop
Plus new blank page, corresponding for application information each in application information list application controls are added to this blank page
On face.
In the present embodiment, after decomposing this document folder, obtain the application information list of this document folder, and in desktop
A new blank page added behind of the next page, for showing the application being decomposed in file, specially:From being divided
The list obtaining in solution file passes to the object representing new page, and new page object is according to the application message of storage in list
Corresponding application controls are added in page view.
Step 105:Calculate the central point displaing coordinate of object to be operated, this document folder is placed into and shows apart from this central point
Show in the nearest display grid of coordinate, to realize the movement of file.
In the present embodiment, if file is not to fall in file decomposition region, show this drag operation not
In order to decompose file, but the movement of file, the at this moment central point displaing coordinate of calculation document folder, by file be placed into away from
In the nearest display grid of this central point displaing coordinate.The display desktop of the present embodiment adopts the placement in units of grid to answer
Use control.
In order to better illustrate technical scheme, referring to Fig. 2, Fig. 2 is the interaction schematic diagram of the present invention.As
Shown in figure, initial display desktop when decomposing for file of Fig. 2 a, after occurring length to press event, as shown in Figure 2 b, in display screen
Bottom rectangle file decomposition region occurs, then pass through user's drag operation, by file drag to this document folder resolver
In domain.As shown in Figure 2 c, system automatic classifying this document folder, and generate new blank page, the application journey during this document is pressed from both sides
Sequence is added on new blank page, realizes settling at one go of file decomposition.
Therefore, using file decomposition method provided in an embodiment of the present invention, when occurring length by event, in desktop
One file decomposition region of upper display, carries out operation splitting for user to described file.When user drags described file
Afterwards, whether the region displaing coordinate of the central point displaing coordinate according to dragged rear file and decomposition region, judge file
In decomposition region, if it is, decomposing this document folder, obtaining the application information list in file, and generating new
Blank page, corresponding for application information each in application information list application controls are added on blank page, real
An existing key file decomposes.Compared in prior art, using the multiple application program dragging in file to designated area,
Technical solution of the present invention simplifies operating procedure, improves operating efficiency and the Consumer's Experience of user.
Further, when judging that this document folder is not in decomposition region, calculate the central point displaing coordinate of this document folder,
This document folder is placed in the nearest display grid of this central point displaing coordinate, the normal movement realizing file is placed, and enters
The raising user operation efficiency of one step and Consumer's Experience.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible
Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above is the preferred embodiment of the present invention it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (5)
1. the file decomposition method in a kind of desktop application is it is characterised in that include:
Judge whether object to be operated occurs length by event, described object to be operated is the file in desktop application, described
File comprises an application information list, and described application information list comprises one or more application program letters
Breath;If it is, showing a file decomposition region on a display screen;
Obtain the associative operation item of described object to be operated, described associative operation item is inputted by the drag operation of user;
Central point displaing coordinate according to object to be operated described after being dragged by user and the region of described file decomposition region
Whether displaing coordinate, judge described file in described file decomposition region;
If it is, decomposing described file, obtain the described application information list in described file, and described aobvious
Add new blank page, by described application information pair each in described application information list on the display desktop of display screen
The application controls answered are added on described blank page.
2. file decomposition method according to claim 1 it is characterised in that
Described judge object to be operated whether occur long by event, specially:
User is grown by operation to described object to be operated, if described length is more than default by the operating time of operation
Between it is determined that occurring long to press event.
3. file decomposition method according to claim 1 it is characterised in that
Described one file decomposition region of display on a display screen, specially:
Show the file decomposition region of a rectangle in the bottom of display screen.
4. file decomposition method according to claim 1 it is characterised in that
The described central point displaing coordinate according to object to be operated described after being dragged by user and the region of file decomposition region
Displaing coordinate, judges described file whether in described file decomposition region, specially:
After drag operation terminates, after being dragged by user, the central point displaing coordinate of described object to be operated and described file divide
The region displaing coordinate in solution region substitutes into default expression formula, if described expression formula is true it is determined that described file is in institute
State in file decomposition region.
5. whether file decomposition method according to claim 1 is it is characterised in that judging described file described
If it is decided that result is no when in file decomposition region, then calculate the central point displaing coordinate of described object to be operated, by institute
State file and be placed into apart from the nearest display grid of described central point displaing coordinate, to realize the movement of described file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410178372.3A CN103902186B (en) | 2014-04-29 | 2014-04-29 | Method for decomposing folder in desktop application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410178372.3A CN103902186B (en) | 2014-04-29 | 2014-04-29 | Method for decomposing folder in desktop application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103902186A CN103902186A (en) | 2014-07-02 |
CN103902186B true CN103902186B (en) | 2017-02-15 |
Family
ID=50993537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410178372.3A Active CN103902186B (en) | 2014-04-29 | 2014-04-29 | Method for decomposing folder in desktop application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902186B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105205108A (en) * | 2015-08-27 | 2015-12-30 | 北京金山安全软件有限公司 | Method and device for dissolving folder |
CN105528161B (en) * | 2015-12-10 | 2019-09-06 | Oppo广东移动通信有限公司 | A kind of group technology and user terminal of playback equipment |
WO2017101073A1 (en) * | 2015-12-17 | 2017-06-22 | 深圳市柔宇科技有限公司 | Electronic apparatus and file display method |
USD844023S1 (en) | 2016-04-08 | 2019-03-26 | Huawei Technologies Co., Ltd. | Display screen with graphical user interface |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999249A (en) * | 2012-10-17 | 2013-03-27 | 广东欧珀移动通信有限公司 | User interface management method and system for mobile terminal provided with touch screen |
CN103119541A (en) * | 2010-09-24 | 2013-05-22 | 三星电子株式会社 | Method and apparatus for editing home screen in touch device |
CN103500050A (en) * | 2013-09-23 | 2014-01-08 | 天津三星通信技术研究有限公司 | Icon moving method and portable touch terminal using same |
CN103562832A (en) * | 2011-05-23 | 2014-02-05 | 三星电子株式会社 | Method and apparatus for editing screen of mobile device having touch screen |
CN103616980A (en) * | 2013-10-19 | 2014-03-05 | 广东欧珀移动通信有限公司 | Method and terminal for rapidly organizing desktop icons |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101873734B1 (en) * | 2011-07-19 | 2018-07-03 | 엘지전자 주식회사 | Mobile terminal and Method for controlling display thereof |
-
2014
- 2014-04-29 CN CN201410178372.3A patent/CN103902186B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103119541A (en) * | 2010-09-24 | 2013-05-22 | 三星电子株式会社 | Method and apparatus for editing home screen in touch device |
CN103562832A (en) * | 2011-05-23 | 2014-02-05 | 三星电子株式会社 | Method and apparatus for editing screen of mobile device having touch screen |
CN102999249A (en) * | 2012-10-17 | 2013-03-27 | 广东欧珀移动通信有限公司 | User interface management method and system for mobile terminal provided with touch screen |
CN103500050A (en) * | 2013-09-23 | 2014-01-08 | 天津三星通信技术研究有限公司 | Icon moving method and portable touch terminal using same |
CN103616980A (en) * | 2013-10-19 | 2014-03-05 | 广东欧珀移动通信有限公司 | Method and terminal for rapidly organizing desktop icons |
Also Published As
Publication number | Publication date |
---|---|
CN103902186A (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106484224B (en) | A kind of operating method and terminal | |
CN103902186B (en) | Method for decomposing folder in desktop application | |
CN101937310B (en) | File copying method and terminal | |
DE212015000213U1 (en) | Multidimensional object reorganization | |
CN101908044A (en) | Dynamically adjustable template and using method thereof | |
DE202015003891U1 (en) | Premade answers in messages | |
CN104331246A (en) | Device and method for split screen display in terminal | |
CN104750393B (en) | Wallpaper method to set up and device | |
DE202015006055U1 (en) | User interface for receiving user input | |
DE112020002566T5 (en) | CYCLE FOLLOWING USER INTERFACES | |
CN103095923B (en) | Short message display method of mobile communication terminal | |
DE202011109296U1 (en) | Device for providing a visual transition between screens | |
CN104571870B (en) | Method and device for processing application information | |
CN109799938A (en) | Control display management method, terminal device and computer readable storage medium | |
CN103699312A (en) | Multi-application foreground running implementation method and device and electronic device | |
Oliveira et al. | New information about Irajatherium hernandezi Martinelli, Bonaparte, Schultz & Rubert 2005 (Eucynodontia, Tritheledontidae) from the upper triassic (Caturrita Formation, Paraná Basin) of Brazil | |
CN104683590A (en) | Calendar event editing and transmitting method and system executing method | |
CN105653246B (en) | A kind of implementation method and device of the horizontal tabulation in android system | |
CN108563391A (en) | Wireless screen transmission touches retransmission method and system | |
CN103178962B (en) | General-purpose fingerprint authentication method and device | |
CN105359131A (en) | Tethered selection handle | |
CN105549830A (en) | Intelligent display method and device | |
CN108037974A (en) | A kind of exchange method and system and device in mobile terminal displaying long form | |
CN107943362B (en) | User interface display method and device of mobile terminal | |
CN103605457B (en) | The conversion method of a kind of widget and icon and intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |