File display method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2023-07-06
- Publication Date
- 2026-08-07
AI Technical Summary
[0003]本申请实施例的目的是提供一种文件显示方法及装置,能够解决现有技术中文件的查找效率较低的问题
[0022]在本申请实施例中,能够接收第一输入,并响应于该第一输入,显示文件查找页面,由于该文件查找页面可以包括排序标签,基于此,可以接收第二输入,并响应于第二输入,基于排序标签对应的排序方式,对电子设备存储的多个第二文件信息进行排序,以在文件查找页面上显示排序后的多个第二文件信息中的多个第一文件信息,继而接收第三输入,并响应于第三输入,基于第三输入对应的显示规则,显示按照排序标签排序后的多个第二文件信息中文件属性值为目标文件属性值区间内的目标文件信息。如此,本申请可以在用户不知道文件名称,仅对文件大小或文件时间有模糊印象的情况下,快速缩小文件的查找范围,进而提高了文件的查找效率。
Smart Images

Figure CN116775577B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communication technology, specifically relating to a document display method and apparatus. Background Technology
[0002] As the storage space of mobile smart devices continues to increase, and users spend more time using these devices, more and more files are generated. When a user wants to find a file of a known type (e.g., a document or an image), they may know the file size or when it was created, but not its name. In this case, users typically navigate to the corresponding file category in a file management application and scroll through the file list to find the target file. However, when there are many files, the list becomes long, making scrolling through the list inefficient. Summary of the Invention
[0003] The purpose of this application is to provide a file display method and apparatus that can solve the problem of low file search efficiency in the prior art.
[0004] In a first aspect, embodiments of this application provide a document display method, the method comprising:
[0005] Receive the first input;
[0006] In response to the first input, a file search page is displayed, which includes sorting tabs;
[0007] Receive the second input;
[0008] In response to the second input, multiple first file information is displayed. The multiple first file information is the file information obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label.
[0009] Receive third input;
[0010] In response to the third input, and based on the display rules corresponding to the third input, the target file information whose file attribute value is within the range of the target file attribute value is displayed among the multiple second file information after being sorted by the sorting label.
[0011] Secondly, embodiments of this application provide a document display device, the device comprising:
[0012] The receiving module is used to receive the first input;
[0013] The display module is used to display a file search page in response to the first input. The file search page includes sorting labels.
[0014] The receiving module is also used to receive a second input;
[0015] The display module is also used to respond to the second input and display multiple first file information, which are file information obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label;
[0016] The receiving module is also used to receive a third input;
[0017] The display module is also used to respond to the received third input and, based on the display rules corresponding to the third input, display the target file information whose file attribute value is within the range of the target file attribute value among the multiple second file information sorted by the sorting label.
[0018] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions implementing the steps of the method as described in the first aspect when executed by the processor.
[0019] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, they implement the steps of the method as described in the first aspect.
[0020] Fifthly, embodiments of this application provide a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method as described in the first aspect.
[0021] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the first aspect.
[0022] In this embodiment, a first input can be received, and in response to the first input, a file search page can be displayed. Since the file search page may include sorting labels, a second input can be received, and in response to the second input, the multiple second file information stored in the electronic device can be sorted according to the sorting method corresponding to the sorting labels, so as to display multiple first file information among the sorted multiple second file information on the file search page. Then, a third input can be received, and in response to the third input, the target file information whose file attribute value is within the target file attribute value range among the multiple second file information sorted according to the sorting labels can be displayed according to the display rules corresponding to the third input. In this way, this application can quickly narrow down the file search range when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving the file search efficiency. Attached Figure Description
[0023] Figure 1This is a schematic diagram illustrating one application scenario of a file display method according to an exemplary embodiment;
[0024] Figure 2 This is one of the flowcharts illustrating a file display method according to an exemplary embodiment;
[0025] Figure 3 This is a second schematic diagram illustrating an application scenario of a file display method according to an exemplary embodiment;
[0026] Figure 4 This is a third schematic diagram illustrating an application scenario of a file display method according to an exemplary embodiment;
[0027] Figure 5 This is one of the schematic diagrams illustrating a foldable touchscreen according to an exemplary embodiment;
[0028] Figure 6 This is the fourth application scenario of a file display method illustrated according to an exemplary embodiment;
[0029] Figure 7 This is a second schematic diagram illustrating a foldable touchscreen according to an exemplary embodiment;
[0030] Figure 8 This is a third schematic diagram illustrating a foldable touchscreen according to an exemplary embodiment;
[0031] Figure 9 This is the fifth application scenario of a file display method illustrated according to an exemplary embodiment;
[0032] Figure 10 This is the sixth application scenario of a file display method illustrated according to an exemplary embodiment;
[0033] Figure 11 This is the fourth schematic diagram of a foldable touchscreen according to an exemplary embodiment;
[0034] Figure 12 This is the fifth schematic diagram of a foldable touchscreen according to an exemplary embodiment;
[0035] Figure 13 This is a structural block diagram of a document display device according to an exemplary embodiment;
[0036] Figure 14 This is a structural block diagram of an electronic device according to an exemplary embodiment;
[0037] Figure 15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application. Detailed Implementation
[0038] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0039] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0040] To address the problems in existing technologies, this application provides a file display method. This method receives a first input and, in response to the first input, displays a file search page. Since the file search page may include sorting labels, it can receive a second input and, in response to the second input, sort multiple second file information stored in the electronic device according to the sorting method corresponding to the sorting labels. This sorts multiple first file information items from the sorted second file information are then displayed on the file search page. Subsequently, a third input is received and, in response to the third input, the target file information whose file attribute value falls within the target file attribute value range from the multiple second file information items sorted according to the sorting labels is displayed according to the display rules corresponding to the third input. Thus, this application can quickly narrow down the file search scope even when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving file search efficiency.
[0041] The document display method and apparatus provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0042] The document display method provided in this application can be applied to, for example... Figure 1 In the scenario shown, specifically combined Figure 1 Please provide a detailed explanation.
[0043] Figure 1 This is a schematic diagram illustrating an application scenario of a file display method according to an exemplary embodiment.
[0044] The file display method provided in this application embodiment can be applied to file search application scenarios.
[0045] like Figure 1 As shown, due to the limitation of the number of files that the file search page can display, it can only show P files. However, the electronic device stores K files, where K is much larger than P. This means the file search page can only display a small portion of the files stored on the electronic device. Therefore, when a user searches for file A, since the exact name of file A is unknown, only its approximate size or creation time is known, the user can only navigate to the file search page and scroll through the file list to find file A. Because K is much larger than P, the file list will be very long, making the search for the target file inefficient in this scenario. It should be noted that K and P are positive integers.
[0046] To address the aforementioned issues, this application provides a file display method, namely: receiving a first input; responding to the first input, displaying a file search page, the file search page including sorting labels; receiving a second input; responding to the second input, displaying multiple first file information, the multiple first file information being file information obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting labels; receiving a third input; responding to the third input, based on the display rules corresponding to the third input, displaying target file information whose file attribute value is within the target file attribute value range among the multiple second file information sorted according to the sorting labels.
[0047] In this way, the electronic device can receive a first input and, in response to that first input, display a file search page. Since this file search page can include sorting labels, it can receive a second input and, in response to that second input, sort the multiple second file information stored in the electronic device according to the sorting method corresponding to the sorting labels. Due to the limitation on the number of files that the file search page can display, it can display multiple first file information from the sorted multiple second file information. Then, it can receive a third input and, in response to that third input, display the target file information from the multiple second file information sorted according to the sorting labels, based on the display rules corresponding to the third input. The target file information is located within the range of the target file attribute value. Thus, this application can quickly narrow down the file search scope even when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving file search efficiency.
[0048] Based on the above application scenarios, the following will combine... Figures 2-12 The document display method provided in the embodiments of this application will be described in detail.
[0049] Figure 2This is a flowchart illustrating a document display method according to an exemplary embodiment, wherein the entity executing the document display method can be an electronic device. It should be noted that the aforementioned entity does not constitute a limitation of this application.
[0050] like Figure 2 As shown, the method for displaying this file may include the following steps:
[0051] Step 210: Receive the first input.
[0052] The first input includes, but is not limited to, click input, touch input, gesture input, etc., and is not specifically limited here.
[0053] Step 220: In response to the first input, display the file search page.
[0054] The file search page may include sorting tags. These sorting tags may be based on file creation time or file size. Furthermore, there may be one or more sorting tags; no specific limitation is made here.
[0055] In one example, if the sorting labels mentioned above include sorting labels based on file size, such as... Figure 3 As shown, the bottom left corner of the file search page may include sorting labels for "Ascending by Size" and "Descending by Size". If the sorting labels mentioned above include a sorting label based on file creation time, continue as follows... Figure 3 As shown, the bottom left corner of the file search page can include sorting labels for "Ascending Time" and "Descending Time". It should be noted that if a sorting label is selected, it can be distinguished by background color or identifiers, etc., which are not specifically limited here.
[0056] Step 230: Receive the second input.
[0057] The second input mentioned above may include, but is not limited to, clicking or touching the sorting labels, etc., without further limitation. Based on this, users can switch between different file sorting methods by clicking or touching the sorting labels on the file search page.
[0058] Step 240: In response to the second input, display multiple first file information.
[0059] Among them, the multiple first file information is the file information obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label.
[0060] Specifically, after the electronic device receives the second input to the sorting label on the file search page, the electronic device can respond to the second input and sort the multiple second file information stored in the electronic device according to the sorting method corresponding to the sorting label, so as to obtain multiple sorted second file information. Due to the limitation of the number of files displayed on the file search page, multiple first file information can be displayed on the file search page.
[0061] Step 250: Receive the third input.
[0062] The third type of input includes, but is not limited to, click input, touch input, gesture input, etc., and is not specifically limited here.
[0063] Step 260: In response to the third input, based on the display rules corresponding to the third input, display the target file information whose file attribute value is within the target file attribute value range among the multiple second file information after sorting by the sorting label.
[0064] The file attribute value can correspond to the sorting label. For example, if the sorting label includes a sorting label based on the file generation time, the corresponding file attribute value is the file generation time corresponding to the file information.
[0065] Specifically, after receiving the third input, the electronic device responds to the third input and determines the target file attribute value range based on the display rules corresponding to the third input. In turn, it can display the target file information whose file attribute value is within the target file attribute value range from multiple second file information sorted by sorting labels.
[0066] It should be noted that, in one example, continuing as... Figure 3 As shown, the right side of the screen displays the start and end values of file attributes within the current sorting range; that is, the start and end values of file attributes. For example, if the current sorting is "descending order by size," the start value displayed in the upper right half of the screen is the size of the largest file, and the end value displayed in the lower right half of the screen is the size of the smallest file.
[0067] It should also be noted that when users switch between different file sorting methods by clicking the sort tab, the start and end values of file attributes will change accordingly. For example, after clicking the "Sort by Time in Descending" tab, the file attribute start value displayed in the upper right half of the screen will be the file creation time most recent to the current time, and the file attribute end value displayed in the lower right half of the screen will be the file creation time furthest from the current time.
[0068] In this embodiment, a first input can be received, and in response to the first input, a file search page can be displayed. Since the file search page may include sorting labels, a second input can be received, and in response to the second input, the multiple second file information stored in the electronic device can be sorted according to the sorting method corresponding to the sorting labels, so as to display multiple first file information among the sorted multiple second file information on the file search page. Then, a third input can be received, and in response to the third input, the target file information whose file attribute value is within the target file attribute value range among the multiple second file information sorted according to the sorting labels can be displayed according to the display rules corresponding to the third input. In this way, this application can quickly narrow down the file search range when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving the file search efficiency.
[0069] In an optional implementation, step 210 mentioned above may specifically include the following steps:
[0070] When the file management page is displayed, the first input to the file search control is received. The file management page includes the file search control.
[0071] Specifically, since the file management page can include a file search control, the electronic device can receive the first input to the file search control while displaying the file management page, so as to display the file search page in response to the first input to the file search control.
[0072] In one example, such as Figure 4 As shown, the file management page is displayed. Identifier 40 represents the file search control. Based on this, the electronic device can receive the user's first input to the file search control, so that the electronic device can respond to the first input and jump to the file search page.
[0073] In this embodiment, the electronic device can receive the first input to the file search control while displaying the file management page, so as to enter the ordered file search mode. In this way, the user can continuously narrow down the search range of the target file by utilizing the order of file generation time or file size.
[0074] In an optional implementation, step 210 mentioned above may specifically include the following steps:
[0075] When the file management page is displayed, the first input is received for the target group title among multiple group titles. The file management page includes multiple group titles.
[0076] The group title is used to distinguish each group after dividing the multiple second file information stored in the electronic device into multiple groups based on a preset grouping method. The preset grouping method can be a method pre-set based on practical experience. For example, the preset grouping method can be a grouping method based on file generation time or file size, without further limitation. In addition, the target group title mentioned above is any one of the multiple group titles.
[0077] Specifically, since the file management page can include multiple group headings, the electronic device can receive a first input to a target group heading among the multiple group headings while displaying the file management page, so as to display the file search page in response to the first input.
[0078] In one example, such as Figure 4 As shown, a file management page is displayed, which includes group title 1 and group title 2. While the file management page is displayed, the electronic device can receive a first input for group title 2. This allows the electronic device to respond to the first input and navigate to a file search page that displays information about multiple files in the group corresponding to group title 2.
[0079] In this embodiment, the electronic device can receive a first input to a target group title among multiple group titles on the file management page while displaying the file management page, so as to enter the ordered file search mode. This facilitates the subsequent display of the file search page in response to the first input. In this way, the ordered nature of the file generation time or file size can be used to allow the user to continuously narrow down the search range for the target file.
[0080] In one alternative implementation, the electronic device mentioned above may include a foldable touchscreen.
[0081] Based on this, step 210 mentioned above may specifically include the following steps:
[0082] When the file management page is displayed, receive the first input to the foldable touchscreen;
[0083] Based on this, the aforementioned S220 may include the following steps:
[0084] In response to the first input to the foldable touchscreen, if the folding angle of the foldable touchscreen is within a preset angle range, a file search page is displayed.
[0085] The preset angle range can be a pre-set angle range that can effectively trigger the electronic device to enter the effective file search mode, and no further restrictions are imposed here.
[0086] Specifically, the electronic device can receive a first input to the foldable touchscreen while displaying a file management page, and then, in response to the first input, detect the folding angle of the foldable touchscreen, and display a file search page when the folding angle of the foldable touchscreen is within a preset angle range.
[0087] In one example, such as Figure 5 As shown, when the electronic device displays a file management page, the electronic device can receive a first input to the foldable touch screen and, in response to the first input, detect the folding angle of the foldable touch screen as θ. If θ is within a preset angle range, the file search page is displayed.
[0088] In this embodiment, the electronic device can receive a first input to the foldable touchscreen while displaying a file management page, and in response to the first input, detect the folding angle of the foldable touchscreen. Then, when the folding angle of the foldable touchscreen is within a preset angle range, it displays a file search page, that is, enters an ordered file search mode. In this way, the user can continuously narrow down the search range of the target file by utilizing the ordered nature of the file time or file size.
[0089] In one optional implementation, the electronic device mentioned above may include a foldable touch screen, a third input for indicating the folding direction of the foldable touch screen, and a display rule including multiple second file information sorted according to sorting tags, dividing the file attribute values of the multiple second file information into M file attribute value intervals, and displaying the file information in the target file attribute value interval associated with the folding direction, where M is an integer greater than or equal to 2.
[0090] Based on this, step 260 mentioned above may specifically include the following steps:
[0091] In response to the third input, based on the display rules corresponding to the folding direction, the target file information within the target file attribute value range associated with the folding direction is displayed.
[0092] Specifically, after receiving the third input, since the third input can be used to indicate the folding direction of the folding touch screen, the electronic device can respond to the third input, based on the display rules corresponding to the folding direction, and divide the file attribute values of the multiple second file information after sorting according to the sorting labels into M file attribute value intervals, and then display the target file information in the target file attribute value interval associated with the folding direction.
[0093] In this embodiment, when the electronic device includes a foldable touchscreen, since the third input indicates the folding direction of the touchscreen, target file information within the target file attribute value range associated with the folding direction can be displayed based on the display rules corresponding to the folding direction. Thus, this application can quickly narrow down the file search scope when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving file search efficiency.
[0094] In one alternative implementation, the file search page may further include at least one floating control, which may include a range of file attribute values for which file information is not displayed on the file search page.
[0095] In one example, such as Figure 6 As shown, the target file attribute value range is (500M~250M), while the floating control on the file search page displays the file attribute value range of files for which file information is not displayed on the file search page, namely (250.5M~1M).
[0096] In this embodiment, the file search page may also include at least one floating control, which can include a range of file attribute values for which file information is not displayed on the file search page. This improves screen utilization efficiency, allowing users to quickly change the search range and reduce unnecessary operation steps.
[0097] In one optional implementation, the folding direction may include a first folding direction and a second folding direction. It should be noted that the first folding direction may be folding the first display screen towards the second display screen, i.e., a forward fold. The second folding direction may be folding the second display screen towards the first display screen, i.e., a reverse fold.
[0098] If the electronic device is a foldable mobile smart terminal device, such as... Figure 7 As shown, the electronic device includes a first display screen (upper half) and a second display screen (lower half). If the electronic device is a foldable mobile smart terminal device, such as... Figure 8 As shown, the first display screen included in the electronic device is the left half of the screen, and the second display screen included in the electronic device is the right half of the screen, without further limitation here.
[0099] Based on this, the steps mentioned above, which involve responding to a third input and displaying target file information within the target file attribute value range associated with the folding direction based on the display rules corresponding to the folding direction, can specifically include the following steps:
[0100] In response to the third input, when the third input indicates that the folding direction of the folding touch screen is the first folding direction, the i intervals with the highest file attribute values among the M file attribute value intervals are displayed, where i is an integer equal to M-1;
[0101] In response to the third input, when the third input indicates that the folding direction of the folding touchscreen is the second folding direction, the j intervals with the file attribute values sorted last among the M file attribute value intervals are displayed, where j is an integer equal to M-1.
[0102] Specifically, when the electronic device can receive and respond to a third input, if the folding direction of the folding touch screen indicated by the third input is the first folding direction, the i intervals with the first file attribute values among the M file attribute value intervals are displayed; if the folding direction of the folding touch screen indicated by the third input is the second folding direction, the j intervals with the last file attribute values among the M file attribute values are displayed.
[0103] In one example, using a binary search approach, suppose the starting value of a file attribute in the current sorted list is S and the ending value is E. If the user folds the device forward (folds the top half of the screen downwards), the file search page will display the range of file attribute values [S, P], and the corresponding starting and ending values on the right side of the screen will also change accordingly. If the user folds the device backwards (folds the bottom half of the screen upwards), the file search page will display the range of file attribute values (P, E), and the corresponding starting and ending values on the right side of the screen will also change accordingly. By repeating these steps, the target search range can be narrowed down to the smallest possible range. Here, P = (S + E) / 2.
[0104] In this embodiment, the electronic device can display file information within different file attribute value ranges based on the different folding directions of the foldable touchscreen indicated by the third input. In this way, the search target range can be continuously narrowed based on the user's input to the foldable touchscreen, simplifying the user's file search steps and improving search efficiency.
[0105] In one optional implementation, the foldable touchscreen may include a first display screen and a second display screen. The first display screen may display a file search page, and the second display screen may display third file information corresponding to the floating control. The third file information is the top N file information after sorting multiple first file information according to the sorting method corresponding to the sorting label, where N is a positive integer.
[0106] In one example, taking an electronic device as a foldable mobile smart terminal device, such as... Figure 9As shown, the electronic device may include a first display screen and a second display screen. The first display screen may include a file search page. If the file search page includes floating control 1 and floating control 2, then third file information corresponding to floating control 1 and floating control 2 can be displayed on the second display screen. For example, the third file information corresponding to floating control 1 may be file 1 and file 2.
[0107] It should be noted that if the number of floating controls on the file search page is too large to be fully displayed on the second screen, you can swipe up or down to view more content.
[0108] In this embodiment, a file search page is displayed on one screen of the electronic device, while another screen can display file information corresponding to the floating control. This improves screen utilization, makes it easier for users to view undisplayed file information on the file search page, and thus enhances the user experience.
[0109] In one alternative implementation, the foldable touchscreen mentioned above may include a first display screen and a second display screen. The first display screen may display a file search page, and the second display screen may display the file name corresponding to the target file information.
[0110] In one example, taking an electronic device as a foldable mobile smart terminal device, such as... Figure 10 As shown, the first display screen shows the file search page, and the second display screen shows the file name corresponding to the target file information.
[0111] In this embodiment, if the electronic device includes a foldable touchscreen, one display of the foldable touchscreen can show the file search page, while the other display shows the file name corresponding to the target file information on the file search page. This improves screen utilization and enhances the user experience.
[0112] In one alternative implementation, the foldable touchscreen may include a third display screen that can display floating controls.
[0113] It should be noted that the shape of this third display screen can be circular, rectangular, or square. Taking a foldable mobile smart terminal device as an example, such as... Figure 11 As shown, the third display screen of the electronic device is circular, as... Figure 12 As shown, the third display screen of the electronic device is rectangular.
[0114] In this embodiment, the foldable touchscreen may include a third display screen, which can display floating controls. This improves screen utilization and thus enhances the user experience.
[0115] In an optional implementation, the file display method described above may further include the following steps:
[0116] Receive a fourth input to the third display screen;
[0117] In response to the fourth input, the display content of the first screen is switched to a floating control, and the display content of the third screen is switched to the content displayed on the first screen before the switching.
[0118] Specifically, when the first display screen shows a file search page and the third display screen shows a floating control, the electronic device can receive and respond to the user's fourth input to the third display screen, switch the display content of the first display screen to the floating control, and switch the display content of the third display screen to the content displayed on the first display screen before the content was switched. That is, if the first display screen displays a file search page and the third display screen displays a floating control, when the electronic device receives and responds to the user's fourth input to the third display screen, the third display screen can display the file search page and the first display screen can display the floating control.
[0119] In one example, the fourth input mentioned above may include, but is not limited to, touch input and swipe input. For example, it may be swiping the third display screen up or down or left or right, so that all floating controls can switch back and forth between the first display screen and the third display screen.
[0120] In this embodiment, by receiving and responding to a fourth input to the third display screen, the display content of the first display screen and the third display screen can be switched back and forth, which can improve the convenience of use for the user and thus improve the user experience.
[0121] In one optional implementation, the electronic device may include a non-foldable touchscreen; the file search page may include a file display control corresponding to the file information, and the third input may include input to the target file display control in the file display control and the input direction; the display rules include displaying the target file information within the range of file attribute values associated with the target value and the input direction of the third input, with the target value corresponding to the target file display control as the dividing point;
[0122] The aforementioned step 260 may specifically include the following steps:
[0123] In response to a third input to the target file display control, display target file information within the range of file attribute values associated with the target value corresponding to the target file display control and the input direction of the third input.
[0124] The target value is any value between the start value and the end value of the file attributes.
[0125] If the electronic device includes a non-foldable touchscreen, the file search page may include a file display control corresponding to the file information. It should be noted that this file display control may include one or more controls; no specific limitation is made here.
[0126] The aforementioned third input may include input to the target file display control within the file display control and the input direction. Correspondingly, the display rules may include displaying target file information within a range of file attribute values associated with the target value and the input direction of the third input, using the target value corresponding to the target file display control as a dividing point. Based on this, the electronic device can receive and respond to the third input to the target file display control, displaying target file information within a range of file attribute values associated with the target value corresponding to the target file display control and the input direction of the third input.
[0127] In one example, suppose the starting value of the file attribute in the current sorting is S and the ending value is E. The current file search page includes three file display controls, which correspond to the target values P1, P2, and P3, respectively. The file attribute value ranges on the file search page from top to bottom are (S, P1), (P1, P2), (P2, P3), and (P3, E). If the file A that the user wants to find has an approximate value within the range of (P1, P2), the user can click on the file display control P2 and then slide it upwards, or click on the file display control P1 and then slide it downwards, so that the file search page displays file information within the file attribute value range of (P1, P2).
[0128] Based on this, by continuously performing the above process, the range of content displayed on the file search page will be continuously narrowed. Therefore, if some content is not within the target range, it will not be displayed on the file search page. For this content that will not be displayed on the file search page, a brief description of this content (mainly the file size or the start and end values of the file attributes such as the file creation time) will be displayed in the floating control.
[0129] In this embodiment, the file search scope can be quickly shortened when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving the efficiency of file search.
[0130] In one alternative implementation, the file attribute value range is the actual value of the file attribute.
[0131] In one example, if the range of the property values of the target file currently selected by the user is [S, P], and the range of the property values of the files not displayed in the list is (P, E], then the content displayed on the floating control is: (P, E]. The actual start and end values of the file properties may not be equal to P and E. If they are not equal, the actual values of the file properties within this range of file property values are displayed. For example, if the actual start and end values are P4 and E1, where P4 < P and E1 < E, then the range displayed in the floating control is [P4, E1].
[0132] In an optional implementation manner, the above-mentioned file display method may further include the following steps:
[0133] Receive a fifth input to the first target floating control;
[0134] In response to the fifth input, display the file information within the range of the file property values corresponding to the first target floating control, and update the range of the file property values of the first target floating control to the target file property value range.
[0135] Here, the first target floating control is any one of at least one floating control.
[0136] Specifically, when the target file information within the target file property value range is displayed on the file search page, if the electronic device receives a fifth input to the first target floating control and in response to this fifth input, the file search page can be switched from displaying the target file information within the target file property value range to displaying the file information within the range of the file property values corresponding to the first target floating control. Correspondingly, the range of the file property values of the first target floating control is updated to the target file property value range.
[0137] Here, the above-mentioned fifth input includes but is not limited to a click operation on the floating control or a drag operation on the floating control.
[0138] In one example, if the file search page currently displays the file information with the file property value range of [S, M], when the user selects the floating control with the file property value range of (M, E] and switches it through an instruction, the display content of the file search page will become the file information within the range of (M, E]. Correspondingly, the range of the file property values corresponding to the floating control is updated from (M, E] to [S, M]. In this way, the file search page can automatically switch the display content of the file search page to the file information within the range of the file property values corresponding to the selected floating control.
[0139] In this embodiment, when a user needs to switch the target file information within the target file attribute value range for the search, they can click the floating control or drag the floating control to the file search page display area to automatically switch the displayed content of the file search page to the file information within the file attribute value range corresponding to the selected floating control.
[0140] In an optional implementation, the file display method described above may further include the following steps:
[0141] Receive the sixth input to the second target hover control;
[0142] In response to the sixth input, close the second target floating control, which is any one of at least one floating control.
[0143] The sixth input mentioned above can be a long press input on the second target floating control, or a drag input by dragging the floating control off the screen; no specific limitation is made here.
[0144] In one example, when it is determined that the file information within the file attribute value range corresponding to a certain floating control (i.e., the second target floating control) will not be used again, the floating control can be long-pressed or dragged off-screen (i.e., the sixth input). In this way, the electronic device can receive and respond to the sixth input to close the floating control.
[0145] In this embodiment, by receiving and responding to a sixth input to the second target floating control, the second target floating control is closed, which improves the convenience of user operation and thus enhances the user experience.
[0146] The file display method provided in this application can be executed by a file display device, which can be applied in electronic devices. This application uses a file display device executing the file display method as an example to illustrate the file display device provided in this application.
[0147] Based on the same inventive concept, this application also provides a document display device. The following is in conjunction with... Figure 13 The document display device provided in the embodiments of this application will be described in detail.
[0148] Figure 13 This is a structural block diagram of a document display device according to an exemplary embodiment.
[0149] like Figure 13 As shown, the document display device 1300 may include:
[0150] Receiver module 1301 is used to receive the first input;
[0151] Display module 1302 is used to display a file search page in response to a first input, the file search page including sorting labels;
[0152] The receiving module 1301 is also used to receive a second input;
[0153] The display module 1302 is also used to respond to the second input and display multiple first file information, wherein the multiple first file information is file information obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label;
[0154] The receiving module 1301 is also used to receive a third input;
[0155] The display module 1302 is also used to respond to the third input and, based on the display rules corresponding to the third input, display the target file information whose file attribute value is within the range of the target file attribute value among the multiple second file information sorted by the sorting label.
[0156] In one embodiment, the receiving module is further configured to receive a first input to a file search control when a file management page is displayed, the file management page including the file search control.
[0157] In one embodiment, the receiving module is further configured to receive a first input for a target group title among multiple group titles when a file management page is displayed, the file management page including multiple group titles.
[0158] In one embodiment, the electronic device includes a foldable touchscreen;
[0159] The receiving module is also used to receive the first input to the foldable touchscreen when the file management page is displayed;
[0160] The display module is also used to respond to the first input and display the file search page when the folding angle of the folding touch screen is within a preset angle range.
[0161] In one embodiment, the electronic device includes a foldable touch screen, a third input for indicating the folding direction of the foldable touch screen, and display rules including multiple second file information sorted by sorting tags, dividing the multiple second file information into M file attribute value intervals according to the file attribute values, and displaying file information within the target file attribute value interval associated with the folding direction, where M is an integer greater than or equal to 2;
[0162] The display module is also used to respond to a third input and, based on the display rules corresponding to the folding direction, display target file information within the target file attribute value range associated with the folding direction.
[0163] In one embodiment, the file search page further includes at least one floating control, which includes a range of file attribute values for which file information is not displayed on the file search page.
[0164] Therefore, the system can receive a first input and, in response to that first input, display a file search page. Since this file search page can include sorting labels, it can also receive a second input and, in response to that second input, sort multiple second file information stored in the electronic device according to the sorting method corresponding to the sorting labels. This sorts multiple first file information from the sorted second file information is then displayed on the file search page. Subsequently, a third input is received and, in response to that third input, the target file information whose file attribute value falls within the target file attribute value range from the multiple second file information sorted according to the sorting labels is displayed according to the display rules corresponding to the third input. Thus, this application can quickly narrow down the file search scope even when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving file search efficiency.
[0165] The document display device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0166] The document display device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0167] The document display device provided in this application embodiment can achieve... Figures 2 to 12The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0168] Optionally, such as Figure 14 As shown, this application embodiment also provides an electronic device 1400, including a processor 1401 and a memory 1402. The memory 1402 stores a program or instructions that can run on the processor 1401. When the program or instructions are executed by the processor 1401, they implement the various steps of the above-described document display method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0169] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0170] Figure 15 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0171] The electronic device 1500 includes, but is not limited to, components such as: radio frequency unit 1501, network module 1502, audio output unit 1503, input unit 1504, sensor 1505, display unit 1506, user input unit 1507, interface unit 1508, memory 1509, and processor 1510.
[0172] Those skilled in the art will understand that the electronic device 1500 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1510 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 15 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0173] User input unit 1507 is used to receive the first input;
[0174] Display unit 1506 is configured to display a file search page in response to a first input, the file search page including sorting labels;
[0175] User input unit 1507 is used to receive a second input;
[0176] Display unit 1506 is used to respond to a second input to display multiple first file information, which is file information obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label;
[0177] User input unit 1507 is used to receive a third input;
[0178] Display unit 1506 is used to respond to a third input and, based on the display rules corresponding to the third input, display target file information whose file attribute value is within the target file attribute value range among multiple second file information sorted by sorting labels.
[0179] In this embodiment, a first input can be received, and in response to the first input, a file search page can be displayed. Since the file search page may include sorting labels, a second input can be received, and in response to the second input, the multiple second file information stored in the electronic device can be sorted according to the sorting method corresponding to the sorting labels, so as to display multiple first file information among the sorted multiple second file information on the file search page. Then, a third input can be received, and in response to the third input, the target file information whose file attribute value is within the target file attribute value range among the multiple second file information sorted according to the sorting labels can be displayed according to the display rules corresponding to the third input. In this way, this application can quickly narrow down the file search range when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving the file search efficiency.
[0180] Optionally, the user input unit 1507 is configured to receive a first input to the file search control when the file management page is displayed, the file management page including the file search control.
[0181] In this embodiment, the electronic device can receive the first input to the file search control while displaying the file management page, so as to enter the ordered file search mode. In this way, the user can continuously narrow down the search range of the target file by utilizing the order of file generation time or file size.
[0182] Optionally, the user input unit 1507 is configured to receive a first input for a target group title among multiple group titles when the file management page is displayed. The file management page includes multiple group titles.
[0183] In this embodiment, the electronic device can receive a first input to a target group title among multiple group titles in the file management page while displaying the file management page, so as to enter the ordered file search mode. This facilitates the subsequent display of the file search page in response to the first input. In this way, the ordered nature of the file generation time or file size can be used to allow the user to continuously narrow down the search range of the target file.
[0184] Optionally, the electronic device includes a foldable touchscreen;
[0185] User input unit 1507 is used to receive the first input to the foldable touch screen when the file management page is displayed;
[0186] Display unit 1506 is used to respond to the first input and display a file search page when the folding angle of the folding touch screen is within a preset angle range.
[0187] In this embodiment, the electronic device can receive a first input to the foldable touchscreen while displaying a file management page, and in response to the first input, detect the folding angle of the foldable touchscreen. Then, when the folding angle of the foldable touchscreen is within a preset angle range, it displays a file search page, that is, enters an ordered file search mode. In this way, the ordered nature of the files by time or size can be used to allow the user to continuously narrow down the search range for the target file.
[0188] Optionally, the electronic device includes a foldable touch screen, a third input for indicating the folding direction of the foldable touch screen, and display rules including multiple second file information sorted by sorting labels, dividing the multiple second file information into M file attribute value intervals according to the file attribute values, and displaying file information within the target file attribute value interval associated with the folding direction, where M is an integer greater than or equal to 2;
[0189] The display unit 1506 is also used to respond to a third input and, based on the display rules corresponding to the folding direction, display target file information within the target file attribute value range associated with the folding direction.
[0190] In this embodiment, when the electronic device includes a foldable touchscreen, since the third input is used to indicate the folding direction of the foldable touchscreen, the target file information within the target file attribute value range associated with the folding direction can be displayed according to the display rules corresponding to the folding direction. Thus, this application can quickly narrow down the file search range even when the user does not know the file name and only has a vague impression of the file size or file time, thereby improving file search efficiency.
[0191] Optionally, the file search page also includes at least one floating control, which includes a range of file attribute values for which file information is not displayed on the file search page.
[0192] In this embodiment, the file search page may also include at least one floating control, which can include a range of file attribute values for which file information is not displayed on the file search page. This improves screen utilization efficiency, allowing users to quickly change the search range and reduce unnecessary operation steps.
[0193] It should be understood that, in this embodiment, the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042. The GPU 15041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1506 may include a display panel 15061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0194] The memory 1509 can be used to store software programs and various data. The memory 1509 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1509 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1509 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0195] Processor 1510 may include one or more processing units; optionally, processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1510.
[0196] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described file display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0197] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory, random access memory, magnetic disk, or optical disk.
[0198] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described document display method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0199] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0200] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described document display method embodiment, and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0201] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0202] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0203] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for displaying a file, characterized in that, Applied to electronic devices, the method includes: Receive the first input; In response to the first input, a file search page is displayed, the file search page including sorting tabs; Receive the second input; In response to the second input, multiple first file information is displayed. The multiple first file information is obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label. Receive third input; In response to the third input, and based on the display rules corresponding to the third input, the target file information whose file attribute value is within the target file attribute value range among the plurality of second file information sorted according to the sorting label is displayed.
2. The method according to claim 1, characterized in that, The receiving of the first input includes: When a file management page is displayed, a first input to a file search control is received, the file management page including the file search control.
3. The method according to claim 1, characterized in that, The receiving of the first input includes: When the file management page is displayed, a first input is received for a target group title among multiple group titles, the file management page including multiple group titles.
4. The method according to claim 1, characterized in that, The electronic device includes a foldable touchscreen; The receiving of the first input includes: When the file management page is displayed, receive the first input to the foldable touchscreen; The response to the first input, displaying the file search page, includes: In response to the first input, if the folding angle of the folding touchscreen is within a preset angle range, a file search page is displayed.
5. The method according to claim 1, characterized in that, The electronic device includes a foldable touch screen, the third input is used to indicate the folding direction of the foldable touch screen, the display rules include multiple second file information sorted according to the sorting label, dividing the file attribute values of the multiple second file information into M file attribute value intervals, and displaying the file information in the target file attribute value interval associated with the folding direction, where M is an integer greater than or equal to 2; In response to the third input, based on the display rules corresponding to the third input, the target file information whose file attribute value is within the target file attribute value range among the plurality of second file information sorted according to the sorting label is displayed, including: In response to the third input, based on the display rules corresponding to the folding direction, target file information within the target file attribute value range associated with the folding direction is displayed.
6. The method according to any one of claims 1 to 5, characterized in that, The file search page also includes at least one floating control, which includes a range of file attribute values for which file information is not displayed on the file search page.
7. A document display device, characterized in that, Applied to electronic devices, the device includes: The receiving module is used to receive the first input; A display module is configured to display a file search page in response to the first input, the file search page including sorting labels; The receiving module is also used to receive a second input; The display module is further configured to respond to the second input by displaying multiple first file information, wherein the multiple first file information is obtained by sorting multiple second file information stored in the electronic device based on the sorting method corresponding to the sorting label; The receiving module is also used to receive a third input; The display module is further configured to respond to the third input and, based on the display rules corresponding to the third input, display the target file information whose file attribute value is within the target file attribute value range among the plurality of second file information sorted according to the sorting label.
8. The apparatus according to claim 7, characterized in that, The receiving module is further configured to receive a first input to the file search control when the file management page is displayed, the file management page including the file search control.
9. The apparatus according to claim 7, characterized in that, The receiving module is further configured to receive a first input for a target group title among multiple group titles when the file management page is displayed. The file management page includes multiple group titles.
10. The apparatus according to claim 7, characterized in that, The electronic device includes a foldable touchscreen; The receiving module is also used to receive a first input to the foldable touchscreen when the file management page is displayed; The display module is also configured to respond to the first input by displaying a file search page when the folding angle of the folding touchscreen is within a preset angle range.
11. The apparatus according to claim 7, characterized in that, The electronic device includes a foldable touch screen, the third input is used to indicate the folding direction of the foldable touch screen, the display rules include multiple second file information sorted according to the sorting label, dividing the file attribute values of the multiple second file information into M file attribute value intervals, and displaying the file information in the target file attribute value interval associated with the folding direction, where M is an integer greater than or equal to 2; The display module is also configured to respond to the third input and, based on the display rules corresponding to the folding direction, display target file information within the target file attribute value range associated with the folding direction.
12. The apparatus according to any one of claims 7 to 11, characterized in that, The file search page also includes at least one floating control, which includes a range of file attribute values for which file information is not displayed on the file search page.
Citation Information
Patent Citations
File browsing method for an electronic device
CN104899235A