CN104363201A - Server operation alteration method and server operation alteration system - Google Patents

Server operation alteration method and server operation alteration system Download PDF

Info

Publication number
CN104363201A
CN104363201A CN201410535004.XA CN201410535004A CN104363201A CN 104363201 A CN104363201 A CN 104363201A CN 201410535004 A CN201410535004 A CN 201410535004A CN 104363201 A CN104363201 A CN 104363201A
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.)
Granted
Application number
CN201410535004.XA
Other languages
Chinese (zh)
Other versions
CN104363201B (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

Abstract

The invention discloses a server operation alteration method and a server operation alteration system. The method includes: when the fact that distribution of new client access requests to a first server requiring operation alteration is interrupted is detected, transferring requests of a client logging in the first server to a second server, enabling a cache module to read and store session data of the client, dealing with the requests of the client after the second server loads the session data of the client, and subjecting the first server to operation alternation. The system comprises a distribution module, the cache module, a processing module and an altering module. By adoption of the server operation alteration method and the server operation alteration system, implementation personnel can directly carry out server alternation with no need of waiting the client logging in the server to finish transactions and log out, so that time for waiting the client to log out is saved, and time for the whole operation alternation process is shortened. Transferring the requests of the client logging in the server to the standby server can guarantee transaction carried out by the client against interruption.

Description

A kind of server operation variation and system
Technical field
The present invention relates to technical field of network information, particularly relate to a kind of server operation variation and system.
Background technology
In recent years, along with the fast development of information technology and ecommerce, many business banks are proposed Web bank's (hereinafter referred to as Net silver) service, and by interconnected for the network platform of the mechanisms such as Net silver and securities broker company, Fund Company, non-financial payment services tissue, client can carry out the multiple payment activities such as remittance, Investment & Financing, shopping online, Online Payment of transferring accounts easily.Development ebanking services, make bank on the room and time providing service, have very big breakthrough, no longer be subject to the restriction of tradition business hours and site, can effectively shunt business bank's front-end business, alleviate service processing pressure, save operation cost, also contribute to business bank and improve service level, promote core competitiveness.
The service that Net silver provides is very comprehensive, and accordingly, it is gone into operation and changes also is very general and frequent.Going into operation and change, is the information system for business bank, the upgrade job to service of goods initiated by system service end, and changed content comprises content update to product, changes product function, revises product defects, optimizing product performance etc.
But process is changed in the operation of present stage, requires a great deal of time, and server expands gradually at present, and increasing number, makes this problem even more serious.
Summary of the invention
The object of this invention is to provide a kind of server operation variation and system, solve existing operation and change the time-consuming problem of process need.
The invention provides a kind of server operation variation, comprising:
When detect interrupt distributing new client access request to first server time, the request of the client signing in described first server is transferred to second server by distribution server, described first server be need go into operation change server;
Caching server reads from described first server and stores the session data of described client;
Load the session data of described client at described second server after, the described request of client described in described second server process;
When receiving first instruction to described first server enforcement operation change of user's input, changing server and operation change is implemented to described first server.
Alternatively, described when detect interrupt distributing new client access request to first server time, the request of the client signing in described first server is transferred to second server by distribution server, also comprises:
The interruption that described distribution server receives described user input distributes the second instruction of new client access request to described first server;
Described distribution server interrupts distributing new client access request to described first server;
When detect interrupt distributing new client access request to described first server time, the request of the client signing in described first server is transferred to described second server by described distribution server.
Alternatively, the session data that described second server loads described client comprises:
Described second server inquires about the session data whether described caching server has stored described client, if, then described second server loads the session data of described client from described caching server, and if not, then described second server is that described client sets up session data.
Alternatively, described when receiving first instruction to described first server enforcement operation change of user's input, change server and operation change is implemented to described first server, comprising:
What receive user's input implements to described first server first instruction of changing of going into operation;
After the operation of application services stopping described first server, back up the current application service routine of described first server;
Change the application services of described first server;
After restarting the operation of the application services of described first server, verify the internal service of described first server;
Return described first server to described user and complete the result of going into operation and changing.
Alternatively, described change server is implemented to go into operation to described first server and is changed, and also comprises:
Described change server record implements to described first server the data changed of going into operation, described data comprise the date, change program version number, change whether success.
The present invention also provides a kind of server operation altering system, comprising:
Distribution module, for when detect interrupt distributing new client access request to first server time, second server is transferred in the request of the client signing in described first server, described first server be need go into operation change server;
Cache module, for reading from described first server and storing the session data of described client;
Processing module, for after the session data loading described client, processes the described request of described client;
Changing module, for when receiving first instruction to described first server enforcement operation change of user's input, change of going into operation being implemented to described first server.
Alternatively, described distribution module comprises receiving element and operating unit,
Described receiving element, the stopping for receiving user's input to distribute the second instruction of new client access request to described first server;
Described operating unit, new client access request is distributed to described first server for interrupting, when detect interrupt distributing new client access request to described first server time, described second server is transferred in the request of the client signing in described first server.
Alternatively, described processing module, comprises for the session data loading described client:
Described processing module inquires about the session data whether described cache module has stored described client, if so, then loads the session data of described client from described cache module, if not, then sets up session data for described client.
Alternatively, described change module comprises:
Receiving element, for receiving first instruction described first server being implemented to operation change of user's input;
Backup units, for after the operation of application services stopping described first server, backs up the current application service routine of described first server;
Changing unit, for changing the application services of described first server;
Authentication unit, for restart the application services of described first server operation after, verify the internal service of described first server;
Result returns unit, has completed the result of going into operation and changing for returning described first server to described user.
Alternatively, described change module also comprises record cell,
For recording, the data changed of going into operation are implemented to described first server, described data comprise the date, change program version number, change whether success.
A kind of server operation variation provided by the invention and system, after interrupting distributing new client access request to the first server needing operation to change, second server for subsequent use is transferred in the request of the client signing in first server, read by cache module and store the session data of described client, load the session data of described client at second server after, process the request of described client, then implement to go into operation to described first server and change.So, use the method and system, to in the operation change process of server, enforcement personnel do not need to wait for that the client of logon server terminates current ongoing operation and concludes the business and log off, could change this server implementation, which save and wait for that client logs off time of this one-phase, decrease the time of whole operation change process, improve efficiency.In addition, the request logging in client is transferred to standby server, the ongoing operation transaction of client is not interrupted, ensure that the integrality that client and server session are concluded the business.
Accompanying drawing explanation
Fig. 1 is the flow chart of the embodiment one of a kind of server operation variation provided by the invention;
Fig. 2 is the flow chart of the embodiment two of a kind of server operation variation provided by the invention;
Fig. 3 changes server to implement to first server the flow chart changed of going into operation in the embodiment of the present invention two;
Fig. 4 is the structural representation of the embodiment of a kind of server operation altering system provided by the invention.
Embodiment
The invention provides a kind of server operation variation and system, solve existing operation and change the time-consuming problem of process need.
Going into operation and change, is the information system for business bank, the upgrade job to service of goods initiated by system service end, and changed content comprises content update to product, changes product function, revises product defects, optimizing product performance etc.
In order to make those skilled in the art person understand the present invention program better, below for the Web bank of business bank (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 that the embodiment of the present invention provides, comprises step:
100: when detect interrupt distributing new client access request to first server time, the request of the client signing in described first server is transferred to second server by distribution server, described first server be need go into operation change server.
101: caching server reads from described first server and stores the session data of described client.
102: load the session data of described client at described second server after, the described request of client described in described second server process.
103: when receiving first instruction to described first server enforcement operation change of user's input, changing server and operation change is implemented to described first server.
Wherein, user refers to the enforcement personnel that system operation is changed; Client refers to the user that Net silver is served, and client logs in ebanking server by Internet-browser, carries out transactional operation.Described first server is need the ebanking server changed of going into operation, and described second server is the ebanking server of system reserve.
Session data and Session data, refer to that client is by data during Internet-browser logon server, and packet contains client and the unique interaction data information of service end.By the unique identification of server-assignment when Session data are client's logon servers, customer information is included in the Session data of client, as customer ID, customer name etc., these data are all preserved by name-value pair (key-value), and it preserves data possibility as following table:
Custid 169800929900
Custname Zhang San
Custtel 1360000002
custaddr Outside Jianguomen, Beijing No. 20
Session data on different server by increasing by an item number certificate in Session data, that is:
servername Ebanking server 1
Server, after the session data loading described client, could process the request of described client.
In existing operation change process, to each ebanking server, enforcement personnel need after listed client's end operation is concluded the business and exited, the application service of this server could be stopped, implement to go into operation and change, and wait for that client closes the trade and the time of this one-phase of logging off is uncontrollable, going into operation to change so each all requires a great deal of time.Method described in the present embodiment, enforcement personnel do not need to wait for that the client of logon server terminates current ongoing operation and concludes the business and log off, but the client of this server request is transferred to server for subsequent use, and to be read from this server by caching server and store the session data of described client, then just can change this server implementation.Which save and wait for that client logs off time of this one-phase, decrease the time of whole operation change process, improve efficiency.
As shown in Figure 2, a kind of server operation variation that further embodiment of this invention provides, comprises step:
200: the interruption of distribution server reception user input distributes the second instruction of new client access request to described first server.
201: described distribution server interrupts distributing new client access request to described first server.
202: when detect interrupt distributing new client access request to described first server time, the request of the client signing in described first server is transferred to described second server by described distribution server.
203: caching server reads from described first server and stores the session data of described client.
204: whether described second server query caching server has stored the session data of described client, if, then described second server loads the session data of the described client stored from caching server, and if not, then described second server is that described client sets up session data.
After the request of the client signing in described first server is transferred to described second server by described distribution server, first second server inquires about the session data that whether there is described client in caching server, if had, then second server directly loads the session data of described client from caching server, and described like this client is without the need to re-entering password login second server; If no, so second server will set up session data for described client, and now client needs to re-enter password to log in described second server.
205: the described request of client described in described second server process.
206: when receiving first instruction to described first server enforcement operation change of user's input, changing server and operation change is implemented to described first server.
In the present embodiment, distribution server interruption distributes new client access request to described first server and the request of the client signing in described first server is transferred to described second server by distribution server, all can realize by adopting F5 load balancing scheme, wherein, F5 load balancing scheme is the request equilibrium assignment solution based on server set group terminal provided by F5 company.
Because Net silver service is that business bank is directly customer-oriented to one of public services channels, public's aspect can be exposed to immediately once go wrong, adverse effect is caused to bank's prestige, so, the correct of change should be ensured when System Implementation is gone into operation and changed, not affect the operation transaction of client again.The request of the client logging in the described first server needing operation to change is transferred to second server for subsequent use, by the request of second server the session data reprocessing client of the described client of loading, make the ongoing operation transaction of described client not interrupt like this, ensure that the integrality that client and server session are concluded the business.
In the present embodiment, described when receiving first instruction to described first server enforcement operation change of user's input, change server and implement operation change to described first server, as shown in Figure 3, this process specifically comprises the following steps:
300: what receive user's input implements to described first server first instruction of changing of going into operation.
301: after the operation of application services stopping described first server, back up the current application service routine of described first server.
302: the application services changing described first server.
303: after restarting the operation of the application services of described first server, verify the internal service of described first server.
304: return described first server to described user and completed the result of going into operation and changing.
305: record and the data changed of going into operation are implemented to described first server, described data comprise the date, change program version number, change whether success.
Namely user implements personnel, in selected described first server, to changing server input to after the first instruction of described first server enforcement operation change, changing server and can complete above described step first server being implemented to change.Change server and can record the data described first server being implemented to operation change, comprise server resource, Date Of Change, change program version number, whether change successfully etc., also can generate by corresponding condition and change statistical report form, shown by graphic interface, make enforcement personnel can inquire about change record according to date or version number.
Change the process need personnel that implement compared to existing operation manually to implement to change, have operate miss, missing certain station server may or the change of certain station server is incorrect, and cause whole operation unsuccessful, method described in the present embodiment, change server just completes the change to server after receiving described first instruction, and record the corresponding data of server operation change, considerably reducing like this goes into operation changes the wrong risk of appearance, improves efficiency.
Step 304 returns described first server to described user and has completed the result of going into operation and changing, making user namely implement personnel after obtaining this result, F5 load balancing scheme can being adopted to redistribute new client access request to completing the described first server changed of going into operation.
As shown in Figure 4, a kind of server operation altering system that the embodiment of the present invention provides, comprising: distribution module 40, cache module 41, processing module 42 and change module 43.
Distribution module 40, for when detect interrupt distributing new client access request to first server time, second server is transferred in the request of the client signing in described first server, described first server be need go into operation change server.
Distribution module 40 comprises receiving element 400 and operating unit 401.The stopping that receiving element 400 receives user's input distributes the second instruction of new client access request to described first server, after receiving element receives the second instruction, operating unit 401 interrupts distributing new client access request to described first server, when detect interrupt distributing new client access request to described first server time, the request of the client signing in described first server is transferred to described second server by operating unit 401.
Cache module 41, for reading from described first server and storing the session data of described client.Cache module 41 can adopt Memcached cache service system, Memcached cache service system is developed by Danga Interactive company, a high performance distributed memory target cache system, for Dynamic Web Applications to alleviate database loads.Memcached reduces the number of times of reading database by data cached in internal memory and object, thus improves access speed that is dynamic, database-driven website.
Processing module 42, for after the session data loading described client, processes the described request of described client.First processing module 42 wants query caching module 41 whether to store the session data of described client, if so, then loads the session data of the described client stored, if not, then sets up session data for described client.
Changing module 43, for when receiving first instruction to described first server enforcement operation change of user's input, change of going into operation being implemented to described first server.
Change module 43 comprises receiving element 430, backup units 431, changing unit 432, authentication unit 433 and result and returns unit 434.Receive first instruction of change that described first server enforcement is gone into operation of user's input at receiving element 430 after, stop the operation of the application services of described first server, then backup units 431 backs up the current application service routine of described first server, after backup completes, changing unit 432 changes the application services of described first server.After the operation of application services restarting described first server, authentication unit 433 verifies the internal service of described first server, and by result return unit 434 to described user return described first server completed go into operation change result.
Change module 43 and also comprise record cell 435, record cell 435 implements to described first server the data changed of going into operation for recording, described data comprise the date, change program version number, change whether success.Record cell 435 also can generate by corresponding condition and change statistical report form, is shown by graphic interface, makes enforcement personnel can inquire about change record according to date or version number.
Above a kind of server operation variation provided by the present invention and system are described in detail.For the method and system of setting forth in each embodiment of the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a server operation variation, is characterized in that, comprising:
When detect interrupt distributing new client access request to first server time, the request of the client signing in described first server is transferred to second server by distribution server, described first server be need go into operation change server;
Caching server reads from described first server and stores the session data of described client;
Load the session data of described client at described second server after, the described request of client described in described second server process;
When receiving first instruction to described first server enforcement operation change of user's input, changing server and operation change is implemented to described first server.
2. server operation variation as claimed in claim 1, it is characterized in that, described when detect interrupt distributing new client access request to first server time, the request of the client signing in described first server is transferred to second server by distribution server, also comprises:
The interruption that described distribution server receives described user input distributes the second instruction of new client access request to described first server;
Described distribution server interrupts distributing new client access request to described first server;
When detect interrupt distributing new client access request to described first server time, the request of the client signing in described first server is transferred to described second server by described distribution server.
3. server operation variation as claimed in claim 1, it is characterized in that, the session data that described second server loads described client comprises:
Described second server inquires about the session data whether described caching server has stored described client, if, then described second server loads the session data of described client from described caching server, and if not, then described second server is that described client sets up session data.
4. server operation variation as claimed in claim 1, is characterized in that, described when receiving first instruction to described first server enforcement operation change of user's input, changes server and implements operation change to described first server, comprising:
What receive user's input implements to described first server first instruction of changing of going into operation;
After the operation of application services stopping described first server, back up the current application service routine of described first server;
Change the application services of described first server;
After restarting the operation of the application services of described first server, verify the internal service of described first server;
Return described first server to described user and complete the result of going into operation and changing.
5. server operation variation as claimed in claim 1, is characterized in that, described change server is implemented to go into operation to described first server and changed, and also comprises:
Described change server record implements to described first server the data changed of going into operation, described data comprise the date, change program version number, change whether success.
6. a server operation altering system, is characterized in that, comprising:
Distribution module (40), for when detect interrupt distributing new client access request to first server time, second server is transferred in the request of the client signing in described first server, and described first server is need the server changed of going into operation;
Cache module (41), for reading from described first server and storing the session data of described client;
Processing module (42), for after the session data loading described client, processes the described request of described client;
Changing module (43), for when receiving first instruction to described first server enforcement operation change of user's input, change of going into operation being implemented to described first server.
7. server operation altering system as claimed in claim 6, it is characterized in that, described distribution module (40) comprises receiving element (400) and operating unit (401),
Described receiving element (400), the stopping for receiving user's input to distribute the second instruction of new client access request to described first server;
Described operating unit (401), new client access request is distributed to described first server for interrupting, when detect interrupt distributing new client access request to described first server time, described second server is transferred in the request of the client signing in described first server.
8. server operation altering system as claimed in claim 6, it is characterized in that, described processing module (42), comprises for the session data loading described client:
Described processing module inquires about the session data whether described cache module has stored described client, if so, then loads the session data of described client from described cache module, if not, then sets up session data for described client.
9. server operation altering system as claimed in claim 6, it is characterized in that, described change module (43) comprising:
Receiving element (430), for receiving first instruction described first server being implemented to operation change of user's input;
Backup units (431), for after the operation of application services stopping described first server, backs up the current application service routine of described first server;
Changing unit (432), for changing the application services of described first server;
Authentication unit (433), for restart the application services of described first server operation after, verify the internal service of described first server;
Result returns unit (434), has completed the result of going into operation and changing for returning described first server to described user.
10. server operation altering system as claimed in claim 9, it is characterized in that, described change module also comprises record cell (435),
For recording, the data changed of going into operation are implemented to described first server, described data comprise the date, change program version number, change whether success.
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 true CN104363201A (en) 2015-02-18
CN104363201B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227529A (en) * 2016-07-21 2016-12-14 中国工商银行股份有限公司 Host application program version is gone into operation and is shut 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)》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN104363201B (en) 2017-10-20

Similar Documents

Publication Publication Date Title
JP6095106B2 (en) System and method for adaptive selection of bank cards for payment
CN106101179B (en) Resource processing method, device and system
CN107527222B (en) Information processing method, device and system
CN107038645B (en) Service processing method, device and system and server
TW201909067A (en) Payment processing method and apparatus, and electronic device
CN110737857A (en) back-end paging acceleration method, system, terminal and storage medium
CN113032432A (en) Data caching processing method, system, computing device and readable storage medium
US11373006B2 (en) Processing system using natural language processing for performing dataset filtering and sanitization
CN106484791B (en) Data statistical method and device
CN104363201A (en) Server operation alteration method and server operation alteration system
CN112131305A (en) Account processing system
CN111026560A (en) Method and device for processing product data, computer equipment and storage medium
CN111125168A (en) Data processing method and device, electronic equipment and storage medium
US20220383302A1 (en) Intelligent Distributed Ledger Consent Optimizing Apparatus for Asset Transfer
CN108011926A (en) A kind of file transmitting method, processing method, server and system
CN113744050A (en) Network loan approval method, device and system
CN110263063B (en) Asset query method and server
CN106878369B (en) Service processing method and device
CN104898929A (en) Method and system for realizing application mobility in management information system
US11790336B2 (en) Intelligent distributed ledger consent optimizing apparatus for asset transfer
CN105574020B (en) Database operation method and device
CN102881050A (en) Ticket processing method and system
US20230244859A1 (en) System and method for automatically sharing verified user information across remote systems
JP2018181012A (en) Business cooperation system and business cooperation method
CN115760328A (en) Method and device for returning updated data record based on error code

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