CN104468230A - Configuration file management method, reading method and corresponding device and system - Google Patents

Configuration file management method, reading method and corresponding device and system Download PDF

Info

Publication number
CN104468230A
CN104468230A CN201410806602.6A CN201410806602A CN104468230A CN 104468230 A CN104468230 A CN 104468230A CN 201410806602 A CN201410806602 A CN 201410806602A CN 104468230 A CN104468230 A CN 104468230A
Authority
CN
China
Prior art keywords
configuration file
memory device
fetch interface
client
file
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
CN201410806602.6A
Other languages
Chinese (zh)
Other versions
CN104468230B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410806602.6A priority Critical patent/CN104468230B/en
Publication of CN104468230A publication Critical patent/CN104468230A/en
Application granted granted Critical
Publication of CN104468230B publication Critical patent/CN104468230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention provides a configuration file management method, a configuration file reading method and a corresponding device and system. The configuration file management method comprises the steps of receiving at least one configuration file uploaded by at least one server, respectively storing each configuration file, and setting reading interfaces corresponding to the configuration files for the corresponding configuration files so as to enable the client side to read the corresponding configuration files through the reading interfaces for the specific configuration files. According to the configuration file management method, the real-timeliness in the configuration file issuing process can be improved, the error rate in the configuration file issuing process can be can be reduced, and further normal operation of the client side is ensured.

Description

The management method of configuration file, read method, corresponding equipment and system
Technical field
The present invention relates to Internet technology, particularly relate to a kind of management method of configuration file, read method, corresponding equipment and system.
Background technology
In client running, need frequently to send a request message to server, and the configuration of configuration file to this locality of carrying in the response message returned according to server upgrades.Fig. 1 shows server in prior art and issues the scene schematic diagram of configuration file to client.Wherein, A, B, C are the label distinguishing each client.Three clients shown in Fig. 1, in order to illustrate may there is multiple client in practical application.Known see Fig. 1, issue in process at configuration file, every station server needs the request message processing multiple, even hundreds and thousands of up to ten thousand clients, and issues configuration file according to the request message received, and server operation amount is huge.And server operation amount is huge easily causes configuration file to issue in process easily to make mistakes, issue the problem that process error rate is high.In addition, server issues configuration file to client, when needs issue configuration file to a large amount of client, issues process poor real.
To sum up, in prior art, directly issue the method poor real of configuration file to client according to the request message received by server, error rate is high, and these all may cause harmful effect to the normal operation of client.
Summary of the invention
In view of the above problems, embodiments of the invention propose a kind of management method, read method, corresponding equipment and system of configuration file, to overcome the problems referred to above or to solve the problem at least in part.
According to an aspect of of the present present invention, provide a kind of management method of configuration file, comprising: receive at least one configuration file that at least one server is uploaded; Store each configuration file respectively; And, for each configuration file arranges the fetch interface corresponding with it, read corresponding configuration file for client by the fetch interface for particular profile.
Alternatively, the described step storing each configuration file respectively comprises further:
For the arbitrary configuration file in each configuration file,
Copy the described configuration file of predetermined number; And
The described configuration file of predetermined number part is stored in respectively the storage pool that predetermined number is individual, wherein, each described storage pool stores a described configuration file.
Alternatively, the step copying the described configuration file of predetermined number described in comprises further:
Attribute information according to described configuration file is arranged described predetermined number in copy volume, wherein, the attribute information of described configuration file at least comprises the file size of described configuration file, the file important level of described configuration file, the file degree of secrecy of described configuration file; And
According to arrange copy described predetermined number copy described configuration file.
Alternatively, the step of the described fetch interface corresponding with it for each configuration file setting comprises further:
For configuration file arbitrary in each configuration file,
For a described predetermined number storage pool for described configuration file arranges same fetch interface.
According to another aspect of the present invention, additionally provide a kind of management method of configuration file, comprising:
Store at least one configuration file; And
At least one configuration file described is uploaded to memory device, is that at least one configuration file described arranges fetch interface corresponding respectively by described memory device, reads at least one configuration file described for client.
Alternatively, described method comprises further:
In described memory device, select fetch interface for particular profile to read corresponding configuration file.
According to another aspect of the present invention, additionally provide a kind of configuration file read method, comprising:
Receive the address of the memory device of corresponding particular profile, wherein, in described memory device, store at least one configuration file, and each configuration file is provided with corresponding fetch interface;
According to the address of described memory device, find corresponding memory device; And
In described memory device, select fetch interface for described particular profile to read described particular profile.
Alternatively, in described memory device, the fetch interface for described particular profile is selected to comprise further with the step reading described particular profile:
Selected for the fetch interface of described particular profile by mount point file to read described particular profile in described memory device.
According to another aspect of the present invention, additionally provide a kind of configuration file management equipment, comprising:
Receiver, is suitable for receiving at least one configuration file uploaded with at least one server of this configuration file management device coupled;
Memory, is suitable for storing each configuration file respectively;
Device is set, is suitable for each configuration file and the fetch interface corresponding with it is set, read corresponding configuration file for client by the fetch interface for particular profile.
Alternatively, described memory is also suitable for:
For the arbitrary configuration file in each configuration file,
Copy the described configuration file of predetermined number; And
The described configuration file of predetermined number part is stored in respectively the storage pool that predetermined number is individual, wherein, each described storage pool stores a described configuration file.
Alternatively, described memory is also suitable for:
Attribute information according to described configuration file is arranged described predetermined number in copy volume, wherein, the attribute information of described configuration file at least comprises the file size of described configuration file, the file important level of described configuration file, the file degree of secrecy of described configuration file;
Described configuration file is copied according to the described predetermined number arranged.
Alternatively, the described device that arranges also is suitable for:
For configuration file arbitrary in each configuration file,
For a described predetermined number storage pool for described configuration file arranges same fetch interface.
Alternatively, described configuration file management equipment is arranged in memory device.
According to another aspect of the present invention, additionally provide a kind of configuration file management equipment, comprising:
Internal memory, is suitable for storing at least one configuration file;
Transmitter, is suitable at least one configuration file described to be uploaded to memory device, is that each configuration file arranges fetch interface, reads for client by described memory device.
Alternatively, described equipment also comprises:
Reader, is suitable in described memory device, select the fetch interface for particular profile to read corresponding configuration file.
Alternatively, described configuration file management equipment is arranged in server.
According to another aspect of the present invention, additionally provide a kind of client, comprising:
Receiver, is suitable for the memory device address receiving corresponding particular profile;
Finger, is suitable for according to described memory device address, and find corresponding memory device, wherein, described memory device stores at least one configuration file, and each configuration file is provided with corresponding fetch interface;
Reader, is suitable for selecting fetch interface for particular profile to read corresponding configuration file in described memory device.
Alternatively, described reader is also suitable for:
Select to read corresponding configuration file for the fetch interface of particular profile by mount point file in described memory device.
According to another aspect of the present invention, additionally provide a kind of profile management systems, comprise possess configuration file memory function configuration file management equipment, at least one possesses configuration file management equipment and at least one client of configuration file upload function.
According to the management method of the configuration file of the embodiment of the present invention, at least one configuration file that at least one server is uploaded can be received, store each configuration file respectively, and be that each configuration file arranges the fetch interface corresponding with it, read corresponding configuration file for client by the fetch interface for particular profile.It can thus be appreciated that, in the management method of the configuration file that the embodiment of the present invention provides, server in prior art is directly issued the mode of configuration file to client, replace with the mode that server upload configuration file reads for client, server is reduced to a upload operation for a large amount of operation that issues of a configuration file.Such as, in prior art, server needs to issue configuration file to 100 client, then server at least needs execution to issue operation 100 times, and the management method of the configuration file of the foundation embodiment of the present invention, only need server to perform a upload operation, independently read configuration file by 100 clients.Therefore, the management method according to the configuration file of the embodiment of the present invention significantly can reduce the operational ton of server, and reduction configuration file issues the error rate in process.In addition, in this example, server is issued configuration file and issue process to each client, fetch interface is set by each configuration file for storing and replaces with the reading process that client reads configuration file, therefore, it is possible to improve the real-time that configuration file issues process.To sum up, the management method according to the configuration file of the embodiment of the present invention can improve the real-time that configuration file issues process, and reduces the error rate that configuration file issues process, further for the normal operation of client is given security.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows server in prior art and issues the scene schematic diagram of configuration file to client;
Fig. 2 shows the schematic flow sheet of the management method of the configuration file being applied to memory device side according to an embodiment of the invention;
Fig. 3 shows according to an embodiment of the invention according to the schematic diagram of the process of the predetermined number Copy Profile arranged in copy volume;
Fig. 4 shows the schematic flow sheet of the management method of the configuration file being applied to server side according to an embodiment of the invention;
Fig. 5 shows the schematic flow sheet of configuration file read method according to an embodiment of the invention;
Fig. 6 shows the structural representation of the first configuration file management equipment according to an embodiment of the invention;
Fig. 7 shows the structural representation of the second configuration file management equipment according to an embodiment of the invention;
Fig. 8 shows the structural representation of the second configuration file management equipment in accordance with another embodiment of the present invention;
Fig. 9 shows the structural representation of client according to an embodiment of the invention; And
Figure 10 shows the structural representation of profile management systems according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving the problems of the technologies described above, the embodiment of the present invention additionally provides a kind of management method being applied to the configuration file of memory device side.Fig. 2 shows the process chart of the management method of the configuration file being applied to memory device side according to an embodiment of the invention.Please refer to Fig. 2, this flow process at least comprises the steps:
Step S202: receive at least one configuration file that at least one server is uploaded;
Step S204: store each configuration file respectively;
Step S206: for each configuration file arranges the fetch interface corresponding with it, reads corresponding configuration file for client by the fetch interface for particular profile.
According to the management method of the configuration file of the embodiment of the present invention, at least one configuration file that at least one server is uploaded can be received, store each configuration file respectively, and be that each configuration file arranges the fetch interface corresponding with it, read corresponding configuration file for client by the fetch interface for particular profile.It can thus be appreciated that, in the management method of the configuration file that the embodiment of the present invention provides, server in prior art is directly issued the mode of configuration file to client, replace with the mode that server upload configuration file reads for client, server is reduced to a upload operation for a large amount of operation that issues of a configuration file.Such as, in prior art, server needs to issue configuration file to 100 client, then server at least needs execution to issue operation 100 times, and the management method of the configuration file of the foundation embodiment of the present invention, only need server to perform a upload operation, independently read configuration file by 100 clients.Therefore, the management method according to the configuration file of the embodiment of the present invention significantly can reduce the operational ton of server, and reduction configuration file issues the error rate in process.In addition, in this example, server is issued configuration file and issue process to each client, fetch interface is set by each configuration file for storing and replaces with the reading process that client reads configuration file, therefore, it is possible to improve the real-time that configuration file issues process.To sum up, the management method according to the configuration file of the embodiment of the present invention can improve the real-time that configuration file issues process, and reduces the error rate that configuration file issues process, further for the normal operation of client is given security.
As shown in the step S202 in Fig. 2, in this example, store each configuration file received respectively.When storing arbitrary configuration file, for ensureing the consistency of the configuration file that client reads in subsequent process, the embodiment of the present invention copies the configuration file of predetermined number, and the configuration file of predetermined number part is stored in the storage pool of equivalent amount respectively, wherein, each storage pool stores a configuration file.When configuration file arbitrary in many parts of same configuration files due to misoperation etc. damaged and/or deleted time, what provide other these configuration files for needing the client reading this configuration file copies version, to ensure that client can read correct configuration file, ensure the normal operation of client further.
In addition, when copying configuration file, the embodiment of the present invention is arranged the predetermined number of Copy Profile in copy volume according to the attribute information of configuration file.Wherein, the attribute information of configuration file can comprise the degree of secrecy of the file size of configuration file and/or the important level of configuration file and/or configuration file.Copy volume is that the unification of different storage pools storing same configuration file arranges rule, in copy volume, carry out record to the predetermined number of Copy Profile, and each copies the information of the storage pool of version to record store configuration files.
The reproduction process of embodiment to configuration file is now provided to be introduced.Such as, receive three parts of configuration files X, Y, Z that server A is uploaded, wherein, the attribute information of three parts of configuration files is respectively:
Configuration file X: file size is 300KB, file important level is senior, and file degree of secrecy is rudimentary;
Configuration file Y: file size is 30M, file important level is rudimentary, and file degree of secrecy is rudimentary;
Configuration file Z: file size is 300KB, file important level is senior, and file degree of secrecy is senior.
In copy volume, the predetermined number that it copies is arranged respectively according to configuration file X, Y, Z attribute information separately:
(1) for configuration file X, file size is less, file important level is higher, and file degree of secrecy is lower, known, too much space resources can not be taken to copying of this configuration file, and can strengthen, to the conforming guarantee of configuration file, therefore, arranging and carrying out book copying to it to copying of this configuration file, such as, the predetermined number arranging Copy Profile X is 10 parts;
(2) for configuration file Y, file size is comparatively large, and file important level is lower, file degree of secrecy is lower, therefore, needs to take more space resources to copying of this configuration file, can arrange and carry out few part to it and copy, such as, the predetermined number arranging Copy Profile Y is 2 parts;
(3) for configuration file Z, file size is less, file important level is higher, and file degree of secrecy is higher, known, although too much space resources can not be taken to copying of this configuration file, and can strengthen the conforming guarantee of this configuration file to copying of this configuration file, but file may be caused to be improved by the possibility revealed the book copying of this configuration file, the privacy of the configuration file that this confidentiality is higher cannot be ensured, therefore, arrange and a middle quantity can be set according to concrete configuration file to its predetermined number copied, such as, the predetermined number arranging configuration file Z is 3 parts.
It should be noted that, in this example, to the determination of file size and/or file important level and/or file degree of secrecy, and/or the setting of corresponding predetermined number is example, can not cause any restriction to the deterministic process in practical application and/or setting up procedure.
Fig. 3 shows according to an embodiment of the invention according to the schematic diagram of the process of the predetermined number Copy Profile arranged in copy volume.See Fig. 3, for configuration file, according to the predetermined number arranged in copy volume, copy two parts of configuration files, and be stored in storage pool 1 and storage pool 2 respectively.
After the configuration file copied is stored in each storage pool respectively, for all storage pools of same configuration file arrange same fetch interface, avoid as many parts of same configuration files arrange the problem of the fetch interface confusion that fetch interface causes respectively, under the conforming prerequisite of raising configuration file, ensure that client reads the convenience of configuration file.
Based on the management method being applied to the configuration file of memory device side that each embodiment above provides, the embodiment of the present invention additionally provides a kind of management method being applied to the configuration file of server side.Fig. 4 shows the handling process schematic diagram of the management method of the configuration file being applied to server side according to an embodiment of the invention.See Fig. 4, this flow process at least comprises the steps:
Step S402: store at least one configuration file;
Step S404: at least one configuration file is uploaded to memory device, is that at least one configuration file arranges fetch interface corresponding respectively by memory device, reads at least one configuration file for client.
According to the management method of the configuration file of the embodiment of the present invention, at least one configuration file stored can be uploaded to memory device, be that at least one configuration file arranges corresponding fetch interface by memory device, read for client.Known, server is reduced to a upload operation for a large amount of operation that issues of a configuration file by the management method of the configuration file of the embodiment of the present invention, significantly reduce the operational ton of server, therefore, it is possible to reduction configuration file issues the error rate in process.In addition, in this example, server is issued configuration file and issue process to each client, replace with the reading process that client reads configuration file, therefore, it is possible to improve the real-time that configuration file issues process.To sum up, the configuration file storing process according to the embodiment of the present invention can improve the real-time that configuration file issues process, and reduces the error rate that configuration file issues process, further for the normal operation of client is given security.
In addition, in the embodiment of the present invention, except being uploaded to except memory device by the configuration file of storage, the fetch interface for particular profile can also be selected in memory device to read corresponding configuration file.Namely the configuration file being uploaded to memory device has global visibility.
Based on the management method of the configuration file that each embodiment above provides, the embodiment of the present invention additionally provides a kind of configuration file read method.Fig. 5 shows the handling process schematic diagram of configuration file read method according to an embodiment of the invention.See Fig. 5, this flow process at least comprises the steps:
Step S502: the address receiving the memory device of extraneous transmission, wherein, stores at least one configuration file in memory device, and each configuration file is provided with corresponding fetch interface;
Step S504: according to the address of memory device, finds corresponding memory device;
Step S506: select fetch interface for particular profile to read particular profile in memory device.
According to the configuration file read method of the embodiment of the present invention, the address of the memory device of extraneous transmission can be received, according to the address search of memory device to corresponding memory device, and in memory device, the fetch interface for particular profile is selected to read corresponding configuration file.Known, according to the configuration file read method of the embodiment of the present invention, wait-receiving mode in prior art can be converted to the active process directly reading configuration file in memory device from the passive process of the configuration file of server, therefore, the real-time reading configuration file can be improved, further, the operation reducing server can reduce the error rate that configuration file issues process, ensures the normal operation of client further.
In addition, in this example, when selecting the fetch interface for particular profile to read corresponding configuration file in memory device, in memory device, select the fetch interface for particular profile by mount point file, each client selects corresponding fetch interface to read configuration file by mount point file to utilize the versatility of mount point file to ensure.
Based on the management method of the configuration file storage means configuration file that each embodiment above provides, based on same inventive concept, the embodiment of the present invention additionally provides a kind of storage device configurations file management facilities.In this example, the configuration file management equipment that there is current configuration file management equipment and hereafter will introduce, function is different in this example for two configuration file management equipment, for introducing succinctly clear, distinguishing two configuration file management equipment in this example is the first configuration file management equipment and the second configuration file management equipment, and the configuration file management equipment arranging current introduction is the first configuration file management equipment.Fig. 6 shows the structural representation of the first configuration file management equipment according to an embodiment of the invention.See Fig. 6, the first configuration file management equipment of the embodiment of the present invention at least comprises receiver 610, memory 620 and arranges device 630.
Now introduce the annexation between each device of the first configuration file management equipment of the embodiment of the present invention or the function of composition and each several part:
Receiver 610: be suitable for receiving at least one configuration file that at least one server of being coupled with this memory device is uploaded;
Memory 620: be coupled with receiver 610, is suitable for storing each configuration file respectively;
Device 630 is set: be coupled with memory 620, is suitable for each configuration file and the fetch interface corresponding with it is set, read corresponding configuration file for client by the fetch interface for particular profile.
In another embodiment, memory 620 is also suitable for: for the arbitrary configuration file in each configuration file, copy the configuration file of predetermined number; The configuration file of predetermined number part is stored in respectively the storage pool that predetermined number is individual, wherein, each storage pool stores a configuration file.
In another embodiment, memory 620 is also suitable for:
Attribute information according to configuration file is arranged predetermined number in copy volume, and wherein, the attribute information of configuration file at least comprises the file size of configuration file, the file important level of configuration file, the file degree of secrecy of configuration file; According to the predetermined number Copy Profile of equipment.
In another embodiment, device 630 is set and is also suitable for: for configuration file arbitrary in each configuration file, for a predetermined number storage pool for configuration file arranges same fetch interface.
In another embodiment, the first configuration file management equipment is arranged in memory device.
Based on the management method of the configuration file that each embodiment above provides, based on same inventive concept, the embodiment of the present invention additionally provides a kind of second configuration file management equipment.Fig. 7 shows the structural representation of the second configuration file management equipment according to an embodiment of the invention.See Fig. 7, the second configuration file management equipment of the embodiment of the present invention at least comprises internal memory 710 and transmitter 720.
Now introduce the annexation between each device of the second configuration file management equipment of the embodiment of the present invention or the function of composition and each several part:
Internal memory 710: be suitable for storing at least one configuration file;
Transmitter 720: be coupled with internal memory 710, is suitable at least one configuration file to be uploaded to memory device, is that each configuration file arranges fetch interface, reads for client by memory device.
Fig. 8 shows the structural representation of the second configuration file management equipment in accordance with another embodiment of the present invention.Please also refer to Fig. 7 and Fig. 8, compare the second configuration file management equipment shown in Fig. 7, and the second configuration file management equipment (shown in Fig. 8) in this example also comprises:
Reader 730: be coupled with internal memory 710, is suitable for selecting fetch interface for particular profile to read particular profile in memory device.
In another embodiment, the second configuration file management equipment is arranged in server.
Based on the configuration file read method that each embodiment above provides, based on same inventive concept, the embodiment of the present invention additionally provides a kind of client.Fig. 9 shows the structural representation of client according to an embodiment of the invention.See Fig. 9, the client of the embodiment of the present invention at least comprises receiver 910, finger 920 and reader 930.
Now introduce the annexation between each device of the client of the embodiment of the present invention or the function of composition and each several part:
Receiver 910: be suitable for the memory device address receiving corresponding particular profile;
Finger 920: be coupled with receiver 910, is suitable for according to memory device address, and find corresponding memory device, wherein, memory device stores at least one configuration file, and each configuration file is provided with corresponding fetch interface;
Reader 930: be coupled with finger 920, is suitable for selecting fetch interface for particular profile to read particular profile in memory device.
In another embodiment, reader 930 is also suitable for: in memory device, pass through the fetch interface of mount point file selection for particular profile to read particular profile.
The equipment (comprising first, second configuration file management equipment and client) of the management method of the configuration file provided based on each embodiment above, configuration file read method and correspondence, based on same inventive concept, the embodiment of the present invention additionally provides a kind of profile management systems.Figure 10 shows the structural representation of profile management systems according to an embodiment of the invention.See Figure 10, the profile management systems of the embodiment of the present invention comprises at least one second profile management systems 1010 as shown in Fig. 7 and/or Fig. 8, the first configuration file management equipment 1020 as shown in Figure 6 and at least one client 1030.It should be noted that, a second configuration file management equipment 1010 and a client 1030 is illustrate only in Figure 10, in practical application, the second configuration file management equipment 1010 in native system and/or client 1030 can be arbitrary integers, and the embodiment of the present invention is not limited this.The operation that each second configuration file management equipment 1010 in native system performs in the present system and/or function class are seemingly, therefore only illustrate in Figure 10 that a second configuration file management equipment 1010 carries out example, the second configuration file management equipment 1010 that may exist for other repeats no more.In like manner, for only illustrating in the client 1030, Figure 10 in native system that a client 1030 carries out example, the client 1030 that may exist for other repeats no more.
According to the combination of any one embodiment above-mentioned or multiple embodiment, the embodiment of the present invention can reach following beneficial effect:
According to the management method of the configuration file of the embodiment of the present invention, at least one configuration file that at least one server is uploaded can be received, store each configuration file respectively, and be that each configuration file arranges the fetch interface corresponding with it, read corresponding configuration file for client by the fetch interface for particular profile.It can thus be appreciated that, in the management method of the configuration file that the embodiment of the present invention provides, server in prior art is directly issued the mode of configuration file to client, replace with the mode that server upload configuration file reads for client, server is reduced to a upload operation for a large amount of operation that issues of a configuration file.Such as, in prior art, server needs to issue configuration file to 100 client, then server at least needs execution to issue operation 100 times, and the management method of the configuration file of the foundation embodiment of the present invention, only need server to perform a upload operation, independently read configuration file by 100 clients.Therefore, the management method according to the configuration file of the embodiment of the present invention significantly can reduce the operational ton of server, and reduction configuration file issues the error rate in process.In addition, in this example, server is issued configuration file and issue process to each client, fetch interface is set by each configuration file for storing and replaces with the reading process that client reads configuration file, therefore, it is possible to improve the real-time that configuration file issues process.To sum up, the management method according to the configuration file of the embodiment of the present invention can improve the real-time that configuration file issues process, and reduces the error rate that configuration file issues process, further for the normal operation of client is given security.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the device of the embodiment of the present invention or equipment.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
The invention also discloses the management method of an A1. configuration file, comprising:
Receive at least one configuration file that at least one server is uploaded;
Store each configuration file respectively; And
For each configuration file arranges the fetch interface corresponding with it, read corresponding configuration file for client by the fetch interface for particular profile.
A2. the method according to A1, wherein, the described step storing each configuration file respectively comprises further:
For the arbitrary configuration file in each configuration file,
Copy the described configuration file of predetermined number; And
The described configuration file of predetermined number part is stored in respectively the storage pool that predetermined number is individual, wherein, each described storage pool stores a described configuration file.
A3. the method according to A2, wherein, described in copy the described configuration file of predetermined number step comprise further:
Attribute information according to described configuration file is arranged described predetermined number in copy volume, wherein, the attribute information of described configuration file at least comprises the file size of described configuration file, the file important level of described configuration file, the file degree of secrecy of described configuration file; And
According to arrange copy described predetermined number copy described configuration file.
A4. the method according to A2 or A3, wherein, the step of the described fetch interface corresponding with it for each configuration file setting comprises further:
For configuration file arbitrary in each configuration file,
For a described predetermined number storage pool for described configuration file arranges same fetch interface.
The invention also discloses the management method of a B5. configuration file, comprising:
Store at least one configuration file; And
At least one configuration file described is uploaded to memory device, is that at least one configuration file described arranges fetch interface corresponding respectively by described memory device, reads at least one configuration file described for client.
B6. the method according to B5, wherein, described method comprises further:
In described memory device, select fetch interface for particular profile to read corresponding configuration file.
The invention also discloses C7. configuration file read method, comprising:
Receive the address of the memory device of corresponding particular profile, wherein, in described memory device, store at least one configuration file, and each configuration file is provided with corresponding fetch interface;
According to the address of described memory device, find corresponding memory device; And
In described memory device, select fetch interface for described particular profile to read described particular profile.
C8. the method according to C7, wherein, in described memory device, select the fetch interface for described particular profile to comprise further with the step reading described particular profile:
Selected for the fetch interface of described particular profile by mount point file to read described particular profile in described memory device.
The invention also discloses D9. configuration file management equipment, comprising:
Receiver, is suitable for receiving at least one configuration file uploaded with at least one server of this configuration file management device coupled;
Memory, is suitable for storing each configuration file respectively;
Device is set, is suitable for each configuration file and the fetch interface corresponding with it is set, read corresponding configuration file for client by the fetch interface for particular profile.
D10. the equipment according to D9, wherein, described memory is also suitable for:
For the arbitrary configuration file in each configuration file,
Copy the described configuration file of predetermined number; And
The described configuration file of predetermined number part is stored in respectively the storage pool that predetermined number is individual, wherein, each described storage pool stores a described configuration file.
D11. the equipment according to D10, wherein, described memory is also suitable for:
Attribute information according to described configuration file is arranged described predetermined number in copy volume, wherein, the attribute information of described configuration file at least comprises the file size of described configuration file, the file important level of described configuration file, the file degree of secrecy of described configuration file; And
Described configuration file is copied according to the described predetermined number arranged.
D12. the equipment according to D10 or D11, wherein, the described device that arranges also is suitable for:
For configuration file arbitrary in each configuration file,
For a described predetermined number storage pool for described configuration file arranges same fetch interface.
D13. the equipment according to any one of D9 to D12, wherein, described configuration file management equipment is arranged in memory device.
The invention also discloses E14. configuration file management equipment, comprising:
Internal memory, is suitable for storing at least one configuration file;
Transmitter, is suitable at least one configuration file described to be uploaded to memory device, is that each configuration file arranges fetch interface, reads for client by described memory device.
E15. the equipment according to E14, wherein, described equipment also comprises:
Reader, is suitable in described memory device, select the fetch interface for particular profile to read corresponding configuration file.
E16. the equipment according to E14 or E15, wherein, described configuration file management equipment is arranged in server.
The invention also discloses F17. client, comprising:
Receiver, is suitable for the memory device address receiving corresponding particular profile;
Finger, is suitable for according to described memory device address, and find corresponding memory device, wherein, described memory device stores at least one configuration file, and each configuration file is provided with corresponding fetch interface; And
Reader, is suitable for selecting fetch interface for particular profile to read corresponding configuration file in described memory device.
F18. the client according to F17, wherein, described reader is also suitable for:
Select to read corresponding configuration file for the fetch interface of particular profile by mount point file in described memory device.
The invention also discloses G19. profile management systems, comprise the configuration file management equipment described in any one of D9 to D13, configuration file management equipment described in any one of at least one claim E14 to E16 and at least one client.

Claims (10)

1. a management method for configuration file, comprising:
Receive at least one configuration file that at least one server is uploaded;
Store each configuration file respectively; And
For each configuration file arranges the fetch interface corresponding with it, read corresponding configuration file for client by the fetch interface for particular profile.
2. method according to claim 1, wherein, the described step storing each configuration file respectively comprises further:
For the arbitrary configuration file in each configuration file,
Copy the described configuration file of predetermined number; And
The described configuration file of predetermined number part is stored in respectively the storage pool that predetermined number is individual, wherein, each described storage pool stores a described configuration file.
3. method according to claim 2, wherein, described in copy the described configuration file of predetermined number step comprise further:
Attribute information according to described configuration file is arranged described predetermined number in copy volume, wherein, the attribute information of described configuration file at least comprises the file size of described configuration file, the file important level of described configuration file, the file degree of secrecy of described configuration file; And
According to arrange copy described predetermined number copy described configuration file.
4. according to the method in claim 2 or 3, wherein, the step of the described fetch interface corresponding with it for each configuration file setting comprises further:
For configuration file arbitrary in each configuration file,
For a described predetermined number storage pool for described configuration file arranges same fetch interface.
5. a management method for configuration file, comprising:
Store at least one configuration file; And
At least one configuration file described is uploaded to memory device, is that at least one configuration file described arranges fetch interface corresponding respectively by described memory device, reads at least one configuration file described for client.
6. a configuration file read method, comprising:
Receive the address of the memory device of corresponding particular profile, wherein, in described memory device, store at least one configuration file, and each configuration file is provided with corresponding fetch interface;
According to the address of described memory device, find corresponding memory device; And
In described memory device, select fetch interface for described particular profile to read described particular profile.
7. a configuration file management equipment, comprising:
Receiver, is suitable for receiving at least one configuration file uploaded with at least one server of this configuration file management device coupled;
Memory, is suitable for storing each configuration file respectively;
Device is set, is suitable for each configuration file and the fetch interface corresponding with it is set, read corresponding configuration file for client by the fetch interface for particular profile.
8. a configuration file management equipment, comprising:
Internal memory, is suitable for storing at least one configuration file;
Transmitter, is suitable at least one configuration file described to be uploaded to memory device, is that each configuration file arranges fetch interface, reads for client by described memory device.
9. a client, comprising:
Receiver, is suitable for the memory device address receiving corresponding particular profile;
Finger, is suitable for according to described memory device address, and find corresponding memory device, wherein, described memory device stores at least one configuration file, and each configuration file is provided with corresponding fetch interface; And
Reader, is suitable for selecting fetch interface for particular profile to read corresponding configuration file in described memory device.
10. a profile management systems, comprises configuration file management equipment according to claim 6, at least one configuration file management equipment according to claim 7 and at least one client.
CN201410806602.6A 2014-12-22 2014-12-22 Management method, read method, corresponding equipment and the system of configuration file Active CN104468230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410806602.6A CN104468230B (en) 2014-12-22 2014-12-22 Management method, read method, corresponding equipment and the system of configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410806602.6A CN104468230B (en) 2014-12-22 2014-12-22 Management method, read method, corresponding equipment and the system of configuration file

Publications (2)

Publication Number Publication Date
CN104468230A true CN104468230A (en) 2015-03-25
CN104468230B CN104468230B (en) 2018-09-11

Family

ID=52913639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410806602.6A Active CN104468230B (en) 2014-12-22 2014-12-22 Management method, read method, corresponding equipment and the system of configuration file

Country Status (1)

Country Link
CN (1) CN104468230B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102083A (en) * 2016-05-19 2016-11-09 青岛海信移动通信技术股份有限公司 Collocation method and equipment
CN107423345A (en) * 2017-05-16 2017-12-01 郑州云海信息技术有限公司 A kind of configuration file management method, equipment and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741462A (en) * 2004-08-23 2006-03-01 华为技术有限公司 Method for controlling and managing telecommunication equipment in network management system
CN101119226A (en) * 2006-07-31 2008-02-06 中兴通讯股份有限公司 Method and system for updating terminal equipment database configuration
US20110093516A1 (en) * 2006-08-23 2011-04-21 Zte Corporation implementation method for updating the terminals in batches
CN102088491A (en) * 2011-02-01 2011-06-08 西安建筑科技大学 Distributed storage oriented cloud storage security architecture and data access method thereof
CN102467520A (en) * 2010-11-10 2012-05-23 金蝶软件(中国)有限公司 Data storage method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1741462A (en) * 2004-08-23 2006-03-01 华为技术有限公司 Method for controlling and managing telecommunication equipment in network management system
CN101119226A (en) * 2006-07-31 2008-02-06 中兴通讯股份有限公司 Method and system for updating terminal equipment database configuration
US20110093516A1 (en) * 2006-08-23 2011-04-21 Zte Corporation implementation method for updating the terminals in batches
CN102467520A (en) * 2010-11-10 2012-05-23 金蝶软件(中国)有限公司 Data storage method and device
CN102088491A (en) * 2011-02-01 2011-06-08 西安建筑科技大学 Distributed storage oriented cloud storage security architecture and data access method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102083A (en) * 2016-05-19 2016-11-09 青岛海信移动通信技术股份有限公司 Collocation method and equipment
CN106102083B (en) * 2016-05-19 2020-02-07 青岛海信移动通信技术股份有限公司 Configuration method and equipment
CN107423345A (en) * 2017-05-16 2017-12-01 郑州云海信息技术有限公司 A kind of configuration file management method, equipment and system

Also Published As

Publication number Publication date
CN104468230B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN104036011A (en) Webpage element display method and browser device.
CN104516966A (en) High-availability solving method and device of database cluster
CN104462517A (en) Data synchronizing method and device
CN103761141A (en) Method and device for realizing message queue
CN105045602A (en) Method and device for constructing Hadoop application development framework and electronic device
CN104423961A (en) Method and system for generating testing script
CN108255989B (en) Picture storage method and device, terminal equipment and computer storage medium
CN104410680A (en) Method, client terminal, server and system of sharing file/file folder
CN104991921A (en) Data query method, client and server
CN103678600A (en) Webpage data processing method and equipment
CN103618824B (en) Method and the mobile terminal of information transmission is carried out in address list program
CN104407937A (en) Method for loading data in browser and browser
CN111240892A (en) Data backup method and device
CN111897623A (en) Cluster management method, device, equipment and storage medium
CN105204963A (en) Data caching method and device
CN113032105A (en) Kubernetes cluster access control method, system and related equipment
CN110866382A (en) Document generation method, device, terminal equipment and medium
CN104618445A (en) Method and device for arranging files based on cloud storage space
CN104468230A (en) Configuration file management method, reading method and corresponding device and system
CN105138274A (en) Resource obtaining method of cloud disk and resource obtaining device of cloud disk
CN104504331A (en) Virtualization security detection method and system
CN106126595A (en) A kind of document down loading method and device
CN104410679A (en) Method, client terminal, server and system of extracting shared file/file folder
CN105468776A (en) Method, device and system for operating database
CN104504113A (en) Method and device for processing information by mobile browser and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.