WO2022267821A1 - Folder control method, terminal device, and storage medium - Google Patents

Folder control method, terminal device, and storage medium Download PDF

Info

Publication number
WO2022267821A1
WO2022267821A1 PCT/CN2022/095657 CN2022095657W WO2022267821A1 WO 2022267821 A1 WO2022267821 A1 WO 2022267821A1 CN 2022095657 W CN2022095657 W CN 2022095657W WO 2022267821 A1 WO2022267821 A1 WO 2022267821A1
Authority
WO
WIPO (PCT)
Prior art keywords
icon
folder
area
desktop
display area
Prior art date
Application number
PCT/CN2022/095657
Other languages
French (fr)
Chinese (zh)
Inventor
张涛
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022267821A1 publication Critical patent/WO2022267821A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0486Drag-and-drop

Definitions

  • the embodiments of the present application relate to the field of information processing, and in particular to a folder control method, a terminal device, and a storage medium.
  • terminal devices With the continuous development of terminal devices, people are increasingly relying on terminal devices to process a large amount of information, such as: storing files and managing files through terminal devices, among which terminal devices often use folders to organize and manage terminals files on the device.
  • the main purpose of the embodiments of the present application is to provide a folder control method, a terminal device, and a storage medium, which can simplify the operation steps for a user to confirm whether other files have been incorporated into the folder, thereby improving user experience.
  • an embodiment of the present application provides a folder control method, including: displaying a first icon of the first folder and a second icon of the first object on the desktop; After the first object is incorporated into the operation information of the first folder, the second icon is added to the first icon, and the first icon is adaptively increased according to icons around the first icon The display area on the desktop.
  • an embodiment of the present application further provides a terminal device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the at least one processor An instruction executed by a processor, the instruction is executed by the at least one processor, so that the at least one processor can execute the above folder control method.
  • an embodiment of the present application further provides a computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned folder control method is implemented.
  • FIG. 1 is a flowchart of a folder control method provided in Embodiment 1 of the present application;
  • FIG. 2 and FIG. 3 are desktop display diagrams in the folder control method provided in Embodiment 1 of the present application;
  • FIG. 4 is a flow chart of a folder control method provided in Embodiment 2 of the present application.
  • FIG. 5 is a flow chart of a folder control method provided in Embodiment 3 of the present application.
  • FIG. 6 is a flowchart of a folder control method provided in Embodiment 4 of the present application.
  • FIG. 7 and 8 are desktop display diagrams in the folder control method provided in Embodiment 4 of the present application.
  • FIG. 9 is a flowchart of a folder control method provided in Embodiment 5 of the present application.
  • FIG. 12 is a flow chart of a folder control method provided in Embodiment 6 of the present application.
  • FIG. 13 and 14 are desktop display diagrams in the folder control method provided in Embodiment 6 of the present application.
  • FIG. 15 is a schematic structural diagram of a terminal device provided in Embodiment 7 of the present application.
  • An embodiment of the present application provides a folder control method.
  • the icons of the first folder will also increase in adaptability according to the positions of surrounding icons, ensuring that the user can clearly see each icon in the first folder, thereby further Improved user experience.
  • Fig. 1 is a flow chart of the folder control method provided in Embodiment 1 of the present application; referring to Fig. 1 , the folder control method provided in Embodiment 1 of the present application includes:
  • S101 Display a first icon of a first folder and a second icon of a first object on a desktop.
  • the first folder is a data structure used to organize and manage disk files; the first object may be at least one of an application program, a file, and a folder. It should be noted that, when the first icon and the second icon are displayed on the desktop, other icons other than the first icon and the second icon may also be displayed on the desktop.
  • first icon of the first folder and the second icon of the first object may be displayed on the same desktop, or may be displayed on different desktops; in one embodiment, the first icon of the first folder The first icon and the second icon of the first object are displayed on different desktops, that is, the first icon of the first folder is displayed on the first desktop, and the second icon of the first object is displayed on the second desktop.
  • first desktop and the second desktop can be displayed at the same time, such as: the first desktop is displayed on the first display, and the second desktop can be displayed on the second display at the same time, then the first folder can be displayed on the first desktop.
  • the second icon of the first object can be displayed on the second desktop at the same time; and when the first desktop and the second desktop cannot be displayed at the same time, such as: the first desktop and the second desktop need to be on the same display Display, at this time, the first icon of the first folder can be displayed on the desktop first, and then the second icon of the first object can be displayed on the desktop, or the second icon of the first object can be displayed on the desktop first, and then the second icon of the first object can be displayed on the desktop.
  • the first icon for the first folder is displayed.
  • the first icon 110 of the first folder and the second icon 120 of the first object are displayed on the same desktop 130 .
  • the operation information used to indicate to merge the first object into the first folder can be specifically divided into first operation information and second operation information, wherein the first operation information is the first operation information for the first folder
  • the second operation information is the operation information of the second icon of the first object (such as clicking the second icon)
  • the operation information for indicating to merge the first object into the first folder is detected; in one example, the first operation information for the first icon of the first folder is detected first, and then If the second operation information for the second icon of the first object is detected again, it is considered that the operation information for instructing the first object to be merged into the first folder is detected; in another example, it may also be detected first
  • the second operation information for the second icon of the first object is detected, and then the first operation information for the first icon of the first folder is detected, that is, it is considered that the detection is used to indicate that the first object and
  • the second operation information for the second icon of the first folder is detected, that is, it is considered that the
  • first operation information and the second operation information may not be clicks on the first icon and the second icon.
  • the operation information may be: long press, etc. This is not limited.
  • timing starts, and after a preset time (for example: 5 seconds), if the first operation information and the second operation information are not detected.
  • a preset time for example: 5 seconds
  • the operation is suspended, that is, after a preset time, if the other of the first operation information and the second operation information is detected, the first object will not be incorporated into the first file In this way, it can be ensured that the detected operation information indicating that the first object is merged into the first folder is not accidentally touched by the operator.
  • the operation information indicating to merge the first object into the first folder specifically includes: performing a click operation on the second icon 120 of the first object , and drag the second icon 120 within 5S, and cover the second icon 120 on the first icon 110 of the first folder, at this time, add the second icon 120 to the first icon 110 , and adaptively increase the display area of the first icon 110 on the desktop 130 according to the icons around the first icon 110 .
  • the second icon 120 is displayed in the first icon 110, so, after the second icon 120 is added to the first icon 110, the Seeing the second icon 120 directly in the first icon 110 enables the user to confirm more intuitively whether the first object has been incorporated into the first folder, thereby further improving user experience.
  • Fig. 4 is a flow chart of the folder control method provided in Embodiment 2 of the present application; referring to Fig. 4, the folder control method provided in Embodiment 2 of the present application includes:
  • S201 Display the first icon of the first folder and the second icon of the first object on the desktop.
  • first judged whether there is a first blank area without an icon around the first icon it can be judged in a certain order whether there is a first blank area without an icon in the four directions of the first icon: up, down, left, and right. area; in one embodiment, it is first judged whether there is a first blank area on the right side of the first icon without icons, and after there is no first blank area on the right side of the first icon, it is judged whether the left side of the first icon is There is a first blank area where no icon is set, and there is no first blank area where no icon is set to the left of the first icon, then determine whether there is a first blank area where no icon is set below the first icon, and the bottom of the first icon After there is no first blank area where no icon is set, finally determine whether there is a first blank area where no icon is set above the first icon, and if there is no first blank area where no icon is set above the first icon, confirm the first There is no first blank area where no icon is set around the icon, wherein, in
  • Whether there is a first blank area where no icon is set on the side such as: after judging that there is a first blank area where no icon is set on the right side of the first icon, do not continue to judge whether there are no icons in the left, bottom, and upper directions of the first icon. Sets the first empty space for icons.
  • the border of the first icon is increased, so that the first icon occupies at least part of the first blank area; Border, so that the first icon occupies the entire first blank area, so as to ensure that after adding the second icon to the first icon and extending the first icon to the direction of the first blank area, the second icon can be completely Displayed within an icon; in another embodiment, the area of the first blank area is greater than the area of the second icon, and the frame of the first icon is increased, so that the first icon occupies at least part of the first blank area, and occupies at least Part of the first blank area is equal to the area of the second icon. In this way, it can also be ensured that after the second icon is added to the first icon and the first icon is extended to the direction of the first blank area, the second icon can be completely Displayed within the first icon.
  • S205 Move at least one icon around the first icon away from the first icon to obtain a first blank area, and extend the first icon toward the first blank area to obtain the first icon with an enlarged display area.
  • At least one icon around the first icon is moved away from the first icon, at least one icon in any of the four directions of up, down, left and right of the first icon can be moved; in one implementation In one example, at least one icon on the upper side of the first icon is preferentially moved; in another embodiment, at least one icon on the left side of the first icon is preferentially moved.
  • the display area of the first blank area on the desktop is equal to that of the second icon of the first object. display area on the desktop; in another example, after moving at least one icon around the first icon away from the first icon to obtain the first blank area, the display area of the first blank area on the desktop is larger than the first blank area The display area of the second icon of an object on the desktop, so that after the enlarged first icon, the first icon occupies at least part of the first blank area, and the occupied at least part of the first blank area is equal to that of the second icon area.
  • an icon on the right side of the first icon is moved to obtain the first blank area, and after the first blank area is obtained, the first icon is extended in the direction of the first blank area so that the first icon occupies the first blank area.
  • Fig. 5 is a flow chart of the folder control method provided by the third embodiment of the present application; referring to Fig. 5, the folder control method provided by the third embodiment of the present application includes:
  • S301 Display the first icon of the first folder and the second icon of the first object on the desktop.
  • S303 Detecting operation information for instructing to move the first icon to the target area.
  • This embodiment does not limit what kind of operation information is used to indicate that the first icon is moved to the target area, for example: in one embodiment, the first icon is moved to the target area by dragging the first icon; In another embodiment, the first icon is first selected, and then the target area is clicked to move the first icon to the target area.
  • the first icon moved to the target area is adapted to the target area; when the target area cannot completely display the first icon , the first icon before moving to the target area does not fit the target area.
  • the display area of the target area on the desktop is not smaller than the display area of the first icon on the desktop after the display area is enlarged, that is, the display area of the target area on the desktop is greater than or equal to the first icon after the display area is enlarged.
  • the display area of the icon on the desktop therefore, the shape of the first icon can be adjusted so that the first icon can be completely displayed in the target area.
  • the shape of the target area is rectangular
  • the shape of the first icon after the display area is enlarged is square
  • the display area of the target area on the desktop is equal to the display of the first icon on the desktop after the display area is enlarged area, after adjusting the shape of the first icon after the enlarged display area from a square to a rectangle that fits the shape of the target area, so that the first icon fits the target area, the adjusted first icon Displayed in the target area.
  • the shape of the target area is a square
  • the shape of the first icon after the display area is enlarged is a rectangle
  • the display area of the target area on the desktop is equal to the area of the first icon on the desktop after the display area is enlarged.
  • the adjusted first icon The icon is displayed in the target area.
  • the display area of the target area on the desktop is not smaller than the display area of the first icon on the desktop after the display area is enlarged, that is, the display area of the target area on the desktop is greater than or equal to the first icon after the display area is enlarged.
  • the display area of the icon on the desktop, and the adaptation of the first icon in front of the target area to the target area, therefore, the first icon after the display area has been enlarged can be directly moved to the target area and completely displayed in the target area.
  • S308 Move at least one icon around the target area away from the target area to obtain a second blank area where no icon is set, and make the area formed by combining the target area and the second blank area fit the first icon.
  • the display area of the target area on the desktop is smaller than the display area of the first icon on the desktop after the display area is enlarged, in order to make the first icon after the display area enlargement can be located at the position of the target area display, then at least one icon around the target area needs to be moved away from the target area, so as to obtain a second blank area where no icon is set, and then the second blank area can be completely displayed in the area formed by the combination of the target area and the second blank area.
  • the icon on the right side of the target area is preferentially moved; in another example, at least one icon around the target area is moved away from the direction of the target area When moving in the direction, the icon on the upper side of the target area is moved first.
  • S309 Display the first icon in the target area and the second blank area.
  • the area formed by the combination of the target area and the second blank area is suitable for the first icon, therefore, the first icon can be completely displayed directly in the area formed by the combination of the target area and the second blank area.
  • FIG. 6 is a flow chart of the folder control method provided in Embodiment 4 of the present application; referring to FIG. 6 , the folder control method provided in Embodiment 4 of the present application includes:
  • S401 Display the first icon of the first folder and the second icon of the first object on the desktop.
  • the display area of the first icon 410 on the desktop 420 is increased, wherein the first preset operation
  • the information is a dragging or sliding operation on the corner of the first icon 410, such as: sliding the lower right corner of the first icon 410 and sliding in a direction away from the first icon 410 (that is, the direction of the arrow in the figure);
  • the border of the first icon 410 of the first folder is increased to adjust the display area of the first icon 410 on the desktop 420 .
  • the first preset operation information is to input a value to increase the area of the first icon, and then after inputting a value to increase the display area of the first icon, according to the input value, increase the area of the first icon The display area on the display device.
  • the enlarged first icon 410 needs to occupy the area around the first icon 410 before the enlargement. Therefore, when increasing the display area of the first icon 410 on the desktop, the other icons around the first icon 410 are moved away from the first icon 410 .
  • the first folder includes a plurality of objects
  • the second object is used more frequently in the plurality of objects
  • the third icon of the second object is displayed in the first icon 410 411.
  • increase the display area of the third icon 411 in the first icon 410 so that the third icon 411 of the second object that is used more frequently occupies a larger display area, Therefore, it is convenient for the user to view the third icon 411 of the second object, thereby further improving user experience.
  • the high frequency of use specifically, when the user is operating multiple objects in the first folder, count the number of times the user operates multiple objects within a unit time (such as: one day, one week, etc.), and the unit An object that is operated more times within a time period is an object with a high frequency of use.
  • the first folder further includes a third object and a fourth object, and a fourth icon 412 of the third object and a fourth object of the fourth object are displayed in the first icon 410 .
  • the fifth icon 413 wherein, since the fourth icon 412 is operated more frequently than the fifth icon 415 , the display area of the fourth icon 412 is larger than the display area of the fifth icon 413 .
  • step S402 is before step S403, and in other variable embodiments, step S402 may also be after step S403.
  • Fig. 9 is a flow chart of the folder control method provided in Embodiment 5 of the present application; referring to Fig. 9, the folder control method provided in Embodiment 5 of the present application includes:
  • S501 Display the first icon of the first folder and the second icon of the first object on the desktop.
  • the menu information 511 of the first folder is displayed on the desktop 520; wherein, the menu information 511 includes delete folder, open file Folder, adjust folder background color, adjust folder shape, and display folder information, specifically, delete the folder to delete the first icon of the folder and delete all information in the folder, open the folder to display the folder All the information of the folder, adjust the background color of the folder to change the background color of the folder (for example: change the background color of the folder from white to transparent), adjust the shape of the folder to adjust the corner shape of the folder (for example: change the folder The corners are adjusted from the right angles shown in Figure 10 to rounded corners), and the display folder information is to display the properties of the folder (such as: display the memory value occupied by the folder).
  • the menu information 511 includes delete folder, open file Folder, adjust folder background color, adjust folder shape, and display folder information, specifically, delete the folder to delete the first icon of the folder and delete all information in the folder, open the folder to display the folder All the information of the folder, adjust the background color of the folder to change the
  • the second preset operation information is long press information on the first icon 510 .
  • the second preset operation information may not be long press information on the first icon, and in other changeable embodiments, the second preset operation information is click information on the first icon.
  • S503 Adjust the display mode of the first icon according to the operation on the menu information.
  • S504 After detecting the operation information indicating to merge the first object into the first folder, add the second icon to the first icon, and adaptively increase the size of the first icon on the desktop according to the icons around the first icon on the display area.
  • step S502 and step S503 are before step S504, and in other embodiments that can be changed, step S502 and step S503 may also be after step S504.
  • Fig. 12 is a flow chart of the folder control method provided in Embodiment 6 of the present application; referring to Fig. 12, the folder control method provided in Embodiment 6 of the present application includes:
  • the fifth object is a folder
  • the sixth object is also a folder. After detecting the operation information of merging the fifth object and the sixth object into one folder, the fifth object and the sixth object are synthesized The first folder; in another example, the fifth object is an application program or a file, and the sixth object is a folder. After detecting the operation information of merging the fifth object and the sixth object into one folder, the fifth object is merged into one folder.
  • the first folder is synthesized by the object and the sixth object; in yet another example, the fifth object is an application program or a file, and the sixth object is also an application program or a file, and the fifth object and the sixth object are merged into one file after detection After the operation information of the folder, the fifth object and the sixth object are synthesized into the first folder.
  • multiple objects can also be synthesized into one folder.
  • the number of objects used to synthesize folders is not limited, wherein, The object may be at least one of an application, a file, and a folder.
  • the fifth object and the sixth object can also be synthesized into the first file by long pressing the sixth icon of the fifth object and the seventh icon of the sixth object. clip, which is not limited in this embodiment.
  • S602 Display the first icon of the first folder and the second icon of the first object on the desktop.
  • steps S202, S203, S204, and S205 in the above-mentioned embodiment 2 can be replaced with step S302 in the above-mentioned embodiment 3; in another embodiment, step S402 in the above-mentioned embodiment 4 can be added to the above-mentioned implementation After S201 in the second example or after S301 in the third embodiment above; in another embodiment, the steps S502 and S503 in the fifth embodiment above can be added after S201 in the second embodiment above or after S201 in the second embodiment After S301 in the third embodiment above; in another embodiment, step S601 in the sixth embodiment above can be added before S201 in the second embodiment above or before S301 in the third embodiment above.
  • FIG. 15 is a schematic structural diagram of a terminal device provided in Embodiment 7 of the present application.
  • the terminal device provided in this embodiment includes: at least one processor 701 ; and a memory 702 communicatively connected to the at least one processor.
  • the memory 702 stores instructions executable by at least one processor 701, and the instructions are executed by at least one processor 701, so that the at least one processor 701 can execute the folder control method described in the above method embodiments.
  • the memory 702 is also responsible for storing folder information, such as: the icon display rule in the folder, the name of the folder, the classification category of the folder, the position of the folder, the size of the storage space occupied by the folder, and the opening and closing of the folder. Information about the change of the folder's icon when the status folder is closed.
  • the memory 702 and the processor 701 are connected by a bus, and the bus may include any number of interconnected buses and bridges.
  • the bus connects one or more processors 701 and the memory 702 The circuits are connected together.
  • the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
  • the bus interface provides an interface between the bus and the transceivers.
  • a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
  • the data processed by the processor 701 is transmitted on the wireless medium through the antenna.
  • the antenna also receives the data and transmits the data to the processor 701 .
  • the processor 701 can provide various functions, including timing, peripheral interface, voltage regulation, power management and other control functions, in addition to being responsible for bus management and general processing.
  • the memory 702 can also be used to store data used by the processor 701 when performing operations.
  • the embodiment of the present application also relates to a computer-readable storage medium storing a computer program.
  • the computer program is executed by the processor, the folder control method described in the above method embodiments is realized.
  • a storage medium includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
  • the folder control method, terminal device and storage medium proposed by the present application display the first icon of the first folder and the second icon of the first object on the desktop; After the operation information of the first folder, adding the second icon to the first icon, and adaptively increasing the first icon on the desktop according to the icons around the first icon In this way, when the user sees that the display area of the first icon on the desktop increases, he can confirm that the first object has been incorporated into the first folder, and when the user does not see the display area of the first icon on the desktop When the display area is enlarged, it can be confirmed that the first object has not been merged into the first folder, so that the user can directly confirm whether the first object has been merged into the first folder without operating the first folder again , thereby simplifying the operation steps for the user to confirm whether the first object has been incorporated into the first folder, thereby improving user experience. Moreover, as the amount of content contained in the first folder increases, the icons of the first folder will also increase in adaptability according to the positions of surrounding icons, ensuring that the user can clearly see

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)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A folder control method, a terminal device, and a storage medium. The method comprises: displaying, on a desktop, a first icon of a first folder and a second icon of a first object (S101); and after detecting operation information used for instructing the merging of the first object into the first folder, adding the second icon into the first icon, and adaptively increasing a display area of the first icon on the desktop according to icons around the first icon (S102).

Description

一种文件夹的控制方法、终端设备以及存储介质A folder control method, terminal device and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202110706130.7、申请日为2021年6月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on a Chinese patent application with application number 202110706130.7 and a filing date of June 24, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference into this application.
技术领域technical field
本申请实施例涉及信息处理领域,特别涉及一种文件夹的控制方法、终端设备以及存储介质。The embodiments of the present application relate to the field of information processing, and in particular to a folder control method, a terminal device, and a storage medium.
背景技术Background technique
随着终端设备的不断发展,人们越来越依靠于通过终端设备来处理大量的信息,如:通过终端设备存储文件和管理文件等,其中,终端设备常采用文件夹的形式来组织和管理终端设备中的文件。With the continuous development of terminal devices, people are increasingly relying on terminal devices to process a large amount of information, such as: storing files and managing files through terminal devices, among which terminal devices often use folders to organize and manage terminals files on the device.
目前,在检测到用于指示将文件夹外其他文件并入文件夹时,直接将文件夹外的其他文件并入文件夹,此时,用户需确认是否已将其他文件并入文件夹时,用户只能再次对文件夹进行操作以获取文件夹中的内容,从而得知文件夹中是否包含其他文件,操作过程复杂,进而致使用户体验较差。At present, when it is detected that it is used to indicate that other files outside the folder are merged into the folder, other files outside the folder are directly merged into the folder. At this time, when the user needs to confirm whether other files have been merged into the folder, The user can only operate the folder again to obtain the content in the folder, so as to know whether other files are contained in the folder, and the operation process is complicated, resulting in poor user experience.
发明内容Contents of the invention
本申请实施例的主要目的在于提出一种文件夹的控制方法、终端设备以及存储介质,可简化用户确认是否已将其他文件并入文件夹中的操作步骤,进而提升用户体验。The main purpose of the embodiments of the present application is to provide a folder control method, a terminal device, and a storage medium, which can simplify the operation steps for a user to confirm whether other files have been incorporated into the folder, thereby improving user experience.
为实现上述目的,本申请实施例提供了一种文件夹的控制方法,包括:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标;检测到用于指示将所述第一对象并入所述第一文件夹的操作信息后,将所述第二图标添加至所述第一图标内,并根据所述第一图标周围的图标适应性增大所述第一图标在所述桌面上的显示区域。To achieve the above purpose, an embodiment of the present application provides a folder control method, including: displaying a first icon of the first folder and a second icon of the first object on the desktop; After the first object is incorporated into the operation information of the first folder, the second icon is added to the first icon, and the first icon is adaptively increased according to icons around the first icon The display area on the desktop.
为实现上述目的,本申请实施例还提供了一种终端设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述的文件夹的控制方法。To achieve the above purpose, an embodiment of the present application further provides a terminal device, including: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be used by the at least one processor An instruction executed by a processor, the instruction is executed by the at least one processor, so that the at least one processor can execute the above folder control method.
为实现上述目的,本申请实施例还提供了一种计算机可读存储介质,所述计算机程序被处理器执行时实现上述的文件夹的控制方法。In order to achieve the above purpose, an embodiment of the present application further provides a computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned folder control method is implemented.
附图说明Description of drawings
图1为本申请实施例一提供的文件夹的控制方法的流程图;FIG. 1 is a flowchart of a folder control method provided in Embodiment 1 of the present application;
图2与图3为本申请实施例一提供的文件夹的控制方法中的桌面显示图;FIG. 2 and FIG. 3 are desktop display diagrams in the folder control method provided in Embodiment 1 of the present application;
图4为本申请实施例二提供的文件夹的控制方法的流程图;FIG. 4 is a flow chart of a folder control method provided in Embodiment 2 of the present application;
图5为本申请实施例三提供的文件夹的控制方法的流程图;FIG. 5 is a flow chart of a folder control method provided in Embodiment 3 of the present application;
图6为本申请实施例四提供的文件夹的控制方法的流程图;FIG. 6 is a flowchart of a folder control method provided in Embodiment 4 of the present application;
图7与图8为本申请实施例四提供的文件夹的控制方法中的桌面显示图;7 and 8 are desktop display diagrams in the folder control method provided in Embodiment 4 of the present application;
图9为本申请实施例五提供的文件夹的控制方法的流程图;FIG. 9 is a flowchart of a folder control method provided in Embodiment 5 of the present application;
图10与图11为本申请实施例五提供的文件夹的控制方法中的桌面显示图;10 and 11 are desktop display diagrams in the folder control method provided in Embodiment 5 of the present application;
图12为本申请实施例六提供的文件夹的控制方法的流程图;FIG. 12 is a flow chart of a folder control method provided in Embodiment 6 of the present application;
图13与图14为本申请实施例六提供的文件夹的控制方法中的桌面显示图;13 and 14 are desktop display diagrams in the folder control method provided in Embodiment 6 of the present application;
图15为本申请实施例七提供的终端设备的结构示意图。FIG. 15 is a schematic structural diagram of a terminal device provided in Embodiment 7 of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that in each embodiment of the application, many technical details are provided for readers to better understand the application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized.
本申请的实施例提供一种文件夹的控制方法,先在桌面上显示第一文件夹的第一图标以及第一对象的第二图标;检测到用于指示将所述第一对象并入所述第一文件夹的操作信息后,将所述第二图标添加至所述第一图标内,并根据所述第一图标周围的图标适应性增大所述第一图标在所述桌面上的显示区域,如此一来,当用户查看到第一图标在所述桌面上的显示区域增大时,即可确认第一对象已经并入第一文件夹,无需再次对文件夹进行操作,进而提升用户体验。而且,由于随着第一文件夹内包含的内容数量增多,第一文件夹的图标也会根据周围图标的位置适应性增大,保证用户能够看清第一文件夹内的各图标,从而进一步提升了用户体验。An embodiment of the present application provides a folder control method. First, the first icon of the first folder and the second icon of the first object are displayed on the desktop; After adding the operation information of the first folder, adding the second icon to the first icon, and adaptively increasing the position of the first icon on the desktop according to the icons around the first icon In this way, when the user sees that the display area of the first icon on the desktop increases, he can confirm that the first object has been incorporated into the first folder, and there is no need to operate the folder again, thereby improving the user experience. Moreover, as the amount of content contained in the first folder increases, the icons of the first folder will also increase in adaptability according to the positions of surrounding icons, ensuring that the user can clearly see each icon in the first folder, thereby further Improved user experience.
图1为本申请实施例一提供的文件夹的控制方法的流程图;参见图1,本申请实施例一提供的文件夹的控制方法包括:Fig. 1 is a flow chart of the folder control method provided in Embodiment 1 of the present application; referring to Fig. 1 , the folder control method provided in Embodiment 1 of the present application includes:
S101:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标。S101: Display a first icon of a first folder and a second icon of a first object on a desktop.
具体的,第一文件夹是用来组织和管理磁盘文件的一种数据结构;第一对象可为应用程序、文件、以及文件夹中的至少一者。需要说明的是,在桌面上显示第一图标以及第二图标时,桌面上还可显示除第一图标以及第二图标以外的其他图标。Specifically, the first folder is a data structure used to organize and manage disk files; the first object may be at least one of an application program, a file, and a folder. It should be noted that, when the first icon and the second icon are displayed on the desktop, other icons other than the first icon and the second icon may also be displayed on the desktop.
此外,还需说明的是,第一文件夹的第一图标与第一对象的第二图标可显示在同一桌面上,也可显示先不同桌面上;在一实施例中,第一文件夹的第一图标与第一对象的第二图标显示在不同的桌面上,即第一文件夹的第一图标显示在第一桌面,第一对象的第二图标显示在第二桌面,此时,当第一桌面与第二桌面可同时显示时,如:第一桌面在第一显示器上显示、且第二桌面可在第二显示器上同时显示,则可在第一桌面上显示第一文件夹的第一图标时,同时可在第二桌面上显示第一对象的第二图标;而当第一桌面与第二桌面不可同时显示时,如:第一桌面以及第二桌面都需在同一显示器上显示,此时,可先在桌面显示第一文件夹的第一图标再在桌面上显示第一对象的第二图标,也可先在桌面上显示第一对象的第二图标再在桌面上显示第一文件夹的第一图标。In addition, it should be noted that the first icon of the first folder and the second icon of the first object may be displayed on the same desktop, or may be displayed on different desktops; in one embodiment, the first icon of the first folder The first icon and the second icon of the first object are displayed on different desktops, that is, the first icon of the first folder is displayed on the first desktop, and the second icon of the first object is displayed on the second desktop. At this time, when When the first desktop and the second desktop can be displayed at the same time, such as: the first desktop is displayed on the first display, and the second desktop can be displayed on the second display at the same time, then the first folder can be displayed on the first desktop. When the first icon is displayed, the second icon of the first object can be displayed on the second desktop at the same time; and when the first desktop and the second desktop cannot be displayed at the same time, such as: the first desktop and the second desktop need to be on the same display Display, at this time, the first icon of the first folder can be displayed on the desktop first, and then the second icon of the first object can be displayed on the desktop, or the second icon of the first object can be displayed on the desktop first, and then the second icon of the first object can be displayed on the desktop. The first icon for the first folder.
在本实施例中,参见图2,第一文件夹的第一图标110与第一对象的第二图标120显示在同一桌面130上。In this embodiment, referring to FIG. 2 , the first icon 110 of the first folder and the second icon 120 of the first object are displayed on the same desktop 130 .
S102:检测到用于指示将第一对象并入第一文件夹的操作信息后,将第二图标添加至第一图标内,并根据第一图标周围的图标适应性增大第一图标在桌面上的显示区域。S102: After detecting the operation information indicating to merge the first object into the first folder, add the second icon to the first icon, and adaptively increase the size of the first icon on the desktop according to the icons around the first icon on the display area.
在一实施例中,用于指示将第一对象并入第一文件夹的操作信息具体可分为第一操作信息以及第二操作信息,其中,第一操作信息为针对第一文件夹的第一图标的操作信息(如点击该第一图标),第二操作信息为针对第一对象的第二图标的操作信息(如点击该第二图标),当检测到第一操作信息以及第二操作信息时即可认为检测到用于指示将第一对象并入第一文件夹的操作信息;在一个例子中,先检测到用于针对第一文件夹的第一图标的第一操作信息,之后再检测到用于针对第一对象的第二图标的第二操作信息,即认为检测到用于指示将第一对象并入第一文件夹的操作信息;在另一个例子中,也可先检测到用于针对第一对象的第二图标的第二操作信息,之后再检测到用于针对第一文件夹的第一图标的第一操作信息,即认为检测到用于指示将第一对象并入第一文件夹的操作信息;在又一个例子中,在检测到用于针对第一对象的第二图标的第二操作信息的同时,检测到用于针对第一文件夹的第一图标的第一操作信息(如:同时点击第一图标以及第二图标),即认为检测到用于指示将第一对象并入第一文件夹的操作信息。In an embodiment, the operation information used to indicate to merge the first object into the first folder can be specifically divided into first operation information and second operation information, wherein the first operation information is the first operation information for the first folder The operation information of an icon (such as clicking the first icon), the second operation information is the operation information of the second icon of the first object (such as clicking the second icon), when the first operation information and the second operation are detected information, it can be considered that the operation information for indicating to merge the first object into the first folder is detected; in one example, the first operation information for the first icon of the first folder is detected first, and then If the second operation information for the second icon of the first object is detected again, it is considered that the operation information for instructing the first object to be merged into the first folder is detected; in another example, it may also be detected first The second operation information for the second icon of the first object is detected, and then the first operation information for the first icon of the first folder is detected, that is, it is considered that the detection is used to indicate that the first object and In another example, when the second operation information for the second icon for the first object is detected, the operation information for the first icon for the first folder is detected The first operation information (for example: clicking on the first icon and the second icon at the same time) means that the operation information indicating to merge the first object into the first folder is detected.
另外,需要说明的是,第一操作信息以及第二操作信息也可不为点击第一图标以及第二图标,在其他可变更的实施例中,操作信息可为:长按等,本实施例对此不做限定。In addition, it should be noted that the first operation information and the second operation information may not be clicks on the first icon and the second icon. In other changeable embodiments, the operation information may be: long press, etc. This is not limited.
在一实施例中,在检测到第一操作信息以及第二操作信息中的一者后,开始计时,并在预设时间(如:5秒)后,若仍未检测到第一操作信息以及第二操作信息中的另一者,则中止操作,即在预设时间后,若检测到第一操作信息以及第二操作信息中的另一者,也不将第一对象并入第一文件夹,如此一来,可确保检测到的用于指示将第一对象并入第一文件夹的操作信息不是操作人员的误触。In one embodiment, after one of the first operation information and the second operation information is detected, timing starts, and after a preset time (for example: 5 seconds), if the first operation information and the second operation information are not detected The other of the second operation information, the operation is suspended, that is, after a preset time, if the other of the first operation information and the second operation information is detected, the first object will not be incorporated into the first file In this way, it can be ensured that the detected operation information indicating that the first object is merged into the first folder is not accidentally touched by the operator.
在本实施例中,继续参见图2、并同时参见图3,检测到用于指示将第一对象并入第一文件夹的操作信息具体包括:对第一对象的第二图标120进行点击操作,并在5S内对第二图标120进行拖拽操作、且将第二图标120覆盖到第一文件夹的第一图标110上,此时,则将第二图标120添加至第一图标110内,并根据第一图标110周围的图标适应性增大第一图标110在桌面130上的显示区域。在一实施例中,将第二图标120添加至第一图标110内之后,第二图标120在第一图标110中显示,如此,在将第二图标120添加至第一图标110内之后,可直接在第一图标110中看到第二图标120,从而使得用户可更直观地确认是否已将第一对象并入第一文件夹中,进而进一步提升用户体验。In this embodiment, referring to FIG. 2 and FIG. 3 at the same time, it is detected that the operation information indicating to merge the first object into the first folder specifically includes: performing a click operation on the second icon 120 of the first object , and drag the second icon 120 within 5S, and cover the second icon 120 on the first icon 110 of the first folder, at this time, add the second icon 120 to the first icon 110 , and adaptively increase the display area of the first icon 110 on the desktop 130 according to the icons around the first icon 110 . In one embodiment, after the second icon 120 is added to the first icon 110, the second icon 120 is displayed in the first icon 110, so, after the second icon 120 is added to the first icon 110, the Seeing the second icon 120 directly in the first icon 110 enables the user to confirm more intuitively whether the first object has been incorporated into the first folder, thereby further improving user experience.
图4为本申请实施例二提供的文件夹的控制方法的流程图;参见图4,本申请实施例二提供的文件夹的控制方法包括:Fig. 4 is a flow chart of the folder control method provided in Embodiment 2 of the present application; referring to Fig. 4, the folder control method provided in Embodiment 2 of the present application includes:
S201:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标。S201: Display the first icon of the first folder and the second icon of the first object on the desktop.
S202:检测到用于指示将第一对象并入第一文件夹的操作信息后,将第二图标添加至第一图标内。S202: Add a second icon to the first icon after detecting operation information indicating to merge the first object into the first folder.
S203:第一图标的周围是否存在未设置图标的第一空白区域。S203: Whether there is a first blank area around the first icon where no icon is set.
具体的,在判断第一图标的周围是否存在未设置图标的第一空白区域时,可按照一定顺序判断第一图标的上、下、左、右四个方位是否存在未设置图标的第一空白区域;在一实施例中,先判断第一图标右侧是否存在未设置图标的第一空白区域,第一图标右侧不存在未设 置图标的第一空白区域后,判断第一图标左侧是否存在未设置图标的第一空白区域,第一图标左侧不存在未设置图标的第一空白区域后,再判断第一图标下侧是否存在未设置图标的第一空白区域,第一图标下侧不存在未设置图标的第一空白区域后,最后判断第一图标上侧是否存在未设置图标的第一空白区域,第一图标上侧不存在未设置图标的第一空白区域后,确认第一图标周围不存在未设置图标的第一空白区域,其中,在上述判断过程中,判断出第一图标的某一侧存在未设置图标的第一空白区域后,不再继续判断第一图标的其他侧是否存在未设置图标的第一空白区域,如:判断出第一图标右侧存在未设置图标的第一空白区域后,不继续判断第一图标的左、下、上三个方位是否存在未设置图标的第一空白区域。Specifically, when judging whether there is a first blank area without an icon around the first icon, it can be judged in a certain order whether there is a first blank area without an icon in the four directions of the first icon: up, down, left, and right. area; in one embodiment, it is first judged whether there is a first blank area on the right side of the first icon without icons, and after there is no first blank area on the right side of the first icon, it is judged whether the left side of the first icon is There is a first blank area where no icon is set, and there is no first blank area where no icon is set to the left of the first icon, then determine whether there is a first blank area where no icon is set below the first icon, and the bottom of the first icon After there is no first blank area where no icon is set, finally determine whether there is a first blank area where no icon is set above the first icon, and if there is no first blank area where no icon is set above the first icon, confirm the first There is no first blank area where no icon is set around the icon, wherein, in the above judgment process, after it is judged that there is a first blank area where no icon is set on a certain side of the first icon, the other areas of the first icon will not be judged. Whether there is a first blank area where no icon is set on the side, such as: after judging that there is a first blank area where no icon is set on the right side of the first icon, do not continue to judge whether there are no icons in the left, bottom, and upper directions of the first icon. Sets the first empty space for icons.
在其他可变更的实施例中,在判断第一图标的上、下、左、右四个方位是否存在设置图标的第一空白区域时,也可采用其他判断顺序;在一个例子中,先判断第一图标上侧是否存在未设置图标的第一空白区域,第一图标上侧不存在未设置图标的第一空白区域后,判断第一图标下侧是否存在未设置图标的第一空白区域,第一图标下侧不存在未设置图标的第一空白区域后,再判断第一图标左侧是否存在未设置图标的第一空白区域,第一图标左侧不存在未设置图标的第一空白区域后,最后判断第一图标右侧是否存在未设置图标的第一空白区域。In other changeable embodiments, when judging whether there is a first blank area for setting icons in the four positions of up, down, left, and right of the first icon, other judgment sequences can also be used; in one example, first judge Whether there is a first blank area without an icon on the upper side of the first icon, and after there is no first blank area without an icon on the upper side of the first icon, determine whether there is a first blank area without an icon on the lower side of the first icon, After there is no first blank area without icon set on the lower side of the first icon, then judge whether there is a first blank area without icon set on the left side of the first icon, and there is no first blank area without icon set on the left side of the first icon Finally, it is judged whether there is a first blank area on the right side of the first icon for which no icon is set.
第一图标的周围存在未设置图标的第一空白区域时,执行S204;When there is a first blank area around the first icon where no icon is set, execute S204;
第一图标的周围不存在未设置图标的第一空白区域时,执行S205。When there is no first blank area where no icon is set around the first icon, S205 is executed.
S204:将第一图标向第一空白区域的方向延伸,得到显示区域增大后的第一图标。S204: Extend the first icon toward the direction of the first blank area to obtain the first icon with an enlarged display area.
具体的,增大第一图标的边框,从而使得第一图标占据至少部分第一空白区域;在一实施例中,第一空白区域的面积等于第二图标的面积,在增大第一图标的边框,使得第一图标占据整个第一空白区域,从而确保在将第二图标添加至第一图标内、且将第一图标向第一空白区域的方向延伸后,第二图标可完整的在第一图标内显示;在另一实施例中,第一空白区域的面积大于第二图标的面积,在增大第一图标的边框,使得第一图标占据至少部分第一空白区域、且占据的至少部分第一空白区域等于第二图标的面积,如此,也可确保在将第二图标添加至第一图标内、且将第一图标向第一空白区域的方向延伸后,第二图标可完整的在第一图标内显示。Specifically, the border of the first icon is increased, so that the first icon occupies at least part of the first blank area; Border, so that the first icon occupies the entire first blank area, so as to ensure that after adding the second icon to the first icon and extending the first icon to the direction of the first blank area, the second icon can be completely Displayed within an icon; in another embodiment, the area of the first blank area is greater than the area of the second icon, and the frame of the first icon is increased, so that the first icon occupies at least part of the first blank area, and occupies at least Part of the first blank area is equal to the area of the second icon. In this way, it can also be ensured that after the second icon is added to the first icon and the first icon is extended to the direction of the first blank area, the second icon can be completely Displayed within the first icon.
S205:将第一图标周围的至少一个图标向远离第一图标的方向移动,得到第一空白区域,将第一图标向第一空白区域的方向延伸,得到显示区域增大后的第一图标。S205: Move at least one icon around the first icon away from the first icon to obtain a first blank area, and extend the first icon toward the first blank area to obtain the first icon with an enlarged display area.
具体的,在将第一图标周围的至少一个图标向远离第一图标的方向移动,可移动第一图标的上、下、左、右四个方位中任一方位上至少一个图标;在一实施例中,优先移动第一图标上侧的至少一个图标;在另一实施例中,优先移动第一图标左侧的至少一个图标。Specifically, when at least one icon around the first icon is moved away from the first icon, at least one icon in any of the four directions of up, down, left and right of the first icon can be moved; in one implementation In one example, at least one icon on the upper side of the first icon is preferentially moved; in another embodiment, at least one icon on the left side of the first icon is preferentially moved.
在一个例中,在将第一图标周围的至少一个图标向远离第一图标的方向移动,得到第一空白区域后,第一空白区域在桌面上的显示区域等于第一对象的第二图标在桌面上的显示区域;在另一个例子中,在将第一图标周围的至少一个图标向远离第一图标的方向移动,得到第一空白区域后,第一空白区域在桌面上的显示区域大于第一对象的第二图标在桌面上的显示区域,如此,在增大后的第一图标后,第一图标占据至少部分第一空白区域、且占据的至少部分第一空白区域等于第二图标的面积。In one example, after moving at least one icon around the first icon away from the first icon to obtain the first blank area, the display area of the first blank area on the desktop is equal to that of the second icon of the first object. display area on the desktop; in another example, after moving at least one icon around the first icon away from the first icon to obtain the first blank area, the display area of the first blank area on the desktop is larger than the first blank area The display area of the second icon of an object on the desktop, so that after the enlarged first icon, the first icon occupies at least part of the first blank area, and the occupied at least part of the first blank area is equal to that of the second icon area.
在本实施例中,移动第一图标右侧的一个图标,以得到第一空白区域,并在得到第一空白区域,将第一图标向第一空白区域的方向延伸,使第一图标占用第一空白区域,得到显示区域增大后的第一图标,其中,第一空白区域在桌面上的显示区域等于第一对象的第二图标 在桌面上的显示区域。In this embodiment, an icon on the right side of the first icon is moved to obtain the first blank area, and after the first blank area is obtained, the first icon is extended in the direction of the first blank area so that the first icon occupies the first blank area. A blank area to obtain the first icon with an enlarged display area, wherein the display area of the first blank area on the desktop is equal to the display area of the second icon of the first object on the desktop.
图5为本申请实施例三提供的文件夹的控制方法的流程图;参见图5,本申请实施例三提供的文件夹的控制方法包括:Fig. 5 is a flow chart of the folder control method provided by the third embodiment of the present application; referring to Fig. 5, the folder control method provided by the third embodiment of the present application includes:
S301:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标。S301: Display the first icon of the first folder and the second icon of the first object on the desktop.
S302:检测到用于指示将第一对象并入第一文件夹的操作信息后,将第二图标添加至第一图标内,并根据第一图标周围的图标适应性增大第一图标在桌面上的显示区域。S302: After detecting the operation information indicating to merge the first object into the first folder, add the second icon to the first icon, and adaptively increase the size of the first icon on the desktop according to the icons around the first icon on the display area.
S303:检测到用于指示将第一图标移至目标区域的操作信息。S303: Detecting operation information for instructing to move the first icon to the target area.
本实施例对用于指示将第一图标移至目标区域具体采用何种操作信息不做限制,如:在一实施例中,通过拖动第一图标以使得第一图标移至目标区域;在另一实施例中,先选中第一图标,在点击目标区域,以将第一图标移至目标区域。This embodiment does not limit what kind of operation information is used to indicate that the first icon is moved to the target area, for example: in one embodiment, the first icon is moved to the target area by dragging the first icon; In another embodiment, the first icon is first selected, and then the target area is clicked to move the first icon to the target area.
S304:目标区域在桌面上的显示区域是否小于显示区域增大后的第一图标在桌面上的显示区域。S304: Whether the display area of the target area on the desktop is smaller than the display area of the first icon on the desktop after the display area is enlarged.
目标区域在桌面上的显示区域不小于显示区域增大后的第一图标在桌面上的显示区域时,执行S305;When the display area of the target area on the desktop is not smaller than the display area of the first icon on the desktop after the display area is enlarged, execute S305;
目标区域在桌面上的显示区域小于显示区域增大后的第一图标在桌面上的显示区域时,执行S308。When the display area of the target area on the desktop is smaller than the display area of the first icon on the desktop after the display area has been enlarged, S308 is executed.
S305:移至目标区域前的第一图标与目标区域的是否适配。S305: Whether the first icon before moving to the target area fits with the target area.
具体的,先判断目标区域是否可完整显示第一图标,目标区域可完整显示第一图标时,移至目标区域前的第一图标与目标区域的适配;目标区域不可完整显示第一图标时,移至目标区域前的第一图标与目标区域的不适配。Specifically, first determine whether the target area can completely display the first icon. When the target area can completely display the first icon, the first icon moved to the target area is adapted to the target area; when the target area cannot completely display the first icon , the first icon before moving to the target area does not fit the target area.
移至目标区域前的第一图标与目标区域的不适配时,执行S306;When the first icon before moving to the target area does not match the target area, execute S306;
移至目标区域前的第一图标与目标区域的适配时,执行S307。When the first icon before moving to the target area fits with the target area, execute S307.
S306:在将显示区域增大后的第一图标移至所述目标区域后,适应性调整第一图标的形状,调整后的第一图标的与目标区域的相适配。S306: After moving the first icon with the enlarged display area to the target area, adaptively adjust the shape of the first icon, so that the adjusted first icon fits with the target area.
具体的,由于目标区域在桌面上的显示区域不小于显示区域增大后的第一图标在桌面上的显示区域,即目标区域在桌面上的显示区域大于或等于显示区域增大后的第一图标在桌面上的显示区域,因此,可通过调整第一图标的形状以使得第一图标可完整的在目标区域中显示。Specifically, since the display area of the target area on the desktop is not smaller than the display area of the first icon on the desktop after the display area is enlarged, that is, the display area of the target area on the desktop is greater than or equal to the first icon after the display area is enlarged. The display area of the icon on the desktop, therefore, the shape of the first icon can be adjusted so that the first icon can be completely displayed in the target area.
在一实施例中,目标区域的形状为长方形,显示区域增大后的第一图标的形状为正方形,目标区域在桌面上的显示区域等于显示区域增大后的第一图标在桌面上的显示区域,在将显示区域增大后的第一图标的形状由正方形调整为与目标区域形状相适配的长方形,使得第一图标的与目标区域的相适配之后,将调整后的第一图标在目标区域中显示。In one embodiment, the shape of the target area is rectangular, the shape of the first icon after the display area is enlarged is square, and the display area of the target area on the desktop is equal to the display of the first icon on the desktop after the display area is enlarged area, after adjusting the shape of the first icon after the enlarged display area from a square to a rectangle that fits the shape of the target area, so that the first icon fits the target area, the adjusted first icon Displayed in the target area.
在又一实施例中,目标区域的形状为正方形,显示区域增大后的第一图标的形状为长方形,目标区域在桌面上的显示区域等于显示区域增大后的第一图标在桌面上的显示区域,在将显示区域增大后的第一图标的形状由长方形调整为与目标区域形状相适配的正方形,使得第一图标的与目标区域的相适配之后,将调整后的第一图标在目标区域中显示。In yet another embodiment, the shape of the target area is a square, the shape of the first icon after the display area is enlarged is a rectangle, and the display area of the target area on the desktop is equal to the area of the first icon on the desktop after the display area is enlarged. In the display area, after adjusting the shape of the first icon after the display area is enlarged from a rectangle to a square suitable for the shape of the target area, so that the shape of the first icon fits with that of the target area, the adjusted first icon The icon is displayed in the target area.
S307:将显示区域增大后的第一图标移至目标区域。S307: Move the first icon after the enlarged display area to the target area.
具体的,由于目标区域在桌面上的显示区域不小于显示区域增大后的第一图标在桌面上 的显示区域,即目标区域在桌面上的显示区域大于或等于显示区域增大后的第一图标在桌面上的显示区域,且目标区域前的第一图标与目标区域的适配,因此,可直接将显示区域增大后的第一图标移至目标区域、并在目标区域中完整显示。Specifically, since the display area of the target area on the desktop is not smaller than the display area of the first icon on the desktop after the display area is enlarged, that is, the display area of the target area on the desktop is greater than or equal to the first icon after the display area is enlarged. The display area of the icon on the desktop, and the adaptation of the first icon in front of the target area to the target area, therefore, the first icon after the display area has been enlarged can be directly moved to the target area and completely displayed in the target area.
S308:将目标区域周围的至少一个图标向远离目标区域的方向移动,得到未设置图标的第二空白区域,且使目标区域和第二空白区域组合形成的区域与第一图标相适配。S308: Move at least one icon around the target area away from the target area to obtain a second blank area where no icon is set, and make the area formed by combining the target area and the second blank area fit the first icon.
具体的,由于目标区域在桌面上的显示区域小于显示区域增大后的第一图标在桌面上的显示区域,因此,为了使得显示区域增大后的第一图标可在目标区域所处的位置显示,则需将目标区域周围的至少一个图标向远离目标区域的方向移动,从而得到未设置图标的第二空白区域,进而使得可在目标区域和第二空白区域组合形成的区域中完整显示第一图标。Specifically, since the display area of the target area on the desktop is smaller than the display area of the first icon on the desktop after the display area is enlarged, in order to make the first icon after the display area enlargement can be located at the position of the target area display, then at least one icon around the target area needs to be moved away from the target area, so as to obtain a second blank area where no icon is set, and then the second blank area can be completely displayed in the area formed by the combination of the target area and the second blank area. One icon.
在一个例子中,将目标区域周围的至少一个图标向远离目标区域的方向移动时,优先移动目标区域右侧的图标;在另一个例子中,将目标区域周围的至少一个图标相远离目标区域的方向移动时,优先移动目标区域上侧的图标。In one example, when at least one icon around the target area is moved away from the target area, the icon on the right side of the target area is preferentially moved; in another example, at least one icon around the target area is moved away from the direction of the target area When moving in the direction, the icon on the upper side of the target area is moved first.
S309:在目标区域和第二空白区域内显示第一图标。S309: Display the first icon in the target area and the second blank area.
具体的,目标区域和第二空白区域组合形成的区域与第一图标相适配,因此,可直接在目标区域和第二空白区域组合形成的区域中完整显示第一图标。Specifically, the area formed by the combination of the target area and the second blank area is suitable for the first icon, therefore, the first icon can be completely displayed directly in the area formed by the combination of the target area and the second blank area.
图6为本申请实施例四提供的文件夹的控制方法的流程图;参见图6,本申请实施例四提供的文件夹的控制方法包括:FIG. 6 is a flow chart of the folder control method provided in Embodiment 4 of the present application; referring to FIG. 6 , the folder control method provided in Embodiment 4 of the present application includes:
S401:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标。S401: Display the first icon of the first folder and the second icon of the first object on the desktop.
S402:检测到对第一图标的第一预设操作信息后,增大第一图标在桌面上的显示区域。S402: After detecting the first preset operation information on the first icon, increase the display area of the first icon on the desktop.
在一实施例中,参见图7与图8,检测到对第一图标410的第一预设操作信息之后,增大第一图标410在桌面420上的显示区域,其中,第一预设操作信息为对第一图标410边角的拖动或滑动操作,如:滑动第一图标410右下方的边角沿远离第一图标410的方向(即图示箭头方向)滑动;如此,即可通过增大第一文件夹的第一图标410的边框来调整第一图标410在桌面420上的显示区域。In an embodiment, referring to FIG. 7 and FIG. 8 , after the first preset operation information on the first icon 410 is detected, the display area of the first icon 410 on the desktop 420 is increased, wherein the first preset operation The information is a dragging or sliding operation on the corner of the first icon 410, such as: sliding the lower right corner of the first icon 410 and sliding in a direction away from the first icon 410 (that is, the direction of the arrow in the figure); The border of the first icon 410 of the first folder is increased to adjust the display area of the first icon 410 on the desktop 420 .
在另一实施例中,第一预设操作信息为输入增大第一图标面积的数值,进而在输入增大第一图标的显示区域的数值之后,根据输入的数值,增大第一图标在显示装置上的显示区域。In another embodiment, the first preset operation information is to input a value to increase the area of the first icon, and then after inputting a value to increase the display area of the first icon, according to the input value, increase the area of the first icon The display area on the display device.
在一实施例中,若第一图标410周围具有其他图标,当在增大第一图标410在桌面上的显示区域时,增大后的第一图标410需占用增大前第一图标410周围的其他图标所处的位置,因此,在增大第一图标410在桌面上的显示区域时,将第一图标410周围的其他图标沿远离第一图标410的方向移动。In one embodiment, if there are other icons around the first icon 410, when increasing the display area of the first icon 410 on the desktop, the enlarged first icon 410 needs to occupy the area around the first icon 410 before the enlargement. Therefore, when increasing the display area of the first icon 410 on the desktop, the other icons around the first icon 410 are moved away from the first icon 410 .
在一实施例中,继续参见图7与图8,第一文件夹中包括多个对象,多个对象中第二对象使用频率较高,第一图标410中显示有第二对象的第三图标411,在增大第一图标410的面积时,增大第一图标410中第三图标411的显示区域,如此,使用频率较高的第二对象的第三图标411占用较大的显示区域,从而便于用户查看第二对象的第三图标411,进而进一步提升用户体验。其中,关于使用频率高,具体的,当用户在对第一文件夹中的多个对象进行操作时,统计出单位时间(如:一天、一周等)内用户对多个对象进行操作次数,单位时间内的被操作次数较多的对象即为使用频率高的对象。In an embodiment, referring to FIG. 7 and FIG. 8 , the first folder includes a plurality of objects, the second object is used more frequently in the plurality of objects, and the third icon of the second object is displayed in the first icon 410 411. When increasing the area of the first icon 410, increase the display area of the third icon 411 in the first icon 410, so that the third icon 411 of the second object that is used more frequently occupies a larger display area, Therefore, it is convenient for the user to view the third icon 411 of the second object, thereby further improving user experience. Among them, regarding the high frequency of use, specifically, when the user is operating multiple objects in the first folder, count the number of times the user operates multiple objects within a unit time (such as: one day, one week, etc.), and the unit An object that is operated more times within a time period is an object with a high frequency of use.
另外,在一实施例中,继续参见图7与图8,第一文件夹还包括第三对象以及第四对象, 第一图标410中显示有第三对象的第四图标412以及第四对象的第五图标413,其中,由于第四图标412被操作的频率大于第五图标415被操作的频率,因此,第四图标412的显示区域大于第五图标413的显示区域。In addition, in an embodiment, referring to FIG. 7 and FIG. 8 , the first folder further includes a third object and a fourth object, and a fourth icon 412 of the third object and a fourth object of the fourth object are displayed in the first icon 410 . The fifth icon 413 , wherein, since the fourth icon 412 is operated more frequently than the fifth icon 415 , the display area of the fourth icon 412 is larger than the display area of the fifth icon 413 .
S403:检测到用于指示将第一对象并入第一文件夹的操作信息后,将第二图标添加至第一图标内,并根据第一图标周围的图标适应性增大第一图标在桌面上的显示区域。S403: After detecting the operation information indicating to merge the first object into the first folder, add the second icon to the first icon, and adaptively increase the size of the first icon on the desktop according to the icons around the first icon on the display area.
本实施例中,步骤S402在步骤S403之前,在其他可变更的实施例中,步骤S402也可在步骤S403之后。In this embodiment, step S402 is before step S403, and in other variable embodiments, step S402 may also be after step S403.
图9为本申请实施例五提供的文件夹的控制方法的流程图;参见图9,本申请实施例五提供的文件夹的控制方法包括:Fig. 9 is a flow chart of the folder control method provided in Embodiment 5 of the present application; referring to Fig. 9, the folder control method provided in Embodiment 5 of the present application includes:
S501:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标。S501: Display the first icon of the first folder and the second icon of the first object on the desktop.
S502:检测到对第一图标的第二预设操作信息后,显示第一文件夹的菜单信息。S502: After detecting the second preset operation information on the first icon, display the menu information of the first folder.
参见图10与图11,在检测到对第一图标510的第二预设操作信息之后,在桌面520上显示第一文件夹的菜单信息511;其中,菜单信息511包括删除文件夹、打开文件夹、调整文件夹背景颜色、调整文件夹形状、以及显示文件夹信息,具体的,删除文件夹为删除文件夹的第一图标以及删除文件夹中的所有信息,打开文件夹为展示文件夹中的所有信息,调整文件夹背景颜色为改变文件夹的背景颜色(如:将文件夹的背景颜色由白色变为透明),调整文件夹形状为调整文件夹边角的形状(如:将文件夹边角由图10所示的直角调整为圆角),显示文件夹信息为显示文件夹的属性(如:显示文件夹所占用的内存值)。10 and 11, after detecting the second preset operation information on the first icon 510, the menu information 511 of the first folder is displayed on the desktop 520; wherein, the menu information 511 includes delete folder, open file Folder, adjust folder background color, adjust folder shape, and display folder information, specifically, delete the folder to delete the first icon of the folder and delete all information in the folder, open the folder to display the folder All the information of the folder, adjust the background color of the folder to change the background color of the folder (for example: change the background color of the folder from white to transparent), adjust the shape of the folder to adjust the corner shape of the folder (for example: change the folder The corners are adjusted from the right angles shown in Figure 10 to rounded corners), and the display folder information is to display the properties of the folder (such as: display the memory value occupied by the folder).
在本实施例中,第二预设操作信息为对第一图标510的长按信息。另外,需要说明的是,第二预设操作信息也可不为对第一图标的长按信息,在其他可变更的实施例中,第二预设操作信息为对第一图标的点击信息。In this embodiment, the second preset operation information is long press information on the first icon 510 . In addition, it should be noted that the second preset operation information may not be long press information on the first icon, and in other changeable embodiments, the second preset operation information is click information on the first icon.
S503:根据对菜单信息的操作,调整第一图标的显示方式。S503: Adjust the display mode of the first icon according to the operation on the menu information.
S504:检测到用于指示将第一对象并入第一文件夹的操作信息后,将第二图标添加至第一图标内,并根据第一图标周围的图标适应性增大第一图标在桌面上的显示区域。S504: After detecting the operation information indicating to merge the first object into the first folder, add the second icon to the first icon, and adaptively increase the size of the first icon on the desktop according to the icons around the first icon on the display area.
需要说明的是,本实施例中,步骤S502以及步骤S503在步骤S504之前,在其他可变更个的实施例中,步骤S502以及步骤S503也可在步骤S504之后。It should be noted that, in this embodiment, step S502 and step S503 are before step S504, and in other embodiments that can be changed, step S502 and step S503 may also be after step S504.
图12为本申请实施例六提供的文件夹的控制方法的流程图;参见图12,本申请实施例六提供的文件夹的控制方法包括:Fig. 12 is a flow chart of the folder control method provided in Embodiment 6 of the present application; referring to Fig. 12, the folder control method provided in Embodiment 6 of the present application includes:
S601:检测到用于指示将第五对象和第六对象合并为一个文件夹的操作信息后,生成第一文件夹以及第一图标。S601: After detecting operation information indicating to merge the fifth object and the sixth object into one folder, generate a first folder and a first icon.
在一实施例中,第五对象为文件夹,第六对象也为文件夹,在检测将第五对象和第六对象合并为一个文件夹的操作信息之后,将第五对象和第六对象合成第一文件夹;在另一个例子中,第五对象为应用程序或文件,第六对象为文件夹,在检测将第五对象和第六对象合并为一个文件夹的操作信息之后,将第五对象和第六对象合成第一文件夹;在又一个例子中,第五对象为应用程序或文件,第六对象也为应用程序或文件,在检测将第五对象和第六对象合并为一个文件夹的操作信息之后,将第五对象和第六对象合成第一文件夹。In one embodiment, the fifth object is a folder, and the sixth object is also a folder. After detecting the operation information of merging the fifth object and the sixth object into one folder, the fifth object and the sixth object are synthesized The first folder; in another example, the fifth object is an application program or a file, and the sixth object is a folder. After detecting the operation information of merging the fifth object and the sixth object into one folder, the fifth object is merged into one folder. The first folder is synthesized by the object and the sixth object; in yet another example, the fifth object is an application program or a file, and the sixth object is also an application program or a file, and the fifth object and the sixth object are merged into one file after detection After the operation information of the folder, the fifth object and the sixth object are synthesized into the first folder.
需要说明的是,在其他可变更的实施例中,还可将多个对象合成一个文件夹,本实施例 在合成文件夹时,对用于合成文件夹的对象的数量不做限定,其中,对象可为应用程序、文件、以及文件夹中的至少一者。It should be noted that, in other changeable embodiments, multiple objects can also be synthesized into one folder. In this embodiment, when combining folders, the number of objects used to synthesize folders is not limited, wherein, The object may be at least one of an application, a file, and a folder.
参见图13与图14,具体的,在桌面610上显示第五对象的第六图标621和第六对象的第七图标622之后,点击第五对象的第六图标621以及第六对象的第七图标622,将第五对象以及第六对象合成第一文件夹,并在桌面610上显示第一文件夹的第一图标620,其中,第五对象以及第六对象均为应用程序。在一实施例中,先点击第五对象的第六图标621,再点击第六对象的第七图标622,从而将第五对象以及第六对象合成第一文件夹;在另一实施例中,先点击第六对象的第七图标622,再点击第五对象的第六图标621,从而将第五对象以及第六对象合成第一文件夹;在又一实施例中,同时点击第五对象的第六图标621以及第六对象的第七图标622,从而将第五对象以及第六对象合成第一文件夹。13 and 14, specifically, after the sixth icon 621 of the fifth object and the seventh icon 622 of the sixth object are displayed on the desktop 610, click the sixth icon 621 of the fifth object and the seventh icon 622 of the sixth object. The icon 622 combines the fifth object and the sixth object into the first folder, and displays the first icon 620 of the first folder on the desktop 610, wherein the fifth object and the sixth object are both application programs. In one embodiment, first click the sixth icon 621 of the fifth object, and then click the seventh icon 622 of the sixth object, so as to combine the fifth object and the sixth object into the first folder; in another embodiment, First click the seventh icon 622 of the sixth object, and then click the sixth icon 621 of the fifth object, so as to combine the fifth object and the sixth object into the first folder; in yet another embodiment, click the fifth object at the same time The sixth icon 621 and the seventh icon 622 of the sixth object, thus combining the fifth object and the sixth object into the first folder.
另外,需要说明的是,在其他可变更的实施例中,也可通过长按第五对象的第六图标以及第六对象的第七图标,从而将第五对象以及第六对象合成第一文件夹,本实施例对此不做限定。In addition, it should be noted that in other changeable embodiments, the fifth object and the sixth object can also be synthesized into the first file by long pressing the sixth icon of the fifth object and the seventh icon of the sixth object. clip, which is not limited in this embodiment.
S602:在桌面上显示第一文件夹的第一图标以及第一对象的第二图标。S602: Display the first icon of the first folder and the second icon of the first object on the desktop.
S603:检测到用于指示将第一对象并入第一文件夹的操作信息后,将第二图标添加至第一图标内,并根据第一图标周围的图标适应性增大第一图标在桌面上的显示区域。S603: After detecting the operation information indicating to merge the first object into the first folder, add the second icon to the first icon, and adaptively increase the size of the first icon on the desktop according to the icons around the first icon on the display area.
另外,需要说明的是,上述各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用;如:在一实施例中,可上述实施例二中的步骤S202、S203、S204、S205与上述实施例三中步骤S302进行替换;在另一实施例中,可将上述实施例四中的步骤S402添加在上述实施例二中的S201之后或添加在上述实施例三中的S301之后;在又一实施例中,可将上述实施例五中的步骤S502、S503添加在上述实施例二中的S201之后或添加在上述实施例三中的S301之后;在又一实施例中,可将上述实施例六中的步骤S601添加在上述实施例二中的S201之前或添加在上述实施例三中的S301之前。In addition, it should be noted that the division of the above-mentioned embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the application, and the various embodiments can be combined with each other and refer to each other on the premise of no contradiction; for example: in an implementation In this example, steps S202, S203, S204, and S205 in the above-mentioned embodiment 2 can be replaced with step S302 in the above-mentioned embodiment 3; in another embodiment, step S402 in the above-mentioned embodiment 4 can be added to the above-mentioned implementation After S201 in the second example or after S301 in the third embodiment above; in another embodiment, the steps S502 and S503 in the fifth embodiment above can be added after S201 in the second embodiment above or after S201 in the second embodiment After S301 in the third embodiment above; in another embodiment, step S601 in the sixth embodiment above can be added before S201 in the second embodiment above or before S301 in the third embodiment above.
参见图15,图15是本申请实施例七提供的终端设备的结构示意图。Referring to FIG. 15 , FIG. 15 is a schematic structural diagram of a terminal device provided in Embodiment 7 of the present application.
如图15所示,本实施例提供的终端设备包括:包括至少一个处理器701;以及,与至少一个处理器通信连接的存储器702。As shown in FIG. 15 , the terminal device provided in this embodiment includes: at least one processor 701 ; and a memory 702 communicatively connected to the at least one processor.
其中,存储器702存储有可被至少一个处理器701执行的指令,指令被至少一个处理器701执行,以使至少一个处理器701能够执行上述方法实施例所描述的文件夹的控制方法。Wherein, the memory 702 stores instructions executable by at least one processor 701, and the instructions are executed by at least one processor 701, so that the at least one processor 701 can execute the folder control method described in the above method embodiments.
此外,存储器702还负责存储文件夹的信息,如:文件夹中的图标显示规则、文件夹的名称、文件夹的分类类别、文件夹的位置、文件夹占用存储空间的大小、打开文件夹与关闭状态文件夹时文件夹的图标的变化信息。In addition, the memory 702 is also responsible for storing folder information, such as: the icon display rule in the folder, the name of the folder, the classification category of the folder, the position of the folder, the size of the storage space occupied by the folder, and the opening and closing of the folder. Information about the change of the folder's icon when the status folder is closed.
此外,值得一提的是,在一个例子中,存储器702和处理器701采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器701和存储器702的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收 器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器701处理的数据通过天线在无线介质上进行传输,在一实施例中,天线还接收数据并将数据传送给处理器701。In addition, it is worth mentioning that in one example, the memory 702 and the processor 701 are connected by a bus, and the bus may include any number of interconnected buses and bridges. The bus connects one or more processors 701 and the memory 702 The circuits are connected together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium. The data processed by the processor 701 is transmitted on the wireless medium through the antenna. In one embodiment, the antenna also receives the data and transmits the data to the processor 701 .
此外,可理解的,处理器701除了负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器702还可以被用于存储处理器701在执行操作时所使用的数据。In addition, it can be understood that the processor 701 can provide various functions, including timing, peripheral interface, voltage regulation, power management and other control functions, in addition to being responsible for bus management and general processing. The memory 702 can also be used to store data used by the processor 701 when performing operations.
本申请实施例还涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例所描述的文件夹的控制方法。The embodiment of the present application also relates to a computer-readable storage medium storing a computer program. When the computer program is executed by the processor, the folder control method described in the above method embodiments is realized.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
本申请提出的文件夹的控制方法、终端设备以及存储介质,在桌面上显示第一文件夹的第一图标以及第一对象的第二图标;检测到用于指示将所述第一对象并入所述第一文件夹的操作信息后,将所述第二图标添加至所述第一图标内,并根据所述第一图标周围的图标适应性增大所述第一图标在所述桌面上的显示区域,如此,当用户查看到第一图标在桌面上的显示区域增大时、即可确认第一对象已经并入第一文件夹,而当用户未查看到第一图标在桌面上的显示区域增大时、即可确认第一对象未并入第一文件夹,以使得用户无需再次对第一文件夹进行操作,即可直接确认是否已将第一对象并入第一文件夹中,从而简化用户确认是否已将第一对象并入第一文件夹中的操作步骤,进而提升用户体验。而且,由于随着第一文件夹内包含的内容数量增多,第一文件夹的图标也会根据周围图标的位置适应性增大,保证用户能够看清第一文件夹内的各图标,从而进一步提升了用户体验。The folder control method, terminal device and storage medium proposed by the present application display the first icon of the first folder and the second icon of the first object on the desktop; After the operation information of the first folder, adding the second icon to the first icon, and adaptively increasing the first icon on the desktop according to the icons around the first icon In this way, when the user sees that the display area of the first icon on the desktop increases, he can confirm that the first object has been incorporated into the first folder, and when the user does not see the display area of the first icon on the desktop When the display area is enlarged, it can be confirmed that the first object has not been merged into the first folder, so that the user can directly confirm whether the first object has been merged into the first folder without operating the first folder again , thereby simplifying the operation steps for the user to confirm whether the first object has been incorporated into the first folder, thereby improving user experience. Moreover, as the amount of content contained in the first folder increases, the icons of the first folder will also increase in adaptability according to the positions of surrounding icons, ensuring that the user can clearly see each icon in the first folder, thereby further Improved user experience.
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific embodiments for realizing the present application, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present application. scope.

Claims (11)

  1. 一种文件夹的控制方法,包括:A folder control method, comprising:
    在桌面上显示第一文件夹的第一图标以及第一对象的第二图标;displaying the first icon of the first folder and the second icon of the first object on the desktop;
    检测到用于指示将所述第一对象并入所述第一文件夹的操作信息后,将所述第二图标添加至所述第一图标内,并根据所述第一图标周围的图标适应性增大所述第一图标在所述桌面上的显示区域。After detecting the operation information indicating to merge the first object into the first folder, adding the second icon to the first icon, and adapting according to the icons around the first icon permanently increasing the display area of the first icon on the desktop.
  2. 根据权利要求1所述的文件夹的控制方法,其中,所述根据所述第一图标周围的图标适应性增大所述第一图标在所述桌面上的显示区域,具体包括:The folder control method according to claim 1, wherein the adaptively increasing the display area of the first icon on the desktop according to the icons around the first icon specifically comprises:
    所述第一图标的周围存在未设置图标的第一空白区域时,将所述第一图标向所述第一空白区域的方向延伸,得到显示区域增大后的第一图标;或者When there is a first blank area where no icon is set around the first icon, extending the first icon in the direction of the first blank area to obtain the first icon with an enlarged display area; or
    所述第一图标的周围不存在所述第一空白区域时,将所述第一图标周围的至少一个图标向远离所述第一图标的方向移动,得到所述第一空白区域,将所述第一图标向所述第一空白区域的方向延伸,得到显示区域增大后的第一图标;When the first blank area does not exist around the first icon, move at least one icon around the first icon in a direction away from the first icon to obtain the first blank area, and move the The first icon is extended toward the direction of the first blank area to obtain the first icon after the display area is enlarged;
    其中,所述第一空白区域的显示区域大于或等于所述第二图标的显示区域。Wherein, the display area of the first blank area is greater than or equal to the display area of the second icon.
  3. 根据权利要求1所述的文件夹的控制方法,其中,所述根据所述第一图标周围的图标适应性增大所述第一图标在所述桌面上的显示区域之后,还包括:The folder control method according to claim 1, wherein after adaptively increasing the display area of the first icon on the desktop according to the icons around the first icon, further comprising:
    检测到用于指示将所述第一图标移至目标区域的操作信息后,将显示区域增大后的第一图标移至所述目标区域;After detecting the operation information for instructing to move the first icon to the target area, moving the first icon with the enlarged display area to the target area;
    所述目标区域在所述桌面上的显示区域小于所述显示区域增大后的第一图标在所述桌面上的显示区域时,将所述目标区域周围的至少一个图标向远离所述目标区域的方向移动,得到未设置图标的第二空白区域,在所述目标区域和所述第二空白区域内显示所述第一图标,其中,移至目标区域前的第一图标,与目标区域和第二空白区域组合形成的区域相适配。When the display area of the target area on the desktop is smaller than the display area of the first icon on the desktop after the display area is enlarged, moving at least one icon around the target area away from the target area to move in the direction to obtain a second blank area where no icons are set, and display the first icon in the target area and the second blank area, wherein the first icon moved to the front of the target area is consistent with the target area and the second blank area. The area formed by the combination of the second blank area fits.
  4. 根据权利要求3所述的文件夹的控制方法,其中,The folder control method according to claim 3, wherein,
    所述目标区域在所述桌面上的显示区域不小于所述显示区域增大后的第一图标在所述桌面上的显示区域、且移至所述目标区域前的所述第一图标与所述目标区域不适配时,The display area of the target area on the desktop is not smaller than the display area of the first icon on the desktop after the display area is enlarged, and the first icon and the first icon moved to the front of the target area When the above target area does not fit,
    在所述将显示区域增大后的第一图标移至所述目标区域后,适应性调整所述第一图标的形状,调整后的所述第一图标与所述目标区域相适配。After the first icon whose display area is enlarged is moved to the target area, the shape of the first icon is adaptively adjusted, and the adjusted first icon is adapted to the target area.
  5. 根据权利要求1-4任一项所述的文件夹的控制方法,其中,所述在桌面上显示第一文件夹的第一图标以及第一对象的第二图标之后,还包括:The folder control method according to any one of claims 1-4, wherein, after displaying the first icon of the first folder and the second icon of the first object on the desktop, further comprising:
    检测到对所述第一图标的第一预设操作信息后,增大所述第一图标在所述桌面上的显示区域。After detecting the first preset operation information on the first icon, increasing the display area of the first icon on the desktop.
  6. 根据权利要求5所述的文件夹的控制方法,还包括:The control method of the folder according to claim 5, further comprising:
    在增大所述第一图标在所述桌面上的显示区域后,增大所述第一图标内的第二对象的第三图标的显示区域,其中,第一文件夹包括第二对象。After increasing the display area of the first icon on the desktop, increasing the display area of the third icon of the second object in the first icon, wherein the first folder includes the second object.
  7. 根据权利要求1-4任一项所述的文件夹的控制方法,其中,所述在桌面上显示第一文件夹的第一图标以及第一对象的第二图标之后,还包括:The folder control method according to any one of claims 1-4, wherein, after displaying the first icon of the first folder and the second icon of the first object on the desktop, further comprising:
    检测到对所述第一图标的第二预设操作信息后,显示所述第一文件夹的菜单信息,其中,所述菜单信息包括删除文件夹、打开文件夹、调整文件夹背景颜色、调整文件夹形状、显示文件夹信息中的至少一者;After detecting the second preset operation information on the first icon, display the menu information of the first folder, wherein the menu information includes deleting the folder, opening the folder, adjusting the background color of the folder, adjusting At least one of folder shape, display folder information;
    根据对所述菜单信息的操作,调整所述第一图标的显示方式。According to the operation on the menu information, the display mode of the first icon is adjusted.
  8. 根据权利要求1-4任一项所述的文件夹的控制方法,其中,所述第一文件夹包括第三对象以及第四对象,所述第一图标中显示有所述第三对象的第四图标以及所述第四对象的第五图标,其中,所述第四图标的显示区域大于所述第五图标的显示区域,所述第四图标被操作的频率大于所述第五图标被操作的频率。The folder control method according to any one of claims 1-4, wherein the first folder includes a third object and a fourth object, and the first icon displays the third object of the third object. Four icons and a fifth icon of the fourth object, wherein the display area of the fourth icon is larger than the display area of the fifth icon, and the operating frequency of the fourth icon is greater than that of the fifth icon Frequency of.
  9. 根据权利要求1-4任一项所述的文件夹的控制方法,其中,所述第一文件夹的生成,包括:The folder control method according to any one of claims 1-4, wherein the generation of the first folder includes:
    检测到用于指示将第五对象和第六对象合并为一个文件夹的操作信息后,生成所述第一文件夹以及所述第一图标;After detecting the operation information indicating to merge the fifth object and the sixth object into one folder, generating the first folder and the first icon;
    其中,将在所述桌面上显示的第五对象的第六图标和第六对象的第七图标合并在所述第一图标中进行显示。Wherein, the sixth icon of the fifth object and the seventh icon of the sixth object displayed on the desktop are combined into the first icon for display.
  10. 一种终端设备,包括:A terminal device, comprising:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至9任一所述的文件夹的控制方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the method described in any one of claims 1 to 9 Folder control method.
  11. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至9中任一项所述的文件夹的控制方法。A computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor, the folder control method according to any one of claims 1 to 9 is implemented.
PCT/CN2022/095657 2021-06-24 2022-05-27 Folder control method, terminal device, and storage medium WO2022267821A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110706130.7A CN115525186A (en) 2021-06-24 2021-06-24 Folder control method, terminal device and storage medium
CN202110706130.7 2021-06-24

Publications (1)

Publication Number Publication Date
WO2022267821A1 true WO2022267821A1 (en) 2022-12-29

Family

ID=84544104

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/095657 WO2022267821A1 (en) 2021-06-24 2022-05-27 Folder control method, terminal device, and storage medium

Country Status (2)

Country Link
CN (1) CN115525186A (en)
WO (1) WO2022267821A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117130516A (en) * 2023-03-31 2023-11-28 荣耀终端有限公司 Display method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120192110A1 (en) * 2011-01-25 2012-07-26 Compal Electronics, Inc. Electronic device and information display method thereof
CN104094210A (en) * 2013-12-20 2014-10-08 华为技术有限公司 File opening method in folder and terminal
US20150074576A1 (en) * 2013-09-09 2015-03-12 Lenovo (Beijing) Limited Information processing methods and electronic devices
US20150113452A1 (en) * 2013-10-17 2015-04-23 Cyan Inc. Graphical user interface
CN105630298A (en) * 2016-02-29 2016-06-01 华为技术有限公司 Folder management method and equipment
CN105718159A (en) * 2014-12-05 2016-06-29 中兴通讯股份有限公司 Icon display method and device
CN105867716A (en) * 2015-11-20 2016-08-17 乐视移动智能信息技术(北京)有限公司 Terminal folder processing method and device thereof
CN108139794A (en) * 2015-09-27 2018-06-08 索拉巴·A·普拉卡什 Browser is can customize for computer file system and Email
CN111625160A (en) * 2017-06-26 2020-09-04 李丽萍 Application icon adjusting method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120192110A1 (en) * 2011-01-25 2012-07-26 Compal Electronics, Inc. Electronic device and information display method thereof
US20150074576A1 (en) * 2013-09-09 2015-03-12 Lenovo (Beijing) Limited Information processing methods and electronic devices
US20150113452A1 (en) * 2013-10-17 2015-04-23 Cyan Inc. Graphical user interface
CN104094210A (en) * 2013-12-20 2014-10-08 华为技术有限公司 File opening method in folder and terminal
CN105718159A (en) * 2014-12-05 2016-06-29 中兴通讯股份有限公司 Icon display method and device
CN108139794A (en) * 2015-09-27 2018-06-08 索拉巴·A·普拉卡什 Browser is can customize for computer file system and Email
CN105867716A (en) * 2015-11-20 2016-08-17 乐视移动智能信息技术(北京)有限公司 Terminal folder processing method and device thereof
CN105630298A (en) * 2016-02-29 2016-06-01 华为技术有限公司 Folder management method and equipment
CN111625160A (en) * 2017-06-26 2020-09-04 李丽萍 Application icon adjusting method and device

Also Published As

Publication number Publication date
CN115525186A (en) 2022-12-27

Similar Documents

Publication Publication Date Title
US20200319763A1 (en) Method and device for managing tab window indicating application group including heterogeneous applications
US20180356955A1 (en) Mobile terminal and object change support method for the same
EP3091426B1 (en) User terminal device providing user interaction and method therefor
KR102220085B1 (en) Operating Method For Multi-Window And Electronic Device supporting the same
US9529497B2 (en) Apparatus, method, and medium for providing user interface for file transmission
CN108958685B (en) Method for connecting mobile terminal and external display and apparatus for implementing the same
US20180285325A1 (en) Systems, methods, and computer-readable media for providing a dynamic loupe for displayed information
US9141406B2 (en) Method and system to provide a user interface with respect to a plurality of applications
US10809875B2 (en) Display control method and device, and electronic apparatus
CN111049935B (en) System for remotely controlling electronic equipment and electronic equipment thereof
US20160103793A1 (en) Heterogeneous Application Tabs
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
US10474406B2 (en) Method of printing content shared between applications and computing apparatus to perform the method
KR20150124311A (en) operating method and electronic device for object
CN107329645B (en) Image display method and mobile terminal
US20150199113A1 (en) Electronic content visual comparison apparatus and method
US20130249841A1 (en) Handheld device and homescreen management method thereof
WO2022267821A1 (en) Folder control method, terminal device, and storage medium
WO2022179409A1 (en) Control display method and apparatus, device, and medium
WO2023155874A1 (en) Application icon management method and apparatus, and electronic device
WO2022247787A1 (en) Application classification method and apparatus, and electronic device
WO2023056979A1 (en) Interface operation method and apparatus between dual systems, and electronic device and medium
CN107526505B (en) Data processing method and electronic equipment
US20220198123A1 (en) Information processing device and non-transitory computer readable medium
WO2020253282A1 (en) Item starting method and apparatus, and display device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22827318

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22827318

Country of ref document: EP

Kind code of ref document: A1