WO2021003932A1 - File management method and apparatus, computer device and storage medium - Google Patents

File management method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2021003932A1
WO2021003932A1 PCT/CN2019/117750 CN2019117750W WO2021003932A1 WO 2021003932 A1 WO2021003932 A1 WO 2021003932A1 CN 2019117750 W CN2019117750 W CN 2019117750W WO 2021003932 A1 WO2021003932 A1 WO 2021003932A1
Authority
WO
WIPO (PCT)
Prior art keywords
directory tree
files
folder
code
folders
Prior art date
Application number
PCT/CN2019/117750
Other languages
French (fr)
Chinese (zh)
Inventor
卜小琴
Original Assignee
平安国际智慧城市科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安国际智慧城市科技股份有限公司 filed Critical 平安国际智慧城市科技股份有限公司
Publication of WO2021003932A1 publication Critical patent/WO2021003932A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Definitions

  • This application relates to a file management method, device, computer equipment and storage medium.
  • a folder tree diagram is mainly generated for each file and folder.
  • the generated folder tree diagram can only express the hierarchical relationship between files, and cannot perform more aspects. use.
  • a file management method, device, computer equipment, and storage medium are provided.
  • a file management method includes:
  • a file management device includes:
  • the directory tree generation module is used to read the information of the locally stored folders and files; generate a folder directory according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and the files tree;
  • the interaction module is configured to, when an interaction instruction for the directory tree of the folder is received, trigger to obtain the directory tree interaction code corresponding to the interaction instruction from the page code of the webpage; by executing the directory tree interaction code , Perform corresponding interactive processing for the folder directory tree.
  • a computer device includes a memory and one or more processors, the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the one or more processors execute the following step:
  • One or more non-volatile computer-readable storage media storing computer-readable instructions.
  • the one or more processors execute the following steps:
  • Fig. 1 is an application scenario diagram of a file management method according to one or more embodiments.
  • Fig. 2 is a schematic flowchart of a file management method according to one or more embodiments.
  • Fig. 3 is a schematic flowchart of the steps of adjusting the order of the directories according to one or more embodiments.
  • Fig. 4 is a block diagram of a file management device according to one or more embodiments.
  • Fig. 5 is a block diagram of a file management device in another embodiment.
  • Figure 6 is a block diagram of a computer device according to one or more embodiments.
  • the file management method provided in this application can be applied to the application environment as shown in FIG. 1.
  • the terminal 110 and the server 120 communicate through a network.
  • the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server 120 may be implemented as an independent server or a server cluster composed of multiple servers.
  • the terminal 110 can read information about folders and files stored locally; and generate a folder directory tree according to the read information about folders and files.
  • the terminal 110 may obtain the related information of the preset webpage from the server 120, and parse the related information of loading the preset webpage in the terminal 110, and generate the corresponding preset webpage.
  • the terminal 110 can write the folder directory tree into a preset web page.
  • the user can input an interactive instruction to the folder directory tree in the webpage.
  • the terminal 110 receives the interactive instruction for the folder directory tree, it triggers to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; by executing the directory Tree interactive code, corresponding interactive processing for the folder directory tree.
  • a file management method is provided. Taking the method applied to the terminal 110 in FIG. 1 as an example for description, the method includes the following steps:
  • Local refers to the local of the terminal.
  • At least one folder and file can be stored locally on the terminal.
  • the terminal can read information about all folders and files stored locally.
  • the terminal can also read the information of some folders and files stored locally.
  • the terminal may obtain the designated path, and read the information of the folders and files corresponding to the designated path from the local.
  • the specified path is the specified storage path.
  • the information of the folders and files corresponding to the specified path refers to the information of the folders and files stored under the specified path.
  • the information of the specified folder and file can be read in a targeted manner, so that the granularity of file management can be finer, so that a folder directory tree that meets the needs can be generated, avoiding unnecessary The interference of the directory makes the generated folder directory tree more accurate.
  • S204 Generate a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files.
  • the folder directory tree is a tree diagram that displays the hierarchical relationship between folders and files in the form of directories. It can be understood that each directory in the folder directory tree is the name of a folder or file, and the hierarchical relationship between the directories in the folder directory tree is the hierarchical relationship between the corresponding folders and files.
  • the terminal can read the information of folders and files stored locally on the terminal through the file system (fs, file system) module of Node.js.
  • the read information includes the naming of folders and files and the hierarchical relationship between them.
  • the terminal can generate a folder directory tree according to the naming of each folder and file and the hierarchical relationship between them.
  • Node.js is a JavaScript runtime environment based on Chrome V8 engine.
  • the terminal may display a preset webpage, and write the folder directory tree into the preset webpage in the form of webpage elements.
  • the folder directory tree written into the preset webpage is regarded as an element in the webpage, and has the characteristics of editability and expandability of the webpage.
  • the page code of the preset webpage includes directory tree interaction code.
  • the terminal may directly obtain the page code of the preset webpage from the server, and parse the page code for loading the preset webpage at the terminal to generate the corresponding preset webpage.
  • the page code of the webpage is used to realize the loading and display of the webpage and the related functions of the webpage.
  • the preset webpage may be generated by the terminal.
  • the method before step S206, further includes the step of generating a preset webpage, which specifically includes the following steps: obtaining the page code of the initial webpage sent by the server; obtaining the directory tree interaction code input for the initial webpage; The interactive code of the directory tree is updated to the page code of the initial webpage, and the preset webpage is loaded and generated.
  • the initial web page is the default web page that is initialized.
  • the directory tree interactive code is the code used to implement the interactive function of the folder directory tree. It can be understood that the directory tree interactive code enables the folder directory tree to achieve corresponding interactive functions.
  • the terminal may obtain the page code of the initial webpage from the server. Developers can add directory tree interaction code to the initial page on the development side, and the server can send the added directory tree interaction code to the terminal. The terminal can update the interactive code of the directory tree to the page code of the initial webpage, and generate a preset webpage by loading the updated page code.
  • the directory tree interactive code may include at least one of interactive control code, directory jump code, and drag function code.
  • the interactive control code is the code for embedding the interactive control in the page.
  • Interactive controls are controls that interact with the folder directory tree.
  • the interactive control may include at least one of a menu retractable control, a search box control, and a function button.
  • the menu stretch control is used to generate a menu that can be expanded and contracted.
  • the corresponding function buttons or function options can be set in the menu as required.
  • the search box control is used to provide a search box for users to enter search keywords and search for corresponding folders or files from the folder directory tree according to the search keywords.
  • the search box control can also add a search object type selection control (for example, add a type selection drop-down key).
  • the search object type can include folder type and file type. In this way, you can choose to search for folders or files by selecting the search object type selection control to optimize the search function.
  • Directory jump code used to automatically jump to the specified directory in the folder directory tree according to the trigger operation.
  • the drag function code is used to detect the drag operation, and follow the drag operation to drag and drop the content in the specified folder directory tree. It can be understood that the custom classification of files can be realized by dragging and dropping.
  • the terminal may also establish a mapping relationship between the directory in the folder directory tree and the storage path of the corresponding file or folder.
  • the mapped storage path can be obtained, and the corresponding folder or file can be automatically jumped from the local disk of the terminal according to the storage path.
  • the storage path mapped to the directory can be obtained, and according to the storage path, it can be automatically found from the local disk of the terminal Folder A. In this way, the automatic search for folders or files is realized by triggering the folder directory tree, and the search efficiency is improved.
  • Interactive instructions are used to instruct the corresponding interactive processing of the folder directory tree. It can be understood that the interactive processing of the folder directory tree is related processing that acts on the folder directory tree. For example, searching for a folder directory tree, dragging a directory in the folder directory tree, jumping to a corresponding directory in the folder directory tree, etc. are all related processing that acts on the folder directory tree.
  • the interactive instruction includes a trigger instruction for interactive controls (for example, at least one of a trigger instruction for a menu retractable control, a trigger instruction for a search box control, a trigger instruction for a function button, etc.), a directory At least one of a jump instruction and a drag instruction.
  • a trigger instruction for interactive controls for example, at least one of a trigger instruction for a menu retractable control, a trigger instruction for a search box control, a trigger instruction for a function button, etc.
  • a directory At least one of a jump instruction and a drag instruction.
  • the user using the terminal can perform corresponding interactive operations on the folder directory tree displayed on the web page to input an interactive instruction.
  • the terminal receives the interactive instruction, it can trigger the page from the web page where the folder directory tree is located. Extract the directory tree interactive code corresponding to the interactive instruction from the code.
  • S210 Perform corresponding interactive processing on the folder directory tree by executing the directory tree interactive code.
  • the terminal may execute the acquired directory tree interactive code, and perform corresponding interactive processing on the folder directory tree by executing the directory tree interactive code.
  • the terminal may select a target interactive object from the folder directory tree by executing the acquired directory tree interactive code, and execute the interactive processing implemented by the directory tree interactive code for the target interactive object .
  • the interactive processing implemented by the directory tree interactive code is the interactive processing that the directory tree interactive code can implement.
  • the target interactive object refers to the object that you want to interact with in the folder directory tree specified by the interactive instruction.
  • the target interactive object may include the directory specified by the interactive instruction in the folder directory tree and/or the substantial content under the directory.
  • the substantive content under the directory is the file or folder.
  • the directory tree interaction code corresponding to the drag-and-drop instruction is the drag function code
  • the target interactive object is the one that you want to drag in the folder directory tree.
  • Directory or substantive content under that directory For example, the user wants to drag and drop directory A in the folder directory tree, enters a drag interaction instruction, triggers the acquisition and execution of the drag function code, to select the target interactive object, namely directory A, from the folder directory tree, and then A executes the drag and drop processing implemented by the drag and drop function code.
  • the directory tree interactive code corresponding to the directory jump instruction is the directory jump code
  • the target interactive object is the folder directory tree to be jumped to. table of Contents.
  • the interactive instruction is a trigger instruction for an interactive control
  • the corresponding directory tree interactive code is the interactive control code
  • the target interactive object is in the folder directory tree and used for triggering by the interactive instruction At least one of the directory that the interactive control can act on, the files or folders under the directory, and menu options.
  • the target interaction object may also include menu options in the menu corresponding to the folder directory tree. It can be understood that each menu option in the menu corresponding to the folder directory tree is used to identify the option of the function formulated for the folder directory tree. Then, when the interactive instruction is a trigger instruction for the flexible menu control, the corresponding directory tree interactive code refers to the code of the flexible menu control embedded in the page, and the target interactive object is the and A menu option that can be expanded and/or contracted after the menu retractable control is triggered.
  • the above-mentioned file management method generates a folder directory tree according to the information of locally stored folders and files; writes the folder directory tree into a preset web page. Because the webpage is editable and extensible, the interactive code for editing the directory tree can be added to the webpage in advance. In this way, when an interactive instruction for the folder directory tree is received, the The directory tree interaction code corresponding to the interaction instruction is obtained from the page code of the webpage; by executing the directory tree interaction code, corresponding interaction processing is performed on the folder directory tree.
  • the folder directory tree has more interactive functions, not limited to expressing the hierarchical relationship between files, thereby increasing the folder The utilization of the directory tree.
  • the method further includes: obtaining the visual element display code input for the webpage; updating the visual element display code to the page code of the webpage; loading the updated visual element display code and displaying it in the webpage Visual elements display the visual elements specified in the code.
  • the visual element display code is used to display visual elements in the web page.
  • Visual elements refer to elements with visual effects in web pages.
  • the visual element includes at least one of pictures, text, audio and video, and so on.
  • the picture includes at least one of a dynamic picture and a static effect picture.
  • developers can optimize the page layout of the webpage on the development side, add some visual elements that can achieve visual optimization effects in the webpage, and send them to the terminal through the server.
  • the terminal can run the visual element display code added by the developer to the webpage, and update the visual element display code to the page code of the webpage. Further, the terminal may load the updated visual element display code, and display the visual element specified in the visual element display code in the web page.
  • the visual element display code may be a picture tag code.
  • the terminal can load the picture tag code, and load and display the picture specified by the picture tag code in the web page where the folder directory tree is located.
  • the corresponding visual elements are added and displayed in the web page.
  • the visual effect is optimized, so that the file The folder directory tree is no longer independent, but can be combined with other visual elements, so that more information can be expressed through the combination.
  • the visual element may also include a directory tree display template.
  • the visual element display code includes the directory tree display template code; the directory tree display template code is used to specify the directory tree display template containing the display information.
  • displaying the visual elements specified in the visual element display code in the web page includes: nesting the folder directory tree into the directory tree display template in the web page to generate the folder directory tree including display information .
  • the directory tree display template is used to express the display form of the directory tree. It can be understood that the directory tree display template includes preset template display information. In one of the embodiments, the directory tree display template includes display information such as display pendants and skins of the folder directory tree.
  • the developer can pre-write the directory tree display template code including the specific display effect on the development side, and send it to the terminal through the server.
  • the terminal can update the directory tree display template code to the page code of the web page, and load the directory tree display template code, in the web page, nest the folder directory tree to the directory tree display template specified by the directory tree display template code , Generate a folder directory tree including display information. For example, combining the generated folder directory tree with the directory tree display template can generate a folder directory tree with display pendants and skins.
  • the visual element display code may also include template switching control code.
  • the terminal may load the template switching control code to display the template switching control (for example, a direction arrow) on the web page.
  • the user can trigger the template switching control to input a switching operation instruction, and the terminal can respond to the switching operation instruction to run and load the current directory tree display template code to which it is switched, and nest the folder directory tree to switch in the web page
  • a folder directory tree including display information is generated. It can be understood that by triggering the template switching control, different display effects on the folder directory tree are realized.
  • the folder directory tree is nested into the directory tree display template to generate the folder directory tree including display information.
  • the visual effects are optimized, so that the folder directory tree not only expresses the file hierarchy, but also other visual information.
  • the method further includes: statistically classifying the folders and files in the folder directory tree; generating a statistical graph based on each file category obtained by the statistical classification and displaying it on a web page; for each file category , From the folder directory tree, filter the folder and file directory under the file category; establish an association relationship between the file category in the corresponding display area of the statistical graph and the filtered directory; the association relationship is used for display After the area is triggered, the related directories are highlighted in the folder directory tree.
  • the terminal can statistically classify folders and files in the folder directory tree according to preset statistical dimensions to obtain each file category.
  • the statistical dimension may include at least one dimension such as file format and file usage.
  • the file format may include at least one file category such as tables, documents, video, and audio.
  • the file usage includes at least one file category such as study, work, and life.
  • the file categories divided under the statistical dimension can be further divided into sub file categories.
  • learning is a document category divided according to the purpose of the document, and learning may include sub-document categories such as mathematics, Chinese, and English.
  • life is a file category classified according to the purpose of the file, and life can include sub-file categories such as music, sports, politics, history, economy, and literature.
  • the terminal may generate a statistical graph showing each file category, and display the generated statistics on a web page.
  • the terminal can filter the folders and file directories under the file category from the folder directory tree.
  • the terminal may determine the display area corresponding to the file category in the statistical graph, and establish an association relationship between the display area and the filtered catalog. In this way, when it is detected that the display area in the statistical graph is triggered, the terminal can, according to the established association relationship between the display area and the directory, in the folder directory tree, the directory that has an association relationship with the triggered display area To highlight.
  • the terminal can also obtain the number of files of each file category, and analyze the file proportion of each file category through the number of files of each file category, and display it in a statistical chart.
  • the terminal can perform filtering for each file category from the folder directory tree to filter the folders under the file category and the directory where the file is located; the file category is displayed in the corresponding display area of the statistical graph and the selected directory.
  • the steps of establishing an association relationship between each file category and the corresponding directory are established until the display area corresponding to each file category is established.
  • the directories belonging to the category of "learning” can be filtered from the folder directory tree as directories 1, 3, 4, 6 and 7, then, when the user is When the corresponding display area is triggered, the directories 1, 3, 4, 6, and 7 can be automatically highlighted in the folder directory tree.
  • an association relationship is established between the display area corresponding to the file category in the statistical graph and the directory to which the file or folder under the file category belongs, and the file can be quickly indexed by triggering the display area in the statistical graph.
  • the directory where the folders and files under the category are located.
  • the method further includes a directory order adjustment step, which specifically includes the following steps:
  • S302 Perform statistical classification on the folders and files in the folder directory tree.
  • the terminal can statistically classify folders and files in the folder directory tree according to preset statistical dimensions to obtain each file category.
  • the statistical dimension may include at least one dimension such as file format and file usage.
  • S304 Determine the proportion of files corresponding to each file category of the statistical classification.
  • the terminal may count the number of files in each file category, and determine the proportion of files corresponding to each file category according to the number of files. It can be understood that the proportion of text corresponding to each file category is equal to the ratio of the number of files under the file category to the number of all files.
  • the number of all files refers to the number of files under all file categories.
  • S306 Predict the user portrait tag of the user using the local terminal according to the proportion of the file corresponding to each file category.
  • the user portrait tags include at least one of watching dramas, listening to music, traveling, workaholics, and photography.
  • step S306 includes: ranking the proportion of files corresponding to each file category, and selecting the file category with a preset ranking in the front; according to the correspondence between the preset file category and the user portrait tag Relationship, search for the user portrait tag corresponding to the selected file category; according to the selected user portrait tag, determine the final user portrait tag of the user using the local terminal.
  • the terminal may rank the proportion of files corresponding to each file category, and select a file category with a preset ranking in the front.
  • the preset order is greater than or equal to 1. For example, if the default position can be 1, then the top file category can be selected, and the default position can be 3, then the top three file categories can be selected.
  • the corresponding relationship between the file category and the user portrait tag is preset in the terminal.
  • the corresponding user portrait tag can be TV drama.
  • the corresponding user portrait tags can be iPhotography.
  • the terminal can search for the user portrait label corresponding to the selected file category with the preset ranking in the front according to the correspondence between the preset file category and the user portrait label.
  • the terminal may directly use the searched user portrait label as the final user portrait label of the user.
  • the terminal may also use the searched user portrait tag as a sub-portrait tag, and analyze the commonality of the searched sub-portrait tags to analyze the commonalities between multiple sub-portrait tags, and determine the user's final Portrait label.
  • Commonality that is, the common features.
  • step S306 includes: inputting the proportion of files corresponding to each file category into a pre-trained user model; predicting the probability that each user portrait tag in the preset tag library is output through the user model; In the library, select the user portrait tag with the highest probability or the probability of the top preset position to obtain the user portrait tag of the user.
  • the terminal may train the user model through sample data in advance.
  • the sample data includes the sample proportions of each category of files and sample portrait labels.
  • the sample data is input into the initial machine learning model to perform supervised machine learning training iteratively until the model parameters are stable, and the user model is obtained. Since it is a user model obtained through supervised machine learning training, the terminal inputs the proportion of each category of files into the user model obtained by supervised training.
  • the user model can analyze the proportion of each category of files and output the final user Portrait label.
  • the terminal can input the proportion of files corresponding to each file category analyzed into the pre-trained user model, and predict the probability of each user portrait tag in the preset tag library being output through the user model; from the tag library, select The user portrait tag of the user with the greatest probability or the probability of ranking in the first preset position is obtained.
  • the tag library is a pre-established library for storing preset collections of portrait tags.
  • S308 Adjust the order of the directories in the folder directory tree according to the user portrait tags.
  • the terminal can determine the user's degree of demand for files or folders in each directory in the folder directory tree according to the user portrait tag, and adjust the order of the directories in the folder directory tree according to the degree of demand.
  • the ranking of the catalog is positively correlated with the level of demand. That is, the higher the user's demand for the files or folders in the directory, the higher the ranking of the directory. Conversely, the lower the user's demand for the files or folders in the directory, the lower the ranking of the directory.
  • the user portrait tags of the users using the local terminal are predicted; according to the user portrait tags, the order of directories in the folder directory tree is adjusted. Not only the prediction of user portrait tags is realized through the folder directory tree, but also the directory order can be accurately adjusted through the user portrait tags, which greatly improves the utilization rate of the folder directory tree, makes it more intelligent and has more functions.
  • adjusting the order of the directories in the folder directory tree according to the user portrait tags includes: determining the file category to which each directory in the folder directory tree belongs; and separately comparing the file category to which each directory belongs to the user portrait Semantic analysis of tags is performed to obtain semantic relevance; according to the order of semantic relevance from high to low, the order of directories in the folder directory is adjusted.
  • Semantic relevance indicates the degree of relevance or similarity between the document category and the semantics of the user portrait tag.
  • the terminal can determine the file category to which each directory in the folder directory tree belongs.
  • the terminal can perform semantic analysis on the file category to which each directory belongs and the user portrait label to obtain the semantic correlation between the two.
  • the semantic relevance can indicate to a certain extent the user's demand for files or folders in each directory in the folder directory tree.
  • the degree of demand is positively related to the degree of semantic relevance. The higher the semantic relevance, the higher the user’s demand for files or folders in each directory in the folder directory tree. Conversely, the lower the semantic relevance, the user’s preference for files or folders under each directory in the folder directory tree. The lower the degree of demand.
  • the terminal can adjust the order of directories in the folder directory according to the semantic relevance. Specifically, the terminal may adjust the order of directories in the folder directory according to the order of semantic relevance from high to low.
  • the ranking of the catalog is positively correlated with the level of semantic relevance. That is, the higher the semantic relevance, the higher the ranking of the catalog, and the lower the semantic relevance, the lower the ranking of the catalog.
  • the folders of the work category can be listed first in the directory, and the folders of the non-work category can be listed behind in the directory.
  • the terminal can also count the user's recent access frequency to the folders to determine the directory sorting among the folders under the same category. It can be understood that, comprehensively considering multiple sub-semantic relevance to obtain the final semantic relevance, so that the semantic relevance is determined more accurately, thereby improving the accuracy of catalog sorting.
  • adjusting the order of the directories in the folder directory according to the semantic relevance between the file category to which the directory belongs and the user portrait tags can make the sorting of the folder directories more accurate, and make the directories of more useful files rank first. This can improve the efficiency of file search.
  • the terminal may also obtain the preset correspondence between the user portrait label and the prompt information.
  • These prompt messages can be default or user-defined.
  • the prompt information can be in the form of text, dynamic graphics and text combined with prompt information, etc.
  • the terminal may generate prompt information corresponding to the user portrait tag in the web page where the folder directory tree is located according to the corresponding relationship.
  • the terminal can generate a preset prompt message in the web page, such as "Master, it's time to get up and move around.”
  • the folder directory tree has an intelligent reminder function, which further increases the amount of information that can be expressed.
  • the terminal can also obtain the search keyword entered in the search box of the folder directory tree and perform a search to determine the number of files that comprise the search keyword among the files that constitute the folder directory tree. According to the ratio of the number to the total number of files, the proportion of the file corresponding to the search keyword is obtained, and the proportion of the file is displayed in the statistical chart.
  • the terminal may first search the file directory including the search keyword according to the path of the folder directory tree to obtain the first number. For file directories that do not include the search keyword, the terminal can search whether the file content corresponding to these file directories includes the search keyword, so as to search for files that include the search keyword, and obtain the second number. The terminal can sum the first quantity and the second quantity, and divide the summed quantity by the total number of files to obtain the proportion of files corresponding to the search keywords.
  • a file management apparatus 400 including: a directory tree generation module 402, a writing module 404, and an interaction module 406, wherein:
  • the directory tree generation module 402 is used to read the information of locally stored folders and files; generate folders according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files Directory tree.
  • the writing module 404 is used for writing the folder directory tree into a preset webpage.
  • the interaction module 406 is configured to, when an interaction instruction for the folder directory tree is received, trigger to obtain the directory tree interaction code corresponding to the interaction instruction from the page code of the webpage; by executing the directory tree interaction Code to perform corresponding interactive processing for the folder directory tree.
  • the device further includes:
  • the display module 408 is configured to obtain the visual element display code input for the webpage; update the visual element display code to the page code of the webpage; load the updated visual element display code, The webpage displays the visual elements specified in the visual element display code.
  • the visual element display code includes a directory tree display template code; the directory tree display template code is used to specify a directory tree display template containing display information.
  • the display module 408 is further configured to nest the folder directory tree into the directory tree display template in the web page to generate a folder directory tree including display information.
  • the device further includes:
  • the statistical module 410 is used to statistically classify the folders and files in the folder directory tree; generate statistical graphs based on each file category obtained by the statistical classification and display them on the webpage; for each file category, from the file In the folder directory tree, filter the folders and file directories under the file category; establish an association relationship between the file category in the corresponding display area of the statistical graph and the filtered directory; the association relationship is used for After the display area is triggered, the associated directories are highlighted in the folder directory tree.
  • the device further includes a display module 408, a statistics module 410, and a catalog order adjustment module 412, where:
  • the statistics module 410 is also used for statistically classifying the folders and files in the folder directory tree; determining the proportion of files corresponding to each file category of the statistical classification.
  • the directory order adjustment module 412 is used to predict the user portrait tags of the users using the local terminal according to the proportion of files corresponding to each file category; adjust the directory order in the folder directory tree according to the user portrait tags .
  • the directory order adjustment module 412 is also used to determine the file category to which each directory in the folder directory tree belongs; perform semantic analysis on the file category to which each directory belongs and the user portrait tag to obtain Semantic relevance; according to the order of semantic relevance from high to low, the order of directories in the folder directory is adjusted.
  • the directory order adjustment module 412 is also used to rank the proportions of files corresponding to each file category, and select the file category with a preset ranking in the top; according to the preset file category and user portrait tag Find the user portrait label corresponding to the selected file category; determine the final user portrait label of the user using the local terminal according to the selected user portrait label; or input the proportion of the file corresponding to each file category
  • the user model predicts the probability that each user portrait tag in the preset tag library is output; from the tag library, select the user with the highest probability or the highest probability in the preset position Portrait label, obtain the user portrait label of the user.
  • Each module in the above-mentioned file management device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
  • a computer device is provided.
  • the computer device may be the terminal 110 in FIG. 1, and its internal structure diagram may be as shown in FIG. 6.
  • the computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer readable instructions.
  • the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer-readable instructions are executed by the processor to realize a file management method.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen
  • the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 6 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and one or more processors.
  • the memory stores computer-readable instructions.
  • the one or more processors execute The steps of the above file management method.
  • the steps of the file management method may be the steps in the file management method of each of the above embodiments.
  • one or more non-volatile computer-readable storage media storing computer-readable instructions are provided.
  • the computer-readable instructions are executed by one or more processors, one or more processing
  • the device executes the steps of the above file management method.
  • the steps of the file management method may be the steps in the file management method of each of the above embodiments.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • memory bus Radbus direct RAM
  • RDRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Abstract

A file management method, comprising: reading information about locally stored folders and files; generating a folder directory tree according to names of the folders and files as well as the hierarchical relation between the folders and files; writing the folder directory tree into a preset webpage; upon receiving an interaction instruction for the folder directory tree, triggering the acquisition of a directory tree interaction code corresponding to the interaction instruction from page codes of the webpage; and performing corresponding interactive processing on the folder directory tree by executing the directory tree interaction code.

Description

文件管理方法、装置、计算机设备和存储介质File management method, device, computer equipment and storage medium
本申请要求于2019年07月05日提交中国专利局,申请号为201910604481X,申请名称为“文件管理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 5, 2019, the application number is 201910604481X, and the application name is "File management methods, devices, computer equipment and storage media", the entire contents of which are incorporated by reference In this application.
技术领域Technical field
本申请涉及一种文件管理方法、装置、计算机设备和存储介质。This application relates to a file management method, device, computer equipment and storage medium.
背景技术Background technique
随着科学技术的飞速发展,信息传播的形式和途径越来越广,人们获取的信息量越来越多。除了通过大脑储备信息以外,人们大多借用一些电子设备对信息进行存储。因此,人们在自身所使用的电子设备中存储的文件数量就会越来越多,所以对文件进行有效归纳管理非常重要。With the rapid development of science and technology, the forms and ways of information dissemination have become wider and wider, and the amount of information that people are acquiring is increasing. In addition to storing information through the brain, people mostly borrow some electronic devices to store information. Therefore, people will store more and more files in the electronic devices they use, so it is very important to effectively summarize and manage files.
发明人意识到,传统方法中,主要是针对各文件和文件夹生成文件夹树形图,然而,生成的文件夹树形图仅能够表达文件之间的层级关系,而无法进行更多方面的运用。The inventor realized that in the traditional method, a folder tree diagram is mainly generated for each file and folder. However, the generated folder tree diagram can only express the hierarchical relationship between files, and cannot perform more aspects. use.
发明内容Summary of the invention
根据本申请公开的各种实施例,提供一种文件管理方法、装置、计算机设备和存储介质。According to various embodiments disclosed in the present application, a file management method, device, computer equipment, and storage medium are provided.
一种文件管理方法,所述方法包括:A file management method, the method includes:
读取本地存储的文件夹和文件的信息;Read information about folders and files stored locally;
根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;Generating a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files;
将所述文件夹目录树写入预设的网页中;Writing the folder directory tree into a preset webpage;
当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;When an interactive instruction for the folder directory tree is received, triggering to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage;
通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。By executing the directory tree interactive code, corresponding interactive processing is performed on the folder directory tree.
一种文件管理装置,所述装置包括:A file management device, the device includes:
目录树生成模块,用于读取本地存储的文件夹和文件的信息;根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;The directory tree generation module is used to read the information of the locally stored folders and files; generate a folder directory according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and the files tree;
写入模块,用于将所述文件夹目录树写入预设的网页中;及A writing module for writing the folder directory tree into a preset webpage; and
交互模块,用于当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。The interaction module is configured to, when an interaction instruction for the directory tree of the folder is received, trigger to obtain the directory tree interaction code corresponding to the interaction instruction from the page code of the webpage; by executing the directory tree interaction code , Perform corresponding interactive processing for the folder directory tree.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors, the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the one or more processors execute the following step:
读取本地存储的文件夹和文件的信息;Read information about folders and files stored locally;
根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;Generating a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files;
将所述文件夹目录树写入预设的网页中;Writing the folder directory tree into a preset webpage;
当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;及When an interactive instruction for the folder directory tree is received, triggering to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; and
通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。By executing the directory tree interactive code, corresponding interactive processing is performed on the folder directory tree.
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:One or more non-volatile computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the following steps:
读取本地存储的文件夹和文件的信息;Read information about folders and files stored locally;
根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;Generating a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files;
将所述文件夹目录树写入预设的网页中;Writing the folder directory tree into a preset webpage;
当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;及When an interactive instruction for the folder directory tree is received, triggering to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; and
通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。By executing the directory tree interactive code, corresponding interactive processing is performed on the folder directory tree.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为根据一个或多个实施例中文件管理方法的应用场景图。Fig. 1 is an application scenario diagram of a file management method according to one or more embodiments.
图2为根据一个或多个实施例中文件管理方法的流程示意图。Fig. 2 is a schematic flowchart of a file management method according to one or more embodiments.
图3为根据一个或多个实施例中目录顺序调整步骤的流程示意图。Fig. 3 is a schematic flowchart of the steps of adjusting the order of the directories according to one or more embodiments.
图4为根据一个或多个实施例中文件管理装置的框图。Fig. 4 is a block diagram of a file management device according to one or more embodiments.
图5为另一个实施例中文件管理装置的框图。Fig. 5 is a block diagram of a file management device in another embodiment.
图6为根据一个或多个实施例中计算机设备的框图。Figure 6 is a block diagram of a computer device according to one or more embodiments.
具体实施方式Detailed ways
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供的文件管理方法,可以应用于如图1所示的应用环境中。终端110与服务器120通过网络进行通信。终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器120可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The file management method provided in this application can be applied to the application environment as shown in FIG. 1. The terminal 110 and the server 120 communicate through a network. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 120 may be implemented as an independent server or a server cluster composed of multiple servers.
终端110可以读取本地存储的文件夹和文件的信息;根据读取的文件夹和文件的信息,生成文件夹目录树。终端110可以从服务器120中获取预设的网页的相关信息,并在终端110中解析加载该预设的网页的相关信息,生成相应的预设的网页。终端110可以将文件夹目录树写入预设的网页中。用户可以对网页中的文件夹目录树输入交互指令,终端110当接收到针对文件夹目录树的交互指令时,触发从网页的页面代码中获取与交互指令对应的目录树交互代码;通过执行目录树交互代码,针对文件夹目录树进行相应交互处理。The terminal 110 can read information about folders and files stored locally; and generate a folder directory tree according to the read information about folders and files. The terminal 110 may obtain the related information of the preset webpage from the server 120, and parse the related information of loading the preset webpage in the terminal 110, and generate the corresponding preset webpage. The terminal 110 can write the folder directory tree into a preset web page. The user can input an interactive instruction to the folder directory tree in the webpage. When the terminal 110 receives the interactive instruction for the folder directory tree, it triggers to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; by executing the directory Tree interactive code, corresponding interactive processing for the folder directory tree.
在其中一个实施例中,如图2所示,提供了一种文件管理方法,以该方法应用于图1中的终端110为例进行说明,包括以下步骤:In one of the embodiments, as shown in FIG. 2, a file management method is provided. Taking the method applied to the terminal 110 in FIG. 1 as an example for description, the method includes the following steps:
S202,读取本地存储的文件夹和文件的信息。S202: Read information about folders and files stored locally.
本地,是指终端的本地。Local refers to the local of the terminal.
可以理解,终端的本地可以存储至少一个文件夹和文件。It can be understood that at least one folder and file can be stored locally on the terminal.
具体地,终端可以读取本地存储的所有文件夹和文件的信息。终端也可以读取本地存储的部分文件夹和文件的信息。Specifically, the terminal can read information about all folders and files stored locally. The terminal can also read the information of some folders and files stored locally.
在其中一个实施例中,终端可以获取指定路径,从本地读取与指定路径相应的文件夹和文件的信息。指定路径,为指定的存储路径。In one of the embodiments, the terminal may obtain the designated path, and read the information of the folders and files corresponding to the designated path from the local. The specified path is the specified storage path.
可以理解,与指定路径相应的文件夹和文件的信息,是指存储于该指定路径下的文件夹和文件的信息。这样一来,可以通过获取指定路径,有针对性地读取所指定的文件夹和文件的信息,使得文件管理的粒度更细,从而能够生成更加符合需求的文件夹目录树,避免了不需要的目录的干扰,使得生成的文件夹目录树更加的准确。It can be understood that the information of the folders and files corresponding to the specified path refers to the information of the folders and files stored under the specified path. In this way, by obtaining the specified path, the information of the specified folder and file can be read in a targeted manner, so that the granularity of file management can be finer, so that a folder directory tree that meets the needs can be generated, avoiding unnecessary The interference of the directory makes the generated folder directory tree more accurate.
S204,根据该信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树。S204: Generate a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files.
文件夹目录树,是将文件夹和文件之间的层级关系,以目录的形式进行展示的树形图。可以理解,文件夹目录树中各目录是文件夹或文件的命名,文件夹目录树中的各目录之间的层级关系,即对应文件夹和文件之间的层级关系。The folder directory tree is a tree diagram that displays the hierarchical relationship between folders and files in the form of directories. It can be understood that each directory in the folder directory tree is the name of a folder or file, and the hierarchical relationship between the directories in the folder directory tree is the hierarchical relationship between the corresponding folders and files.
具体地,终端可以通过Node.js的文件系统(fs,file system)模块来读取终端本地存储的文件夹和文件的信息。该读取的信息中包括文件夹和文件的命名以及相互间的层级关系。终端可以按照各文件夹和文件的命名,和相互间的层级关系,生成文件夹目录树。Node.js是一个基于Chrome V8引擎的JavaScript运行环境。Specifically, the terminal can read the information of folders and files stored locally on the terminal through the file system (fs, file system) module of Node.js. The read information includes the naming of folders and files and the hierarchical relationship between them. The terminal can generate a folder directory tree according to the naming of each folder and file and the hierarchical relationship between them. Node.js is a JavaScript runtime environment based on Chrome V8 engine.
S206,将文件夹目录树写入预设的网页中。S206: Write the folder directory tree into a preset webpage.
具体地,终端可以展示预设的网页,将文件夹目录树以网页元素的形式写入预设的网页中。可以理解,写入预设的网页中的文件夹目录树视为网页中的元素,具备网页的可编辑性及拓展性的特性。可以理解,预设的网页的页面代码中包括目录树交互代码。Specifically, the terminal may display a preset webpage, and write the folder directory tree into the preset webpage in the form of webpage elements. It can be understood that the folder directory tree written into the preset webpage is regarded as an element in the webpage, and has the characteristics of editability and expandability of the webpage. It can be understood that the page code of the preset webpage includes directory tree interaction code.
在其中一个实施例中,终端可以直接从服务器中获取预设的网页的页面代码,并在终端解析加载该预设的网页的页面代码,生成相应的预设的网页。网页的页面代码,用于实现网页的加载显示以及网页的相关功能。In one of the embodiments, the terminal may directly obtain the page code of the preset webpage from the server, and parse the page code for loading the preset webpage at the terminal to generate the corresponding preset webpage. The page code of the webpage is used to realize the loading and display of the webpage and the related functions of the webpage.
在其他实施例中,可以由终端生成预设的网页。In other embodiments, the preset webpage may be generated by the terminal.
在其中一个实施例中,步骤S206之前,该方法还包括生成预设的网页的步骤,具体包括以下步骤:获取服务器发送的初始网页的页面代码;获取针对初始网页输入的目录树交互代码;将目录树交互代码更新至初始网页的页面代码中,加载生成预设的网页。In one of the embodiments, before step S206, the method further includes the step of generating a preset webpage, which specifically includes the following steps: obtaining the page code of the initial webpage sent by the server; obtaining the directory tree interaction code input for the initial webpage; The interactive code of the directory tree is updated to the page code of the initial webpage, and the preset webpage is loaded and generated.
初始网页,是初始化的默认的网页。目录树交互代码,是用于实现文件夹目录树交互功能的代码。可以理解,目录树交互代码,能够让文件夹目录树实现相应交互功能。The initial web page is the default web page that is initialized. The directory tree interactive code is the code used to implement the interactive function of the folder directory tree. It can be understood that the directory tree interactive code enables the folder directory tree to achieve corresponding interactive functions.
具体地,终端可以从服务器获取初始网页的页面代码。开发人员可以在开发侧针对初始页面添加目录树交互代码,服务器可以将添加的目录树交互代码发送至终端。终端可以将目录树交互代码更新至初始网页的页面代码中,通过加载更新后的页面代码,生成预设的网页。Specifically, the terminal may obtain the page code of the initial webpage from the server. Developers can add directory tree interaction code to the initial page on the development side, and the server can send the added directory tree interaction code to the terminal. The terminal can update the interactive code of the directory tree to the page code of the initial webpage, and generate a preset webpage by loading the updated page code.
在其中一个实施例中,目录树交互代码可以包括交互控件代码、目录跳转代码和拖拽功能代码等中的至少一种。In one of the embodiments, the directory tree interactive code may include at least one of interactive control code, directory jump code, and drag function code.
交互控件代码,是在页面中嵌入交互控件的代码。The interactive control code is the code for embedding the interactive control in the page.
交互控件,是与文件夹目录树进行交互的控件。在其中一个实施例中,交互控件可以包括菜单伸缩控件、搜索框控件和功能按钮等中的至少一种。Interactive controls are controls that interact with the folder directory tree. In one of the embodiments, the interactive control may include at least one of a menu retractable control, a search box control, and a function button.
菜单伸缩控件,用于生成能够伸展和收缩的菜单。菜单中可以根据需要设置相应的功能按钮或功能选项。The menu stretch control is used to generate a menu that can be expanded and contracted. The corresponding function buttons or function options can be set in the menu as required.
搜索框控件,用于提供搜索框供用户输入搜索关键词,并根据搜索关键词从文件夹目录树中搜索相应的文件夹或文件。The search box control is used to provide a search box for users to enter search keywords and search for corresponding folders or files from the folder directory tree according to the search keywords.
搜索框控件中还可以增加搜索对象类型选择控件(比如,增加类型选择下拉键)。搜索对象类型可以包括文件夹类型和文件类型。这样一来,可以通过选择的搜索对象类型选择控件,选择要搜索文件夹还是要搜索文件,以优化搜索功能。The search box control can also add a search object type selection control (for example, add a type selection drop-down key). The search object type can include folder type and file type. In this way, you can choose to search for folders or files by selecting the search object type selection control to optimize the search function.
目录跳转代码,用于根据触发操作自动跳转到文件夹目录树中指定目录。Directory jump code, used to automatically jump to the specified directory in the folder directory tree according to the trigger operation.
拖拽功能代码,用于检测拖拽操作,并跟随拖拽操作对所指定的文件夹目录树中的内容进行拖拽处理。可以理解,通过拖拽能够实现对文件的自定义分类。The drag function code is used to detect the drag operation, and follow the drag operation to drag and drop the content in the specified folder directory tree. It can be understood that the custom classification of files can be realized by dragging and dropping.
在其中一个实施例中,终端还可以建立文件夹目录树中的目录与相应文件或文件夹的存储路径之间的映射关系。当接收到针对某一目录的触发操作时,则可以获取相映射的存储路径,根据该存储路径自动地从终端本地的磁盘中跳转查找到相应的文件夹或文件。比如,当接收到针对文件夹目录树中的文件夹A所属目录的触发操作时,则可以获取与该目录相映射的存储路径,根据该存储路径,则可以从终端的本地磁盘中自动查找到文件夹A。这样一来,即实现了通过对文件夹目录树的触发自动查找文件夹或文件,提高了查找效率。In one of the embodiments, the terminal may also establish a mapping relationship between the directory in the folder directory tree and the storage path of the corresponding file or folder. When a trigger operation for a certain directory is received, the mapped storage path can be obtained, and the corresponding folder or file can be automatically jumped from the local disk of the terminal according to the storage path. For example, when a trigger operation is received for the directory of folder A in the folder directory tree, the storage path mapped to the directory can be obtained, and according to the storage path, it can be automatically found from the local disk of the terminal Folder A. In this way, the automatic search for folders or files is realized by triggering the folder directory tree, and the search efficiency is improved.
S208,当接收到针对文件夹目录树的交互指令时,触发从网页的页面代码中获取与交互指令对应的目录树交互代码。S208: When an interactive instruction for the directory tree of the folder is received, trigger to obtain a directory tree interactive code corresponding to the interactive instruction from the page code of the webpage.
交互指令,用于指示对文件夹目录树进行相应交互处理。可以理解,对文件夹目录树的交互处理,即为作用于文件夹目录树的相关处理。比如,对文件夹目录树进行搜索处理、 拖拽文件夹目录树中的目录、跳转到文件夹目录树中的相应目录等都属于作用于文件夹目录树的相关处理。Interactive instructions are used to instruct the corresponding interactive processing of the folder directory tree. It can be understood that the interactive processing of the folder directory tree is related processing that acts on the folder directory tree. For example, searching for a folder directory tree, dragging a directory in the folder directory tree, jumping to a corresponding directory in the folder directory tree, etc. are all related processing that acts on the folder directory tree.
在其中一个实施例中,交互指令包括针对交互控件的触发指令(比如,针对菜单伸缩控件的触发指令、针对搜索框控件的触发指令和针对功能按钮的触发指令等中的至少一种)、目录跳转指令和拖拽指令等中的至少一种。In one of the embodiments, the interactive instruction includes a trigger instruction for interactive controls (for example, at least one of a trigger instruction for a menu retractable control, a trigger instruction for a search box control, a trigger instruction for a function button, etc.), a directory At least one of a jump instruction and a drag instruction.
具体地,使用该终端的用户可以针对展示于网页的文件夹目录树进行相应的交互操作,以输入交互指令,终端接收到该交互指令时,可以触发从文件夹目录树所位于的网页的页面代码中提取与该交互指令对应的目录树交互代码。Specifically, the user using the terminal can perform corresponding interactive operations on the folder directory tree displayed on the web page to input an interactive instruction. When the terminal receives the interactive instruction, it can trigger the page from the web page where the folder directory tree is located. Extract the directory tree interactive code corresponding to the interactive instruction from the code.
S210,通过执行目录树交互代码,针对文件夹目录树进行相应交互处理。S210: Perform corresponding interactive processing on the folder directory tree by executing the directory tree interactive code.
具体地,终端可以执行所获取的目录树交互代码,通过执行该目录树交互代码,针对文件夹目录树进行相应交互处理。Specifically, the terminal may execute the acquired directory tree interactive code, and perform corresponding interactive processing on the folder directory tree by executing the directory tree interactive code.
在其中一个实施例中,终端可以通过执行所获取的目录树交互代码,从文件夹目录树中选取目标交互对象,并针对所述目标交互对象执行所述目录树交互代码所用于实现的交互处理。目录树交互代码所用于实现的交互处理,即为目录树交互代码所能够实现的交互处理。In one of the embodiments, the terminal may select a target interactive object from the folder directory tree by executing the acquired directory tree interactive code, and execute the interactive processing implemented by the directory tree interactive code for the target interactive object . The interactive processing implemented by the directory tree interactive code is the interactive processing that the directory tree interactive code can implement.
目标交互对象,是指交互指令所指定的文件夹目录树中想要进行交互的对象。The target interactive object refers to the object that you want to interact with in the folder directory tree specified by the interactive instruction.
在其中一个实施例中,目标交互对象可以包括文件夹目录树中交互指令所指定的目录和/或该目录下的实质内容。目录下的实质内容,即为文件或文件夹。In one of the embodiments, the target interactive object may include the directory specified by the interactive instruction in the folder directory tree and/or the substantial content under the directory. The substantive content under the directory is the file or folder.
在其中一个实施例中,当交互指令为拖拽指令时,与拖拽指令对应的目录树交互代码即为拖拽功能代码,那么,目标交互对象即为文件夹目录树中想要拖拽的目录或该目录下的实质内容。比如,用户想要拖拽文件夹目录树中的目录A,输入拖拽交互指令,触发获取并执行拖拽功能代码,以从文件夹目录树中选取目标交互对象,即目录A,然后对目录A执行拖拽功能代码所用于实现的拖拽处理。In one of the embodiments, when the interactive instruction is a drag-and-drop instruction, the directory tree interaction code corresponding to the drag-and-drop instruction is the drag function code, and the target interactive object is the one that you want to drag in the folder directory tree. Directory or substantive content under that directory. For example, the user wants to drag and drop directory A in the folder directory tree, enters a drag interaction instruction, triggers the acquisition and execution of the drag function code, to select the target interactive object, namely directory A, from the folder directory tree, and then A executes the drag and drop processing implemented by the drag and drop function code.
在其中一个实施例中,当交互指令为目录跳转指令时,与目录跳转指令对应的目录树交互代码即为目录跳转代码,目标交互对象即为文件夹目录树中所要跳转至的目录。在其中一个实施例中,当交互指令为针对交互控件的触发指令时,对应的目录树交互代码为交互控件代码,目标交互对象,即为文件夹目录树中的、且交互指令所用于触发的交互控件所能够作用于的目录、该目录下的文件或文件夹、和菜单选项等中的至少一种。In one of the embodiments, when the interactive instruction is a directory jump instruction, the directory tree interactive code corresponding to the directory jump instruction is the directory jump code, and the target interactive object is the folder directory tree to be jumped to. table of Contents. In one of the embodiments, when the interactive instruction is a trigger instruction for an interactive control, the corresponding directory tree interactive code is the interactive control code, and the target interactive object is in the folder directory tree and used for triggering by the interactive instruction At least one of the directory that the interactive control can act on, the files or folders under the directory, and menu options.
在其中一个实施例中,目标交互对象还可以包括对应于文件夹目录树的菜单中的菜单选项。可以理解,对应于文件夹目录树的菜单中的各菜单选项,用于标识针对文件夹目录树所制定的功能的选项。那么,当交互指令为针对菜单伸缩控件的触发指令时,对应的目录树交互代码,是指在页面中所嵌入的菜单伸缩控件的代码,目标交互对象,即为文件夹目录树中的、且该菜单伸缩控件被触发后能够伸展和/或收缩的菜单选项。In one of the embodiments, the target interaction object may also include menu options in the menu corresponding to the folder directory tree. It can be understood that each menu option in the menu corresponding to the folder directory tree is used to identify the option of the function formulated for the folder directory tree. Then, when the interactive instruction is a trigger instruction for the flexible menu control, the corresponding directory tree interactive code refers to the code of the flexible menu control embedded in the page, and the target interactive object is the and A menu option that can be expanded and/or contracted after the menu retractable control is triggered.
上述文件管理方法,根据本地存储的文件夹和文件的信息,生成文件夹目录树;将所述文件夹目录树写入预设的网页中。由于网页具有可编辑性和可扩展性,所以,可以在网 页中预先添加编辑目录树交互代码,这样一来,当接收到针对所述文件夹目录树的交互指令时,则可以触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。通过网页与文件夹目录树的结合,实现了对文件夹目录树灵活的交互,使得文件夹目录树具备更多的交互功能,而不仅局限于表达文件之间的层级关系,从而提高了文件夹目录树的利用率。The above-mentioned file management method generates a folder directory tree according to the information of locally stored folders and files; writes the folder directory tree into a preset web page. Because the webpage is editable and extensible, the interactive code for editing the directory tree can be added to the webpage in advance. In this way, when an interactive instruction for the folder directory tree is received, the The directory tree interaction code corresponding to the interaction instruction is obtained from the page code of the webpage; by executing the directory tree interaction code, corresponding interaction processing is performed on the folder directory tree. Through the combination of the web page and the folder directory tree, flexible interaction with the folder directory tree is realized, so that the folder directory tree has more interactive functions, not limited to expressing the hierarchical relationship between files, thereby increasing the folder The utilization of the directory tree.
在其中一个实施例中,该方法还包括:获取针对网页输入的可视元素展示代码;将可视元素展示代码更新至网页的页面代码中;加载更新的可视元素展示代码,在网页中展示可视元素展示代码中所指定的可视元素。In one of the embodiments, the method further includes: obtaining the visual element display code input for the webpage; updating the visual element display code to the page code of the webpage; loading the updated visual element display code and displaying it in the webpage Visual elements display the visual elements specified in the code.
可视元素展示代码,用于在网页中实现对可视元素的展示。可视元素,是指在网页中具有视觉效果的元素。The visual element display code is used to display visual elements in the web page. Visual elements refer to elements with visual effects in web pages.
在其中一个实施例中,可视元素包括图片、文字和音视频等中的至少一种。在其中一个实施例中,图片包括动态图和静态效果图等中的至少一种。In one of the embodiments, the visual element includes at least one of pictures, text, audio and video, and so on. In one of the embodiments, the picture includes at least one of a dynamic picture and a static effect picture.
可以理解,开发人员可以在开发侧对网页的页面排版布局进行优化,在网页中加入一些能够起到视觉优化效果的可视元素,通过服务器发送至终端。终端可以运行开发人员在网页中加入的可视元素展示代码,并将可视元素展示代码更新至网页的页面代码中。进一步地,终端可以加载更新的可视元素展示代码,在网页中展示可视元素展示代码中所指定的可视元素。It is understandable that developers can optimize the page layout of the webpage on the development side, add some visual elements that can achieve visual optimization effects in the webpage, and send them to the terminal through the server. The terminal can run the visual element display code added by the developer to the webpage, and update the visual element display code to the page code of the webpage. Further, the terminal may load the updated visual element display code, and display the visual element specified in the visual element display code in the web page.
在其中一个实施例中,当可视元素为图片时,可视元素展示代码可以为图片标签代码。终端可以加载该图片标签代码,在文件夹目录树所处网页中加载显示该图片标签代码所指定的图片。In one of the embodiments, when the visual element is a picture, the visual element display code may be a picture tag code. The terminal can load the picture tag code, and load and display the picture specified by the picture tag code in the web page where the folder directory tree is located.
上述实施例中,基于文件夹目录树写入网页中的前提,在网页中添加显示相应的可视元素,相较于独立的、呆板的文件夹目录树而言,视觉效果得到优化,使得文件夹目录树不再独立,而能够与其他的可视元素组合,从而能够通过组合表达更加多的信息量。In the above embodiment, based on the premise that the folder directory tree is written into the web page, the corresponding visual elements are added and displayed in the web page. Compared with the independent and rigid folder directory tree, the visual effect is optimized, so that the file The folder directory tree is no longer independent, but can be combined with other visual elements, so that more information can be expressed through the combination.
在其中一个实施例中,可视元素还可以包括目录树展示模板。可视元素展示代码包括目录树展示模板代码;目录树展示模板代码用于指定包含展示信息的目录树展示模板。本实施例中,在网页中展示可视元素展示代码中所指定的可视元素包括:在网页中,将文件夹目录树嵌套至目录树展示模板中,生成包括展示信息的文件夹目录树。In one of the embodiments, the visual element may also include a directory tree display template. The visual element display code includes the directory tree display template code; the directory tree display template code is used to specify the directory tree display template containing the display information. In this embodiment, displaying the visual elements specified in the visual element display code in the web page includes: nesting the folder directory tree into the directory tree display template in the web page to generate the folder directory tree including display information .
目录树展示模板,用于表达目录树的展示形式。可以理解,目录树展示模板中包括预先设置的模板性的展示信息。在其中一个实施例中,目录树展示模板中包括文件夹目录树的展示挂件和皮肤等展示信息。The directory tree display template is used to express the display form of the directory tree. It can be understood that the directory tree display template includes preset template display information. In one of the embodiments, the directory tree display template includes display information such as display pendants and skins of the folder directory tree.
具体地,开发人员可以在开发侧预先写包括特定展示效果的目录树展示模板代码,通过服务器发送至终端。终端可以将该目录树展示模板代码更新至网页的页面代码中,并加载该目录树展示模板代码,在网页中,将文件夹目录树嵌套至目录树展示模板代码所指定的目录树展示模板中,生成包括展示信息的文件夹目录树。比如,将生成的文件夹目录树和目录树展示模板结合,能够生成一个具有展示挂件和皮肤的文件夹目录树。Specifically, the developer can pre-write the directory tree display template code including the specific display effect on the development side, and send it to the terminal through the server. The terminal can update the directory tree display template code to the page code of the web page, and load the directory tree display template code, in the web page, nest the folder directory tree to the directory tree display template specified by the directory tree display template code , Generate a folder directory tree including display information. For example, combining the generated folder directory tree with the directory tree display template can generate a folder directory tree with display pendants and skins.
在其中一个实施例中,可视元素展示代码还可以包括模板切换控件代码。终端可以加载模板切换控件代码,以在网页中显示该模板切换控件(比如,方向箭头)。用户可以对模板切换控件进行触发,以输入切换操作指令,终端可以响应于切换操作指令,运行加载所切换至的当前的目录树展示模板代码,在网页中,将文件夹目录树嵌套至切换至的当前的目录树展示模板代码所指定的目录树展示模板中,生成包括展示信息的文件夹目录树。可以理解,通过对模板切换控件的触发,实现对文件夹目录树的不同展示效果。In one of the embodiments, the visual element display code may also include template switching control code. The terminal may load the template switching control code to display the template switching control (for example, a direction arrow) on the web page. The user can trigger the template switching control to input a switching operation instruction, and the terminal can respond to the switching operation instruction to run and load the current directory tree display template code to which it is switched, and nest the folder directory tree to switch in the web page In the directory tree display template specified by the current directory tree display template code to, a folder directory tree including display information is generated. It can be understood that by triggering the template switching control, different display effects on the folder directory tree are realized.
上述实施例中,在网页中,将文件夹目录树嵌套至目录树展示模板中,生成包括展示信息的文件夹目录树。相较于独立的、呆板的文件夹目录树而言,视觉效果得到优化,从而让文件夹目录树不仅表现文件层级关系,还能表现其他的视觉信息。In the above embodiment, in the web page, the folder directory tree is nested into the directory tree display template to generate the folder directory tree including display information. Compared with the independent and rigid folder directory tree, the visual effects are optimized, so that the folder directory tree not only expresses the file hierarchy, but also other visual information.
在其中一个实施例中,该方法还包括:对文件夹目录树中的文件夹和文件进行统计分类;根据统计分类得到的各文件类别,生成统计图并展示于网页中;针对每个文件类别,从文件夹目录树中,筛选该文件类别下的文件夹和文件所在目录;将该文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系;关联关系,用于展示区域被触发后,在文件夹目录树中突出显示具有关联关系的目录。In one of the embodiments, the method further includes: statistically classifying the folders and files in the folder directory tree; generating a statistical graph based on each file category obtained by the statistical classification and displaying it on a web page; for each file category , From the folder directory tree, filter the folder and file directory under the file category; establish an association relationship between the file category in the corresponding display area of the statistical graph and the filtered directory; the association relationship is used for display After the area is triggered, the related directories are highlighted in the folder directory tree.
具体地,终端可以按照预设统计维度,对文件夹目录树中的文件夹和文件进行统计分类,得到各文件类别。在其中一个实施例中,统计维度可以包括文件格式和文件用途等至少一种维度。Specifically, the terminal can statistically classify folders and files in the folder directory tree according to preset statistical dimensions to obtain each file category. In one of the embodiments, the statistical dimension may include at least one dimension such as file format and file usage.
在其中一个实施例中,文件格式可以包括表格、文档、视频和音频等至少一种文件类别。In one of the embodiments, the file format may include at least one file category such as tables, documents, video, and audio.
在其中一个实施例中,文件用途包括学习、工作和生活等至少一种文件类别。In one of the embodiments, the file usage includes at least one file category such as study, work, and life.
在其中一个实施例中,统计维度下所划分的文件类别还可以进一步划分子文件类别。比如,学习为按照文件用途划分得到的文件类别,学习可以包括数学、语文和英语等子文件类别。又比如,生活为按照文件用途划分得到的文件类别,生活可以包括音乐、体育、政治、历史、经济和文学等子文件类别。In one of the embodiments, the file categories divided under the statistical dimension can be further divided into sub file categories. For example, learning is a document category divided according to the purpose of the document, and learning may include sub-document categories such as mathematics, Chinese, and English. For another example, life is a file category classified according to the purpose of the file, and life can include sub-file categories such as music, sports, politics, history, economy, and literature.
具体地,终端可以生成显示各个文件类别的统计计图,并将生成的展示于网页中。针对每个文件类别,终端可以从文件夹目录树中,筛选该文件类别下的文件夹和文件所在目录。终端可以在统计图中确定该文件类别所对应的展示区域,将该展示区域与所筛选的目录之间建立关联关系。这样一来,当检测到统计图中的展示区域被触发后,终端可以根据建立的展示区域和目录之间的关联关系,在文件夹目录树中将与被触发的展示区域具有关联关系的目录进行突出显示。Specifically, the terminal may generate a statistical graph showing each file category, and display the generated statistics on a web page. For each file category, the terminal can filter the folders and file directories under the file category from the folder directory tree. The terminal may determine the display area corresponding to the file category in the statistical graph, and establish an association relationship between the display area and the filtered catalog. In this way, when it is detected that the display area in the statistical graph is triggered, the terminal can, according to the established association relationship between the display area and the directory, in the folder directory tree, the directory that has an association relationship with the triggered display area To highlight.
在其中一个实施例中,终端还可以获取各文件类别的文件数量,通过各个文件类别的文件数量,分析出各类别文件的文件占比,并展示于统计图中。In one of the embodiments, the terminal can also obtain the number of files of each file category, and analyze the file proportion of each file category through the number of files of each file category, and display it in a statistical chart.
可以理解,终端可以针对每个文件类别皆执行从文件夹目录树中,筛选该文件类别下的文件夹和文件所在目录;将该文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系的步骤,直至将各文件类别所对应的展示区域皆与相应目录之间建立关联关 系。It can be understood that the terminal can perform filtering for each file category from the folder directory tree to filter the folders under the file category and the directory where the file is located; the file category is displayed in the corresponding display area of the statistical graph and the selected directory. The steps of establishing an association relationship between each file category and the corresponding directory are established until the display area corresponding to each file category is established.
比如,对于“学习”这个文件类别,可以从文件夹目录树中筛选属于“学习”这个类别的目录为目录1、3、4、6和7,那么,当用户对统计图中“学习”所对应的展示区域进行触发时,则可以自动地在文件夹目录树中将目录1、3、4、6和7进行突出显示。For example, for the file category of "learning", the directories belonging to the category of "learning" can be filtered from the folder directory tree as directories 1, 3, 4, 6 and 7, then, when the user is When the corresponding display area is triggered, the directories 1, 3, 4, 6, and 7 can be automatically highlighted in the folder directory tree.
上述实施例中,将文件类别在统计图中对应的展示区域与该文件类别下的文件或文件夹所属的目录之间建立关联关系,能够通过触发统计图中的展示区域,快速索引到该文件类别下的文件夹和文件所在的目录。In the above embodiment, an association relationship is established between the display area corresponding to the file category in the statistical graph and the directory to which the file or folder under the file category belongs, and the file can be quickly indexed by triggering the display area in the statistical graph. The directory where the folders and files under the category are located.
如图3所示,在其中一个实施例中,该方法还包括目录顺序调整步骤,具体包括以下步骤:As shown in Fig. 3, in one of the embodiments, the method further includes a directory order adjustment step, which specifically includes the following steps:
S302,对文件夹目录树中的文件夹和文件进行统计分类。S302: Perform statistical classification on the folders and files in the folder directory tree.
具体地,终端可以按照预设统计维度,对文件夹目录树中的文件夹和文件进行统计分类,得到各文件类别。在其中一个实施例中,统计维度可以包括文件格式和文件用途等至少一种维度。Specifically, the terminal can statistically classify folders and files in the folder directory tree according to preset statistical dimensions to obtain each file category. In one of the embodiments, the statistical dimension may include at least one dimension such as file format and file usage.
S304,确定统计分类的各文件类别所对应的文件占比。S304: Determine the proportion of files corresponding to each file category of the statistical classification.
具体地,终端可以统计各文件类别下的文件数量,根据文件数量确定各文件类别所对应的文件占比。可以理解,每个文件类别所对应的文本占比,等于该文件类别下的文件数量与所有文件数量的比值。所有文件数量,是指所有文件类别下的文件的数量。Specifically, the terminal may count the number of files in each file category, and determine the proportion of files corresponding to each file category according to the number of files. It can be understood that the proportion of text corresponding to each file category is equal to the ratio of the number of files under the file category to the number of all files. The number of all files refers to the number of files under all file categories.
S306,根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签。S306: Predict the user portrait tag of the user using the local terminal according to the proportion of the file corresponding to each file category.
用户画像标签包括爱看剧、爱听音乐、爱旅行、工作狂和爱摄影等至少一种。The user portrait tags include at least one of watching dramas, listening to music, traveling, workaholics, and photography.
在其中一个实施例中,步骤S306包括:对各文件类别所对应的文件占比进行排名,选取排名在前预设位次的文件类别;根据预先设置的文件类别与用户画像标签之间的对应关系,查找与选取的文件类别对应的用户画像标签;根据选取的用户画像标签,确定使用本地终端的用户最终的用户画像标签。In one of the embodiments, step S306 includes: ranking the proportion of files corresponding to each file category, and selecting the file category with a preset ranking in the front; according to the correspondence between the preset file category and the user portrait tag Relationship, search for the user portrait tag corresponding to the selected file category; according to the selected user portrait tag, determine the final user portrait tag of the user using the local terminal.
具体地,终端可以对各文件类别所对应的文件占比进行排名,选取排名在前预设位次的文件类别。预设位次为大于或等于1。比如,预设位次可以为1,则可以选取排名首位的文件类别,预设位次可以为3,则可以选取排名前三的文件类别。Specifically, the terminal may rank the proportion of files corresponding to each file category, and select a file category with a preset ranking in the front. The preset order is greater than or equal to 1. For example, if the default position can be 1, then the top file category can be selected, and the default position can be 3, then the top three file categories can be selected.
终端中预先设置了文件类别与用户画像标签之间的对应关系。比如,文件类别为视频,对应的用户画像标签则可以为爱看剧。又比如,文件类别为照片,则对应设置的用户画像标签可以为爱摄影等。终端可以根据预先设置的文件类别与用户画像标签之间的对应关系,查找与选取的排名在前预设位次的文件类别对应的用户画像标签。The corresponding relationship between the file category and the user portrait tag is preset in the terminal. For example, if the file category is video, the corresponding user portrait tag can be TV drama. For another example, if the file category is photos, the corresponding user portrait tags can be iPhotography. The terminal can search for the user portrait label corresponding to the selected file category with the preset ranking in the front according to the correspondence between the preset file category and the user portrait label.
比如,假设选取的是文件占比排名在前3名是视频、照片以及音乐,那么,就可以获得爱看剧、爱听音乐以及爱摄影这三个用户画像标签。For example, suppose that the top 3 files are selected as videos, photos, and music. Then, you can get three user portrait tags: love watching drama, love listening to music, and love photography.
可以理解,终端可以直接将查找的用户画像标签,作为该用户最终的用户画像标签。It can be understood that the terminal may directly use the searched user portrait label as the final user portrait label of the user.
在其中一个实施例中,终端也可以将查找的用户画像标签作为子画像标签,对查找的子画像标签进行共性分析,以分析多个子画像标签之间的共性,根据该共性,确定用户最 终的画像标签。共性,即共同具有的特征。In one of the embodiments, the terminal may also use the searched user portrait tag as a sub-portrait tag, and analyze the commonality of the searched sub-portrait tags to analyze the commonalities between multiple sub-portrait tags, and determine the user's final Portrait label. Commonality, that is, the common features.
比如,“爱看剧”、“爱听音乐”以及“爱摄影”分别为3个子画像标签,通过对3个子画像标签进行分析,得到三者共性都属于生活中所热爱的事情,所以,基于该共性,可以得到该用户最终的用户画像标签为“热爱生活”或者“享受生活”。又比如,“爱编程”、“爱在家办公”分别为子画像标签,则可以对这两个子画像标签进行分析,得到两者的共性都属于工作中热爱的事情,所以,基于该共性可以得到该用户最终的用户画像标签为“工作狂”。For example, "love to watch drama", "love to listen to music" and "love photography" are three sub-portrait tags. Through the analysis of the three sub-portrait tags, it is found that the commonalities of the three are the things loved in life. Therefore, based on With this commonality, the final user portrait of the user can be labeled as "love life" or "enjoy life". For another example, if "I love programming" and "I love working at home" are sub-portrait tags, you can analyze the two sub-portrait tags, and find that the commonalities of both belong to the things you love at work, so based on this commonality, you can get The final user portrait of this user is labeled "workaholic".
在其中一个实施例中,步骤S306包括:将各文件类别所对应的文件占比输入预先训练的用户模型中;通过用户模型预测预设的标签库中各用户画像标签被输出的概率;从标签库中,选择最大概率或排名在前预设位次的概率的用户画像标签,得到用户的用户画像标签。In one of the embodiments, step S306 includes: inputting the proportion of files corresponding to each file category into a pre-trained user model; predicting the probability that each user portrait tag in the preset tag library is output through the user model; In the library, select the user portrait tag with the highest probability or the probability of the top preset position to obtain the user portrait tag of the user.
具体地,终端可以预先通过样本数据训练用户模型。样本数据中包括各类别文件的样本占比以及样本画像标签,将样本数据输入初始机器学习模型中迭代地进行有监督地机器学习训练,直至模型参数稳定,得到用户模型。由于是经过有监督地机器学习训练得到的用户模型,所以终端将各类别文件的占比输入有监督训练得到的用户模型中,用户模型可以对各类别文件的占比进行分析,输出最终的用户画像标签。所以,终端可以将分析出的各文件类别所对应的文件占比输入预先训练的用户模型中,通过用户模型预测预设的标签库中各用户画像标签被输出的概率;从标签库中,选择最大概率或排名在前预设位次的概率的用户画像标签,得到用户的用户画像标签。标签库,是一个预先建立的用于存储预设的画像标签集合的库。Specifically, the terminal may train the user model through sample data in advance. The sample data includes the sample proportions of each category of files and sample portrait labels. The sample data is input into the initial machine learning model to perform supervised machine learning training iteratively until the model parameters are stable, and the user model is obtained. Since it is a user model obtained through supervised machine learning training, the terminal inputs the proportion of each category of files into the user model obtained by supervised training. The user model can analyze the proportion of each category of files and output the final user Portrait label. Therefore, the terminal can input the proportion of files corresponding to each file category analyzed into the pre-trained user model, and predict the probability of each user portrait tag in the preset tag library being output through the user model; from the tag library, select The user portrait tag of the user with the greatest probability or the probability of ranking in the first preset position is obtained. The tag library is a pre-established library for storing preset collections of portrait tags.
S308,根据用户画像标签,对文件夹目录树中的目录顺序进行调整。S308: Adjust the order of the directories in the folder directory tree according to the user portrait tags.
具体地,终端可以根据用户画像标签,确定用户对文件夹目录树中各目录下的文件或文件夹的需求程度,按照该需求程度的高低,对文件夹目录树中的目录顺序进行调整。目录的排序位次的前后与需求程度的高低正相关。即,用户对目录下的文件或文件夹的需求程度越高,该目录的排序越靠前,反之,用户对目录下的文件或文件夹的需求程度越低,该目录的排序越靠后。Specifically, the terminal can determine the user's degree of demand for files or folders in each directory in the folder directory tree according to the user portrait tag, and adjust the order of the directories in the folder directory tree according to the degree of demand. The ranking of the catalog is positively correlated with the level of demand. That is, the higher the user's demand for the files or folders in the directory, the higher the ranking of the directory. Conversely, the lower the user's demand for the files or folders in the directory, the lower the ranking of the directory.
上述实施例中,根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签;根据所述用户画像标签,对所述文件夹目录树中的目录顺序进行调整。不但通过文件夹目录树实现了用户画像标签的预测,而且通过用户画像标签能够对目录顺序进行准确调整,大大提高了文件夹目录树的利用率,使其更加的智能,功能更加丰富。In the above embodiment, according to the proportion of files corresponding to each file category, the user portrait tags of the users using the local terminal are predicted; according to the user portrait tags, the order of directories in the folder directory tree is adjusted. Not only the prediction of user portrait tags is realized through the folder directory tree, but also the directory order can be accurately adjusted through the user portrait tags, which greatly improves the utilization rate of the folder directory tree, makes it more intelligent and has more functions.
在其中一个实施例中,根据用户画像标签,对文件夹目录树中的目录顺序进行调整包括:确定文件夹目录树中的各目录所属的文件类别;分别将各目录所属的文件类别与用户画像标签进行语义分析,得到语义相关度;按照语义相关度由高到低的顺序,调整文件夹目录中的目录顺序。In one of the embodiments, adjusting the order of the directories in the folder directory tree according to the user portrait tags includes: determining the file category to which each directory in the folder directory tree belongs; and separately comparing the file category to which each directory belongs to the user portrait Semantic analysis of tags is performed to obtain semantic relevance; according to the order of semantic relevance from high to low, the order of directories in the folder directory is adjusted.
语义相关度,表示文件类别和用户画像标签的语义之间的相关或相近程度。Semantic relevance indicates the degree of relevance or similarity between the document category and the semantics of the user portrait tag.
具体地,终端可以确定文件夹目录树中的各目录所属的文件类别。终端可以将各目录所属的文件类别与用户画像标签进行语义分析,得到两者之间的语义相关度。可以理解,该语义相关度,一定程度上能够表明用户对文件夹目录树中各目录下的文件或文件夹的需求程度。可以理解,需求程度与语义相关度正相关。语义相关度越高,用户对文件夹目录树中各目录下的文件或文件夹的需求程度越高,反之,语义相关度越低,用户对文件夹目录树中各目录下的文件或文件夹的需求程度越低。Specifically, the terminal can determine the file category to which each directory in the folder directory tree belongs. The terminal can perform semantic analysis on the file category to which each directory belongs and the user portrait label to obtain the semantic correlation between the two. It can be understood that the semantic relevance can indicate to a certain extent the user's demand for files or folders in each directory in the folder directory tree. It can be understood that the degree of demand is positively related to the degree of semantic relevance. The higher the semantic relevance, the higher the user’s demand for files or folders in each directory in the folder directory tree. Conversely, the lower the semantic relevance, the user’s preference for files or folders under each directory in the folder directory tree. The lower the degree of demand.
终端可以根据语义相关度,调整文件夹目录中的目录顺序。具体地,终端可以按照语义相关度由高到低的顺序,调整文件夹目录中的目录顺序。目录的排序位次的前后与语义相关度的高低正相关。即,语义相关度越高,该目录的排序越靠前,反之,语义相关度越低,该目录的排序越靠后。The terminal can adjust the order of directories in the folder directory according to the semantic relevance. Specifically, the terminal may adjust the order of directories in the folder directory according to the order of semantic relevance from high to low. The ranking of the catalog is positively correlated with the level of semantic relevance. That is, the higher the semantic relevance, the higher the ranking of the catalog, and the lower the semantic relevance, the lower the ranking of the catalog.
比如,用户画像标签为“工作狂”时,则可以将工作类别的文件夹在目录中排在前面,将非工作类别的文件夹在目录中排在后面。For example, when the user profile label is "workaholic", the folders of the work category can be listed first in the directory, and the folders of the non-work category can be listed behind in the directory.
在其中一个实施例中,当有多个用户画像标签时,则可以计算文件夹所属的文件类别分别与各个用户画像标签的子语义相关度,然后将子语义相关度相加,得到最终的语义相关度,按照最终的语义相关度,调整文件夹目录树各目录的排序。可以理解,针对属于同一类别的文件夹,终端还可以统计用户对文件夹的近期访问频率,来确定同一类别下的文件夹之间的目录排序。可以理解,综合考虑多个子语义相关度,得到最终的语义相关度,使得语义相关度确定的更加准确,从而提高了目录排序的准确性。In one of the embodiments, when there are multiple user portrait tags, you can calculate the sub-semantic relevance of the file category to which the folder belongs to each user portrait tag, and then add the sub-semantic relevance to obtain the final semantic Relevance, according to the final semantic relevance, adjust the sorting of the directories in the folder directory tree. It can be understood that, for folders belonging to the same category, the terminal can also count the user's recent access frequency to the folders to determine the directory sorting among the folders under the same category. It can be understood that, comprehensively considering multiple sub-semantic relevance to obtain the final semantic relevance, so that the semantic relevance is determined more accurately, thereby improving the accuracy of catalog sorting.
上述实施例中,根据目录所属文件类别与用户画像标签之间的语义相关度调整文件夹目录中的目录顺序,能够使得文件夹目录排序更加的准确,使得更加有用的文件的目录排在前面,从而能够提高文件查找效率。In the above embodiment, adjusting the order of the directories in the folder directory according to the semantic relevance between the file category to which the directory belongs and the user portrait tags can make the sorting of the folder directories more accurate, and make the directories of more useful files rank first. This can improve the efficiency of file search.
在其中一个实施例中,终端还可以获取预设的用户画像标签和提示信息之间的对应关系。这些提示信息可以是默认的,也可以由用户自定义。提示信息可以为文本、动态的图文结合提示信息等形式。In one of the embodiments, the terminal may also obtain the preset correspondence between the user portrait label and the prompt information. These prompt messages can be default or user-defined. The prompt information can be in the form of text, dynamic graphics and text combined with prompt information, etc.
终端可以根据该对应关系,在文件夹目录树所处的网页中生成与用户画像标签相对应的提示信息。The terminal may generate prompt information corresponding to the user portrait tag in the web page where the folder directory tree is located according to the corresponding relationship.
比如,用户的画像标签为“工作狂”,则可以在页面中生成“注意休息”意思的温馨提示。具体可以在检测到用户访问该文件夹已达到预设时长时,终端则可以在网页中生成预设的提示信息,比如“主人,是时候起来活动一下了”。For example, if the user's portrait is labeled as "workaholic", a warm reminder meaning "pay attention to rest" can be generated on the page. Specifically, when it is detected that the user has accessed the folder for a preset period of time, the terminal can generate a preset prompt message in the web page, such as "Master, it's time to get up and move around."
上述实施例中,文件夹目录树具备智能提醒作用,进一步提高了能够表达的信息量。In the above embodiment, the folder directory tree has an intelligent reminder function, which further increases the amount of information that can be expressed.
在其中一个实施例中,终端还可以获取在文件夹目录树的搜索框中输入的搜索关键词,进行搜索,以确定构成文件夹目录树下的文件中包括该搜索关键词的文件的数量,根据该数量与总文件数量的比值,得到搜索关键词所对应的文件占比,并在统计图中展示该文件占比。In one of the embodiments, the terminal can also obtain the search keyword entered in the search box of the folder directory tree and perform a search to determine the number of files that comprise the search keyword among the files that constitute the folder directory tree. According to the ratio of the number to the total number of files, the proportion of the file corresponding to the search keyword is obtained, and the proportion of the file is displayed in the statistical chart.
具体地,终端可以先依据文件夹目录树的路径,搜索包括该搜索关键词的文件目录, 得到第一数量。针对不包括该搜索关键词的文件目录,终端可以搜索这些文件目录所对应的文件内容中是否包括该搜索关键词,以此搜索出包括该搜索关键词的文件,得到第二数量。终端可以对第一数量和第二数量求和,并将求和后的数量除以总文件数量,得到搜索关键词所对应的文件占比。Specifically, the terminal may first search the file directory including the search keyword according to the path of the folder directory tree to obtain the first number. For file directories that do not include the search keyword, the terminal can search whether the file content corresponding to these file directories includes the search keyword, so as to search for files that include the search keyword, and obtain the second number. The terminal can sum the first quantity and the second quantity, and divide the summed quantity by the total number of files to obtain the proportion of files corresponding to the search keywords.
可以理解,这样一来,用户只需要在文件夹目录树中输入一个搜索关键词,就可以直观地知晓包括该关键词的文件占比,而不需要自己去计算占比,提高了效率。It can be understood that, in this way, the user only needs to enter a search keyword in the folder directory tree to intuitively know the proportion of files that include the keyword, without having to calculate the proportion by themselves, which improves efficiency.
应该理解的是,虽然图2至图3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2至图3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of FIGS. 2 to 3 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in Figures 2 to 3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps or The execution order of the stages is not necessarily carried out sequentially, but may be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在其中一个实施例中,如图4所示,提供了一种文件管理装置400,包括:目录树生成模块402、写入模块404、以及交互模块406,其中:In one of the embodiments, as shown in FIG. 4, a file management apparatus 400 is provided, including: a directory tree generation module 402, a writing module 404, and an interaction module 406, wherein:
目录树生成模块402,用于读取本地存储的文件夹和文件的信息;根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树。The directory tree generation module 402 is used to read the information of locally stored folders and files; generate folders according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files Directory tree.
写入模块404,用于将所述文件夹目录树写入预设的网页中。The writing module 404 is used for writing the folder directory tree into a preset webpage.
交互模块406,用于当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。The interaction module 406 is configured to, when an interaction instruction for the folder directory tree is received, trigger to obtain the directory tree interaction code corresponding to the interaction instruction from the page code of the webpage; by executing the directory tree interaction Code to perform corresponding interactive processing for the folder directory tree.
在其中一个实施例中,该装置还包括:In one of the embodiments, the device further includes:
展示模块408,用于获取针对所述网页输入的可视元素展示代码;将所述可视元素展示代码更新至所述网页的页面代码中;加载更新的所述可视元素展示代码,在所述网页中展示所述可视元素展示代码中所指定的可视元素。The display module 408 is configured to obtain the visual element display code input for the webpage; update the visual element display code to the page code of the webpage; load the updated visual element display code, The webpage displays the visual elements specified in the visual element display code.
在其中一个实施例中,所述可视元素展示代码包括目录树展示模板代码;所述目录树展示模板代码用于指定包含展示信息的目录树展示模板。本实施例中,展示模块408还用于在所述网页中,将所述文件夹目录树嵌套至所述目录树展示模板中,生成包括展示信息的文件夹目录树。In one of the embodiments, the visual element display code includes a directory tree display template code; the directory tree display template code is used to specify a directory tree display template containing display information. In this embodiment, the display module 408 is further configured to nest the folder directory tree into the directory tree display template in the web page to generate a folder directory tree including display information.
在其中一个实施例中,该装置还包括:In one of the embodiments, the device further includes:
统计模块410,用于对所述文件夹目录树中的文件夹和文件进行统计分类;根据统计分类得到的各文件类别生成统计图并展示于所述网页中;针对每个文件类别,从文件夹目录树中,筛选所述文件类别下的文件夹和文件所在目录;将所述文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系;所述关联关系,用于所述展示区域被触发后,在所述文件夹目录树中突出显示具有关联关系的目录。The statistical module 410 is used to statistically classify the folders and files in the folder directory tree; generate statistical graphs based on each file category obtained by the statistical classification and display them on the webpage; for each file category, from the file In the folder directory tree, filter the folders and file directories under the file category; establish an association relationship between the file category in the corresponding display area of the statistical graph and the filtered directory; the association relationship is used for After the display area is triggered, the associated directories are highlighted in the folder directory tree.
如图5所示,在其中一个实施例中,该装置还包括展示模块408、统计模块410以及目录顺序调整模块412,其中:As shown in FIG. 5, in one of the embodiments, the device further includes a display module 408, a statistics module 410, and a catalog order adjustment module 412, where:
统计模块410还用于对所述文件夹目录树中的文件夹和文件进行统计分类;确定统计分类的各文件类别所对应的文件占比。The statistics module 410 is also used for statistically classifying the folders and files in the folder directory tree; determining the proportion of files corresponding to each file category of the statistical classification.
目录顺序调整模块412,用于根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签;根据所述用户画像标签,对所述文件夹目录树中的目录顺序进行调整。The directory order adjustment module 412 is used to predict the user portrait tags of the users using the local terminal according to the proportion of files corresponding to each file category; adjust the directory order in the folder directory tree according to the user portrait tags .
在其中一个实施例中,目录顺序调整模块412还用于确定所述文件夹目录树中的各目录所属的文件类别;分别将各目录所属的文件类别与所述用户画像标签进行语义分析,得到语义相关度;按照语义相关度由高到低的顺序,调整所述文件夹目录中的目录顺序。In one of the embodiments, the directory order adjustment module 412 is also used to determine the file category to which each directory in the folder directory tree belongs; perform semantic analysis on the file category to which each directory belongs and the user portrait tag to obtain Semantic relevance; according to the order of semantic relevance from high to low, the order of directories in the folder directory is adjusted.
在其中一个实施例中,目录顺序调整模块412还用于对各文件类别所对应的文件占比进行排名,选取排名在前预设位次的文件类别;根据预先设置的文件类别与用户画像标签之间的对应关系,查找与选取的文件类别对应的用户画像标签;根据选取的用户画像标签,确定使用本地终端的用户最终的用户画像标签;或,将各文件类别所对应的文件占比输入预先训练的用户模型中;通过所述用户模型预测预设的标签库中各用户画像标签被输出的概率;从所述标签库中,选择最大概率或排名在前预设位次的概率的用户画像标签,得到所述用户的用户画像标签。In one of the embodiments, the directory order adjustment module 412 is also used to rank the proportions of files corresponding to each file category, and select the file category with a preset ranking in the top; according to the preset file category and user portrait tag Find the user portrait label corresponding to the selected file category; determine the final user portrait label of the user using the local terminal according to the selected user portrait label; or input the proportion of the file corresponding to each file category In a pre-trained user model; the user model predicts the probability that each user portrait tag in the preset tag library is output; from the tag library, select the user with the highest probability or the highest probability in the preset position Portrait label, obtain the user portrait label of the user.
关于文件管理装置的具体限定可以参见上文中对于文件管理方法的限定,在此不再赘述。上述文件管理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the file management device, please refer to the above limitation of the file management method, which will not be repeated here. Each module in the above-mentioned file management device can be implemented in whole or in part by software, hardware, and a combination thereof. The foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是图1中的终端110,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令。该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种文件管理方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one of the embodiments, a computer device is provided. The computer device may be the terminal 110 in FIG. 1, and its internal structure diagram may be as shown in FIG. 6. The computer equipment includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. The processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer-readable instructions are executed by the processor to realize a file management method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, a trackball or a touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
在其中一个实施例中,提供了一种计算机设备,包括存储器和一个或多个处理器, 存储器存储有计算机可读指令,计算机可读指令被处理器执行时,使得一个或多个处理器执行上述文件管理方法的步骤。此处文件管理方法的步骤可以是上述各个实施例的文件管理方法中的步骤。In one of the embodiments, a computer device is provided, including a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the one or more processors execute The steps of the above file management method. Here, the steps of the file management method may be the steps in the file management method of each of the above embodiments.
在其中一个实施例中,提供了一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述文件管理方法的步骤。此处文件管理方法的步骤可以是上述各个实施例的文件管理方法中的步骤。In one of the embodiments, one or more non-volatile computer-readable storage media storing computer-readable instructions are provided. When the computer-readable instructions are executed by one or more processors, one or more processing The device executes the steps of the above file management method. Here, the steps of the file management method may be the steps in the file management method of each of the above embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through computer-readable instructions, which can be stored in a non-volatile computer. In a readable storage medium, when the computer-readable instructions are executed, they may include the processes of the above-mentioned method embodiments. Any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, they should It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种文件管理方法,包括:A file management method, including:
    读取本地存储的文件夹和文件的信息;Read information about folders and files stored locally;
    根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;Generating a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files;
    将所述文件夹目录树写入预设的网页中;Writing the folder directory tree into a preset webpage;
    当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;及When an interactive instruction for the folder directory tree is received, triggering to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; and
    通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。By executing the directory tree interactive code, corresponding interactive processing is performed on the folder directory tree.
  2. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    获取针对所述网页输入的可视元素展示代码;Obtaining the visual element display code input for the webpage;
    将所述可视元素展示代码更新至所述网页的页面代码中;及Updating the visual element display code to the page code of the webpage; and
    加载更新的所述可视元素展示代码,在所述网页中展示所述可视元素展示代码中所指定的可视元素。Load the updated visual element display code, and display the visual element specified in the visual element display code on the web page.
  3. 根据权利要求2所述的方法,其特征在于,所述可视元素展示代码包括目录树展示模板代码;所述目录树展示模板代码用于指定包含展示信息的目录树展示模板;及The method according to claim 2, wherein the visual element display code comprises a directory tree display template code; the directory tree display template code is used to specify a directory tree display template containing display information; and
    所述在所述网页中展示所述可视元素展示代码中所指定的可视元素包括:The displaying of the visual element specified in the visual element display code in the webpage includes:
    在所述网页中,将所述文件夹目录树嵌套至所述目录树展示模板中,生成包括展示信息的文件夹目录树。In the web page, the folder directory tree is nested into the directory tree display template to generate a folder directory tree including display information.
  4. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    对所述文件夹目录树中的文件夹和文件进行统计分类;Statistically classifying the folders and files in the folder directory tree;
    根据统计分类得到的各文件类别生成统计图并展示于所述网页中;Generate a statistical graph according to each file category obtained by statistical classification and display it on the webpage;
    针对每个所述文件类别,从所述文件夹目录树中,筛选所述文件类别下的文件夹和文件所在目录;及将所述文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系;所述关联关系,用于所述展示区域被触发后,在所述文件夹目录树中突出显示具有关联关系的目录。For each of the file categories, filter the folders and files in the file category from the folder directory tree; and compare the file category in the corresponding display area of the statistical graph with the filtered directory An association relationship is established between them; the association relationship is used to highlight a directory with an association relationship in the folder directory tree after the display area is triggered.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    对所述文件夹目录树中的文件夹和文件进行统计分类;Statistically classifying the folders and files in the folder directory tree;
    确定统计分类得到的各文件类别所对应的文件占比;Determine the proportion of files corresponding to each file category obtained by statistical classification;
    根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签;及According to the proportion of files corresponding to each file category, predict the user portrait tags of users who use the local terminal; and
    根据所述用户画像标签,对所述文件夹目录树中的目录顺序进行调整。According to the user portrait tag, the order of the directories in the folder directory tree is adjusted.
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述用户画像标签,对所述文件夹目录树中的目录顺序进行调整包括:The method according to claim 5, wherein the adjusting the order of directories in the folder directory tree according to the user portrait tag comprises:
    确定所述文件夹目录树中的各目录所属的文件类别;Determining the file category to which each directory in the folder directory tree belongs;
    分别将各目录所属的文件类别与所述用户画像标签进行语义分析,得到语义相关度; 及Semantic analysis is performed on the file category to which each directory belongs and the user portrait tags to obtain semantic relevance; and
    按照语义相关度由高到低的顺序,调整所述文件夹目录中的目录顺序。Adjust the order of directories in the folder directory according to the order of semantic relevance from high to low.
  7. 根据权利要求5所述的方法,其特征在于,所述根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签包括:The method according to claim 5, wherein the predicting the user portrait tag of the user using the local terminal according to the proportion of the file corresponding to each file category comprises:
    对各文件类别所对应的文件占比进行排名,选取排名在前预设位次的文件类别;Rank the proportion of documents corresponding to each document category, and select the document category with the top preset ranking;
    根据预先设置的文件类别与用户画像标签之间的对应关系,查找与选取的文件类别对应的用户画像标签;及According to the correspondence between the preset file category and the user portrait tag, search for the user portrait tag corresponding to the selected file category; and
    根据选取的所述用户画像标签,确定使用本地终端的用户最终的用户画像标签。According to the selected user portrait tag, the final user portrait tag of the user who uses the local terminal is determined.
  8. 根据权利要求5所述的方法,其特征在于,所述根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签包括:The method according to claim 5, wherein the predicting the user portrait tag of the user using the local terminal according to the proportion of the file corresponding to each file category comprises:
    将各文件类别所对应的文件占比输入预先训练的用户模型中;Input the proportion of files corresponding to each file category into the pre-trained user model;
    通过所述用户模型预测预设的标签库中各用户画像标签被输出的概率;及Predicting the probability of each user portrait tag in the preset tag library being output by the user model; and
    从所述标签库中,选择最大概率或排名在前预设位次的概率的用户画像标签,得到所述用户的用户画像标签。From the tag library, select the user portrait tag with the greatest probability or the probability of the top preset position to obtain the user portrait tag of the user.
  9. 根据权利要求4所述的方法,其特征在于,还包括:The method according to claim 4, further comprising:
    获取在文件夹目录树的搜索框中输入的搜索关键词;Get the search keywords entered in the search box of the folder tree;
    按照所述搜索关键词进行搜索,得到所述文件夹目录树下的文件中包括所述搜索关键词的文件的数量;Search according to the search keyword, and obtain the number of files including the search keyword among the files under the directory tree of the folder;
    根据所述数量与所述文件夹目录树下的文件的总数量的比值,得到搜索关键词所对应的文件占比;及According to the ratio of the number to the total number of files under the folder directory tree, the proportion of files corresponding to the search keywords is obtained; and
    在所述统计图中展示所述文件占比。Show the proportion of the files in the statistical graph.
  10. 一种文件管理装置,所述装置包括:A file management device, the device includes:
    目录树生成模块,用于读取本地存储的文件夹和文件的信息;根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;The directory tree generation module is used to read the information of the locally stored folders and files; generate a folder directory according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and the files tree;
    写入模块,用于将所述文件夹目录树写入预设的网页中;及A writing module for writing the folder directory tree into a preset webpage; and
    交互模块,用于当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。The interaction module is configured to, when an interaction instruction for the directory tree of the folder is received, trigger to obtain the directory tree interaction code corresponding to the interaction instruction from the page code of the webpage; by executing the directory tree interaction code , Perform corresponding interactive processing for the folder directory tree.
  11. 根据权利要求10所述的装置,其特征在于,还包括:The device according to claim 10, further comprising:
    展示模块,用于获取针对所述网页输入的可视元素展示代码;将所述可视元素展示代码更新至所述网页的页面代码中;加载更新的所述可视元素展示代码,在所述网页中展示所述可视元素展示代码中所指定的可视元素。The display module is used to obtain the visual element display code entered for the webpage; update the visual element display code to the page code of the webpage; load the updated visual element display code, The visual element specified in the visual element display code is displayed on the webpage.
  12. 根据权利要求10所述的装置,其特征在于,还包括:The device according to claim 10, further comprising:
    统计模块,用于对所述文件夹目录树中的文件夹和文件进行统计分类;根据统计分类得到的各文件类别生成统计图并展示于所述网页中;针对每个文件类别,从文件夹目录树 中,筛选所述文件类别下的文件夹和文件所在目录;将所述文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系;所述关联关系,用于所述展示区域被触发后,在所述文件夹目录树中突出显示具有关联关系的目录。The statistical module is used to statistically classify the folders and files in the folder directory tree; generate statistical graphs based on each file category obtained by the statistical classification and display them on the web page; for each file category, from the folder In the directory tree, filter the folders and files under the file category; establish an association relationship between the corresponding display area of the file category in the statistical graph and the filtered directory; the association relationship is used for all After the display area is triggered, the associated directories are highlighted in the folder directory tree.
  13. 一种终端,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A terminal includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the one or more The processor performs the following steps:
    读取本地存储的文件夹和文件的信息;Read information about folders and files stored locally;
    根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;Generating a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files;
    将所述文件夹目录树写入预设的网页中;Writing the folder directory tree into a preset webpage;
    当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;及When an interactive instruction for the folder directory tree is received, triggering to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; and
    通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。By executing the directory tree interactive code, corresponding interactive processing is performed on the folder directory tree.
  14. 根据权利要求13所述的终端,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The terminal according to claim 13, wherein the processor further executes the following steps when executing the computer-readable instruction:
    获取针对所述网页输入的可视元素展示代码;Obtaining the visual element display code input for the webpage;
    将所述可视元素展示代码更新至所述网页的页面代码中;及Updating the visual element display code to the page code of the webpage; and
    加载更新的所述可视元素展示代码,在所述网页中展示所述可视元素展示代码中所指定的可视元素。Load the updated visual element display code, and display the visual element specified in the visual element display code on the web page.
  15. 根据权利要求13所述的终端,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The terminal according to claim 13, wherein the processor further executes the following steps when executing the computer-readable instruction:
    对所述文件夹目录树中的文件夹和文件进行统计分类;Statistically classifying the folders and files in the folder directory tree;
    根据统计分类得到的各文件类别生成统计图并展示于所述网页中;Generate a statistical graph according to each file category obtained by statistical classification and display it on the webpage;
    针对每个所述文件类别,从所述文件夹目录树中,筛选所述文件类别下的文件夹和文件所在目录;及For each of the file categories, from the folder directory tree, filter folders under the file category and the directories where files are located; and
    将所述文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系;所述关联关系,用于所述展示区域被触发后,在所述文件夹目录树中突出显示具有关联关系的目录。Establish an association relationship between the file category corresponding to the display area in the statistical graph and the filtered directory; the association relationship is used to highlight in the folder directory tree after the display area is triggered The directory of the association.
  16. 根据权利要求13至15中任一项所述的终端,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:The terminal according to any one of claims 13 to 15, wherein the processor further executes the following steps when executing the computer-readable instruction:
    对所述文件夹目录树中的文件夹和文件进行统计分类;Statistically classifying the folders and files in the folder directory tree;
    确定统计分类得到的各文件类别所对应的文件占比;Determine the proportion of files corresponding to each file category obtained by statistical classification;
    根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签;及According to the proportion of files corresponding to each file category, predict the user portrait tags of users who use the local terminal; and
    根据所述用户画像标签,对所述文件夹目录树中的目录顺序进行调整。According to the user portrait tag, the order of the directories in the folder directory tree is adjusted.
  17. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机 可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more non-volatile computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the following steps:
    读取本地存储的文件夹和文件的信息;Read information about folders and files stored locally;
    根据所述信息中包括的文件夹和文件的命名、以及所述文件夹和文件之间的层级关系,生成文件夹目录树;Generating a folder directory tree according to the naming of the folders and files included in the information and the hierarchical relationship between the folders and files;
    将所述文件夹目录树写入预设的网页中;Writing the folder directory tree into a preset webpage;
    当接收到针对所述文件夹目录树的交互指令时,触发从所述网页的页面代码中获取与所述交互指令对应的目录树交互代码;及When an interactive instruction for the folder directory tree is received, triggering to obtain the directory tree interactive code corresponding to the interactive instruction from the page code of the webpage; and
    通过执行所述目录树交互代码,针对所述文件夹目录树进行相应交互处理。By executing the directory tree interactive code, corresponding interactive processing is performed on the folder directory tree.
  18. 根据权利要求17所述的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:获取针对所述网页输入的可视元素展示代码;The non-volatile computer-readable storage medium according to claim 17, wherein when the computer-readable instructions are executed by the processor, the following steps are further executed: obtaining visual element display for the webpage input Code;
    将所述可视元素展示代码更新至所述网页的页面代码中;及Updating the visual element display code to the page code of the webpage; and
    加载更新的所述可视元素展示代码,在所述网页中展示所述可视元素展示代码中所指定的可视元素。Load the updated visual element display code, and display the visual element specified in the visual element display code on the web page.
  19. 根据权利要求17所述的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The non-volatile computer-readable storage medium of claim 17, wherein the following steps are further executed when the computer-readable instructions are executed by the processor:
    对所述文件夹目录树中的文件夹和文件进行统计分类;Statistically classifying the folders and files in the folder directory tree;
    根据统计分类得到的各文件类别生成统计图并展示于所述网页中;Generate a statistical graph according to each file category obtained by statistical classification and display it on the webpage;
    针对每个所述文件类别,从所述文件夹目录树中,筛选所述文件类别下的文件夹和文件所在目录;及For each of the file categories, from the folder directory tree, filter folders under the file category and the directories where files are located; and
    将所述文件类别在统计图中对应的展示区域与所筛选的目录之间建立关联关系;所述关联关系,用于所述展示区域被触发后,在所述文件夹目录树中突出显示具有关联关系的目录。Establish an association relationship between the file category corresponding to the display area in the statistical graph and the filtered directory; the association relationship is used to highlight in the folder directory tree after the display area is triggered The directory of the association.
  20. 根据权利要求17至19中任一项所述的非易失性计算机可读存储介质,其特征在于,所述计算机可读指令被所述处理器执行时还执行以下步骤:The non-volatile computer-readable storage medium according to any one of claims 17 to 19, wherein the following steps are further executed when the computer-readable instructions are executed by the processor:
    对所述文件夹目录树中的文件夹和文件进行统计分类;Statistically classifying the folders and files in the folder directory tree;
    确定统计分类得到的各文件类别所对应的文件占比;Determine the proportion of files corresponding to each file category obtained by statistical classification;
    根据各文件类别所对应的文件占比,预测使用本地终端的用户的用户画像标签;及According to the proportion of files corresponding to each file category, predict the user portrait tags of users who use the local terminal; and
    根据所述用户画像标签,对所述文件夹目录树中的目录顺序进行调整。According to the user portrait tag, the order of the directories in the folder directory tree is adjusted.
PCT/CN2019/117750 2019-07-05 2019-11-13 File management method and apparatus, computer device and storage medium WO2021003932A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910604481.X 2019-07-05
CN201910604481.XA CN110442553B (en) 2019-07-05 2019-07-05 File management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021003932A1 true WO2021003932A1 (en) 2021-01-14

Family

ID=68428509

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117750 WO2021003932A1 (en) 2019-07-05 2019-11-13 File management method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110442553B (en)
WO (1) WO2021003932A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817862A (en) * 2021-02-22 2021-05-18 北京奇艺世纪科技有限公司 Data processing method, device and equipment and readable storage medium
CN113157274A (en) * 2021-05-20 2021-07-23 北京字节跳动网络技术有限公司 Software development method and device based on micro front end, electronic equipment and storage medium
CN113722561A (en) * 2021-08-05 2021-11-30 中核武汉核电运行技术股份有限公司 SSCs structure display method, device, equipment and readable storage medium
CN114024955A (en) * 2021-11-01 2022-02-08 北京来也网络科技有限公司 File processing method, device, equipment and medium based on RPA and AI
CN116303252A (en) * 2023-05-18 2023-06-23 北京探索者软件股份有限公司 Format conversion method and device for DWG file, storage medium and electronic device
CN116432210A (en) * 2023-06-13 2023-07-14 成都航空职业技术学院 File management method and system based on security protection
CN117290302A (en) * 2023-11-23 2023-12-26 合芯科技(苏州)有限公司 Directory separation method, apparatus, computer device and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442553B (en) * 2019-07-05 2021-02-26 深圳赛安特技术服务有限公司 File management method and device, computer equipment and storage medium
CN111523287B (en) * 2020-04-23 2023-12-29 苏州云注软件技术有限公司 File view list display method and device, storage medium and electronic device
CN111881473B (en) * 2020-07-22 2024-03-19 深圳市友杰智新科技有限公司 Privacy file protection method, device, computer equipment and readable storage medium
CN113486635A (en) * 2021-07-23 2021-10-08 中国建设银行股份有限公司 Document editing method and device, electronic equipment and computer readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023972A (en) * 2012-11-16 2013-04-03 北京奇虎科技有限公司 Method and device for managing files
CN103440271A (en) * 2013-08-02 2013-12-11 亚太宝龙科技(湖南)有限公司 Method and device for displaying historical directories in operating system
US20140081910A1 (en) * 2011-08-23 2014-03-20 Huawei Technologies Co., Ltd. Method and apparatus for document updating
CN106293650A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 A kind of folder attribute method to set up and device
CN106339400A (en) * 2015-07-13 2017-01-18 阿里巴巴集团控股有限公司 Method, apparatus and device for presenting tree files
CN110442553A (en) * 2019-07-05 2019-11-12 平安国际智慧城市科技股份有限公司 File management method, device, computer equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200413963A (en) * 2003-01-17 2004-08-01 Ec Server Com Inc Method for randomly varying tree-shape directory
CN101673304A (en) * 2008-10-23 2010-03-17 中国科学院地理科学与资源研究所 Spatial visualization system of statistical population information and method thereof
CN105224552B (en) * 2014-06-10 2020-02-11 腾讯科技(北京)有限公司 Network information processing method, device and system
CN105808770A (en) * 2016-03-22 2016-07-27 北京北方微电子基地设备工艺研究中心有限责任公司 File management method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140081910A1 (en) * 2011-08-23 2014-03-20 Huawei Technologies Co., Ltd. Method and apparatus for document updating
CN103023972A (en) * 2012-11-16 2013-04-03 北京奇虎科技有限公司 Method and device for managing files
CN103440271A (en) * 2013-08-02 2013-12-11 亚太宝龙科技(湖南)有限公司 Method and device for displaying historical directories in operating system
CN106293650A (en) * 2015-05-18 2017-01-04 阿里巴巴集团控股有限公司 A kind of folder attribute method to set up and device
CN106339400A (en) * 2015-07-13 2017-01-18 阿里巴巴集团控股有限公司 Method, apparatus and device for presenting tree files
CN110442553A (en) * 2019-07-05 2019-11-12 平安国际智慧城市科技股份有限公司 File management method, device, computer equipment and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112817862B (en) * 2021-02-22 2023-09-05 北京奇艺世纪科技有限公司 Data processing method, device, equipment and readable storage medium
CN112817862A (en) * 2021-02-22 2021-05-18 北京奇艺世纪科技有限公司 Data processing method, device and equipment and readable storage medium
CN113157274A (en) * 2021-05-20 2021-07-23 北京字节跳动网络技术有限公司 Software development method and device based on micro front end, electronic equipment and storage medium
CN113157274B (en) * 2021-05-20 2023-11-24 抖音视界有限公司 Software development method and device based on micro front end, electronic equipment and storage medium
CN113722561A (en) * 2021-08-05 2021-11-30 中核武汉核电运行技术股份有限公司 SSCs structure display method, device, equipment and readable storage medium
CN114024955A (en) * 2021-11-01 2022-02-08 北京来也网络科技有限公司 File processing method, device, equipment and medium based on RPA and AI
CN114024955B (en) * 2021-11-01 2024-03-12 北京来也网络科技有限公司 File processing method, device, equipment and medium based on RPA and AI
CN116303252B (en) * 2023-05-18 2023-09-12 北京探索者软件股份有限公司 Format conversion method and device for DWG file, storage medium and electronic device
CN116303252A (en) * 2023-05-18 2023-06-23 北京探索者软件股份有限公司 Format conversion method and device for DWG file, storage medium and electronic device
CN116432210B (en) * 2023-06-13 2023-08-29 成都航空职业技术学院 File management method and system based on security protection
CN116432210A (en) * 2023-06-13 2023-07-14 成都航空职业技术学院 File management method and system based on security protection
CN117290302A (en) * 2023-11-23 2023-12-26 合芯科技(苏州)有限公司 Directory separation method, apparatus, computer device and storage medium
CN117290302B (en) * 2023-11-23 2024-02-06 合芯科技(苏州)有限公司 Directory separation method, apparatus, computer device and storage medium

Also Published As

Publication number Publication date
CN110442553A (en) 2019-11-12
CN110442553B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
WO2021003932A1 (en) File management method and apparatus, computer device and storage medium
US11900324B2 (en) Managing projects in a content management system
US20200219061A1 (en) Managing tasks in a content management system
CN111417949B (en) Content-based transformation of digital documents
US20200226133A1 (en) Knowledge map building system and method
US9361320B1 (en) Modeling big data
US9251130B1 (en) Tagging annotations of electronic books
KR20060050753A (en) Automatic view selection
US20190188272A1 (en) Personalized content authoring driven by recommendations
EP3178013A2 (en) Knowledge automation system
JP2006209743A (en) Task-oriented user interface model for document centric software application
WO2010076625A1 (en) Method, apparatus and computer program product for providing analysis and visualization of content items association
US20170097946A1 (en) Method and apparatus for saving search query as metadata with an image
US20200342029A1 (en) Systems and methods for querying databases using interactive search paths
US20160085389A1 (en) Knowledge automation system thumbnail image generation
CN112417133A (en) Training method and device of ranking model
US20160086499A1 (en) Knowledge brokering and knowledge campaigns
US20160259859A1 (en) Method and system for filtering content in an electronic device
KR20120130196A (en) Automatic association of informational entities
CN111666383A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
TW202207049A (en) Search method, electronic device and non-transitory computer-readable recording medium
KR101651963B1 (en) Method of generating time and space associated data, time and space associated data generation server performing the same and storage medium storing the same
Bracamonte et al. Extracting semantic knowledge from web context for multimedia IR: a taxonomy, survey and challenges
US20160085850A1 (en) Knowledge brokering and knowledge campaigns
KR20150135042A (en) Method for Searching and Device Thereof

Legal Events

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

Ref document number: 19936854

Country of ref document: EP

Kind code of ref document: A1

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 160522)

122 Ep: pct application non-entry in european phase

Ref document number: 19936854

Country of ref document: EP

Kind code of ref document: A1