[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109388625A - The method and device of configuration file is handled in more distributed file systems - Google Patents

The method and device of configuration file is handled in more distributed file systems Download PDF

Info

Publication number
CN109388625A
CN109388625A CN201811182682.7A CN201811182682A CN109388625A CN 109388625 A CN109388625 A CN 109388625A CN 201811182682 A CN201811182682 A CN 201811182682A CN 109388625 A CN109388625 A CN 109388625A
Authority
CN
China
Prior art keywords
file system
configuration file
distributed
file
configuration
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
CN201811182682.7A
Other languages
Chinese (zh)
Other versions
CN109388625B (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 Xiaomi Intelligent Technology Co Ltd
Original Assignee
Beijing Xiaomi Intelligent 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 Xiaomi Intelligent Technology Co Ltd filed Critical Beijing Xiaomi Intelligent Technology Co Ltd
Priority to CN201811182682.7A priority Critical patent/CN109388625B/en
Publication of CN109388625A publication Critical patent/CN109388625A/en
Application granted granted Critical
Publication of CN109388625B publication Critical patent/CN109388625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to the method and device of configuration file is handled in a kind of more distributed file systems, method includes: the configuration file acquisition request for receiving client and sending, and the mark of the client target distribution formula file system to be accessed is carried in configuration file acquisition request;The configuration file of target distribution formula file system is obtained according to the mark of target distribution formula file system and the mapping table prestored, configuration file includes at least meta data server address, the mark of mapping table distributed storage file system and the configuration file of corresponding distributed file system;The configuration file of target distribution formula file system is sent to client.The disclosure may be implemented in the environment of distributed file system cluster, and client does not need to configure and update the configuration file of distributed file system, can significantly reduce configuration management expense.

Description

The method and device of configuration file is handled in more distributed file systems
Technical field
This disclosure relates to handle configuration file in distributed technical field more particularly to a kind of more distributed file systems Method and device.
Background technique
With the continuous development of Internet technology, the appearance of distributed file system efficiently solve data storage and Management problems.
Distributed file system is generally made of client, meta data server and data server, in distributed document In system, the configuration file of distributed file system is configured in each client, configuration file includes distributed file system The information such as meta data server address and domain name.Client will access certain a batch or some target in distributed file system When file, the configuration file for needing to first pass through client storage obtains the meta data server of the distributed file system Then location is obtained the data server where file destination by meta data server, finally obtains mesh from data server again Mark the corresponding actual user data of file.
In the environment of distributed file system cluster, need to configure all distributed file systems in cluster in client Configuration file, in the case where cluster is frequently constructed or is destroyed and there are many client node quantity, the configuration of client text Part is needed according to the update software package frequent updating received, and above-mentioned configuration mode will lead to biggish administration overhead.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides processing configuration text in a kind of more distributed file systems The method and device of part.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, the side that configuration file is handled in a kind of more distributed file systems is provided Method, comprising:
The configuration file acquisition request that client is sent is received, carries the client in the configuration file acquisition request The mark for the target distribution formula file system to be accessed;
The target distribution formula is obtained according to the mark of the target distribution formula file system and the mapping table prestored The configuration file of file system, the configuration file include at least meta data server address, store in the mapping table The mark of distributed file system and the configuration file of corresponding distributed file system;
The configuration file of the target distribution formula file system is sent to the client.
The technical scheme provided by this disclosed embodiment can include the following benefits: by depositing in mapping table The mark of distributed file system and the configuration file of corresponding distributed file system are stored up, matching for client transmission is being received It, can be according to the mark and mapping of the target distribution formula file system carried in configuration file acquisition request after setting file acquisition request Relation table obtains the configuration file of target distribution formula file system, so that client does not need to configure and update distributed field system The configuration file of system can significantly reduce configuration management expense in the environment of distributed file system cluster.
Further, the method also includes:
Receive the configuration file sent when distributed file system starting;
The configuration file of the mark of the distributed file system and corresponding distributed file system is stored in described In mapping table.
Further, the method also includes:
Every preset time, detection information, first distributed file system are sent to the first distributed file system For any one distributed file system stored in the mapping table;
When not receiving the detection feedback information that first distributed file system is sent, the mapping relations are deleted The mark of first distributed file system stored in table and the configuration file of first distributed file system.
According to the second aspect of an embodiment of the present disclosure, the dress that configuration file is handled in a kind of more distributed file systems is provided It sets, comprising:
First receiving module is configured as receiving the configuration file acquisition request that client is sent, and the configuration file obtains Take the mark that the target distribution formula file system that the client to be accessed is carried in request;
Module is obtained, the mapping table for being configured as the mark according to the target distribution formula file system and prestoring obtains The configuration file of the target distribution formula file system is taken, the configuration file includes at least meta data server address, described The mark of distributed storage file system and the configuration file of corresponding distributed file system in mapping table;
First sending module is configured as sending the configuration text of the target distribution formula file system to the client Part.
The technical scheme provided by this disclosed embodiment can include the following benefits: by depositing in mapping table The mark of distributed file system and the configuration file of corresponding distributed file system are stored up, matching for client transmission is being received It, can be according to the mark and mapping of the target distribution formula file system carried in configuration file acquisition request after setting file acquisition request Relation table obtains the configuration file of target distribution formula file system, so that client does not need to configure and update distributed field system The configuration file of system can significantly reduce configuration management expense in the environment of distributed file system cluster.
Further, described device further include:
Second receiving module is configured as receiving the configuration file sent when distributed file system starting;
Memory module is configured as the mark of the distributed file system and matching for corresponding distributed file system File is set to be stored in the mapping table.
Further, described device further include:
Second sending module, is configured as every preset time, sends detection information, institute to the first distributed file system Stating the first distributed file system is any one distributed file system stored in the mapping table;
Removing module is configured as in the detection feedback information for not receiving the first distributed file system transmission When, delete first distributed file system stored in the mapping table mark and first distributed document The configuration file of system.
According to the third aspect of an embodiment of the present disclosure, the dress that configuration file is handled in a kind of more distributed file systems is provided It sets, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The configuration file acquisition request that client is sent is received, carries the client in the configuration file acquisition request The mark for the target distribution formula file system to be accessed;
The target distribution formula is obtained according to the mark of the target distribution formula file system and the mapping table prestored The configuration file of file system, the configuration file include at least meta data server address, store in the mapping table The mark of distributed file system and the configuration file of corresponding distributed file system;
The configuration file of the target distribution formula file system is sent to the client.
According to a fourth aspect of embodiments of the present disclosure, provide handle configuration file in a kind of more distributed file systems be System, the system comprises server and client side,
The client is configured as: Xiang Suoshu server sends configuration file acquisition request, and the configuration file obtains The mark for the target distribution formula file system that the client to be accessed is carried in request;
The server is configured as: according to the mark of the target distribution formula file system and the mapping table prestored The configuration file of the target distribution formula file system is obtained, the configuration file includes at least meta data server address, institute State the mark of distributed storage file system and the configuration file of corresponding distributed file system in mapping table;
The server is also configured to send the configuration text of the target distribution formula file system to the client Part.
According to a fifth aspect of the embodiments of the present disclosure, a kind of readable storage medium storing program for executing is provided, is deposited in the readable storage medium storing program for executing Computer program is contained, described at least one processor execution for the device for handling configuration file in more distributed file systems When computer program, the device that configuration file is handled in more distributed file systems executes method described in first aspect.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the method that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Interaction diagrams.
Fig. 2 is the method that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Flow chart.
Fig. 3 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.
Fig. 4 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.
Fig. 5 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.
Fig. 6 is the system that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.
Fig. 7 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is the method that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Interaction diagrams, the present embodiment in more distributed file systems handle configuration file method be applied to server and visitor It is illustrated in the end of family.The method that configuration file is handled in more distributed file systems may include steps of.
In step s 11, user end to server sends configuration file acquisition request, carries in configuration file acquisition request The mark of the client target distribution formula file system to be accessed.
Specifically, the method for the present embodiment can be applied in distributed file system cluster, client also have it is multiple, often When a client will access some target distribution formula file system, the target distribution formula file system to be accessed first is obtained from server The configuration file of system, configuration file includes the information such as meta data server address and the domain name of distributed file system, according to institute The configuration file of acquisition gets meta data server address, and then visits again the target distribution formula file system, such as to visit It asks the file destination of target distribution formula file system, mesh can be obtained according to the corresponding meta data server in meta data server address The data server where file is marked, then obtains the corresponding actual user data of file destination from data server.
In step s 12, server is obtained according to the mark of target distribution formula file system and the mapping table prestored The configuration file of target distribution formula file system, configuration file include at least meta data server address, deposit in mapping table Store up the mark of distributed file system and the configuration file of corresponding distributed file system.
Specifically, the configuration of each distributed file system in distributed file system cluster is stored in advance in server File, the mode of storage are the configuration file of the mark and corresponding distributed file system of distributed file system, such as such as Shown in following table one:
Table one
Distributed file system 1 Configuration file 1
Distributed file system 2 Configuration file 2
…… ……
Distributed file system n Configuration file n
In the present embodiment, further, the method for the present embodiment can also include:
Server receives the configuration file sent when distributed file system starting.
The configuration file of the mark of distributed file system and corresponding distributed file system is stored in by server to be reflected It penetrates in relation table.
The above process is the process for the configuration file that each distributed file system is stored in advance in server.It is understood that It is that, when distributed file system cluster increases a distributed file system newly, server will store the distribution newly constructed The configuration file of file system.
In the present embodiment, further, the method for the present embodiment can also include:
Every preset time, server sends detection information, the first distributed field system to the first distributed file system System is any one distributed file system stored in mapping table.
Specifically, since distributed file system cluster has that a certain distributed file system is destroyed, at this time Detection information periodically is sent to the distributed file system being stored in mapping table by server, with detection point Whether there is also if it does not exist, execute following step to cloth file system:
When not receiving the detection feedback information of the first distributed file system transmission, server deletes mapping table The mark of first distributed file system of middle storage and the configuration file of the first distributed file system.
By aforesaid operations, when a certain distributed file system is destroyed in distributed file system cluster, server Delete destroyed distributed file system mark and corresponding configuration file, realize the update of stored configuration file, Guarantee to obtain is updated cluster information.
In step s 13, server sends the configuration file of target distribution formula file system to client.
Optionally, configuration file acquisition request is that client is periodically sent to server, and client receives service for the first time After the configuration file for the target distribution formula file system that device is sent, it can be reserved for configuration file to access again, pass through client End periodically obtains the configuration file of distributed file system, and client does not need additionally to do any configuration, can be from clothes Business device obtains newest configuration file.
In conclusion the method for handling configuration file in more distributed file systems provided in this embodiment, passes through service The device mark of distributed storage file system and the configuration file of corresponding distributed file system, service in mapping table Device, can be according to the target carried in configuration file acquisition request point after the configuration file acquisition request for receiving client transmission The mark and mapping table of cloth file system obtain the configuration file of target distribution formula file system, so that client is not required to The configuration file for configuring and updating distributed file system can significantly reduce in the environment of distributed file system cluster Configuration management expense.
Fig. 2 is the method that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Flow chart, the present embodiment in more distributed file systems handle configuration file method be applied to server and client side In illustrate.The method that configuration file is handled in more distributed file systems may include steps of.
In the step s 21, server receives the configuration file sent when distributed file system starting, and configuration file is at least Including meta data server address.
Specifically, when distributed file system cluster increases a distributed file system newly, server will be stored newly The configuration file of the distributed file system of building.
In step S22, server by distributed file system mark and corresponding distributed file system configuration File is stored in mapping table.
In step S23, user end to server sends configuration file acquisition request, carries in configuration file acquisition request The mark of the client target distribution formula file system to be accessed.
Optionally, client, which can be, periodically sends configuration file acquisition request to server, and the period can preset, example If the period can set according to the update status of distributed file system cluster, to change in distributed file system cluster Or the configuration file of any distributed file system in distributed file system cluster can be got newest when changing Configuration file.
In step s 24, server obtains target point according to the mark and mapping table of target distribution formula file system The configuration file of cloth file system, the mark of distributed storage file system and corresponding distributed document in mapping table The configuration file of system.
In step s 25, server sends the configuration file of target distribution formula file system to client.
In step S26, client stores the configuration file of target distribution formula file system.
Client stores the configuration file of target distribution formula file system, so as to access target distributed field system again System, can directly access.
In step s 27, every preset time, server sends detection information to the first distributed file system, and first Distributed file system is any one distributed file system stored in mapping table.
In step S28, when not receiving the detection feedback information of the first distributed file system transmission, server is deleted Except the mark of the first distributed file system stored in mapping table and the configuration file of the first distributed file system.
It should be noted that step S27 and step S28 can be the execution of any time after S21, pass through step S27 With the operation of step S28, when a certain distributed file system is destroyed in distributed file system cluster, server deletes quilt The mark of the distributed file system of destruction and corresponding configuration file realize the update of stored configuration file, guarantee to obtain What is taken is updated cluster information.
In conclusion the method for handling configuration file in more distributed file systems provided in this embodiment, passes through service The device mark of distributed storage file system and the configuration file of corresponding distributed file system, service in mapping table Device, can be according to the target carried in configuration file acquisition request point after the configuration file acquisition request for receiving client transmission The mark and mapping table of cloth file system obtain the configuration file of target distribution formula file system, thus, in distribution File system cluster is frequently constructed or destroyed or the configuration text of any distributed file system in distributed file system cluster When part changes, client does not need to configure and update the configuration file of distributed file system, can significantly reduce configuration pipe Manage expense.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.The device that configuration file is handled in more distributed file systems can pass through the combination of software, hardware or both It is implemented as some or all of of server.Referring to Fig. 3, which includes:
First receiving module 11 is configured as receiving the configuration file acquisition request that client is sent, and the configuration file obtains Take the mark that the target distribution formula file system that the client to be accessed is carried in request.
Obtain the mapping table that module 12 is configured as the mark according to the target distribution formula file system and prestores The configuration file of the target distribution formula file system is obtained, the configuration file includes at least meta data server address, institute State the mark of distributed storage file system and the configuration file of corresponding distributed file system in mapping table.
First sending module 13 is configured as sending the configuration text of the target distribution formula file system to the client Part.
In conclusion device provided in this embodiment, by server in mapping table distributed storage file system The mark of system and the configuration file of corresponding distributed file system, server are obtained in the configuration file for receiving client transmission After taking request, it can be obtained according to the mark and mapping table of the target distribution formula file system carried in configuration file acquisition request The configuration file of target distribution formula file system is taken, so that client does not need to configure and update the configuration of distributed file system File can significantly reduce configuration management expense in the environment of distributed file system cluster.
Fig. 4 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.It can also include: second to connect further as shown in figure 4, on the basis of the device of this implementation device shown in Fig. 3 Receive module 14 and memory module 15.
Second receiving module 14 is configured as receiving the configuration file sent when distributed file system starting.
Memory module 15 is configured as the mark of the distributed file system and corresponding distributed file system Configuration file is stored in the mapping table.
Fig. 5 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.As shown in figure 5, can also include: the second hair further on the basis of the device of this implementation device shown in Fig. 3 Send module 16 and removing module 17.
Second sending module 16 is configured as every preset time, sends detection information to the first distributed file system, First distributed file system is any one distributed file system stored in the mapping table;
Removing module 17 is configured as in the detection feedback information for not receiving the first distributed file system transmission When, delete first distributed file system stored in the mapping table mark and first distributed document The configuration file of system.
In the above-described embodiments, optionally, the address of the server is address known to the client.
Fig. 6 is the system that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.As shown in fig. 6, the system of the present embodiment includes server 21 and client 22, client 22 can have multiple, this reality Apply in example, client 22 is configured as: Xiang Suoshu server 21 sends configuration file acquisition request, and the configuration file acquisition is asked Seek the middle mark for carrying the target distribution formula file system to be accessed of client 22.
The server 21 is configured as: according to the mark of the target distribution formula file system and the mapping relations prestored Table obtains the configuration file of the target distribution formula file system, and the configuration file includes at least meta data server address, The mark of distributed storage file system and the configuration file of corresponding distributed file system in the mapping table.
The server 21 is also configured to send the configuration of the target distribution formula file system to the client 22 File.
Further, the server 21 is also configured to receive the configuration text sent when distributed file system starting Part;
The configuration file of the mark of the distributed file system and corresponding distributed file system is stored in described In mapping table.
Further, the server 21 is also configured to
Every preset time, detection information, first distributed file system are sent to the first distributed file system For any one distributed file system stored in the mapping table;
When not receiving the detection feedback information that first distributed file system is sent, the mapping relations are deleted The mark of first distributed file system stored in table and the configuration file of first distributed file system.
Further, the configuration file acquisition request is that the client 22 is periodically sent to the server.
Further, the client 22 is also configured in the target distribution formula for receiving the server transmission After the configuration file of file system, the configuration file is saved.
In conclusion system provided in this embodiment, by server in mapping table distributed storage file system The mark of system and the configuration file of corresponding distributed file system, server are obtained in the configuration file for receiving client transmission After taking request, it can be obtained according to the mark and mapping table of the target distribution formula file system carried in configuration file acquisition request The configuration file of target distribution formula file system is taken, so that client does not need to configure and update the configuration of distributed file system File can significantly reduce configuration management expense in the environment of distributed file system cluster.
Fig. 7 is the device that configuration file is handled in a kind of more distributed file systems shown according to an exemplary embodiment Block diagram.For example, the device 800 for handling configuration file in more distributed file systems can be mobile phone, computer, number Broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 7, the device 800 that configuration file is handled in more distributed file systems may include following one or more Component: processing component 802, memory 804, power supply module 806, multimedia component 808, audio component 810, input/output (I/ O) interface 812, sensor module 814 and communication component 816.
Processing component 802 usually controls the integrated operation that the device 800 of configuration file is handled in more distributed file systems, Such as associated operation is operated with display, telephone call, data communication, camera operation and record.Processing component 802 can wrap One or more processors 820 are included to execute instruction, to perform all or part of the steps of the methods described above.In addition, processing group Part 802 may include one or more modules, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, to facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be by the device 800 of processing configuration file in more distributed file systems Device 820 is managed to execute to complete the above method.For example, the non-transitorycomputer readable storage medium can be ROM, deposit at random Access to memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims System.

Claims (9)

1. handling the method for configuration file in a kind of more distributed file systems, which is characterized in that the described method includes:
The configuration file acquisition request that client is sent is received, carrying the client in the configuration file acquisition request will visit The mark for the target distribution formula file system asked;
The target distribution formula file is obtained according to the mark of the target distribution formula file system and the mapping table prestored The configuration file of system, the configuration file include at least meta data server address, storage and distribution in the mapping table The mark of formula file system and the configuration file of corresponding distributed file system;
The configuration file of the target distribution formula file system is sent to the client.
2. the method according to claim 1, wherein the method also includes:
Receive the configuration file sent when distributed file system starting;
The configuration file of the mark of the distributed file system and corresponding distributed file system is stored in the mapping In relation table.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Every preset time, detection information is sent to the first distributed file system, first distributed file system is institute State any one distributed file system stored in mapping table;
When not receiving the detection feedback information that first distributed file system is sent, delete in the mapping table The mark of first distributed file system of storage and the configuration file of first distributed file system.
4. handling the device of configuration file in a kind of more distributed file systems characterized by comprising
First receiving module is configured as receiving the configuration file acquisition request that client is sent, and the configuration file acquisition is asked Seek the middle mark for carrying the client target distribution formula file system to be accessed;
Module is obtained, the mark according to the target distribution formula file system is configured as and the mapping table prestored obtains institute The configuration file of target distribution formula file system is stated, the configuration file includes at least meta data server address, the mapping The mark of distributed storage file system and the configuration file of corresponding distributed file system in relation table;
First sending module is configured as sending the configuration file of the target distribution formula file system to the client.
5. device according to claim 4, which is characterized in that described device further include:
Second receiving module is configured as receiving the configuration file sent when distributed file system starting;
Memory module is configured as the configuration text by the mark of the distributed file system and corresponding distributed file system Part is stored in the mapping table.
6. device according to claim 4 or 5, which is characterized in that described device further include:
Second sending module, is configured as every preset time, sends detection information to the first distributed file system, and described the One distributed file system is any one distributed file system stored in the mapping table;
Removing module is configured as deleting when not receiving the detection feedback information that first distributed file system is sent Except the mark and first distributed file system of first distributed file system stored in the mapping table Configuration file.
7. handling the device of configuration file in a kind of more distributed file systems characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is configured to:
The configuration file acquisition request that client is sent is received, carrying the client in the configuration file acquisition request will visit The mark for the target distribution formula file system asked;
The target distribution formula file is obtained according to the mark of the target distribution formula file system and the mapping table prestored The configuration file of system, the configuration file include at least meta data server address, storage and distribution in the mapping table The mark of formula file system and the configuration file of corresponding distributed file system;
The configuration file of the target distribution formula file system is sent to the client.
8. handling the system of configuration file in a kind of more distributed file systems, which is characterized in that the system comprises servers And client,
The client is configured as: Xiang Suoshu server sends configuration file acquisition request, the configuration file acquisition request The middle mark for carrying the client target distribution formula file system to be accessed;
The server is configured as: being obtained according to the mark of the target distribution formula file system and the mapping table prestored The configuration file of the target distribution formula file system, the configuration file includes at least meta data server address, described to reflect Penetrate the mark of distributed storage file system and the configuration file of corresponding distributed file system in relation table;
The server is also configured to send the configuration file of the target distribution formula file system to the client.
9. a kind of readable storage medium storing program for executing, which is characterized in that computer program is stored in the readable storage medium storing program for executing, when more distributions When handling at least one processor execution computer program of the device of configuration file in formula file system, more distributions The device perform claim that configuration file is handled in formula file system requires the described in any item methods of 1-3.
CN201811182682.7A 2018-10-11 2018-10-11 Method and device for processing configuration file in multi-distributed file system Active CN109388625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811182682.7A CN109388625B (en) 2018-10-11 2018-10-11 Method and device for processing configuration file in multi-distributed file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811182682.7A CN109388625B (en) 2018-10-11 2018-10-11 Method and device for processing configuration file in multi-distributed file system

Publications (2)

Publication Number Publication Date
CN109388625A true CN109388625A (en) 2019-02-26
CN109388625B CN109388625B (en) 2021-03-30

Family

ID=65427121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811182682.7A Active CN109388625B (en) 2018-10-11 2018-10-11 Method and device for processing configuration file in multi-distributed file system

Country Status (1)

Country Link
CN (1) CN109388625B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334063A (en) * 2019-07-15 2019-10-15 深圳前海微众银行股份有限公司 Operating method, device, equipment and the computer readable storage medium of file system
CN110928598A (en) * 2019-11-11 2020-03-27 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN111125226A (en) * 2019-12-24 2020-05-08 中国建设银行股份有限公司 Configuration data acquisition method and device
CN112579554A (en) * 2019-09-29 2021-03-30 北京金山云网络技术有限公司 Batch comparison method and device for server configuration files and electronic equipment
CN112632542A (en) * 2020-12-29 2021-04-09 五八有限公司 Application program detection file dynamic adjustment method and device, electronic equipment and medium
CN114780616A (en) * 2022-04-28 2022-07-22 苏州浪潮智能科技有限公司 Information summarizing and information acquiring method, electronic equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
CN101668028B (en) * 2008-09-03 2013-03-27 浙江大学 Extendable system structure-based distributed system and application method thereof
US9697566B2 (en) * 2013-03-15 2017-07-04 Ten-X, Llc System and mehtod for providing information about assets during a live auction
CN107967159A (en) * 2017-11-22 2018-04-27 腾讯科技(深圳)有限公司 The method and server of a kind of profileapplied

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668028B (en) * 2008-09-03 2013-03-27 浙江大学 Extendable system structure-based distributed system and application method thereof
CN102681899A (en) * 2011-03-14 2012-09-19 金剑 Virtual computing resource dynamic management system of cloud computing service platform
US9697566B2 (en) * 2013-03-15 2017-07-04 Ten-X, Llc System and mehtod for providing information about assets during a live auction
CN107967159A (en) * 2017-11-22 2018-04-27 腾讯科技(深圳)有限公司 The method and server of a kind of profileapplied

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334063A (en) * 2019-07-15 2019-10-15 深圳前海微众银行股份有限公司 Operating method, device, equipment and the computer readable storage medium of file system
CN110334063B (en) * 2019-07-15 2024-05-14 深圳前海微众银行股份有限公司 File system operation method, device, equipment and computer readable storage medium
CN112579554A (en) * 2019-09-29 2021-03-30 北京金山云网络技术有限公司 Batch comparison method and device for server configuration files and electronic equipment
CN110928598A (en) * 2019-11-11 2020-03-27 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN110928598B (en) * 2019-11-11 2024-01-30 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN111125226A (en) * 2019-12-24 2020-05-08 中国建设银行股份有限公司 Configuration data acquisition method and device
CN111125226B (en) * 2019-12-24 2024-01-30 中国建设银行股份有限公司 Configuration data acquisition method and device
CN112632542A (en) * 2020-12-29 2021-04-09 五八有限公司 Application program detection file dynamic adjustment method and device, electronic equipment and medium
CN112632542B (en) * 2020-12-29 2022-07-05 五八有限公司 Application program detection file dynamic adjustment method and device, electronic equipment and medium
CN114780616A (en) * 2022-04-28 2022-07-22 苏州浪潮智能科技有限公司 Information summarizing and information acquiring method, electronic equipment and system
CN114780616B (en) * 2022-04-28 2024-05-24 苏州浪潮智能科技有限公司 Information summarizing and information acquiring method, electronic equipment and system

Also Published As

Publication number Publication date
CN109388625B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN109388625A (en) The method and device of configuration file is handled in more distributed file systems
CN105847430B (en) Mix application page data access method and device
CN104038536B (en) Plug-in unit communication means and device
CN106126685B (en) Page loading method and device
CN104717293A (en) Method and device for showing information resources on conversation interface
CN104732380A (en) Method and device for conducting account transfer processing
CN106254467A (en) Sharing files method and device
CN105516270A (en) Information push method and device
CN104767857A (en) Telephone calling method and device based on cloud name cards
CN106209604A (en) Add the method and device of good friend
CN105208176B (en) Contact person record processing method and processing device
CN107357613A (en) Using update method, device and computer-readable recording medium
CN105407160B (en) Interface display method and device
CN106095405A (en) Icon update method and device
CN107632835A (en) Using installation method and device
CN105100199A (en) Method and device for transmitting cloud card
CN105721705A (en) Call quality control method and device and mobile terminal
CN106060129A (en) Information processing method and device.
CN105245681B (en) Label addition method and device
CN104933085B (en) Update method, terminal and the server of e-book
CN104158851B (en) A kind of dissemination system of Network, method and apparatus
CN104994221A (en) Communication relation maintenance method and terminal device
CN105354734A (en) Information processing method and apparatus and terminal
CN104636442A (en) Name card transfer method and device
CN109685473A (en) Official documents and correspondence amending method and device

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