CN111831610B - File and database record acquisition method, computer equipment and storage medium - Google Patents

File and database record acquisition method, computer equipment and storage medium Download PDF

Info

Publication number
CN111831610B
CN111831610B CN201910328219.7A CN201910328219A CN111831610B CN 111831610 B CN111831610 B CN 111831610B CN 201910328219 A CN201910328219 A CN 201910328219A CN 111831610 B CN111831610 B CN 111831610B
Authority
CN
China
Prior art keywords
folders
files
same
category
marks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910328219.7A
Other languages
Chinese (zh)
Other versions
CN111831610A (en
Inventor
张洪会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910328219.7A priority Critical patent/CN111831610B/en
Publication of CN111831610A publication Critical patent/CN111831610A/en
Application granted granted Critical
Publication of CN111831610B publication Critical patent/CN111831610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

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)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请实施例提供一种文件与数据库记录获取方法、计算机设备及存储介质。在本申请实施例中,将多个文件夹中的文件分类,在包含同类文件的文件夹之间通过可视化的关联标记透传出每类文件分布在哪些文件夹中以及每个文件夹包含哪些类别的文件等信息;进一步,可视化的关联标记具有交互功能,通过对可视化的关联标记进行交互操作,可以从包含同类文件的文件夹中获取相同类别的文件,而无需到每个文件夹中分别获取文件,简化了获取文件的操作,提高了获取文件的效率,尤其是随着文件夹数量的增多,这种文件获取方式的效率优势会越明显。

The embodiment of the present application provides a method for obtaining files and database records, a computer device, and a storage medium. In the embodiment of the present application, files in multiple folders are classified, and information such as which folders each type of file is distributed in and which types of files each folder contains is transmitted through visual association marks between folders containing files of the same type; further, the visual association marks have an interactive function, and by interactively operating the visual association marks, files of the same type can be obtained from folders containing files of the same type without having to obtain files from each folder separately, which simplifies the operation of obtaining files and improves the efficiency of obtaining files. In particular, as the number of folders increases, the efficiency advantage of this file acquisition method will become more obvious.

Description

File and database record acquisition method, computer equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method for acquiring a file and a database record, a computer device, and a storage medium.
Background
In various types of computer devices, files are stored and managed in folders. The user can obtain the file from the corresponding folder according to the path of the file. When acquiring a plurality of files in different folders, a user needs to acquire the files in the corresponding folders according to the path of each file, and then migrate the files to a new place. The file acquisition mode is complex in operation and low in efficiency especially when more folders are involved.
Disclosure of Invention
Aspects of the present application provide a method for acquiring a file and a database record, a computer device and a storage medium, which are used for simplifying a file acquiring operation and improving file acquiring efficiency.
The embodiment of the application provides a file acquisition method, which comprises the following steps: acquiring a plurality of folders to be searched, wherein the folders are positioned under the same directory; generating visualized association marks among folders containing similar files according to the types of the files in the folders; wherein each type of file corresponds to a visualized association mark; in response to an operation of the visual association marker between folders containing the same class of files, files of the same class are obtained from the folders containing the same class of files.
The embodiment of the application also provides a computer device, which comprises: a memory and a processor; the memory is used for storing a computer program and a plurality of folders, and at least one file is stored in each folder; the processor, coupled to the memory, is configured to execute the computer program for: acquiring a plurality of folders to be searched from a plurality of folders stored in a memory, wherein the folders are positioned under the same directory; generating visualized association marks among folders containing similar files according to the types of the files in the folders; wherein each type of file corresponds to a visualized association mark; in response to an operation on a visual association marker existing between folders containing the same class of files, files of the same class are obtained from the folders containing the same class of files.
The present application also provides a computer-readable storage medium storing a computer program, which when executed by one or more processors causes the one or more processors to perform the steps in the file acquisition method provided by the embodiment of the present application.
The embodiment of the application also provides a file acquisition method, which comprises the following steps: acquiring a plurality of folders to be searched; generating visualized association marks among folders containing similar files according to the types of the files in the folders; in response to an operation of the visual association marker between folders containing the same class of files, files of the same class are obtained from the folders containing the same class of files.
The embodiment of the application also provides a database record acquisition method, which comprises the following steps: acquiring a plurality of databases to be searched; generating visualized association marks among databases containing similar records according to the categories of the records in the databases; in response to an operation on the associated marker, records of the same category are obtained from a database containing records of the same category.
In the embodiment of the application, files in a plurality of folders are classified, and information such as files in which each type of file is distributed in which folders and which types of files are contained in each folder is transmitted among folders containing the same type of files through visual association marks; furthermore, the visualized association marks have an interaction function, files of the same category can be obtained from folders containing the files of the same category through interaction operation of the visualized association marks, files do not need to be obtained from each folder, the operation of obtaining the files is simplified, the efficiency of obtaining the files is improved, and particularly, the efficiency advantage of the file obtaining mode is more obvious along with the increase of the number of the folders.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
fig. 1 is a flowchart of a file obtaining method according to an exemplary embodiment of the present application;
FIG. 2 is a flowchart illustrating another method for obtaining a file according to an exemplary embodiment of the present application;
3 a-3 f illustrate the process of the file acquisition method of FIG. 2 through a change in state of a folder;
FIG. 4a is a flowchart of another method for obtaining a file according to an exemplary embodiment of the present application;
FIG. 4b is a flowchart illustrating a method for obtaining a file according to an exemplary embodiment of the present application;
FIG. 5a is a schematic diagram of a user cutting photos from a personal computer to a mobile hard disk by using the method according to the embodiment of the present application
FIG. 5b is a schematic diagram of file migration according to an application in a database system using the method provided by the embodiment of the present application;
FIG. 5c is a flowchart of a database record acquisition method according to an exemplary embodiment of the present application;
Fig. 6 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In various scenarios where folders are employed for grouping storage and management of files, a user may need to use files in multiple folders simultaneously. For example, in a database system, when files in a plurality of folders need to be sorted according to attributes such as an application type, a file type, or a file size, it is necessary to acquire files of the same or similar application type, file type, or file size from the plurality of folders, and perform subsequent processing on the files, such as deletion or migration to a new storage location, or the like. For another example, in a general computer device, when it is necessary to use files of the same type in a plurality of folders, it is necessary to acquire files of the same type from the plurality of folders and perform subsequent processing based on the files. In the prior art, if a user needs to use files in multiple folders at the same time, the user needs to acquire the required files from each folder, which is complex in operation and low in efficiency.
Aiming at the technical problems, in some embodiments of the application, files in a plurality of folders are classified, and information such as files in which each type of file is distributed in which folders and which types of files are contained in each folder is transmitted among folders containing the same type of files through visualized association marks; furthermore, the visualized association marks have an interaction function, files of the same category can be obtained from folders containing the files of the same category through interaction operation of the visualized association marks, files do not need to be obtained from each folder, the operation of obtaining the files is simplified, the efficiency of obtaining the files is improved, and particularly, the efficiency advantage of the file obtaining mode is more obvious along with the increase of the number of the folders.
Before the embodiments of the present application are explained, the "folders" in the embodiments of the present application are explained. In the embodiment of the application, the "folder" is a broad concept, and is a management unit for storing and managing files, where each folder corresponds to a certain storage space. In addition, in different scenarios, a "folder" may be referred to differently, e.g., in a database system, a unit that stores and manages files is referred to as a "file group". Both "folders" in common computer devices and "groups of files" in database systems belong to "folders" as described in embodiments of the present application.
In addition, the execution body of the embodiment of the application may be a computer device, which may be a terminal device such as a desktop computer, a tablet computer, a notebook computer, a smart phone, a wearable device, or a server device such as a conventional server, a cloud host, a virtual center, a server array, or a Virtual Machine (VM), a container (Docker), or the like deployed in various server devices or terminal devices. The computer device is responsible for managing several folders, which may be stored in a storage medium local to the computer device or in a remote storage medium. At least one file is stored in each folder, and the formats of the files can be the same or different. These files may include, but are not limited to: one or more of a plain text file, an image file, an executable file, and the like.
Fig. 1 is a flowchart of a file obtaining method according to an exemplary embodiment of the present application. As shown in fig. 1, the method includes:
101. and acquiring a plurality of folders to be searched, wherein the folders are positioned under the same directory.
102. Generating visualized association marks among folders containing similar files according to the types of the files in the folders; wherein each type of file corresponds to a visual association tag.
103. In response to an operation of the visual association marker between folders containing the same class of files, files of the same class are obtained from the folders containing the same class of files.
In this embodiment, the computer device may acquire a plurality of folders to be searched. Alternatively, the computer device may receive a search requirement submitted by a user, where the search requirement carries folder identification information. The folder identification information may include, but is not limited to: part of the characters of the folder name, the creation date of the folder, the latest modification date of the folder, the type and size of the folder, and the like. If the search requirement includes a part of the characters in the folder name, the computer device may acquire a plurality of folders whose names contain the part of the characters as folders to be searched. For another example, if the search requirement carries a creation date of a folder, the computer device may acquire a plurality of folders created on the creation date as folders to be searched. That is, the computer device may determine a plurality of folders to be searched based on the folder identification information in the search requirement.
In this embodiment, it is optionally required that a plurality of folders to be searched are located in the same directory. Optionally, if the folders are originally in the same directory, no processing may be performed; if multiple folders are scattered under different directories, the multiple folders can be copied to the same directory. The same directory may be a directory where some folders are located, a parent directory where directories where a plurality of folders are located commonly belong, or a newly created directory. For computer devices, after determining a plurality of folders to be searched, it may be determined whether each folder is under the same directory in conjunction with the maintained hierarchical relationship between the folders.
For example, if a part of folders to be searched are subfolders under the a folder under the D disc, and another part of folders are subfolders under the B folder under the D disc, the subfolder under the B folder as the folder to be searched may be copied under the a folder, the subfolder under the a folder as the folder to be searched may be copied under the B folder, or the subfolders under the a folder and the B folder as the folders to be searched may be both copied under the D disc, a C folder may be created under the D disc, and the subfolders under the a folder and the B folder as the folders to be searched may be both copied under the C folder, so that the folders to be searched are under the same directory.
As can be seen from the above, in the scenario of hierarchical management of folders, the folders to be searched may include folders under the same directory, or may include folders under different directories. That is, the levels of the plurality of folders to be searched may be the same or different.
Whether or not the files to be searched are originally under the same directory, in this embodiment, the folders are required to be under the same directory, so that the folders can be seen under the directory at the same time. Based on this, a visual association flag can be generated between folders containing the same kind of files according to the categories of the files in the plurality of folders. It should be noted that folders containing files of the same type are typically two or more folders. In addition, the number of categories of the same type of files contained in the two folders may be one category, or may be two categories or more than two categories. Wherein each type of file corresponds to a visual association tag. If the category number of the similar files contained in the two folders is one category, a visual association mark can be added between the two folders; if the number of categories of the same type of files contained in the two folders is two or more, two or more visual association marks can be added between the two folders. The visual association mark between two folders is the same as the number of categories of the same kind of files contained in the two folders.
In this embodiment, the visual association mark pattern is not limited, and any visual mark pattern is applicable to the embodiment of the present application, and the specific association mark pattern can be referred to the examples given in the subsequent embodiments. The association mark in this embodiment, besides having the visual feature, can also identify which folders have the same kind of files and in particular which kind of files. Further, the association tag of the present embodiment also has directivity and interaction functions. The directivity is a file of a corresponding category in each folder to which the association mark can point. Interactivity refers to allowing a user to perform interactive operations on an associated mark, wherein interactive operations mainly refer to operations sent by the user through the associated mark to acquire files of a certain type in a plurality of folders. For a computer device, files of the same category may be obtained from folders containing the same category in response to user manipulation of visual association markers between folders containing the same category.
In this embodiment, files in multiple folders are classified, and information such as files in which each type of file is distributed in which folders and which types of files each folder contains is transmitted among folders containing the same type of files through visual association marks; furthermore, the visualized association marks have an interaction function, files of the same category can be obtained from folders containing the files of the same category through interaction operation on the visualized association marks, files do not need to be obtained from each folder, operation of obtaining the files is simplified, and efficiency of obtaining the files is improved. In particular, as the number of folders increases, the efficiency advantage of such a file acquisition approach may become more apparent.
Fig. 2 is a flowchart of another file obtaining method according to an exemplary embodiment of the present application. As shown in fig. 2, the method includes:
201. and acquiring a plurality of folders to be searched, wherein the folders are positioned under the same directory.
202. Carrying out category marking on files in a plurality of folders; wherein the same or similar documents have the same category labels.
203. According to the category marks of the files in the folders, adding visual association marks corresponding to the same category marks between the folders containing the same category marks; wherein a category label corresponds to a visualized association label.
204. In response to an operation on the visual association markers between folders containing the same category markers, files of the same category are obtained from the folders containing the same category markers.
In this embodiment, after a plurality of folders to be searched are acquired, the files in the plurality of folders are subjected to category marking, category marking is added to each file, and the same or similar files have the same category marking. The "same" or "similar" files may have different definitions according to different application scenarios, and may be adaptively defined according to application requirements. Alternatively, whether files are identical or similar may be defined according to the contents of the files. For example, if the content of two files is the same or the similarity is greater than a set similarity threshold, two files may be defined to be the same or similar, otherwise, two files may be defined to be different and dissimilar. Alternatively, whether files are identical or similar may be defined according to creation time of the files. For example, if the creation time of two files is the same or the time difference is less than the set time difference threshold, two files may be defined to be the same or similar, otherwise, two files may be defined to be different and not similar. Alternatively, whether files are identical or similar may be defined according to the application to which the files belong. For example, if two files belong to the same application or class of application, the two files may be defined to be the same or similar, whereas the two files are defined to be different and not similar.
After the files in each folder are subjected to category marking, folders containing the same category marking can be identified according to the category marking of the files in each folder, and visual association marks corresponding to the category marking are added between the identified folders containing the same category marking.
It should be noted that if two folders contain a same category label, a visual association label is added between the two folders; if two or more kinds of same category labels are contained between two folders, two or more kinds of visual association labels are added between the two folders. Each visual association tag corresponds to a category tag, i.e., to a category of files. Further, files of the same category may be obtained from folders containing the same category in response to an operation of the visual association tag between folders containing the same category.
In this embodiment, after obtaining a plurality of folders to be searched, the files in the folders may be labeled according to the needs, without pre-labeling the files in all folders, so that the method has no influence on the file storage process, is compatible with the existing file storage method, and may be applied to a file management scene adopting the existing file storage method.
The file acquisition process of the embodiment of fig. 2 will be described with reference to the folder state diagrams of fig. 3 a-3 f.
Referring to fig. 3a, the computer device obtains 4 folders, namely, folder 1, folder 2, folder 3 and folder 4, according to the folder identification information in the search requirement, and needs to obtain a plurality of similar files from the 4 folders at the same time. As shown in fig. 3a, these 4 folders are located in the same directory.
Referring to FIG. 3b, the computer device may open folder 1 in response to a user operation to open folder 1; in the folder 1, the files in the folder 1 are category-labeled according to the definition of the similar files. In fig. 3b, there are 3 types of similar files, which are marked with circles, squares and triangles, respectively, and the same type of similar files are marked with the same category. Similarly, folder 2, folder 3, and folder 4 may be opened and the files therein may be category labeled according to the definition of similar files. For ease of description and distinction, the file categories represented by circles, squares, and triangles are referred to as the first category, the second category, and the third category, respectively. It should be noted that the definition of similar files is the same for folders 1, 2,3, and 4, and similar files use the same category labels. For example, if there is a first type of file in folders 2,3, and 4, then the first type of file in folders 2,3, and 4 is also marked with a circle; if there are files of the second type in folders 2,3, and 4, the files of the second type in folders 2,3, and 4 are also marked with squares, and so on. In addition, as shown in fig. 3b, the number of files in the same folder may be one or more.
In the present embodiment, the following assumptions are made: the folders 1-4 all contain first-class files, and class marks of the first-class files are round; the folders 1-3 all contain second files, and the class marks of the second files are square; folders 1,3, and 4 contain a third type of file whose class labels are a triangle. Based on this assumption, see fig. 3c still further.
Referring to fig. 3c, since folders 1-4 each contain a first type of file, and the category labels of the first type of file are circular, the association labels corresponding to the circular labels, namely, solid lines, are added between folders 1-4; because the folders 1-3 all contain the second type files, the category marks of the second type files are square, and the association marks corresponding to the square marks, namely the short horizontal line type broken lines, are added between the folders 1-3; similarly, since folders 1, 3, and 4 each contain a third type of file, and the class label of the third type of file is a triangle, the association label corresponding to the triangle, i.e., dotted line, is added between folders 1, 3, and 4. Wherein, the solid line, the short-line type dotted line and the dot type dotted line are all displayed, thereby achieving the visual effect.
It should be noted that folders connected by the above-mentioned solid line, short-line type dashed line or dot type dashed line contain the same class marks. As shown in fig. 3c, there are solid lines and dashed lines between folders 1 and 2 and between folders 2 and 3, respectively, which means that folders 1,2 and 3 each contain both files of the first type and files of the second type; similarly, there are solid lines and dotted lines between folders 1 and 3 and between folders 3 and 4 at the same time, which means that folders 1, 3, and 4 each contain both the first type of files and the third type of files.
The solid line, the dashed line with a short dash line, or the dashed line with a dot-type in fig. 3c all have an interactive function. When a user needs to acquire a certain type of files from the folders 1-4 at the same time, file acquisition operation can be sent out through the associated marks corresponding to the type of files. For example, as shown in fig. 3d, the user may select the solid line and drag, and the computer device may copy or clip all of the files of the first type contained in folders 1, 2, and 3 out and drop the files to the target location corresponding to the drag operation, as shown in fig. 3e and 3 f.
Alternatively, as shown in fig. 3f, after the user completes the file acquisition operation, the association mark between folders may be hidden or disappear, but is not limited thereto. In addition, the user can hide the association marks between folders by setting an operation to hide the association marks. Of course, the user can also display the associated marks between folders by setting an operation of displaying the associated marks.
From the above, the user can obtain a plurality of first type files contained in the folders 1, 2 and 3, namely, the files 1, 2,9, 10 and 11 at the same time by clicking and dragging the solid line, without the need of opening the folders 1, 2 and 3 one by one and then obtaining the first type files contained therein, and the operation is simpler and the efficiency is higher.
The method for acquiring the files provided by the embodiment of the application can be used for carrying out category marking on the files in the folders after acquiring the folders to be searched, and can also be used for carrying out other modes, such as carrying out category marking on the files in advance in the process of storing the files, and further carrying out file acquisition operation based on the existing category marks of each file.
Fig. 4a is a flowchart of another file obtaining method according to an exemplary embodiment of the present application. As shown in fig. 4a, the method comprises:
401. When storing files in a maintained folder, the stored files are category labeled, wherein the same or similar files have the same category label.
402. When files are required to be acquired from a plurality of folders, acquiring a plurality of folders to be searched from the maintained folders, wherein the folders are located under the same directory.
403. According to the category marks of the files in the folders, adding visual association marks corresponding to the same category marks between the folders containing the same category marks; wherein a category label corresponds to a visualized association label.
404. In response to an operation on the visual association markers between folders containing the same category markers, files of the same category are obtained from the folders containing the same category markers.
In this embodiment, the computer device maintains folders, and the number of folders maintained is a plurality. Step 401 describes, among other things, the process of category marking stored files in the process of storing files in maintained folders. Steps 402-404 describe the process of obtaining homogeneous files from multiple folders at one time by adding visual association markers between folders containing the same category markers on the basis of step 401.
In this embodiment, in the process of storing files in folders, category marking is performed on the files in advance, so that when a plurality of similar files need to be obtained from a plurality of folders, the files in the folders do not need to be subjected to category marking, which is beneficial to further simplifying file obtaining operation and improving file obtaining efficiency.
It should be noted that, in the foregoing embodiment, the plurality of folders are required to be located under the same directory, so as to view the plurality of folders and the association marks between the folders under the same directory at the same time, which is convenient for display and user operation, but is not limited thereto. For example, the folders may be located under different directories, in which case, by a certain display means, the folders may be mapped into virtual folders, and the mapped virtual folders are displayed simultaneously by a virtual directory, so that the user can see the virtual folders and the association marks between the virtual folders at the same time, and the folders are operated by the association marks between the virtual folders. Of course, the virtual folders and the virtual directories are just an exemplary embodiment, and all the ways of enabling the user to see the association marks between the folders and obtaining the similar files from the folders through the association marks are applicable to the embodiments of the present application. In addition, in the foregoing embodiment, the description has been given taking the example of the association mark corresponding to one type of visualization for each type of file, but the number of the association marks corresponding to each type of file is not limited in practice, for example, a plurality of types of association marks may be used for each type of file, so long as the association marks used for different types of files can be distinguished from each other.
Based on the above analysis, the embodiment of the present application further provides a file obtaining method, as shown in fig. 4b, which includes the following steps:
41. And acquiring a plurality of folders to be searched.
42. Visual association markers are generated between folders containing like files according to the categories of the files in the folders.
43. In response to an operation of the visual association marker between folders containing the same class of files, files of the same class are obtained from the folders containing the same class of files.
The embodiment depicted in fig. 4b is similar to the previous embodiments, except that: the embodiment shown in fig. 4b does not define whether a plurality of folders are located in the same directory, nor does it define the number of visualized associated marks corresponding to each type of file, and for this part, the previous content may be referred to, and will not be described herein. In addition, the foregoing embodiments may be referred to for other matters in the embodiment shown in fig. 4b, and will not be described herein.
In the above embodiments, whether the files in the plurality of folders are category-marked after the plurality of folders are acquired, or the files are category-marked in the process of storing the files in the folders before the plurality of folders are acquired, the process of category-marking the files is the same or similar, and the difference is only that the marked files are different in scope. The manner of category marking is described below by taking, as an example, a case where a plurality of folders are marked with categories after the plurality of folders are acquired.
Mode 1: the same color is added to the same or similar files present in the plurality of folders to mark the files in the plurality of folders by category. In embodiment 1, files are classified mainly by color, files of the same type are marked with the same color, and files of different types are marked with different colors.
In the embodiment 1, the specific marking mode is not limited, and any marking mode that can distinguish files by color is applicable to the embodiment of the present application. The specific labeling of mode 1 is exemplified below, depending on the object to which color is added:
Mode 1.1: icons of the same or similar files existing in the plurality of folders are rendered to the same color to make category labels for the files in the plurality of folders. In connection with the folders and files in the folders shown in fig. 3a-3f, if the folders 1,2, and 3 contain the same or similar files, files 1,2, 9,10, and 11, respectively, the icons of files 1,2, 9,10, and 11 may be rendered in the same color, e.g., red, to indicate that the five files belong to the same class of files. In addition, in the folder 1, the files 3 and 4 belong to the second type of files, and then the icons of the files 3 and 4 can be rendered to the same color, such as green, so as to indicate that the two files belong to the same type of files; similarly, in file 1, files 5 and 6 belong to the third class of files, and then the icons of files 5 and 6 may be rendered to the same color, e.g., yellow, to indicate that the two files belong to the same class of files.
Mode 1.2: names of the same or similar files existing in the plurality of folders are rendered to the same color to make category labels for the files in the plurality of folders. Here, "rendering the names of the same or similar files to the same color" may mean that font colors of the names of the same or similar files are set to the same color, or background colors of the same color may be added to the names of the same or similar files.
Mode 1.3: icons and names of the same or similar files existing in the plurality of folders are all rendered to the same color so as to mark the files in the plurality of folders in category. In the above modes 1.1 and 1.2, either the icons of the same or similar files are rendered to the same color, or the names of the same or similar files are rendered to the same color, and in mode 1.3, the icons and names of the same or similar files may be simultaneously rendered to the same color.
Mode 2: the same tag is added to the same or similar files present in the plurality of folders to sort the files in the plurality of folders. In mode 2, files are classified mainly by labels, files of the same type are labeled with the same label, and files of different types are labeled with different labels.
In the mode 2, the label is not limited to the label position, form, style and other attributes, and all the label modes that can distinguish the types of the files by the label are applicable to the embodiment of the application. The following specific labeling manner of the manner 2 is exemplified according to the object to which the label is added and the label form:
Mode 2.1: the same graphic is added near the names of the same or similar files present in the plurality of folders to category label the files in the plurality of folders. In mode 2.1, the tag is implemented in the form of a graphic. The "same pattern" herein may mean that the patterns have the same shape, the same color, or both the patterns have the same shape and the same color. In addition, "the vicinity of the name" may be an area where the file names are relatively close to each other at equal distances to the left, right, above, or below the name. In connection with the folders shown in fig. 3a-3f and the files in the folders, the left side of the names of files 1, 2, 9, 10 and 11 may be marked with a circle, provided that the folders 1, 2 and 3 contain the same or similar files, respectively files 1, 2, 9, 10 and 11. As shown in fig. 3b, in the folder 1, files 1 and 2 belong to a first type of files, and a circular mark is added to the left side of the names of the files 1 and 2; files 3 and 4 belong to a second type of files, and square marks are added to the left sides of the names of the files 3 and 4; files 5 and 6 belong to the third class of files, with triangle marks added to the left of the names of files 5 and 6. In addition, the shapes of the graphics corresponding to the same type of files are not only the same, but also the same color. For example, in fig. 3b, the circles are the same color, e.g., red; the squares are also the same in color, e.g., green; the triangles are also the same color, e.g. yellow.
Mode 2.2: the same corner marks are added on icons of the same or similar files existing in the plurality of folders to carry out category marking on the files in the plurality of folders. In mode 2.2, the tag is implemented in the form of a corner mark. Alternatively, numerical corner marks may be employed, and for the same or similar documents, the same numbers are used as corner marks. In addition, the corner mark can also adopt images or graphics, and the same images and graphics are used as the corner mark for the same or similar files. Alternatively, the position of the corner mark may be the upper left corner, the upper right corner, the lower left corner or the lower right corner of the icon, and of course, may be other areas than the corner.
Mode 2.3: the same image is added near the names of the same or similar files present in the plurality of folders to category label the files in the plurality of folders. In mode 2.3, the tag is implemented in the form of an image. For the same class of files, the same image may be added near the names of the files, indicating that the files belong to the same class of files. For different categories of files, different images are added near the names of the files, which can indicate that the files belong to different categories. "the vicinity of a name" may be an area to the left, right, above or below the name where the names of files are relatively close.
It should be noted that modes 2.1 to 2.3 described above may be used alone or in any combination.
Mode 3: the same suffix is added to the same or similar files present in the plurality of folders to mark the files in the plurality of folders for category. In mode 3, files are classified mainly by suffixes, files of the same class are marked with the same suffix, and files of different classes are marked with different suffixes. In the mode 3, the form of the suffix is not limited, and the suffix can be flexibly set according to requirements, and all forms of the suffix which do not affect normal opening and use of the file are suitable for the embodiment of the application.
Mode 4: the same outline is added to icons of the same or similar files existing in the plurality of folders to make category labels for the files in the plurality of folders. In mode 4, documents are classified mainly by outer frames, documents of the same type are marked with the same outer frame, and documents of different types are marked with different outer frames. The "same outer frame" may be the same in shape as the outer frame, the same in color as the outer frame, or the same in shape and color as the outer frame. The shape of the outer frame may be, but is not limited to: circles, squares, diamonds, triangles, pentagons, etc. Referring to fig. 3a to 3f, assuming that a circular frame may be used for the first type of document, a circular frame may be added to the icons of documents 1 and 2; the second type of files uses square outer frames, and then square outer frames can be added for icons of files 3 and 4; the third type of document uses a triangular outline, then triangular outline can be added to the icons for documents 5 and 6.
The above embodiments 1 to 4 may be used alone or in any combination.
In the above embodiments, it is necessary to add a visualized association mark corresponding to the same category mark between folders containing the same category mark. Wherein a category label corresponds to a visualized association label. The corresponding relation between the association mark and the category mark is not limited. The visualized association marks are illustrated below:
Mode a, according to the category labels of files in a plurality of folders, identifying folders containing the same category labels, adding connecting wires corresponding to the same category labels between the folders containing the same category labels, and corresponding different connecting wires with different category labels. In general, the number of folders containing the same category labels is plural, but of course, one folder may be used, and the embodiments of the present application will be described with emphasis on plural examples.
As shown in fig. 3c, folders 1,2, 3 and 4 each contain a first type of file, the category labels used for the first type of file are circles, the associated labels corresponding to the circles of the category labels are indicated by solid lines, and then solid lines are added between folders 1,2, 3 and 4. In addition, folders 1,2 and 3 each contain a second type of file, the category label used by the second type of file is square, the association label corresponding to the category label square is a dashed line of a short line type, and the dashed line of the short line type is added between folders 1,2 and 3. The folders 1,3 and 4 all contain a third type of files, the class marks used by the third type of files are triangles, the associated marks corresponding to the class mark triangles are represented by dot-type dotted lines, and dot-type dotted lines are added in the folders 1,3 and 4.
As can be seen from the above, for any two folders, the category labels that two folders commonly contain may be one or more. For the case that two folders contain multiple category labels together, an associated label corresponding to each category label is added between the two folders. As shown in fig. 3c, association marks corresponding to the category mark circles (i.e., solid lines), association marks corresponding to the category mark squares (i.e., dashed lines), and association marks corresponding to the category mark triangles (i.e., dotted lines) are respectively added between the folders 1 and 2.
And b, identifying the folders containing the same category marks according to the category marks of the files in the folders, respectively adding the labels corresponding to the same category marks for the folders containing the same category marks, and corresponding different labels for different category marks.
In the mode b, the label is not limited to the label position, form, style and other attributes, and all the label modes of associating the folders containing the same or similar files through the label are applicable to the embodiment of the application. The following specific labeling mode of mode b is exemplified according to the object to which the label is added and the label form:
Mode b.1: and identifying folders containing the same category marks according to the category marks of the files in the folders, and respectively adding corner marks corresponding to the same category marks on icons of the folders containing the same category marks.
In mode b.1, the tag is implemented in the form of a corner mark. Alternatively, a digital corner mark may be used, and an image or graphic may be used as the corner mark. The position of the corner mark may be the upper left corner, the upper right corner, the lower left corner or the lower right corner of the icon, and of course, other areas besides the corner may be used. Wherein for different folders containing the same category label, they will have the same corner mark on their icon. If a folder contains multiple category labels, the icon will have multiple different corner marks.
Mode b.2: and identifying folders containing the same category marks according to the category marks of the files in the folders, and respectively adding graphs corresponding to the same category marks near the names of the folders containing the same category marks.
In mode b.2, the tag is implemented in the form of a graphic. Wherein, a kind of the class marks corresponds to a kind of identical graph, and the "identical graph" herein may refer to that the shapes of the graphs are identical, or the colors of the graphs are identical, or the shapes and the colors of the graphs are identical. In addition, "the vicinity of the name" may be an area where the file names are relatively close to each other at equal distances to the left, right, above, or below the name. Wherein for different folders containing the same category labels, they will have the same graphic nearby their name. If a folder contains multiple category labels, the neighborhood of its name will have multiple different graphics.
Mode b.3: and identifying folders containing the same category marks according to the category marks of the files in the folders, and respectively corresponding images near the names of the folders containing the same category marks.
In mode b.3, the tag is implemented in the form of an image. A category label corresponds to an image. "the vicinity of a name" may be an area to the left, right, above or below the name where the names of files are relatively close. Wherein for different folders containing the same category labels, they will have the same image around their name. If a folder contains multiple category labels, there are multiple different images around its name.
The above modes b.1 to b.3 may be used alone or in any combination. Similarly, the modes a and b may be used alone or in combination.
In either way, after creating the visual association marks between folders containing the same type of files, the user can issue an operation of acquiring the files through these association marks having an interactive function. Considering that there may be a plurality of kinds of associated marks between folders containing the same kind of files, for convenience of description and distinction, the associated mark that the user needs to operate is referred to as a target associated mark, which may be any visualized associated mark existing between folders containing the same kind of files. Based on the selection operation, the user needs to send out the target association mark, and the target association mark is selected; and dragging the target associated mark until the target associated mark is released after the target associated mark is dragged to the target position. The target location may be a location under the directory where the folders are located, that is, a location where the file of the category corresponding to the target association mark needs to be moved. Wherein the user selection operation of the target association mark may include, but is not limited to: single click, double click, touch, mouse hover, long press, etc. For the computer device, in response to a selection operation of the target association mark between folders containing the same kind of files, selecting a file of a category corresponding to the target association mark from the folders containing the same kind of files; then, in response to an operation of dragging the target-related mark to the target location, the selected file in the folder containing the same kind of files is copied or clipped to the target location. It is worth to say that the copy mode or the clip mode can be flexibly set according to application requirements. If it is desired to retain these files in the original folder, a copy mode may be employed; if it is not necessary to hold these files in the original folder, a clipboard approach may be used.
It should be noted that, selecting the target association mark and then dragging the target association mark is an operation manner of simultaneously acquiring a plurality of files of the category corresponding to the target association mark from a plurality of folders containing the target association mark based on the target association mark, and is not limited thereto. For example, the user may perform an interactive operation with the target association mark only once, for example, the target association mark may be clicked, double-clicked or touched, and the computer device may select a file of a category corresponding to the target association mark from folders containing files of the same category and copy or clip the selected file to a designated location in response to the clicking, double-clicking or touching operation on the target association mark. The designated location may be preset by the user or may be a default location in the system.
Further, in order to improve flexibility of the embodiments of the present application during use, in some optional embodiments of the present application, a setting function is provided for a user, so as to allow the user to hide or display the visualized association mark. Thus, after generating the visualized association mark, if the user does not need to acquire a plurality of files of the same category from a plurality of folders simultaneously using the visualized association mark, the user can issue an operation of setting the hidden association mark through the setting function, and the computer device can hide the visualized association mark between folders containing the same category mark in response to the operation of setting the hidden association mark by the user. Of course, when the user needs to acquire multiple files of the same category from multiple folders at the same time based on the visualized association mark, the operation of setting the display association mark can also be sent out through the setting function, and then the computer device can respond to the operation of setting the display association mark by the user to display the visualized association mark among the folders containing the same category mark.
Further, after the files of the required category are acquired according to the requirement, category marks on the files can be reserved or deleted. Optionally, if the category label on the file only needs to be used once and is not used later, the category label can be deleted; otherwise, if the category label on the file may be reused, the file can be reserved, so that the subsequent repeated category label on the file is avoided, and resources are saved.
It should be noted that the technical solutions of the embodiments of the present application may be implemented in different product forms. For example, the technical solutions of the embodiments of the present application may be implemented as operating system-level code, where the code is implanted into an operating system of a computer device, so that the computer device executes the operating system-level code to implement the technical solutions of the embodiments described above. For another example, the technical solutions of the embodiments of the present application may also be implemented as an independent application program, where the application program is installed on a computer device, and the computer device runs the application program to implement the technical solutions of the embodiments described above. For another example, the technical solution of each embodiment of the present application may also be implemented as a plug-in, where the plug-in is installed on a computer device, and the computer device runs the plug-in and cooperates with an operating system to perform functions related to folders, file management, and the like, so that the technical solution of each embodiment of the present application may be implemented. The implementation forms of the setting functions provided for the user are different according to the different product implementations of the technical solutions of the embodiments of the present application, and will not be described in detail.
In an application scenario, a plurality of disk characters exist on a personal computer of a user, each disk character corresponds to a hard disk, a plurality of folders exist on the hard disk, personal photos and family photos of the user are dispersed in the folders, and names of the folders all contain personal words. In order to arrange the storage space on a computer, a user wants to store his personal photo and family photo on an external mobile hard disk. As shown in FIG. 5a, a user may employ a search function on a computer to search for all folders in the name that contain "personal" words, which may appear under the search results directory. It should be noted that these folders do not necessarily all contain the user's personal or family photos. In addition, for simplicity of description, it is assumed that the files in the image format contained in these folders are only personal photos and family photos of the user. Then, the user marks the files in the folders by category, marks the files in the image format and the files in the non-image format, and the marking mode can be any mode or combination mode of the modes 1-4. After the category labels are completed, the computer automatically recognizes the category labels contained in each folder and adds corresponding visual association labels between the folders containing the same category labels. The user selects the associated mark corresponding to the file in the image format and drags the associated mark to the drive letter where the mobile hard disk is located, and the computer clips the file in the image format existing in all folders containing the personal word in the searched name to the mobile hard disk. For the user, the migration efficiency of the photos can be improved only by performing the simple operation without entering each folder one by one.
In another application scenario, a large number of files are stored in the database P1, which files are scattered in different file groups according to file types. In order to provide a richer and more flexible data query and storage service to the outside, a part of files under the application App 1-Appk need to be migrated from the database P1 to the database P2, and the database P2 provides the data query and storage service to the applications M 1-Mk, where k is a positive integer, and represents the number of applications. This requires identifying files under application App 1-Appk from a large set of files, migrating these files from database P1 to database P2, and storing these files on database P2 in the application dimension. If the existing mode is adopted, the user needs to screen each file group for multiple times, files under each application are screened out, the files under each application are migrated to the database P2, and the files are stored from the application dimension, so that the operation is complex and the efficiency is low. As shown in fig. 5b, by adopting the technical scheme provided by the embodiment of the application, the files in each file group are marked by category according to the application to which the files belong, and then a visualized association mark is generated between the file groups containing the files of the same application; the user selects the associated marks corresponding to the applications in the application App 1-Appk and drags the selected associated marks, so that files under the applications in the App 1-Appk can be migrated from a plurality of file groups to the database P2 and stored in the file groups corresponding to the corresponding applications on the database P2, and the files under the applications can be migrated to the database P2 quickly and efficiently, and the purpose of storing and managing the files from the application dimension is achieved.
It should be noted that, in the foregoing embodiment, the technical solution of the present application is described by taking the case of acquiring the same-category file from the plurality of folders as an example, but the technical solution of the present application may be used not only for acquiring the same-category file from the plurality of folders, but also for other scenes in which the same-category information needs to be acquired, for example, for acquiring the same-category record from the plurality of databases. As shown in fig. 5c, a flow of a database record obtaining method according to an exemplary embodiment of the present application includes the following steps:
51. A plurality of databases to be searched are acquired.
52. And generating visualized association marks among databases containing the same type of records according to the categories of the records in the databases.
53. In response to an operation on the associated marker, records of the same category are obtained from a database containing records of the same category.
In this embodiment, a plurality of records are stored in each database, and the plurality of records may belong to the same category or may belong to different categories. When a record of a certain category needs to be acquired across databases, multiple databases to be searched can be acquired. Optionally, the computer device may receive a search requirement submitted by a user, where the search requirement carries database identification information, and may obtain a plurality of databases to be searched according to the database identification information in the search requirement. The database identification information may be information such as a name, an ID, etc. of the database.
After the multiple databases to be searched are acquired, a visual association tag may be generated between databases containing the same type of record according to the categories of records in the multiple databases. It should be noted that databases containing similar records are typically two or more. In addition, the number of categories of the same type of records contained in the two databases may be one category, or may be two categories or more categories. Wherein different types of records correspond to different visualized associated labels. The association mark of the embodiment can identify which databases have the same kind of records and in particular which kind of records besides the visual characteristic. Further, the association tag of the present embodiment also has directivity and interaction functions. Wherein directionality is a record in each database to which an associated marker may point to a corresponding category. Interactivity refers to allowing a user to perform interactive operations on an associated mark, where interactive operations mainly refer to operations performed by a user through an associated mark to obtain records of some type located in multiple databases. For a computer device, records of the same category may be obtained from a database containing records of the same category in response to user manipulation of visual association markers between databases containing records of the same category.
It should be noted that, regarding the style of the association mark, the manner of adding the association mark, the category mark related to the record, and the like, the same or similar to the foregoing embodiments, reference may be made to the descriptions of the foregoing embodiments, and the description thereof will not be repeated.
In this embodiment, records in multiple databases are classified, and information such as which databases each class of records is distributed in and which class of records each database contains is transmitted among databases containing the same class of records through visualized association marks; further, the visualized association marks have an interaction function, and records of the same category can be obtained from databases containing the same category of records through interaction operation of the visualized association marks, and the records do not need to be obtained from each database, so that the operation of obtaining the records is simplified, and the efficiency of obtaining the records is improved. In particular, as the number of databases increases, the efficiency advantage of such a record acquisition approach becomes more pronounced.
It should be noted that, the execution subjects of each step of the method provided in the above embodiment may be the same device, or the method may also be executed by different devices. For example, the execution subject of steps 101 to 103 may be device a; for another example, the execution subject of steps 101 and 102 may be device a, and the execution subject of step 103 may be device B; etc.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations appearing in a specific order are included, but it should be clearly understood that the operations may be performed out of the order in which they appear herein or performed in parallel, the sequence numbers of the operations such as 101, 102, etc. are merely used to distinguish between the various operations, and the sequence numbers themselves do not represent any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 6, the computer device includes: a memory 61 and a processor 62.
Memory 61 is used to store computer programs and may be configured to store various other data to support operations on the computer device. Examples of such data include instructions for any application or method operating on the computer device, contact data, phonebook data, messages, pictures, videos, etc., as well as several folders maintained by the computer device, each folder having at least one file stored therein.
The memory 61 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A processor 62 coupled to the memory 61 for executing the computer program in the memory 61 for:
acquiring a plurality of folders to be searched from a plurality of folders stored in a memory 61, wherein the folders are positioned under the same directory;
Generating visualized association marks among folders containing similar files according to the types of the files in the folders; wherein each type of file corresponds to a visualized association mark;
in response to an operation of the visual association marker between folders containing the same class of files, files of the same class are obtained from the folders containing the same class of files.
In an alternative embodiment, processor 62 is also configured to: after a plurality of folders to be searched are obtained, category marking is carried out on files in the folders; or before acquiring a plurality of folders to be searched, when storing files in a plurality of maintained folders, carrying out category marking on the stored files, wherein the plurality of folders belong to the plurality of maintained folders; wherein the same or similar documents have the same category labels.
Further optionally, the processor 62 is specifically configured to perform at least one of the following operations when marking the files in the plurality of folders:
Adding the same color to the same or similar files in the folders to mark the files in the folders in a category;
Adding the same label to the same or similar files in the folders to mark the categories of the files in the folders;
Adding the same suffix to the same or similar files in the plurality of folders to mark the files in the plurality of folders in category;
The same outline is added to icons of the same or similar files existing in the plurality of folders to make category labels for the files in the plurality of folders.
Still further, the processor 62 is specifically configured to, when adding the same color to the same or similar files present in the plurality of folders: icons or names of the same or similar files existing in the plurality of folders are rendered to the same color to make category labels for the files in the plurality of folders.
Still further, the processor 62 is specifically configured to perform at least one of the following operations when adding the same tag to the same or similar files present in the plurality of folders:
Adding the same graph near the names of the same or similar files existing in the plurality of folders to mark the files in the plurality of folders by category;
Adding the same corner marks on icons of the same or similar files in the folders to carry out category marking on the files in the folders;
the same image is added near the names of the same or similar files present in the plurality of folders to category label the files in the plurality of folders.
Further alternatively, the processor 62 is specifically configured to, when generating the visualized association marks between folders containing the same kind of files according to the categories of the files in the plurality of folders: according to the category marks of the files in the folders, visual association marks corresponding to the same category marks are added between the folders containing the same category marks, and one category mark corresponds to one visual association mark.
Still further, the processor 62 is specifically configured to perform at least one of the following operations when adding, based on the category labels of the files in the plurality of folders, visual association labels corresponding to the same category label between folders containing the same category label:
adding connecting wires corresponding to the same category marks between folders containing the same category marks according to the category marks of the files in the folders, wherein different category marks correspond to different connecting wires;
according to the category labels of the files in the folders, labels corresponding to the same category labels are respectively added to the folders containing the same category labels, and different category labels correspond to different labels.
Still further, the processor 62 is specifically configured to perform at least one of the following operations when adding labels corresponding to the same category labels to folders containing the same category labels, respectively, according to the category labels of the files in the plurality of folders:
According to the category marks of the files in each folder, corner marks corresponding to the same category marks are respectively added on icons of the folders containing the same category marks;
according to the category marks of the files in each folder, adding graphs corresponding to the same category marks near the names of the folders containing the same category marks respectively;
According to the category labels of the files in each folder, images corresponding to the same category labels are respectively near the names of the folders containing the same category labels.
In an alternative embodiment, processor 62 is also configured to: after visual association marks are generated among folders containing the same kind of files, hiding the visual association marks among the folders containing the same category marks in response to the operation of hiding the association marks set by a user; or in response to a user setting operation to display the associated marks, displaying the associated marks including the visualization among the plurality of folders.
In an alternative embodiment, the processor 62, when acquiring a plurality of folders to be searched, is specifically configured to: determining a plurality of folders to be searched according to the folder identification information in the searching requirement; if the folders are scattered under different catalogues, copying the folders under the same catalogue.
In an alternative embodiment, processor 62 is specifically configured to, in response to operation of the visual association markers between folders containing like files, obtain files of the same category from folders containing like files:
In response to a selection operation of a target associated mark between folders containing the same kind of files, selecting a file of a category corresponding to the target associated mark from the folders containing the same kind of files;
Copying or clipping selected files in a folder containing the same type of files to a target position in response to an operation of dragging the target associated mark to the target position;
the target association mark is any visualized association mark existing between folders containing the same kind of files.
Further, as shown in fig. 6, the computer apparatus further includes: communication component 63, display 64, power component 65, audio component 66, and other components. Only some of the components are schematically shown in fig. 6, which does not mean that the computer device only comprises the components shown in fig. 6. In addition, the components shown in fig. 6 with dashed boxes are optional components, depending on the specific implementation of the computer device.
The computer device in this embodiment may be a terminal device such as a desktop computer, a tablet computer, a notebook computer, a smart phone, or a wearable device, or may be a server device such as a conventional server, a cloud host, a virtual center, or a server array.
It should be noted that, in addition to the above functions, the computer device provided in this embodiment further has a function of acquiring the same-category records from multiple databases; accordingly, the processor 62 of the computer device may also be used to obtain a plurality of databases to be searched; generating visualized association marks among databases containing similar records according to the categories of the records in the databases; in response to an operation on the associated marker, records of the same category are obtained from a database containing records of the same category. The manner of adding the association identifier, the category identifier related to the record, and the like, which are the same as or similar to those of the foregoing embodiments, may be referred to the description of the foregoing embodiments, and are not repeated herein.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program, which when executed by one or more processors causes the one or more processors to implement the steps in the method embodiments described above.
The communication assembly of fig. 6 is configured to facilitate wired or wireless communication between the device in which the communication assembly is located and other devices. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component may further include a Near Field Communication (NFC) module, radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and the like.
The display in fig. 6 described above includes a screen, which may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation.
The power supply assembly shown in fig. 6 provides power for various components of the device in which the power supply assembly is located. The power components may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the devices in which the power components are located.
The audio component of fig. 6 described above may be configured to output and/or input audio signals. For example, the audio component includes a Microphone (MIC) configured to receive external audio signals when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signal may be further stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (17)

1. A file acquisition method, comprising:
Acquiring a plurality of folders to be searched, wherein the folders are positioned under the same directory;
According to the category marks of the files in the folders, adding visual association marks corresponding to the same category marks between folders containing the same category marks, wherein one category mark corresponds to one visual association mark; wherein each type of file corresponds to a visualized association mark;
Selecting files of a category corresponding to the target association mark from folders containing the same kind of files in response to a selection operation of the target association mark between the folders containing the same kind of files, wherein the target association mark is any visualized association mark existing between the folders containing the same kind of files;
and copying or clipping the selected files in the folder containing the similar files to the target position in response to the operation of dragging the target association mark to the target position.
2. The method according to claim 1, wherein the method further comprises:
after a plurality of folders to be searched are obtained, carrying out category marking on files in the folders; or alternatively
Before acquiring a plurality of folders to be searched, when storing files in the maintained folders, carrying out category marking on the stored files, wherein the folders belong to the maintained folders;
wherein the same or similar documents have the same category labels.
3. The method of claim 2, wherein the category marking the files in the plurality of folders comprises at least one of:
Adding the same color for the same or similar files in the folders to make category marks for the files in the folders;
adding the same label to the same or similar files in the folders to carry out category marking on the files in the folders;
Adding the same suffix to the same or similar files existing in the plurality of folders to carry out category marking on the files in the plurality of folders;
And adding the same outer frame for icons of the same or similar files in the folders to mark the files in the folders in a category.
4. A method according to claim 3, wherein adding the same color to the same or similar files present in the plurality of folders to categorize the files in the plurality of folders comprises:
Rendering icons or names of the same or similar files existing in the plurality of folders to the same color so as to make category labels on the files in the plurality of folders.
5. A method according to claim 3, wherein adding the same tag to the same or similar files present in the plurality of folders to categorize the files in the plurality of folders comprises at least one of:
Adding the same graph near the names of the same or similar files existing in the folders to mark the files in the folders in a category;
adding the same corner marks on icons of the same or similar files in the plurality of folders to mark the files in the plurality of folders in a category;
The same image is added near the names of the same or similar files existing in the plurality of folders to make category labels for the files in the plurality of folders.
6. The method of claim 1, wherein adding visual association markers corresponding to the same category markers between folders containing the same category markers according to the category markers of files in the plurality of folders, comprises at least one of:
adding connecting wires corresponding to the same category marks between folders containing the same category marks according to the category marks of the files in the folders, wherein different category marks correspond to different connecting wires;
and respectively adding labels corresponding to the same category labels for folders containing the same category labels according to the category labels of the files in the folders, wherein different category labels correspond to different labels.
7. The method according to claim 6, wherein, according to the category labels of the files in the folders, adding labels corresponding to the same category labels to the folders containing the same category labels, respectively, comprises at least one of the following ways:
According to the category marks of the files in each folder, corner marks corresponding to the same category marks are respectively added on icons of the folders containing the same category marks;
According to the category marks of the files in each folder, adding graphs corresponding to the same category marks near the names of the folders containing the same category marks respectively;
According to the category marks of the files in each folder, images corresponding to the same category marks are respectively arranged near the names of the folders containing the same category marks.
8. The method of claim 1, wherein after generating the visualized association marks between folders containing like files, the method further comprises:
Hiding the visualized association marks among folders containing the same category marks in response to an operation of hiding the association marks set by a user; or alternatively
And responding to the operation of displaying the association mark set by the user, and displaying the association mark containing the visualization among the folders.
9. The method according to any one of claims 1-8, wherein obtaining a plurality of folders to be searched comprises:
Determining a plurality of folders to be searched according to the folder identification information in the searching requirement;
If the folders are scattered under different directories, copying the folders under the same directory.
10. A computer device, comprising: a memory and a processor;
the memory is used for storing a computer program and a plurality of folders maintained by the computer equipment, and each folder is stored with at least one file;
The processor, coupled to the memory, is configured to execute the computer program for:
acquiring a plurality of folders to be searched from a plurality of folders stored in a memory, wherein the folders are positioned under the same directory;
According to the category marks of the files in the folders, adding visual association marks corresponding to the same category marks between folders containing the same category marks, wherein one category mark corresponds to one visual association mark; wherein each type of file corresponds to a visualized association mark;
Selecting files of a category corresponding to the target association mark from folders containing the same kind of files in response to a selection operation of the target association mark between the folders containing the same kind of files;
copying or clipping selected files in the folder containing the same type of files to the target position in response to the operation of dragging the target association mark to the target position; the target associated mark is any visual associated mark existing between folders containing the same kind of files.
11. The computer device of claim 10, wherein the processor is further configured to:
after a plurality of folders to be searched are obtained, carrying out category marking on files in the folders; or alternatively
Before acquiring a plurality of folders to be searched, when storing files in the maintained folders, carrying out category marking on the stored files, wherein the folders belong to the maintained folders;
wherein the same or similar documents have the same category labels.
12. The computer device of claim 11, wherein the processor, when marking the categories of files in the plurality of folders, is specifically configured to perform at least one of:
Adding the same color for the same or similar files in the folders to make category marks for the files in the folders;
adding the same label to the same or similar files in the folders to carry out category marking on the files in the folders;
Adding the same suffix to the same or similar files existing in the plurality of folders to carry out category marking on the files in the plurality of folders;
And adding the same outer frame for icons of the same or similar files in the folders to mark the files in the folders in a category.
13. The computer device of claim 10, wherein the processor, when adding the visualized associated label, is specifically configured to perform at least one of:
Adding connecting wires corresponding to the same category marks between folders containing the same category marks according to the category marks of the files in each folder, wherein different category marks correspond to different connecting wires;
And respectively adding labels corresponding to the same category labels for the folders containing the same category labels according to the category labels of the files in each folder, wherein different category labels correspond to different labels.
14. The computer device of claim 13, wherein the processor is configured to, when adding labels corresponding to the same category labels to folders containing the same category labels, respectively, perform at least one of:
According to the category marks of the files in each folder, corner marks corresponding to the same category marks are respectively added on icons of the folders containing the same category marks;
According to the category marks of the files in each folder, adding graphs corresponding to the same category marks near the names of the folders containing the same category marks respectively;
According to the category marks of the files in each folder, images corresponding to the same category marks are respectively arranged near the names of the folders containing the same category marks.
15. The computer device of claim 10, wherein the processor is further configured to:
Hiding the visualized association marks among folders containing the same category marks in response to an operation of hiding the association marks set by a user; and
And responding to the operation of displaying the association mark set by the user, and displaying the association mark containing the visualization among the folders.
16. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by one or more processors, causes the one or more processors to perform the steps in the method of any of claims 1-9.
17. A database record acquisition method, comprising:
acquiring a plurality of databases to be searched;
according to the category marks recorded in the databases, adding visual association marks corresponding to the same category marks between databases containing the similar records, wherein one category mark corresponds to one visual association mark;
in response to a selection operation of a target associated mark between databases containing similar records, selecting a record of a category corresponding to the target associated mark from the databases containing similar records;
Copying or clipping selected records in the database containing similar records to a target position in response to dragging the target associated mark to the target position; wherein the target associated mark is any visualized associated mark existing between databases containing similar records.
CN201910328219.7A 2019-04-23 2019-04-23 File and database record acquisition method, computer equipment and storage medium Active CN111831610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910328219.7A CN111831610B (en) 2019-04-23 2019-04-23 File and database record acquisition method, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910328219.7A CN111831610B (en) 2019-04-23 2019-04-23 File and database record acquisition method, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111831610A CN111831610A (en) 2020-10-27
CN111831610B true CN111831610B (en) 2024-06-14

Family

ID=72911834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910328219.7A Active CN111831610B (en) 2019-04-23 2019-04-23 File and database record acquisition method, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111831610B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116680237B (en) * 2023-06-07 2024-07-05 宁波市电力设计院有限公司 A file organization method, system and storage medium based on cloud storage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101346688A (en) * 2006-05-03 2009-01-14 索尼计算机娱乐公司 Multimedia playback device and menu screen display method
CN104750485A (en) * 2015-03-24 2015-07-01 包头市悠然网络科技有限公司 Method and system used for arranging desktop application used for mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200849044A (en) * 2007-06-15 2008-12-16 Tsu-Shun Lin Database files-management system, integration module and browsing interface of database files-management system, database files-management method
KR101272656B1 (en) * 2011-11-15 2013-06-10 조성수 Method of file management based on tag and system of the same
US10921974B2 (en) * 2016-03-30 2021-02-16 Microsoft Technology Licensing, Llc Using drag and drop to apply metadata
CN106095236A (en) * 2016-06-07 2016-11-09 北京小米移动软件有限公司 The method and device of arranging desktop icons

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101346688A (en) * 2006-05-03 2009-01-14 索尼计算机娱乐公司 Multimedia playback device and menu screen display method
CN104750485A (en) * 2015-03-24 2015-07-01 包头市悠然网络科技有限公司 Method and system used for arranging desktop application used for mobile terminal

Also Published As

Publication number Publication date
CN111831610A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN110750197B (en) File sharing method, device, system, corresponding device and storage medium
US20140075354A1 (en) Apparatus and method for providing user interface for data management
US8751921B2 (en) Presenting annotations in hierarchical manner
US10331311B2 (en) Information management with non-hierarchical views
EP3104318A1 (en) Information processing apparatus, method, and program
KR20110006723A (en) Content management device and content management method
CN110083346B (en) Filtering configuration method and device based on data visualization interface
US20110231424A1 (en) Method and system for automated file aggregation on a storage device
CN104111934B (en) Display method of electronic map search results and electronic map client
US11036792B2 (en) Method for designating and tagging album of stored photographs in touchscreen terminal, computer-readable recording medium, and terminal
CN107015958A (en) Report generation method and device
CN111338625B (en) Data processing method, system, terminal equipment and storage medium
CN114995716B (en) Operation method of android application related file on desktop system
CN106155988A (en) Data drawing list method for drafting based on excel and relevant apparatus
CN110673969A (en) A multi-program content sharing method, terminal and medium
CN111273826A (en) Desktop icon management method, device, equipment and storage medium
US20170046350A1 (en) Media organization
CN111831610B (en) File and database record acquisition method, computer equipment and storage medium
CN110347321A (en) A kind of formation gathering method and device
US20210089708A1 (en) Information processing apparatus and non-transitory computer readable medium
CN104715026A (en) Folder management method and intelligent terminal
CN107045447A (en) The tag displaying method and device of a kind of data object
CN111368234A (en) Window adjustment method, device and storage medium
CN111142741B (en) File sorting method, terminal and computer readable storage medium
US9965485B2 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant