Method, device, medium and electronic equipment for license migration
Patent Information
- Application Number
- CN202110476265.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2041-04-29
AI Technical Summary
[0004]本申请的目的在于提供一种授权许可迁移方法、装置、介质及电子设备,至少在一定程度上克服相关技术中服务端软件迁移耗费时间长,影响运维终端对软件使用等技术问题
[0033] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the license migration method as described in the above technical solutions.
Smart Images

Figure CN115270081B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, and specifically relates to a license migration method, a license migration device, a computer-readable medium, and an electronic device. Background Technology
[0002] With the increasing awareness of copyright among the public, copyright protection has gradually become more standardized. However, the protection of software copyright still faces serious challenges. Unprotected software is easily infringed upon by piracy, resulting in significant economic losses for software manufacturers.
[0003] Existing server-side software uses licensing to protect its copyright and prevent theft. Since server-side software is typically deployed in enterprise data centers, migrating it requires re-licensing already licensed servers and other servers, which significantly wastes migration time and impacts the usability of the software on maintenance terminals. Summary of the Invention
[0004] The purpose of this application is to provide a method, apparatus, medium, and electronic device for license migration, which at least to some extent overcomes the technical problems in related technologies, such as the long time required for server-side software migration and the impact on the use of software by maintenance terminals.
[0005] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0006] According to one aspect of the embodiments of this application, a license migration method is provided, comprising:
[0007] The authorization migration file carrying authorization application information is obtained through the internal local area network. The authorization application information includes the authorization information to be approved and the server address.
[0008] Obtain an authorization document containing authorization information via the external Internet, wherein the authorization information includes approved authorization information and server address;
[0009] Through the internal local area network, authorization activation is performed on the server to be authorized based on the authorization license file, and authorization invalidation is performed on the server that has already been authorized.
[0010] In some embodiments of this application, based on the above technical solutions, the method for obtaining an authorization migration file carrying authorization application information includes:
[0011] A migration authorization request is initiated to the server to be authorized via the internal local area network, so that the server to be authorized sends the migration authorization request to the authorized server.
[0012] Obtain the approved authorized migration file returned by the authorized server.
[0013] In some embodiments of this application, based on the above technical solutions, authorization invalidation processing is performed on the authorized server, including:
[0014] The authorization activation process is performed on the server to be authorized, so that the server to be authorized sends the authorization invalidation process to the authorized server.
[0015] Receive the activation result sent by the server to be authorized, the activation result including the invalidation result sent by the authorized server to the server to be authorized.
[0016] In some embodiments of this application, based on the above technical solutions, the license migration file includes a license application file and a license verification file, and the method for obtaining the license migration file carrying license application information includes:
[0017] Obtain the authorization request file sent by the server to be authorized, wherein the authorization request file includes the authorization information of the server to be authorized and the address of the server to be authorized pending approval;
[0018] Initiate a server change request to the authorized server;
[0019] Obtain the authorization verification document sent by the authorized server, which includes the authorization information of the authorized server pending approval and the address of the authorized server.
[0020] In some embodiments of this application, based on the above technical solutions, authorization expiration processing is performed on the authorized server, including: starting a scheduled task for authorization expiration on the authorized server via the internal local area network.
[0021] In some embodiments of this application, based on the above technical solutions, obtaining an authorization license file carrying authorization information includes:
[0022] Send an authorization migration file to the license management terminal; the license management terminal reads the authorization application information from the authorization migration file;
[0023] The authorization license file generated by the license management terminal is received. The method for generating the authorization license file includes: the license management terminal sending an authorization application information to the authorization terminal in the form of an approval form; the authorization terminal approving the approval form; and after approval, the authorization terminal authorizing the license management terminal to generate an authorization license file.
[0024] In some embodiments of this application, based on the above technical solutions, the authorization information includes setting the authorization period and authorization type, and the server address includes the MAC address of the authorized server and the MAC address of the new service.
[0025] According to one aspect of the embodiments of this application, this application also discloses a license migration apparatus, comprising:
[0026] Receiving module: Used to obtain the authorization migration file carrying the authorization application information via the internal LAN;
[0027] Networking module: Used to connect to the Internet and obtain license documents carrying authorization information;
[0028] Activation Management Module: Performs authorization activation on the server to be authorized based on the license file, and performs authorization invalidation on the already authorized server.
[0029] According to one aspect of the embodiments of this application, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the license migration method as described in the above technical solutions.
[0030] According to one aspect of the embodiments of this application, an electronic device is provided, the electronic device comprising: a processor;
[0031] and memory for storing the executable instructions of the processor;
[0032] The processor is configured to execute the license migration method described in the above technical solution by executing the executable instructions.
[0033] According to one aspect of the embodiments of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the license migration method as described in the above technical solutions.
[0034] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.
[0035] This application obtains an authorization migration file carrying authorization application information via an internal local area network (LAN) and an authorization license file carrying authorization information via the external internet. Through the internal LAN, authorization activation is performed on the server to be authorized based on the authorization license file, and authorization invalidation is performed on the already authorized server. This application not only ensures access rights for server software without internet access but also enables software deployment and authorization migration. The migration process does not affect the use of the software by the maintenance terminal, saving migration time, ensuring uninterrupted business operations during migration, and improving migration efficiency. Attached Figure Description
[0036] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0037] Figure 1 An exemplary system architecture block diagram illustrating the application of the technical solution of this application is shown schematically;
[0038] Figure 2 A flowchart illustrating one embodiment of this application is shown schematically;
[0039] Figure 3 A logic diagram of one embodiment of this application is shown schematically;
[0040] Figure 4 A logic diagram of another embodiment of this application is shown schematically;
[0041] Figure 5 A flowchart illustrating another embodiment of this application is shown schematically;
[0042] Figure 6 A schematic diagram illustrating the deployment of an unauthorized server in one embodiment of this application is shown.
[0043] Figure 7 This illustration schematically depicts accessing an authorized server in one embodiment of this application;
[0044] Figure 8 A schematic diagram of an access license management terminal according to an embodiment of this application is shown;
[0045] Figure 9 The diagram illustrates an approval form of one embodiment of this application.
[0046] Figure 10This diagram schematically illustrates the license information corresponding to the license document in one embodiment of this application;
[0047] Figure 11 A logic diagram of another embodiment of this application is shown schematically;
[0048] Figure 12 A flowchart illustrating another embodiment of this application is shown schematically;
[0049] Figure 13 This illustration schematically depicts accessing an authorized server in another embodiment of this application;
[0050] Figure 14 A schematic block diagram of the license migration apparatus provided in an embodiment of this application is shown.
[0051] Figure 15 A schematic diagram of a computer system architecture suitable for implementing the embodiments of this application is shown. Detailed Implementation
[0052] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.
[0053] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0054] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0055] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0056] In enterprise environments, many server-side software programs use licensing to protect their copyright and prevent unauthorized use. However, these programs are typically deployed in internal enterprise server rooms, inaccessible to the external internet. Therefore, licenses are usually linked to the server's MAC address. Consequently, after a period of deployment and licensing, if the enterprise wants to migrate the software to a different server, the original license often becomes invalid, requiring re-licensing for the new server software. This significantly wastes time and hinders the use of the software by maintenance personnel.
[0057] For software designed for internet access scenarios, deployment often introduces additional workload and risks. For example, it may require temporarily granting internet access to the server during authorization and then disabling it afterwards, increasing workload and wasting migration time. Alternatively, some solutions involve reapplying for license files during migration, but this ignores the management of expired licenses on the original server, often leading to license abuse—expired software remaining in use.
[0058] Therefore, there is currently no software migration method that can effectively improve migration efficiency and reduce migration time. For server-side software located in an enterprise's internal data center, which is not connected to the external internet, migration requires the process of invalidating and re-authorizing existing licenses, wasting time. For server-side software that accesses the internet, internet access to the server needs to be temporarily granted during authorization and then revoked afterward, which increases workload and risk, also wasting migration time.
[0059] This application addresses this problem by proposing a method, apparatus, medium, and electronic device for migrating server-side software licenses, which can solve the aforementioned issues.
[0060] A database, simply put, can be viewed as an electronic filing cabinet—a place to store electronic files, where users can perform operations such as adding, querying, updating, and deleting data. A "database" is a collection of data stored together in a certain way, capable of being shared by multiple users, with minimal redundancy, and independent of application programs.
[0061] A Database Management System (DBMS) is a computer software system designed to manage databases, generally possessing basic functions such as storage, retrieval, security, and backup. DBMSs can be classified according to the database model they support, such as relational or XML (Extensible Markup Language); or according to the type of computer they support, such as server clusters or mobile devices; or according to the query language used, such as SQL (Structured Query Language) or XQuery; or according to performance priorities, such as maximum scale or maximum operating speed; or other classification methods. Regardless of the classification method used, some DBMSs can cross categories, for example, simultaneously supporting multiple query languages.
[0062] Server-side software also needs to utilize a database to run. As part of the database, the server-side software often needs to be migrated during its use. However, during the migration process, the existing server will waste a lot of migration time and affect the operation and maintenance terminal's use of the software.
[0063] Figure 1 An exemplary system architecture block diagram illustrating the application of the technical solution of this application is shown schematically.
[0064] like Figure 1 As shown, the system architecture 100 may include an operation and maintenance terminal 110, a network 120, and a server 130. The operation and maintenance terminal 110 may include various electronic devices such as smartphones, tablets, laptops, and desktop computers. The server 130 includes a pending authorization server 131 and an authorized server 132 corresponding to the server-side software. Both the pending authorization server 131 and the authorized server 132 can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers providing cloud computing services. The network 120 can be a communication medium of various connection types capable of establishing a communication link with the operation and maintenance terminal 110, such as a wired communication link or a wireless communication link.
[0065] Depending on the implementation requirements, the system architecture in this application embodiment can have any number of terminal devices, networks, and servers. For example, server 130 can be a server group composed of multiple server devices. In addition, the technical solutions provided in this application embodiment can be applied to terminal device 110, or to server 130, or can be implemented jointly by terminal device 110 and server 130. This application does not impose any special limitations on this.
[0066] The server in this application can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The maintenance terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The maintenance terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited herein.
[0067] According to one aspect of the embodiments of this application, this application provides a license migration method, which is used for operation and maintenance terminals, such as... Figure 2 Flowchart and Figure 3 The logic diagram includes:
[0068] Step S1: Obtain the authorization migration file carrying authorization application information through the internal local area network. The authorization application information includes the authorization information to be approved and the server address.
[0069] According to one aspect of the embodiments of this application, a method for obtaining an authorization migration file carrying authorization application information includes:
[0070] A migration authorization request is initiated to the server to be authorized via the internal local area network, so that the server to be authorized sends the migration authorization request to the authorized server.
[0071] Obtain the approved authorized migration file returned by the authorized server.
[0072] This step is specifically required for server-side software license migration based on server communication verification. The maintenance terminal first initiates a migration authorization request to the server to be authorized via the internal LAN. This causes the server to send the request to the authorized server. Then, the maintenance terminal receives the approved migration authorization file returned by the authorized server. In other words, the request is initiated by the server to be authorized, and the returned migration authorization file directly reaches the maintenance terminal. This step involves communication verification between the authorized server and the server to be authorized. Because of this communication verification, the migration authorization file in this step naturally includes the authorization information and address of the authorized server and the server to be authorized, respectively.
[0073] According to one aspect of the embodiments of this application, the authorization migration file includes an authorization application file and an authorization license verification file, and the method for obtaining the authorization migration file carrying authorization application information includes:
[0074] Obtain the authorization request file sent by the server to be authorized, wherein the authorization request file includes the authorization information of the server to be authorized and the address of the server to be authorized pending approval;
[0075] Initiate a server change request to the authorized server;
[0076] Obtain the authorization verification document sent by the authorized server, which includes the authorization information of the authorized server pending approval and the address of the authorized server.
[0077] This step describes the method used for server-side software license migration based on license file verification. Because this migration does not involve communication between the licensed server and the server to be licensed, but rather changes are made through the operations and maintenance terminal, the terminal needs to obtain the license application documents and license verification documents for both the server to be licensed and the licensed server. In this step, the license application documents and license verification documents together form the license migration file. This file includes the license information and address of both the server to be licensed and the licensed server, facilitating the operations and maintenance terminal to perform the corresponding license migration based on the file.
[0078] According to one aspect of the embodiments of this application, the authorization information includes setting an authorization period and an authorization type, and the server address includes the MAC address of an authorized server and the MAC address of a new service.
[0079] The entire operation in step S1 is carried out within the company's internal LAN and is not connected to the external Internet. That is, neither the server to be authorized nor the authorized server for which the company needs to migrate the server-side software license is connected to the Internet. Step S1 can avoid the need to switch the Internet access permissions of the server when the existing server-side software license migration accesses the Internet. In other words, it enables the work of disconnecting or connecting the server to the Internet or the authorized server, which would bring additional workload and risks. Step S1 of this application effectively solves this problem.
[0080] However, for a server-side software license migration, the migration file alone is insufficient; a new license file, generated after the migration and approval process, is also required to activate the server to be licensed. The specific steps to obtain this file are as follows:
[0081] Step S2: Obtain the authorization and license document carrying authorization and license information via the external Internet, wherein the authorization and license information includes the approved authorization information and the server address;
[0082] Compared to the authorization migration document, the authorization license document is actually a document that has been approved by the authorization terminal after being submitted to the license management terminal. Both documents contain basic information such as authorization information and server address.
[0083] Obtaining the license documents is relatively complicated because the authorization must be verified through the authorization terminal. However, since the server to be authorized and the authorized server for the server software license migration in this application are not connected to the Internet, it is necessary to use the operation and maintenance terminal for processing.
[0084] The authorization file is an activation file for cluster migration that is generated and returned to the operations and maintenance terminal after the operation and maintenance terminal submits an authorization migration application to the authorization management terminal after accessing the Internet. The authorization management terminal requests the authorization terminal to approve the application. The final authorization can only be completed by submitting the application to the authorization management terminal on the Internet and being approved by the authorization terminal.
[0085] According to one aspect of the embodiments of this application, obtaining an authorization license document carrying authorization information includes:
[0086] Send an authorization migration file to the license management terminal; the license management terminal reads the authorization application information from the authorization migration file;
[0087] The authorization license file generated by the license management terminal is received. The method for generating the authorization license file includes: the license management terminal sending an authorization application information to the authorization terminal in the form of an approval form; the authorization terminal approving the approval form; and after approval, the authorization terminal authorizing the license management terminal to generate an authorization license file.
[0088] In other words, the license file is a file received by the operation and maintenance terminal from the license management terminal. This file is generated after the license migration file is submitted to the license management terminal and the authorization terminal on the Internet for approval.
[0089] The authorization information in step S2 also includes setting the authorization period and authorization type, and the server address includes the MAC address of the authorized server and the MAC address of the new service.
[0090] Setting the authorization period refers to setting the authorization period for the server-side software on the server to be authorized. This can be in units of years or months. The authorization type can include authorization for a company as a whole, which can be used by the entire group, or authorization for an individual. Different types can be set for different subjects or content.
[0091] S3: Through the internal LAN, perform authorization activation on the server to be authorized according to the authorization license file, and perform authorization invalidation on the already authorized server.
[0092] Step S3 implements the license migration of the service cluster. Specifically, the migration method is performed within the internal LAN, activating the license on the server to be authorized based on the license file, and deactivating the license on the already authorized server. That is, the migration process still occurs within the internal network, activating the license on the server to be authorized and deactivating the license on the already authorized server. Based on the approved authorization information and server address on the license file, the MAC address of the already authorized server, as well as the corresponding license type and duration, can be obtained. The maintenance terminal directly authorizes the information on the server to be authorized using this information, while simultaneously deactivating the license on the already authorized server, thus completing the migration of the server-side software from the already authorized server (the old server) to the server to be authorized (the new server).
[0093] According to one aspect of the embodiments of this application, authorization invalidation processing is performed on an authorized server, including:
[0094] The authorization activation process is performed on the server to be authorized, so that the server to be authorized sends the authorization invalidation process to the authorized server.
[0095] Receive the activation result sent by the server to be authorized, the activation result including the invalidation result sent by the authorized server to the server to be authorized.
[0096] This step corresponds to the steps required for migrating server-side software licenses based on server communication verification. Since there is a communication verification process between the authorized server and the server to be authorized, the license invalidation process is initiated by the server to be authorized (the new server) to the authorized server (the old server). After initiation, the authorized server will send the invalidation result to the server to be authorized, and the server to be authorized will send the invalidation result and the entire authorization result to the operation and maintenance terminal. In this way, the operation and maintenance terminal can know whether the server-side software license migration has been completed from the authorized server (old server) to the server to be authorized (new server).
[0097] According to one aspect of the embodiments of this application, authorization expiration processing on an authorized server includes: initiating a scheduled task to the authorized server via an internal local area network to indicate that the authorization has expired.
[0098] This step describes the method used for migrating server-side software licenses based on license file verification. Because for server-side software license migration based on license file verification, the authorized server and the server to be authorized do not communicate with each other, but are changed through the operation and maintenance terminal, the instruction for the authorized server in this step is issued by the operation and maintenance terminal. It needs to start a scheduled task for license expiration on the authorized server through the internal LAN. The specific time of the scheduled task for license expiration can be set to a specific time, or it can be set to automatically expire the license on the authorized server after the server to be authorized has been activated and the result shows as successful.
[0099] Therefore, both steps above can effectively invalidate the licenses of already authorized servers, avoiding the problem of license abuse caused by neglecting to manage expired licenses during migration. Furthermore, this application does not affect users' use of the server-side software during the entire license migration process. Before the license migration, the server to be authorized has not yet been activated, so the already authorized server will not be invalidated, and users can still use it normally. Only after the server-side software license migration is complete, i.e., after the server to be authorized has been successfully activated, will the already authorized server be invalidated. Therefore, the server-side software license migration process in this application will not affect normal user use, nor will it lead to license abuse.
[0100] The following will further illustrate the content of this application through two specific application examples.
[0101] In practical implementation and application, server-side software mainly falls into two categories: one is server-side software for server communication verification, and the other is server-side software based on authorization files for verification. The main difference between the two is that the former, server-side software for server communication verification, requires communication between the server to be authorized and the authorized server, while the latter, server-side software based on authorization files, achieves communication directly through the operation and maintenance terminal, without requiring communication between the server to be authorized and the authorized server. Therefore, their specific application methods differ. The following embodiments will illustrate these differences.
[0102] In one embodiment of this application, a method for migrating server software licenses for server communication verification is disclosed.
[0103] The server-side software for server communication verification has been deployed and running in the enterprise for some time. It now needs to be migrated from the authorized server to the pending authorization server. To ensure that the authorization is migrated from the authorized server to the pending authorization server without an internet connection and to ensure that business operations are not interrupted for an extended period, this application proposes the following technical solution to address these issues.
[0104] A license migration method, such as Figure 4 Flowcharts and Figure 5 The logic diagram shown in the figure includes:
[0105] Step S1-1: Deploy the server to be authorized, and initiate a "migrate authorization from authorized server cluster" application to the authorization management module of the server to be authorized. At the same time, the server to be authorized initiates a server change application to the authorized server.
[0106] The application includes the IP address or domain name information of the authorized server; while the authorization management module is a management module for receiving and sending server information on the server to be authorized, which can effectively manage the authorization information of the server to be authorized.
[0107] like Figure 6 The diagram shown illustrates the deployment of a server to be authorized in one embodiment of this application. The monitor of the maintenance terminal displays the information about the server to be authorized. The maintenance terminal can complete the deployment of the server to be authorized by entering the address of the server to be authorized (i.e., the new server deployment address in the diagram) into the field for the server to be authorized. This deployment is performed within an internal local area network.
[0108] Step S1-2: Access the authorized server, approve and confirm the received "Migration Authorization from Authorized Server Cluster" application, and obtain the authorization migration file after approval.
[0109] like Figure 7 The diagram illustrates accessing an authorized server in one embodiment of this application. The monitor of the maintenance terminal displays authorization migration information from the service cluster. This information includes the MAC address and IP address of the authorized server. The maintenance terminal can obtain the authorization migration file by modifying the information on the authorized server. The authorization application information includes pending authorization information and server addresses. Therefore, the authorization migration file in this step naturally includes the pending authorization information and address of the authorized server, as well as the pending authorization information and address of the server to be authorized.
[0110] Steps S1-3: Access the Internet, access the license management terminal, submit the license migration application, and submit the license migration document as an attachment to the license management terminal.
[0111] like Figure 8 The diagram shown is a schematic of an access license management terminal according to an embodiment of this application. The required information is displayed on the monitor of the operation and maintenance terminal. The operation and maintenance terminal submits the license migration approval process to the license management terminal by filling in basic information and attaching the license migration file.
[0112] Step S1-4: Receive the authorization license file from the license management terminal. The authorization license information includes approved authorization information and the server address. That is, compared to the authorization migration file, the authorization license file is an approved document. The specific method by which the management terminal generates the authorization license file is as follows:
[0113] The license management terminal will read the authorization information and server address from the authorization migration file, and then combine this information into an approval form and give it to the authorization terminal, which will then review the information.
[0114] like Figure 9 The diagram shown is a schematic of an approval form according to an embodiment of this application. The authorized terminal can quickly obtain migration information through the approval form, which specifically includes information about the authorized server (the old server in the diagram), the server to be authorized (the new authorized server in the diagram), the type of authorization, and the duration of the authorization. The terminal then approves or rejects the application based on the approval form. If approved, the authorized terminal will authorize the license management terminal to generate an authorization license file.
[0115] like Figure 10 The diagram shown is a schematic diagram of the license information corresponding to the license document in one embodiment of this application. The information includes the specific information of the license document.
[0116] Steps 1-5: Through the internal LAN, perform authorization activation on the server to be authorized according to the authorization license file, and perform authorization invalidation on the already authorized server.
[0117] The operation and maintenance terminal performs authorization activation directly on the server to be authorized based on the authorization license file. After the activation process, the following steps are also included:
[0118] Send authorization expiration processing to the authorized server through the server to be authorized;
[0119] Receive the activation result sent by the server to be authorized;
[0120] The activation result includes the failure result sent by the authorized server to the server to be authorized, and the result of whether the server to be authorized was successfully activated.
[0121] This step allows the maintenance terminal to determine whether the migration of the server-side software has been completed.
[0122] Of the above steps, only steps S1-3 and S1-4 involve accessing the Internet; the other steps are all performed within the internal local area network.
[0123] This application applies to scenarios where server-side software is deployed in an area without internet access, and where authorized servers and unauthorized servers can communicate and authorize each other or directly obtain information. In other words, the authorized servers and unauthorized servers in this application communicate with each other.
[0124] In another embodiment of this application, this application discloses a method for migrating server-side software licenses based on license document verification.
[0125] The server-side software based on authorization file verification has been deployed and running in the enterprise for some time. It now needs to be migrated from the original server to a different server. The goal is to ensure that the authorization process can be completed without an internet connection, and that business operations are not interrupted for an extended period.
[0126] Based on the above-mentioned problems, this application discloses a license migration method, such as... Figure 11 Logic diagrams and Figure 12 The flowchart shown in the document includes:
[0127] Step S2-1: Deploy the server to be authorized through the company's internal LAN, initiate an application for "migration authorization from the old service cluster" to the authorization management module of the server to be authorized, and at the same time obtain the authorization application file sent by the server to be authorized. The authorization application file includes the authorization information of the server to be authorized and the address of the server to be authorized.
[0128] Step S2-2: Initiate a server change request to the authorized server, obtain the authorization verification document sent by the authorized server, the authorization verification document includes the authorization information of the authorized server to be approved and the address of the authorized server; and start the scheduled task for the authorized server to expire.
[0129] like Figure 13 The diagram shown is a schematic representation of accessing an authorized server in another embodiment of this application, illustrating information related to a server change application. The authorized migration file includes an authorized application file and an authorized license verification file. Specifically, the authorized application file includes the authorization information and address of the server to be authorized, pending approval; the authorized license verification file includes the authorization information and address of the already authorized server, pending approval. These two files provide the same migration information as the authorized migration file.
[0130] Step S2-3: Access the Internet, access the license management terminal, submit the license migration application, and submit the license migration document as an attachment to the license management terminal.
[0131] This step is similar to steps S1-3, so it will not be described again.
[0132] Step S2-4: Receive the authorization license file from the license management terminal. The authorization license information includes the approved authorization information and the server address. That is, compared to the authorization migration file, the authorization license file is the approved document. The specific method by which the management terminal generates the authorization license file is as follows:
[0133] The license management terminal will read the authorization information and server address from the authorization migration file, and then combine this information into an approval form and give it to the authorization terminal, which will then review the information.
[0134] This step is similar to steps S1-4, so it will not be described again.
[0135] Step S2-5: Through the internal local area network, perform authorization activation on the server to be authorized according to the authorization license file, and perform authorization invalidation on the already authorized server.
[0136] In this embodiment, the authorization expiration handling is accomplished by starting a scheduled task for authorization expiration on the authorized server in step S2-2. This step is for the method used for server-side software license migration based on authorization file verification. Because for server-side software license migration based on authorization file verification, the authorized server and the server to be authorized do not communicate with each other, but are changed through the operation and maintenance terminal. Therefore, the instruction for the authorized server in this step is issued by the operation and maintenance terminal, which needs to start a scheduled task for authorization expiration on the authorized server through the internal LAN. The specific time of the scheduled task for authorization expiration can be set to a specific time, or it can be set to automatically expire the authorization on the authorized server after the server to be authorized has been activated and the result shows success.
[0137] In this embodiment, the activation result is directly returned to the operation and maintenance terminal by the server to be deployed. This is because the process of handling the invalidation of the license on the authorized server has been completed by starting a scheduled task for the expired license on the authorized server. The operation and maintenance terminal can directly determine whether the license has expired based on the status of this task. Therefore, the above method can be used to complete the license migration of the server software based on the license file verification.
[0138] The following describes an apparatus embodiment of this application, which can be used to execute the license migration method in the above embodiments of this application. Figure 14A schematic diagram of the structural block diagram of the server software license migration device provided in the embodiments of this application is shown.
[0139] According to one aspect of the embodiments of this application, this application also provides a server software license migration apparatus, comprising:
[0140] Receiving module 100: Used to obtain the authorization migration file carrying the authorization application information via the internal local area network;
[0141] Network module 200: Used to connect to the Internet and obtain an authorization document carrying authorization information;
[0142] Activation Management Module 300: Performs authorization activation processing on the server to be authorized based on the authorization license file, and performs authorization invalidation processing on the already authorized server.
[0143] The specific details of the server software licensing migration apparatus provided in the various embodiments of this application have been described in detail in the corresponding method embodiments, and will not be repeated here.
[0144] According to one aspect of the embodiments of this application, this application also provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the license migration method as described in the above technical solutions.
[0145] According to one aspect of the embodiments of this application, this application also provides an electronic device, the electronic device comprising: a processor;
[0146] and memory for storing the executable instructions of the processor;
[0147] The processor is configured to execute the license migration method described in the above technical solution by executing the executable instructions.
[0148] According to one aspect of the embodiments of this application, this application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the license migration method as described in the above technical solutions.
[0149] Figure 15 A schematic block diagram of a computer system architecture for implementing an electronic device according to embodiments of the present application is shown.
[0150] It should be noted that, Figure 15The computer system 1500 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0151] like Figure 15 As shown, the computer system 1500 includes a central processing unit (CPU) 1501, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1502 or programs loaded from storage section 1508 into random access memory (RAM) 1703. The RAM 1503 also stores various programs and data required for system operation. The CPU 1501, ROM 1502, and RAM 1503 are interconnected via a bus 1504. An input / output interface 1505 (I / O interface) is also connected to the bus 1504.
[0152] The following components are connected to the input / output interface 1505: an input section 1506 including a keyboard, mouse, etc.; an output section 1507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1508 including a hard disk, etc.; and a communication section 1509 including a network interface card such as a local area network card, modem, etc. The communication section 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the input / output interface 1505 as needed. A removable medium 1511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1510 as needed so that computer programs read from it can be installed into the storage section 1508 as needed.
[0153] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1509, and / or installed from removable medium 1511. When the computer program is executed by central processing unit 1501, it performs various functions defined in the system of this application.
[0154] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0155] This application obtains an authorization migration file carrying authorization application information via an internal local area network (LAN) and an authorization license file carrying authorization information via the external internet. Through the internal LAN, authorization activation is performed on the server to be authorized based on the authorization license file, and authorization invalidation is performed on the already authorized server. This application not only ensures access rights for server software without internet access but also enables software deployment and authorization migration. The migration process does not affect the use of the software by the maintenance terminal, saving migration time, ensuring uninterrupted business operations during migration, and improving migration efficiency.
[0156] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0157] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0158] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.
[0159] It should be noted that although the steps of the method in this application are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.
[0160] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0161] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for migrating licenses, characterized in that, The method is applied to an operation and maintenance terminal, wherein the operation and maintenance terminal, the server to be authorized, and the authorized server are located on the same internal local area network, and neither the server to be authorized nor the authorized server is connected to the Internet; the method includes: The internal local area network initiates a migration authorization request to the server to be authorized, so that the server to be authorized sends the migration authorization request to the authorized server. Obtain the approved authorization migration file returned by the authorized server. The authorization migration file carries authorization application information, which includes authorization information to be approved and server address. Send an authorization migration file to the license management terminal via the external Internet, so that the license management terminal can read the authorization application information from the authorization migration file; The system receives an authorization license file generated by the license management terminal. The authorization license file carries authorization license information, which includes the approved authorization information and the server address. Through the internal local area network, authorization activation is performed on the server to be authorized according to the authorization license file, so that the server to be authorized sends an authorization expiration message to the authorized server.
2. The license migration method according to claim 1, further comprising: Receive the activation result sent by the server to be authorized, the activation result including the invalidation result sent by the authorized server to the server to be authorized.
3. The license migration method according to claim 1, characterized in that: The authorization expiration process on the authorized server includes: initiating a scheduled task for the expired authorization to the authorized server via the internal LAN.
4. The license migration method according to claim 1, characterized in that, The method for generating the license document includes: the license management terminal sending the license application information to the authorization terminal in the form of an approval form; the authorization terminal approving the approval form; and, upon approval, the authorization terminal authorizing the license management terminal to generate a license document.
5. The license migration method according to claim 1, characterized in that: The authorization information includes setting the authorization period and authorization type, and the server address includes the MAC address of the authorized server and the MAC address of the server to be authorized.
6. A license transfer device, characterized in that, Deployed on an operation and maintenance terminal, wherein the operation and maintenance terminal, the server to be authorized, and the authorized server are located on the same internal local area network, and neither the server to be authorized nor the authorized server is connected to the Internet; the device includes: Receiving module: used to initiate a migration authorization request to the server to be authorized via the internal LAN, so that the server to be authorized sends the migration authorization request to the authorized server; obtain the approved authorization migration file returned by the authorized server, the authorization migration file carrying authorization request information, the authorization request information including authorization information to be approved and server address; Network module: used to send an authorization migration file to the license management terminal via an external Internet, so that the license management terminal can read the authorization application information from the authorization migration file; The system receives an authorization license file generated by the license management terminal. The authorization license file carries authorization license information, which includes the approved authorization information and the server address. Activation Management Module: Used to perform authorization activation processing on the server to be authorized through the internal LAN according to the authorization license file, and to send authorization expiration processing to the authorized server through the server to be authorized after the authorization activation processing is completed.
7. A computer-readable medium, characterized in that, It stores a computer program that, when executed by a processor, implements the license migration method as described in any one of claims 1 to 5.
8. An electronic device, characterized in that, include: processor; Memory; Used to store the executable instructions of the processor; The processor is configured to execute the license migration method of any one of claims 1 to 5 by executing the executable instructions.
9. A computer program product or computer program, characterized in that, The computer program product or computer program includes computer instructions stored in a computer-readable storage medium. The processor of the maintenance terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the maintenance terminal to perform the license migration method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Software processing method and system
CN103559429A
Verification method and verification system for software authorization information
CN105471809A
Method and system for transferring software and hardware feature licenses between devices
US20060106727A1