CN110334063A - Operating method, device, equipment and the computer readable storage medium of file system - Google Patents

Operating method, device, equipment and the computer readable storage medium of file system Download PDF

Info

Publication number
CN110334063A
CN110334063A CN201910640102.2A CN201910640102A CN110334063A CN 110334063 A CN110334063 A CN 110334063A CN 201910640102 A CN201910640102 A CN 201910640102A CN 110334063 A CN110334063 A CN 110334063A
Authority
CN
China
Prior art keywords
file system
target
user
title
operating
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
CN201910640102.2A
Other languages
Chinese (zh)
Other versions
CN110334063B (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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201910640102.2A priority Critical patent/CN110334063B/en
Publication of CN110334063A publication Critical patent/CN110334063A/en
Application granted granted Critical
Publication of CN110334063B publication Critical patent/CN110334063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

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

Abstract

The present invention relates to financial technology technical fields, disclose operating method, device, equipment and the computer readable storage medium of a kind of file system.The operating method of this document system includes: to be instructed according to the file system operation when receiving file system operation instruction and obtain target file system title, target store path and object run;File system object corresponding with the target file system title is determined according to default mapping relations, and the file system object includes the operating method of preset document system;Object run method corresponding with the object run is called from the file system object, and the object run is executed to file destination corresponding with the target store path.The problem that the operating process that the present invention is able to solve file system in the prior art is more complex, operating efficiency is lower.

Description

Operating method, device, equipment and the computer readable storage medium of file system
Technical field
The present invention relates to financial technology (Fintech) technical field more particularly to a kind of operating methods of file system, dress It sets, equipment and computer readable storage medium.
Background technique
With the development of computer technology, more and more technology (big data, distribution, block chain Blockchain, people Work intelligence etc.) it applies in financial field, traditional financial industry gradually changes to financial technology (Fintech), but due to finance The safety of industry, requirement of real-time, also to technology, more stringent requirements are proposed.
In a computer, file system (File System) is to name file and place the logic storage of file and restore System.Currently, many services of bank and other financial mechanism all suffer from the demand for accessing a variety of file system, for example, big number According to the service in field usually can all use local file system and HDFS (Hadoop Distributed File System, Distributed file system), however, file path definition and disunity due to existing each file system, thus must be first real The corresponding file path object of exampleization could carry out file operation, corresponding, the example of different file to each file system Change mode is also different, can not be general, and user need to use different instantiation modes for different types of file system.Cause This, the operating process of existing file system is more complex, and operating efficiency is lower.
Summary of the invention
The main purpose of the present invention is to provide a kind of operating method of file system, device, equipment and computer-readable Storage medium, it is intended to solve the problems, such as that the operating process of file system in the prior art is more complex, operating efficiency is lower.
To achieve the above object, the present invention provides a kind of operating method of file system, the operation side of the file system Method includes:
When receiving file system operation instruction, is instructed according to the file system operation and obtain target file system name Title, target store path and object run;
File system object corresponding with the target file system title, the file are determined according to default mapping relations System object includes the operating method of preset document system;
Corresponding with object run object run method is called from the file system object, to the target The corresponding file destination of store path executes the object run.
Optionally, the basis presets mapping relations and determines file system pair corresponding with the target file system title As the step of before, further includes:
It is instructed according to the file system operation and obtains user information, and obtain the operation of user according to the user information Authority information;
Based on the target file system title, the target store path, the object run and the operating right Information judges whether user possesses operating right;
If it is determined that user possesses operating right, then follow the steps: according to the determination of default mapping relations and the file destination The corresponding file system object of systematic name;
If it is determined that user does not possess operating right, then generate the prompt information of corresponding no operating right, and be sent to The file system operation instructs corresponding user terminal.
Optionally, the basis presets mapping relations and determines file system pair corresponding with the target file system title As the step of before, further includes:
It inquires in the default mapping relations with the presence or absence of mapping relations corresponding with the target file system title;
If it exists, it thens follow the steps: determining text corresponding with the target file system title according to default mapping relations Part system object;
If it does not exist, then corresponding prompt information is generated, and is sent to use corresponding with file system operation instruction Family end.
Optionally, the operating method of the file system further include:
When receiving file system object addition request, request target is added according to the file system object and is added Add file system and target add file system object;
File system is added based on the target and the target adds file system object, is updated the default mapping and is closed System.
Optionally, the operating method of the file system further include:
After the completion of operating execution, corresponding operation implementing result is generated, and feed back to and refer to the file system operation Enable corresponding user terminal.
In addition, to achieve the above object, the present invention also provides a kind of operating device of file system, the file system Operating device includes:
First obtains module, for being instructed according to the file system operation when receiving file system operation instruction Obtain target file system title, target store path and object run;
Object determining module, for determining file corresponding with the target file system title according to default mapping relations System object, the file system object include the operating method of preset document system;
Operation executing module, for calling object run corresponding with the object run from the file system object Method executes the object run to file destination corresponding with the target store path.
Optionally, the operating device of the file system further include:
Second obtains module, obtains user information for instructing according to the file system operation, and according to the user The operation permission information of acquisition of information user;
Permission judgment module, for based on the target file system title, the target store path, target behaviour Make and the operation permission information judges whether user possesses operating right;
The object determining module, specifically for if it is determined that user possesses operating right, then it is true to preset mapping relations for basis Fixed file system object corresponding with the target file system title;
First sending module, for if it is determined that user does not possess operating right, then generating mentioning for corresponding no operating right Show information, and is sent to user terminal corresponding with file system operation instruction.
Optionally, the operating device of the file system further include:
Third obtain module, for receive file system object addition request when, according to the file system object It adds request target addition file system and target adds file system object;
Update module is updated for adding file system object based on target addition file system and the target The default mapping relations.
In addition, to achieve the above object, the present invention also provides a kind of operation equipment of file system, the file system Operation equipment includes: memory, processor and is stored in the file system that can be run on the memory and on the processor The operation sequence of system, the operation sequence of the file system realize file system as described above when being executed by the processor The step of operating method.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with the operation sequence of file system on storage medium, is realized such as when the operation sequence of the file system is executed by processor The step of operating method of the upper file system.
The present invention provides operating method, device, equipment and the computer readable storage medium of a kind of file system, is receiving To when file system operation instruction, is first instructed according to this document system operatio and obtain target file system title, target stores road Then diameter and object run determine file system object corresponding with the target file system title according to default mapping relations, Wherein, this document system object includes the operating method of preset document system, and then calls and be somebody's turn to do from this document system object The corresponding object run method of object run, and using the object run method pair target text corresponding with the target store path Part executes the object run.By the above-mentioned means, the present invention realizes the docking to files in different types system, text is being got When part system operatio instructs, target information need to be only obtained, and then determine file system object, can called in file system object The operation of object run method performance objective this invention simplifies the operating process of file system, improve compared with the prior art Operating efficiency, meanwhile, learn all types of file system for the definition of file store path and instantiation mode without user, The learning cost of user can be saved.
Detailed description of the invention
Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the operating method first embodiment of file system of the present invention;
Fig. 3 is the functional block diagram of the operating device first embodiment of file system of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the device structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The operation equipment of file system of the embodiment of the present invention can be smart phone, be also possible to PC (Personal Computer, personal computer), tablet computer, the terminal devices such as portable computer.
As shown in Figure 1, the operation equipment of this document system may include: processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 for realizing these components it Between connection communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), Optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include Standard wireline interface and wireless interface (such as Wi-Fi interface).Memory 1005 can be high speed RAM memory, be also possible to steady Fixed memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of The storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that the operation device structure of file system shown in Fig. 1 is not constituted to text The restriction of the operation equipment of part system may include perhaps combining certain components or not than illustrating more or fewer components Same component layout.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe the operation sequence of module, Subscriber Interface Module SIM and file system.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client, carries out data communication with client;And processor 1001 can be with For calling the operation sequence of the file system stored in memory 1005, and execute following operation:
When receiving file system operation instruction, is instructed according to the file system operation and obtain target file system name Title, target store path and object run;
File system object corresponding with the target file system title, the file are determined according to default mapping relations System object includes the operating method of preset document system;
Corresponding with object run object run method is called from the file system object, to the target The corresponding file destination of store path executes the object run.
Further, processor 1001 can call the operation sequence of the file system stored in memory 1005, also hold The following operation of row:
It is instructed according to the file system operation and obtains user information, and obtain the operation of user according to the user information Authority information;
Based on the target file system title, the target store path, the object run and the operating right Information judges whether user possesses operating right;
If it is determined that user possesses operating right, then follow the steps: according to the determination of default mapping relations and the file destination The corresponding file system object of systematic name;
If it is determined that user does not possess operating right, then generate the prompt information of corresponding no operating right, and be sent to The file system operation instructs corresponding user terminal.
Further, processor 1001 can call the operation sequence of the file system stored in memory 1005, also hold The following operation of row:
It inquires in the default mapping relations with the presence or absence of mapping relations corresponding with the target file system title;
If it exists, it thens follow the steps: determining text corresponding with the target file system title according to default mapping relations Part system object;
If it does not exist, then corresponding prompt information is generated, and is sent to use corresponding with file system operation instruction Family end.
Further, processor 1001 can call the operation sequence of the file system stored in memory 1005, also hold The following operation of row:
When receiving file system object addition request, request target is added according to the file system object and is added Add file system and target add file system object;
File system is added based on the target and the target adds file system object, is updated the default mapping and is closed System.
Further, processor 1001 can call the operation sequence of the file system stored in memory 1005, also hold The following operation of row:
After the completion of operating execution, corresponding operation implementing result is generated, and feed back to and refer to the file system operation Enable corresponding user terminal.
Based on above-mentioned hardware configuration, each embodiment of the operating method of file system of the present invention is proposed.
The present invention provides a kind of operating method of file system.
It is the flow diagram of the operating method first embodiment of file system of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, the operating method of this document system includes:
Step S10 is instructed according to the file system operation when receiving file system operation instruction and is obtained target text Part systematic name, target store path and object run;
The operating method of the file system of the present embodiment is realized by the operation equipment of file system, wherein the equipment It is integrated with the sdk (Software Development Kit, Software Development Kit) as made of the encapsulation of multiple modules, the equipment It is illustrated by taking server as an example.Specifically, sdk made of should being encapsulated as multiple modules may include FsFactory (file system Factory) and two modules of ScheamCache (file system mapped cache), wherein FsFactory is used for from the file received Target file system title is got in system operatio instruction, is also used to generate (the specific generating mode reference of target store path Hereafter);ScheamCache is for caching the corresponding text of multiple file system (such as local file system, HDFS file system) Part system object, the default mapping relations being also cached between file system and file system object, and then can be according to target text Part systematic name and above-mentioned default mapping relations determine corresponding file system object, wherein file system object includes text To the operating method of file (folder) in part system, for example, obtaining file (folder) size, file (folder) is deleted in creation, reading and writing of files The operating method of equal operations.
In the present embodiment, user can pass through when needing a certain file or folder to file system to execute operation Selection operation is held afterwards by the corresponding software of user terminal (such as smart phone, PC) login or App (Application, application program) Row option, and then after inputting relevant information as required, that is, it can trigger file system operation instruction.At this point, server (i.e. file The operation equipment of system) when receiving file system operation instruction, it is instructed according to this document system operatio and obtains file destination Systematic name, target store path and object run.Specifically, server receive file system operation instruction when, can be first It obtains the user that carries in the instruction of this document system operatio and inputs information, the type of information is then inputted according to user to determine pair The information acquisition method answered, and then get target file system title, target store path and object run.
Wherein, user can include but is not limited to following several input modes when inputting information, corresponding each information Acquisition methods are also as follows:
1) user can input target file system title, character string path content data and object run, that is, user inputs information Including target file system title, character string path content data and object run, at this point, server can be directly obtained file destination Systematic name, character string path content data and object run, while by target file system title and character string path content data by pre- If format generates target store path, for example, the entitled local of target file system (locally stored file), character string path For tmp/test.txt, it can correspond to and generate target store path are as follows: local: //tmp/test.txt.By the above-mentioned means, real The acquisition of target file system title, target store path and object run is showed, while having realized according to target file system Title and character string path content data intelligently generate the target store path of unified format, that is, realize the storage to each file system The unification in path, user without learn all types of file system for the definition of file store path and by corresponding format into Row input.
2) user can input target store path and object run, that is, user input information include target store path and Object run at this point, server can be directly obtained target store path and object run, while being mentioned according to target store path Take out target file system title, wherein target store path is made of schema (file system title) and path (path) (schema: //path), such as hdfs: it is file on hdfs that //tmp/test.txt is corresponding, local: //tmp/ Test.txt corresponding is local file, and target file system title can be extracted from target store path.Pass through above-mentioned side Formula realizes the unified definition to target store path input format, is made of file system title and path, and user need to only press The unified format is inputted, without learning multiple types file system for the definition format of file store path.
It should be appreciated that realizing the store path to each file system in the embodiment of the present invention by above two mode Unification, and then carry out different instantiations without according to the type of each file system, compared with the prior art, the present invention is real It applies example and learns all types of file system for the definition of file store path and instantiation mode without user, can save user's Learning cost, meanwhile, the operating process of file system is simplified, and then operating efficiency can be improved.
Step S20 determines file system object corresponding with the target file system title according to default mapping relations, The file system object includes the operating method of preset document system;
After getting target file system title, target store path and object run, according to default mapping relations Determine file system object corresponding with the target file system title, wherein this document system object includes default file system The operating method of system, that is, general operating method is provided in file system object, such as: file (folder) size is obtained, create, It deletes file (folder), the operating methods such as reading and writing of files.User only needs to call the operating method inside file system object Complete the operation to file system.For example, the operating method of local file system and HDFS file system for each file (folder). Wherein, which includes the mapping relations between target file system title and file system object.
Step S30 calls corresponding with object run object run method from the file system object, to The target store path corresponding file destination execution object run.
After determination obtains file system object, target corresponding with the object run is called from file system object Operating method, and then target behaviour is executed using the object run method pair file destination corresponding with the target store path Make.
For example, server exists when user needs to create a new file to a certain file in any file system After receiving corresponding instruction, first determines the object of file system, then only need to call the create in file system object (String dest) method can complete the object run.And in the prior art, if it is local file system, then need First judge that parent directory whether there is, and goes to call CreateNewFile method again after instantiating file system object.If it is HDFS, then the FileSystem object for needing first to have instantiated HDFS simultaneously judge that parent directory whether there is, recall HDFS's CreateNewFile (Path) method of FileSystem object, and instantiate process need to be passed to many configuration informations into Row initialization, increases the complexity used.
Therefore, compared to the operating method of existing file system, the embodiment of the present invention simplifies the operation of file system Process improves operating efficiency.Simultaneously, it can be achieved that docking to files in different types system, only needs user to carry out as required defeated Enter triggering command, can realize the operation to file system automatically, learns all types of file system for file without user The definition and instantiation mode of store path, can save the learning cost of user, and use is more convenient simple.
Further, after step S30, the operating method of this document system can with the following steps are included:
After the completion of operating execution, corresponding operation implementing result is generated, and feed back to and refer to the file system operation Enable corresponding user terminal.
For the implementing result for understanding operation convenient for user, it can generate corresponding operation after the completion of operating execution and execute knot Fruit, and feed back to user terminal corresponding with the instruction of this document system operatio.Wherein, operation implementing result includes that operation runs succeeded Executed unsuccessfully etc. with operation, wherein when executing failure for operation, can also feed back corresponding failure cause, in order to for into Row corrigendum processing.
The present invention during file system operation of bank and other financial mechanism, get target file system title, After target store path and object run, file corresponding with the target file system title first is determined according to default mapping relations System object, and then object run method corresponding with the object run is called from this document system object, and use the mesh Mark operating method pair file destination corresponding with the target store path executes the object run, without being directed to different file File store path instantiated respectively, simplify the operating process of file system, improve operating efficiency, meanwhile, nothing It needs enterprise customer to learn all types of file system for the definition of file store path and instantiation mode, enterprise customer can be saved Learning cost.
The embodiment of the present invention provides a kind of operating method of file system, when receiving file system operation instruction, first It is instructed according to this document system operatio and obtains target file system title, target store path and object run, then according to pre- If mapping relations determine corresponding with target file system title file system object, wherein this document system object includes The operating method of preset document system, and then object run side corresponding with the object run is called from this document system object Method, and the object run is executed using the object run method pair file destination corresponding with the target store path.By upper Mode is stated, the embodiment of the present invention realizes the docking to files in different types system, when getting file system operation instruction, Target information need to be only obtained, and then determines file system object, the object run method in file system object can be called to hold Row object run, compared with the prior art, the embodiment of the present invention simplify the operating process of file system, improve operation effect Rate, meanwhile, learn all types of file system for the definition of file store path and instantiation mode without user, use can be saved The learning cost at family.
Further, it is based on first embodiment shown in Fig. 2, proposes that the second of the operating method of file system of the present invention is real Apply example.
In the present embodiment, before step S20, the operating method of this document system further include:
Step A is instructed according to the file system operation and is obtained user information, and obtains user according to the user information Operation permission information;
In the present embodiment, target file system title, target storage road are being got according to file system operation instruction After diameter and object run, it can also be instructed according to file system operation and obtain user information, then obtained according to user information The operation permission information of user, and then judge whether user possesses operating right.Wherein, user information can include but is not limited to User name, user affiliated function, user class etc., operation permission information include user possessed to which file system, which Which operating right of a little files (folder).Specifically, the mapping between user information and operation permission information can be preset Relationship, and then according to the mapping relations between user information and preset user information and operation permission information, to obtain Obtain the operation permission information of user.
Step B is based on the target file system title, the target store path, the object run and the behaviour Make authority information and judges whether user possesses operating right;
Then, based on target file system title, target store path, object run and the above-mentioned operating right got Information judges whether user possesses corresponding operation permission.Certainly, it should be noted that in actual application, can root The information type specifically limited according to operation permission information judges info class needed for whether user possesses operating right to determine Type, for example, if operation permission information merely defines the file system and file (folder) of operating right, and not to object run into Row limits, then can judge whether user possesses based on target file system title, target store path and operation permission information Operating right.
If it is determined that user possesses operating right, S20 is thened follow the steps: determining literary with the target according to default mapping relations The corresponding file system object of part systematic name;
If it is determined that user does not possess operating right, C is thened follow the steps: generating the prompt information of corresponding no operating right, And it is sent to user terminal corresponding with file system operation instruction.
If it is determined that user possesses operating right, then according to default mapping relations determination and the target file system title pair The file system object answered, and then subsequent step is executed, specific implementation procedure can refer to above-mentioned first embodiment, no longer superfluous herein It states.If it is determined that user does not possess operating right, then the prompt information of corresponding no operating right is generated, and is sent to and this document System operatio instructs corresponding user terminal, to prompt user without operating right.
It, can be when user possess operating right, in time by judging whether user possesses operating right in the present embodiment User is reminded, meanwhile, it avoids continuing to execute subsequent step in no operating right and leads to server CPU (Central Processing Unit, central processing unit) resource is occupied.
Further, it is based on first embodiment shown in Fig. 2, proposes that the third of the operating method of file system of the present invention is real Apply example.
In the present embodiment, before step S20, the operating method of this document system can also include:
Step D is inquired and be whether there is mapping corresponding with the target file system title in the default mapping relations Relationship;
In the present embodiment, target file system title, target storage road are being got according to file system operation instruction After diameter and object run, can also first it inquire in default mapping relations with the presence or absence of corresponding with the target file system title Mapping relations.
If it exists, S20 is thened follow the steps: corresponding with the target file system title according to the determination of default mapping relations File system object;
If it does not exist, it thens follow the steps E: generating corresponding prompt information, and be sent to and refer to the file system operation Enable corresponding user terminal.
If it exists, then file system pair corresponding with the target file system title is determined according to default mapping relations As, and then subsequent step is executed, specific implementation procedure can refer to above-mentioned first embodiment, and details are not described herein again.If it does not exist, then The object of the uncached target file system in supporting paper system mapped cache, at this point it is possible to corresponding prompt information is generated, And it is sent to user terminal corresponding with the instruction of this document system operatio, to inform user, there is currently no the target file systems Object.
Further, the various embodiments described above are based on, propose the fourth embodiment of the operating method of file system of the present invention.
In the present embodiment, the operating method of this document system can also include:
Step F adds request according to the file system object when receiving file system object addition request Target adds file system and target adds file system object;
Since the demand of user is different, the file system operated needed for each user is also different, and file system is reflected Penetrating in caching can not be including the file system object of all types, and therefore, in the present embodiment, user can add according to their needs Add the file system object of corresponding types, so as to extend other kinds of file system convenient for user, with alternative document system It is docked.Specifically, user selects text after can logging in corresponding software or App by user terminal (such as smart phone, PC) Part system object adds option, and then after the file system object added needed for inputting, that is, can trigger file system object addition Instruction.At this point, server when receiving file system object addition request, can add request according to this document system object and obtain Take target addition file system and target addition file system object.
Step G adds file system object based on target addition file system and the target, updates described default Mapping relations.
Then, file system object is added based on target addition file system and target, updates default mapping relations. That is, establishing the mapping relations between the title of target addition file system and target addition file system object, and then update pre- If mapping relations.Certainly, it also needs to cache target addition file system object into file system mapped cache, convenient for subsequent It calls.
, it can be achieved that user adds file system object according to demand in the present embodiment, so as to extend file convenient for user The object for the alternative document system being not present in the default mapping relations of system mapped cache, and then realize and alternative document system The docking of system.
The present invention also provides a kind of operating devices of file system.
It is the functional block diagram of the operating device first embodiment of file system of the present invention referring to Fig. 3, Fig. 3.
As shown in figure 3, the operating device of the file system includes:
First obtains module 10, for being referred to according to the file system operation when receiving file system operation instruction It enables and obtains target file system title, target store path and object run;
Object determining module 20, for determining text corresponding with the target file system title according to default mapping relations Part system object, the file system object include the operating method of preset document system;
Operation executing module 30, for calling target behaviour corresponding with the object run from the file system object Make method, the object run is executed to file destination corresponding with the target store path.
Further, the operating device of the file system further include:
Second obtains module, obtains user information for instructing according to the file system operation, and according to the user The operation permission information of acquisition of information user;
Permission judgment module, for based on the target file system title, the target store path, target behaviour Make and the operation permission information judges whether user possesses operating right;
The object determining module 20, specifically for if it is determined that user possesses operating right, then according to default mapping relations Determine file system object corresponding with the target file system title;
First sending module, for if it is determined that user does not possess operating right, then generating mentioning for corresponding no operating right Show information, and is sent to user terminal corresponding with file system operation instruction.
Further, the operating device of the file system further include:
Enquiry module, for inquiring in the default mapping relations with the presence or absence of corresponding with the target file system title Mapping relations;
The object determining module 20, if existing and the file destination system also particularly useful in the default mapping relations The corresponding mapping relations of title of uniting then determine file system corresponding with the target file system title according to default mapping relations System object;
Second sending module, if for there is no corresponding with the target file system title in the default mapping relations Mapping relations, then generate corresponding prompt information, and be sent to user terminal corresponding with file system operation instruction.
Further, the operating device of the file system further include:
Third obtain module, for receive file system object addition request when, according to the file system object It adds request target addition file system and target adds file system object;
Update module is updated for adding file system object based on target addition file system and the target The default mapping relations.
Further, the operating device of the file system further include:
As a result feedback module, for operate execute after the completion of, generate corresponding operation implementing result, and feed back to and institute It states file system operation and instructs corresponding user terminal.
Wherein, the function of modules realizes the operation side with above-mentioned file system in the operating device of above-mentioned file system Each step is corresponding in method embodiment, and function and realization process no longer repeat one by one here.
The present invention also provides a kind of computer readable storage medium, file system is stored on the computer readable storage medium It is realized as described in any of the above item embodiment when the operation sequence of the operation sequence of system, the file system is executed by processor The step of operating method of file system.
Each embodiment of operating method of the specific embodiment of computer readable storage medium of the present invention and above-mentioned file system Essentially identical, therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of operating method of file system, which is characterized in that the operating method of the file system includes:
Receive file system operation instruction when, according to the file system operation instruct obtain target file system title, Target store path and object run;
File system object corresponding with the target file system title, the file system are determined according to default mapping relations Object includes the operating method of preset document system;
Object run method corresponding with the object run is called from the file system object, is stored to the target The corresponding file destination in path executes the object run.
2. the operating method of file system as described in claim 1, which is characterized in that the basis is preset mapping relations and determined Before the step of file system object corresponding with the target file system title, further includes:
It is instructed according to the file system operation and obtains user information, and obtain the operating right of user according to the user information Information;
Based on the target file system title, the target store path, the object run and the operation permission information Judge whether user possesses operating right;
If it is determined that user possesses operating right, then follow the steps: according to the determination of default mapping relations and the target file system The corresponding file system object of title;
If it is determined that user does not possess operating right, then generate the prompt information of corresponding no operating right, and be sent to it is described File system operation instructs corresponding user terminal.
3. the operating method of file system as described in claim 1, which is characterized in that the basis is preset mapping relations and determined Before the step of file system object corresponding with the target file system title, further includes:
It inquires in the default mapping relations with the presence or absence of mapping relations corresponding with the target file system title;
If it exists, it thens follow the steps: determining file system corresponding with the target file system title according to default mapping relations System object;
If it does not exist, then corresponding prompt information is generated, and is sent to user terminal corresponding with file system operation instruction.
4. the operating method of file system as claimed any one in claims 1 to 3, which is characterized in that the file system Operating method further include:
When receiving file system object addition request, request target addition text is added according to the file system object Part system and target add file system object;
File system is added based on the target and the target adds file system object, updates the default mapping relations.
5. the operating method of file system as claimed any one in claims 1 to 3, which is characterized in that the file system Operating method further include:
Operate execute after the completion of, generate corresponding operation implementing result, and feed back to and the file system operation instruction pair The user terminal answered.
6. a kind of operating device of file system, which is characterized in that the operating device of the file system includes:
First obtains module, for being instructed and being obtained according to the file system operation when receiving file system operation instruction Target file system title, target store path and object run;
Object determining module, for determining file system corresponding with the target file system title according to default mapping relations Object, the file system object include the operating method of preset document system;
Operation executing module, for calling object run side corresponding with the object run from the file system object Method executes the object run to file destination corresponding with the target store path.
7. the operating device of file system as claimed in claim 6, which is characterized in that the operating device of the file system is also Include:
Second obtains module, obtains user information for instructing according to the file system operation, and according to the user information Obtain the operation permission information of user;
Permission judgment module, for based on the target file system title, the target store path, the object run and The operation permission information judges whether user possesses operating right;
The object determining module, specifically for if it is determined that user possesses operating right, then according to preset mapping relations determine with The corresponding file system object of the target file system title;
First sending module, for if it is determined that user does not possess operating right, then the prompt for generating corresponding no operating right to be believed Breath, and it is sent to user terminal corresponding with file system operation instruction.
8. the operating device of file system as claimed in claims 6 or 7, which is characterized in that the operation of the file system fills It sets further include:
Third obtains module, for being added according to the file system object when receiving file system object addition request Request target adds file system and target adds file system object;
Update module, for adding file system object based on target addition file system and the target, described in update Default mapping relations.
9. a kind of operation equipment of file system, which is characterized in that the operation equipment of the file system includes: memory, place Reason device and the operation sequence for being stored in the file system that can be run on the memory and on the processor, the file system The operation of the file system as described in any one of claims 1 to 5 is realized when the operation sequence of system is executed by the processor The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with file system on the computer readable storage medium It realizes when the operation sequence of the operation sequence of system, the file system is executed by processor such as any one of claims 1 to 5 institute The step of operating method for the file system stated.
CN201910640102.2A 2019-07-15 2019-07-15 File system operation method, device, equipment and computer readable storage medium Active CN110334063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910640102.2A CN110334063B (en) 2019-07-15 2019-07-15 File system operation method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910640102.2A CN110334063B (en) 2019-07-15 2019-07-15 File system operation method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110334063A true CN110334063A (en) 2019-10-15
CN110334063B CN110334063B (en) 2024-05-14

Family

ID=68145284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910640102.2A Active CN110334063B (en) 2019-07-15 2019-07-15 File system operation method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110334063B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756509A (en) * 2022-05-19 2022-07-15 北京百度网讯科技有限公司 Operation method, system, device and storage medium of file system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140548A (en) * 2007-10-23 2008-03-12 北京握奇数据系统有限公司 Method for operating data file by card operating system and smart card thereof
CN101329681A (en) * 2007-06-20 2008-12-24 国际商业机器公司 Distributed lock manager for file system objects in a shared file system
US20090265353A1 (en) * 2008-04-16 2009-10-22 Murali Vaddagiri Method and system for extending role based access control across network file systems
CN102768678A (en) * 2012-06-14 2012-11-07 奇智软件(北京)有限公司 File operation method and device
CN102779244A (en) * 2011-05-11 2012-11-14 奇智软件(北京)有限公司 Method and device for carrying out file operation
CN103415838A (en) * 2012-03-21 2013-11-27 广州市飞元信息科技有限公司 Virtual operating area supporting customized definition and operating method and system architecture thereof
US20140025713A1 (en) * 2012-07-23 2014-01-23 Red Hat, Inc. Unified file and object data storage
CN103765372A (en) * 2011-08-26 2014-04-30 威睿公司 Configuring object storage system for input/output operations
CN106202220A (en) * 2016-06-28 2016-12-07 北京百迈客云科技有限公司 The method of data and device in a kind of reading object storage system
CN106407417A (en) * 2016-09-23 2017-02-15 维沃移动通信有限公司 An application program data backup method and a mobile terminal
CN108427677A (en) * 2017-02-13 2018-08-21 阿里巴巴集团控股有限公司 A kind of object accesses method, apparatus and electronic equipment
CN108959592A (en) * 2018-07-12 2018-12-07 广州市闲愉凡生信息科技有限公司 A kind of file distribution system of cloud computing platform
CN109388625A (en) * 2018-10-11 2019-02-26 北京小米智能科技有限公司 The method and device of configuration file is handled in more distributed file systems

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329681A (en) * 2007-06-20 2008-12-24 国际商业机器公司 Distributed lock manager for file system objects in a shared file system
CN101140548A (en) * 2007-10-23 2008-03-12 北京握奇数据系统有限公司 Method for operating data file by card operating system and smart card thereof
US20090265353A1 (en) * 2008-04-16 2009-10-22 Murali Vaddagiri Method and system for extending role based access control across network file systems
CN102779244A (en) * 2011-05-11 2012-11-14 奇智软件(北京)有限公司 Method and device for carrying out file operation
CN103765372A (en) * 2011-08-26 2014-04-30 威睿公司 Configuring object storage system for input/output operations
CN103415838A (en) * 2012-03-21 2013-11-27 广州市飞元信息科技有限公司 Virtual operating area supporting customized definition and operating method and system architecture thereof
CN102768678A (en) * 2012-06-14 2012-11-07 奇智软件(北京)有限公司 File operation method and device
US20140025713A1 (en) * 2012-07-23 2014-01-23 Red Hat, Inc. Unified file and object data storage
CN106202220A (en) * 2016-06-28 2016-12-07 北京百迈客云科技有限公司 The method of data and device in a kind of reading object storage system
CN106407417A (en) * 2016-09-23 2017-02-15 维沃移动通信有限公司 An application program data backup method and a mobile terminal
CN108427677A (en) * 2017-02-13 2018-08-21 阿里巴巴集团控股有限公司 A kind of object accesses method, apparatus and electronic equipment
CN108959592A (en) * 2018-07-12 2018-12-07 广州市闲愉凡生信息科技有限公司 A kind of file distribution system of cloud computing platform
CN109388625A (en) * 2018-10-11 2019-02-26 北京小米智能科技有限公司 The method and device of configuration file is handled in more distributed file systems

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NTZIK G 等: "Reasoning about the POSIX file system: local update and global pathnames", 《PROCEEDINGS OF THE 2015 ACM SIGPLAN INTERNATIONAL CONFERENCE ON OBJECT-ORIENTED PROGRAMMING, SYSTEMS, LANGUAGES, AND APPLICATIONS》, 31 October 2015 (2015-10-31), pages 201 - 220 *
曹红丽 等: "区块链:构建数字经济的基础设施", 《网络空间安全》, 25 May 2019 (2019-05-25), pages 75 - 81 *
裴鹏飞: "支持事务的分布式消息队列中间件的设计与实现", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, 15 January 2019 (2019-01-15), pages 138 - 861 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756509A (en) * 2022-05-19 2022-07-15 北京百度网讯科技有限公司 Operation method, system, device and storage medium of file system
CN114756509B (en) * 2022-05-19 2023-03-24 北京百度网讯科技有限公司 File system operation method, system, device and storage medium

Also Published As

Publication number Publication date
CN110334063B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
US11119755B2 (en) Systems and methods for application program and application program update deployment to a mobile device
US9158535B2 (en) Smart endpoint architecture
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
US9606794B1 (en) Generating and managing applications using any number of different platforms
US7809376B2 (en) Enhanced analogue of interactive voice response structures and functions for mobile phones and similar handheld communications devices
US20140282398A1 (en) Platform for developing and distributing mobile applications
CN109725901A (en) Development approach, device, equipment and the computer storage medium of front-end code
CN106022007B (en) The cloud platform system and method learning big data and calculating is organized towards biology
CN102355500B (en) Service push method and device
US11593074B2 (en) System, method, and apparatus for data-centric networked application development services
CN110221901A (en) Container asset creation method, apparatus, equipment and computer readable storage medium
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
CN108415710A (en) The method and system of API is issued, called in Intelligent dialogue development platform
US8972477B1 (en) Offline browsing session management
CN112860247B (en) Custom generation method, device, equipment and medium of model component
CN110286939A (en) Development approach, device, equipment and the storage medium of Software Development Kit
US11640307B2 (en) Process initiation
CN109254808A (en) Interface call method, device and computer readable storage medium
CN109032573A (en) A kind of hardware programming system and method
CN106888264B (en) A kind of method for interchanging data and device
CN110334063A (en) Operating method, device, equipment and the computer readable storage medium of file system
CN109669785A (en) Page sharing method, device, server and the storage medium of terminal applies
Lei Context Awareness: a Practitioner's Perspective
US11775261B2 (en) Dynamic process model palette
US10324692B2 (en) Integration for next-generation applications

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