CN112256646A - Method and device for operating subdirectory of file system, electronic equipment and storage medium - Google Patents

Method and device for operating subdirectory of file system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112256646A
CN112256646A CN202011139445.XA CN202011139445A CN112256646A CN 112256646 A CN112256646 A CN 112256646A CN 202011139445 A CN202011139445 A CN 202011139445A CN 112256646 A CN112256646 A CN 112256646A
Authority
CN
China
Prior art keywords
subdirectory
operated
path information
target file
preset field
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.)
Granted
Application number
CN202011139445.XA
Other languages
Chinese (zh)
Other versions
CN112256646B (en
Inventor
杨俊�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co 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 Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202011139445.XA priority Critical patent/CN112256646B/en
Publication of CN112256646A publication Critical patent/CN112256646A/en
Application granted granted Critical
Publication of CN112256646B publication Critical patent/CN112256646B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Abstract

The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for operating a subdirectory of a file system, wherein the method comprises the following steps: modifying a preset field in a communication protocol of the client equipment based on the acquired first path information of the subdirectory to be operated in the file system, and acquiring the modified preset field when acquiring an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated; and sending the modified preset field and the second path information to the server side equipment, and operating the target file by the server side equipment according to the operation instruction based on the modified preset field and the second path information. According to the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. The workload of workers is reduced.

Description

Method and device for operating subdirectory of file system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for operating a subdirectory of a file system, an electronic device, and a storage medium.
Background
The mounting means: a process for making files and directories on a server device available to a user for access through a file system of a client device. With the development of internet technology, a user can remotely access a server device through a client device, and read a file from the server device or write a file into the server device and the like are realized.
In order to access the server device through the client device, the file system of the server device is usually mounted in a directory of the file system of the client device. The directory of the terminal device is a mounting point. In the server device, a plurality of volumes may be included, each volume may represent one file system, and thus, root directories of the plurality of file systems of the server device may be mounted to the mount point.
In some cases, a user may need to mount a subdirectory of the file system to a mount point in addition to mounting the root directory of the file system to the mount point. After the subdirectory of the file system is mounted to the mount point, in the related art, a "dir" field is usually added to a communication protocol between the client device and the server device, and then the subdirectory of the file system is operated through the "ip" field, the "port" field, the "vol" field, and the "dir" field, wherein the "dir" field is usually used for indicating a relative path of the subdirectory in the file system.
However, when the "dir" field is added to the communication protocol between the server device and the client device, the communication interfaces of the server device and the client device need to be modified, and the server device and the client device usually have multiple communication interfaces, which inevitably increases the workload of the staff if all the communication interfaces of the server device and the client device are modified.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, electronic equipment and a storage medium for operating a subdirectory of a file system, so as to avoid modifying a communication interface of server equipment in order to operate the subdirectory of the file system and reduce the workload of workers. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for operating a file system subdirectory, which is applied to a client device, where the client device is in communication connection with a server device, and the client device is loaded with any level of subdirectory below a file system root directory of the server device, and the method includes:
acquiring first path information of a subdirectory to be operated in a file system, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of server equipment;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, a modified preset field is obtained;
and sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
Optionally, the communication protocol includes a plurality of application program interfaces; different operation instructions correspond to different application program interfaces;
to this end, modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, including:
modifying preset fields in all application program interfaces in a communication protocol of the client equipment based on the first path information to obtain the communication protocol after modifying the preset fields;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, the modified preset fields are obtained, and the method comprises the following steps:
and when an operation instruction for operating the target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, obtaining the modified preset field from the application program interface corresponding to the operation instruction.
Optionally, before the first path information of the to-be-operated subdirectory in the file system is acquired, the method further includes:
and acquiring the path information and the mounting instruction of the subdirectory to be mounted, and mounting the subdirectory to be mounted to the client equipment based on the mounting instruction and the path information of the subdirectory to be mounted.
Optionally, before the modified preset field is acquired when the operation instruction for operating the target file in the to-be-operated subdirectory and the second path information of the target file in the to-be-operated subdirectory are acquired, the method further includes:
acquiring an operation instruction for operating a target file in a to-be-determined sub-directory and path information of the target file in the to-be-determined sub-directory;
judging whether the subdirectory to be determined is a subdirectory to be operated or not based on the path information of the target file in the subdirectory to be determined and the modified preset field;
if so, taking the path information of the target file in the pending subdirectory as second path information; executing the step of acquiring the modified preset field when acquiring the operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated;
otherwise, sending the prompt information that the subdirectory to be determined is not matched with the subdirectory to be operated.
Optionally, the modified preset field and the second path information are sent to the server device, so that the server device operates the target file according to the operation instruction based on the modified preset field and the second path information, including:
splicing the modified preset field and the second path information to obtain an absolute path of the target file in a file system of the server-side equipment;
and sending the absolute path of the target file in the file system of the server-side equipment to the server-side equipment, so that the server-side equipment operates the target file according to the operation instruction based on the absolute path of the target file in the file system of the server-side equipment.
In a second aspect, an embodiment of the present invention further provides a device for operating a file system subdirectory, which is applied to a client device, where the client device is in communication connection with a server device, and the client device is mounted with any level of subdirectory below a file system root directory of the server device, and the device includes:
the first path information acquisition module is used for acquiring first path information of a subdirectory to be operated in a file system, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of the server equipment;
the modification module is used for modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
the preset field acquisition module is used for acquiring the modified preset field when acquiring an operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated;
and the sending module is used for sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the modified second path information.
Optionally, the communication protocol includes a plurality of application program interfaces; different operation instructions correspond to different application program interfaces; to this end, the modification module is specifically configured to:
modifying preset fields in all application program interfaces in a communication protocol of the client equipment based on the first path information to obtain the communication protocol after modifying the preset fields;
the preset field acquisition module is specifically configured to:
and when an operation instruction for operating the target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, obtaining the modified preset field from the application program interface corresponding to the operation instruction.
Optionally, the apparatus further comprises:
and the mounting module is used for acquiring the path information and the mounting instruction of the subdirectory to be mounted before acquiring the first path information of the subdirectory to be operated in the file system, and mounting the subdirectory to be mounted to the client equipment based on the mounting instruction and the path information of the subdirectory to be mounted.
Optionally, the apparatus further comprises:
the undetermined path acquisition module is used for acquiring an operation instruction for operating a target file in the subdirectory to be operated and path information of the target file in the subdirectory to be operated before acquiring an operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated;
the judging module is used for judging whether the subdirectory to be operated is the subdirectory to be operated or not based on the path information of the target file in the subdirectory to be operated and the modified preset field; if so, taking the path information of the target file in the pending subdirectory as second path information; triggering a preset field acquisition module to execute the step of acquiring the modified preset field when acquiring an operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated; otherwise, triggering a prompt message sending module;
and the prompt information sending module is used for sending prompt information that the subdirectory to be determined is not matched with the subdirectory to be operated.
Optionally, the sending module includes:
the splicing submodule is used for splicing the modified preset field and the second path information to obtain an absolute path of the target file in a file system of the server-side equipment;
and the sending submodule is used for sending the absolute path of the target file in the file system of the server-side equipment to the server-side equipment so that the server-side equipment operates the target file according to the operation instruction based on the absolute path of the target file in the file system of the server-side equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor is caused by the machine-executable instructions to: the steps of a method of operating a filesystem subdirectory as provided in the first aspect above are implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for operating a subdirectory of a file system provided in the above first aspect are implemented.
In a fifth aspect, embodiments of the present invention also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of the method for operating a file system subdirectory provided in the first aspect.
In a sixth aspect, embodiments of the present invention further provide a computer program, which when run on a computer, causes the computer to perform the steps of the method for operating a file system subdirectory provided in the above first aspect.
The method, the device, the electronic equipment and the storage medium for operating the subdirectory of the file system provided by the embodiment of the invention can be applied to client equipment, the client equipment is in communication connection with server equipment, any level of subdirectory under a root directory of the file system of the server equipment is hung on the client equipment, and the client equipment can firstly acquire first path information of the subdirectory to be operated in the file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers. Of course, it is not necessary for any product or method of practicing the invention to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a first implementation of a method for operating a subdirectory of a file system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a second implementation of a method for operating a subdirectory of a file system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a third implementation of a method for operating a subdirectory of a file system according to an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus for operating a subdirectory of a file system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, if a "dir" field is added to a communication protocol between a server device and a client device, both communication interfaces of the server device and the client device need to be modified, specifically:
if the client device needs to log in the server device first, the client device needs to send the dir field serving as a parameter of a login protocol to the server device, so that the server device records the client device and the subdirectory mounted on the client device, and modifies all application program interfaces of the server device according to the dir field.
If the client device can directly communicate with the server device without logging in the server device, the client device can send the dir field to the server device as a parameter of the file in the operation subdirectory, and at the moment, the server device needs to modify all application program interfaces of the server device based on the dir field.
Therefore, in order to solve the problems in the prior art, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for operating a subdirectory of a file system, so as to avoid modifying all communication interfaces of a server device and a client device in order to implement the operation of the subdirectory of the file system, thereby reducing the workload of a worker.
In the following, a method for operating a file system subdirectory according to an embodiment of the present invention is first described, as shown in fig. 1, which is a flowchart of a first implementation manner of the method for operating a file system subdirectory according to an embodiment of the present invention, and the method may include:
s110, first path information of the subdirectory to be operated in the file system is obtained, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of the server equipment.
In some examples, the method for operating a file system subdirectory of the embodiment of the present invention may be applied to a client device which is in communication connection with a server device.
In still other examples, the client device is a device that provides a mount point, and the server device is a device that mounts its file system to the mount point. After the server device mounts its own file system to the client device, the user can access the file system of the server device through the client device, and can further operate the files in the file system of the server device.
In still other examples, the client device may be configured to mount a root directory of a file system of the server device and may be configured to mount any level of subdirectory below the root directory of the file system of the server device.
When a user needs to operate a file or a folder in any level of subdirectory under a file system root directory of the server device, the subdirectory to be operated can be selected at the client device, and path information of the subdirectory to be operated can also be input at the client device, so that the client device can acquire the path information of the subdirectory to be operated by the user, use the acquired subdirectory to be operated by the user as the subdirectory to be operated, and use the path information of the subdirectory to be operated by the user as the first path information.
S120, modifying the preset field in the communication protocol of the client device based on the first path information to obtain the modified preset field.
The preset field is used for representing an absolute path of the operated file in the file system of the server-side equipment.
In some examples, after the client device obtains the first path information of the to-be-operated subdirectory in the file system, in order to avoid modifying all communication interfaces of the server device when the to-be-operated subdirectory is operated, a preset field used for representing an absolute path of an operated file in the server device file system in a communication protocol of the client device may be modified based on the first path information, so that the modified preset field may be obtained.
In still other examples, the preset field may be a "path" field in the communication protocol.
S130, when an operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated are obtained, the modified preset field is obtained.
In some examples, the client device modifies a predetermined field in the communication protocol. The user may then operate the file in the sub-directory to be operated, at this time, the user may select the operation to be performed, the file to be operated, and the path of the file to be operated in the sub-directory to be operated in the client device, or the user may input the file to be operated, the path of the file to be operated in the sub-directory to be operated, and the operation to be performed in the client device. Therefore, the client device may obtain a file to be operated by a user, a path of the file to be operated in the to-be-operated subdirectory and an operation instruction of an operation to be performed by the user, use the file to be operated by the user as a target file, and use the path of the file to be operated by the user in the to-be-operated subdirectory as second path information.
After the client device obtains the operation instruction and the second path information, in order to enable the target file to be operated without modifying an application program interface of the server device, the client device may obtain the modified preset field from the communication protocol of the client device.
And S140, sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
After the client device obtains the modified field, the modified preset field and the second path information can be sent to the server device, and after the server device receives the modified preset field and the second path information, the target file can be operated according to the operation instruction based on the modified preset field and the second path information.
In some examples, the client device may send the modified preset field, the second path information, the operation instruction, and the identification information of the target file to the server device. After the server device obtains the modified preset field, the second path information, the operation instruction and the identification information of the target file, an absolute path of the target file in a file system of the server device can be determined based on the modified preset field and the modified second path information, the target file can be further determined based on the identification information of the target file, and finally, the target file is operated according to the operation instruction.
The operation instruction may include an open operation, a read operation, and a write operation. In some examples, the operation instructions may also include a create operation.
When the operation instruction is a create operation, the server device may determine an absolute path of the file to be created in the file system of the server device based on the modified preset field and the second path information, and then create the target file in the absolute path of the file to be created in the file system of the server device based on the identification information of the target file.
The method for operating the subdirectory of the file system, provided by the embodiment of the invention, can be applied to client equipment, and the client equipment can firstly acquire first path information of the subdirectory to be operated in the file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers.
In some examples, on the basis of the method for operating a file system subdirectory shown in fig. 1, a possible implementation manner is also provided in the embodiments of the present invention, as shown in fig. 2, which is a flowchart of a second implementation manner of the method for operating a file system subdirectory according to the embodiments of the present invention, and the method may include:
s210, acquiring first path information of the subdirectory to be operated in the file system.
S220, modifying preset fields in all application program interfaces in a communication protocol of the client equipment based on the first path information to obtain the communication protocol after the preset fields are modified, wherein the preset fields are used for representing absolute paths of operated files;
s230, when an operation instruction for operating the target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, obtaining the modified preset field from the application program interface corresponding to the operation instruction;
and S240, sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
In some examples, the communication protocol of the client device may include a plurality of application program interfaces; in still other examples, different application program interfaces in the client device may correspond to different operation instructions; that is, the client device may call different application program interfaces when sending different operation instructions.
In this regard, after the client device obtains the first path information, the client device may modify preset fields in all application program interfaces in a communication protocol of the client device, so that the communication protocol after modifying all the preset fields may be obtained.
When the client device acquires an operation instruction for operating the target file and second path information of the target file in the subdirectory to be operated, the modified preset field in the application program interface corresponding to the operation instruction can be acquired based on the operation instruction. And then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
In some examples, before the client device operates a file or a folder in the subdirectory to be operated, the subdirectory to be operated generally needs to be mounted to the client device, and for this reason, a user may always input, at the client device, path information and a mounting instruction of the subdirectory to be mounted, so that the client device may obtain the path information and the mounting instruction of the subdirectory to be mounted, and then mount the subdirectory to be mounted to the client device based on the mounting instruction and the path information of the subdirectory to be mounted. The path information of the subdirectory to be mounted refers to an absolute path of the subdirectory to be mounted in a root directory of a server equipment file system.
It is to be understood that the mount instruction may be a mount instruction in the prior art.
In the embodiment of the present invention, by modifying the preset fields in all the application program interfaces of the client device, it can be avoided that when a user performs other operations on files in the subdirectory to be operated, the preset fields in the application program interfaces corresponding to the other operations to be performed need to be modified first, so that time waste during the other operations can be avoided.
It is understood that steps S210 and S240 in the embodiment of the present invention are the same as or similar to steps S110 and S140 in the first implementation manner in the embodiment of the present invention, and are not described again here.
In some examples, on the basis of the method for operating a file system subdirectory shown in fig. 1, an embodiment of the present invention further provides a possible implementation manner, as shown in fig. 3, which is a flowchart of a third implementation manner of a method for operating a file system subdirectory according to an embodiment of the present invention, and the method may include:
s310, acquiring first path information of the subdirectory to be operated in the file system;
s320, modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of the operated file;
s330, acquiring an operation instruction for operating the target file in the to-be-determined sub-directory and path information of the target file in the to-be-determined sub-directory;
s340, judging whether the subdirectory to be determined is a subdirectory to be operated or not based on the path information of the target file in the subdirectory to be determined and the modified preset field; if yes, go to step S350, if no, go to step S380
S350, taking the path information of the target file in the pending subdirectory as second path information; and the process proceeds to step S360 where,
s360, when an operation instruction for operating the target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, the modified preset field is obtained;
and S370, sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
And S380, sending prompt information that the subdirectory to be determined is not matched with the subdirectory to be operated.
In some examples, a user may possibly input an error when inputting the path information of the target file to be operated, and in order to avoid that the client device cannot operate the target file when the user inputs an error, the client device may take the directory where the target file is located as the sub-directory to be operated when acquiring the operation instruction for operating the target file and the path information of the sub-directory where the target file is located, which are input by the user. And then judging whether the subdirectory to be operated is the subdirectory to be operated or not based on the path information of the target file in the subdirectory to be operated and the modified preset field.
In some examples, when determining whether the pending subdirectory is a to-be-operated subdirectory, the root directory of the path information of the target file in the pending subdirectory may be compared with the leaf directory in the modified preset field.
For example, assume that the path information of the target file in the pending subdirectory is: "Program Files \1111\ 2222", the modified preset field is "D: \ Program Files". The root directory of the path information "Program Files \1111\ 2222" of the target file in the pending subdirectory is "Program Files", and the modified leaf directory of the preset field "D: \ Program Files" is "Program Files", so that the client device can compare the root directory "Program Files" of the path information "Program Files \1111\ 2222" of the target file in the pending subdirectory with the modified leaf directory "Program Files" of the preset field "D: \ Program Files" to determine whether the pending subdirectory is the to-be-operated subdirectory.
If so, the client device may regard the pending subdirectory as the to-be-operated subdirectory, and perform steps S350, S360 and S370.
If not, the client device may send prompt information that the pending subdirectory is not matched with the to-be-operated subdirectory, so as to prompt the user to modify the path information of the input target file in the pending subdirectory.
Therefore, the user can be reminded when the user mistakes the path information of the target file to be operated, and the situation that the client equipment cannot operate the target file when the user mistakes the path information is avoided.
In still other examples, when the client device sends the modified preset field and the second path information to the server device, the modified preset field and the second path information may be spliced to obtain an absolute path of the target file in a file system of the server device; and then, the absolute path of the target file in the file system of the server-side equipment is sent to the server-side equipment, so that the server-side equipment operates the target file according to the operation instruction based on the absolute path of the target file in the file system of the server-side equipment.
For example, assuming that the modified preset field is "D: \ Program Files", and the second path information is "Program Files \1111\ 2222", the client device may splice the modified preset field "D: \ Program Files" and the second path information "Program Files \1111\ 2222" into an absolute path "D: \ Program Files \1111\ 2222", and then send the spliced absolute path "D: \ Program Files \1111\ 2222" to the server device.
It is understood that steps S310, S320, S360, and S370 in the embodiment of the present invention are the same as or similar to steps S110 to S140 in the first implementation manner of the embodiment of the present invention, and are not described again here.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides a device for operating a subdirectory of a file system, where the device may be applied to a client device, the client device is in communication connection with a server device, and the client device is mounted with any level of subdirectory below a file system root directory of the server device, as shown in fig. 4, the device is a schematic structural diagram of the device for operating a subdirectory of a file system according to the embodiment of the present invention, and the device may include:
a first path information obtaining module 410, configured to obtain first path information of a to-be-operated subdirectory in a file system, where the to-be-operated subdirectory is any level of subdirectory below a file system root directory of a server device;
a modifying module 420, configured to modify a preset field in a communication protocol of the client device based on the first path information, to obtain a modified preset field, where the preset field is used to represent an absolute path of the operated file in a file system of the server device;
a preset field obtaining module 430, configured to obtain a modified preset field when obtaining an operation instruction for operating a target file in the to-be-operated subdirectory and second path information of the target file in the to-be-operated subdirectory;
the sending module 440 is configured to send the modified preset field and the second path information to the server device, so that the server device operates the target file according to the operation instruction based on the modified preset field and the second path information.
The device for operating the subdirectory of the file system, provided by the embodiment of the invention, can be applied to client equipment, and the client equipment can firstly acquire first path information of the subdirectory to be operated in the file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers.
In some examples, the communication protocol includes a plurality of application program interfaces; different operation instructions correspond to different application program interfaces; to this end, the modifying module 420 is specifically configured to:
modifying preset fields in all application program interfaces in a communication protocol of the client equipment based on the first path information to obtain the communication protocol after modifying the preset fields;
the preset field obtaining module 430 is specifically configured to:
and when an operation instruction for operating the target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, obtaining the modified preset field from the application program interface corresponding to the operation instruction.
In some examples, an apparatus for operating a file system subdirectory according to an embodiment of the present invention may further include:
and the mounting module is used for acquiring the path information and the mounting instruction of the subdirectory to be mounted before acquiring the first path information of the subdirectory to be operated in the file system, and mounting the subdirectory to be mounted to the client equipment based on the mounting instruction and the path information of the subdirectory to be mounted.
In some examples, an apparatus for operating a file system subdirectory according to an embodiment of the present invention may further include:
the undetermined path acquisition module is used for acquiring an operation instruction for operating a target file in the subdirectory to be operated and path information of the target file in the subdirectory to be operated before acquiring an operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated;
the judging module is used for judging whether the subdirectory to be operated is the subdirectory to be operated or not based on the path information of the target file in the subdirectory to be operated and the modified preset field; if so, taking the path information of the target file in the pending subdirectory as second path information; triggering a preset field acquisition module to execute the step of acquiring the modified preset field when acquiring an operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated; otherwise, triggering a prompt message sending module;
and the prompt information sending module is used for sending prompt information that the subdirectory to be determined is not matched with the subdirectory to be operated.
In some examples, the sending module 440 includes:
the splicing submodule is used for splicing the modified preset field and the second path information to obtain an absolute path of the target file in a file system of the server-side equipment;
and the sending submodule is used for sending the absolute path of the target file in the file system of the server-side equipment to the server-side equipment so that the server-side equipment operates the target file according to the operation instruction based on the absolute path of the target file in the file system of the server-side equipment.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, which is a schematic structural diagram of an electronic device to which a method for operating a subdirectory of a file system according to an embodiment of the present invention is applied, where the electronic device may include a processor 501 and a machine-readable storage medium 502, where the machine-readable storage medium 502 stores machine-executable instructions that can be executed by the processor 501, and the processor 501 is caused by the machine-executable instructions to: the steps of the method for operating a subdirectory of a file system according to any of the above embodiments may be implemented, for example, as follows:
acquiring first path information of a subdirectory to be operated in a file system, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of server equipment;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, a modified preset field is obtained;
and sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
The machine-readable storage medium 502 may include Random Access Memory (RAM) and may also include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The electronic equipment provided by the embodiment of the invention can be applied to client equipment, and the client equipment can firstly acquire first path information of a subdirectory to be operated in a file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for operating a subdirectory of a file system shown in any of the above embodiments are implemented, for example, the following steps may be implemented:
acquiring first path information of a subdirectory to be operated in a file system, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of server equipment;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, a modified preset field is obtained;
and sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
The computer-readable storage medium provided by the embodiment of the invention can be applied to client equipment, and the client equipment can firstly acquire first path information of a subdirectory to be operated in a file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the steps of a method for operating a subdirectory of a file system as shown in any of the above embodiments, for example, the following steps may be performed:
acquiring first path information of a subdirectory to be operated in a file system, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of server equipment;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, a modified preset field is obtained;
and sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
The computer program product containing the instruction provided by the embodiment of the invention can be applied to client equipment, and the client equipment can firstly acquire first path information of a subdirectory to be operated in a file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers.
Embodiments of the present invention further provide a computer program, which when running on a computer, causes the computer to perform the steps of the method for operating a subdirectory of a file system shown in any of the above embodiments, for example, the following steps may be performed:
acquiring first path information of a subdirectory to be operated in a file system, wherein the subdirectory to be operated is any level of subdirectory under a file system root directory of server equipment;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, a modified preset field is obtained;
and sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
The computer program provided by the embodiment of the invention can be applied to client equipment, and the client equipment can firstly acquire first path information of a subdirectory to be operated in a file system; and then modifying a preset field which is used for representing an absolute path of the operated file in the file system of the server-side equipment in the communication protocol of the client-side equipment based on the first path information to obtain the modified preset field. When the client equipment acquires an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated, acquiring a modified preset field; and then sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information. Since the preset field can represent the absolute path of the operated file in the server device file system, after the preset field is modified into the first path information, the modified preset field can represent the absolute path of the to-be-operated subdirectory in the file system. After the modified preset field and the second path information are sent to the server side equipment, the server side equipment can directly determine an absolute path of the target file in the server side equipment based on the modified preset field and the modified second path information, and then the target file can be operated according to the operation instruction. Therefore, by the embodiment of the invention, the file in any level of subdirectory in the server side equipment can be operated only by modifying the application program interface of the client side equipment, and the application program interface of the server side equipment does not need to be modified. Thereby reducing the workload of the workers.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A method for operating a file system subdirectory is applied to a client device, the client device is in communication connection with a server device, and the client device is hung with any level of subdirectory under a file system root directory of the server device, and the method comprises the following steps:
acquiring first path information of a subdirectory to be operated in the file system, wherein the subdirectory to be operated is any level of subdirectory under a root directory of the file system of the server equipment;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, wherein the preset field is used for representing an absolute path of an operated file in a file system of the server device;
when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are obtained, obtaining the modified preset field;
and sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
2. The method of claim 1, wherein the communication protocol includes a plurality of application program interfaces; different operation instructions correspond to different application program interfaces;
modifying a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, including:
modifying preset fields in all application program interfaces in a communication protocol of the client equipment based on the first path information to obtain the communication protocol after modifying the preset fields;
when the operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated are obtained, obtaining the modified preset field comprises the following steps:
and when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are acquired, acquiring the modified preset field from an application program interface corresponding to the operation instruction.
3. The method according to claim 1, wherein before the obtaining the first path information of the to-be-operated subdirectory in the file system, the method further comprises:
acquiring the path information and the mounting instruction of the subdirectory to be mounted, and mounting the subdirectory to be mounted to the client equipment based on the mounting instruction and the path information of the subdirectory to be mounted.
4. The method according to claim 1, wherein before the modified preset field is acquired when the operation instruction for operating the target file in the sub-directory to be operated and the second path information of the target file in the sub-directory to be operated are acquired, the method further comprises:
acquiring an operation instruction for operating a target file in a to-be-determined sub-directory and path information of the target file in the to-be-determined sub-directory;
judging whether the subdirectory to be operated is the subdirectory to be operated or not based on the path information of the target file in the subdirectory to be operated and the modified preset field;
if so, taking the path information of the target file in the pending subdirectory as the second path information; executing the step of acquiring the modified preset field when the operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated are acquired;
otherwise, sending the prompt information that the subdirectory to be determined is not matched with the subdirectory to be operated.
5. The method according to claim 1, wherein the sending the modified preset field and the second path information to the server device, so that the server device operates the target file according to the operation instruction based on the modified preset field and the second path information, includes:
splicing the modified preset field and the second path information to obtain an absolute path of the target file in a file system of the server-side equipment;
and sending the absolute path of the target file in the file system of the server-side equipment to the server-side equipment, so that the server-side equipment operates the target file according to the operation instruction based on the absolute path of the target file in the file system of the server-side equipment.
6. An apparatus for operating a file system subdirectory, which is applied to a client device, wherein the client device is in communication connection with a server device, and the client device is mounted with any level of subdirectory under a file system root directory of the server device, and the apparatus comprises:
the first path information acquisition module is used for acquiring first path information of a subdirectory to be operated in the file system, wherein the subdirectory to be operated is any level of subdirectory under a root directory of the file system of the server equipment;
a modification module, configured to modify a preset field in a communication protocol of the client device based on the first path information to obtain a modified preset field, where the preset field is used to represent an absolute path of an operated file in a file system of the server device;
a preset field obtaining module, configured to obtain the modified preset field when obtaining an operation instruction for operating a target file in the to-be-operated subdirectory and second path information of the target file in the to-be-operated subdirectory;
and the sending module is used for sending the modified preset field and the second path information to the server side equipment, so that the server side equipment operates the target file according to the operation instruction based on the modified preset field and the second path information.
7. The apparatus of claim 6, wherein a plurality of application program interfaces are included in the communication protocol; different operation instructions correspond to different application program interfaces;
the modification module is specifically configured to:
modifying preset fields in all application program interfaces in a communication protocol of the client equipment based on the first path information to obtain the communication protocol after modifying the preset fields;
the preset field obtaining module is specifically configured to:
and when an operation instruction for operating a target file in the subdirectory to be operated and second path information of the target file in the subdirectory to be operated are acquired, acquiring the modified preset field from an application program interface corresponding to the operation instruction.
8. The apparatus of claim 6, further comprising:
and the mounting module is used for acquiring the path information and the mounting instruction of the subdirectory to be mounted before acquiring the first path information of the subdirectory to be operated in the file system, and mounting the subdirectory to be mounted to the client equipment based on the mounting instruction and the path information of the subdirectory to be mounted.
9. The apparatus of claim 6, further comprising:
the undetermined path acquisition module is used for acquiring an operation instruction for operating a target file in the subdirectory to be operated and path information of the target file in the subdirectory to be operated before acquiring the operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated;
the judging module is used for judging whether the subdirectory to be operated is the subdirectory to be operated or not based on the path information of the target file in the subdirectory to be operated and the modified preset field; if so, taking the path information of the target file in the pending subdirectory as the second path information; triggering the preset field acquisition module to execute the step of acquiring the modified preset field when acquiring the operation instruction for operating the target file in the subdirectory to be operated and the second path information of the target file in the subdirectory to be operated; otherwise, triggering a prompt message sending module;
and the prompt information sending module is used for sending prompt information that the subdirectory to be determined is not matched with the subdirectory to be operated.
10. The apparatus of claim 6, wherein the sending module comprises:
the splicing submodule is used for splicing the modified preset field and the second path information to obtain an absolute path of the target file in a file system of the server-side equipment;
and the sending submodule is used for sending the absolute path of the target file in the file system of the server-side equipment to the server-side equipment so that the server-side equipment operates the target file according to the operation instruction based on the absolute path of the target file in the file system of the server-side equipment.
11. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the process steps of any one of claims 1 to 5.
12. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 5.
CN202011139445.XA 2020-10-22 2020-10-22 Method and device for operating file system subdirectory, electronic equipment and storage medium Active CN112256646B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011139445.XA CN112256646B (en) 2020-10-22 2020-10-22 Method and device for operating file system subdirectory, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011139445.XA CN112256646B (en) 2020-10-22 2020-10-22 Method and device for operating file system subdirectory, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112256646A true CN112256646A (en) 2021-01-22
CN112256646B CN112256646B (en) 2024-03-08

Family

ID=74263940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011139445.XA Active CN112256646B (en) 2020-10-22 2020-10-22 Method and device for operating file system subdirectory, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112256646B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110018A1 (en) * 2010-11-02 2012-05-03 International Business Machines Corporation Identifying symbolic links
CN103136294A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 File operating method and device
US20140025711A1 (en) * 2012-07-23 2014-01-23 Red Hat, Inc. Unified file and object data storage
CN109582644A (en) * 2018-12-21 2019-04-05 深圳前海微众银行股份有限公司 File memory method, device, equipment and computer readable storage medium
CN109905396A (en) * 2019-03-11 2019-06-18 北京奇艺世纪科技有限公司 A kind of WebShell file test method, device and electronic equipment
CN111782730A (en) * 2020-07-09 2020-10-16 腾讯科技(深圳)有限公司 File uploading method and device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120110018A1 (en) * 2010-11-02 2012-05-03 International Business Machines Corporation Identifying symbolic links
CN103136294A (en) * 2011-12-05 2013-06-05 阿里巴巴集团控股有限公司 File operating method and device
US20140025711A1 (en) * 2012-07-23 2014-01-23 Red Hat, Inc. Unified file and object data storage
CN109582644A (en) * 2018-12-21 2019-04-05 深圳前海微众银行股份有限公司 File memory method, device, equipment and computer readable storage medium
CN109905396A (en) * 2019-03-11 2019-06-18 北京奇艺世纪科技有限公司 A kind of WebShell file test method, device and electronic equipment
CN111782730A (en) * 2020-07-09 2020-10-16 腾讯科技(深圳)有限公司 File uploading method and device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
夏昀;: "基于FAT32文件系统的安全存储方案", 信息技术, no. 05, 25 May 2013 (2013-05-25) *

Also Published As

Publication number Publication date
CN112256646B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
US9584612B2 (en) Systems and methods for pushing applications
CN109995866B (en) Distributed file verification method and device, computer device and storage medium
CN111970315A (en) Method, device and system for pushing message
US20150154224A1 (en) Method, device, processing center and system for desktop synchronization
EP3518109A1 (en) Method and apparatus for realizing communication between web page and native application, and electronic device
CN106027644B (en) Service verification method and system
KR102090982B1 (en) How to identify malicious websites, devices and computer storage media
CN108900547B (en) Source returning control method and device
CN114706658A (en) Container mirror image data processing method, device, equipment and medium
CN112231379A (en) API (application program interface) auditing method, device, equipment and storage medium based on micro-service architecture
CN109446445B (en) Resource acquisition method and device
CN107341217B (en) Data acquisition method and equipment
US9665732B2 (en) Secure Download from internet marketplace
CN110381081B (en) Network access method and device and electronic equipment
CN110955460A (en) Service process starting method and device, electronic equipment and storage medium
CN111783005A (en) Method, apparatus and system for displaying web page, computer system and medium
US20210382764A1 (en) Comparisons of application programming interface interactions to determine compatibilities
CN110990360A (en) File synchronization method based on network storage device and related components
CN112256646A (en) Method and device for operating subdirectory of file system, electronic equipment and storage medium
CN107103001B (en) Method, device and system for acquiring target front-end resource file based on browser
CN107872493B (en) Information processing method, terminal and server
CN111338898B (en) Application state acquisition method and device, electronic equipment and readable storage medium
CN114185804A (en) Interface testing method and device and terminal equipment
CN114706772A (en) Installation environment detection method, device, equipment and storage medium
CN112685102A (en) Gateway plug-in hot loading method, device, equipment and medium

Legal Events

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