CN101179573B - Method of implementing online dynamic updating server software configuration information - Google Patents

Method of implementing online dynamic updating server software configuration information Download PDF

Info

Publication number
CN101179573B
CN101179573B CN2007101514943A CN200710151494A CN101179573B CN 101179573 B CN101179573 B CN 101179573B CN 2007101514943 A CN2007101514943 A CN 2007101514943A CN 200710151494 A CN200710151494 A CN 200710151494A CN 101179573 B CN101179573 B CN 101179573B
Authority
CN
China
Prior art keywords
client
server
configuration information
communication
software
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.)
Expired - Fee Related
Application number
CN2007101514943A
Other languages
Chinese (zh)
Other versions
CN101179573A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101514943A priority Critical patent/CN101179573B/en
Publication of CN101179573A publication Critical patent/CN101179573A/en
Application granted granted Critical
Publication of CN101179573B publication Critical patent/CN101179573B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for achieving online dynamically updating of the configuration information of the server software, which comprises the following steps: (1) the communication mode, the communication protocol and the specific message format between the client and the server are defined; (2) after the initialization of the server software is accomplished, the server is built and thecommunication request at the client through the server is monitored; (3) after the client detects the update of the configuration information, the client sends the communication request to the server; (4) the server receives the communication request from the client and resolves the communication request from the client; (5) the server updates the updated configuration information into the running environment of the server software according to the content of the communication request and the server software adopts the new software running environment to carry out the service logic processing. The method of the invention in which the communication server and the client are utilized not only can avoid rebooting the dynamic update of the software running environment, but also does not lowerthe performance of the software for communication server.

Description

A kind of online implementation method that dynamically updates server software configuration information
Technical field
The present invention relates to the authentication and authorization charging field of data communication, specifically, relate to a kind of server and the online implementation method that dynamically updates server software configuration information of client interactive mode utilized in this field.
Background technology
In present authentication of data communication mandate charging field, the high stability of authentication and authorization charging server system and high reliability directly influence carrying out of Operator Specific Service and take in, also relate to the normal use of numerous customer services, in user's epoch more and more higher to business need, also be the emphasis of vast operator thinking how for the user provides reliable and stable service, the function that authentication and authorization charging server software is realized is closely-related with its software runtime environment, different functions, business processing logic often all is to realize by different software runtime environments, when needs are realized the different business logic, only need to select corresponding software runtime environment just can realize, but software runtime environment is with itself configuration information much relations to be arranged, and update software running environment also realize by revising often by its configuration information.And authentication and authorization charging server software is as a kind of on-line system, how in following configuration information real-time update of upgrading of the situation of non-interrupting service in software runtime environment and to come into force be difficult problem and urgent problem on software is realized.
At present, mode for update software running environment mainly contains two kinds, a kind of is that configuration information is kept in the configuration file, software is initialized the time, carry out the initial configuration software runtime environment according to software configuration file information, software can only operate in the current software runtime environment, in case when need revising the configuration information update software runtime environment, must restart software, reinitialize software runtime environment; Another kind is that the configuration information with software deposits in the database configuration information table, and program is by the real time access database table, thereby judging whether configuration information changes need to determine whether update software running environment.
As shown in Figure 1; the shortcoming of first kind of mode clearly; when needing exactly to revise the running environment of software; necessary restart routine; for this class on-line system of authenticated authorization accounting system; in case restart routine; in the process that stops to restart; the user is Certificate Authority normally; be certain to cause service disconnection; influence the user and normally use business, and if protection mechanism do not enough, also can cause losing of charge information; cause the loss of Operator Specific Service income; also do not have at present similar patent to propose the way that addresses this problem, the advantage of this mode is: when needing update software running environment, the mode of revising configuration information is fairly simple.
As shown in Figure 2, the second way is not because can interrupting service, be that on-line system uses many a kind of modes at present, and for the convenience on disposing, thereby often adopt the make amendment configuration of software of interface to reach the purpose of update software running environment, this mode up-to-date patent at present is on 09 28th, 2005 disclosed " dynamic monitoring system and a method that database table upgrades " of defending ten thousand brave inventions by Shanghai Baosight Software Co., Ltd, this patent is to utilize the trigger object of database to realize, its significant disadvantages is: the necessary real time access database of on-line system, to obtain the update mode of software configuration information, increase the extra process expense of software systems itself and database, reduced the handling property of software own.
Summary of the invention
Technical problem solved by the invention is to provide a kind of online implementation method that dynamically updates server software configuration information, to realize to guarantee that not only online dynamic realization modification configuration information is to realize new business processing logic, and can guarantee not increase the overhead processing of software itself, improved the performance of system, simultaneously can reach operator requirement stable, reliable business is provided, can not lose charge information yet, cause the problem of the meaningless professional revenue losses of operator.
In order to address the above problem, the invention provides a kind of online implementation method that dynamically updates server software configuration information, may further comprise the steps:
(1) communication mode between the definition client and server, communication protocol and concrete message format;
(2) after the server software initialization finishes, set up the communication server and monitor the communication request of client by it;
(3) described client is initiated the communication request with described server after detecting configuration information update;
(4) described server is accepted the communication request of this client, and resolves the communication request of client;
(5) according to the content of communication request, in the running environment of server software, this server software adopts new software runtime environment to carry out new business logic processing with the configuration information update that upgrades.
Method of the present invention, wherein, communication protocol described in the step (1) comprises: transmission control protocol, User Datagram Protoco (UDP), SCTP, Inter-Process Communication agreement.
Method of the present invention, wherein, the detection configuration information update of client described in the step (3) for described client automatic scan compares configuration information, is found configuration information update.
Method of the present invention, wherein, the detection configuration information update of client described in the step (3), for the operator after revising configuration information, call described client and carry out the running environment of server software is upgraded.
Method of the present invention, wherein, described step (3) further comprises: described server is judged the legitimacy of this client after receiving the communication request of client.
Wherein, the legitimacy of described this client of judgement comprises: client address is checked the scope of restriction client prevents that illegitimate client from carrying out malicious modification server software running environment; And the described shared key of server increase or other proof of identity information, after receiving the communication request of client, carry out the identity properties verification.
Method of the present invention, wherein, the configuration information that upgrades described in the step (5) comprises: update all configuration information or partial update configuration information.
Wherein, described partial update configuration information is for adopting the value after the renewal that increases configuration item information and configuration item in message.
Method of the present invention, wherein, server software initialization described in the step (2) is the software runtime environment that initialization comprises described client configuration.
Method of the present invention, wherein, client described in the step (3) is initiated the communication request with described server, it is the request of establishing a communications link of described client, or the communication information request mainly initiated of described client, or after the request of establishing a communications link earlier of described client, initiate the communication information request again.
Adopt the method for the invention can guarantee that not only online dynamic realization modification configuration information is to realize new business processing logic, and can guarantee not increase the overhead processing of software itself, improved the performance of system, for this on-line system particularly suitable of authentication and authorization charging server software, not only can reach operator requirement stable, reliable business is provided, can not lose charge information yet, cause the meaningless problems such as professional revenue losses of operator.
Description of drawings
Fig. 1 is the update software running environment flow chart that the present invention's configuration file described in the prior art is preserved configuration information;
Fig. 2 is the update software running environment flow chart that the present invention's database described in the prior art is preserved configuration information;
Fig. 3 is that the method for utilizing the communication server and client described in the embodiment of the invention realizes configuration file preservation configuration information update software runtime environment flow chart;
Fig. 4 is that the method fulfillment database that utilizes the communication server and client described in the embodiment of the invention is preserved configuration information update software runtime environment flow chart.
Embodiment
The present invention provides a kind of online implementation method that dynamically updates server software configuration information here, to realize to guarantee that not only online dynamic realization modification configuration information is to realize new business processing logic, and can guarantee not increase the overhead processing of software itself, improved the performance of system, simultaneously can reach operator requirement stable, reliable business is provided, can not lose charge information yet, cause the problem of the meaningless professional revenue losses of operator.Below embodiment is described in detail, but not as a limitation of the invention.
It is prerequisite with non-interrupting service with losing charge information that the purpose of the embodiment of the invention provides a kind of, under the situation that does not increase the processing expenditure of software systems own, and the online method that dynamically updates the software runtime environment of the authentication and authorization charging communication server.
The method of the invention can guarantee can not reduce the handling property of server in the mode of utilizing the communication server and client, avoids that the authentication and authorization charging communication server is online need restart the situation that causes service disconnection because of revising the config update software runtime environment.
The main realization thinking of the method for the invention is as follows:
A. define the concrete message format for communications between the server and client side.
When B. server software starts, set up the communication server, and begin to monitor client.
C. client is checked through software configuration information and changes, and beginning and server establish a communications link.
D. server carries out dissection process to the communication request of client.
E. be the configuration information update request, update service device software runtime environment then.
Shown in 3 and 4, the embodiment of the invention can realize according to following steps above-mentioned realization thinking in conjunction with the accompanying drawings:
(1), determines the communication mode and the communication protocol of client and server, for example: transmission control protocol, User Datagram Protoco (UDP), SCTP, Inter-Process Communication or the like according to the characteristics of authentication and authorization charging server; Message format for communications between definition server and the client;
(2) described authentication and authorization charging server software initialization comprises that communication customer end is configured in interior software runtime environment;
(3) described authentication and authorization charging server software is set up the communication server after initialization finishes, and monitors the communication request of client;
(4) described client is initiated the communication request with server after detecting configuration information update;
(5) described server is judged the legitimacy of client after receiving the communication request of client;
(6) described server is accepted the communication request of communication customer end, and resolves the communication request of client;
(7) according to the content of communication request, with the configuration information update that upgrades in the running environment of server software;
(8) described authentication and authorization charging server software adopts new software runtime environment to carry out new business logic processing.
Described method, wherein, described step (5) not necessarily, but fail safe for the server software operation, prevent that other softwares are not intended to or the modification software runtime environment of malice, can in communication client information, increase the IP address, share authorization informations such as secret key, even in step (2), adopt the mode of encrypting, to increase the fail safe of software.
Described method wherein, in the described step (1), has just been enumerated the communication mode that generally adopts at present, as long as can be applied in this mode for other methods that can adopt the server and client side to communicate simply.
Described method, wherein, in the described step (2), main purpose is in order to realize the protection of software better, to have increased the configuration to communication customer end, just can avoiding the running environment of intentionally artificial or the server software of making amendment mala fide.
Described method, wherein, in the described step (4), the detection configuration information update of communication customer end mainly contains following mode and realizes:
First kind, the client automatic scan is configuration information relatively, finds configuration information update;
Second kind, the operator calls client and carries out the software environment of server is upgraded after revising configuration information.
Described method, wherein, in the described step (4), the client communication requests is the request of establishing a communications link, or the main communication information request of initiating, or after the request of establishing a communications link earlier, initiates the communication information request again.
Described method, wherein, described step (5) is to realize the committed step of software security in the method, can realize following function:
(51) client address is checked that the scope of limiting telecommunication client prevents that illegitimate client from carrying out the malicious modification software runtime environment.
(52) can increase shared key, perhaps other proof of identity information after receiving the communication request of client, are carried out the identity properties verification.
Described method, wherein, described step (7), can realize according to following steps:
Message format for communications according to definition can be defined as update all or the information updating of part configuration information; Wherein, the part configuration information update can adopt in message the value after the renewal that increases configuration item information and configuration item.
The improvement of the maximum of the method for the invention is when adopting the communication server software of configuration file preservation configuration information to need update software running environment originally, must in configuration file, revise corresponding configuration information earlier, restart the running environment of communication server software ability update software again, and new mode can restart the direct update software running environment of the communication server, can interrupting service and influence user's use.
Of the present invention another improves communication server timing scan database to obtain configuration information update, be modified as by client by the message informing communication server, the communication server selectively upgrades after notified message, thereby has improved the handling property of the communication server.
In sum, the method for utilizing the communication server and client that the present invention discussed not only can be avoided restarting dynamic update software running environment, and can not reduce the performance of communication server software own.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. an online implementation method that dynamically updates server software configuration information is characterized in that, may further comprise the steps:
(1) communication mode between the definition client and server, communication protocol and concrete message format;
(2) after the server software initialization finishes, set up the communication server and monitor the communication request of client by it;
(3) described client is initiated the communication request with described server after detecting configuration information update;
(4) described server is accepted the communication request of this client, and resolves the communication request of client;
(5) according to the content of communication request, in the running environment of server software, this server software adopts new software runtime environment to carry out new business logic processing with the configuration information update that upgrades.
2. the method for claim 1 is characterized in that, communication protocol described in the step (1) comprises: transmission control protocol, User Datagram Protoco (UDP), SCTP, Inter-Process Communication agreement.
3. the method for claim 1 is characterized in that, the detection configuration information update of client described in the step (3) for described client automatic scan compares configuration information, is found configuration information update.
4. the method for claim 1 is characterized in that, the detection configuration information update of client described in the step (3), for the operator after revising configuration information, call described client and carry out the running environment of server software is upgraded.
5. the method for claim 1 is characterized in that, described step (3) further comprises: described server is judged the legitimacy of this client after receiving the communication request of client.
6. method as claimed in claim 5 is characterized in that, the legitimacy of described this client of judgement comprises: client address is checked the scope of restriction client prevents that illegitimate client from carrying out malicious modification server software running environment; And the described shared key of server increase or other proof of identity information, after receiving the communication request of client, carry out the identity properties verification.
7. the method for claim 1 is characterized in that, the configuration information that upgrades described in the step (5) comprises: update all configuration information or partial update configuration information.
8. method as claimed in claim 7 is characterized in that, described partial update configuration information is for adopting the value after the renewal that increases configuration item information and configuration item in message.
9. the method for claim 1 is characterized in that, server software initialization described in the step (2) is the software runtime environment that initialization comprises described client configuration.
10. the method for claim 1, it is characterized in that, client described in the step (3) is initiated the communication request with described server, it is the request of establishing a communications link of described client, or the communication information request mainly initiated of described client, or after the request of establishing a communications link earlier of described client, initiate the communication information request again.
CN2007101514943A 2007-10-24 2007-10-24 Method of implementing online dynamic updating server software configuration information Expired - Fee Related CN101179573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101514943A CN101179573B (en) 2007-10-24 2007-10-24 Method of implementing online dynamic updating server software configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101514943A CN101179573B (en) 2007-10-24 2007-10-24 Method of implementing online dynamic updating server software configuration information

Publications (2)

Publication Number Publication Date
CN101179573A CN101179573A (en) 2008-05-14
CN101179573B true CN101179573B (en) 2010-08-18

Family

ID=39405658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101514943A Expired - Fee Related CN101179573B (en) 2007-10-24 2007-10-24 Method of implementing online dynamic updating server software configuration information

Country Status (1)

Country Link
CN (1) CN101179573B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003387B2 (en) * 2009-09-25 2015-04-07 Fisher-Rosemount Systems, Inc. Automated deployment of computer-specific software updates
CN102148691B (en) * 2010-02-08 2015-04-29 北京启明星辰信息技术股份有限公司 Distributed intrusion detection system and connecting method of centralized management in same
CN102467412B (en) * 2010-11-16 2015-04-22 金蝶软件(中国)有限公司 Method, device and business system for processing operation request
CN103207789B (en) * 2012-01-16 2016-12-14 阿里巴巴集团控股有限公司 Application server constant value dynamic updating method and system
CN103377097B (en) * 2012-04-24 2017-12-05 腾讯科技(深圳)有限公司 A kind of client software that handles occurs to dodge the method and device for problem of moving back
CN104104701A (en) * 2013-04-08 2014-10-15 腾讯科技(深圳)有限公司 Online service configuration updating method and system
CN103458024B (en) * 2013-08-30 2016-08-10 国电南瑞科技股份有限公司 A kind of for the renewal of human-computer interface in automatic train supervision data and synchronous method
CN104486393A (en) * 2014-12-08 2015-04-01 畅捷通信息技术股份有限公司 Resource configuration and recycling method and resource configuration and recycling system
CN105790997A (en) * 2014-12-26 2016-07-20 北大医疗信息技术有限公司 Configuration data update method and system, client and server
CN104954482A (en) * 2015-06-29 2015-09-30 上海瀚之友信息技术服务有限公司 Configuration management system and method
WO2017012097A1 (en) * 2015-07-22 2017-01-26 华为技术有限公司 Key system, key client, and key management method
CN106528057B (en) * 2015-09-09 2020-07-10 腾讯科技(深圳)有限公司 Method and device for realizing running environment adaptation
CN106357438B (en) * 2016-09-06 2019-12-06 杭州迪普科技股份有限公司 Configuration switching method and device
CN107861863A (en) * 2017-08-24 2018-03-30 平安普惠企业管理有限公司 Running environment switching method, equipment and computer-readable recording medium
CN112491614B (en) * 2020-11-26 2023-08-11 许昌许继软件技术有限公司 Configuration information online automatic validation method and system for embedded equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435974A (en) * 2002-01-29 2003-08-13 三星电子株式会社 Domain name management method and apparatus
CN1766838A (en) * 2004-10-29 2006-05-03 英业达股份有限公司 Software updating apparatus and method
CN1838602A (en) * 2005-03-22 2006-09-27 日本电气株式会社 Server system and online software update method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435974A (en) * 2002-01-29 2003-08-13 三星电子株式会社 Domain name management method and apparatus
CN1766838A (en) * 2004-10-29 2006-05-03 英业达股份有限公司 Software updating apparatus and method
CN1838602A (en) * 2005-03-22 2006-09-27 日本电气株式会社 Server system and online software update method

Also Published As

Publication number Publication date
CN101179573A (en) 2008-05-14

Similar Documents

Publication Publication Date Title
CN101179573B (en) Method of implementing online dynamic updating server software configuration information
US7950053B2 (en) Firewall system and firewall control method
US9124578B2 (en) Service opening method and system, and service opening server
KR100415111B1 (en) Initialization method of the internet protocol phone in an internet protocol telephony system
EP1805932B1 (en) System and method for providing a multi-credential authentication protocol
EP1987462B1 (en) Application verification
US20040003084A1 (en) Network resource management system
ZA200604291B (en) Method for managing the security of applications with a security module
CN110222500A (en) Method for edition management, device, equipment and computer readable storage medium
CN112016106B (en) Authentication calling method, device and equipment of open interface and readable storage medium
CN103813329A (en) Capability calling method and capability opening system
US7222151B1 (en) Technique for communication with mobile data processing devices by way of mobile software agents
KR100968028B1 (en) Hacker Protection and Detection Service Through Authentication Method Based On MAC
KR20100019165A (en) System and method for providing internet banking service
CN115695400A (en) Method and terminal for interaction between Web page and local application
EP1484859B1 (en) Control method with opaque user identifier administration for complete delivering of a multi-server service
US20080022397A1 (en) Systems and methods for managing network vulnerability
KR20090132963A (en) System and method for processing log-in request
JPH11341151A (en) Dial-up connection authentication system
CN112491895A (en) Identity authentication method, storage medium and system based on micro-service
CN110995756A (en) Method and device for calling service
CN117493362B (en) Data interaction verification method for distributed system
KR102221018B1 (en) Relay system and method for deling with fault of secure session for DB connection
CN116961961A (en) Network data transmission method, device, electronic equipment and readable storage medium
CN116016426A (en) Data transmission method, device, storage medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100818

Termination date: 20161024