CN116303256A - Data processing method and device and electronic equipment - Google Patents

Data processing method and device and electronic equipment Download PDF

Info

Publication number
CN116303256A
CN116303256A CN202310161805.3A CN202310161805A CN116303256A CN 116303256 A CN116303256 A CN 116303256A CN 202310161805 A CN202310161805 A CN 202310161805A CN 116303256 A CN116303256 A CN 116303256A
Authority
CN
China
Prior art keywords
file
path information
state
directory
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310161805.3A
Other languages
Chinese (zh)
Inventor
鲍海明
郑�硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202310161805.3A priority Critical patent/CN116303256A/en
Publication of CN116303256A publication Critical patent/CN116303256A/en
Pending legal-status Critical Current

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/13File access structures, e.g. distributed indices
    • 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/14Details of searching files based on file metadata
    • G06F16/144Query formulation
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The disclosure provides a data processing method, a data processing device and electronic equipment, wherein the method comprises the following steps: determining that a first trigger condition associated with the first file is satisfied; acquiring first path information corresponding to the first file in a first state; displaying target information in a first directory according to the first path information, wherein the first file is recorded in the first directory in a second state.

Description

Data processing method and device and electronic equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to a data processing method, a data processing device and electronic equipment.
Background
In the related art, after an application program having a data transmission function stores a file in a directory, if a file name or a path of the file is changed subsequently, the related file cannot be found directly from the application program, and a user can only search a storage space of an electronic device or retrieve the file.
Disclosure of Invention
The present disclosure provides a data processing method, a data processing device, and an electronic device, so as to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided a data processing method comprising:
determining that a first trigger condition associated with the first file is satisfied;
acquiring first path information corresponding to the first file in a first state;
displaying target information in a first directory according to the first path information, wherein the first file is recorded in the first directory in a second state.
According to a second aspect of the present disclosure, there is provided a data processing apparatus comprising:
a confirmation unit, configured to determine that a first trigger condition related to the first file is satisfied;
the acquisition unit is used for acquiring first path information corresponding to the first file in a first state;
and a display unit for displaying target information in a first directory according to the first path information, the first file being recorded in the first directory in a second state.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods described in the present disclosure.
The data processing method disclosed by the disclosure comprises the steps of determining that a first trigger condition related to a first file is met; acquiring first path information corresponding to the first file in a first state; displaying target information in a first directory according to the first path information, wherein the first file is recorded in the first directory in a second state. Therefore, when the first file meets the first trigger condition, the first path information of the first file can be obtained, the first file is further processed, full-disc searching or reacquiring is not needed, and user experience is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic diagram showing a case where a first trigger condition is satisfied in the related art;
FIG. 2 illustrates an alternative flow diagram of a data processing method provided by an embodiment of the present disclosure;
FIG. 3 illustrates another alternative flow diagram of a data processing method provided by an embodiment of the present disclosure;
FIG. 4 shows a schematic flow chart of yet another alternative method for processing data provided by an embodiment of the present disclosure;
FIG. 5 shows a further alternative flow diagram of a data processing method provided by an embodiment of the present disclosure;
FIG. 6 shows a schematic diagram of display target information provided by an embodiment of the present disclosure;
FIG. 7 is a schematic diagram showing an alternative configuration of a data processing apparatus provided by an embodiment of the present disclosure;
fig. 8 shows a schematic diagram of a composition structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more comprehensible, the technical solutions in the embodiments of the present disclosure will be clearly described in conjunction with the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments that a person skilled in the art would obtain without making any inventive effort are within the scope of protection of this disclosure.
In the related art, after an application program (such as a downloader) having a transmission function obtains a downloaded file, the file is generally displayed in a directory corresponding to the application program, and a user can implement an operation on the file by performing an operation (such as touching or clicking) on the directory. However, once a file is renamed or transferred to a location outside the storage space corresponding to the application program, the relevant information of the file cannot be normally displayed in the directory.
Fig. 1 is a schematic diagram showing a case where a first trigger condition is satisfied in the related art.
In fig. 1, after the original file name "qemu7.2.0rc0.tar.xz" is renamed (file name is changed) or path information is changed, the status in the download list is deleted, and the color is different from other files. In this case, the file cannot be opened or called.
Based on the drawbacks of the related art, the present disclosure provides a data processing method, which confirms new path information of a file through a file identifier of the file, and displays the new path information in a directory of an application program, so as to solve some or all of the above technical problems.
Fig. 2 shows an alternative flowchart of a data processing method according to an embodiment of the present disclosure, and will be described according to the steps.
Step S201, determining that a first trigger condition related to the first file is satisfied.
In some embodiments, the first file may be a file obtained by downloading the corresponding application program, where the file name corresponding to the first file is a second file name and the corresponding path information is second path information when the first file is recorded in the first directory in the second state; and when the file is recorded in the first directory in the first state, the corresponding file name is the first file name, and the corresponding path information is the first path information.
The second state is a state corresponding to the first file obtained by the application program for the first time, the second file name is a default file name (or a file name when the application program downloads) of the first file, and the second path information is default path information corresponding to the application program, namely, the file obtained by the application program is stored in the default path information; the first state is a state corresponding to a first file after the file name or path information of the first file is changed, the first file name is a renamed file name of the first file, and the first path information is new path information after the first file is renamed or the path information is changed. That is, if only the file name of the first file is changed, the first path information is identical to the second path information.
The path information comprises information of the first file storage position; the first directory may be a target folder, in which the first file layer is recorded in the second state, for example, a download folder corresponding to the application program and used for storing the download file, and the download list first file displaying the download information of the file corresponding to the application program may be recorded in the second state when the download folder is opened to view the file corresponding to the application program.
Step S202, obtaining first path information corresponding to the first file in the first state.
In some embodiments, the first path information corresponding to the first file in the first state, that is, the path information of the storage space where the current first file is located after the file name of the first file is changed.
Step S203, displaying target information in the first directory according to the first path information.
Therefore, by the data processing method provided by the embodiment of the disclosure, when the first file meets the first trigger condition, the file recorded in the first directory can be quickly found, and the situation that the user cannot find the corresponding file according to the previous memory due to file name change or file path change is avoided.
Fig. 3 shows another alternative flow diagram of a data processing method according to an embodiment of the disclosure, which will be described according to the steps.
In step S301, it is confirmed that the first attribute of the first file is changed.
In some embodiments, the first attribute comprises at least one of: the file name of the first file and the display position of the first file. The first attribute of the first file is changed, i.e. the first file is renamed, or the position is moved, resulting in a change of the display position of the first file. The change of the display position of the first file may specifically be that the state of the first file displayed in the first directory is deleted, or the first file is moved to another directory outside the first directory, where the first file is displayed in the other directory when the other directory is opened, and where the first file is no longer displayed in the first directory when the first directory is opened. The first trigger condition is satisfied in the event that a first attribute of the first file changes.
Step S302, obtaining first path information corresponding to the first file in the first state.
In some embodiments, based on a first file name of the first file in a first state and a file name mapping relation table, obtaining first path information corresponding to the first file in the first state; the file name mapping table comprises a corresponding relation between a file name of the first file in a first state and a second file name of the first file in a second state. That is, when renaming the first file, the correspondence between the original file name (second file name) and the new file name (first file name) is recorded, and further, the first path information corresponding to the first file in the first state can be confirmed by searching based on the second file name or the first file name.
In some embodiments, first path information corresponding to the first file in the first state is obtained based on the file identifier of the first file; the file identifier of the first file includes a unique identifier (fileID) corresponding to the first file, the unique identifier corresponding to each file is different, and the unique identifier corresponding to the first file remains unchanged when the first file is changed from the second state to the first state. That is, the unique identification code corresponding to the file is unchanged regardless of the file name or path information of the file.
In some alternative embodiments, the unique identification code of the first file may be obtained when the application obtains the first file.
In some embodiments, the method for acquiring the first path information corresponding to the first file in the first state may be confirmed according to different operating systems corresponding to the application program.
When the method is implemented, in response to the operating system corresponding to the application program being Windows (namely, the application program is installed in a Windows system), after the application program obtains the first file, obtaining a file identifier of the first file from a first storage space (default storage space) corresponding to the application program based on a first application program compiling interface; the first application compilation interface may be based on a GetFileInformationByHandle () function; when first path information of a first file needs to be acquired, searching the first file in the first storage space and the second storage space based on the file identification of the first file, confirming that the path information of the first file in the first storage space or the second storage space is the first path information of the first file, and confirming that the file name of the first file under the first path information is the first file name of the first file; wherein the first storage space and the second storage space do not overlap. Alternatively, the first FILE may be searched in the first storage space and the second storage space based on fsctl_get_ntfs_file_record of the getfileinformation byhandle () function or the DeviceIoControl () function.
In the implementation, after the application program obtains the first file, the application program stores the first file into a first index node (such as the inode_num included in the iNode) corresponding to the application program, and obtains a file identifier of the first file from the first index node based on a second application program compiling interface (such as a 'ls-i' file path of a shell command) in response to the fact that the operating system corresponding to the application program is an Android system or a Linux system (i.e. the application program is installed in the Android system or the Linux system); when first path information of a first file needs to be acquired, searching the first file in the first index node and the second index node based on the file identification of the first file, confirming that a path of the first file in the first index node or the second index node is a current path of the first file, and confirming that a file name of the first file in the current path is a current file name of the first file; wherein the first index node and the second index node do not overlap.
Step S303, displaying target information in a first catalogue according to the first path information.
In some embodiments, the target information may include one of: the method comprises the steps of first path information of a first file, a first file name and/or a second file name of the first file and an icon corresponding to the first file. And when the first file is recorded in the first directory in the second state, the file name of the first file is a second file name.
Specifically, the target information is displayed in the first directory according to the first path information, which may be that the first path information is displayed in a list form or that the first path information and the second file name are displayed in a list form. The first path information displays an icon corresponding to the first file in the first directory, and may be a shortcut corresponding to the first file created in the first directory.
In this way, by the data processing method provided by the embodiment of the present disclosure, when the first file is renamed or moved, so that the first directory cannot normally display the first file, and also cannot operate on the first file, the first path information of the first file may be confirmed based on the file identifier of the first file, and further, the target information of the first file is displayed in the first directory, and the first file may be operated based on the target information.
Fig. 4 shows a schematic flow chart of still another alternative method for processing data according to an embodiment of the disclosure.
Step S401, confirming that the search information related to the first file is received.
In some embodiments, the retrieved information of the first file includes at least one of: a first storage time of the first file and a second file name of the first file; and when the first file is recorded in the first directory in the second state, the file name of the first file is a second file name, and the storage time of the first file is a first storage time.
Step S402, obtaining first path information corresponding to the first file in the first state.
The specific step flow of step S402 is the same as that of step S302, and the detailed description is not repeated here.
Step S403, displaying target information in the first directory according to the first path information.
The specific step flow of step S403 is the same as that of step S303, and the detailed description is not repeated here.
In this way, by the data processing method provided by the embodiment of the present disclosure, when the search information related to the first file is received and the search information is in the second state (that is, when the related information of the past of the first file is received, such as a file name, path information, storage time, etc.), the first path information of the first file may be confirmed based on the file identifier of the first file, and further, the target information of the first file is displayed in the first directory, and the first file may be operated based on the target information.
Fig. 5 shows a schematic flow chart of another alternative data processing method according to an embodiment of the disclosure.
In step S501, it is determined that a first trigger condition associated with the first file is satisfied.
In some embodiments, the first trigger condition may be that the first attribute of the first file is changed, and the specific step flow may refer to step S301; or, the first triggering condition may be that the search information related to the first file is received, and the specific step flow may refer to step S401, which is not repeated here.
Step S502, obtaining first path information corresponding to the first file in the first state.
In some embodiments, if the first trigger condition is that the first attribute of the first file is changed, the specific flow of step S502 is the same as that of step S302; if the first trigger condition is that the search information related to the first file is received, the specific flow of step S502 is the same as that of step S402, and the detailed description is not repeated here.
Step S503, displaying target information in the first directory according to the first path information.
The specific step flow of step S503 is the same as that of step S303, and the detailed description is not repeated here.
Fig. 6 shows a schematic diagram of display target information provided by an embodiment of the present disclosure.
As shown in fig. 6, after confirming the first path information, the file name and the path information of the first file in the second state are confirmed, and the second file name and the second path information of the first file are displayed in the first directory.
Step S504, displaying a storage space list corresponding to the first path information.
In some embodiments, a storage space list corresponding to the first path information may also be displayed, where the storage space list may be a list of all files stored in a storage space where the first file is currently located (i.e., corresponding to the first path information). The list includes a first file.
In other embodiments, the first file may also be opened.
In some optional embodiments, copying the first file into a storage space corresponding to the first directory may be further included; or cutting the first file into a storage space corresponding to the first directory. Specifically, when the first directory is a folder, the first file is copied or cut into the first directory, so that the user can directly operate the first file in the first directory.
Thus, by the data processing method provided by the disclosure, when the first file meets the first trigger condition, the first path information of the first file can be confirmed based on the file identification of the first file, and then the first file is positioned, so that the subsequent related operation on the first file is performed. In addition, the first file is cut or copied into a storage space corresponding to the first directory, so that subsequent searching and operation are facilitated.
Fig. 7 is a schematic diagram showing an alternative configuration of a data processing apparatus provided in an embodiment of the present disclosure, and explanation will be made according to the respective steps.
In some embodiments, the data processing apparatus 700 includes a confirmation unit 701, an acquisition unit 702, and a display unit 703.
The confirmation unit 701 is configured to determine that a first trigger condition related to the first file is satisfied;
the acquiring unit 702 is configured to acquire first path information corresponding to the first file in a first state;
the display unit 703 is configured to display target information in a first directory according to the first path information, where the first file was recorded in a second state.
In some embodiments, the first trigger condition comprises:
a first attribute of the first file is changed, the first attribute including at least one of: the file name of the first file and the display position of the first file.
In some embodiments, the first trigger condition comprises:
receiving retrieval information related to the first file, wherein the retrieval information of the first file comprises at least one of the following components: a first storage time of the first file and a second file name of the first file;
and when the first file is recorded in the first directory in the second state, the file name of the first file is a second file name, and the storage time of the first file is a first storage time.
The obtaining unit 702 is specifically configured to obtain first path information corresponding to the first file in the first state based on a file identifier of the first file;
the file identifier of the first file includes a unique identifier code corresponding to the first file, the unique identifier code corresponding to each file is different, and the unique identifier code corresponding to the first file remains unchanged when the first file is changed from the second state to the first state.
The obtaining unit 702 is specifically configured to obtain first path information corresponding to the first file in the first state based on a first file name of the first file in the first state and a file name mapping relationship table;
the file name mapping table comprises a corresponding relation between a file name of the first file in a first state and a second file name of the first file in a second state.
The display unit 703 is specifically configured to display first path information of the first file in the first directory;
displaying a second file name of the first file in the first directory;
creating an icon corresponding to the first file, and displaying the icon in the first directory.
The display unit 703, after displaying the target information in the first directory according to the first path information, is further configured to one of:
displaying a storage space list corresponding to the first path information;
and opening the first file.
The acquiring unit 702 is further configured to, after acquiring the first path information corresponding to the first file in the first state, one of the following:
copying the first file into the first directory;
and cutting the first file into the first catalogue.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
Fig. 8 illustrates a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that 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 by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
Various components in electronic device 800 are connected to I/O interface 805, including: an input unit 806 such as a keyboard, mouse, etc.; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, etc.; and a communication unit 809, such as a network card, modem, wireless communication transceiver, or the like. 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.
The computing unit 801 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 801 performs the respective methods and processes described above, such as a data processing method. For example, in some embodiments, the data processing method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as the storage unit 808. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 800 via the ROM 802 and/or the communication unit 809. When a computer program is loaded into RAM 803 and executed by 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 by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here 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 a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the disclosure, and it is intended to cover the scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A method of data processing, the method comprising:
determining that a first trigger condition associated with the first file is satisfied;
acquiring first path information corresponding to the first file in a first state;
displaying target information in a first directory according to the first path information, wherein the first file is recorded in the first directory in a second state.
2. The method of claim 1, the first trigger condition comprising:
a first attribute of the first file is changed, the first attribute including at least one of: the file name of the first file and the display position of the first file.
3. The method of claim 1, the first trigger condition comprising:
receiving retrieval information related to the first file, wherein the retrieval information of the first file comprises at least one of the following components: a first storage time of the first file and a second file name of the first file;
and when the first file is recorded in the first directory in the second state, the file name of the first file is a second file name, and the storage time of the first file is a first storage time.
4. The method of claim 1, wherein the obtaining the first path information corresponding to the first file in the first state includes:
acquiring first path information corresponding to the first file in a first state based on the file identifier of the first file;
the file identifier of the first file includes a unique identifier code corresponding to the first file, the unique identifier code corresponding to each file is different, and the unique identifier code corresponding to the first file remains unchanged when the first file is changed from the second state to the first state.
5. The method of claim 1, wherein the obtaining the first path information corresponding to the first file in the first state includes:
acquiring first path information corresponding to the first file in a first state based on a first file name of the first file in the first state and a file name mapping relation table;
the file name mapping table comprises a corresponding relation between a file name of the first file in a first state and a second file name of the first file in a second state.
6. The method of claim 1, the displaying target information in the first directory according to the first path information comprising at least one of:
displaying first path information of the first file in the first directory;
displaying a second file name of the first file in the first directory;
creating an icon corresponding to the first file, and displaying the icon in the first directory.
7. The method of claim 1, the method further comprising, after displaying target information in the first directory according to the first path information, one of:
displaying a storage space list corresponding to the first path information;
and opening the first file.
8. The method of claim 1, after the obtaining the first path information corresponding to the first file in the first state, the method further comprises one of:
copying the first file into the first directory;
and cutting the first file into the first catalogue.
9. A data processing apparatus, the apparatus comprising:
a confirmation unit, configured to determine that a first trigger condition related to the first file is satisfied;
the acquisition unit is used for acquiring first path information corresponding to the first file in a first state;
and a display unit for displaying target information in a first directory according to the first path information, the first file being recorded in the first directory in a second state.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
CN202310161805.3A 2023-02-23 2023-02-23 Data processing method and device and electronic equipment Pending CN116303256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310161805.3A CN116303256A (en) 2023-02-23 2023-02-23 Data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310161805.3A CN116303256A (en) 2023-02-23 2023-02-23 Data processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116303256A true CN116303256A (en) 2023-06-23

Family

ID=86826657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310161805.3A Pending CN116303256A (en) 2023-02-23 2023-02-23 Data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116303256A (en)

Similar Documents

Publication Publication Date Title
US7870164B2 (en) Database part creation, merge and reuse
US10430281B2 (en) Space efficient cascading point in time copying
US8799333B2 (en) Delayed deletion of extended attributes
US7496595B2 (en) Methodology for directory categorization for categorized files
US7886140B2 (en) Booting a computer using a boot list when a non-volatile memory on the computer does not contain the boot list
US8312445B2 (en) User-specified install locations
CN113961510B (en) File processing method, device, equipment and storage medium
CN111241823A (en) Dependency configuration management method and device, electronic equipment and storage medium
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
US8001099B2 (en) Maintaining and utilizing copy histories
US20080307367A1 (en) Method and apparatus for a drag and drop operation implementing a hierarchical path name
US8977657B2 (en) Finding lost objects in a file system having a namespace
CN113641936B (en) Method, device, electronic equipment and storage medium for page skip
CN112631621A (en) Dependency package management method, device, server and storage medium
CN113590543A (en) Method, apparatus and computer program product for information processing
CN116303256A (en) Data processing method and device and electronic equipment
US8898187B2 (en) Default location that may be dynamically changed
CN109739812A (en) Method and device for displaying resource files
US6625614B1 (en) Implementation for efficient access of extended attribute data
US20090292735A1 (en) Decluttering a computing system
US9378225B2 (en) Core service build / deployment for hierarchical database
CN109918153B (en) Page opening method and device and page content retrieval method and device
CN110750742B (en) Page optimization method, system, medium and electronic equipment
CN116451272A (en) Git-based code library control method and device and electronic equipment
CN116991631A (en) Information updating method and device, electronic equipment and storage medium

Legal Events

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