CN113472876B - Control method, device, equipment and storage medium for application migration - Google Patents
Control method, device, equipment and storage medium for application migration Download PDFInfo
- Publication number
- CN113472876B CN113472876B CN202110728104.4A CN202110728104A CN113472876B CN 113472876 B CN113472876 B CN 113472876B CN 202110728104 A CN202110728104 A CN 202110728104A CN 113472876 B CN113472876 B CN 113472876B
- Authority
- CN
- China
- Prior art keywords
- application
- migrated
- address
- target
- module
- 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
Links
- 230000005012 migration Effects 0.000 title claims abstract description 43
- 238000013508 migration Methods 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004806 packaging method and process Methods 0.000 claims abstract description 8
- 239000004973 liquid crystal related substance Substances 0.000 claims description 8
- 238000012545 processing Methods 0.000 abstract description 6
- 230000004044 response Effects 0.000 description 9
- 235000014510 cooky Nutrition 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/133—Protocols for remote procedure calls [RPC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/75—Indicating network or usage conditions on the user display
Abstract
The invention relates to the field of data processing, and provides a control method, a device, equipment and a storage medium for application migration. The method comprises the following steps: migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, acquiring an authentication mode of the application to be migrated, configuring a LINK module of the application to be migrated at the target authentication center according to the authentication mode, configuring a target network call chain of the application to be migrated at a preset gateway, generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, the target network call chain and a pre-deployed application proxy server. The invention can realize that the application is migrated to the new authentication center without changing the source code of the application.
Description
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a storage medium for controlling application migration.
Background
Enterprises often have many software application systems, and in order to enable users to log in to use multiple applications at one time, the enterprises often build a unified authentication center. Each application interfaces with this authentication center to perform single sign-on and create a system user session. With the development of enterprise user scale, the enterprise may be switched to a new user authentication center, the application environment may change from the enterprise intranet to the internet, and at this time, the new authentication center needs to consider numerous historical applications to smoothly migrate to the new authentication center for docking, so as to realize new single sign-on.
Therefore, how to migrate to a new authentication center with minimal applied code modification is a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, the present invention provides a control method, apparatus, device and storage medium for application migration, which aims to solve the technical problem that in the prior art, more codes need to be changed when an application migrates to a new authentication center.
In order to achieve the above object, the present invention provides a control method for application migration, including:
migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated;
configuring a LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway;
and generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, a target network call chain and a pre-deployed application proxy server.
Preferably, before the authentication mode of the application to be migrated is acquired, the method further includes:
and sending an information input interface to the user terminal, and controlling the user terminal to display the related information of the application to be migrated so as to enable the user to enter or check the authentication mode of the application to be migrated.
Preferably, the LINK module includes a module code, a single sign-on address, and a single sign-on account of the application to be migrated.
Preferably, the configuring, at a preset gateway, the target network call chain of the application to be migrated includes:
and configuring an access address and a callback address of the LINK module at the preset gateway.
Preferably, the generating the call address of the application to be migrated includes:
and generating the call address based on the unified proxy address of the network to which the application to be migrated belongs, the domain name of the preset gateway and the module code of the application to be migrated.
In order to achieve the above object, the present invention further provides a control device for application migration, where the control device for application migration includes:
the acquisition module is used for: the method comprises the steps of transferring an application to be transferred to a network architecture environment corresponding to a preset target authentication center, and obtaining an authentication mode of the application to be transferred;
and (3) a configuration module: the LINK module is used for configuring the application to be migrated in the target authentication center according to the authentication mode, and the target network call chain of the application to be migrated is configured in a preset gateway;
and a migration module: and the call address is used for generating the application to be migrated, and the application to be migrated is migrated and packaged to a platform corresponding to the target authentication center based on the call address, the LINK module, the target network call chain and the pre-deployed application proxy server.
To achieve the above object, the present invention also provides an electronic device including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a program executable by the at least one processor, the program being executable by the at least one processor to enable the at least one processor to perform the steps of:
migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated;
configuring a LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway;
and generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, a target network call chain and a pre-deployed application proxy server.
Preferably, the LINK module includes a module code, a single sign-on address, and a single sign-on account of the application to be migrated.
Preferably, the generating the call address of the application to be migrated includes:
and generating the call address based on the unified proxy address of the network to which the application to be migrated belongs, the domain name of the preset gateway and the module code of the application to be migrated.
In order to achieve the above object, the present invention also provides a computer-readable storage medium storing a control program for application migration, which when executed by a processor, implements any step of the control method for application migration as described above.
The control method, the device, the equipment and the storage medium for application migration can realize that the application is migrated to a new authentication center under the condition that the application source code is not changed.
Drawings
FIG. 1 is a flow chart illustrating a control method for application migration according to a preferred embodiment of the present invention;
FIG. 2 is a block diagram of a control device for application migration according to a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of an electronic device according to a preferred embodiment of the present invention;
the achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a control method for application migration. Referring to fig. 1, a method flow diagram of an embodiment of a control method for application migration according to the present invention is shown. The method may be performed by an electronic device, which may be implemented in software and/or hardware. The control method for application migration comprises the following steps:
step S10: and migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated.
In this embodiment, in a network architecture environment in which an application to be migrated is migrated to a unified target authentication center, for example, if the application to be migrated is an application supporting external network access, a source network address of the application may be directly migrated to a gateway; if the application to be migrated is an application only supporting intranet access, forwarding the extranet request to the intranet through the gateway to realize extranet access. The method can also acquire tenant network information of a network partition to be deployed by the application to be migrated, for example, which machine room the application to be migrated is deployed in, collect all IP addresses and port information of the tenant network domain and the application in each middleware, apply for architecture change to open a firewall of a gateway access application, and can realize that a network unit after migration can forward a request to the application.
And then, acquiring the related information of the application to be migrated, which can be the related information of the application to be migrated submitted by a user (for example, a developer) after initiating an application migration request, wherein the related information comprises a network architecture, an authentication mode, a service range, a target user and the like of the application to be migrated.
According to the single sign-on authentication mode of the application to be migrated, different migration schemes can be selected. For example, the application to be migrated is single sign-on with the enterprise WeChat docked, and single-point authentication as same as the single sign-on principle of the enterprise WeChat can be adopted.
Because the application to be migrated can be single sign-on in different authentication modes, the single sign-on authentication is performed by writing the single sign-on certificate into a cookie for the unified authentication modes such as a target authentication center and a historical authentication center, and the single sign-on authentication is performed by splicing the single sign-on certificate at a request URL for the authentication modes such as enterprise WeChat and a vendor shield bill.
In one embodiment, before obtaining the authentication mode of the application to be migrated, the method further includes:
and sending an information input interface to the user terminal, and controlling the user terminal to display the related information of the application to be migrated so as to enable the user to enter or check the authentication mode of the application to be migrated.
The user can input the authentication mode of the application to be migrated through the interactive interface of the user terminal, or select the corresponding content.
Step S20: and configuring the LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway.
In this embodiment, the LINK module refers to a session connection module, and a session refers to a series of processes of requests and responses occurring between a client and a web server. And configuring a LINK module of the application to be migrated in a target authentication center, wherein the LINK module is used for single sign-on of the application to be migrated and comprises a module code, a single sign-on address and a single sign-on account of the application to be migrated. For example, the code of the OA portal of company a is cmhk_oa, the user architecture in which this application is configured is OA, the single sign-on mode is ums_time, and the module home address of the application is "/portal/main. The OA portal may be an application system that needs to migrate from interfacing with an old authentication center to interfacing with a new authentication center.
The link module can acquire account information for login from the gateway, and adds authentication credential information behind a URL (uniform resource locator) of a network request or on a cookie of a request response according to single sign-on requirements of different authentication centers. After generating the credential information, jumping to the single sign-on address of each application.
In one embodiment, a configuration interface may be provided for a user to configure configuration information of different LINK modules for different authentication manners of applications to be migrated. The user can configure the user type of the application, the authentication center and the single sign-on address of the application according to the configurable page. A unique module code may be generated from the configured information.
For the authentication mode corresponding to the new unified target authentication center, the LINK module generates a nuc token of the user, writes the nuc token under a global cookie of the domain name of the access request, and returns a response, so that the browser redirects to the first page address of the module, namely the first address entered after single sign-on, for example, the first address is "/portal/main.jsp" of the OA portal of company A).
For the authentication mode corresponding to the historical authentication center, the LINK module generates a 'sso cookie' of the user, writes the 'sso cookie' into the global cookie of the domain name of the access request, and then returns a response, so that the browser redirects to the first page address of the module, namely the first address entered after single sign-on;
for an enterprise WeChat authentication mode, a LINK module generates an enterprise WeChat token of a user, splices the enterprise WeChat token to a LINK of a module single sign-on, and then returns a response to the application so that a browser redirects to a home page address of the module, namely a first address entered after the single sign-on;
for the authentication mode of the vendor shield bill, the LINK module acquires the ID of the user, generates a corresponding vendor shield bill (ticket ID), splices the vendor shield bill to a LINK of the module single sign-on, and then returns a response to the application, so that the browser redirects to the first page address of the module, namely the first address entered after the single sign-on;
for an OA check-in and validation mode, the LINK module generates an OA account number of a UMS query user, queries an OA account name corresponding to the OA account number in the pssi system, generates a signature by using the OA account name, a timestamp and a random number, the mobile terminal splices the generated signature to a LINK path of module single sign-on, the PC terminal splices the generated signature to a query parameter (query String) of the module single sign-on, and returns to a response application, so that a browser redirects to a first page address of the module, namely a first address entered after the single sign-on.
The target network call chain for configuring the application to be migrated comprises the following steps:
the gateway configures an access address and a callback address of the LINK module, the LINK module is accessed by the gateway to complete single sign-on of an application to be migrated, and further, a gateway access LINK for accessing the application to be migrated is configured, wherein the gateway access LINK comprises a gateway access domain name, an application context, an authentication mode, whether external network access is performed, an application back-end proxy address and the like, network communication between the gateway and an application proxy (Nginx) is realized, and a network LINK is a route for routing and can be selected to pass through the gateway or the router.
The gateway may be an open source gateway middleware that acts as a reverse proxy for proxy access to the business system. The user can access the corresponding business system by accessing this gateway middleware.
A user authentication plug-in of the butt-joint target authentication center exists in the gateway, and user authentication and session management capability can be provided for the requested API through the plug-in. The gateway also has a plug-in that can dynamically modify the request information and the response information, and through this plug-in, some network fields required by the service system, such as a request host field, can be dynamically added. And meanwhile, the partial hard coding of the return page of the service system can be dynamically modified, such as fixing IP to be a new Internet domain name.
Step S30: and generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, a target network call chain and a pre-deployed application proxy server.
In this embodiment, the call address may be generated according to a unified proxy address of the network to which the application to be migrated belongs, a domain name of a preset gateway, and a module code of the application to be migrated.
For example, the call address of the application to be migrated is the unified proxy address of the tenant network where the application to be migrated is located plus gateway domain name "/link/linksasstionctl/link.sdpmdulecode=", plus the proxy address of the tenant where the OA portal of company a is located is "https:// sdp-hk.cm-worklink.com/", and the module code of the OA portal is "cmhk_oa", then the call address is:
https://sdp-hk.cm-worklink.com/link/linkSessionCtl/link.sdp?moduleCode=CMH K_OA
with this address, the application can be opened in the target platform (e.g., a salesperson follower). The address is used for accessing the gateway, the LINK module and the application proxy, completing address forwarding and single sign-on of the newly migrated application, and migrating the application to a new platform for encapsulation and calling under the condition of not changing an application source code, thereby realizing single sign-on at a target authentication center.
Furthermore, when the application agent is deployed, the compression function of Nginx can be started to realize resource compression, and the problem of slow response speed caused by the lengthening of the access application network link after migration can be effectively solved.
Referring to fig. 2, a functional block diagram of a control device 100 for application migration according to the present invention is shown.
The control device 100 for application migration according to the present invention may be installed in an electronic apparatus. The control device 100 for application migration may include an acquisition module 110, a configuration module 120, and a migration module 130 according to the implemented functions. The module of the invention, which may also be referred to as a unit, refers to a series of computer program segments, which are stored in the memory of the electronic device, capable of being executed by the processor of the electronic device and of performing a fixed function.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the obtaining module 110 is configured to migrate an application to be migrated to a network architecture environment corresponding to a preset target authentication center, and obtain an authentication mode of the application to be migrated.
In one embodiment, the obtaining module is further configured to send an information input interface to the user terminal, and control the user terminal to display related information of the application to be migrated, so that the user can enter or check an authentication mode of the application to be migrated.
The configuration module 120 is configured to configure the LINK module of the application to be migrated at the target authentication center according to the authentication mode, and configure a target network call chain of the application to be migrated at a preset gateway.
In one embodiment, the LINK module includes a module code, a single sign-on address, and a single sign-on account of the application to be migrated.
In one embodiment, the configuring, at a preset gateway, the target network call chain of the application to be migrated includes:
and configuring an access address and a callback address of the LINK module at the preset gateway.
And the migration module 130 is configured to generate a call address of the application to be migrated, and migrate and package the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, the target network call chain and a pre-deployed application proxy server.
In one embodiment, the generating the call address of the application to be migrated includes:
and generating the call address based on the unified proxy address of the network to which the application to be migrated belongs, the domain name of the preset gateway and the module code of the application to be migrated.
As shown with reference to fig. 3, the electronic device 1 includes, but is not limited to: memory 11, processor 12, display 13, and network interface 14. The electronic device 1 is connected to a network through a network interface 14 to obtain the original data. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a global system for mobile communications (Global System of Mobile communication, GSM), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), a 4G network, a 5G network, bluetooth (Bluetooth), wi-Fi, or a call network.
The memory 11 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the storage 11 may be an internal storage unit of the electronic device 1, such as a hard disk or a memory of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are equipped in the electronic device 1. Of course, the memory 11 may also comprise both an internal memory unit of the electronic device 1 and an external memory device. In this embodiment, the memory 11 is generally used to store an operating system installed in the electronic device 1 and various application software, such as program codes of the control program 10 for application migration. Further, the memory 11 may be used to temporarily store various types of data that have been output or are to be output.
Processor 12 may be a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used for controlling the overall operation of the electronic device 1, e.g. performing data interaction or communication related control and processing, etc. In this embodiment, the processor 12 is configured to execute program codes stored in the memory 11 or process data, such as program codes of the control program 10 for application migration.
The display 13 may be referred to as a display screen or a display unit. The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch device, or the like in some embodiments. The display 13 is used for displaying information processed in the electronic device 1 and for displaying a visual work interface, for example displaying the results of data statistics.
The network interface 14 may alternatively comprise a standard wired interface, a wireless interface, such as a WI-FI interface, which network interface 14 is typically used for establishing a communication connection between the electronic device 1 and other electronic devices.
Fig. 3 shows only the electronic device 1 with components 11-14 and the control program 10 for application migration, but it should be understood that not all shown components are required to be implemented, and that more or fewer components may alternatively be implemented.
Optionally, the electronic device 1 may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device 1 and for displaying a visual user interface.
The electronic device 1 may further comprise Radio Frequency (RF) circuits, sensors and audio circuits etc., which are not described here.
In the above embodiment, the processor 12 may implement the following steps when executing the control program 10 for application migration stored in the memory 11:
migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated;
configuring a LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway;
and generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, a target network call chain and a pre-deployed application proxy server.
The storage device may be the memory 11 of the electronic device 1, or may be another storage device communicatively connected to the electronic device 1.
For a detailed description of the above steps, please refer to the functional block diagram of the embodiment of the control device 100 for application migration shown in fig. 2 and the flowchart of the embodiment of the control method for application migration shown in fig. 1.
Furthermore, the embodiment of the invention also provides a computer readable storage medium, which can be nonvolatile or volatile. The computer readable storage medium may be any one or any combination of several of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, etc. The computer readable storage medium includes a storage data area and a storage program area, the storage data area stores data created according to the use of the blockchain node, the storage program area stores an application migration control program 10, and the application migration control program 10 realizes the following operations when executed by a processor:
migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated;
configuring a LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway;
and generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, the LINK module, a target network call chain and a pre-deployed application proxy server.
The embodiment of the computer readable storage medium of the present invention is substantially the same as the embodiment of the control method for application migration described above, and will not be described herein.
It should be noted that, the foregoing reference numerals of the embodiments of the present invention are merely for describing the embodiments, and do not represent the advantages and disadvantages of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, an electronic device, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (7)
1. A method for controlling application migration, the method comprising:
migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated;
configuring a LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway;
generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, a LINK module, a target network call chain and a pre-deployed application proxy server;
the configuring the target network call chain of the application to be migrated at the preset gateway includes: configuring an access address and a callback address of the LINK module at the preset gateway;
the generating the call address of the application to be migrated comprises the following steps: and generating the call address based on the unified proxy address of the network to which the application to be migrated belongs, the domain name of the preset gateway and the module code of the application to be migrated.
2. The method for controlling application migration according to claim 1, wherein before acquiring the authentication mode of the application to be migrated, the method further comprises:
and sending an information input interface to the user terminal, and controlling the user terminal to display the related information of the application to be migrated so as to allow a user to enter or check the authentication mode of the application to be migrated.
3. The method for controlling application migration according to claim 1, wherein the LINK module includes a module code, a single sign-on address, and a single sign-on account of the application to be migrated.
4. A control apparatus for application migration, for implementing the control method for application migration according to any one of claims 1 to 3, characterized in that the apparatus comprises:
the acquisition module is used for: the method comprises the steps of transferring an application to be transferred to a network architecture environment corresponding to a preset target authentication center, and obtaining an authentication mode of the application to be transferred;
and (3) a configuration module: the LINK module is used for configuring the application to be migrated in the target authentication center according to the authentication mode, and the target network call chain of the application to be migrated is configured in a preset gateway;
and a migration module: and the call address is used for generating the application to be migrated, and the application to be migrated is migrated and packaged to a platform corresponding to the target authentication center based on the call address, the LINK module, the target network call chain and the pre-deployed application proxy server.
5. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a program executable by the at least one processor, the program being executable by the at least one processor to cause the at least one processor to perform the steps of:
migrating the application to be migrated to a network architecture environment corresponding to a preset target authentication center, and acquiring an authentication mode of the application to be migrated;
configuring a LINK module of the application to be migrated in the target authentication center according to the authentication mode, and configuring a target network call chain of the application to be migrated in a preset gateway;
generating a call address of the application to be migrated, and migrating and packaging the application to be migrated to a platform corresponding to the target authentication center based on the call address, a LINK module, a target network call chain and a pre-deployed application proxy server;
the configuring the target network call chain of the application to be migrated at the preset gateway includes: configuring an access address and a callback address of the LINK module at the preset gateway;
the generating the call address of the application to be migrated comprises the following steps: and generating the call address based on the unified proxy address of the network to which the application to be migrated belongs, the domain name of the preset gateway and the module code of the application to be migrated.
6. The electronic device of claim 5, wherein the LINK module comprises a module code, a single sign-on address, and a single sign-on account number for the application to be migrated.
7. A computer-readable storage medium storing an application migration control program which, when executed by a processor, implements the application migration control method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110728104.4A CN113472876B (en) | 2021-06-29 | 2021-06-29 | Control method, device, equipment and storage medium for application migration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110728104.4A CN113472876B (en) | 2021-06-29 | 2021-06-29 | Control method, device, equipment and storage medium for application migration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113472876A CN113472876A (en) | 2021-10-01 |
CN113472876B true CN113472876B (en) | 2024-02-13 |
Family
ID=77873895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110728104.4A Active CN113472876B (en) | 2021-06-29 | 2021-06-29 | Control method, device, equipment and storage medium for application migration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113472876B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610502A (en) * | 2009-07-23 | 2009-12-23 | 江苏鸿信系统集成有限公司 | Based on the method that moves the different business systems mobile information integration of using door |
CN108469986A (en) * | 2017-02-23 | 2018-08-31 | 华为技术有限公司 | A kind of data migration method and device |
CN109981561A (en) * | 2019-01-17 | 2019-07-05 | 华南理工大学 | Monomer architecture system moves to the user authen method of micro services framework |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11297032B2 (en) * | 2019-02-08 | 2022-04-05 | ColorTokens, Inc. | Method for detecting user migration from enterprise network to non-enterprise network and a device thereof |
-
2021
- 2021-06-29 CN CN202110728104.4A patent/CN113472876B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101610502A (en) * | 2009-07-23 | 2009-12-23 | 江苏鸿信系统集成有限公司 | Based on the method that moves the different business systems mobile information integration of using door |
CN108469986A (en) * | 2017-02-23 | 2018-08-31 | 华为技术有限公司 | A kind of data migration method and device |
CN109981561A (en) * | 2019-01-17 | 2019-07-05 | 华南理工大学 | Monomer architecture system moves to the user authen method of micro services framework |
Also Published As
Publication number | Publication date |
---|---|
CN113472876A (en) | 2021-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200028892A1 (en) | Dns resolution of internal tenant-specific domain addresses in a multi-tenant computing environment | |
EP2847686B1 (en) | Enhanced document and event mirroring for accessing content | |
US11272030B2 (en) | Dynamic runtime interface for device management | |
US11522851B2 (en) | Secured rest execution inside headless web application | |
JP2019530095A (en) | Managed container instance | |
US11665052B2 (en) | Internet of things gateway onboarding | |
US20200412644A1 (en) | Content based routing method and apparatus | |
CN101571876B (en) | Script program operation logic expansion method, server and client | |
CN109218368A (en) | Realize method, apparatus, electronic equipment and the readable medium of Http reverse proxy | |
CN106657180B (en) | Information transmission method and device for cloud service, terminal equipment and system | |
US11650888B2 (en) | Workflow error handling for device driven management | |
US9537932B2 (en) | Emulating test distributed application on server | |
US11004054B2 (en) | Updating account data for multiple account providers | |
CN111124544A (en) | Interface display method and device, electronic equipment and storage medium | |
US9986057B2 (en) | UI framework support for portal systems | |
US11882154B2 (en) | Template representation of security resources | |
CN115668894A (en) | Service worker configured to service a plurality of single-page applications | |
CN107704499A (en) | A kind of page jump control method and device of application program | |
CN104618388A (en) | Quick registration and login method and corresponding reset server and information server | |
CN111712799B (en) | Automatic distribution of models for execution on non-edge devices and edge devices | |
CN110968823A (en) | Application client starting method, service server and client equipment | |
CN113472876B (en) | Control method, device, equipment and storage medium for application migration | |
WO2023084345A1 (en) | Automated deployment of enterprise archive with dependency on application server via script | |
CN115174248A (en) | Network access control method and device | |
CN111885177A (en) | Biological information analysis cloud computing method and system based on cloud computing technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |