CN104363201B - A kind of server operation variation and system - Google Patents

A kind of server operation variation and system Download PDF

Info

Publication number
CN104363201B
CN104363201B CN201410535004.XA CN201410535004A CN104363201B CN 104363201 B CN104363201 B CN 104363201B CN 201410535004 A CN201410535004 A CN 201410535004A CN 104363201 B CN104363201 B CN 104363201B
Authority
CN
China
Prior art keywords
server
client
change
session data
request
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
CN201410535004.XA
Other languages
Chinese (zh)
Other versions
CN104363201A (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201410535004.XA priority Critical patent/CN104363201B/en
Publication of CN104363201A publication Critical patent/CN104363201A/en
Application granted granted Critical
Publication of CN104363201B publication Critical patent/CN104363201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method of server operation change, when detect interrupted distribute new client's access request to the first server for the change that needs to go into operation after, the request that the client of first server will have been signed in is transferred to second server, read by cache module and stored the session data of client, after the session data that second server loads client, the request of client is handled, change of going into operation then is implemented to first server.Invention additionally discloses a kind of server operation altering system, including distribute module, cache module, processing module and change module.Use this method and system, client's end operation that implementation personnel without waiting for login service device is merchandised and logged off, the server implementation could be changed, so save the time for waiting client to log off this stage, reduce the time of whole operation change process.The request for having logged in client is transferred to standby server, it is ensured that the not ongoing operation transaction of broken clients.

Description

A kind of server operation variation and system
Technical field
The present invention relates to technical field of network information, more particularly to a kind of server operation variation and system.
Background technology
In recent years, with information technology and the fast development of ecommerce, many business banks be proposed Web bank (with Lower abbreviation Net silver) service, and the network of the mechanisms such as Net silver and securities broker company, Fund Company, non-financial payment services tissue is put down Platform is interconnected, and client can easily carry out a variety of payment activities such as remittance, Investment & Financing, shopping online, Online Payment of transferring accounts.Hair Ebanking services are opened up, bank is had very big breakthrough on the room and time for providing service, no longer by traditional business hours and net The limitation of point, can effectively shunt business bank's front-end business, alleviate service processing pressure, save operation cost, also help Service level is improved in business bank, core competitiveness is lifted.
The service that Net silver is provided is very comprehensive, accordingly, and its operation change is also very universal and frequent.Go into operation and become More, it is information system for business bank, the upgrade job to service of goods initiated by server of the system, changed content bag Include the content update to product, change product function, amendment product defects, optimization properties of product etc..
However, operation change process at this stage is, it is necessary to devote a tremendous amount of time, and server gradually expands at present, number Amount increases, and makes this problem even more serious.
The content of the invention
It is an object of the invention to provide a kind of server operation variation and system, solve existing operation and changed Journey needs time-consuming problem.
The present invention provides a kind of server operation variation, including:
When detect interrupted distribute new client's access request to first server when, distribution server will sign in The request of the client of the first server is transferred to second server, the service that the first server changes to need to go into operation Device;
Caching server reads from the first server and stores the session data of the client;
After the session data that the second server loads the client, the second server handles the client's The request;
When receiving the first instruction for implementing operation change to the first server of user's input, server is changed Change of going into operation is implemented to the first server.
Alternatively, it is described when detect interrupted distribute new client's access request to first server when, distribution service The request that device will sign in the client of the first server is transferred to second server, in addition to:
The interruption that the distribution server receives user's input distributes new client's access to the first server Second instruction of request;
The distribution server, which is interrupted, distributes new client's access request to the first server;
When detect interrupted distribute new client's access request to the first server when, the distribution server will The request for having signed in the client of the first server is transferred to the second server.
Alternatively, the session data of the second server loading client includes:
The second server inquires about the session data whether caching server has stored the client, if so, then The second server loads the session data of the client from the caching server, if it is not, then the second server is The client sets up session data.
Alternatively, it is described when the first instruction for implementing operation change to the first server for receiving user's input When, change server implements change of going into operation to the first server, including:
Receive the first instruction changed of implementing to go into operation to the first server of user's input;
After the operation of application services of the first server is stopped, currently should for the first server is backed up Use service routine;
Change the application services of the first server;
After the operation for the application services for restarting the first server, the internal of the first server is verified Service;
The result that the first server has completed operation change is returned to the user.
Alternatively, the change server implements change of going into operation to the first server, in addition to:
The change server record implements the data of operation change to the first server, and the data include day Whether phase, the program version number of change, change succeed.
The present invention also provides a kind of server operation altering system, including:
Distribute module, for when detect interrupted distribute new client's access request to first server when, will step on The request for recording the client of the first server is transferred to second server, what the first server changed to need operation Server;
Cache module, the session data for the client to be read and stored from the first server;
Processing module, for after the session data of the client is loaded, handling the request of the client;
Module is changed, for when the first instruction for implementing operation change to the first server for receiving user's input When, change of going into operation is implemented to the first server.
Alternatively, the distribute module includes receiving unit and operating unit,
The receiving unit, the stopping for receiving user's input distributes new client's access to the first server please The second instruction asked;
The operating unit, new client's access request is distributed for interrupting to the first server, when detecting When interrupting to the new client's access request of first server distribution, the client's that will sign in the first server please Ask and be transferred to the second server.
Alternatively, the processing module, the session data for loading the client includes:
The processing module inquires about the session data whether cache module has stored the client, if so, then from institute The session data that cache module loads the client is stated, if it is not, then setting up session data for the client.
Alternatively, the change module includes:
Receiving unit, the first instruction for implementing operation change to the first server for receiving user's input;
Backup units, for after the operation of application services of the first server is stopped, backing up described first The current application service routine of server;
Changing unit, the application services for changing the first server;
Authentication unit, after the operation for the application services for restarting the first server, verifies described the The internal service of one server;
As a result returning unit, the result that operation is changed has been completed for returning to the first server to the user.
Alternatively, the change module also includes recording unit,
For recording the data implemented to go into operation to the first server and changed, the data include date, the journey of change Whether sequence version number, change succeed.
A kind of server operation variation and system that the present invention is provided, are being interrupted to the first clothes for needing operation to change It is engaged in after the new client's access request of device distribution, the request for the client that will sign in first server is transferred to the second standby clothes Business device, is read by cache module and is stored the session data of the client, and the session number of the client is loaded in second server According to rear, the request of the client is handled, change of going into operation then is implemented to the first server.So, using this method and it is System, during being changed to the operation of server, the client that implementation personnel without waiting for login service device terminates currently just Merchandise and log off in the operation of progress, the server implementation could be changed, so save wait client and log off The time in this stage, the time of whole operation change process is reduced, efficiency is improved.In addition, asking for client will have been logged in Ask and be transferred to standby server, the ongoing operation transaction of client is not interrupted, it is ensured that client merchandises with server session Integrality.
Brief description of the drawings
A kind of flow chart of the embodiment one for server operation variation that Fig. 1 provides for the present invention;
A kind of flow chart of the embodiment two for server operation variation that Fig. 2 provides for the present invention;
Fig. 3 implements the flow chart of operation change for change server in the embodiment of the present invention two to first server;
A kind of structural representation of the embodiment for server operation altering system that Fig. 4 provides for the present invention.
Embodiment
The present invention provides a kind of server operation variation and system, and solving existing operation change process needs flower The problem of taking the plenty of time.
Go into operation and change, be the information system for business bank, the upgrading to service of goods initiated by server of the system Work, changed content includes content update, change product function, amendment product defects, optimization properties of product to product etc..
In order that those skilled in the art more fully understand the present invention program, below with the Web bank of business bank Exemplified by (hereinafter referred to as Net silver) service, the present invention is described in further detail in conjunction with the accompanying drawings and embodiments.
As shown in figure 1, a kind of server operation variation provided in an embodiment of the present invention, including step:
100:When detect interrupted distribute new client's access request to first server when, distribution server will have been stepped on The request for recording the client of the first server is transferred to second server, what the first server changed to need operation Server.
101:Caching server reads from the first server and stores the session data of the client.
102:After the session data that the second server loads the client, the second server handles the visitor The request at family.
103:When receiving the first instruction for implementing operation change to the first server of user's input, change clothes Device be engaged in first server implementation operation change.
Wherein, user refers to the implementation personnel of system operation change;Client refers to the user of Net silver service, and client passes through Internet-browser logs in ebanking server, is traded operation.The Net silver clothes that the first server changes to need to go into operation Business device, the second server is the ebanking server of system reserve.
Session data is Session data, refers to that client passes through data during Internet-browser login service device, data Include client and the unique interaction data information of service end.Session data are when being client's login service device by server Include customer information, such as customer ID, customer name, these data in the unique mark of distribution, the Session data of client All it is to be preserved by name-value pair (key-value), it preserves data may be such as following table:
Custid 169800929900
Custname Zhang San
Custtel 1360000002
custaddr Found the state No. 20 outdoors in Beijing
Session data on different server can be by increasing by an item data, i.e., in Session data:
servername Ebanking server 1
Server could handle the request of the client after the session data of the client is loaded.
During existing change of going into operation, to each ebanking server, implementation personnel are required in listed visitor After family end operation is merchandised and exited, the application service of the server could be stopped, implementing change of going into operation, and wait client to terminate Merchandise and the time in this stage of logging off is uncontrollable, so operation change is required for devoting a tremendous amount of time every time. Method described in the present embodiment, the client that implementation personnel without waiting for login service device terminates current ongoing operation Merchandise and log off, but the client of server request is transferred to standby server, and by caching server from this Server is read and stores the session data of the client, and then the server implementation can be changed.So save wait Client logs off time in this stage, reduces the time of whole operation change process, improves efficiency.
As shown in Fig. 2 a kind of server operation variation that further embodiment of this invention is provided, including step:
200:The interruption that distribution server receives user's input distributes new client's access request to the first server Second instruction.
201:The distribution server, which is interrupted, distributes new client's access request to the first server.
202:When detect interrupted distribute new client's access request to the first server when, the distribution service The request that device will sign in the client of the first server is transferred to the second server.
203:Caching server reads from the first server and stores the session data of the client.
204:Whether the second server query caching server has stored the session data of the client, if so, then The second server loads the session data of the client stored from caching server, if it is not, the then second service Device is that the client sets up session data.
When the request that the distribution server would log on the client of the first server is transferred to the second service After device, second server inquires about the session data with the presence or absence of the client first in caching server, if so, then second Server is loaded directly into the session data of the client from caching server, and so described client need not re-enter password login Second server;If not provided, so second server will set up session data for the client, now client needs again defeated Enter password to log in the second server.
205:The second server handles the request of the client.
206:When receiving the first instruction for implementing operation change to the first server of user's input, change clothes Device be engaged in first server implementation operation change.
In the present embodiment, distribution server is interrupted to the new client's access request of first server distribution and distribution The request that server would log on the client of the first server is transferred to the second server, can be by using F5 Load balancing scheme realizes, wherein, F5 load balancing schemes are that the request based on server set group terminal provided by F5 companies is equal Weighing apparatus distribution solution.
Due to Net silver service be business bank region be directly facing client to one of public services channels, once going wrong to stand Public's aspect is exposed to, bank's prestige is adversely affected, so, it should ensure change when system implements to go into operation change It is correct, do not influence the operation of client to merchandise again.The visitor of the first server for needing operation change will be logged in The request at family is transferred to standby second server, and client is post-processed in the session data for loading the client by second server Request, the ongoing operation transaction of the client is not interrupted, it is ensured that it is complete that client and server session are merchandised Whole property.
It is described when receive user's input first server implementation operation is changed first refers in the present embodiment When making, change server implements change of going into operation to the first server, as shown in figure 3, this process specifically includes following step Suddenly:
300:Receive the first instruction changed of implementing to go into operation to the first server of user's input.
301:After the operation of application services of the first server is stopped, working as the first server is backed up Preceding application services.
302:Change the application services of the first server.
303:After the operation for the application services for restarting the first server, the first server is verified Internally service.
304:The result that the first server has completed operation change is returned to the user.
305:The data implemented to go into operation to the first server and changed are recorded, the data include date, the journey of change Whether sequence version number, change succeed.
User is implementation personnel, in the selected first server, to change server input to the first server After the first instruction for implementing operation change, change server can complete the step that the above is implemented to change to first server. Change server can record the data implemented to go into operation to the first server and changed, including server resource, Date Of Change, change Whether successfully etc. program version number more, change, can also pass through graphic interface by corresponding condition generation change statistical report form Show, implementation personnel is inquired about change record according to date or version number.
Need implementation personnel to implement change manually compared to existing operation change process, have operational error, miss certain Platform server or certain server change incorrect possibility, and cause unsuccessful, the side described in the present embodiment of entirely going into operation Method, change server is after reception described first is instructed with regard to completing the change to server, and recording server to go into operation what is changed Corresponding data, so considerably reduces change of going into operation and the risk of mistake occurs, improve efficiency.
Step 304 returns to the result that the first server has completed operation change to the user, user is implemented Personnel after this result is obtained, can using F5 load balancing schemes to completed go into operation change the first server again The new client's access request of distribution.
As shown in figure 4, a kind of server operation altering system provided in an embodiment of the present invention, including:It is distribute module 40, slow Storing module 41, processing module 42 and change module 43.
Distribute module 40, for when detect interrupted distribute new client's access request to first server when, by The request for signing in the client of the first server is transferred to second server, and the first server changes to need to go into operation Server.
Distribute module 40 includes receiving unit 400 and operating unit 401.Receiving unit 400 receives the stopping of user's input The second instruction of new client's access request, after receiving unit receives the second instruction, behaviour are distributed to the first server Make unit 401 to interrupt to the new client's access request of first server distribution, interrupted when detecting to the described first clothes When business device distributes new client's access request, the request that operating unit 401 will sign in the client of the first server turns Move on to the second server.
Cache module 41, the session data for the client to be read and stored from the first server.Cache module 41 can use Memcached cache service systems, and Memcached cache service systems are by Danga Interactive companies Exploitation, be a high performance distributed memory target cache system, for Dynamic Web Applications to mitigate database loads. Memcached reduces the number of times of reading database by data cached in internal memory and object, so as to improve dynamic, database Drive the access speed of website.
Processing module 42, for after the session data of the client is loaded, handling the request of the client.Processing Module 42 first has to query caching module 41 and whether has stored the session data of the client, if so, then loading the institute stored The session data of client is stated, if it is not, then setting up session data for the client.
Module 43 is changed, the first finger for implementing operation change to the first server of user's input is received for working as When making, change of going into operation is implemented to the first server.
Change module 43 is returned including receiving unit 430, backup units 431, changing unit 432, authentication unit 433 and result Receipt member 434.The first instruction for implementing operation change to the first server of user's input is received in receiving unit 430 Afterwards, the operation of the application services of the first server is stopped, then backup units 431 back up the first server Current application service routine, after the completion of backup, changing unit 432 changes the application services of the first server. After the operation for the application services for restarting the first server, authentication unit 433 verifies the first server Internally service, and return to the result that the first server has completed operation change from result returning unit 434 to the user.
Changing module 43 also includes recording unit 435, and recording unit 435 is used to record to be implemented to throw to the first server The data of change are produced, whether the data succeed including date, the program version number of change, change.Recording unit 435 can also be by Corresponding condition generation change statistical report form, is shown by graphic interface, makes implementation personnel can be according to date or version Number inquiry change record.
A kind of server operation variation provided by the present invention and system are described in detail above.For this The method and system illustrated in each embodiment is invented, within the spirit and principles of the invention, any modification for being made, Equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (8)

1. a kind of server operation variation, it is characterised in that including:
When detect interrupted distribute new client's access request to first server when, distribution server will sign in described The request of the client of first server is transferred to second server, the server that the first server changes to need to go into operation;
Caching server reads from the first server and stores the session data of the client;
After the session data that the second server loads the client, the second server handles the described of the client Request;
When receiving the first instruction for implementing operation change to the first server of user's input, change server is to institute State first server and implement change of going into operation;
Wherein, it is described when detect interrupted distribute new client's access request to first server when, distribution server is by The request for signing in the client of the first server is transferred to second server, including:
The interruption that the distribution server receives user's input distributes new client's access request to the first server Second instruction;
The distribution server, which is interrupted, distributes new client's access request to the first server;
When detect interrupted distribute new client's access request to the first server when, the distribution server will have been stepped on The request for recording the client of the first server is transferred to the second server.
2. server operation variation as claimed in claim 1, it is characterised in that the second server loads the visitor The session data at family includes:
The second server inquires about the session data whether caching server has stored the client, if so, then described Second server loads the session data of the client from the caching server, if it is not, then the second server is described Client sets up session data.
3. server operation variation as claimed in claim 1, it is characterised in that described when pair for receiving user's input When the first server implements the first instruction of operation change, change server is implemented operation to the first server and become More, including:
Receive the first instruction changed of implementing to go into operation to the first server of user's input;
After the operation of application services of the first server is stopped, the current application clothes of the first server are backed up Business program;
Change the application services of the first server;
After the operation for the application services for restarting the first server, verify the first server to for oral administration Business;
The result that the first server has completed operation change is returned to the user.
4. server operation variation as claimed in claim 1, it is characterised in that the change server is to described first Server implementation, which is gone into operation, changes, in addition to:
The change server record implements the data of operation change to the first server, and the data include the date, become Whether program version number more, change succeed.
5. a kind of server operation altering system, it is characterised in that including:
Distribute module (40), for when detect interrupted distribute new client's access request to first server when, will step on The request for recording the client of the first server is transferred to second server, what the first server changed to need operation Server;
Cache module (41), the session data for the client to be read and stored from the first server;
Processing module (42), for after the session data of the client is loaded, handling the request of the client;
Module (43) is changed, for when the first instruction for implementing operation change to the first server for receiving user's input When, change of going into operation is implemented to the first server;
Wherein, the distribute module (40) includes receiving unit (400) and operating unit (401),
The receiving unit (400), the stopping for receiving user's input distributes new client to the first server and accessed Second instruction of request;
The operating unit (401), new client's access request is distributed for interrupting to the first server, when detecting When interrupting to the new client's access request of first server distribution, the client's that will sign in the first server please Ask and be transferred to the second server.
6. server operation altering system as claimed in claim 5, it is characterised in that the processing module (42), for adding Carrying the session data of the client includes:
The processing module inquires about the session data whether cache module has stored the client, if so, then from described slow Storing module loads the session data of the client, if it is not, then setting up session data for the client.
7. server operation altering system as claimed in claim 5, it is characterised in that the change module (43) includes:
Receiving unit (430), the first instruction for implementing operation change to the first server for receiving user's input;
Backup units (431), for after the operation of application services of the first server is stopped, backing up described first The current application service routine of server;
Changing unit (432), the application services for changing the first server;
Authentication unit (433), after the operation for the application services for restarting the first server, verifies described the The internal service of one server;
As a result returning unit (434), the result that operation is changed has been completed for returning to the first server to the user.
8. server operation altering system as claimed in claim 7, it is characterised in that the change module also includes record First (435),
For recording the data implemented to go into operation to the first server and changed, the data include date, the program version of change This number, change whether succeed.
CN201410535004.XA 2014-10-11 2014-10-11 A kind of server operation variation and system Active CN104363201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410535004.XA CN104363201B (en) 2014-10-11 2014-10-11 A kind of server operation variation and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410535004.XA CN104363201B (en) 2014-10-11 2014-10-11 A kind of server operation variation and system

Publications (2)

Publication Number Publication Date
CN104363201A CN104363201A (en) 2015-02-18
CN104363201B true CN104363201B (en) 2017-10-20

Family

ID=52530427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410535004.XA Active CN104363201B (en) 2014-10-11 2014-10-11 A kind of server operation variation and system

Country Status (1)

Country Link
CN (1) CN104363201B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227529B (en) * 2016-07-21 2019-06-28 中国工商银行股份有限公司 Host application program version, which is gone into operation, shuts down optimization method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644120B2 (en) * 2000-09-15 2010-01-05 Invensys Systems, Inc. Industrial process control data access server supporting multiple client data exchange protocols
CN102332072A (en) * 2010-11-01 2012-01-25 卡巴斯基实验室封闭式股份公司 The system and method that is used for detection of malicious software and management Malware relevant information
CN103731290A (en) * 2012-10-16 2014-04-16 无锡云捷科技有限公司 Server failure switching method
CN103825777A (en) * 2014-02-14 2014-05-28 杭州华三通信技术有限公司 DMZ server switching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644120B2 (en) * 2000-09-15 2010-01-05 Invensys Systems, Inc. Industrial process control data access server supporting multiple client data exchange protocols
CN102332072A (en) * 2010-11-01 2012-01-25 卡巴斯基实验室封闭式股份公司 The system and method that is used for detection of malicious software and management Malware relevant information
CN103731290A (en) * 2012-10-16 2014-04-16 无锡云捷科技有限公司 Server failure switching method
CN103825777A (en) * 2014-02-14 2014-05-28 杭州华三通信技术有限公司 DMZ server switching method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
上海农商银行网上银行系统的优化研究;刘畅;《中国优秀硕士学位论文全文数据库信息科技辑(2012)》;20120615(第6期);第4.3节 *

Also Published As

Publication number Publication date
CN104363201A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
CN103886079B (en) A kind of data processing method and system
CN104732441B (en) A kind of verification of data method and device suitable for fund commission organization
CN106101179B (en) Resource processing method, device and system
US8191058B2 (en) Computer processing system for realizing data upgrade and a data upgrading method
CN107230092B (en) Accounting processing method and device and server
US20130060681A1 (en) Settlement and remittance-processing method of virtual money, settlement and remittance-processing system, and settlement and remittance-processing program
CN104463574A (en) Payment method, payment platform and terminal
CN106970846A (en) Payment system message is controlled and processing method, device
CN109447607B (en) Transaction method and device for unit account
CN107958318B (en) Resource distribution method and device
CN105335847A (en) Operation method and device of electronic account
CN104299132A (en) Uniform payment gateway
CN107665462A (en) Method and system for automatically cross-platform executing shareholder voting
CN104363201B (en) A kind of server operation variation and system
CN104317660B (en) A kind of bank's parameter management system
CN106034148B (en) Rapid information interaction method, local server, remote server and system
CN106875231A (en) A kind of reward voucher application method and device
CN111026560A (en) Method and device for processing product data, computer equipment and storage medium
US20100281490A1 (en) Generating transaction message
CN108011926A (en) A kind of file transmitting method, processing method, server and system
CN110263063B (en) Asset query method and server
CN113450099A (en) Foreign exchange hanging list transaction processing method, device and system based on alliance chain
JP5812645B2 (en) Electronic commerce system
CN113177843A (en) Cross-bank loan service processing method and device based on block chain
CN112053218A (en) Bill management system, bill management method, computer device, and storage medium

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