Data processing method and device and electronic equipment

By responding to instructions, the operation information of multiple target files is obtained, and information with a hierarchical structure is generated, which solves the problem that file directories do not meet user operating habits in the prior art, realizes personalized file directory generation, and improves user experience and management efficiency.

CN119537650APending Publication Date: 2025-02-28LENOVO (BEIJING) LTD
0 Cites 0 Cited by

Patent Information

Application Number
CN202411388817.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-02-28

Smart Images

  • Figure CN119537650A_ABST
    Figure CN119537650A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device and electronic equipment, and the method comprises the steps: obtaining first information in response to a first instruction; the first information comprises operation information for a plurality of target files; the operation information comprises information that the device operation object operates the file content; generating second information based on the first information; the second information has a display form of a hierarchical structure and is used for reflecting display relations of the multiple target files, and different operation information corresponds to different display relations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device and electronic device. Background Art

[0002] Currently, file directories are mostly constructed based on file storage locations, which does not conform to user operating habits. Summary of the invention

[0003] In view of this, embodiments of the present application provide a data processing method, device, and electronic device.

[0004] According to the first aspect of the present application, an embodiment of the present application provides a data processing method, including:

[0005] In response to the first instruction, first information is obtained; the first information includes operation information for multiple target files; the operation information includes information about the operation performed by the device operation object on the file content;

[0006] The second information is generated based on the first information; the second information has a hierarchical display form, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships.

[0007] Optionally, the data processing method further includes any of the following:

[0008] If a first operation is obtained, a first feature of the first operation is determined, and first information including the first feature is stored; the first operation represents that the device operates the object to browse the target file, and the first feature represents the browsing time;

[0009] If a second operation is obtained, a second feature of the second operation is determined, and the first information including the second feature is stored; the second operation represents that the device operates the object to open the target file, and the second feature represents the opening frequency;

[0010] If a third operation is obtained, a third feature of the third operation is determined, and the first information including the third feature is stored; the third operation represents that the device operation object modifies the content of the target file, and the third feature represents the modification frequency.

[0011] Optionally, obtaining the first information includes:

[0012] obtaining a first feature, a second feature and / or a third feature; the first information includes the first feature, the second feature and / or the third feature;

[0013] The file attribute information of the plurality of target files is obtained, wherein the first information further comprises the file attribute information; the file attribute information comprises the file type, the file content, the storage path, the file name and / or the file size.

[0014] Optionally, generating the second information based on the first information includes:

[0015] Based on the file attribute information of each target file, generate a classification label for each target file;

[0016] Based on the operation information of each target file, the classification label of each target file is updated;

[0017] Determine the attention weights of the updated classification labels of each target file;

[0018] Based on the updated classification labels of each target file and the corresponding attention weights, second information is generated; the second information includes the updated classification labels of each target file.

[0019] Optionally, based on the updated classification labels of each target file and the corresponding attention weights, second information is generated, including:

[0020] Determine the number of occurrences of each label in the updated classification labels of all target files and the sum of the corresponding attention weights; the updated classification labels of each target file include at least one label, and each label corresponds to an attention weight;

[0021] For each tag, if the number of times the tag appears is greater than or equal to the first threshold, and the sum of the attention weights is greater than or equal to the second threshold, the tag is used as the name of the folder, and the target files with the tag are used as parallel files in the folder, and a hierarchical structure including the folder, the corresponding target files and the corresponding tags is generated to generate the second information.

[0022] Optionally, the data processing method further includes:

[0023] Obtaining third information, where the third information represents the identity characteristics of a display object of the second information;

[0024] If the identity feature matches the identity feature of the device operation object, outputting second information reflecting the display relationship of all target files to the display object; the multiple target files include private files and non-private files set by the device operation object;

[0025] If the identity feature does not match the identity feature of the device operation object, second information reflecting the display relationship of part of the target file is output to the display object; the part of the target file is a non-privacy file set by the device operation object.

[0026] Optionally, the second information reflecting the display relationship of all target files also includes a target control, and the target control is used to hide or restore the display of the private file in the hierarchical structure.

[0027] Optionally, the data processing method further includes:

[0028] outputting second information to the display object;

[0029] If a fourth operation of displaying the object is obtained, the storage paths of the plurality of target files are adjusted based on the display relationship reflected by the second information; the fourth operation is used to adjust the file storage structure.

[0030] According to a second aspect of the present application, an embodiment of the present application provides a data processing device, including:

[0031] The obtaining module is used to obtain first information in response to a first instruction; the first information includes operation information for multiple target files; the operation information includes information about the operation performed by the device operation object on the file content.

[0032] A generation module is used to generate second information based on the first information; the second information has a hierarchical display form, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships.

[0033] According to a third aspect of the present application, an embodiment of the present application provides an electronic device, including:

[0034] At least one processor; and a memory in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute:

[0035] In response to the first instruction, first information is obtained; the first information includes operation information for multiple target files; the operation information includes information about the operation performed by the device operation object on the file content;

[0036] The second information is generated based on the first information; the second information has a hierarchical display form, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships.

[0037] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a data processing method in an embodiment of the present application;

[0039] Figure 2 A flowchart of another data processing method in an embodiment of the present application;

[0040] Figure 3This is a schematic diagram of the structure of a data processing device in an embodiment of the present application;

[0041] Figure 4 This is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0043] The present application embodiment provides a data processing method, such as Figure 1 As shown, including:

[0044] S101, in response to a first instruction, obtaining first information; the first information includes operation information for multiple target files; the operation information includes information about the operation performed by the device operation object on the file content.

[0045] In this embodiment, the first instruction is an instruction for classifying a plurality of target files to form a file directory.

[0046] In this embodiment, the operation information refers to the information recorded after the device operation object browses, clicks and / or modifies the file content of the target file, rather than the information of the operation on the storage path of the target file. The operation information includes but is not limited to at least one of the file browsing time, file opening frequency, and file modification frequency.

[0047] In this embodiment, when the first instruction is obtained, operation information for multiple target files may be acquired to obtain the first information.

[0048] S102, generating second information based on the first information; the second information has a hierarchical display form, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships.

[0049] In this embodiment, after obtaining the first information, the operation information of multiple target files is analyzed to determine the usage habits of the device operation object for the multiple target files and the association relationships between the multiple target files. Therefore, based on the usage habits of the device operation object for the multiple target files and the association relationships between the multiple target files, a hierarchical structure display form for the multiple target files can be formed, that is, a file directory of the multiple target files can be formed.

[0050] In this embodiment, since the operation information of different device operation objects for multiple target files may be different, the different operation information formed by different device operation objects can form different display relationships, that is, the second information formed for different device operation objects is different.

[0051] The data processing method provided in the embodiment of the present application obtains first information by responding to a first instruction; the first information includes operation information for multiple target files; the operation information includes information on the operation performed by the device operation object on the file content; the second information is generated based on the first information; the second information has a hierarchical display form, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships; in this way, according to the operation information of the device operation object on the multiple target files, a personalized display relationship of the hierarchical structure for the multiple target files can be generated, so that the generated display relationship of the multiple target files conforms to the usage habits of the device operation object, which can greatly reduce the difficulty and workload of the device operation object to reconstruct the display relationship based on its own usage habits.

[0052] In an optional embodiment, in step S101, before obtaining the first information in response to the first instruction, the data processing method further includes any of the following:

[0053] If the first operation is obtained, the first feature of the first operation is determined, and the first information containing the first feature is stored; the first operation represents that the device operation object browses the target file, and the first feature represents the browsing time; if the second operation is obtained, the second feature of the second operation is determined, and the first information containing the second feature is stored; the second operation represents that the device operation object opens the target file, and the second feature represents the opening frequency; if the third operation is obtained, the third feature of the third operation is determined, and the first information containing the third feature is stored; the third operation represents that the device operation object modifies the content of the target file, and the third feature represents the modification frequency.

[0054] In this embodiment, when the first information includes only the first feature, the corresponding file browsing time can be recorded whenever any one of the multiple target files is browsed. When the first information includes only the second feature, the corresponding opening frequency can be counted whenever any one of the multiple target files is opened. When the first information includes only the third feature, the corresponding modification frequency can be counted whenever any one of the multiple target files is modified.

[0055] When the first information includes the first feature and the second feature, the corresponding file browsing time can be recorded whenever any one of the multiple target files is browsed; and the corresponding opening frequency can be counted whenever any one of the multiple target files is opened. When the first information includes the first feature and the third feature, the corresponding file browsing time can be recorded whenever any one of the multiple target files is browsed; and the corresponding modification frequency can be counted whenever the file content is modified on any one of the multiple target files. When the first information includes the second feature and the third feature, the corresponding opening frequency can be counted whenever any one of the multiple target files is opened; and the corresponding modification frequency can be counted whenever the file content is modified on any one of the multiple target files.

[0056] When the first information includes the first feature, the second feature and the third feature, the corresponding file browsing time can be recorded each time any one of the multiple target files is browsed; the corresponding opening frequency can be counted each time any one of the multiple target files is opened; and the corresponding modification frequency can be counted each time the file content is modified for any one of the multiple target files.

[0057] In this embodiment, when the device operation object performs a browsing operation on the target file, first information including the browsing time is stored; when the device operation object performs an opening operation on the target file, first information including the opening frequency is stored; when the device operation object performs a modification operation on the content of the target file, first information including the modification frequency is stored; thereby, when the first information including the browsing time, opening frequency and / or modification frequency is needed, the first information can be quickly obtained.

[0058] In an optional embodiment, in step S101, obtaining first information includes:

[0059] A first feature, a second feature and / or a third feature are obtained; the first information includes the first feature, the second feature and / or the third feature; file attribute information of multiple target files is obtained, and the first information also includes file attribute information; the file attribute information includes file type, file content, storage path, file name and / or file size.

[0060] In this embodiment, the first information includes not only the operation information for the multiple target files, but also the file attribute information of the multiple target files. Therefore, when obtaining the first information, not only the first feature, the second feature and / or the third feature can be obtained from the stored information, but also each target file can be analyzed to determine the file type, file content, storage path, file name and / or file size of each target file, and obtain the file attribute information of each target file.

[0061] In this embodiment, the first information not only includes operation information for multiple target files, but also includes file attribute information of multiple target files. Therefore, when the second information is formed by the first information, not only the operation habits of the device operation object for the target files can be considered, but also the naming habits of the device operation object for the target files can be considered, and the attribute information of the target files can also be considered, so that the second information is more in line with the user's usage habits.

[0062] In an optional embodiment, step S102 generates second information based on the first information, such as Figure 2 As shown, including:

[0063] S1021, generating a classification label for each target file based on the file attribute information of each target file.

[0064] S1022: Based on the operation information of each target file, update the classification label of each target file.

[0065] S1023, determining the attention weight of the updated classification label of each target file.

[0066] S1024, generating second information based on the updated classification labels of each target file and the corresponding attention weights; the second information includes the updated classification labels of each target file.

[0067] In this embodiment, for step S1021, since the file attribute information of the target file includes more information such as file type, file content, storage path, file name and / or file size, by analyzing the file attribute information of each target file, a classification label label for initial classification of each target file can be obtained. s (l1,l2,…,l n ); the classification label can include multiple labels l1, l2, ..., l n ;

[0068] In some implementations, the file attribute information of each target file can be input into the knowledge graph model to generate corresponding classification labels; then label s =KG(s); where KG is the knowledge graph model and s is the file attribute information.

[0069] In some implementations, a correspondence between a classification label and file attribute information may be preset, for example, the classification label is work, and the corresponding file attribute information is: the file type is type 1. Thus, the file attribute information of each target file may be matched with the file attribute information in the preset correspondence, and the classification label of each target file may be determined.

[0070] For step S1022, the operation information of all target files can be processed based on the preset rules to obtain the second classification label of each target file, and then the second classification label of each target file is merged with the classification label to update the classification label of each target file to obtain the updated classification label label′ of each target file. s The preset rule may specifically be: if the file browsing time of a certain target file coincides with the file browsing time of another target file, then the file name of the other target file is used as the new label of the certain target file. r ; Define a specific tag l q , the value of this specific label is the feature matrix t(t1,t2,…,t m ), the second classification label is l r and l q A collection of labels.

[0071] Encoder is the encoding operation; t1, t2, …, t m Operation information for the target file.

[0072] So label′ s =(label s ,l r ,l q ).

[0073] For step S1023, the attention weights of the updated classification labels of each target file are determined. The updated classification labels of each target file can be input into the feature learning model to perform feature extraction to obtain the file feature vector v, and then the file feature vector is encoded using the attention encoder to obtain the attention weight a of each label in the updated classification label. s (a1,a2,…,a n ).

[0074] Where 0 n <1; v = Encoder(label′ s );

[0075] a s ​=AttentionTransformer(v); AttentionTransformer is the encoding operation of the attention encoder.

[0076] For S1024, the second information is generated based on the updated classification labels of each target file and the corresponding attention weights; the second information includes the updated classification labels of each target file; after determining the updated classification labels of each target file and the corresponding attention weights, it is possible to determine which target files have the same labels and which labels have larger attention weights, thereby generating a display relationship of a hierarchical structure for multiple target files, and generating the updated classification labels for each target file accordingly, to obtain the second information.

[0077] In specific implementation, an initial file directory can be generated based on the updated classification labels of each target file and the storage path of each target file. Then, the updated classification labels and corresponding attention weights of all target files in the initial file directory are analyzed, and the labels that appear repeatedly and have a large attention weight are extracted as the name of the folder, and the target files with the same label are used as sub-files in the folder, so that the second information can be formed. For example, by analyzing the updated classification labels of all target files in the initial file directory, it can be determined that the label "work" appears repeatedly in different target files, and the corresponding attention weight is large, then "work" can be used as the name of the folder, and the target files with this label are used as sub-files under this folder. Then, by analyzing the target files under this folder, it is determined that the label "Report" appears repeatedly, and the corresponding attention weight is large, then "Report" can be used as a folder under the "work" folder, and the name of the folder is "Report", and then the target files with the label "Report" are used as sub-files under this folder; in this way, the second information can be formed.

[0078] In this embodiment, the updated classification label of each target file not only refers to the file attribute information, but also refers to the operation information of the device operation object, so that the updated classification label of each target file has a label that can characterize the association relationship with other files and the usage habits of the device operation object, and by determining the attention weight of the updated classification label of each target file, the second information is generated based on the updated classification label of each target file and the corresponding attention weight, so that the target files can be classified according to the user's usage habits and operation habits, and a file directory that conforms to the user's usage habits and operation habits is obtained.

[0079] In an optional embodiment, step S1024, based on the updated classification labels of each target file and the corresponding attention weights, generates second information, including:

[0080] Determine the number of times each label appears in the updated classification labels of all target files and the sum of the corresponding attention weights; the updated classification labels of each target file include at least one label, and each label corresponds to an attention weight; for each label, if the number of times the label appears is greater than or equal to a first threshold, and the sum of the attention weights is greater than or equal to a second threshold, use the label as the name of the folder, and use each target file with the label as a parallel file in the folder, and generate a hierarchical structure including the folder, the corresponding target files and the corresponding labels to generate second information.

[0081] In this embodiment, the updated classification labels and corresponding attention weights of each target file are determined, and the number of times each label appears in the updated classification labels of all target files and the sum of the corresponding attention weights can be counted. For example, by statistics, the label "work" appears 4 times, and by summing the attention weights at each appearance, the sum of its attention weights is 3.6. Then, by comparison, it can be found that the number of times the label "work" appears exceeds the first threshold 2, and the sum of the attention weights exceeds the second threshold 1. Then the label "work" can be used as the name of the folder, and the target files with the label "work" can be used as parallel files in the folder, and then a hierarchical structure including the folder and the corresponding target files and the corresponding labels is generated. After all the target files are classified and formed into a hierarchical structure in this way, the second information can be obtained.

[0082] In some implementations, the cosine value of each two target files can also be calculated based on the updated classification labels of each target file as the association weight of the two target files. If the association weight of the two target files is greater than the preset association weight threshold, it means that the two target files are strongly associated and should be placed in the same folder. For example, based on the updated classification labels of the target file "Java" and the target file "mysql-8.0.30-winx64", the cosine value of the two target files is calculated to be 0.8, so the association weight of the two target files is 0.8, which exceeds the preset association weight threshold of 0.5, then the two target files should be placed in the same folder. Since the target file "Java" is already in the folder "Program Files", the target file "mysql-8.0.30-winx64" can also be placed in the folder "Program Files", and a hierarchical structure including the folder "Program Files" and the corresponding target files and corresponding labels in the folder is generated.

[0083] In this embodiment, the number of times each label appears in the updated classification labels of all target files and the sum of the corresponding attention weights are determined; for each label, if the number of times the label appears is greater than or equal to the first threshold, and the sum of the attention weights is greater than or equal to the second threshold, the label is used as the name of the folder, and the target files with the label are used as parallel files in the folder, and a hierarchical structure including the folder, the corresponding target files and the corresponding labels is generated to generate the second information; in this way, a file directory that conforms to the user's usage habits and operating habits can be quickly generated.

[0084] In an optional embodiment, the data processing method further includes:

[0085] Obtain third information, the third information representing the identity characteristics of the display object of the second information; if the identity characteristics match the identity characteristics of the device operation object, output second information reflecting the display relationship of all target files to the display object; the multiple target files include privacy files and non-privacy files set by the device operation object; if the identity characteristics do not match the identity characteristics of the device operation object, output second information reflecting the display relationship of some target files to the display object; some target files are non-privacy files set by the device operation object.

[0086] In this embodiment, since the multiple target files include privacy files and non-privacy files set by the device operation object, it is necessary to determine the identity features corresponding to the display when the second information is displayed. If the identity features show that the object is the device operation object or an object authorized by the device operation object, the second information can be displayed in its entirety; if the identity features show that the object is not the device operation object or an object authorized by the device operation object, only the hierarchical structure of the non-privacy files set by the device operation object in the second information can be displayed.

[0087] In this embodiment, by obtaining the identity characteristics of the display object and matching the identity characteristics of the display object with the identity characteristics of the device operation object, the identity of the display object can be verified to prevent non-device operation objects or objects authorized by the device operation object from seeing the privacy files set by the device operation object.

[0088] In an optional embodiment, the second information reflecting the display relationship of all target files also includes a target control, and the target control is used to hide or restore the display of the private file in the hierarchical structure.

[0089] In this embodiment, a target control can be inserted into the second information. Since the multiple target files include the privacy files and non-privacy files set by the device operation object, when the second information is fully displayed, the target control in the second information can enable the display object to hide or restore the display of the privacy files in the hierarchical structure based on the target space control, thereby improving the user experience.

[0090] In an optional embodiment, the data processing method further includes:

[0091] Outputting the second information to the display object; if a fourth operation of the display object is obtained, adjusting the storage paths of the plurality of target files based on the display relationship reflected by the second information; the fourth operation is used to adjust the file storage structure.

[0092] In this embodiment, outputting the second information to the display object can facilitate the display object to understand the classification rules and logic of multiple target files.

[0093] In a specific implementation, when the second information is output to the display object, the attention weight of each label of each target file can also be output.

[0094] In this embodiment, by outputting the second information to the display object and, when the fourth operation of the display object is obtained, adjusting the storage paths of multiple target files based on the display relationship reflected by the second information, automatic adjustment and classification of multiple target files can be achieved, thereby improving the user experience.

[0095] The present application also provides a data processing device, such as Figure 3As shown, including:

[0096] The obtaining module 51 is used to obtain first information in response to a first instruction; the first information includes operation information for multiple target files; the operation information includes information about the operation performed by the device operation object on the file content.

[0097] The generating module 52 is used to generate the second information based on the first information; the second information has a display form of a hierarchical structure, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships.

[0098] The data processing device provided in the embodiment of the present application obtains first information by responding to a first instruction; the first information includes operation information for multiple target files; the operation information includes information on the operation performed by the device operation object on the file content; the second information is generated based on the first information; the second information has a hierarchical display form, which is used to reflect the display relationship of multiple target files, and different operation information corresponds to different display relationships; in this way, according to the operation information of the device operation object on the multiple target files, a personalized display relationship of the hierarchical structure for the multiple target files can be generated, so that the generated display relationship of the multiple target files conforms to the usage habits of the device operation object, which can greatly reduce the difficulty and workload of the device operation object to reconstruct the display relationship based on its own usage habits.

[0099] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0100] Figure 4 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0101] like Figure 4As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0102] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0103] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as data processing methods. For example, in some embodiments, the data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the data processing method in any other appropriate manner (e.g., by means of firmware).

[0104] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0106] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0107] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0108] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0109] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0110] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0111] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0112] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A data processing method, comprising: In response to the first instruction, obtaining first information; The first information includes operation information for a plurality of target files; The operation information includes information about the operation performed by the device operation object on the file content; generating second information based on the first information; The second information has a hierarchical display form, which is used to reflect the display relationship between the multiple target files, and different operation information corresponds to different display relationships.

2. The data processing method according to claim 1, further comprising any of the following: If a first operation is obtained, a first feature of the first operation is determined, and the first information including the first feature is stored; the first operation represents that the device operation object browses the target file, and the first feature represents the browsing time; If a second operation is obtained, determining a second feature of the second operation, and storing the first information including the second feature; The second operation represents that the device operation object opens the target file, and the second feature represents the opening frequency; If a third operation is obtained, determining a third feature of the third operation, and storing the first information including the third feature; The third operation represents that the device operation object modifies the content of the target file, and the third feature represents the modification frequency.

3. The data processing method according to claim 2, wherein obtaining the first information comprises: obtaining the first feature, the second feature and / or the third feature; The first information includes the first feature, the second feature and / or the third feature; The file attribute information of the multiple target files is obtained, wherein the first information further includes the file attribute information; the file attribute information includes file type, file content, storage path, file name and / or file size.

4. The data processing method according to claim 3, generating second information based on the first information, comprising: Based on the file attribute information of each of the target files, generating a classification label for each of the target files; Based on the operation information of each of the target files, updating the classification label of each of the target files; Determining the attention weight of the updated classification label of each of the target files; The second information is generated based on the updated classification labels of each of the target files and the corresponding attention weights; the second information includes the updated classification labels of each of the target files.

5. The data processing method according to claim 4, generating the second information based on the updated classification labels and corresponding attention weights of each of the target files, comprising: Determine the number of occurrences of each label in the updated classification labels of all the target files and the sum of the corresponding attention weights; The updated classification labels of each of the target files include at least one label, and each label corresponds to an attention weight; For each tag, if the number of times the tag appears is greater than or equal to a first threshold, and the sum of the attention weights is greater than or equal to a second threshold, the tag is used as the name of the folder, and the target files with the tag are used as parallel files in the folder, and a hierarchical structure including the folder and the corresponding target files and the corresponding tags is generated to generate the second information.

6. The data processing method according to claim 1, further comprising: Obtaining third information, where the third information represents an identity feature of a display object of the second information; If the identity feature matches the identity feature of the device operation object, outputting the second information reflecting the display relationship of all target files to the display object; the multiple target files include private files and non-private files set by the device operation object; If the identity feature does not match the identity feature of the device operation object, the second information reflecting the display relationship of part of the target file is output to the display object; the part of the target file is a non-privacy file set by the device operation object.

7. The data processing method according to claim 6, wherein the second information reflecting the display relationship of all target files further includes a target control, and the target control is used to hide or restore the display of the private file in the hierarchical structure.

8. The data processing method according to any one of claims 1 to 7, further comprising: outputting the second information to a display object; If the fourth operation of the display object is obtained, the storage paths of the plurality of target files are adjusted based on the display relationship reflected by the second information; the fourth operation is used to adjust the file storage structure.

9. A data processing device, comprising: An obtaining module, configured to obtain first information in response to a first instruction; The first information includes operation information for a plurality of target files; The operation information includes information about the operation performed by the device operation object on the file content; A generating module, configured to generate second information based on the first information; The second information has a hierarchical display form, which is used to reflect the display relationship between the multiple target files, and different operation information corresponds to different display relationships.

10. An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor so that the at least one processor executes: In response to the first instruction, first information is obtained; the first information includes operation information for multiple target files; the operation information includes information about the operation performed by the device operation object on the file content; generating second information based on the first information; The second information has a hierarchical display form, which is used to reflect the display relationship between the multiple target files, and different operation information corresponds to different display relationships.