CN106533764A - Configuration server, configuration client and configuration method and system - Google Patents

Configuration server, configuration client and configuration method and system Download PDF

Info

Publication number
CN106533764A
CN106533764A CN201611033041.6A CN201611033041A CN106533764A CN 106533764 A CN106533764 A CN 106533764A CN 201611033041 A CN201611033041 A CN 201611033041A CN 106533764 A CN106533764 A CN 106533764A
Authority
CN
China
Prior art keywords
configuration
file destination
outside
file
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611033041.6A
Other languages
Chinese (zh)
Inventor
安菲
李锦峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Cloud Service Information Technology Co Ltd
Original Assignee
Shandong Inspur Cloud Service Information 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 Shandong Inspur Cloud Service Information Technology Co Ltd filed Critical Shandong Inspur Cloud Service Information Technology Co Ltd
Priority to CN201611033041.6A priority Critical patent/CN106533764A/en
Publication of CN106533764A publication Critical patent/CN106533764A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a configuration server, a configuration client and a configuration method and system. The configuration server receives externally input target information through an application determination unit, and determines a target application according to the target information. Through an application update unit, at least one target file corresponding to the target application is determined. Externally input update information is received. Each target file is updated according to the update information. Each updated target file is provided for at least one external configuration client. The configuration server can provide the updated target file for multiple configuration clients. A configuration client generally relies on a terminal to use. The configuration server is able to provide the updated target file for a number of terminals which is provided with the configuration clients to update the application of the terminals. In the whole updating process, updating each terminal is not needed. The operation time is saved. The update efficiency of a configuration file can be effectively improved.

Description

A kind of configuration server, configuration client, collocation method and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of configuration server, configuration client, collocation method and System.
Background technology
Configuration file is user when computer is logged in, or when using software, software system will load institute for user Need the setting of environment and the set of file.With developing rapidly for modern information technologies, the configuration file of application system is increasingly It is many, while deployed environment also becomes increasingly complex, therefore, the renewal of configuration file is also gradually paid close attention to by technical staff.
At present, once a configuration file having in the terminal of intended application can only be updated, is if desired updated When the terminal of configuration file is more, then need by multi-pass operation to realize, for example, terminal A, B, C is separately mounted to using a In, now need to being updated using the configuration file x in a, then to need to carry out the configuration file x in terminal A, B, C respectively Update.Which expends the substantial amounts of operating time, and it is less efficient that configuration file updates.
The content of the invention
A kind of configuration server, configuration client, collocation method and system is embodiments provided, configuration is improve The renewal efficiency of file.
In a first aspect, a kind of configuration server is embodiments provided, including:
Using determining unit, for receiving the target information of outside input, according to the target information, determine that target should With;
Applying the update unit, for determining the intended application corresponding at least one of the applying the update unit determination File destination, receives the fresh information of outside input, according to the fresh information, file destination each described is carried out more Newly, and by each the described file destination after renewal it is supplied at least one configuration client of outside.
Preferably,
The fresh information, including:It is any one at least one first configuration item titles and corresponding configuration item content It is individual or multiple;
The applying the update unit, for including at least one configuration item title and corresponding when the fresh information simultaneously During configuration item content, by each described file destination each described first configuration item title corresponding with the intended application At least one of the second configuration item title matched, when current first configuration item title and current second configuration item title one During cause, using current second configuration item title correspondence described in the corresponding configuration item content update of the current first configuration item title Configuration item content.
Preferably,
The fresh information, further includes:The corresponding configuration file of each described file destination;
The applying the update unit, is further used for using the corresponding configuration file of described each described file destination, Replace the corresponding file destination.
Preferably,
The application determining unit, is further used for pre-setting the download CACHE DIRECTORY of each file destination, And the configuration client that CACHE DIRECTORY is supplied to the outside is downloaded by described.
Second aspect, embodiments provides a kind of configuration client, is applied to the terminal with intended application;Bag Include:
Configuration mode determining unit, for arranging at least one configuration mode, the triggering outside acceptance generates configuration and refers to Order, according to the configuration-direct, at least one configuration mode, determines target configuration mode;
Acquiring unit, the file destination after at least one renewal that the configuration server for obtaining outside is provided;
Updating block, for the target configuration mode that determined using the configuration mode determining unit and the acquisition File destination after at least one renewal that unit is obtained, is updated to the intended application.
Preferably,
Further include:CACHE DIRECTORY determining unit, wherein,
The CACHE DIRECTORY determining unit, for determining the address of the configuration server of the outside, and matches somebody with somebody described in determining The download CACHE DIRECTORY of each file destination of server offer is provided;
The acquiring unit, for the configuration server of the outside that determined according to the CACHE DIRECTORY determining unit Address, is determined the configuration server of the outside, and is connected with the configuration server of the outside, according to the configuration server The download CACHE DIRECTORY of each file destination for providing, after obtaining the renewal of configuration server offer of the outside Each described file destination.
The third aspect, embodiments provides a kind of collocation method, the configuration service being applied to described in first aspect Device, including:
Receive the target information of outside input;
According to the target information, intended application is determined;
Determine corresponding at least one file destination of the intended application;
Receive the fresh information of outside input;
According to the fresh information, file destination each described is updated, and by described in each after renewal File destination is supplied at least one configuration client of outside.
Preferably,
The fresh information, including:It is any one at least one first configuration item titles and corresponding configuration item content It is individual or multiple;
It is described file destination each described to be updated according to the fresh information, including:
When the fresh information includes at least one configuration item title and corresponding configuration item content simultaneously, by each The second configuration of at least one of the first configuration item title each described file destination corresponding with the intended application Title is matched, when current first configuration item title is consistent with current second configuration item title, using described current the The corresponding configuration item content of current second configuration item title described in the corresponding configuration item content update of one configuration item title;
Preferably,
The fresh information, further includes:The corresponding configuration file of each described file destination;
It is described file destination each described to be updated according to the fresh information, including:
Using the corresponding configuration file of described each described file destination, the corresponding file destination is replaced.
Preferably,
Further include:Pre-set the download CACHE DIRECTORY of each file destination;
File destination each described is updated described, afterwards, in described each described mesh by after renewal Before mark file is supplied at least one configuration client of outside, further include:By each the described target after renewal File storage is to corresponding download CACHE DIRECTORY;
Described each described file destination by after renewal is supplied at least one configuration client of outside, including: At least one configuration client that CACHE DIRECTORY is supplied to outside is downloaded by described.
Fourth aspect, embodiments provides a kind of collocation method, the configuration client being applied to described in the third aspect End, pre-sets at least one configuration mode, also includes:
Triggering outside receiving, generates configuration-direct;
According to the configuration-direct, at least one configuration mode, target configuration mode is determined;
File destination after at least one renewal that configuration server outside obtaining is provided;
File destination after being updated using the target configuration mode and described at least one, is carried out to the intended application Update.
In terms of 5th, a kind of configuration system is embodiments provided, including:Configuration clothes described in above-mentioned first aspect Configuration client described in business device and second aspect and at least one terminal with least one application;Wherein,
Each described configuration client is installed on the terminal with least one application described in, for the end Each application in end is updated.
Embodiments provide a kind of configuration server, configuration client, collocation method and system, the configuration service Device, by applying determining unit, receives the target information of outside input, according to target information, determines intended application;By application Updating block, determines corresponding at least one file destination of intended application, receives the fresh information of outside input, believes according to updating Breath, is updated to each file destination, and is supplied at least one of outside to match somebody with somebody each file destination after renewal Put client.As the file destination of renewal can be supplied to multiple configuration clients by the configuration server, and configure client End is general to rely on terminal to use.Then alternatively the file destination of renewal can be supplied to multiple being provided with by the configuration server The terminal of configuration client, with the applying the update to terminal.Without the need for carrying out more to each terminal during whole renewal It is new to operate, save the operating time such that it is able to effectively improve the renewal efficiency of configuration file.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structural representation of configuration server that one embodiment of the invention is provided;
Fig. 2 is a kind of structural representation of configuration client that one embodiment of the invention is provided;
Fig. 3 is the structural representation of another kind of configuration client that one embodiment of the invention is provided;
Fig. 4 is a kind of collocation method flow chart that one embodiment of the invention is provided;
Fig. 5 is another kind of collocation method flow chart that one embodiment of the invention is provided;
Fig. 6 is a kind of configuration system structure diagram that one embodiment of the invention is provided;
Fig. 7 is another collocation method flow chart that one embodiment of the invention is provided.
Specific embodiment
For making purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of configuration server, the configuration server can include:
Using determining unit 101, for receiving the target information of outside input, according to target information, intended application is determined;
Applying the update unit 102, for determining corresponding at least one mesh of intended application determined using determining unit 101 Mark file, receives the fresh information of outside input, according to fresh information, each file destination is updated, and will update Each file destination afterwards is supplied at least one configuration client of outside.
In the embodiment shown in fig. 1, by applying determining unit, the target information of outside input is received, according to target Information, determines intended application;By applying the update unit, corresponding at least one file destination of intended application is determined, receive outer The fresh information of portion's input, according to fresh information, is updated to each file destination, and by each target after renewal File is supplied at least one configuration client of outside.As the file destination of renewal can be supplied to by the configuration server Multiple configuration clients, and configure client and typically rely on terminal to use.Then alternatively the configuration server will can update File destination be supplied to it is multiple be provided with configuration client terminals, with the applying the update to terminal.In the whole mistake for updating Without the need for being updated operation to each terminal in journey, the operating time is saved such that it is able to effectively improve configuration file more New efficiency.
In one embodiment of the invention, in order to be updated to the configuration item in intended application, fresh information, bag Include:It is any one or more at least one first configuration item titles and corresponding configuration item content;Applying the update unit 102, for when fresh information simultaneously includes at least one configuration item title and corresponding configuration item content, by each first At least one of configuration item title each file destination corresponding with intended application the second configuration item title is matched, when When current first configuration item title is consistent with current second configuration item title, using the corresponding configuration of current first configuration item title The corresponding configuration item content of the current second configuration item title of item content update.
For intended application config update, two aspects are mainly included, is on the one hand the renewal of configuration item, be in configuration Appearance carries out local, small modification, is on the other hand the renewal of configuration file, is to be repaiied to configuring content on a large scale Change.The object for updating can be selected as needed.
For example, fresh information includes the first configuration item title A and corresponding configuration item contents a of A, now using fresh information pair Each file destination in 5 same target applications is updated.Multiple configuration items are included in each file destination, are utilized First configuration item title A is matched with the title in file destination one by one, until the first configuration item title A and the second configuration item When title is identical, using configuration item content a, the corresponding configuration item content of the second configuration item title is updated.
When the first configuration item title and more than one corresponding configuration item content that fresh information includes, it should utilize Each first configuration item title is matched respectively, realizes being updated multiple configuration items in intended application simultaneously.
In one embodiment of the invention, in order to be updated to the configuration file in intended application, fresh information, also Including:The corresponding configuration file of each file destination;Applying the update unit 102, can be also used for using each target text The corresponding configuration file of part, replaces corresponding file destination.
When configuration object is configuration file, directly file destination can be carried out using the configuration file in fresh information Update.
In one embodiment of the invention, in order to store each file destination, using determining unit 101, can be with For pre-setting the download CACHE DIRECTORY of each file destination, and outside configuration client is supplied to by CACHE DIRECTORY is downloaded End.
The download CACHE DIRECTORY can be used for each file destination after storing each file destination and updating, configuration visitor Family end according to the position of each file destination downloaded after CACHE DIRECTORY determination renewal, and then can complete configuration file more Newly.
As shown in Fig. 2 embodiments providing a kind of configuration client, the terminal with intended application is applied to, The configuration client can include:Configuration mode determining unit 201, for arranging at least one configuration mode, outside acceptance Triggering, generates configuration-direct, according to configuration-direct, at least one configuration mode, determines target configuration mode;Acquiring unit 202, the file destination after at least one renewal that the configuration server for obtaining outside is provided;Updating block 203, for profit Mesh after at least one renewal that the target configuration mode determined with configuration mode determining unit 201 and acquiring unit 202 are obtained Mark file, is updated to intended application.
The configuration client can be carried out more to intended application using the file destination after the renewal of configuration server offer Newly.The configuration client can periodically obtain the file destination after the renewal in configuration client, and update content is upgraded in time To in intended application.
In one embodiment of the invention, as shown in figure 3, in order to obtain each mesh after updating from configuration server Mark file, the configuration client also include:CACHE DIRECTORY determining unit 204, wherein, the CACHE DIRECTORY determining unit 204 is used for It is determined that the address of the configuration server of outside, and determine the download caching mesh of each file destination of configuration server offer Record;Acquiring unit 202, the address of the configuration server of outside for being determined according to CACHE DIRECTORY determining unit 204, it is determined that outward The configuration server in portion, and be connected with outside configuration server, each file destination provided according to configuration server Download CACHE DIRECTORY, each file destination after the renewal that the configuration server outside acquisition is provided.
As shown in figure 4, embodiments providing a kind of collocation method, matching somebody with somebody for above-mentioned any embodiment offer is applied to Server is put, the method may include steps of:
Step 401:Receive the target information of outside input;
Step 402:According to target information, intended application is determined;
Step 403:Determine corresponding at least one file destination of intended application;
Step 404:Receive the fresh information of outside input;
Step 405:According to fresh information, each file destination is updated, and by each target after renewal File is supplied at least one configuration client of outside.
The method can determine intended application by the target information for receiving, and then determine the corresponding target of intended application File, and file destination is updated using the fresh information for receiving, each file destination after renewal is supplied to outer At least one configuration client in portion.Fresh information can be fed back to configuration client by the method in time, realize simultaneously to many Individual intended application is updated, and improves and updates efficiency.
In one embodiment of the invention, in order to be updated to the configuration item of file destination, fresh information, including: It is any one or more at least one first configuration item titles and corresponding configuration item content;Step 405, including:When more When fresh information simultaneously includes at least one configuration item title and corresponding configuration item content, by each first configuration item title with The second configuration item title of at least one of corresponding each file destination of intended application is matched, when the current first configuration When item title is consistent with current second configuration item title, worked as using the corresponding configuration item content update of current first configuration item title The corresponding configuration item content of front second configuration item title.
In one embodiment of the invention, in order to be updated to the configuration file in intended application, fresh information, also Including:The corresponding configuration file of each file destination;Step 405, including:Using the corresponding configuration text of each file destination Part, replaces corresponding file destination.
In one embodiment of the invention, in order to deposit each file destination, the method also includes:Pre-set every The download CACHE DIRECTORY of one file destination;After being updated to each file destination, each after by renewal Before file destination is supplied at least one configuration client of outside, further include:By each the target text after renewal Part storage is to corresponding download CACHE DIRECTORY;Each file destination after renewal is supplied at least one configuration visitor of outside Family end, including:CACHE DIRECTORY will be downloaded is supplied at least one of outside to configure client.
As shown in figure 5, embodiments providing a kind of collocation method, matching somebody with somebody for above-mentioned any embodiment offer is applied to Client is put, the method may include steps of:
Step 501:Pre-set at least one configuration mode;
Step 502:Triggering outside receiving, generates configuration-direct;
Step 503:According to configuration-direct, at least one configuration mode, target configuration mode is determined;
Step 504:File destination after at least one renewal that configuration server outside obtaining is provided;
Step 505:File destination after being updated using target configuration mode and at least one, is carried out more to intended application Newly.
The collocation method is applied to configure client, can be by different configuration modes, after the renewal for obtaining File destination, is updated to intended application.
As shown in fig. 6, a kind of configuration system is embodiments provided, including:The configuration of any embodiment of the present invention The configuration client 602 and at least one of server 601 and at least one any embodiment of the present invention should with least one With 603 terminal 604;Wherein, each configuration client 602 is installed on a terminal 604 with least one application, uses Each in terminal 604 is updated using 603.
As a example by intended application A in 10 terminals is configured below, by configuration server be installed on terminal In configuration client interaction, launch explanation collocation method, as shown in fig. 7, the method may include steps of:
Step 701:The download caching mesh of corresponding 10 file destinations of intended application A is pre-set in configuration server Record.
In configuration server, in order to store at least one file destination of intended application, each target is pre-set The download CACHE DIRECTORY of file.Also, the file destination that the download CACHE DIRECTORY can be obtained after updating for configuration client is carried For convenient.
In the present embodiment, 10 file destinations of intended application A 10 terminals of correspondence can be stored in intended application A is corresponding to be downloaded under CACHE DIRECTORY.
Step 702:At least one configuration mode is pre-set in each configuration client.
Configuration mode includes:XML (Extensible Markup Language, extensible markup language) configuration modes and Note mode.Wherein, XML configuration modes are a kind of without intrusion pattern, reduce coupling, easily extend, configure the pass between object Be it is very clear, but workload is relative, and to explain mode bigger;Note mode is a kind of low intrusion pattern, and development efficiency is higher, Maintenance cost is low, but the succinctly degree of code is poor.Client is configured according to the configuration mode for determining by the file destination after renewal, It is configured in corresponding intended application.
Step 703:Configuration server receives the target information of outside input, according to target information, determines intended application A.
Target information can include:The title of application to be configured, the version of application, deployed environment of application etc..For example, connect The entitled A of the application of outside input is received, is then defined as intended application using A.
Step 704:Configuration server determines corresponding 10 file destinations of intended application A.
In the present embodiment, since it is desired that while configure to intended application A in 10 terminals, so in this step In, determine 10 file destinations.
Step 705:Configuration server receives the fresh information of outside input, according to fresh information, to each target text Part is updated, and triggers 10 configuration clients of outside.
For intended application config update, two aspects are mainly included, is on the one hand the renewal of configuration item, be in configuration Appearance carries out local, small modification, is on the other hand the renewal of configuration file, is to be repaiied to configuring content on a large scale Change.The object for updating can be selected as needed.
In the present embodiment, fresh information includes the first configuration item title B and corresponding configuration item contents b of B, now using more Fresh information is updated to each file destination in 10 same target applications.Match somebody with somebody comprising multiple in each file destination Put item, matched with the title in file destination using the first configuration item title B one by one, until the first configuration item title B with When second configuration item title is identical, using configuration item content b, the corresponding configuration item content of the second configuration item title is updated.
When the first configuration item title and more than one corresponding configuration item content that fresh information includes, it should utilize Each first configuration item title is matched respectively, realizes being updated multiple configuration items in intended application simultaneously.
In addition, when configuration object is configuration file, can be directly using the configuration file in fresh information to target text Part is updated.Comprising the update content to intended application in configuration file.
Step 706:Each configuration client receives the triggering of configuration server, generates corresponding configuration-direct, according to Configuration-direct, at least one configuration mode, determines target configuration mode.
In the present embodiment, what the file destination renewal that the configuration server outside the reception of configuration client sends was completed touches Send out, generate configuration-direct, in two kinds of configuration modes, determine that target configuration mode is:XML configuration modes.
Step 707:Each configuration client is obtained more according to the download CACHE DIRECTORY pre-set in configuration server File destination after new, using the file destination after target configuration mode and renewal, is updated to intended application.
In the present embodiment, the address according to outside configuration server, it is determined that the configuration server of outside, and with outside Configuration server connection, according to configuration server provide 10 file destinations download CACHE DIRECTORY, obtain outside matching somebody with somebody Each file destination after the renewal of server offer is provided.File destination after being updated using 10, is carried out to intended application A Update.
It should be noted that in order to realize periodically updating intended application, can also arrange more for configuration client In the new cycle, periodically file destination is obtained from configuration server.
To sum up, each embodiment of the invention at least has the effect that:
1st, in embodiments of the present invention, configuration server receives the target information of outside input by applying determining unit, According to target information, intended application is determined;By applying the update unit, the corresponding at least one target text of intended application is determined Part, receives the fresh information of outside input, according to fresh information, each file destination is updated, and by after renewal Each file destination is supplied at least one configuration client of outside.Due to the target that the configuration server will can update File is supplied to multiple configuration clients, and configures client and typically rely on terminal to use.The then alternatively configuration server The file destination of renewal can be supplied to multiple terminals for being provided with configuration client, with the applying the update to terminal.Whole Without the need for being updated operation to each terminal during individual renewal, the operating time is saved such that it is able to effectively improve and match somebody with somebody Put the renewal efficiency of file.
2nd, in embodiments of the present invention, configuration item can be updated, it is also possible to which configuration file is updated.Its In, when updating to configuration item, need to first pass through configuration item title and matched, be then updated using configuration item content, and For the renewal of configuration file, directly can be replaced with file destination.When the content of modification is less, can be with option and installment Item updates, and carries out local to file, and small range modification, when the content of modification is more, is directly replaced more using configuration file It is convenient.
3rd, in embodiments of the present invention, configuring client can be by the address of configuration server, and under file destination CACHE DIRECTORY is carried, the file destination after updating in obtaining configuration server.Configuration client can also periodically obtain renewal File destination afterwards, and then regular monitoring is realized, make intended application upgrade in time, and then reach preferable running status.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is made a distinction with another entity or operation, and not necessarily require or imply presence between these entities or operation Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non- Exclusiveness is included, so that a series of process, method, article or equipment including key elements not only includes those key elements, But also including other key elements being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element for being limited by sentence " including a 〃 ", does not arrange Except also there is other same factor in including the process of the key element, method, article or equipment.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of configuration server, it is characterised in that include:
Using determining unit, for receiving the target information of outside input, according to the target information, intended application is determined;
Applying the update unit, for determining corresponding at least one target of the intended application of the applying the update unit determination File, receives the fresh information of outside input, according to the fresh information, file destination each described is updated, and Each described file destination after renewal is supplied at least one configuration client of outside.
2. configuration server according to claim 1, it is characterised in that
The fresh information, including:In at least one first configuration item titles and corresponding configuration item content any one or It is multiple;
The applying the update unit, for including at least one configuration item title and corresponding configuration when the fresh information simultaneously During item content, by each described file destination each described first configuration item title corresponding with the intended application At least one second configuration item titles are matched, when current first configuration item title it is consistent with current second configuration item title When, it is corresponding using current second configuration item title described in the corresponding configuration item content update of the current first configuration item title Configuration item content.
3. configuration server according to claim 1 and 2, it is characterised in that
The fresh information, further includes:The corresponding configuration file of each described file destination;
The applying the update unit, is further used for, using the corresponding configuration file of described each described file destination, replacing The corresponding file destination;
And/or,
The application determining unit, is further used for pre-setting the download CACHE DIRECTORY of each file destination, and will It is described to download the configuration client that CACHE DIRECTORY is supplied to the outside.
4. it is a kind of to configure client, it is characterised in that to be applied to the terminal with intended application;Including:
Configuration mode determining unit, for arranging at least one configuration mode, the triggering outside acceptance generates configuration-direct, root According to the configuration-direct, at least one configuration mode, target configuration mode is determined;
Acquiring unit, the file destination after at least one renewal that the configuration server for obtaining outside is provided;
Updating block, for the target configuration mode that determined using the configuration mode determining unit and the acquiring unit File destination after at least one renewal for obtaining, is updated to the intended application.
5. configuration client according to claim 4, it is characterised in that further include:CACHE DIRECTORY determining unit, its In,
The CACHE DIRECTORY determining unit, for determining the address of the configuration server of the outside, and determines the configuration clothes The download CACHE DIRECTORY of each file destination that business device is provided;
The acquiring unit, the ground of the configuration server of the outside for being determined according to the CACHE DIRECTORY determining unit Location, is determined the configuration server of the outside, and is connected with the configuration server of the outside, carried according to the configuration server For each file destination download CACHE DIRECTORY, obtain every after the renewal that the configuration server of the outside is provided One file destination.
6. a kind of collocation method, it is characterised in that be applied to the arbitrary described configuration server of claims 1 to 3, including:
Receive the target information of outside input;
According to the target information, intended application is determined;
Determine corresponding at least one file destination of the intended application;
Receive the fresh information of outside input;
According to the fresh information, file destination each described is updated, and by each the described target after renewal File is supplied at least one configuration client of outside.
7. method according to claim 6, it is characterised in that
The fresh information, including:In at least one first configuration item titles and corresponding configuration item content any one or It is multiple;
It is described file destination each described to be updated according to the fresh information, including:
When the fresh information includes at least one configuration item title and corresponding configuration item content simultaneously, by described in each At least one of first configuration item title each described file destination corresponding with the intended application second configures key name Title is matched, and when current first configuration item title is consistent with current second configuration item title, is matched somebody with somebody using described current first Put the corresponding configuration item content of current second configuration item title described in the corresponding configuration item content update of a title.
8. the method according to claim 6 or 7, it is characterised in that
The fresh information, further includes:The corresponding configuration file of each described file destination;
It is described file destination each described to be updated according to the fresh information, including:
Using the corresponding configuration file of described each described file destination, the corresponding file destination is replaced;
And/or,
Further include:Pre-set the download CACHE DIRECTORY of each file destination;
It is described to each described, file destination is updated after, in described each described file destination by after renewal Before being supplied at least one configuration client of outside, further include:Each described file destination after renewal is deposited Store up corresponding download CACHE DIRECTORY;
Described each described file destination by after renewal is supplied at least one configuration client of outside, including:By institute State at least one configuration client for downloading that CACHE DIRECTORY is supplied to outside.
9. a kind of collocation method, it is characterised in that the configuration client being applied to described in claim 4 or 5, pre-sets at least A kind of configuration mode, also includes:
Triggering outside receiving, generates configuration-direct;
According to the configuration-direct, at least one configuration mode, target configuration mode is determined;
File destination after at least one renewal that configuration server outside obtaining is provided;
File destination after being updated using the target configuration mode and described at least one, is carried out more to the intended application Newly.
10. a kind of configuration system, it is characterised in that include:The arbitrary described configuration server and at least one of claim 1-3 Configuration client described in claim 4 or 5 and at least one terminal with least one application;Wherein,
Each described configuration client is installed on the terminal with least one application described in, in the terminal Each application be updated.
CN201611033041.6A 2016-11-14 2016-11-14 Configuration server, configuration client and configuration method and system Pending CN106533764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611033041.6A CN106533764A (en) 2016-11-14 2016-11-14 Configuration server, configuration client and configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611033041.6A CN106533764A (en) 2016-11-14 2016-11-14 Configuration server, configuration client and configuration method and system

Publications (1)

Publication Number Publication Date
CN106533764A true CN106533764A (en) 2017-03-22

Family

ID=58356206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611033041.6A Pending CN106533764A (en) 2016-11-14 2016-11-14 Configuration server, configuration client and configuration method and system

Country Status (1)

Country Link
CN (1) CN106533764A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886421A (en) * 2017-04-07 2017-06-23 广东浪潮大数据研究有限公司 A kind of method that configuration file unification based on Python is replaced
CN110061990A (en) * 2019-04-19 2019-07-26 天津光电通信技术有限公司 A kind of DTU protocol extension method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621398A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 Client/server system and method for automatic multi-client synchronous configuration thereof
CN102123158A (en) * 2011-04-11 2011-07-13 深圳市同洲软件有限公司 Method and system for realizing network data processing
CN103309941A (en) * 2013-05-08 2013-09-18 深圳市同洲电子股份有限公司 Application update method, device and system
CN103366001A (en) * 2013-07-17 2013-10-23 北京网秦天下科技有限公司 Application program pushing method, server and system for enterprise users
CN104144187A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method, terminal, platform and system for obtaining application in updated version
CN104267932A (en) * 2014-08-12 2015-01-07 广州华多网络科技有限公司 Method, device and server for operating databases
CN105677886A (en) * 2016-01-18 2016-06-15 浪潮通用软件有限公司 File updating method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621398A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 Client/server system and method for automatic multi-client synchronous configuration thereof
CN102123158A (en) * 2011-04-11 2011-07-13 深圳市同洲软件有限公司 Method and system for realizing network data processing
CN103309941A (en) * 2013-05-08 2013-09-18 深圳市同洲电子股份有限公司 Application update method, device and system
CN104144187A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Method, terminal, platform and system for obtaining application in updated version
CN103366001A (en) * 2013-07-17 2013-10-23 北京网秦天下科技有限公司 Application program pushing method, server and system for enterprise users
CN104267932A (en) * 2014-08-12 2015-01-07 广州华多网络科技有限公司 Method, device and server for operating databases
CN105677886A (en) * 2016-01-18 2016-06-15 浪潮通用软件有限公司 File updating method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886421A (en) * 2017-04-07 2017-06-23 广东浪潮大数据研究有限公司 A kind of method that configuration file unification based on Python is replaced
CN110061990A (en) * 2019-04-19 2019-07-26 天津光电通信技术有限公司 A kind of DTU protocol extension method

Similar Documents

Publication Publication Date Title
US10191736B2 (en) Systems and methods for tracking configuration file changes
CN107203395A (en) Resource graded method, device and computer-readable recording medium and electronic equipment
CN102571420B (en) Method and system for network element data management
CN104836843A (en) Client application program updating method and device
CN103995721B (en) A kind of upgrade method of application program, apparatus and system
CN100403263C (en) Method for loading equipment software according to allocation
CN108287758A (en) A kind of application resource management method, application method and device
EP2107712B1 (en) Method, apparatus and system for composite service process, replacement and concrete service invocation
CN109951315A (en) A kind of method and system realizing YANG model and being mapped to internal model
CN105302895A (en) Data caching synchronization method, server and client side
CN109408699B (en) Method for realizing rapid retrieval of tree nodes by synchronous cache zTree
CN108008997A (en) A kind of unified method replaced of APP skins
CN102289473A (en) Device and method for paging query of a plurality of servers
CN105893073A (en) Update method and system used for application program, and business server and pushing server used for updating application program
CN106371881A (en) Method and system for updating program versions in servers
CN103942281A (en) Method and device for operating object persistently stored
CN105843867A (en) Metadata model-based search method and search device based on metadata model
CN105446724A (en) Method and device for managing software parameters
CN106533764A (en) Configuration server, configuration client and configuration method and system
CN106201625A (en) A kind of software version updating method, updating device and electronic equipment thereof
CN106537347A (en) Distributing and processing streams over one or more networks for on-the-fly schema evolution
CN111885114A (en) Method, device and storage medium for upgrading application program interface module in gateway
CN105701605B (en) A kind of waveform library management equipment applied in integrated communication Navigation Identification System
CN109462507A (en) Configure update method, device, system and electronic equipment
CN109617713A (en) The implementation method and server of resource dissemination

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322