CN104092555B - A kind of methods, devices and systems of undated parameter value - Google Patents

A kind of methods, devices and systems of undated parameter value Download PDF

Info

Publication number
CN104092555B
CN104092555B CN201310653383.8A CN201310653383A CN104092555B CN 104092555 B CN104092555 B CN 104092555B CN 201310653383 A CN201310653383 A CN 201310653383A CN 104092555 B CN104092555 B CN 104092555B
Authority
CN
China
Prior art keywords
configuration
file
service server
server
configuration 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.)
Active
Application number
CN201310653383.8A
Other languages
Chinese (zh)
Other versions
CN104092555A (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 kind of methods, devices and systems of undated parameter value, belong to field of computer technology.Methods described includes:Configuration server detects the first configuration file and changed;The configuration server determines the corresponding service server of first configuration file according to the configuration file prestored and the corresponding relation of service server;The configuration server sends the first configuration file after change to the service server determined, so that the service server determined is in the first configuration file after receiving the change, according to the first configuration file after the change, the parameter value in local business procedure is updated.Using the present invention, the efficiency for updating service server parameter value can be improved.

Description

A kind of methods, devices and systems of undated parameter value
Technical field
The present invention relates to field of computer technology, more particularly to a kind of methods, devices and systems of undated parameter value.
Background technology
With developing rapidly for Internet technology and computer technology, internet has become one in people's life Very important part, user can carry out various Networks by internet, such as access certain website, login Certain online game etc., Network is realized by the service server of terminal access network side.
In order to service server normal operation, it is necessary to many kinds of parameters(Activation threshold value, pair of certain processing such as certain processing As mark, certain address information etc.)Configured, the parameter value of multiple parameters can be in the form of configuration file by administrative staff It is configured, and is stored in service server.Each service server may need one or more configuration files.
During the present invention is realized, inventor has found that prior art at least has problems with:
A variety of different service servers may use same configuration file, right when being updated to configuration file The service server of same configuration file is used in these, it is necessary to which administrative staff are respectively in each service server to configuration text Part is updated, and is repeated identical operation, is caused the efficiency being updated to the parameter value of service server more low.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of method of undated parameter value, device and System, to improve the efficiency for updating service server parameter value.The technical scheme is as follows:
First aspect includes there is provided a kind of method of undated parameter value, methods described:
Configuration server detects the first configuration file and changed;
The configuration server determines described according to the configuration file prestored and the corresponding relation of service server The corresponding service server of one configuration file;
The configuration server sends the first configuration file after change to the service server determined, so that described true The service server made is in the first configuration file after receiving the change, according to the first configuration text after the change Part, is updated to the parameter value in local business procedure.
Second aspect includes there is provided a kind of method of undated parameter value, methods described:
First service server receives the first configuration file after the change that configuration server is sent;After the change One configuration file by the configuration server when detecting first configuration file and changing, according to matching somebody with somebody for prestoring The corresponding relation of file and service server is put, the corresponding service server of first configuration file is determined, and to determining Service server send;The service server determined includes first service server;
First service server is according to the first configuration file after the change, to the ginseng in local business procedure Numerical value is updated.
The third aspect includes there is provided a kind of configuration server, the configuration server:
Detection module, changes for detecting the first configuration file;
Determining module, for the corresponding relation according to the configuration file that prestores and service server, determines described the The corresponding service server of one configuration file;
Sending module, for sending the first configuration file after change to the service server determined, so that described true The service server made is in the first configuration file after receiving the change, according to the first configuration text after the change Part, is updated to the parameter value in local business procedure.
Fourth aspect includes there is provided a kind of first service server, first service server:
Receiving module, the first configuration file after change for receiving configuration server transmission;After the change One configuration file by the configuration server when detecting first configuration file and changing, according to matching somebody with somebody for prestoring The corresponding relation of file and service server is put, the corresponding service server of first configuration file is determined, and to determining Service server send;The service server determined includes first service server;
Update module, for according to the first configuration file after the change, to the parameter value in local business procedure It is updated.
5th aspect includes configuration server and business service there is provided a kind of system of undated parameter value, the system Device, wherein:
The configuration server, changes for detecting the first configuration file;According to the configuration file prestored With the corresponding relation of service server, the corresponding service server of first configuration file is determined;To the business clothes determined Business device sends the first configuration file after change;The service server determined includes the first service server;
First service server, for receiving the first configuration file after the change that the configuration server is sent; According to the first configuration file after the change, the parameter value in local business procedure is updated.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the method flow diagram of undated parameter value provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of undated parameter value provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram of undated parameter value provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of undated parameter value provided in an embodiment of the present invention;
Fig. 5 is the structural representation of configuration server provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the first service server provided in an embodiment of the present invention;
Fig. 7 is the structural representation of configuration server provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment one
The embodiments of the invention provide a kind of method of undated parameter value, this method can be taken by configuration server and business Business device is realized jointly.
As shown in figure 1, the handling process of configuration server can include the steps in this method:
Step 101, configuration server detects the first configuration file and changed.
Step 102, configuration server determines according to the configuration file prestored and the corresponding relation of service server The corresponding service server of one configuration file.
Step 103, configuration server sends the first configuration file after change to the service server determined, so that really The service server made is in the first configuration file after receiving change, according to the first configuration file after change, to this Parameter value in the business procedure on ground is updated.
As shown in Fig. 2 the handling process of service server can include the steps in this method:
Step 201, the first service server receives the first configuration file after the change that configuration server is sent.This change The first configuration file afterwards by configuration server when detecting the first configuration file and changing, according to the configuration prestored The corresponding relation of file and service server, determines the corresponding service server of the first configuration file, and to the business determined Server is sent;The service server determined includes the first service server.
Step 202, the first service server is according to the first configuration file after change, to the ginseng in local business procedure Numerical value is updated.
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
Embodiment two
The embodiments of the invention provide a kind of method of undated parameter value, this method can be taken by configuration server and business Business device is realized jointly.Configuration server is the server that centralized configuration is carried out for the parameter value to multiple service servers, is matched somebody with somebody Put multiple configuration files that can be stored with server.Service server is to be used for bearer network business(Web page contents are such as provided Data, broadcasting online music etc.)Server.
As shown in figure 3, the handling process of the method for undated parameter value provided in an embodiment of the present invention can be included as follows Step:
Step 301, configuration server detects the first configuration file and changed.
Wherein, the first configuration file can be the arbitrary configuration file stored in configuration server.Remember in configuration file Record has one or more parameter items and corresponding parameter value, the ginseng for relevant parameter in the business procedure to service server Numerical value is configured.
In force, administrative staff can be repaiied by management terminal to the configuration file stored in configuration server Change, specific modification mode directly can enter edlin with varied to the configuration file in configuration server, to complete The modification of configuration file, or, the configuration file editted can also be used to enter the configuration file stored in configuration server Row is replaced.Configuration server is receiving the modification instruction of administrative staff's input(The modification to configuration file can wherein be indicated Content, or can indicate to be replaced and the configuration file for replacement)When, the modification of corresponding configuration file can be performed, Now, configuration server can be determined that corresponding configuration file changes, i.e., configuration server detects configuration file Change.
Step 302, configuration server determines according to the configuration file prestored and the corresponding relation of service server The corresponding service server of one configuration file(Including below by the first service server mentioned).
In force, configuration server can pre-establish mapping table, by configuration file in mapping table The server identification of file identification and service server carries out corresponding storage, to reflect pair of configuration file and service server It should be related to, wherein, each configuration file can correspond to one or more service servers, and each service server can also be corresponded to One or more configuration files.Configuration server can be according to the file identification of the first configuration file(The first files-designated can be claimed Know), corresponding server mark is searched in above-mentioned mapping table, to determine corresponding service server.
Above-mentioned corresponding relation can be set by configuration server according to advance planning is unified, or, the corresponding relation also may be used Dynamically to be set by service server initiation request, process meeting in content below of corresponding setting corresponding relation It is described in detail.
Step 303, configuration server sends the first configuration file after change to the service server determined.
In force, service server corresponding with the first configuration file can have multiple, and configuration server can be direct The first configuration file after change is sent to the corresponding each service server of the first configuration file.In addition, configuration server also may be used Update notification is sent to each service server with elder generation, from each service server respectively according to respective situation arrangement to configuration service Device obtains the first configuration file, and accordingly, the processing procedure of configuration server can be as follows:
First, configuration server is sent to the service server determined carries the in update notification, the update notification First file identification of one configuration file.Then, configuration server receives the file acquisition that the service server determined is sent Request, the first file identification is carried in file acquisition request.Finally, the business that configuration server is asked to transmission file acquisition Server sends the first configuration file after change.
Wherein, update notification is used to notify service server configuration file to change.File acquisition asks to be used for To configuration server acquisition request configuration file.
In force, the corresponding service server of the first configuration file may have multiple, receive the business of update notification Server can send file acquisition to configuration server according to the situation arrangement of oneself and ask, and configuration server often receives one When individual file acquisition request, just corresponding configuration file can be obtained according to the file identification wherein carried, and feed back to Send the service server of file acquisition request.Because the possible quantity of the corresponding service server of the first configuration file is more, on Such processing is stated, can prevent from causing the moment congestion of configuration server.
Step 304, the first service server receives the first configuration file after the change that configuration server is sent.
Wherein, the first service server is any one business in the corresponding service server of above-mentioned first configuration file Server.
In force, for the process of the first configuration file after transmission change, the processing with above-mentioned configuration server side Corresponding, the processing procedure of the first service server can be as follows:
First, the first service server receives the update notification that configuration server is sent.Then, when meeting default file During acquisition condition, the first service server sends file acquisition to configuration server and asked.Finally, the first service server is received The first configuration file after the change that configuration server is sent.
Wherein, file acquisition condition can arbitrarily be set according to demand, for example, the default time cycle is reached, or, industry Business server is starting local service program, etc..
In force, configuration server can also generate condition code to the first configuration file after change(Or numeral label Name), condition code is that the first configuration file is carried out to encode obtained unique and the first configuration file pair based on pre-arranged code rule The code word answered, such as MD5(Message Digest Algorithm5, message digest algorithm 5)Code etc..Then configuration server The condition code of first configuration file is carried in update notification, based on the condition code carried in update notification, the first industry is triggered The processing that business server sends file acquisition request can be as follows:
First, the feature for the configuration file corresponding with the first file identification that the generation of the first service server is locally stored Code;Then, if the condition code carried in update notification is different from the condition code obtained, the first service server then takes to configuration Business device sends file acquisition request.
In force, the first service server can extract the first file identification and the condition code in update notification, according to First file identification searches the corresponding configuration file being locally stored, and generates condition code to the tag file found, then The condition code of generation and the condition code of extraction are compared, if it is different, then the configuration file needs that explanation is locally stored Update, file acquisition request can be now sent to configuration server, if identical(For example, what is locally preserved is the of version 1 One configuration file, when updating version 2, the first service server is closed not participating in renewal, is currently needed for more redaction 3, and version 3 is identical with the first configuration file content of version 1), then illustrate that the configuration file being locally stored need not update, File acquisition request need not be sent.
Step 305, the first service server is according to the first configuration file after change, to the ginseng in local business procedure Numerical value is updated.
Wherein, business procedure(Or operation system)It is the program for bearer network business of service server operation.
In force, during the mode that service server is updated to the parameter value in local business procedure has a lot, It following present a kind of preferred processing mode:
First, the first service server obtains the parameter item corresponding with local business procedure prestored.
In force, the client for parameter configuration of configuration server offer can be installed in service server, The operating personnel of service server, which can register local service program in the client, to be needed to carry out the parameter item of parameter configuration, i.e., The corresponding parameter item of above-mentioned local business procedure, client is recorded to these parameter items.
Then, the corresponding parameter of above-mentioned parameter is obtained in the first configuration file of first service server after change Value.
Finally, the first service server is according to the parameter value of acquisition, to parameter of the parameter item in local business procedure Value is updated.
In force, client can send parameter update notification to business procedure, and above-mentioned each parameter item is carried wherein Parameter value so that business procedure replaces the original parameter value of these parameter items.This update mode, without business procedure to this The configuration file of ground storage carries out periodic alteration detection, can reduce the expense of service server, improves resource utilization.
In the embodiment of the present invention, configuration server can take according to the request of service server to configuration file and business The corresponding relation of business device is configured, and concrete processing procedure can be as follows:
Step one, configuration server is received carries in the bind request that the second service server is sent, the bind request Second file identification.
Wherein, the second service server can be any service server, can be same industry with the first service server Business server or different service servers.It is corresponding with certain configuration file that bind request sets up certain service server for request Relation, wherein the server identification of local service server can also be carried.
In force, the operating personnel of service server can be provided by above-mentioned Client browse configuration server Configuration file, the configuration file for selecting local service program to need wherein when operating personnel click on binding button, is then triggered Bind request is generated, the file identification of the configuration file of operating personnel's selection is carried in bind request(That is the second file identification) And local service server(That is the second service server)Server identification, and sent to configuration server.
Step 2, configuration server adds the second file identification in the corresponding relation of configuration file and service server The corresponding relation of corresponding second configuration file and the second service server.
As shown in figure 4, being processing of the method in concrete application scene of undated parameter value provided in an embodiment of the present invention Process, comprises the following steps:
Step 401, administrative staff modify to the first configuration file stored in configuration server.
Step 402, configuration server determines according to the configuration file prestored and the corresponding relation of service server The corresponding service server of one configuration file(Including the first service server).
Step 403, configuration server sends update notification, update notification to the corresponding service server of the first configuration file In carry the first configuration file the first file identification and change after the first configuration file MD5 codes.
Step 404, the client of the first service server by the MD5 codes in update notification and be locally stored first configuration The MD5 codes of file are compared, if it is not the same, then performing step 405.
Step 405, the client of the first service server sends file acquisition request to configuration server, and file acquisition please The first file identification is carried in asking.
Step 406, configuration server sends the first configuration file after change to the client of the first service server.
Step 407, the client of the first service server according to the first configuration file after change to be locally stored One configuration file is updated.
Step 408, the local business procedure of the client notification of the first service server is to parameter item registered in advance Parameter value is updated.Specific processing may refer to the present embodiment foregoing.
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
Embodiment three
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of configuration server, as shown in figure 5, described Configuration server includes:
Detection module 510, changes for detecting the first configuration file;
Determining module 520, for according to the configuration file and the corresponding relation of service server prestored, it is determined that described The corresponding service server of first configuration file;
Sending module 530, for sending the first configuration file after change to the service server determined, so that described The service server determined is in the first configuration file after receiving the change, according to the first configuration after the change File, is updated to the parameter value in local business procedure.
It is preferred that, the sending module 530 is used for:
Sent to the service server determined and first configuration is carried in update notification, the update notification First file identification of file;
The file acquisition request that the service server determined described in receiving is sent, is carried in the file acquisition request First file identification;
The first configuration file after the change is sent to the service server for sending the file acquisition request.
It is preferred that, in addition to binding module, it is used for:
Receive in the bind request of the second service server transmission, the bind request and carry the second file identification;
In the corresponding relation of the configuration file and service server, second file identification corresponding second is added The corresponding relation of configuration file and second service server.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of first service server, as shown in fig. 6, First service server includes:
Receiving module 610, the first configuration file after change for receiving configuration server transmission;After the change First configuration file by the configuration server when detecting first configuration file and changing, according to what is prestored The corresponding relation of configuration file and service server, determines the corresponding service server of first configuration file, and to determination The service server gone out is sent;The service server determined includes first service server;
Update module 620, for according to the first configuration file after the change, to the parameter in local business procedure Value is updated.
It is preferred that, the receiving module 610 is used for:
Receive in the update notification that the configuration server is sent, the update notification and carry first configuration file The first file identification;
When meeting default file acquisition condition, file acquisition request, the file are sent to the configuration server Obtain in request and carry first file identification;
First service server receives the first configuration file after the change that the configuration server is sent.
It is preferred that, the condition code of the first configuration file after the change is also carried in the update notification;
The receiving module 610, is used for:
Generate the condition code for the configuration file corresponding with first file identification being locally stored;
If the condition code carried in the update notification is different from the condition code obtained, sent out to the configuration server File acquisition is sent to ask.
It is preferred that, the update module 620 is used for:
Obtain the parameter item corresponding with local business procedure prestored;
The corresponding parameter value of the parameter item is obtained in the first configuration file after the change;
According to the parameter value of acquisition, parameter value of the parameter item in local business procedure is updated.
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
Example IV
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of system of undated parameter value, the system Including configuration server and service server, wherein:
The configuration server, changes for detecting the first configuration file;According to the configuration file prestored With the corresponding relation of service server, the corresponding service server of first configuration file is determined;To the business clothes determined Business device sends the first configuration file after change;The service server determined includes the first service server;
First service server, for receiving the first configuration file after the change that the configuration server is sent; According to the first configuration file after the change, the parameter value in local business procedure is updated.
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
Embodiment five
Fig. 7 is the structural representation of configuration server provided in an embodiment of the present invention.The configuration server 1900 can because with Put or performance is different and produce than larger difference, one or more central processing units can be included(central Processing units, CPU)1922(For example, one or more processors)With memory 1932, one or one with The storage medium 1930 of upper storage application program 1942 or data 1944(Such as one or more mass memory units).Its In, memory 1932 and storage medium 1930 can be of short duration storage or persistently storage.It is stored in the program of storage medium 1930 One or more modules can be included(Diagram is not marked), each module can be including to the series of instructions in server Operation.Further, central processing unit 1922 could be arranged to communicate with storage medium 1930, in configuration server 1900 Perform the series of instructions operation in storage medium 1930.
Configuration server 1900 can also include one or more power supplys 1926, one or more wired or nothings Wired network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one Individual or more than one operating system 1941, such as 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 one Individual procedure above is stored in memory, and is configured to one or one by one or more than one computing device Individual procedure above includes the instruction for being used for being operated below:
Configuration server detects the first configuration file and changed;
The configuration server determines described according to the configuration file prestored and the corresponding relation of service server The corresponding service server of one configuration file;
The configuration server sends the first configuration file after change to the service server determined, so that described true The service server made is in the first configuration file after receiving the change, according to the first configuration text after the change Part, is updated to the parameter value in local business procedure.
It is preferred that, the configuration server sends the first configuration file after change, bag to the service server determined Include:
The configuration server sends in update notification, the update notification to the service server determined and carried There is the first file identification of first configuration file;
The file acquisition request that the service server determined described in the configuration server reception is sent, the file is obtained Take in request and carry first file identification;
The configuration server sends first after the change to the service server for sending the file acquisition request Configuration file.
It is preferred that, methods described also includes:
The configuration server, which is received, carries the in the bind request that the second service server is sent, the bind request Two file identifications;
The configuration server adds second file in the corresponding relation of the configuration file and service server Identify the corresponding relation of corresponding second configuration file and second service server.
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
Embodiment six
Service server provided in an embodiment of the present invention can be different and produce than larger difference because of configuration or performance, can be with Including one or more central processing units(Central processing units, CPU)(For example, one or one with Upper processor)And memory, one or more store the storage medium of application programs or data(Such as one or one with Upper mass memory unit).Wherein, memory and storage medium can be of short duration storage or persistently storage.It is stored in storage medium Program can include one or more modules(Diagram is not marked), each module can be including being to one in server Row command operating.Further, central processing unit be could be arranged to communicate with storage medium, and storage is performed on the server and is situated between Series of instructions operation in matter.
Server can also include 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, example Such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Server can include memory, and one or more than one program, one of them or one with Upper program storage in memory, and be configured to by one or more than one computing device it is one or one with Upper program bag contains the instruction for being used for being operated below:
First service server receives the first configuration file after the change that configuration server is sent;After the change One configuration file by the configuration server when detecting first configuration file and changing, according to matching somebody with somebody for prestoring The corresponding relation of file and service server is put, the corresponding service server of first configuration file is determined, and to determining Service server send;The service server determined includes first service server;
First service server is according to the first configuration file after the change, to the ginseng in local business procedure Numerical value is updated.
It is preferred that, first service server receives the first configuration file after the change that configuration server is sent, bag Include:
First service server is received in the update notification that the configuration server is sent, the update notification and carried There is the first file identification of first configuration file;
When meeting default file acquisition condition, first service server sends file to the configuration server Request is obtained, first file identification is carried in the file acquisition request;
First service server receives the first configuration file after the change that the configuration server is sent.
It is preferred that, the condition code of the first configuration file after the change is also carried in the update notification;
It is described when meeting default file acquisition condition, first service server is sent to the configuration server File acquisition is asked, including:
The spy for the configuration file corresponding with first file identification that the first service server generation is locally stored Levy code;
If the condition code carried in the update notification is different from the condition code obtained, first service server is then File acquisition request is sent to the configuration server.
It is preferred that, first service server is according to the first configuration file after the change, to local business journey Parameter value in sequence is updated, including:
First service server obtains the parameter item corresponding with local business procedure prestored;
First service server obtains the corresponding ginseng of the parameter item in the first configuration file after the change Numerical value;
First service server is according to the parameter value of acquisition, to ginseng of the parameter item in local business procedure Numerical value is updated.
In the embodiment of the present invention, when configuration server detects the first configuration file and changed, according to what is prestored The corresponding relation of configuration file and service server, determine the corresponding service server of the first configuration file, and to determining Service server sends the first configuration file after change, so that the service server determined is receiving first after changing During configuration file, according to the first configuration file after change, the parameter value in local business procedure is updated.So, , can be with the renewal of centralized Control configuration file, without in each business for multiple service servers using same profiles Repeated on server, it is thus possible to improve the efficiency for updating service server parameter value.
It should be noted that:The device for the undated parameter value that above-described embodiment is provided is in undated parameter value, only with above-mentioned The division progress of each functional module is for example, in practical application, as needed can distribute above-mentioned functions by different Functional module complete, i.e., the internal structure of device is divided into different functional modules, with complete it is described above whole or Partial function.In addition, the device of undated parameter value and the embodiment of the method for undated parameter value that above-described embodiment is provided belong to same One design, it implements process and refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (9)

1. a kind of method of undated parameter value, it is characterised in that methods described includes:
Configuration server detects the first configuration file and changed;
The configuration server determines that described first matches somebody with somebody according to the configuration file prestored and the corresponding relation of service server Put the corresponding service server of file;
The configuration server is sent to the service server determined carries described the in update notification, the update notification The condition code of the first configuration file after first file identification of one configuration file and the change, so that the industry determined Business server is received after the update notification, the configuration file corresponding with first file identification that generation is locally stored Condition code, when the condition code carried in the update notification is different from the condition code obtained, sends to the configuration server File acquisition is asked;
The file acquisition request that the service server determined described in the configuration server reception is sent, the file acquisition please First file identification is carried in asking;
The configuration server sends the first configuration after the change to the service server for sending the file acquisition request File, so that the service server determined is in the first configuration file after receiving the change, becomes according to described The first configuration file after change, is updated to the parameter value in local business procedure.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
The configuration server, which is received, carries the second text in the bind request that the second service server is sent, the bind request Part is identified;
The configuration server adds second file identification in the corresponding relation of the configuration file and service server The corresponding relation of corresponding second configuration file and second service server.
3. a kind of method of undated parameter value, it is characterised in that methods described includes:
First service server, which is received, carries the first configuration text in the update notification that configuration server is sent, the update notification The condition code of the first configuration file after first file identification of part and change;
The condition code for the configuration file corresponding with first file identification that the first service server generation is locally stored;
If the condition code carried in the update notification is different from the condition code obtained, first service server is then to institute State configuration server and send file acquisition request, first file identification is carried in the file acquisition request;
First service server receives the first configuration file after the change that the configuration server is sent, after the change The first configuration file by the configuration server when detecting first configuration file and changing, according to prestoring Configuration file and service server corresponding relation, determine the corresponding service server of first configuration file, and to true The service server made is sent;The service server determined includes first service server;
First service server is according to the first configuration file after the change, to the parameter value in local business procedure It is updated.
4. method according to claim 3, it is characterised in that first service server is according to after the change One configuration file, is updated to the parameter value in local business procedure, including:
First service server obtains the parameter item corresponding with local business procedure prestored;
First service server obtains the corresponding parameter value of the parameter item in the first configuration file after the change;
First service server is according to the parameter value of acquisition, to parameter value of the parameter item in local business procedure It is updated.
5. a kind of configuration server, it is characterised in that the configuration server includes:
Detection module, changes for detecting the first configuration file;
Determining module, for according to the configuration file and the corresponding relation of service server prestored, determining that described first matches somebody with somebody Put the corresponding service server of file;
Sending module, described the is carried for being sent to the service server determined in update notification, the update notification The condition code of the first configuration file after first file identification of one configuration file and change, so that the business clothes determined Business device is received after the update notification, generates the feature for the configuration file corresponding with first file identification being locally stored Code, when the condition code carried in the update notification is different from the condition code obtained, file is sent to the configuration server Obtain request;The file acquisition request that the service server determined described in receiving is sent, is carried in the file acquisition request There is first file identification;The first configuration after the change is sent to the service server for sending the file acquisition request File, so that the service server determined is in the first configuration file after receiving the change, becomes according to described The first configuration file after change, is updated to the parameter value in local business procedure.
6. configuration server according to claim 5, it is characterised in that also including binding module, is used for:
Receive in the bind request of the second service server transmission, the bind request and carry the second file identification;
In the corresponding relation of the configuration file and service server, corresponding second configuration of second file identification is added The corresponding relation of file and second service server.
7. a kind of first service server, it is characterised in that first service server includes:
The first configuration text is carried in receiving module, the update notification for receiving configuration server transmission, the update notification The condition code of the first configuration file after first file identification of part and change;Generation is being locally stored with first files-designated Know the condition code of corresponding configuration file;If the condition code carried in the update notification is different from the condition code obtained, File acquisition request is sent to the configuration server, first file identification is carried in the file acquisition request;Connect The first configuration file after the change that the configuration server is sent is received, the first configuration file after the change is by the configuration Server is when detecting first configuration file and changing, according to the configuration file and service server prestored Corresponding relation, determines the corresponding service server of first configuration file, and send to the service server determined;It is described The service server determined includes first service server;
Update module, for according to the first configuration file after the change, being carried out to the parameter value in local business procedure Update.
8. the first service server according to claim 7, it is characterised in that the update module, is used for:
Obtain the parameter item corresponding with local business procedure prestored;
The corresponding parameter value of the parameter item is obtained in the first configuration file after the change;
According to the parameter value of acquisition, parameter value of the parameter item in local business procedure is updated.
9. a kind of system of undated parameter value, it is characterised in that the system includes configuration server and service server, its In:
The configuration server, changes for detecting the first configuration file;According to the configuration file and industry prestored The corresponding relation of business server, determines the corresponding service server of first configuration file;To the service server determined Send update notification;The file acquisition request that the service server determined described in receiving is sent;To the transmission file acquisition The service server of request sends the first configuration file after change;The service server determined takes including the first business Business device;
First service server, takes for receiving in the update notification that the configuration server is sent, the update notification The condition code of the first configuration file after the first file identification and change with the first configuration file;Generate be locally stored with The condition code of the corresponding configuration file of first file identification;If the condition code carried in the update notification and acquisition Condition code is different, then sends file acquisition request to the configuration server;Receive after the change that the configuration server is sent The first configuration file;According to the first configuration file after the change, the parameter value in local business procedure is carried out more Newly.
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 CN104092555A (en) 2014-10-08
CN104092555B true 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)

Families Citing this family (10)

* 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
CN105867837A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
CN106572173B (en) * 2016-11-07 2020-06-09 阿里巴巴(中国)有限公司 Configuration information updating method, device and system
CN107947971A (en) * 2017-11-16 2018-04-20 北京恒华伟业科技股份有限公司 A kind of collocation method of information, device and server
CN108898230B (en) * 2018-05-24 2022-08-16 超聚变数字技术有限公司 Equipment management method and management server
TWI752813B (en) * 2019-05-22 2022-01-11 華南商業銀行股份有限公司 Inspection and correction system of server's configuration based on touch operation and method thereof
TWI746361B (en) * 2019-05-22 2021-11-11 華南商業銀行股份有限公司 Inspection and correction system of server's configuration based on hash algorithm and method thereof
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
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005010038B4 (en) * 2005-03-04 2007-10-18 Infineon Technologies Ag A method of providing multiple group communication services, group communication service system and group communication service server unit
CN101902439B (en) * 2009-05-26 2016-04-06 北京金山软件有限公司 Upgrade the mthods, systems and devices of business server information on client
US9378007B2 (en) * 2010-12-01 2016-06-28 Apple Inc. Pre-heated software installation
CN102546796B (en) * 2011-12-31 2014-08-06 重庆新媒农信科技有限公司 Data updating system and method of service server
CN103034512B (en) * 2012-11-28 2016-10-05 北京奇虎科技有限公司 The method and apparatus of more new procedures
CN104092555B (en) * 2013-12-04 2017-09-12 腾讯数码(天津)有限公司 A kind of methods, devices and systems of undated parameter value

Also Published As

Publication number Publication date
WO2015081908A3 (en) 2015-07-23
CN104092555A (en) 2014-10-08
WO2015081908A2 (en) 2015-06-11

Similar Documents

Publication Publication Date Title
CN104092555B (en) A kind of methods, devices and systems of undated parameter value
CN104981768B (en) Stream data receiver and save routine based on cloud
US20170279840A1 (en) Automated event id field analysis on heterogeneous logs
US8838679B2 (en) Providing state service for online application users
CN109428922A (en) A kind of subscription dissemination method and server
US9430755B2 (en) System and method to enable communication group identification
CN104283723B (en) Network access log processing method and processing device
JP7483929B2 (en) Method and apparatus for evaluating jointly trained models - Patents.com
WO2015116863A1 (en) Private cloud connected device cluster architecture
US11244153B2 (en) Method and apparatus for processing information
JP5668043B2 (en) Management system, management server, management method and program
CN111182025A (en) Message processing method, device, server and storage medium
WO2015009584A1 (en) Techniques to manage state information for a web service
WO2021023149A1 (en) Method and apparatus for dynamically returning message
WO2015008450A1 (en) Directory service discovery and/or learning
CN104090899A (en) Method and device for feeding back display content information
CN103858121A (en) Method and system for making Web application obtain database change
CN112948723A (en) Interface calling method and device and related equipment
CN108769118A (en) The choosing method and device of host node in a kind of distributed system
CN106341497B (en) Digital ID generation method and device
CN106411977A (en) Tab synchronization method, terminal, server and system
JP5881396B2 (en) Identification information management support system, identification information management support method, and program
CN114745280B (en) Asset information management method, device, equipment and readable storage medium
CN105191419B (en) It enables the device to find to service via network controller or group owner
US20160253391A1 (en) Data communication in a distributed data grid

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