WO2020048286A1 - 一种数据处理方法、终端及计算机可读存储介质 - Google Patents

一种数据处理方法、终端及计算机可读存储介质 Download PDF

Info

Publication number
WO2020048286A1
WO2020048286A1 PCT/CN2019/099791 CN2019099791W WO2020048286A1 WO 2020048286 A1 WO2020048286 A1 WO 2020048286A1 CN 2019099791 W CN2019099791 W CN 2019099791W WO 2020048286 A1 WO2020048286 A1 WO 2020048286A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display data
identifier
data
level
Prior art date
Application number
PCT/CN2019/099791
Other languages
English (en)
French (fr)
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 WO2020048286A1 publication Critical patent/WO2020048286A1/zh

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
    • 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/18File system types
    • G06F16/185Hierarchical storage management [HSM] systems, e.g. file migration or policies thereof

Definitions

  • the present application relates to the field of computer science and technology, and relates to, but is not limited to, a data processing method, a terminal, and a computer-readable storage medium.
  • FIG. 1a is a schematic diagram of a file management system in the related art according to an embodiment of the present application. As shown in FIG. 1a, the file management system is layered by files and folders. This file management system uses the traditional metaphor of physical access. For example, a wardrobe (level 2) is placed in the bedroom (level 1), and socks (items) are stored in a storage box (level 3) below the wardrobe.
  • the embodiments of the present application provide a data processing method, a terminal, and a computer-readable storage medium, which solves the technical problems that users cannot intuitively operate in different layers in the prior art, which is more intuitive and efficient. Navigation and operation between files or applications at different levels of the ground improves operation efficiency and further improves user experience.
  • an embodiment of the present application provides a data processing method.
  • the method includes: determining a current highest level identifier in a first display data in a current display interface based on a received first preset operation; and acquiring the Second display data corresponding to at least one level above the hierarchical identifier; and displaying the first display data and the second display data in a nested manner on the current display interface.
  • an embodiment of the present application provides a terminal.
  • the terminal includes at least a memory, a communication bus, and a processor.
  • the memory is configured to store a data processing program.
  • the communication bus is configured to implement a processor and The connection and communication between the memories; the processor is configured to execute a data processing program stored in the memory to implement the steps in the data processing method provided by other embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions are configured to execute the data processing method provided by other embodiments of the present application. step.
  • An embodiment of the present application provides a data processing method, a terminal, and a computer-readable storage medium. First, based on the received first preset operation, a current highest level identifier in the first display data in the current display interface is determined; and Acquire the second display data corresponding to the upper level of the hierarchy identification; finally, display the first display data and the second display data in the current display interface in a nested manner; in this way, files of different levels or Navigation and operation between applications improves operation efficiency and further improves user experience.
  • FIG. 1a is a schematic diagram of a file management system in the related art according to an embodiment of the present application.
  • FIG. 1b is a schematic interface diagram of a first navigation interaction scheme in the related art
  • FIG. 1c is a schematic interface diagram of a second navigation interaction scheme in the related art
  • FIG. 1d is a schematic diagram of operations when dragging a folder in the related art
  • FIG. 2 is a schematic flowchart of an implementation process of a data processing method according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of an implementation process of a data processing method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interface of a navigation gesture according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a terminal display interface switching according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an interface in which a folder is displayed in an icon form according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an interface for dragging a file according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another interface for dragging a file according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an interface when siblings are copied and moved according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an interface for abstractly displaying an intermediate level when traversing inwardly or outwardly according to an embodiment of the present application.
  • FIG. 12a is a schematic diagram of a location of a dashed response area according to an embodiment of the present application.
  • FIG. 12b is a schematic diagram of another position of a dashed response area according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a scenario in which a data processing method according to an embodiment of the present application is applied to an application;
  • FIG. 14 is a schematic flowchart of an implementation process when a picture is forwarded by using a data processing method provided by the implementation of this application;
  • 15 is a schematic flowchart of a process when a file is forwarded to a chat object in an application by using a data processing method provided in an embodiment of the present application;
  • FIG. 16 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • Fig. 1b is a schematic diagram of the interface of the first navigation interaction scheme in the related art. As shown in Fig. 1b, in this display interface, it is assumed that the user wants to enter "folder A", which is the next level of "folder A”. You can enter the next level by clicking the icon 101 on the level, and use the back and up buttons 102 to navigate back to the previous level, so as to continuously navigate between levels. When moving and copying files, you need to use the right-click menu (mouse), shortcut key (Ctrl + C), or press and hold the pop-up menu to select copy / paste (touch screen), etc.
  • mouse right-click menu
  • shortcut key Ctrl + C
  • touch screen touch screen
  • Figure 1c is a schematic diagram of the interface of the second navigation interaction scheme in related technology.
  • breadcrumb navigation is used in this scheme. The user clicks to enter the next level. When he wants to return to the previous level, When you are on the second or other level, tap the corresponding breadcrumb to return to the corresponding level. Assume that in the current display interface, if the user wants to return to the upper two levels of the directory, that is, to return to the "local disk (E)", he needs to click the breadcrumb 103 corresponding to the "local disk (E)”.
  • Use the right-click menu (mouse), shortcut key (Ctrl + C), or press and hold the pop-up menu to select copy / paste (touch screen) when moving and copying files.
  • the third navigation interaction scheme is a typical GUI interface that supports drag operations. You can drag and drop a file (folder) into another folder with the mouse.
  • the problems with the three display schemes provided in the related technology include: the first scheme uses the back and up arrows to make it difficult to identify the current hierarchy when there are many levels, which will cause navigation difficulties; the second breadcrumb scheme Although you can quickly navigate between levels, it will take up extra space, and the problem of overlength in different national languages is very serious.
  • the drag operation described in the third solution usually also supports the first and second solutions. The problem is that it generally only supports dragging between the same levels; if the user wants to drag in folders of different levels, it usually needs to open two new file instances.
  • Figure 1d is a schematic diagram of the operation when dragging a folder in the related technology.
  • FIG. 2 is a schematic diagram of an implementation process of the data processing method according to the embodiment of the present application. As shown in FIG. 2, the method includes the following steps:
  • Step S201 Based on the received first preset operation, determine a current highest level identifier in the first display data in the current display interface.
  • step S201 may be implemented by a terminal, and the terminal may be a smart terminal, such as a mobile terminal (wireless phone), a tablet computer, a notebook computer and other mobile terminal devices with wireless communication capabilities, or a desktop computer. , Desktop computers and other inconvenient mobile terminal devices.
  • the terminal includes at least a display device.
  • the display device may be a display screen, and the display screen may further be a touch display screen; when the terminal is a desktop computer
  • the display device may be a display.
  • the first preset operation is different according to the type of the terminal.
  • the terminal is an ordinary personal computer and the input device is a mouse
  • the first preset operation may be performed by a user. Mouse click on keywords.
  • the display device of the terminal is a touch-sensitive display (such as a smart phone, a tablet, or a desktop computer)
  • the first preset operation may be a touch operation performed by an operator on a screen position where a keyword is located, where the operator Including a finger, a stylus, etc.
  • the first preset operation may be a movement of a finger on a screen toward a preset area of the screen, and the first preset operation may also be a dragging of a file by a finger.
  • the folder is moved to a preset area of the screen, for example, the preset area may be a certain distance from the lower edge of the screen.
  • the first preset operation may be set in advance by a developer of the data processing method, or may be set by a user according to his own operating habits.
  • the first preset operation may be an operation, or Is a collection of operations.
  • the first display data in the current display interface may include only one level of display data, and may further include at least two levels of display data.
  • the first display data may be an identification at the current level, and a name, icon, last modification time, etc. of a file included in the current level,
  • the first display data may be shown as 501 in FIG. 5, and includes the name “folder A” of the current hierarchy, and the names, icons, and names of folder 1, file 1, and file 2 contained in “folder A”.
  • Last modified time may also be a name or icon of an application program displayed in the current display interface, or a function interface of an application currently running in the foreground.
  • the first display data may include an identification of the at least two levels and a name, icon, modification time, etc. of a file included in each level
  • the first display data may be as shown in 502 in FIG. 5, including the hierarchical identifiers “Folder B” and “Folder A”, the name of the file contained in “Folder B”, the icon, the last modification time, The name, icon, and last modification time of the files contained in "Folder A”.
  • the highest level identifier is the level identifier of that level; when the first display data includes at least two levels of display data, The highest level identifier needs to be determined from the at least two levels, where the level identifier may include the number of levels and the highest level display identifier in the first display data, for example, the level identifier may be the second Hierarchy, My Computer, or the hierarchy can be the second level, file management.
  • step S201 When the step S201 is implemented, the following steps may be implemented:
  • Step S2011 Based on the received first preset operation, obtain path information between the lowest level and the first level in the first display data.
  • Step S2012 Determine the currently highest hierarchical identifier in the first display data according to the path information.
  • the highest level identifier refers to a level with the smallest number of levels, that is, the first level is higher than the level of the second level, and the second level is higher than the level of the third level.
  • Step S202 Obtain second display data corresponding to at least one level above the level identifier.
  • the method further includes: determining a hierarchical identifier of a hierarchy higher than the hierarchical identifier according to the path information.
  • the path information is: My Computer—> Local Disk (D) —> Folder A—> Folder B—> Folder C—> File One, where the highest level in the first display data is a folder B, the level identifier is the fourth level, and the lowest level is the file one, then it can be determined by the path information, the upper level is the third level, the folder A, and the second display data can be It is considered to be information such as the name, icon, and last modification time of the files contained in the folder A.
  • the second display data may be the upper level of the "folder A", that is, the name, icon, and last modification time of the files contained in the "folder B" shown in 502.
  • the first display data may include an identification of the at least two levels and a name, icon, modification time, etc. of a file included in each level
  • the first display data may be as shown in 502 in FIG. 5, including the hierarchical identifiers “Folder B” and “Folder A”, the name of the file contained in “Folder B”, the icon, the last modification time, The name, icon, and last modification time of the files contained in "Folder A”.
  • the highest-level identifier in the first display data is "Folder B”
  • the second display data includes at least one level higher than "Folder B", that is, the names, icons, and files of the files contained in "Folder C" Last modified time.
  • the second display data may be a higher-level functional interface of the current application. As shown in FIG. 14, it is assumed that the first display data is display data corresponding to Huawei ’s chat dialog interface shown in 1402. , Then the second display data is display data corresponding to the information list interface shown in 1404.
  • the content displayed in the display interface of the terminal is dynamically changed, and the second display data may include an upper part corresponding to the hierarchical identifier.
  • the display data of one level may further include display data corresponding to the upper two levels and the upper three levels corresponding to the level identification.
  • the first The displayed data can be the name, icon, and last modification time of the file contained in "Folder B", or the name, icon, last modification time of the file contained in "Folder B", and "Folder C" "Contains the name, icon, and last modification time of the file.
  • Step S203 Nest the first display data and the second display data on the current display interface.
  • the first display data may be displayed in a first display area
  • the second display data may be displayed in a second display area.
  • the second display area includes the second display area.
  • the first display area displays the second display data as a background, or the first display area includes the second display area to display the first display data as a background.
  • step S203 when multiple levels are displayed in a nest, in order to make the display interface more concise and clear, some identification information may be mainly displayed when displaying data.
  • step S203 when step S203 is implemented, the first An identifier of display data is displayed in a first sub-region of the first display region; an identifier of the first display data is displayed in a second sub-region of the second display region; wherein the first sub-region There is no overlap with the second sub-region.
  • step S203 is implemented when Can be achieved by the following steps:
  • Step S2031 Determine the total number S of levels in the first display data.
  • Step S2032 if the total number of levels S is greater than a preset first threshold, T levels are selected from the S levels according to a preset rule, where S is a natural number greater than 2 and T is a natural number greater than 1 and less than S .
  • Step S2033 Display the first display data in the first display area and the second display data in the second display area, wherein the display data of the T levels are displayed in an icon form In the first display area.
  • T levels are selected from the S levels according to a preset rule.
  • the T levels may be selected from the S levels, starting from the highest level, and selecting T levels downwards. Alternatively, from S Starting from the lowest level, T levels are selected upwards. Of course, it is also possible to select T levels upwards from the upper level of the lowest level. It should be noted that the above method of selecting T levels is only an exemplary illustration. Those skilled in the art use the technical ideas of this application and other methods proposed by the T levels from S levels according to their specific requirements. All are within the scope of protection of this application, and are not exhaustively exhausted here.
  • a data processing method is provided. First, based on the received first preset operation, a current highest level identifier in the first display data in the current display interface is determined. Then, the previous identifier of the hierarchy is obtained. The second display data corresponding to the hierarchy; finally, the first display data and the second display data are nested and displayed on the current display interface; this enables more intuitive and efficient navigation and operation between files or applications at different levels, which improves Operational efficiency and further improved user experience.
  • the current highest level of the first display data in the current display interface may be determined according to the duration of the first preset operation at a certain interval. Mark, and further obtain second display data corresponding to at least one level above the level mark, and then display the first display data and the second display data in a nested manner on the current display interface. That is, as the first preset operation continues, the content displayed in the display interface of the terminal changes dynamically, that is, as the first preset operation continues, the display interface of the terminal follows the path Information, nesting multiple levels of display data in turn until the first preset operation is completed or until the display reaches the highest level in the path relationship.
  • the duration may be It is fixed and may also change with the duration of the first preset operation, for example, it may decrease with the duration of the first preset operation.
  • the data processing method may also be applied to a terminal having at least two display screens.
  • the first display data may be displayed on the first display.
  • the first display data and the second display data are nested and displayed on the second display interface, so that the dual-screen display can more intuitively and efficiently find or view data at a level above the current level.
  • FIG. 3 is a schematic flowchart of the data processing method according to the embodiment of the present application. As shown in FIG. 3, the method includes the following steps:
  • Step S301 The terminal starts the smart navigation interactive mode based on the received operation instruction of the user to start the smart navigation interactive mode.
  • the user can start the intelligent navigation interactive mode in various ways, for example, the user can click the button to start the intelligent navigation interactive mode in the setting interface, or can start the intelligent navigation interactive mode through a preset shortcut.
  • the shortcut may be pressing a specific touch operation area on the side of the terminal.
  • the intelligent navigation interactive mode can be activated through voice and gestures.
  • the terminal detects that the user has made an operation to start the intelligent navigation interactive mode, it considers that the user has received an operation instruction to start the intelligent navigation interactive mode, and based on the operation instruction, starts the intelligent navigation interactive mode.
  • Step S302 The terminal determines whether a first preset operation is received.
  • the first preset operation is set in advance
  • the first preset operation may be an operation for nesting and displaying a hierarchy above the highest level in the current display interface
  • the first preset operation may be Is an operation, or a collection of operations.
  • the terminal is a terminal with a touch display screen
  • the first preset operation may be a user moving an operating body (finger, stylus) from a first area of the display screen to a second area, and The holding operation body is located at the second position, wherein the second region may be a certain region set in advance; the first region may be a certain region set in advance, or a region corresponding to a certain display identifier.
  • the second area may be located at a certain distance from the lower edge of the screen, or may be a certain area from the edges around the screen.
  • the first preset operation may be a user double-clicking a mouse in a preset area, or clicking and holding a mouse in a preset area, or the user may Use the keyboard to enter preset characters and more.
  • step S303 If the terminal receives the first preset operation, the process proceeds to step S303; if the terminal does not receive the first preset operation, the process ends.
  • Step S303 The terminal determines, based on the received first preset operation, the current highest level identifier in the first display data in the current display interface.
  • step S304 the terminal obtains second display data corresponding to an upper level of the hierarchical identifier.
  • Step S305 The terminal displays the first display data in a first display area, and displays the second display data in a second display area.
  • the second display area includes the first display area to display the second display data as a background.
  • the second display area may be a display area of an entire display screen, an edge of the first display area is within the second display area, and an edge of the first display area and the second display area
  • the edge interval has a preset length.
  • the terminal if it detects that the duration of the first preset operation acting on the second region is longer than the preset duration, it proceeds to step S303 again, and sequentially executes steps S304 and S305. As shown in FIG. 5, multiple levels of data are displayed in a nested manner in the display interface.
  • step S306 the terminal determines whether a second preset operation is received.
  • the second preset operation is also set in advance, and is an operation for navigating downward from the highest level in the current display interface when the data of each level is nested and displayed.
  • the second preset operation may be Is an operation, or a collection of operations.
  • the second preset operation may be a user moving an operating body (finger, stylus) from the second region to the third region of the display screen, and
  • the holding operation body is located in a third area, where the third area is a preset area, and the third area may be the same as or different from the first area.
  • step S307 If the terminal receives the second preset operation, proceed to step S307; if the terminal does not receive the second preset operation, end the process.
  • Step S307 Display the first display data in the first display area on the second display area based on the second preset operation.
  • step S307 the first display data in the first display area may be displayed in the first display area based on the duration of the second preset operation acting on the third area at preset intervals. In this way, the second display area can be sequentially navigated downward as shown in FIG. 6 until reaching the lowest level.
  • step S308 if it is detected that the second preset operation is completed, the second display data is displayed in full screen.
  • the completion of the second preset operation may be detected by detecting whether the second preset operation is still applied to the third region. If the second preset operation is no longer applied to the third region, the second preset operation is considered to be The preset operation is completed. In other embodiments, when the operating body leaves the display screen, it can be considered that the second preset operation is completed. At this time, the second display data is displayed full screen on the display screen of the terminal.
  • the method further includes: after detecting that the first preset operation is completed, displaying the second display data in full screen on the current display interface.
  • the terminal starts the smart navigation interactive mode based on the received operation instruction of the user to start the smart navigation interactive mode. If the terminal receives the first preset operation, based on the received The first preset operation determines the current highest level identifier in the first display data in the current display interface, obtains the second display data corresponding to the upper level of the hierarchy identifier, and displays the first display data in A first display area that displays the second display data in a second display area; and if a second preset operation is received, displaying the first display data in the first display area based on the second preset operation In the second display area and when the completion of the second operation is detected, the second display data is displayed in full screen; in this way, navigation and operations between files or applications at different levels are more intuitive and efficient, and the operation efficiency is improved And the intelligent navigation interaction mode in the embodiment of the present application is compatible with the navigation interaction mode of the terminal itself, and the user can Usage switch interaction patterns, to further improve the user experience.
  • the second display data is displayed full screen on the current display interface, that is, when the operating body no longer acts on the second area
  • the first display data and the second display data may be displayed in a nested manner
  • the hierarchical information corresponding to the third preset operation is determined based on the effective area of the third preset operation; the hierarchical information is displayed in the second display area The corresponding third display data; if a fourth preset operation is detected, restoring and displaying the first display data and the second display data in a nested manner, taking FIG.
  • an embodiment of the present application further provides a data processing method, which is applied to a terminal.
  • the method includes the following steps:
  • Step 41 The terminal starts the intelligent navigation interactive mode based on the received operation instruction of the user to start the intelligent navigation interactive mode.
  • Step 42 The terminal determines whether a first preset operation is received.
  • the first preset operation acts to drag a display identifier in the first display data in the current display interface, that is, the data processing method provided in the embodiment of the present application may be used to copy a file Or drag the pictures, videos, etc. received in the application to the target level.
  • Step 43 The terminal determines, based on the first preset operation, a current highest level identifier in the first display data in the current display interface.
  • Step 44 The terminal obtains second display data corresponding to an upper level of the hierarchical identifier.
  • Step 45 The terminal displays the first display data in a first display area, and displays the second display data in a second display area.
  • the second display area includes the first display area to display the second display data as a background.
  • Step 46 Determine a target display area of the display identifier on the current display interface based on the first preset operation.
  • the target display area of the display identifier in the current display interface may be determined to drag the display identifier to be dragged to a desired location.
  • the display mark is located above the hierarchy level, or is dragged to the sibling level of the level where the display mark is located, or is dragged to the level below the level where the display mark is located.
  • Step 47 Move the display identifier into the target display area.
  • moving the display mark into the target display area can be considered as moving data corresponding to the display mark to a level where the target display area is located, for example, in the embodiment of the present application
  • the dragged is the display identifier of file one
  • the target display area is the area where the display identifier is displayed in folder B
  • the display identifier of the file one is moved to the area of the display identifier in display folder B, that is, Move file one into folder B.
  • step 47 the method further includes:
  • Step 51 output prompt information for selecting a moving mode
  • Step 52 if a third preset operation for selecting the first movement mode is detected, delete the display identifier in the Nth level;
  • the display identifier is located in the Nth level.
  • Step 53 If a fourth preset operation of selecting the second movement mode is detected, the display identifier in the N-th level is retained.
  • steps 51 to 53 when the file is dragged, it is possible to select whether to move the file or copy the file to ensure that the user can operate correctly.
  • the target display area may be determined through steps 61 to 62 to implement dragging the display mark to a level above the level where the display mark is located:
  • Step 61 When it is detected that the first preset operation is completed, display a display identifier of the second display data in the display interface.
  • Step 62 Determine an area in which the display identifier of the second display data is displayed as a target display area.
  • the target display area may be determined through steps 71 to 73 to implement dragging the display identifier to a sibling hierarchy of a hierarchy where the display identifier is located:
  • step 71 if it is detected that the display identifier moves to the second preset area, the display identifier in the lowest level m displayed in the current display interface is displayed, where the mth level includes n (m + 1) th levels. Display identification
  • Step 72 if it is detected that the display identifier is moved to the first target area in the second preset area, display in the display interface the (m + 1) th level corresponding to the first target area Display identification
  • step 73 if it is detected that the first preset operation is completed, an area displaying the display identifier in the (m + 1) th level corresponding to the first target area is determined as the target display area.
  • the target display area may be determined through steps 81 to 84 to implement dragging the display mark to a level below the level where the display mark is located:
  • Step 81 If it is detected that the display mark moves to the second preset area, display the display mark in the lowest level m displayed in the current display interface, where the mth level includes n (m + 1) th levels. Display identification
  • Step 82 If it is detected that the display identifier is moved to the first target area in the second preset area, display in the display interface the (m + 1) th level corresponding to the first target area. Display identification
  • Step 83 If it is detected that the display mark is moved to a second target area, display the display mark in the (m + 2) th level corresponding to the second target area in the current display interface;
  • Step 84 if it is detected that the first preset operation is completed, determine an area in which the display identifier in the (m + 2) -th level is displayed as a target display area.
  • the terminal starts the smart navigation interactive mode based on an operation instruction of the user to start the smart navigation interactive mode. If a first preset operation is received, it is determined based on the first preset operation.
  • the second display data displays a second display area; and then, based on the first preset operation, determining a target display area of the display identifier on the current display interface; moving the display identifier to the target display In this area, not only can each level be displayed intuitively, but also operations such as copying, moving, or forwarding pictures and videos can be conveniently and efficiently completed, which improves processing efficiency and further improves the user experience.
  • the embodiments of the present application provide a data processing method, which can be applied to a file manager, an operating system, and an application. Use it to complete the file management and navigation system more intuitively.
  • the folder organization structure is visualized in the form of thumbnails of each level. In this thumbnail view, users can navigate up or down between the current level and its ancestor levels. In addition, some convenient operations such as copying and moving files and folders can be done more intuitively in this view.
  • a navigation scheme based on a file management system is provided. Assume that in the initial state, the file manager is organized in the following hierarchy: folder E> folder D> folder C> folder B> folder A.
  • FIG. 4 is a schematic diagram of an interface of a navigation gesture according to an embodiment of the present application.
  • a visual cue box 401 ie, a dashed box
  • finger position 402 the bottom of the screen
  • the system detects that the user ’s finger is sliding outward without leaving the screen, so it is considered to be a navigation gesture, and it may be considered to continue to slide outward.
  • FIG. 5 is a schematic diagram of the terminal display interface switching in the embodiment of the present application.
  • folder A is first displayed at 502.
  • the upper-level folder B, 521 and reduced folder A, 522, and then continue to maintain, the view continues to switch to 503 and 504, so that gradually complete the continuous return navigation experience from folder A to folder D.
  • the user releases their finger they navigate to the folder of the currently displayed hierarchy.
  • the terminal interface has 601 to 604 to display the lowest level folder A.
  • FIG. 7 is a schematic diagram of an interface in which a folder is displayed in an icon form according to an embodiment of the present application. As shown in FIG. 7, because the current interface has too many levels to display, folder A is displayed in the form of icon 701 at this time.
  • Figure 8 is a schematic diagram of the interface for file dragging in the embodiment of the present application.
  • the user wants to When file two is dragged from folder A to folder B, it can be implemented in the order of 801 to 804.
  • First select file two as shown in 801, and then drag file two to the edge of the screen as shown in 802.
  • you can Seeing the drag icon followed by your finger at the dotted frame, as shown in 803, thumbnails of folder B and folder A are displayed on the terminal interface.
  • thumbnails of folder B and folder A are displayed on the terminal interface.
  • 804 when you reach the corresponding level (folder B ), Release your finger to place it under the corresponding directory.
  • FIG. 9 is another schematic diagram of the interface for dragging files in the embodiment of the present application, as shown in FIG.
  • a prompt box will pop up as shown in 901, prompting the user to confirm whether to move or copy.
  • this operation can also be completed in other forms, such as confirming whether to copy or move by pressing and holding other preset auxiliary buttons, as shown in 902. If it is just dragging, no other preset auxiliary buttons are held. , It means that the file is moved. If you want to copy, you can press and hold the preset auxiliary key (for example, hold down the Home key or the Ctrl key) as shown in 903 to complete the copy process.
  • the preset auxiliary key for example, hold down the Home key or the Ctrl key
  • FIG. 10 is a schematic diagram of an interface during copying and moving of siblings according to an embodiment of the present application.
  • the user will Select the second file in folder A, and move your finger to the lower edge of the dotted frame to hold it.
  • the folder B on the upper level of folder A is displayed on the display interface. Move outside the dashed box to activate the current level, that is, folder B. Keep your finger on the screen.
  • all files in folder B are displayed, including folder A, folder A1, and folder. A2 and folder A3.
  • the user needs to drag file two to folder A1 and hold it for a certain period of time to open the folder.
  • release your finger to complete the dragging process. Repeat this process to navigate between different levels.
  • the starting point (the innermost level) and the end point (current) may be displayed visually, and the middle level is abstract.
  • the previous file structure is organized in such a manner as folder E> folder D> folder C> folder B> folder A.
  • folder E> folder D> folder C> folder B> folder A As shown in FIG. 11, in 1101, the current folder D, the innermost folder A, and the abstract folder levels C and B between the folder D and the folder A are represented by boxes (the specific details are not shown).
  • folder D is also abstracted as a box.
  • folder E is hidden, and folder D is displayed as a specific interface by a dotted frame.
  • abstracting the intermediate interface is beneficial to see the number of layers of the folder more clearly, establish the relationship between the starting point and the ending point, and keep the user always paying attention.
  • the current folder level and the innermost folder uses a dashed box to abstract the middle level, only for the purpose of more intuitive description and expression of such ideas, but it is not limited to this.
  • the data processing method in the embodiment of the present application is initiated by dragging to the bottom, but it is not limited to this one.
  • the user can use a long press to initiate and press (a certain amount of force) ) Launch, hold down the shortcut key while dragging launch, etc.
  • the bottom dashed line response area is used and appropriate visual cues are used, but it is not limited to this area.
  • a certain area 1201 around the finger can also implement the response area, as long as the implementation condition avoids normal operations.
  • Figure 9 is the situation around the screen and the edge of the finger.
  • the data processing method provided in the embodiments of the present application can also be used in third-party applications.
  • the left picture 1301 is the main interface of the information application
  • the right picture 1302 is Is a secondary interface (click to open the chat list), there is a hierarchical relationship between the two.
  • FIG. 14 is a schematic diagram of the implementation flow when forwarding the picture using the data processing method provided by the implementation of this application, as shown in FIG. 14, 1401 It is the chat interface between user A and Xiaoming.
  • user A wants to forward the picture sent by Huaweing to Xiaohong, in the chat dialogue interface with Huaweing, press and drag the picture to the dotted frame and keep it, as shown in the figure.
  • 1403 is a thumbnail showing the hierarchy.
  • the data processing method provided by the embodiment of the present application can be used for operations, and the defined operations can be adjusted according to the application, and is not limited to copying Mobile (for example, it may also include a forwarding operation).
  • the data processing method provided in the embodiment of the present application can also be applied to operations between applications.
  • the following scenario is envisaged: "A file is found in the file manager, and the file is related to work, so it is decided to send it to a colleague.”
  • the previous method can only be shared, select an app, find the contact in the app, and then share it.
  • the degree of visualization is higher, and it is easier for users to understand which level the current directory is, and they can see the above Directory at all levels.
  • the navigation interaction scheme provided in the embodiment of the present application can be compatible with the first navigation interaction scheme in the related technology (that is, the first navigation interaction scheme is still adopted as the main navigation method, but the auxiliary navigation adopts the navigation interaction method provided in the embodiment of the application) .
  • the navigation interaction scheme provided in the embodiment of the present application can be compatible with the second navigation interaction scheme in the related technology (that is, the second navigation interaction scheme in the related technology is still adopted as the main navigation method, but the auxiliary navigation adopts the navigation provided in the embodiment of the application interactive mode).
  • the data processing method provided in the embodiments of the present application has certain universality, and is not only suitable for a file management system but also for other applications. This method can be used for navigation and quick operation even between different applications, so that not only can Allows users to navigate and operate between folder levels and applications more intuitively and efficiently, is compatible with the current folder form, and further improves the user experience.
  • FIG. 16 is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in FIG. 16, the terminal 1600 includes at least a memory 1601, a communication bus 1602, and a processor 1603, where:
  • the memory 1601 is configured to store a data processing program.
  • the communication bus 1602 is configured to implement connection and communication between the processor and the memory.
  • the processor 1603 is configured to execute a data processing program stored in the memory to implement the following steps: based on the received first preset operation, determining a current highest level identifier in the first display data in the current display interface; obtaining Second display data corresponding to an upper level of the hierarchy identifier; and displaying the first display data and the second display data in a nested manner on the current display interface.
  • an embodiment of the present application provides a computer storage medium, and the computer storage medium stores computer-executable instructions configured to execute the data processing method provided by other embodiments of the present application.
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Therefore, this application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) containing computer-usable program code.
  • a computer-usable storage media including, but not limited to, disk storage, optical storage, and the like
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种数据处理方法、终端及计算机可读存储介质,其中,所述方法包括:基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识(S201);获取所述层级标识的至少上一层级对应的第二显示数据(S202);在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据(S203)。

Description

一种数据处理方法、终端及计算机可读存储介质
交叉引用
本申请引用于2018年9月6日递交的名称为“一种数据处理方法、终端及计算机可读存储介质”的第201811038940.4号中国专利申请,其通过引用被全部并入本申请。
技术领域
本申请涉及计算机科学与技术领域,涉及但不限于一种数据处理方法、终端及计算机可读存储介质。
背景技术
目前,智能终端中的文件管理***一般是由层级的形式,树形组织,文件和文件夹逐渐嵌套层级从而组成庞大的管理***。其余的类似桌面组织等,也使用类似的结构。图1a为本申请实施例相关技术中文件管理***的示意图,如图1a所示,该文件管理***是以文件和文件夹逐层嵌套的,这种文件管理***使用传统实物存取的隐喻,例如在卧室中(层级一)放置有衣柜(层级二),衣柜下面的储物箱(层级三)中放有袜子(物品)。
该文件管理***中通常的使用操作有:进入下一级、回上一级、返回、前进、复制文件(夹)、粘贴文件(夹)、移动文件(夹)等。但在使用这种文件管理***时一些操作并不直观,例如复制/移动,返回上层等,跟用户使用实物存取的认知经验不符,不能直观的在文件夹层级间进行操作。
发明内容
为解决现有存在的技术问题,本申请实施例提供一种数据处理方法、终 端及计算机可读存储介质,解决了现有技术中用户不能直观的在不同层级件操作的技术问题,更加直观高效地不同层级的文件或应用间导航及操作,提高了操作效率,并且进一步改善了用户体验。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供一种数据处理方法,所述方法包括:基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识;获取所述层级标识的至少上一层级对应的第二显示数据;在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据。
第二方面,本申请实施例提供一种终端,所述终端至少包括存储器、通信总线和处理器,其中:所述存储器,配置为存储数据处理程序;所述通信总线,配置为实现处理器和存储器之间的连接通信;所述处理器,配置为执行存储器中存储的数据处理程序,以实现本申请其他实施例提供的数据处理方法中的步骤。
第三方面,本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行本申请其他实施例提供的数据处理方法中的步骤。
本申请实施例提供一种数据处理方法、终端及计算机可读存储介质,其中,首先基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识;然后获取所述层级标识的上一层级对应的第二显示数据;最后在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据;如此能够更加直观高效地不同层级的文件或应用间导航及操作,提高了操作效率,并且进一步改善了用户体验。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1a为本申请实施例相关技术中文件管理***的示意图;
图1b为相关技术中第一种导航交互方案的界面示意图;
图1c为相关技术中第二种导航交互方案的界面示意图;
图1d为相关技术中拖动文件夹时的操作示意图;
图2为本申请实施例数据处理方法的实现流程示意图;
图3为本申请实施例数据处理方法的实现流程示意图;
图4为本申请实施例导航手势的界面示意图;
图5为本申请实施例终端显示界面发生切换的示意图;
图6为本申请实施例终端的组成结构示意图;
图7为本申请实施例文件夹以图标形式显现的界面示意图;
图8为本申请实施例进行文件拖动的界面示意图;
图9为本申请实施例进行文件拖动的又一界面示意图;
图10为本申请实施例在兄弟层级件进行复制及移动时的界面示意图;
图11为本申请实施例将在向里遍历或向外遍历时对中间层级抽象显示的界面示意图;
图12a为本申请实施例虚线响应区的位置示意图;
图12b为本申请实施例虚线响应区的又一位置示意图;
图13为本申请实施例提供的数据处理方法应用于应用中的场景示意图;
图14为利用本申请实施提供的数据处理方法转发图片时的实现流程示意图;
图15为利用本申请实施例提供的数据处理方法将文件转发给应用中的聊天对象时的处理流程示意图;
图16为本申请实施例终端的组成结构示意图。
具体实施例
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请的具体技术方案做进一步详细描述。以下实施例 用于说明本申请,但不用来限制本申请的范围。
为了更好的理解本申请实施例,这里首先对相关技术中常用的三种传统导航交互方案进行说明。
图1b为相关技术中第一种导航交互方案的界面示意图,如图1b所示,在该显示界面中,假设用户想要进入到“文件夹A”的下一层级“文件夹一”用户需要通过点按下一层级的图标101才能进入下一层级,利用返回和向上按钮102导航返回上一层级,从而不断在层级间导航。移动和复制文件时,需要使用右键菜单(鼠标)、快捷键(Ctrl+C),或长按弹出菜单选择复制/粘贴(触摸屏)等。
图1c为相关技术中第二种导航交互方案的界面示意图,如图1c所示,在该方案中采用了面包屑的导航方式,用户通过点按进入下一层级,当想要返回上一级,上两级或其它等级时,点按对应的面包屑即可返回对应的层级。假设用户在当前显示界面中,想要回到上两级目录,即返回到“本地磁盘(E)”,需要点按“本地磁盘(E)”对应的面包屑103。移动和复制文件时使用右键菜单(鼠标)、快捷键(Ctrl+C),或长按弹出菜单选择复制/粘贴(触摸屏)等。
第三种导航交互方案为典型的GUI界面,支持拖动操作,可以将一个文件(夹)用鼠标拖放至另一个文件夹中。
相关技术中提供的三种显示方案存在的问题包括:第一种方案中通过返回和向上箭头,在层级较多时并不容易识别当前所处的层级,会造成导航困难;第二种面包屑方案虽然可以快速在层级间导航,但会占用额外空间,且不同国家语言下超长问题异常严重;第三种方案所叙述的拖动操作,通常也支持第一和第二种方案的移动操作,其存在的问题是一般只支持同一层级间的拖动;而如果用户想要在不同层级的文件夹中拖动时,通常需要新开两个文件实例。图1d为相关技术中拖动文件夹时的操作示意图,如图1d所示,当用户将FOTA.png从D盘移动到E盘时,需要打开两个文件管理器104和105,才能直接将FOTA.png从D盘拖动到E盘,但在手机等小屏幕较小的设备中,无法支持新开两个实例。
实施例一
本申请实施例提供一种数据处理方法,图2为本申请实施例数据处理方法的实现流程示意图,如图2所示,所述方法包括以下步骤:
步骤S201,基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识。
这里,所述步骤S201可以是由终端实现的,所述终端可以是智能终端,例如可以是移动电话(手机)、平板电脑、笔记本电脑等具有无线通信能力的移动终端设备,还可以是台式计算机、桌面电脑等不便移动的智能终端设备。所述终端至少包括显示装置,当所述终端为智能手机、平板电脑等移动终端时,所述显示装置可以是显示屏幕,所述显示屏幕还可以进一步是触控显示屏;当终端为台式计算机时,所述显示装置可以是显示器。
在实现的过程中,所述第一预设操作根据终端的类型而有所不同,例如,当终端为普通的个人计算机,且输入设备为鼠标时,所述第一预设操作可以是用户通过鼠标点击关键词的操作。当终端的显示设备为触控式显示屏(例如智能手机、平板电脑、桌面式电脑)时,所述第一预设操作可以为操作体对关键词所在屏幕位置的触控操作,其中操作体包括手指、触控笔等,在本实施例中,所述第一预设操作可以是手指在屏幕上向屏幕的预设区域移动,所述第一预设操作还可以是手指拖动一个文件或者文件夹向屏幕的预设区域移动,例如所述预设区域可以是距离屏幕的下边缘一定距离的区域。
所述第一预设操作可以是由所述数据处理方法的开发人员预先设置好的,还可以是用户根据自身的操作习惯自行设置的,所述第一预设操作可以是一个操作,也可以是一系列操作的集合。
在一实施例中,所述当前显示界面中的第一显示数据中可以只包括一个层级的显示数据,还可以包括至少两个层级的显示数据。当所述第一显示数据只包括一个层级的显示数据时,所述第一显示数据可以是在当前层级的标识,以及当前层级中所包含的文件的名称、图标、最后一次修改时间等等,例如第一显示数据可以如图5中的501所示,包括当前层级的名称“文件夹A”,以及 “文件夹A”中所包含的文件夹一、文件一和文件二的名称、图标和最后一次修改时间。所述第一显示数据还可以是在当前显示界面中所显示的应用程序的名称、图标,或者是当前在前台运行的应用的一个功能界面。当所述第一显示数据中包括至少两个层级的显示数据中,所述第一显示数据可以包括所述至少两个层级的标识以及每一层级所包含的文件的名称、图标、修改时间等,例如第一显示数据可以如图5中的502所示,包括层级标识“文件夹B”和“文件夹A”、“文件夹B”中包含的文件的名称、图标、最后一次修改时间、“文件夹A”中包含的文件的名称、图标、最后一次修改时间。需要说明的是,由于“文件夹B”和“文件夹A”中所包含的文件的名称、图标、最后一次修改时间等信息是嵌套显示,因此,在502中,“文件夹B”中包含的文件的的名称、图标、最后一次修改时间被“文件夹A”中包含的文件的名称、图标、最后一次修改时间所遮挡。
应说明的是,当第一显示数据中只包括一个层级的显示数据时,所述最高的层级标识即为该层级的层级标识;当第一显示数据中包括至少两个层级的显示数据时,需要从所述至少两个层级中确定最高的层级标识,其中,所述层级标识可以包括所处层级数和所述第一显示数据中最高层级的显示标识,例如所述层级标识可以是第2层级,我的电脑,或者所述层级可以是第2层级,文件管理。
所述步骤S201在实现时,可以通过以下步骤实现:
步骤S2011,基于接收到的第一预设操作,获取所述第一显示数据中最低层级与第1层级之间的路径信息。
步骤S2012,根据所述路径信息,确定所述第一显示数据中当前最高的层级标识。
需要说明的是,在本申请实施例中,最高的层级标识是指层级数最小的一个层级,也就是说第1层级比第2层级的层级高,第2层级比第3层级的层级高。
步骤S202,获取所述层级标识的至少上一层级对应的第二显示数据。
这里,在所述步骤S202之前,所述方法还包括:根据所述路径信息,确定所述层级标识的上一层级的层级标识。例如,所述路径信息为:我的电脑—>本地磁盘(D)—>文件夹A—>文件夹B—>文件夹C—>文件一,其中,第一显示数据中最高层级为文件夹B,层级标识为第4层级,最低层级为文件一,那么可以通过所述路径信息确定,所述最高层级的上一层级为第3层级,文件夹A,此时所述第二显示数据可以认为是文件夹A中所包含的文件的名称、图标、最后一次修改时间等信息。
当第一显示数据为图5中的501所示的包括当前层级的名称“文件夹A”,以及“文件夹A”中所包含的文件夹一、文件一和文件二的名称、图标和最后一次修改时间的数据时,那么第二显示数据可以是“文件夹A”的上一层级,也就是502所示的“文件夹B”中所包含的文件的名称、图标和最后一次修改时间。
当所述第一显示数据中包括至少两个层级的显示数据中,所述第一显示数据可以包括所述至少两个层级的标识以及每一层级所包含的文件的名称、图标、修改时间等,例如第一显示数据可以如图5中的502所示,包括层级标识“文件夹B”和“文件夹A”、“文件夹B”中包含的文件的名称、图标、最后一次修改时间、“文件夹A”中包含的文件的名称、图标、最后一次修改时间。第一显示数据中最高层级标识为“文件夹B”,那么第二显示数据为至少包括“文件夹B”的上一层级,也就是“文件夹C”中所包含的文件的名称、图标和最后一次修改时间。
在其他实施例中,所述第二显示数据可以是当前应用的上一层级的功能界面,如图14所示,假设第一显示数据为1402所示的与小明的聊天对话界面对应的显示数据,那么第二显示数据为1404所示的信息列表界面对应的显示数据。
在其他实施例中,当所述第一预设操作持续作用在预设区域时,终端的显示界面中显示的内容是动态变化的,所述第二显示数据可以包括所述层级标识对应的上一层级的显示数据,还可以包括所述层级标识对应的上两个层级、 上三个层级对应的显示数据,例如,在图5中,当第一预设操作持续作用在预设区域,第二显示数据可以是“文件夹B”中包含的文件的名称、图标、最后一次修改时间,还可以是“文件夹B”中包含的文件的名称、图标、最后一次修改时间以及“文件夹C”中包含的文件的名称、图标、最后一次修改时间。
步骤S203,在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据。
这里,所述步骤S203在实现时,可以是将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域;其中,所述第二显示区域包含所述第一显示区域,以将所述第二显示数据作为背景显示,或者,所述第一显示区域包含所述第二显示区域,以将所述第一显示数据作为背景显示。
在其他实施例中,当嵌套显示多个层级时,为了使显示界面更加简洁清晰,可以在显示数据时主要显示一些标识信息,此时所述步骤S203在实现时,可以是将所述第一显示数据的标识显示在所述第一显示区域的第一子区域;将所述第一显示数据的标识显示在所述第二显示区域的第二子区域;其中,所述第一子区域和所述第二子区域没有重合部分。
在其他实施例中,当嵌套显示多个层级时,还可以从要显示的多个层级中选择出一些层级,将这些层级的显示数据以图标形式显示,此时所述步骤S203在实现时,可以通过以下步骤实现:
步骤S2031,确定所述第一显示数据中的层级总数S。
步骤S2032,如果所述层级总数S大于预设的第一阈值,从S个层级中按照预设规则选取出T个层级,其中,S为大于2的自然数,T为大于1且小于S的自然数。
步骤S2033,将所述第一显示数据显示在所述第一显示区域,将所述第二显示数据显示在所述第二显示区域,其中,将所述T个层级的显示数据以图标形式显示在所述第一显示区域。
在步骤S2032中,从S个层级中按照预设规则选取出T个层级,在实现时可以是,从S个层级中,从最高层级开始,向下选取T个层级;还可以是, 从S个层级中从最低层级开始,向上选取T个层级,当然也可以是从最低层级的上一级开始,向上选取T个层级。需要说明的是,以上选取出T个层级的方式仅为示例性说明,本领域技术人员利用本申请的技术思想,根据其具体需求所提出的其它从S个层级中选取出T个层级的方式均在本申请的保护范围内,在此不进行一一穷举。
在本申请实施例提供一种数据处理方法中,首先基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识;然后获取所述层级标识的上一层级对应的第二显示数据;最后在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据;如此能够更加直观高效地不同层级的文件或应用间导航及操作,提高了操作效率,并且进一步改善了用户体验。
在本申请实施例中,所述数据处理方法在实现时,可以是根据所述第一预设操作的持续时长,间隔一定的时长来确定当前显示界面中的第一显示数据中当前最高的层级标识,并进而获取所述层级标识的至少上一层级对应的第二显示数据,然后在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据。也就是说,随着所述第一预设操作的持续作用,终端的显示界面中显示的内容是动态变化的,即随着第一预设操作的持续作用,在终端的显示界面上按照路径信息,依次嵌套多个层级的显示数据,直至第一预设操作完成或者直至显示至路径关系中最高层级。
需要说明的是,当第一预设操作持续作用于预设区域,间隔一定的时长来执行后续操作,例如确定当前显示界面中的第一显示数据中当前最高的层级标识等,所述时长可以是固定不变的,还可以是随着第一预设操作的持续时长变化的,例如可以是随着第一预设操作的持续时间递减的。
在本申请其他实施例中,所述数据处理方法还可以应用于具有至少两个显示屏幕的终端,此时,在所述步骤S202之后可以是,将所述第一显示数据显示在第一显示界面,将所述第一显示数据和所述第二显示数据嵌套显示在第二显示界面,这样,可以通过双屏显示更加直观、高效地查找或查看当前层级以上层级的数据。
实施例二
基于前述的实施例,本申请实施例再提供一种数据处理方法,应用于终端,图3为本申请实施例数据处理方法的实现流程示意图,如图3所示,所述方法包括以下步骤:
步骤S301,终端基于接收到的用户启动智能导航交互模式的操作指令,启动智能导航交互模式。
这里,在本实施例中,用户可通过多种方式启动智能导航交互模式,例如:可以通过在设置界面中点击启动智能导航交互模式的按钮,也可以通过预先设置的快捷方式启动智能导航交互模式,例如,该快捷方式可以为按压终端侧边的特定触摸操作区域。另外还可通过语音以及手势等启动智能导航交互模式。当终端检测到用户做出了启动智能导航交互模式的操作时,则认为接收到用户启动智能导航交互模式的操作指令,基于所述操作指令,启动智能导航交互模式。
步骤S302,所述终端判断是否接收到第一预设操作。
这里,所述第一预设操作是预先设置好的,所述第一预设操作可以是用于嵌套显示当前显示界面中最高层级之上的层级的操作,所述第一预设操作可以是一个操作,也可以是一系列操作的集合。例如,当所述终端为具有触控显示屏的终端时,所述第一预设操作可以是用户将操作体(手指、触控笔)从显示屏的第一区域移动至第二区域,并保持操作***于第二位置,其中,第二区域可以是预先设置好的某一区域;第一区域可以是预先设置好的某一区域,还可以是某一显示标识对应的区域。例如,所述第二区域可以位于距离屏幕下边缘一定距离的区域,还可以是距离屏幕四周的边缘的一定区域。当所述终端为利用鼠标和键盘作为输入设备的终端时,所述第一预设操作可以是用户在预设区域双击鼠标,或者在某一预设区域点击鼠标不放,还可以是用户通过键盘输入预设字符等等。
如果所述终端接收到第一预设操作,进入步骤S303;如果所述终端没有接收到第一预设操作,结束流程。
步骤S303,所述终端基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识。
步骤S304,所述终端获取所述层级标识的上一层级对应的第二显示数据。
步骤S305,所述终端将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域。
这里,所述第二显示区域包含所述第一显示区域,以将所述第二显示数据作为背景显示。这里,所述第二显示区域可以是整个显示屏的显示区域,所述第一显示区域的边缘在所述第二显示区域内,且所述第一显示区域的边缘与所述第二显示区域的边缘间隔预设长度。
在其他实施例中,如果所述终端检测到所述第一预设操作作用于第二区域的持续时长大于预设时长时,再次进入步骤S303,并依次执行步骤S304和步骤S305,如此可以如图5所示在显示界面中依次嵌套显示多个层级的数据。
步骤S306,所述终端判断是否接收到第二预设操作。
这里,所述第二预设操作也是预先设置好的,是用于在嵌套显示各个层级的数据时,从当前显示界面中的最高层级向下导航的操作,所述第二预设操作可以是一个操作,也可以是一系列操作的集合。例如,当所述终端为具有触控显示屏的终端时,所述第二预设操作可以是用户将操作体(手指、触控笔)从显示屏的第二区域移动至第三区域,并保持操作***于第三区域,其中,第三区域是预先设置好的某一区域,第三区域可以与第一区域相同,也可以与第一区域不同。
如果所述终端接收到所述第二预设操作,进入步骤S307;如果所述终端没有接收到所述第二预设操作,结束流程。
步骤S307,基于所述第二预设操作,将所述第一显示区域中的第一显示数据显示在所述第二显示区域。
这里,所述步骤S307在实现时,可以是基于所述第二预设操作作用于第三区域的持续时长,每间隔预设时长,将所述第一显示区域中的第一显示数 据显示在所述第二显示区域,如此,可以如图6所示,依次向下导航直至到达最低层级。
步骤S308,如果检测到所述第二预设操作完成,全屏显示所述第二显示数据。
这里,检测所述第二预设操作完成可以是通过检测第二预设操作是否还作用于第三区域,如果所述第二预设操作不再作用于第三区域,则认为所述第二预设操作完成,在其他实施例中,当所述操作体离开所述显示屏可以认为是第二预设操作完成,此时将第二显示数据在所述终端的显示屏上全屏显示。
这里,在其他实施例中,在所述步骤S305之后,所述方法还包括:当检测到第一预设操作完成后,在所述当前显示界面上全屏显示所述第二显示数据。
需要说明的是,本实施例中与其它实施例中相同步骤或概念的解释可以参考其它实施例中的描述。
在本申请实施例提供的数据处理方法中,首先终端基于接收到的用户启动智能导航交互模式的操作指令,启动智能导航交互模式,如果所述终端接收到第一预设操作,基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识,并获取所述层级标识的上一层级对应的第二显示数据,再将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域;如果接收到第二预设操作,基于所述第二预设操作,将所述第一显示区域中的第一显示数据显示在所述第二显示区域,并在检测到所述第二操作完成时,全屏显示所述第二显示数据;如此,更加直观高效地不同层级的文件或应用间导航及操作,提高了操作效率,并且本申请实施例中的智能导航交互模式是与终端本身的导航交互模式兼容的,用户可以根据自身的使用习惯进行交互模式的切换,进一步改善了用户体验。
在上述实施例中,在检测到所述第一预设操作完成后,会在所述当前显示界面上全屏显示所述第二显示数据,也就是说,当操作体不再作用于第二区域时,就不再嵌套显示各个层级的数据,在其他实施例中,在检测到所述第一 预设操作完成后,还可以保持嵌套显示第一显示数据和第二显示数据,并在此之后,如果检测到第三预设操作,基于所述第三预设操作的作用区域,确定所述第三预设操作对应的层级信息;在所述第二显示区域中显示所述层级信息对应的第三显示数据;如果检测到第四预设操作,恢复嵌套显示所述第一显示数据和第二显示数据,以图5为例,在显示到504时,如果检测到第一预设操作完成,依然在显示界面上显示504,如果在文件夹C所在的显示区域内检测到第三预设操作,可以确定所述第三预设操作对应的第二层级关系为第3层级,文件夹C,此时在第二显示区域中显示文件夹C中的数据,如果检测到第四预设操作,可以再恢复到504所示的显示界面。
实施例三
基于前述的实施例,本申请实施例再提供一种数据处理方法,应用于终端,所述方法包括以下步骤:
步骤41,终端基于接收到的用户启动智能导航交互模式的操作指令,启动智能导航交互模式。
步骤42,所述终端判断是否接收到第一预设操作。
这里,在本申请实施例中,所述第一预设操作作用于拖曳当前显示界面中的第一显示数据中的显示标识,也就是说,本申请实施例提供的数据处理方法可用于将文件或者应用中接收到的图片、视频等拖动至目标层级中。
步骤43,所述终端基于所述第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识。
步骤44,所述终端获取所述层级标识的上一层级对应的第二显示数据。
步骤45,所述终端将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域。
这里,所述第二显示区域包含所述第一显示区域,以将所述第二显示数据作为背景显示。
需要说明的是,本实施例步骤43至步骤45的实现方式可以参考其它实施例中步骤S303至步骤S305的实现过程。
步骤46,基于所述第一预设操作,确定所述显示标识在所述当前显示界面上的目标显示区域。
这里,利用本申请实施例提供的数据处理方法实现拖动显示标识时,可以通过确定所述显示标识在所述当前显示界面中的目标显示区域来实现将待拖动的显示标识拖动至所述显示标识所在层级之上的层级中,或者拖动至所述显示标识所在层级的兄弟层级中,或者拖动至所述显示标识所在层级以下的层级中。
步骤47,将所述显示标识移动至所述目标显示区域内。
这里,需要说明的是,将所述显示标识移动至所述目标显示区域内,可以认为是将所述显示标识对应的数据移动至目标显示区域所在的层级中,例如,在本申请实施例中拖动的是文件一的显示标识,所述目标显示区域为显示文件夹B中的显示标识的区域,将所述文件一的显示标识移动至显示文件夹B中的显示标识的区域,也就是将文件一移动至文件夹B中。
在其他实施例中,在所述步骤47之后,所述方法还包括:
步骤51,输出选择移动方式的提示信息;
步骤52,如果检测到选择第一种移动方式的第三预设操作,将第N层级中的显示标识删除;
其中,在终端接收到第一预设操作之前,所述显示标识位于第N层级中。
步骤53,如果检测到选择第二种移动方式的第四预设操作,保留所述第N层级中的显示标识。
在步骤51至步骤53所在的实施例中,可以在拖动文件时选择是移动文件还是复制文件,以保证用户能够正确操作。
在本实施例中,可以通过步骤61至步骤62来确定目标显示区域,以实现将所述显示标识拖动至所述显示标识所在层级之上的层级中:
步骤61,当检测到第一预设操作完成,在所述显示界面中显示第二显示数据的显示标识;
步骤62,将所述显示所述第二显示数据的显示标识的区域确定为目标显示区域。
在本实施例中,可以通过步骤71至步骤73来确定目标显示区域,以实现将所述显示标识拖动至所述显示标识所在层级的兄弟层级中:
步骤71,如果检测到所述显示标识移动至第二预设区域,显示当前显示界面中显示的最低层级m中的显示标识,其中,在第m层级中包括n个第(m+1)层级的显示标识;
步骤72,如果在所述第二预设区域检测到将所述显示标识移动到第一目标区域,在所述显示界面中显示所述第一目标区域对应的第(m+1)层级中的显示标识;
步骤73,如果检测到所述第一预设操作完成,将显示所述第一目标区域对应的第(m+1)层级中的显示标识的区域确定为目标显示区域。
在本申请实施例中,可以通过步骤81至步骤84来确定目标显示区域,以实现将所述显示标识拖动至所述显示标识所在层级以下层级中:
步骤81,如果检测到所述显示标识移动至第二预设区域,显示当前显示界面中显示的最低层级m中的显示标识,其中,在第m层级中包括n个第(m+1)层级的显示标识;
步骤82,如果在所述第二预设区域检测到将所述显示标识移动到第一目标区域,在所述显示界面中显示所述第一目标区域对应的第(m+1)层级中的显示标识;
步骤83,如果检测到将所述显示标识移动到第二目标区域,在所述当前显示界面中显示所述第二目标区域对应的第(m+2)层级中的显示标识;
步骤84,如果检测到所述第一预设操作完成,将显示所述第(m+2)层级中的显示标识的区域确定为目标显示区域。
在本申请实施例提供的数据处理方法中,首先终端基于用户启动智能导航交互模式的操作指令,启动智能导航交互模式,如果接收到第一预设操作,基于所述第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层 级标识;并进一步获取所述层级标识的上一层级对应的第二显示数据;再将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域;然后基于所述第一预设操作,确定所述显示标识在所述当前显示界面上的目标显示区域;将所述显示标识移动至所述目标显示区域内;如此,不仅能够直观的显示各个层级,还可以方便高效的完成复制、移动或者转发图片、视频等操作,提高了处理效率,进一步提升用户体验。
实施例四
本申请实施例提供了一种数据处理方法,可作用于文件管理器、操作***以及应用。使用其可更直观操作地完成文件管理与导航***。通过手势或其它方式激发,利用各层级缩略图的形式可视化展现文件夹组织结构,在此缩略图视图下,用户可以在当前层级及其祖辈层级之间向上或向下导航。此外,还可以在此视图下更直观地完成一些便捷操作,例如复制及移动文件和文件夹等。
在本申请实施例中,提供一种基于文件管理***的导航方案。假设在初始状态下,文件管理器按照如下层级组织:文件夹E>文件夹D>文件夹C>文件夹B>文件夹A。
图4为本申请实施例导航手势的界面示意图,用户手指在屏幕上向屏幕边缘移动时,即出现如图4所示的视觉暗示框401(即虚线框),移动到屏幕的底部(手指位置为402),即虚线框的下边缘并保持固定(不离开屏幕)。***侦测到用户手指向外滑动趋势而又未离开屏幕,从而认为这是一个导航手势,并可认为其有继续向外滑动趋势。
在此状态下,随着时间保持,视图进行切换,图5为本申请实施例终端显示界面发生切换的示意图,如图5中501所示,当监测到导航手势,首先在502显示文件夹A的上一层级的文件夹B 521及缩小文件夹A 522,再继续保持,视图继续切换为至503和504,这样就逐渐完成从文件夹A一直到文件夹D的不断返回式导航经历。当用户释放手指时,即导航到当前显示的层级的文件夹。
如果在某一层级手指向上移动并停留在虚线框上边缘并保持,***将沿路径向下导航,一直到最底层停止(即文件夹A)。如图6所示,终端界面有601一直切换到604显示最低层级的文件夹A。
需要说明的是,当层级过多,超出显示范围,其一部分文件夹将以图标的形式显现,但导航的方式不变,触发到可以显示时仍然会继续显示为缩略视图。图7为本申请实施例文件夹以图标形式显现的界面示意图,如图7所示,由于当前界面要显示的层级过多,此时将文件夹A以图标701的形式显示。
在初始状态时,如果用户手指按住文件并拖动至屏幕边缘,同样会触发导航操作,图8为本申请实施例进行文件拖动的界面示意图,如图8所示,当用户想要将文件二由文件夹A拖动至文件夹B时,可以按照801到804的顺序实现,首先如801所示先选中文件二,然后如802所示将文件二拖动至屏幕边缘,此时可以看到拖动图标跟随手指在虚线框处,再如803所示,在终端界面上会显示文件夹B和文件夹A的缩略图,最后如804所示,当到达对应的层级(文件夹B)时,释放手指,即可将其放置在对应的目录之下。
如上所述的实施例中给出了移动文件及文件夹的情况,但此操作并不仅限于移动,对于复制仍然有效,图9为本申请实施例进行文件拖动的又一界面示意图,如图9所示,在拖动结束时,会如901所示弹出一个提示框,提示用户确认是移动还是复制。同样的,还可以采用其它形式完成此操作,例如通过是否按住其它预设的辅助按键来确认复制还是移动等,如902所示,如果仅仅是拖动,没有按住其他预设的辅助按键,则表示是将文件进行移动,如果想要复制,则可以如903所示,按住预设的辅助按键(例如按住Home键或者Ctrl键),可完成复制过程。
图10为本申请实施例在兄弟层级件进行复制及移动时的界面示意图,如图10所示,当在兄弟层级间进行复制及移动时,首先,如1001所示,用户用手指将要移动的文件夹A中的文件二选中,并将手指移动到虚线框的下边缘保持,此时会如1002所示,在显示界面上显示文件夹A的上一层级的文件夹B,然后再将手指移动到虚线框外即激活当前层级,也就是文件夹B,保持手指不 离开屏幕,此时会如1003所示,显示文件夹B中的所有文件,包括文件夹A、文件夹A1、文件夹A2和文件夹A3,假设用户想要将文件二拖动至文件夹A的兄弟层级的文件夹A1,用户需要将文件二拖动至文件夹A1并保持一定时长,即可打开该文件夹,如1004所示,然后松开手指,即可完成拖动过程。如此反复即可在不同层级间完成导航。
在本申请实施例中,在当前文件夹与最里层文件间之间建立关键路径时,如果中间的层级过多会影响显示,可以当达到一定层级时,将更里层的一部分抽象为图标。在其他实施例中,如果层级过多时,还可以将起点(最里层)和终点(当前)具象显示,而中间层级抽象。例如之前的文件结构按照:文件夹E>文件夹D>文件夹C>文件夹B>文件夹A这样的方式组织。如图11所示,在1101中遍历到当前的文件夹D,最里层文件夹A,在文件夹D和文件夹A之间抽象的文件夹层次C和B用框表示(并不显示具体的界面),如果继续往外遍历(如1102所示),可以看到文件夹D也被抽象为框。反之,从1102往1101遍历(往里遍历时),当前文件夹由文件夹E变为文件夹D,则文件夹E被隐藏,而文件夹D则由虚线框显示为具体的界面。在此实施例中,将中间界面抽象有利于更清晰地看清文件夹的层数,建立起点和终点间的关联关系,让用户始终关注。当前文件夹层级以及最里层文件夹。需要注意的是,本实施例使用虚线框抽象中间层级,只是为了叙述更直观以及表达此种思想,但实际上并不限于此。
需要说明的是,在本申请实施例中的数据处理方法是采用向底部拖动的方式发起的,但实际上并不限于这一种,例如,用户可以采用长按发起、重压(一定力度)发起,按住快捷键同时拖动发起等。
需要说明的是,在本申请实施例中采用的是底部虚线响应区并作适当的视觉暗示,但并不限定于此区域,如图12a所示,虚线响应区还可以在屏幕四周,如图12b所示,手指周围某一区域1201也可实施该响应区域,只要该实施条件避开常规操作即可。例如图九是在屏幕四周及手指边缘的情况。
本申请实施例提供的数据处理方法还可使用于第三方应用,以一个信 息类的应用举例,如图13所示的应用场景中,左图1301是信息应用的主界面,而右图1302则是次级界面(点开的聊天列表),二者存在层级关系。
假设在用户A与同事小明的聊天中,小明发送了一张图片,而用户A将这张图片转发给另一位同事小红。利用本申请实施例提供的数据处理方法用户A将小明发送的图片转发给小红时,图14为利用本申请实施提供的数据处理方法转发图片时的实现流程示意图,如图14所示,1401为用户A与小明的聊天界面,当用户A想要将小明发送的图片转发给小红时,可以在与小明的聊天对话界面中,按住图片并拖动至虚线框处并保持,如图14中的1402所示,1403为出现表示层级的缩略图,在到达顶层时移出框外,即到达第四图(即1404),然后拖动至小红列表处释放,即完成将小明发送的图片转发给小红的操作,即图13中的第五图(1405)。
在应用中只要建立了最顶层级以及当前层级之间清晰路径关系,则可使用本申请实施例提供的数据处理方法来进行操作,对于所定义的操作则可根据应用调整,并不局限于复制移动(例如还可以包括转发操作)。
本申请实施例提供的数据处理方法还可以应用于应用程序之间的操作,设想如下情境:“在文件管理器中找到某文件,该文件是与工作相关的,于是决定发送给同事”。之前的做法只能通过分享,选择某个应用,再在该应用中找到该联系人,然后分享出去。
在利用本申请实施例提供的数据处理方法来实现时,当我们想把文件夹A下的“文件一”通过信息应用分享给小红,可以首先将“文件一”拖动到虚线框处沿并保持(如图15中的1501所示),然后继续保持此时会出现文件A的上一层级的文件夹,即文件夹B(如图15中的1502所示),如果手指一直保持在虚线框边缘处,则会一直回到顶层(如图15中的1503所示),在本实施例中,顶层是指桌面,而并非应用的根目录。然后将手指移出虚线框的位置,则在显示界面上显示顶层的桌面界面(如图15中的4104所示),再在桌面上找到信息应用,将文件一拖动到信息应用上并保持(如图15中的1505所示),此时后台会触发打开信息应用的操作(如图15中的1506所示),移动手指到聊天对 象列表的小红处释放,即代表将“文件一”发送给小红(如图15中的1507所示)。
在涉及到不同应用中的导航操作时,需要预先把各种应用抽象出各个层级,然后在起始应用中逐渐向上导航,在到达顶层(一般是桌面)后,寻找目标应用,然后一层一层往下导航,当到达想要的目标应用的某个层级后,释放即触发最终的操作。
与相关技术中第一种导航交互方案相比,利用本申请实施例提供的数据处理方法进行操作时,可视化程度更高,用户更容易理解当前目录是处于哪一级,且可以看到以上的各级目录。且本申请实施例提供的导航交互方案可以兼容相关技术中第一种导航交互方案(即仍然采用第一中导航交互方案作为主导航方式,但辅助导航采用本申请实施例提供的导航交互方式)。
与相关技术中第二种导航交互方案相比,利用本申请实施例提供的数据处理方法进行操作时,并不占用额外空间,可以快速逐级向上或向下遍历目录,而相关技术中第二种导航交互方案仅可向上遍历。且本申请实施例提供的导航交互方案可以兼容相关技术中第二种导航交互方案(即仍然采用相关技术中第二种导航交互方案作为主导航方式,但辅助导航采用本申请实施例提供的导航交互方式)。
与相关技术中第三种导航交互方案相比,利用本申请实施例提供的数据处理方法进行操作时,复制移动的操作非常高效、用户并不需要记住快捷键,而拖动的方式也符合用户在实物世界里操作的心理模型。
本申请实施例提供的数据处理方法具有一定的普适性,不仅适用于文件管理***,还适用于其它应用,甚至在不同应用之间也可使用此种方式进行导航和快捷操作,从而不仅可以让用户以更直观更高效的在文件夹层级间以及应用之间导航及操作,并与当前的文件夹形式兼容,并且进一步改善了用户体验。
实施例五
本实施例提供一种终端,图16为本申请实施例终端的组成结构示意图, 如图16所示,所述终端1600至少包括、存储器1601、通信总线1602和处理器1603,其中:
所述存储器1601,配置为存储数据处理程序。
所述通信总线1602,配置为实现处理器和存储器之间的连接通信。
所述处理器1603,配置为执行存储器中存储的数据处理程序,以实现以下步骤:基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识;获取所述层级标识的上一层级对应的第二显示数据;在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据。
需要说明的是,以上终端实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果,因此不做赘述。对于本申请终端实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。
对应地,本申请实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行本申请其他实施例提供的数据处理方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。

Claims (13)

  1. 一种数据处理方法,应用于终端,所述方法包括:
    基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识;
    获取所述层级标识的至少上一层级对应的第二显示数据;
    在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据。
  2. 根据权利要求1中所述的方法,其中,基于接收到的第一预设操作,确定当前显示界面中的第一显示数据中当前最高的层级标识,包括:
    基于接收到的第一预设操作,获取所述第一显示数据对应的路径信息;
    根据所述路径信息,确定所述第一显示数据中当前最高的层级标识。
  3. 根据权利要求1中所述的方法,其中,在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据,包括:
    将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域;
    其中,所述第二显示区域包含所述第一显示区域,以将所述第二显示数据作为背景显示,或者,所述第一显示区域包含所述第二显示区域,以将所述第一显示数据作为背景显示。
  4. 根据权利要求3中所述的方法,其中,在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据,包括:
    将所述第一显示数据的标识显示在所述第一显示区域的第一子区域;
    将所述第一显示数据的标识显示在所述第二显示区域的第二子区域;
    其中,所述第一子区域和所述第二子区域没有重合部分。
  5. 根据权利要求3中所述的方法,其中,所述将所述第一显示数据显示在第一显示区域,将所述第二显示数据显示第二显示区域,包括:
    确定所述第一显示数据中的层级总数S;
    如果所述层级总数S大于预设的第一阈值,从S个层级中按照预设规则选取出T个层级,其中,S为大于2的自然数,T为大于1且小于S的自然数;
    将所述第一显示数据显示在所述第一显示区域,将所述第二显示数据显示在所述第二显示区域,其中,将所述T个层级的显示数据以图标形式显示在所述第一显示区域。
  6. 根据权利要求1中所述的方法,其中,所述第一预设操作作用于拖曳所述第一显示数据或第二显示数据中的显示标识,所述方法还包括:
    基于所述第一预设操作,确定所述显示标识在所述当前显示界面上的目标显示区域;
    将所述显示标识移动至所述目标显示区域内。
  7. 根据权利要求6中所述的方法,其中,基于所述第一预设操作确定所述显示标识在所述当前显示界面上的目标显示区域,包括:
    如果检测到所述显示标识移动至第二预设区域,显示当前显示界面中显示的最高层级m中的显示标识,其中,在第m层级中包括n个第(m+1)层级的显示标识;
    如果在所述第二预设区域检测到将所述显示标识移动到第一目标区域,在所述显示界面中显示所述第一目标区域对应的第(m+1)层级中的显示标识;
    如果检测到所述第一预设操作完成,将显示所述第一目标区域对应的第(m+1)层级中的显示标识的区域确定为目标显示区域。
  8. 根据权利要求7中所述的方法,其中,在所述显示界面中显示所述第一目标区域对应的第(m+1)层级中的显示标识之后,所述方法还包括:
    如果检测到将所述显示标识移动到第二目标区域,在所述当前显示界面中显示所述第二目标区域对应的第(m+2)层级中的显示标识;
    如果检测到所述第一预设操作完成,将显示所述第(m+2)层级中的显示标识的区域确定为目标显示区域。
  9. 根据权利要求1中所述的方法,其中,在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据的步骤之后,所述方法还包括:
    当检测到第一预设操作完成后,在所述当前显示界面上全屏显示所述第二显示数据。
  10. 根据权利要求3中所述的方法,其中,如果所述第二显示区域包含所述第一显示区域,在所述当前显示界面上嵌套显示所述第一显示数据和第二显 示数据的步骤之后,所述方法还包括:
    如果检测到第二预设操作,基于所述第二预设操作,将所述第一显示区域中的第一显示数据显示在所述第二显示区域。
  11. 根据权利要求3中所述的方法,其中,在所述当前显示界面上嵌套显示所述第一显示数据和第二显示数据的步骤之后,所述方法还包括:
    如果检测到第三预设操作,基于所述第三预设操作作用的区域,确定所述第三预设操作对应的层级信息;
    在所述第二显示区域中显示所述层级信息对应的第三显示数据。
  12. 一种终端,所述终端至少包括存储器、通信总线和处理器,其中:
    所述存储器,配置为存储数据处理程序;
    所述通信总线,配置为实现处理器和存储器之间的连接通信;
    所述处理器,配置为执行存储器中存储的数据处理程序,以实现以下权利要求1至11中数据处理方法中的步骤。
  13. 一种计算机可读存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令配置为执行上述权利要求1至11中任一项提供的数据处理方法中的步骤。
PCT/CN2019/099791 2018-09-06 2019-08-08 一种数据处理方法、终端及计算机可读存储介质 WO2020048286A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811038940.4 2018-09-06
CN201811038940.4A CN110879798A (zh) 2018-09-06 2018-09-06 一种数据处理方法、终端及计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020048286A1 true WO2020048286A1 (zh) 2020-03-12

Family

ID=69721585

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/099791 WO2020048286A1 (zh) 2018-09-06 2019-08-08 一种数据处理方法、终端及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN110879798A (zh)
WO (1) WO2020048286A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475090A (zh) * 2020-04-14 2020-07-31 四川丛融科技有限公司 智能交互设备快速存取数据方法
CN111538454A (zh) * 2020-04-20 2020-08-14 广东以诺通讯有限公司 一种智能终端局部截屏方法、装置及终端
CN111552422A (zh) * 2020-04-20 2020-08-18 广东以诺通讯有限公司 一种智能终端截屏局部模糊方法、装置及终端
CN116894007B (zh) * 2023-09-04 2023-12-15 统信软件技术有限公司 一种目录信息显示方法、装置、计算设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263479A (zh) * 2005-09-09 2008-09-10 微软公司 电子文件***中的嵌套视图
CN103500070A (zh) * 2013-10-23 2014-01-08 北京三星通信技术研究有限公司 触控操作的方法、装置及终端装置
CN105787002A (zh) * 2016-02-22 2016-07-20 上海新炬网络技术有限公司 一种基于业务的地图多层级显示方法
US20170286913A1 (en) * 2014-09-23 2017-10-05 Samsung Electronics Co., Ltd. Electronic device and information processing method of electronic device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005050224A (ja) * 2003-07-30 2005-02-24 Fuji Photo Film Co Ltd フォルダ管理方法および装置
US10007393B2 (en) * 2010-01-19 2018-06-26 Apple Inc. 3D view of file structure
JP5719205B2 (ja) * 2010-11-22 2015-05-13 シャープ株式会社 電子機器および表示制御方法
JP5801673B2 (ja) * 2011-09-28 2015-10-28 京セラ株式会社 電子機器、方法、及びプログラム
KR20130082200A (ko) * 2012-01-11 2013-07-19 엘지전자 주식회사 이동 단말기 및 이동 단말기의 제어 방법
CN102883066B (zh) * 2012-09-29 2015-04-01 Tcl通讯科技(成都)有限公司 基于手势识别实现文件操作的方法及手机
CN104345881B (zh) * 2013-08-09 2017-11-07 联想(北京)有限公司 信息处理的方法及电子设备
CN104951185B (zh) * 2015-06-09 2018-04-27 联想(北京)有限公司 一种信息处理方法及电子设备
CN105204842B (zh) * 2015-08-17 2019-09-24 联想(北京)有限公司 一种显示控制方法及电子设备
CN105808055A (zh) * 2016-02-29 2016-07-27 宇龙计算机通信科技(深圳)有限公司 一种桌面图标整理方法及智能终端
ES2928362T3 (es) * 2016-05-17 2022-11-17 Huawei Tech Co Ltd Dispositivo electrónico y método para el dispositivo electrónico

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263479A (zh) * 2005-09-09 2008-09-10 微软公司 电子文件***中的嵌套视图
CN103500070A (zh) * 2013-10-23 2014-01-08 北京三星通信技术研究有限公司 触控操作的方法、装置及终端装置
US20170286913A1 (en) * 2014-09-23 2017-10-05 Samsung Electronics Co., Ltd. Electronic device and information processing method of electronic device
CN105787002A (zh) * 2016-02-22 2016-07-20 上海新炬网络技术有限公司 一种基于业务的地图多层级显示方法

Also Published As

Publication number Publication date
CN110879798A (zh) 2020-03-13

Similar Documents

Publication Publication Date Title
WO2020048286A1 (zh) 一种数据处理方法、终端及计算机可读存储介质
US11740914B2 (en) Positioning user interface components based on application layout and user workflows
US9542081B2 (en) Methods and apparatuses for operating a data processing system
RU2617384C2 (ru) Способ и устройство для управления контентом, используя графический объект
KR101984328B1 (ko) 컨텍스트 기반 메뉴를 위한 런처
KR101857571B1 (ko) 아이템 이동 방법 및 장치
JP6153868B2 (ja) アイテムをディスプレーする方法及び装置
JP5982014B2 (ja) コンピューティングデバイスから文書にアクセスするためのユーザインターフェース
WO2017032005A1 (zh) 一种操作菜单显示方法及终端
US20160342779A1 (en) System and method for universal user interface configurations
US20110246875A1 (en) Digital whiteboard implementation
US20120144293A1 (en) Display apparatus and method of providing user interface thereof
US20110202877A1 (en) Apparatus and Method for Controlling a Display to Provide Content Navigation
US20110087999A1 (en) Set definition in data processing systems
WO2011038655A1 (zh) 一种手势识别的方法及电子设备
US9690479B2 (en) Method and apparatus for controlling application using key inputs or combination thereof
US20070045961A1 (en) Method and system providing for navigation of a multi-resource user interface
KR20140051228A (ko) 컨텍스트 기반 메뉴 시스템에 대한 서브메뉴
US9639237B2 (en) User-customizable context menus
US20140143688A1 (en) Enhanced navigation for touch-surface device
EP1987412A1 (en) Graphic user interface device and method of displaying graphic objects
JP2012048311A (ja) 情報処理装置、情報処理方法、及びプログラム
WO2023045927A1 (zh) 对象移动方法和电子设备
TW520484B (en) Method to document relations between objects using a graphical interface tree component
WO2022242542A1 (zh) 应用图标的管理方法和电子设备

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: 19857087

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08/07/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19857087

Country of ref document: EP

Kind code of ref document: A1