CN104092555A - Parameter value updating method, device and system - Google Patents

Parameter value updating method, device and system Download PDF

Info

Publication number
CN104092555A
CN104092555A CN201310653383.8A CN201310653383A CN104092555A CN 104092555 A CN104092555 A CN 104092555A CN 201310653383 A CN201310653383 A CN 201310653383A CN 104092555 A CN104092555 A CN 104092555A
Authority
CN
China
Prior art keywords
service server
configuration
configuration file
server
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
CN201310653383.8A
Other languages
Chinese (zh)
Other versions
CN104092555B (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.)
Tencent Cyber Tianjin Co Ltd
Original Assignee
Tencent Cyber Tianjin 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 Tencent Cyber Tianjin Co Ltd filed Critical Tencent Cyber Tianjin Co Ltd
Priority to CN201310653383.8A priority Critical patent/CN104092555B/en
Publication of CN104092555A publication Critical patent/CN104092555A/en
Priority to PCT/CN2015/072101 priority patent/WO2015081908A2/en
Application granted granted Critical
Publication of CN104092555B publication Critical patent/CN104092555B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/085Retrieval of network configuration; Tracking network configuration history

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a parameter value updating method, device and system, which belongs to the technical field of computers. The method comprises the steps that a configuration server detects the change of a first configuration file; the configuration server determines a service server corresponding to the first configuration file according to the corresponding relationship between a pre-stored configuration file and the service server; the configuration server sends the changed first configuration file to the determined service server, so that the determined service server updates a parameter value in a local server procedure according to the changed first configuration file after the changed first configuration file is received. According to the invention, the efficiency of updating the service server parameter value is improved.

Description

A kind of methods, devices and systems of undated parameter value
Technical field
The present invention relates to field of computer technology, particularly a kind of methods, devices and systems of undated parameter value.
Background technology
Along with the develop rapidly of Internet technology and computer technology, the Internet has become a very important part in people's life, user can carry out various Networks by the Internet, as access certain website, login certain online game etc., Network is to be realized by the service server of terminal access network side.
For the normal operation of service server, need to be configured many kinds of parameters (as the object identity of the activation threshold value of certain processing, certain processing, certain address information etc.), the parameter value of multiple parameter items can be arranged by administrative staff with the form of configuration file, and is kept in service server.Each service server may need one or more configuration files.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
Multiple different service server may use same configuration file, in the time that configuration file is upgraded, use the service server of same configuration file for these, need administrative staff in each service server, this configuration file to be upgraded respectively, repeat identical operation, cause efficiency that the parameter value of service server is upgraded comparatively low.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of methods, devices and systems of undated parameter value, to improve the efficiency of upgrading service server parameter value.Described technical scheme is as follows:
First aspect, provides a kind of method of undated parameter value, and described method comprises:
Configuration server detects that the first configuration file changes;
Described configuration server, according to pre-stored configuration file and the corresponding relation of service server, is determined service server corresponding to described the first configuration file;
Described configuration server sends the first configuration file after changing to the service server of determining, so that described in the service server determined in the time of the first configuration file receiving after described variation, according to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
Second aspect, provides a kind of method of undated parameter value, and described method comprises:
The first configuration file after the variation that the first service server reception configuration server sends; The first configuration file after described variation by described configuration server in the time detecting that described the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file, and send to the service server of determining; The described service server of determining comprises described the first service server;
Described the first service server, according to the first configuration file after described variation, upgrades the parameter value in local business procedure.
The third aspect, provides a kind of configuration server, and described configuration server comprises:
Detection module, for detection of changing to the first configuration file;
Determination module, for according to pre-stored configuration file and the corresponding relation of service server, determines service server corresponding to described the first configuration file;
Sending module, send the first configuration file after changing for the service server to determining, so that described in the service server determined in the time of the first configuration file receiving after described variation, according to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
Fourth aspect, provides a kind of the first service server, and described the first service server comprises:
Receiver module, for receive configuration server send variation after the first configuration file; The first configuration file after described variation by described configuration server in the time detecting that described the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file, and send to the service server of determining; The described service server of determining comprises described the first service server;
Update module, for according to the first configuration file after described variation, upgrades the parameter value in local business procedure.
The 5th aspect, provides a kind of system of undated parameter value, and described system comprises configuration server and service server, wherein:
Described configuration server, for detection of changing to the first configuration file; According to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file; Send the first configuration file after changing to the service server of determining; The described service server of determining comprises the first service server;
Described the first service server, for receiving the first configuration file after the variation that described configuration server sends; According to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the undated parameter value that provides of the embodiment of the present invention;
Fig. 2 is the method flow diagram of the undated parameter value that provides of the embodiment of the present invention;
Fig. 3 is the method flow diagram of the undated parameter value that provides of the embodiment of the present invention;
Fig. 4 is the method flow diagram of the undated parameter value that provides of the embodiment of the present invention;
Fig. 5 is the structural representation of the configuration server that provides of the embodiment of the present invention;
Fig. 6 is the structural representation of the first service server of providing of the embodiment of the present invention;
Fig. 7 is the structural representation of the configuration server that provides of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
The embodiment of the present invention provides a kind of method of undated parameter value, and the method can be realized jointly by configuration server and service server.
As shown in Figure 1, in the method, the handling process of configuration server can comprise following step:
Step 101, configuration server detects that the first configuration file changes.
Step 102, configuration server, according to pre-stored configuration file and the corresponding relation of service server, is determined the service server that the first configuration file is corresponding.
Step 103, configuration server sends the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.
As shown in Figure 2, in the method, the handling process of service server can comprise following step:
Step 201, the first configuration file after the variation that the first service server reception configuration server sends.This change after the first configuration file by configuration server in the time detecting that the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send to the service server of determining; The service server of determining comprises the first service server.
Step 202, the first service server, according to the first configuration file after changing, upgrades the parameter value in local business procedure.
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
Embodiment bis-
The embodiment of the present invention provides a kind of method of undated parameter value, and the method can be realized jointly by configuration server and service server.Configuration server is the server for the parameter value of multiple service servers being carried out to centralized configuration, in configuration server, can store multiple configuration files.Service server is the server for bearer network business (as web content data, playing network music etc. are provided).
The handling process of the method for the undated parameter value that as shown in Figure 3, the embodiment of the present invention provides can comprise following step:
Step 301, configuration server detects that the first configuration file changes.
Wherein, the first configuration file can be the configuration file arbitrarily of storing in configuration server.In configuration file, record one or more parameter items and corresponding parameter value, be configured for the parameter value of the business procedure relevant parameter item to service server.
In force, administrative staff can modify to the configuration file of storing on configuration server by office terminal, concrete alter mode can be varied, can directly edit the configuration file in configuration server, to complete the amendment of configuration file, or, also can use the configuration file editting to replace the configuration file of storing in configuration server.Configuration server (wherein can be indicated the revised context to configuration file at the modify instruction that receives administrative staff's input, or can indicate and be replaced and configuration file for replacing) time, can carry out the amendment of corresponding configuration file, now, configuration server can judge that corresponding configuration file changes, and configuration server detects that configuration file changes.
Step 302, configuration server, according to pre-stored configuration file and the corresponding relation of service server, is determined the service server that the first configuration file is corresponding (comprising below the first service server of mentioning).
In force, configuration server can be set up mapping table in advance, in mapping table, the server identification of the file identification of configuration file and service server is carried out to corresponding storage, with the corresponding relation of reflection configuration file and service server, wherein, each configuration file can corresponding one or more service servers, and each service server also can corresponding one or more configuration files.Configuration server can be according to the file identification of the first configuration file (can claim the first file identification), searches corresponding server mark, to determine corresponding service server in above-mentioned mapping table.
Above-mentioned corresponding relation can be arranged according to planning is in advance unified by configuration server, or, this corresponding relation also can be initiated request by service server and be arranged dynamically, and the process that corresponding relation is set accordingly can be described in detail in content in the back.
Step 303, configuration server sends the first configuration file after changing to the service server of determining.
In force, the service server corresponding with the first configuration file can have multiple, and configuration server can directly send the first configuration file after changing to each service server corresponding to the first configuration file.In addition, configuration server also can first send update notification to each service server, obtains the first configuration file respectively by each service server according to situation arrangement separately to configuration server, and corresponding, the processing procedure of configuration server can be as follows:
First, configuration server sends update notification to the service server of determining, and carries the first file identification of the first configuration file in this update notification.Then, configuration server receives the file acquisition request of the service server transmission of determining, and carries the first file identification in file acquisition request.Finally, the service server that configuration server obtains request to Transmit message sends the first configuration file after changing.
Wherein, update notification changes for informing business server configuration file.File acquisition request is used for to configuration server acquisition request configuration file.
In force, the service server that the first configuration file is corresponding may have multiple, the service server that receives update notification can obtain request to configuration server Transmit message according to the situation arrangement of oneself, when configuration server often receives a file acquisition request, just can obtain corresponding configuration file according to the file identification wherein carrying, and feed back to Transmit message and obtain the service server of request.Because the service server possibility quantity that the first configuration file is corresponding is more, above-mentioned such processing, can prevent from causing the moment of configuration server to block up.
Step 304, the first configuration file after the variation that the first service server reception configuration server sends.
Wherein, the first service server is any one service server in the service server that above-mentioned the first configuration file is corresponding.
In force, the process of the first configuration file after changing for transmission, corresponding with the processing of above-mentioned configuration server side, the processing procedure of the first service server can be as follows:
First, the first service server receives the update notification that configuration server sends.Then,, in the time meeting default file acquisition condition, the first service server obtains request to configuration server Transmit message.Finally, the first configuration file after the variation that the first service server reception configuration server sends.
Wherein, file acquisition condition can arrange arbitrarily according to demand, for example, reaches the default time cycle, or service server is starting local service program, etc.
In force, configuration server can also be to the first configuration file generating feature code after changing (or claiming digital signature), condition code is to the first configuration file unique code word corresponding with the first configuration file obtaining of encoding based on default coding rule, for example MD5(Message Digest Algorithm5, message digest algorithm 5) code etc.Then configuration server is carried on the condition code of the first configuration file in update notification, based on the condition code of carrying in update notification, trigger the first service server Transmit message obtain the processing of request can be as follows:
First, the first service server generates the condition code of the configuration file corresponding with the first file identification of local storage; Then,, if the condition code of carrying in update notification is different from the condition code of obtaining, the first service server obtains request to configuration server Transmit message.
In force, the first service server can extract the first file identification and the condition code in update notification, search the corresponding configuration file of local storage according to the first file identification, and to the tag file generating feature code finding, then the condition code of the condition code of generation and extraction is compared, if different, this configuration file of the local storage of explanation needs to upgrade, now can obtain request to configuration server Transmit message, if identical (for example, what preserved this locality is the first configuration file of version 1, in the time upgrading version 2, the first service server is not participated in renewal in closed condition, currently need to upgrade version 3, and the first configuration file content of version 3 and version 1 is identical), this configuration file of the local storage of explanation does not need to upgrade, obtain request without Transmit message.
Step 305, the first service server, according to the first configuration file after changing, upgrades the parameter value in local business procedure.
Wherein, business procedure (or claiming operation system) is the program for bearer network business of service server operation.
In force, the mode that service server upgrades the parameter value in local business procedure has below provided a kind of preferred processing mode in having a lot:
First, the first service server obtains the pre-stored parameter item corresponding with local business procedure.
In force, the client for parameter configuration that configuration server provides can be installed in service server, the operating personnel of service server can register local service program and need to carry out the parameter item of parameter configuration in client, be the parameter item corresponding to business procedure of above-mentioned this locality, client is carried out record to these parameter items.
Then, in first configuration file of the first service server after variation, obtain the parameter value of above-mentioned parameter item correspondence.
Finally, the first service server is according to the parameter value obtaining, and the parameter value to parameter item in local business procedure upgrades.
In force, client can send parameter update notification to business procedure, carries therein the parameter value of above-mentioned each parameter item, so that business procedure is replaced the original parameter value of these parameter items.This update mode, carries out periodically changing and detecting to the configuration file of this locality storage without business procedure, can reduce the expense of service server, improves resource utilization.
In the embodiment of the present invention, configuration server can, according to the request of service server, arrange the corresponding relation of configuration file and service server, and concrete processing procedure can be as follows:
Step 1, configuration server receives the bind request that the second service server sends, and carries the second file identification in this bind request.
Wherein, the second service server can be any service server, can be same service server or different service server from the first service server.Bind request, for asking to set up the corresponding relation of certain service server and certain configuration file, wherein can also be carried the server identification of local service server.
In force, the operating personnel of service server can browse the configuration file that configuration server provides by above-mentioned client, the configuration file of selecting therein local service program to need, in the time that operating personnel click binding button, trigger and generate bind request, in bind request, carry the file identification (i.e. the second file identification) of configuration file and the server identification of local service server (i.e. the second service server) that operating personnel select, and send to configuration server.
Step 2, configuration server, in the corresponding relation of configuration file and service server, adds the second configuration file corresponding to the second file identification and the corresponding relation of the second service server.
As shown in Figure 4, the processing procedure of the method for the undated parameter value providing for the embodiment of the present invention in concrete application scenarios, comprises the steps:
Step 401, administrative staff modify to the first configuration file of storing in configuration server.
Step 402, configuration server, according to pre-stored configuration file and the corresponding relation of service server, is determined the service server that the first configuration file is corresponding (comprising the first service server).
Step 403, configuration server sends update notification to service server corresponding to the first configuration file, in update notification, carry the first file identification of the first configuration file and change after the MD5 code of the first configuration file.
Step 404, the client of the first service server compares the MD5 code in update notification and the MD5 code of the first configuration file of local storage, if not identical, performs step 405.
Step 405, the client of the first service server is obtained request to configuration server Transmit message, carries the first file identification in file acquisition request.
Step 406, configuration server sends the first configuration file after changing to the client of the first service server.
Step 407, the client of the first service server is upgraded the first configuration file of this locality storage according to the first configuration file after changing.
Step 408, the client of the first service server notifies the parameter value of the parameter item of local business procedure to registered in advance to upgrade.Concrete processing can be referring to the content above the present embodiment.
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
Embodiment tri-
Based on identical technical conceive, the embodiment of the present invention also provides a kind of configuration server, and as shown in Figure 5, described configuration server comprises:
Detection module 510, for detection of changing to the first configuration file;
Determination module 520, for according to pre-stored configuration file and the corresponding relation of service server, determines service server corresponding to described the first configuration file;
Sending module 530, send the first configuration file after changing for the service server to determining, so that described in the service server determined in the time of the first configuration file receiving after described variation, according to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
Preferably, described sending module 530, for:
Send update notification to the described service server of determining, in described update notification, carry the first file identification of described the first configuration file;
The file acquisition request that the service server of determining described in reception sends, carries described the first file identification in described file acquisition request;
Send the first configuration file after described variation to the service server that sends described file acquisition request.
Preferably, also comprise binding module, for:
Receive the bind request that the second service server sends, in described bind request, carry the second file identification;
In the corresponding relation of described configuration file and service server, add the second configuration file that described the second file identification is corresponding and the corresponding relation of described the second service server.
Based on identical technical conceive, the embodiment of the present invention also provides a kind of the first service server, and as shown in Figure 6, described the first service server comprises:
Receiver module 610, for receive configuration server send variation after the first configuration file; The first configuration file after described variation by described configuration server in the time detecting that described the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file, and send to the service server of determining; The described service server of determining comprises described the first service server;
Update module 620, for according to the first configuration file after described variation, upgrades the parameter value in local business procedure.
Preferably, described receiver module 610, for:
Receive the update notification that described configuration server sends, in described update notification, carry the first file identification of described the first configuration file;
In the time meeting default file acquisition condition, obtain request to described configuration server Transmit message, in described file acquisition request, carry described the first file identification;
Described the first service server receives the first configuration file after the variation that described configuration server sends.
Preferably, in described update notification, also carry the condition code of the first configuration file after described variation;
Described receiver module 610, for:
Generate the condition code of the configuration file corresponding with described the first file identification of local storage;
If the condition code of carrying in described update notification is different from the condition code of obtaining, obtain request to described configuration server Transmit message.
Preferably, described update module 620, for:
Obtain the pre-stored parameter item corresponding with local business procedure;
In the first configuration file after described variation, obtain the parameter value that described parameter item is corresponding;
According to the parameter value obtaining, the parameter value to described parameter item in local business procedure upgrades.
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
Embodiment tetra-
Based on identical technical conceive, the embodiment of the present invention also provides a kind of system of undated parameter value, and described system comprises configuration server and service server, wherein:
Described configuration server, for detection of changing to the first configuration file; According to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file; Send the first configuration file after changing to the service server of determining; The described service server of determining comprises the first service server;
Described the first service server, for receiving the first configuration file after the variation that described configuration server sends; According to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
Embodiment five
Fig. 7 is the structural representation of the configuration server that provides of the embodiment of the present invention.This configuration server 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and memory 1932, for example one or more mass memory units of storage medium 1930(of one or more storage application programs 1942 or data 1944).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on configuration server 1900.
Configuration server 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, for example Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Server 1900 can include memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to carry out described more than one or one program package containing for carrying out the instruction of following operation by more than one or one processor:
Configuration server detects that the first configuration file changes;
Described configuration server, according to pre-stored configuration file and the corresponding relation of service server, is determined service server corresponding to described the first configuration file;
Described configuration server sends the first configuration file after changing to the service server of determining, so that described in the service server determined in the time of the first configuration file receiving after described variation, according to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
Preferably, described configuration server sends the first configuration file after changing to the service server of determining, and comprising:
Described configuration server sends update notification to the described service server of determining, and carries the first file identification of described the first configuration file in described update notification;
The file acquisition request that the service server of determining described in described configuration server receives sends, carries described the first file identification in described file acquisition request;
Described configuration server sends the first configuration file after described variation to the service server that sends described file acquisition request.
Preferably, described method also comprises:
Described configuration server receives the bind request that the second service server sends, and carries the second file identification in described bind request;
Described configuration server, in the corresponding relation of described configuration file and service server, adds the second configuration file that described the second file identification is corresponding and the corresponding relation of described the second service server.
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
Embodiment six
The service server that the embodiment of the present invention provides can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) (for example, one or more processors) and memory, the storage medium (for example one or more mass memory units) of one or more storage application programs or data.Wherein, memory and storage medium can be of short duration storage or storage lastingly.The program that is stored in storage medium can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit can be set to communicate by letter with storage medium, carries out a series of command operatings in storage medium on server.
Server can also comprise one or more power supplys, one or more wired or wireless network interfaces, one or more input/output interfaces, one or more keyboards, and/or, one or more operating systems, for example Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
Server can include memory, and one or more than one program, one of them or more than one program are stored in memory, and are configured to carry out described more than one or one program package containing for carrying out the instruction of following operation by more than one or one processor:
The first configuration file after the variation that the first service server reception configuration server sends; The first configuration file after described variation by described configuration server in the time detecting that described the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file, and send to the service server of determining; The described service server of determining comprises described the first service server;
Described the first service server, according to the first configuration file after described variation, upgrades the parameter value in local business procedure.
Preferably, the first configuration file after the variation that described the first service server reception configuration server sends, comprising:
Described the first service server receives the update notification that described configuration server sends, and carries the first file identification of described the first configuration file in described update notification;
In the time meeting default file acquisition condition, described the first service server obtains request to described configuration server Transmit message, carries described the first file identification in described file acquisition request;
Described the first service server receives the first configuration file after the variation that described configuration server sends.
Preferably, in described update notification, also carry the condition code of the first configuration file after described variation;
Described in the time meeting default file acquisition condition, described the first service server obtains request to described configuration server Transmit message, comprising:
Described the first service server generates the condition code of the configuration file corresponding with described the first file identification of local storage;
If the condition code of carrying in described update notification is different from the condition code of obtaining, described the first service server obtains request to described configuration server Transmit message.
Preferably, described the first service server, according to the first configuration file after described variation, upgrades the parameter value in local business procedure, comprising:
Described the first service server obtains the pre-stored parameter item corresponding with local business procedure;
In first configuration file of described the first service server after described variation, obtain the parameter value that described parameter item is corresponding;
Described the first service server is according to the parameter value obtaining, and the parameter value to described parameter item in local business procedure upgrades.
In the embodiment of the present invention, configuration server detects when the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine the service server that the first configuration file is corresponding, and send the first configuration file after changing to the service server of determining, so that the service server of determining, in the time of the first configuration file receiving after variation, according to the first configuration file after changing, upgrades the parameter value in local business procedure.Like this, for using multiple service servers of same profiles, renewal that can centralized control configuration file, without repetitive operation on each service server, thereby, can improve the efficiency of upgrading service server parameter value.
It should be noted that: the device of the undated parameter value that above-described embodiment provides is in the time of undated parameter value, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the internal structure of device, to complete all or part of function described above.In addition, the device of the undated parameter value that above-described embodiment provides and the embodiment of the method for undated parameter value belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (15)

1. a method for undated parameter value, is characterized in that, described method comprises:
Configuration server detects that the first configuration file changes;
Described configuration server, according to pre-stored configuration file and the corresponding relation of service server, is determined service server corresponding to described the first configuration file;
Described configuration server sends the first configuration file after changing to the service server of determining, so that described in the service server determined in the time of the first configuration file receiving after described variation, according to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
2. method according to claim 1, is characterized in that, described configuration server sends the first configuration file after changing to the service server of determining, and comprising:
Described configuration server sends update notification to the described service server of determining, and carries the first file identification of described the first configuration file in described update notification;
The file acquisition request that the service server of determining described in described configuration server receives sends, carries described the first file identification in described file acquisition request;
Described configuration server sends the first configuration file after described variation to the service server that sends described file acquisition request.
3. method according to claim 1, is characterized in that, described method also comprises:
Described configuration server receives the bind request that the second service server sends, and carries the second file identification in described bind request;
Described configuration server, in the corresponding relation of described configuration file and service server, adds the second configuration file that described the second file identification is corresponding and the corresponding relation of described the second service server.
4. a method for undated parameter value, is characterized in that, described method comprises:
The first configuration file after the variation that the first service server reception configuration server sends; The first configuration file after described variation by described configuration server in the time detecting that described the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file, and send to the service server of determining; The described service server of determining comprises described the first service server;
Described the first service server, according to the first configuration file after described variation, upgrades the parameter value in local business procedure.
5. method according to claim 4, is characterized in that, the first configuration file after the variation that described the first service server reception configuration server sends, comprising:
Described the first service server receives the update notification that described configuration server sends, and carries the first file identification of described the first configuration file in described update notification;
In the time meeting default file acquisition condition, described the first service server obtains request to described configuration server Transmit message, carries described the first file identification in described file acquisition request;
Described the first service server receives the first configuration file after the variation that described configuration server sends.
6. method according to claim 5, is characterized in that, also carries the condition code of the first configuration file after described variation in described update notification;
Described in the time meeting default file acquisition condition, described the first service server obtains request to described configuration server Transmit message, comprising:
Described the first service server generates the condition code of the configuration file corresponding with described the first file identification of local storage;
If the condition code of carrying in described update notification is different from the condition code of obtaining, described the first service server obtains request to described configuration server Transmit message.
7. method according to claim 4, is characterized in that, described the first service server, according to the first configuration file after described variation, upgrades the parameter value in local business procedure, comprising:
Described the first service server obtains the pre-stored parameter item corresponding with local business procedure;
In first configuration file of described the first service server after described variation, obtain the parameter value that described parameter item is corresponding;
Described the first service server is according to the parameter value obtaining, and the parameter value to described parameter item in local business procedure upgrades.
8. a configuration server, is characterized in that, described configuration server comprises:
Detection module, for detection of changing to the first configuration file;
Determination module, for according to pre-stored configuration file and the corresponding relation of service server, determines service server corresponding to described the first configuration file;
Sending module, send the first configuration file after changing for the service server to determining, so that described in the service server determined in the time of the first configuration file receiving after described variation, according to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
9. configuration server according to claim 8, is characterized in that, described sending module, for:
Send update notification to the described service server of determining, in described update notification, carry the first file identification of described the first configuration file;
The file acquisition request that the service server of determining described in reception sends, carries described the first file identification in described file acquisition request;
Send the first configuration file after described variation to the service server that sends described file acquisition request.
10. configuration server according to claim 8, is characterized in that, also comprises binding module, for:
Receive the bind request that the second service server sends, in described bind request, carry the second file identification;
In the corresponding relation of described configuration file and service server, add the second configuration file that described the second file identification is corresponding and the corresponding relation of described the second service server.
11. a kind of first service server, is characterized in that, described the first service server comprises:
Receiver module, for receive configuration server send variation after the first configuration file; The first configuration file after described variation by described configuration server in the time detecting that described the first configuration file changes, according to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file, and send to the service server of determining; The described service server of determining comprises described the first service server;
Update module, for according to the first configuration file after described variation, upgrades the parameter value in local business procedure.
12. the first service servers according to claim 11, is characterized in that, described receiver module, for:
Receive the update notification that described configuration server sends, in described update notification, carry the first file identification of described the first configuration file;
In the time meeting default file acquisition condition, obtain request to described configuration server Transmit message, in described file acquisition request, carry described the first file identification;
Described the first service server receives the first configuration file after the variation that described configuration server sends.
13. the first service servers according to claim 12, is characterized in that, also carry the condition code of the first configuration file after described variation in described update notification;
Described receiver module, for:
Generate the condition code of the configuration file corresponding with described the first file identification of local storage;
If the condition code of carrying in described update notification is different from the condition code of obtaining, obtain request to described configuration server Transmit message.
14. the first service servers according to claim 11, is characterized in that, described update module, for:
Obtain the pre-stored parameter item corresponding with local business procedure;
In the first configuration file after described variation, obtain the parameter value that described parameter item is corresponding;
According to the parameter value obtaining, the parameter value to described parameter item in local business procedure upgrades.
The system of 15. 1 kinds of undated parameter values, is characterized in that, described system comprises configuration server and service server, wherein:
Described configuration server, for detection of changing to the first configuration file; According to pre-stored configuration file and the corresponding relation of service server, determine service server corresponding to described the first configuration file; Send the first configuration file after changing to the service server of determining; The described service server of determining comprises the first service server;
Described the first service server, for receiving the first configuration file after the variation that described configuration server sends; According to the first configuration file after described variation, the parameter value in local business procedure is upgraded.
CN201310653383.8A 2013-12-04 2013-12-04 A kind of methods, devices and systems of undated parameter value Active CN104092555B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310653383.8A CN104092555B (en) 2013-12-04 2013-12-04 A kind of methods, devices and systems of undated parameter value
PCT/CN2015/072101 WO2015081908A2 (en) 2013-12-04 2015-02-02 Method, device, and system for updating parameter value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310653383.8A CN104092555B (en) 2013-12-04 2013-12-04 A kind of methods, devices and systems of undated parameter value

Publications (2)

Publication Number Publication Date
CN104092555A true CN104092555A (en) 2014-10-08
CN104092555B CN104092555B (en) 2017-09-12

Family

ID=51640237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310653383.8A Active CN104092555B (en) 2013-12-04 2013-12-04 A kind of methods, devices and systems of undated parameter value

Country Status (2)

Country Link
CN (1) CN104092555B (en)
WO (1) WO2015081908A2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015081908A3 (en) * 2013-12-04 2015-07-23 腾讯科技(深圳)有限公司 Method, device, and system for updating parameter value
CN105867837A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
CN107947971A (en) * 2017-11-16 2018-04-20 北京恒华伟业科技股份有限公司 A kind of collocation method of information, device and server
CN111082964A (en) * 2019-10-18 2020-04-28 网宿科技股份有限公司 Distribution method and device of configuration information
TWI715047B (en) * 2019-05-22 2021-01-01 華南商業銀行股份有限公司 Inspection and correction system of server's configuration and method of inspecting and correcting server's configuration
CN112279027A (en) * 2020-10-16 2021-01-29 苏州汇川技术有限公司 Debugging method of elevator accessories, elevator debugging equipment and storage medium
TWI746361B (en) * 2019-05-22 2021-11-11 華南商業銀行股份有限公司 Inspection and correction system of server's configuration based on hash algorithm and method thereof
TWI752813B (en) * 2019-05-22 2022-01-11 華南商業銀行股份有限公司 Inspection and correction system of server's configuration based on touch operation and method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572173B (en) * 2016-11-07 2020-06-09 阿里巴巴(中国)有限公司 Configuration information updating method, device and system
CN115204423A (en) * 2018-05-24 2022-10-18 超聚变数字技术有限公司 Equipment management method and management server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832414A (en) * 2005-03-04 2006-09-13 英飞凌科技股份公司 Method of providing a plurality of group communication service communication system, group communication service system and group
CN101902439A (en) * 2009-05-26 2010-12-01 北京金山软件有限公司 Method, system and device for updating business server information on client
US20120144382A1 (en) * 2010-12-01 2012-06-07 Matthew Jack R Pre-heated software installation
CN102546796A (en) * 2011-12-31 2012-07-04 重庆新媒农信科技有限公司 Data updating system and method of service server
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092555B (en) * 2013-12-04 2017-09-12 腾讯数码(天津)有限公司 A kind of methods, devices and systems of undated parameter value

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832414A (en) * 2005-03-04 2006-09-13 英飞凌科技股份公司 Method of providing a plurality of group communication service communication system, group communication service system and group
CN101902439A (en) * 2009-05-26 2010-12-01 北京金山软件有限公司 Method, system and device for updating business server information on client
US20120144382A1 (en) * 2010-12-01 2012-06-07 Matthew Jack R Pre-heated software installation
CN102546796A (en) * 2011-12-31 2012-07-04 重庆新媒农信科技有限公司 Data updating system and method of service server
CN103034512A (en) * 2012-11-28 2013-04-10 北京奇虎科技有限公司 Method and device for updating programs

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015081908A3 (en) * 2013-12-04 2015-07-23 腾讯科技(深圳)有限公司 Method, device, and system for updating parameter value
CN105867837A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
WO2017092347A1 (en) * 2015-12-02 2017-06-08 乐视控股(北京)有限公司 Method, device and system for updating client configuration in memcached system
CN107947971A (en) * 2017-11-16 2018-04-20 北京恒华伟业科技股份有限公司 A kind of collocation method of information, device and server
TWI715047B (en) * 2019-05-22 2021-01-01 華南商業銀行股份有限公司 Inspection and correction system of server's configuration and method of inspecting and correcting server's configuration
TWI746361B (en) * 2019-05-22 2021-11-11 華南商業銀行股份有限公司 Inspection and correction system of server's configuration based on hash algorithm and method thereof
TWI752813B (en) * 2019-05-22 2022-01-11 華南商業銀行股份有限公司 Inspection and correction system of server's configuration based on touch operation and method thereof
CN111082964A (en) * 2019-10-18 2020-04-28 网宿科技股份有限公司 Distribution method and device of configuration information
CN111082964B (en) * 2019-10-18 2023-03-03 网宿科技股份有限公司 Distribution method and device of configuration information
CN112279027A (en) * 2020-10-16 2021-01-29 苏州汇川技术有限公司 Debugging method of elevator accessories, elevator debugging equipment and storage medium

Also Published As

Publication number Publication date
WO2015081908A3 (en) 2015-07-23
CN104092555B (en) 2017-09-12
WO2015081908A2 (en) 2015-06-11

Similar Documents

Publication Publication Date Title
CN104092555A (en) Parameter value updating method, device and system
US10656868B2 (en) Optimal storage and workload placement, and high resiliency, in geo-distributed cluster systems
CN109729131B (en) Application request processing method and device and router
JP4966414B2 (en) Managing component programs in service applications
US8825817B1 (en) Using a template to update a stack of resources
US8838679B2 (en) Providing state service for online application users
US20080126439A1 (en) Change verification in a configuration management database
WO2017165018A1 (en) Automated event id field analysis on heterogeneous logs
CN108431768B (en) Controlled deployment of application features
CN103843308A (en) Execution of applications distributed across a plurality of computing devices
CN109800270B (en) Data storage and query method and Internet of things system
KR20210036226A (en) A distributed computing system including multiple edges and cloud, and method for providing model for using adaptive intelligence thereof
CN113590576A (en) Database parameter adjusting method and device, storage medium and electronic equipment
CN107168765A (en) A kind of method and system of remote compilation software
US10489179B1 (en) Virtual machine instance data aggregation based on work definition metadata
CN106570153A (en) Data extraction method and system for mass URLs
CN114610504A (en) Message processing method and device, electronic equipment and storage medium
CN106341497B (en) Digital ID generation method and device
CN109951551B (en) Container mirror image management system and method
US10142415B2 (en) Data migration
CN114253798A (en) Index data acquisition method and device, electronic equipment and storage medium
CN110661851A (en) Data exchange method and device
US20180052696A1 (en) Providing teaching user interface activated by user action
CN107045452B (en) Virtual machine scheduling method and device
US20090259675A1 (en) Remote differential compression applied to storage

Legal Events

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