CN104539431B - A kind of method of online user's system switching user's smooth migration - Google Patents

A kind of method of online user's system switching user's smooth migration Download PDF

Info

Publication number
CN104539431B
CN104539431B CN201410855766.8A CN201410855766A CN104539431B CN 104539431 B CN104539431 B CN 104539431B CN 201410855766 A CN201410855766 A CN 201410855766A CN 104539431 B CN104539431 B CN 104539431B
Authority
CN
China
Prior art keywords
user
legacy system
new
legacy
data
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
CN201410855766.8A
Other languages
Chinese (zh)
Other versions
CN104539431A (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.)
Geer software Limited by Share Ltd
Original Assignee
GEER SOFTWARE CO Ltd SHANGHAI
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 GEER SOFTWARE CO Ltd SHANGHAI filed Critical GEER SOFTWARE CO Ltd SHANGHAI
Priority to CN201410855766.8A priority Critical patent/CN104539431B/en
Publication of CN104539431A publication Critical patent/CN104539431A/en
Application granted granted Critical
Publication of CN104539431B publication Critical patent/CN104539431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

It the invention discloses a kind of method that online user's system switches user's smooth migration, calls the line module of legacy system to obtain user information by new system and preserves to new system, thus carry out new, user between legacy system smooth migration.It may not need using the present invention and stop the old and new's system service switching user, switch convenient for the old and new's system user online smoothing.

Description

A kind of method of online user's system switching user's smooth migration
Technical field
The present invention relates to secure authentication technologies, and in particular to the user authentication scheme of online user's system.
Background technology
With the increasingly maturation of informationization technology, the system of suitable current generation can be derived in information-based each stage, When informationization tends to ripe, legacy system does not adapt to the demand in new stage, certainly will will appear new system and gradually replace legacy system Process, in new legacy system, the migration of user also becomes a relatively complicated job in operational process simultaneously.
Existing user's migration scheme, stops the service of legacy system, and the data of the user of legacy system are exported to data pin The file of sheet or other suitable new systems, then pass through in the import feature importing new system of new system.This solution processes due to New legacy system is to run simultaneously and can continue the quite a while, and administrator is needed periodically to go to confirm list to be migrated and execution This migration operation increases the workload of administrator, and needs to stop legacy system service in transition process, is unable to online smoothing User is migrated.
In conclusion being directed to existing problem, it is accordingly required in particular to a kind of method of smooth migration user, it is mentioned above to solve The problem of.
Invention content
Problem new, that legacy system user's transition process is cumbersome, the purpose of the present invention are carried out for existing online user's system It is to provide a kind of method of online user's system switching user's smooth migration, it is of the existing technology to solve the problems, such as.
In order to achieve the above object, the present invention adopts the following technical scheme that:
A kind of method of online user's system switching user's smooth migration, this method call the use of legacy system by new system Family module obtains user information and simultaneously preserves to new system, thus carries out new, user between legacy system smooth migration.
In the preferred embodiment of this method, the process of the smooth migration includes the following steps:
(1) user logs in new system and detects login user by the line module of new system and whether there is, should if existing User is then transferred to login checking procedure, if there is no be transferred to (2) if the user;
(2) legacy system line module detection login user is called to whether there is in legacy system, if the user is not present, Return information gives new system login interface;If there are the user, it is transferred to (3);
(3) data of the user in legacy system, are converted to the user data of new system by the user data for obtaining legacy system, And the line module of new system is called to store transformed user data;
(4) legacy system line module is called to change the state of the user or delete the user.
Preferably, with database, file, the caching by user's login banner value in new system in the step (1) The mode of middle retrieval whether there is to detect the user in new system.
Preferably, the line module of legacy system is called to include the customer data base for accessing legacy system, adjust in the step (2) The service interface provided with legacy system.
Preferably, with database, file, the caching by user's login banner value in legacy system in the step (2) The mode of middle retrieval whether there is to detect login user in legacy system.
Preferably, the user data of legacy system is converted in the step (3) into the user data of new system, including to being always The encapsulation of the parsing and new system user data of system user data.
Preferably, it includes storing data to number that the line module storage user data of new system is called in the step (3) According to library, file, caching.
Preferably, legacy system line module is called to include the customer data base for accessing legacy system, call in the step (4) The service interface that legacy system provides.
Preferably, it includes changing the shape of user that the state of user is changed in the step (4) or deletes the data of the user State is unavailable or deletes user data, makes the user that can not log in legacy system.
The scheme provided through the invention can be automatically realized during system normal use between new legacy system The smooth migration of user data, and service can be provided simultaneously in the two systems quite a while.This method not only operates Simply, it and can ensure the accuracy and real-time of the migration of user data between new legacy system, effectively solve in the prior art The problems of.
This programme in practical applications, has the following advantages compared with the existing technology:
1. new legacy system can be run simultaneously, without stopping service.
2. being not necessarily to administrator's manual intervention.
3. the slave legacy system that user can be smooth is migrated to new system.
Description of the drawings
It is further illustrated the present invention below in conjunction with the drawings and specific embodiments.
Fig. 1 is the flow chart that the present invention carries out that online user's system switches user's smooth migration;
Fig. 2 is the sequence diagram that the present invention carries out that online user's system switches user's smooth migration.
Specific implementation mode
In order to make the technical means, the creative features, the aims and the efficiencies achieved by the present invention be easy to understand, tie below Conjunction is specifically illustrating, and the present invention is further explained.
The present invention is in such a way that new system calls the line module of legacy system to obtain user information and preserves to new system User's migration is carried out, ensure that the old and new's system user smooth migration, and can be simultaneously in the two systems quite a while Service is provided.
Based on above-mentioned principle, the method for user's smooth migration provided by the invention based on switch between new, legacy system come It realizes.This method includes user's verification of the subscriber checking of new system, legacy system, the old and new's system user data conversion, user Data store, the processes such as legacy system user modification.The step of this method, is following (referring to Fig. 1):
(1) new system receives log-on message input by user;
(2) call new system line module new system customer data base (as needed can also in system file or Inquired in caching) in using user's login banner as the data of the condition query user, be transferred to if there are the user login verification Process, if there is no be transferred to step (3) if the user;
(3) line module for calling legacy system, (as needed can also be in system text in the customer data base of legacy system Inquired in part or caching) using user's login banner value as the data of the condition query user, if new there is no being returned if the user System login interface is transferred to step (4) if the data there are the user;
(4) user data obtained from legacy system is parsed, is converted to the user data of new system (i.e. according to new system user Legacy system custom system after parsing is packaged into the user data of new system by the requirement of data), and call new system user's mould Block stores the user data to the database of new system user;
(5) it calls the user of legacy system to change function, the status modifier of the user at down state or is deleted into the use User data so that the user can not log in legacy system.
Thus the flow of entire user's smooth migration is completed.
Based on said program, the present invention is specifically described with example:
Legacy system data:
Field Value Remarks
Login banner Test user 1
Login password ceshiyonghu1
Address name Test user
Age 29
State 0 0 indicates to enable, and 1 indicates disabling
New system data:
Field Value Remarks
User identifier
User password
Name
State 1 indicates to enable, and 0 indicates disabling
Primary condition:
1. the user " test user 1 " is not present in new system, exist in legacy system;
2. new system may have access to the customer data base of legacy system.
Steps are as follows (referring to Fig. 2):
(1) new system is logged on to login user " test user 1 ", and login banner " test use is inputted in login page Family 1 " and login password " ceshiyonghu1 " are simultaneously committed to new system server-side.
(2) new system server-side receives the login banner and login password of input, first passes through and verifies login banner " test User 1 " whether there is in system, in this example verification result be there is no.
(3) new system calls the service interface that legacy system provides, and the customer data base of legacy system is accessed with this, and to step on The customer data base of record mark " test user 1 " inquiry legacy system confirms that it is to log in exist in legacy system with " test user 1 " The user of mark, and the data of the user are back to new system.
(4) new system is by the user's login banner obtained from legacy system " test user 1 ", login password The data such as " ceshiyonghu1 ", address name " test user ", state " 0 " parse, and convert, the use that will wherein receive Family state " 0 " is converted to " 1 " that new system uses, and will " test user 1 ", " ceshiyonghu1 ", " test user ", " 1 " It stores respectively into the corresponding field user identifier of new system, user password, name, in state.
(5) new system calls the service interface that legacy system provides, and the customer data base of legacy system is accessed with this, and change It is " 1 " that login banner, which is the state of the user of " test user 1 ", in legacy system customer data base.
(6) new system is successfully logged in.
By examples detailed above it is found that the scheme provided through the invention is come when realizing migration of subscriber data between new, legacy system, Newly, legacy system can be run simultaneously, without stopping service;Without administrator's manual intervention;User can smooth slave legacy system move Move to new system.
The basic principles, main features and advantages of the present invention have been shown and described above.The technology of the industry Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its Equivalent thereof.

Claims (1)

1. a kind of method of online user's system switching user's smooth migration, which is characterized in that the method passes through new system tune User information is obtained with the line module of legacy system and is preserved to new system, and thus to carry out, new, user's is smooth between legacy system Migration;
The process of the smooth migration includes the following steps:
(1) user logs in new system and detects login user by the line module of new system and whether there is, if there are the users It is then transferred to login checking procedure, if there is no be transferred to (2) if the user;
(2) it calls legacy system line module detection login user to whether there is in legacy system, if the user is not present, returns Information gives new system login interface;If there are the user, it is transferred to (3);
(3) data of the user in legacy system, are converted to the user data of new system, and adjust by the user data for obtaining legacy system Transformed user data is stored with the line module of new system;
(4) legacy system line module is called to change the state of the user or delete the user;
In the step (1) in a manner of by being retrieved in database of user's login banner value in new system, file, caching It whether there is in new system to detect the user;
The line module of legacy system is called to include the customer data base for accessing legacy system, legacy system is called to carry in the step (2) The service interface of confession;
In the step (2) in a manner of by being retrieved in database of user's login banner value in legacy system, file, caching It whether there is in legacy system to detect login user;
The user data of legacy system is converted in the step (3) into the user data of new system, including to legacy system user data Parsing and new system user data encapsulation;
It includes storage data to database, file, slow that the line module storage user data of new system is called in the step (3) It deposits;
Legacy system line module is called to include the customer data base for accessing legacy system, legacy system is called to provide in the step (4) Service interface;
In the step (4) state of modification user or delete the user data include change user state be it is unavailable or User data is deleted, makes the user that can not log in legacy system.
CN201410855766.8A 2014-12-31 2014-12-31 A kind of method of online user's system switching user's smooth migration Active CN104539431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410855766.8A CN104539431B (en) 2014-12-31 2014-12-31 A kind of method of online user's system switching user's smooth migration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410855766.8A CN104539431B (en) 2014-12-31 2014-12-31 A kind of method of online user's system switching user's smooth migration

Publications (2)

Publication Number Publication Date
CN104539431A CN104539431A (en) 2015-04-22
CN104539431B true CN104539431B (en) 2018-08-17

Family

ID=52854902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410855766.8A Active CN104539431B (en) 2014-12-31 2014-12-31 A kind of method of online user's system switching user's smooth migration

Country Status (1)

Country Link
CN (1) CN104539431B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464892A (en) * 2008-12-31 2009-06-24 中兴通讯股份有限公司 Login method and device for dynamic database
CN102063500A (en) * 2011-01-04 2011-05-18 北京凯铭风尚网络技术有限公司 Data migration method and device
CN102999537A (en) * 2011-09-19 2013-03-27 阿里巴巴集团控股有限公司 System and method for data migration
CN103309945A (en) * 2013-05-15 2013-09-18 上海证券交易所 Device for importing data to database
CN103544057A (en) * 2012-07-09 2014-01-29 腾讯科技(深圳)有限公司 Switching method and switching system for data service systems

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7210131B2 (en) * 2001-10-01 2007-04-24 Microsoft Corporation Method and system for migrating computer state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101464892A (en) * 2008-12-31 2009-06-24 中兴通讯股份有限公司 Login method and device for dynamic database
CN102063500A (en) * 2011-01-04 2011-05-18 北京凯铭风尚网络技术有限公司 Data migration method and device
CN102999537A (en) * 2011-09-19 2013-03-27 阿里巴巴集团控股有限公司 System and method for data migration
CN103544057A (en) * 2012-07-09 2014-01-29 腾讯科技(深圳)有限公司 Switching method and switching system for data service systems
CN103309945A (en) * 2013-05-15 2013-09-18 上海证券交易所 Device for importing data to database

Also Published As

Publication number Publication date
CN104539431A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
US10509696B1 (en) Error detection and mitigation during data migrations
CN110147411A (en) Method of data synchronization, device, computer equipment and storage medium
CN107766343B (en) Data storage method and device and storage server
CN108520004B (en) Multi-tenant data source switching system based on method parameter section
CN103516529A (en) Management method, device and system of configuration files
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN101557427A (en) Method for providing diffluent information and realizing the diffluence of clients, system and server thereof
CN110245145A (en) Structure synchronization method and apparatus of the relevant database to Hadoop database
CN105868196A (en) Method for generating industrial data report in server
CN105119763A (en) RIA-based Web network management client big data rapid export method and system
CN108319608A (en) The method, apparatus and system of access log storage inquiry
CN104182846A (en) Client management system
CN104598587A (en) Invoice authenticity inquiry method and system
CN103984621B (en) log separation method and system
CN105868170A (en) Method for generating industrial data report in server
CN101340316A (en) Method and apparatus for uploading network metadata to network management database
CN104915376B (en) A kind of archival compression method of file in cloud storage
CN107105037B (en) Distributed video CDN resource management system and method based on file verification
KR101588375B1 (en) Method and system for managing database
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN104539431B (en) A kind of method of online user's system switching user's smooth migration
CN104378239A (en) Rapid reliability index statistical system and method based on cluster frame
CN110377298B (en) Distributed cluster upgrading method and distributed cluster
CN111680069B (en) Database access method and device
CN115510072A (en) Main data engine based on multi-tenant SaaS application platform

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 200436 Room 601, Lane 299, Lane 299, JIANGCHANG West Road, Jingan District, Shanghai

Patentee after: Geer software Limited by Share Ltd

Address before: 200070 B, 501E, 199 JIANGCHANG West Road, Zhabei District, Shanghai.

Patentee before: Geer Software Co., Ltd., Shanghai