Software installation method, device and storage medium
By sending an installation request and download key to the software server, the server software is automatically downloaded and installed, solving the problem of low efficiency in manual installation in existing technologies and achieving efficient and secure software deployment.
Patent Information
- Application Number
- CN202211531000.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-01
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-12-01
AI Technical Summary
In existing technologies, server software installation requires a large amount of manual deployment, leading to increased manpower consumption and low efficiency.
By sending an installation request to the software server, carrying installation requirements and a download key, receiving the software download address from the software server, and automatically downloading and installing the target software based on that address, combined with the automated license application and installation process, manual operations are reduced.
It effectively reduces manpower consumption, improves software installation efficiency, avoids the risk of installation failure due to human error, and enhances the safety and efficiency of the installation process.
Smart Images

Figure CN116009894B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of server technology, and in particular to a software installation method, apparatus, and storage medium. Background Technology
[0002] A server is a type of computer that features high-speed CPU processing power, long-term reliable operation, powerful input / output external data throughput, and better scalability.
[0003] Currently, when server products are shipped, a large amount of software needs to be installed and deployed to support the various functions of the server. However, the existing installation method is to manually install and deploy the software, which often requires a lot of manpower to meet the software installation requirements, resulting in increased manpower consumption and low software installation efficiency.
[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this invention is to provide a software installation method, apparatus, and storage medium, aiming to solve the technical problem that existing technologies require a large amount of manpower to manually install and deploy software, resulting in increased manpower consumption and low software installation efficiency.
[0006] To achieve the above objectives, the present invention provides a software installation method, which includes the following steps:
[0007] An installation request is sent to the software server. The installation request carries installation requirement information and a download key. The download key is calculated by the software server based on the registration key when registering with the software server.
[0008] The software server returns the download address of the target software based on the installation requirement information and the download key.
[0009] The target software is downloaded based on the software download address, and installed upon completion of the download.
[0010] Optionally, after the step of downloading the target software based on the software download address and installing the target software upon completion of the download, the method further includes:
[0011] A license application request is sent to the license server. The license application request carries license application element information and a license application key. After the license application key is successfully calculated, the license server determines whether the server that initiated the license application request has been registered.
[0012] The license server receives a license issuance message based on the license application element information when the server that initiated the license application request has been registered. The license issuance message carries a license download address and a license download key.
[0013] The license is downloaded from the license download address based on the license download key, and the license is installed upon completion of the download.
[0014] Optionally, before the step of sending a license request to the license server, the method further includes:
[0015] A target software license request is sent to the software server. The software server sends a notification message to the license server based on the target software license request. When the license server receives the notification message, it registers the server that initiated the target software license request.
[0016] Receive a confirmation message returned by the license server after registration is completed. The confirmation message carries the license application key and the license server address.
[0017] Accordingly, the step of sending a license application request to the license server includes:
[0018] Send a license application request to the license server at the specified license server address.
[0019] Optionally, after the step of downloading the license from the license download address based on the license download key and installing the license upon completion of the download, the method further includes:
[0020] The installation completion information is sent to the license server so that the license server registers information related to the license.
[0021] Furthermore, to achieve the above objectives, the present invention also proposes a software installation method, which is applied to a software server and includes the following steps:
[0022] Upon receiving an installation request from the target server, obtain the installation requirement information and download key from the installation request;
[0023] Based on the installation requirements information, the target software is determined from the information of locally supported software.
[0024] The download key is used to perform key calculation, and when the download key calculation is successful, the software download address of the target software is returned to the target server so that the target server can complete the installation of the target software based on the software download address.
[0025] Optionally, before the step of obtaining the installation requirement information and download key in the installation request when receiving the installation request sent by the target server, the method further includes:
[0026] Upon receiving a registration request carrying a registration key from the target server, determine whether the status of the license server is in the preset application-available state;
[0027] If the application is in the preset eligible state, then the registration key is calculated;
[0028] When the registration key is successfully calculated, a registration confirmation message carrying information on all locally supported software and the download key is sent to the target server. The installation requirement information is determined by the target server based on the information on each software.
[0029] Optionally, after the step of performing key calculation on the download key and returning the software download address of the target software to the target server when the download key calculation is successful, the method further includes:
[0030] Upon receiving a target software license request sent by the target server after installing the target software, a notification message carrying basic information of the target server is sent to the license server, and the license server registers the target server upon receiving the notification message;
[0031] The system receives a confirmation message returned by the licensing server when the registration of the target server is completed, and sends the confirmation message to the target server. The confirmation message carries the license application key and the license server address.
[0032] Furthermore, to achieve the above objectives, the present invention also proposes a software installation apparatus, the software installation apparatus comprising:
[0033] The installation request sending module is used to send an installation request to the software server. The installation request carries installation requirement information and a download key. The download key is calculated by the software server based on the registration key when registering with the software server.
[0034] The download address receiving module is used to receive the software download address of the target software returned by the software server based on the installation requirement information and the download key;
[0035] The target software installation module is used to download the target software based on the software download address and install the target software when the download is complete.
[0036] Furthermore, to achieve the above objectives, the present invention also proposes a software installation apparatus, the software installation apparatus comprising:
[0037] The installation request receiving module is used to obtain the installation requirement information and download key in the installation request when it receives an installation request sent by the target server.
[0038] The target software determination module is used to determine the target software from the information of locally supported software based on the installation requirement information;
[0039] The download address return module is used to perform key calculation on the download key, and return the software download address of the target software to the target server when the download key calculation is successful, so that the target server can complete the installation of the target software based on the software download address.
[0040] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a software installation program, wherein the software installation program, when executed by a processor, implements the steps of the software installation method described above.
[0041] This invention involves sending an installation request to a software server, which includes installation requirements and a download key. The download key is calculated by the software server based on the registration key during registration and then returned by the software server. The software server then returns the download address of the target software based on the installation requirements and the download key. The target software is then downloaded and installed based on this download address. Compared to existing technologies that rely on manual software installation and deployment, which requires significant manpower, this method effectively reduces labor costs and improves software installation efficiency. Attached Figure Description
[0042] Figure 1 This is a flowchart illustrating the first embodiment of the software installation method of the present invention;
[0043] Figure 2 This is a schematic diagram of the target software installation process in the first embodiment of the software installation method of the present invention;
[0044] Figure 3 This is a flowchart illustrating the second embodiment of the software installation method of the present invention;
[0045] Figure 4 This is a schematic diagram of the license installation process in the second embodiment of the software installation method of the present invention;
[0046] Figure 5 This is a flowchart illustrating the first embodiment of the software installation method of the present invention applied to a software server;
[0047] Figure 6 This is a schematic diagram of the target server registration process in the first embodiment of the software installation method applied to a software server according to the present invention;
[0048] Figure 7 This is a schematic diagram of the target server registration process in the first embodiment of the software installation method of the present invention applied to a software server;
[0049] Figure 8 This is a structural block diagram of the first embodiment of the software installation device of the present invention;
[0050] Figure 9 This is a structural block diagram of a first embodiment of the software installation apparatus of the present invention applied to a software server. The realization of the objectives, functional features, and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0051] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0052] This invention provides a software installation method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the software installation method of the present invention.
[0053] In this embodiment, the software installation method includes the following steps:
[0054] Step S10: Send an installation request to the software server. The installation request carries installation requirement information and a download key. The download key is calculated by the software server based on the registration key when registering with the software server and then returned to the software server.
[0055] It should be noted that the executing entity of the method in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a mobile phone, tablet computer, or personal computer. It can also be other electronic devices that perform the same or similar functions, such as a server. The following description uses the target server to illustrate this embodiment and the following embodiments.
[0056] Understandably, the aforementioned software server may be a software repository server that stores information related to each software, including all types and versions of software that can be installed, whether the software is available for download, and other necessary information.
[0057] It should be noted that the installation requirement information can be the information of the software to be installed, which can be determined from all the software types and versions supported by the software server.
[0058] Understandably, the download key can be a key used for secure authentication with the software server, in order to provide information about the software download upon successful authentication.
[0059] In a practical implementation, the target server can send an installation request to the software server, informing it of the basic information for software installation. This basic information includes the aforementioned installation requirements and download key. The installation requirements include the type and version of the software to be installed, as well as other necessary information, such as the target server's ID.
[0060] It should be understood that before sending an installation request to the software server, the target server also needs to send a registration request to the software server to register. This registration request carries the target server's basic configuration information, including its local IP address, hardware configuration (CPU type, memory, and hard disk, etc.), registration key, and other necessary information. After the software server successfully calculates the registration key, it replies with a confirmation message. This confirmation message carries the software server's basic information, including all supported software types and versions, download key, ID assigned to the target server, and other necessary information.
[0061] Step S20: Receive the software download address of the target software returned by the software server based on the installation requirement information and the download key.
[0062] It should be noted that the target software is the software to be installed as specified in the installation requirements information above, and correspondingly, the software download address is the address where the target software can be downloaded.
[0063] In a specific implementation, when the software server receives the installation requirement information and download key carried in the installation request, it can authenticate based on the download key, calculate the download key, and reply to the target server with confirmation information for software installation upon successful calculation. This confirmation information includes the download address of the target software. The target software can be determined by the software server from among the supported software information based on the installation requirement information.
[0064] It should be understood that by using the download key for authentication, the download address of the target software is only returned when the calculation is successful, which effectively improves the security of the software installation process.
[0065] Step S30: Download the target software based on the software download address, and install the target software when the download is complete.
[0066] In the specific implementation, the target server can send a software download request to the software server before downloading. After receiving the software download request, the software server starts to listen to the download status of the target server. Then, the target server downloads the target software from the software download address provided by the software server. After the download is completed, it sends a download completion message to the software server. After receiving the download completion message, the software server starts to listen to the installation status of the target server. Then, the target server starts to install the target software.
[0067] For ease of understanding, please refer to Figure 2 This explanation does not limit the scope of this solution. Figure 2 This is a schematic diagram of the target software installation process in the first embodiment of the software installation method of the present invention. The target software installation process is as follows: Step S1, the target server sends an installation request to the software server, informing the server of the basic information of the software installation. The basic information includes (1) the type of software to be installed, (2) the version of the software to be installed, (3) the software download key, and (4) other necessary information (such as ServerID). Step S2, after the software server successfully calculates the software download key, it replies with confirmation information of the software installation, including basic information, which includes (1) the software download address and (2) other necessary information (such as ServerID). Step S3, the target server sends a software download request to the software server and starts downloading the software. Step S3', after receiving the software download request, the target server starts listening to the download status of the target server. Step S4, after the target server completes the download, it sends a download completion message to the software server and starts installing the software. Step S4', after receiving the software download completion message, the target server starts listening to the download status of the target server.
[0068] This embodiment sends an installation request to a software server, which includes installation requirements and a download key. The download key is calculated by the software server based on the registration key during registration and then returned by the software server. The software server then returns the download address of the target software based on the installation requirements and the download key. The target software is downloaded based on this download address and installed upon completion. Compared to existing technologies that rely on manual software installation, which requires significant manpower, this method effectively reduces labor costs, improves installation efficiency, and avoids the risk of deployment failure due to human error.
[0069] refer to Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the software installation method of the present invention.
[0070] Based on the first embodiment described above, in this embodiment, after step S30, the method further includes:
[0071] Step S40: Send a license application request to the license server. The license application request carries license application element information and a license application key. After the license application key is successfully calculated, the license server determines whether the server that initiated the license application request has been registered.
[0072] It should be noted that currently, software licenses are also issued manually, which results in high manpower consumption and a high risk of failure. Therefore, this embodiment is proposed to improve the efficiency of license installation.
[0073] Understandably, a license server can be a server that issues license documents to servers that apply for licenses.
[0074] It should be noted that a license application request can be a request to apply for a license for the aforementioned target software, and can be initiated after the target software has been installed.
[0075] Understandably, the license application elements may be the necessary information to generate the aforementioned target software license.
[0076] It should be noted that the license application key can be a key used for secure authentication with the license server, so that the license can be returned after successful authentication.
[0077] In practice, once the target software is installed, the target server can send a license application request to the license server to apply for a license. The license server can authenticate the license application request based on the license application key carried in the license application request. After the license application key is successfully calculated, that is, after successful authentication, it needs to determine whether the target server has been registered. If it has been registered, the license application request can be considered legal and subsequent operations can be performed. Otherwise, if it has not been registered, the license application request is considered illegal and a license cannot be generated.
[0078] Step S50: Receive a license issuance message from the license server based on the license application element information when the server that initiated the license application request has been registered. The license issuance message carries the license download address and the license download key.
[0079] It should be noted that the license download address can be the address where the aforementioned license is located, and the license can be the license of the aforementioned target server, which can be calculated and generated by the license server based on the aforementioned license application elements.
[0080] Understandably, the license download key is the authentication key used to download the aforementioned license.
[0081] In practice, when the license server determines that the target server has been registered, it can calculate and generate a license based on the license application elements, and then send the license issuance message back to the target server. The target server can then receive the license issuance message carrying the license download address and the license download key.
[0082] Step S60: Download the license from the license download address based on the license download key, and install the license when the download is complete.
[0083] In practice, the target server can authenticate using the license download key. After successful authentication, it can download the license from the license download address and install the license upon completion of the download, thus automatically installing the license. This effectively reduces manpower consumption, improves the efficiency of license installation, and avoids the risk of installation failure due to human error.
[0084] Furthermore, to improve the security of license usage, in this embodiment, after step S60, the following step is also included:
[0085] Step S70: Send installation completion information to the license server so that the license server registers information related to the license.
[0086] In practice, once the license is installed, the target server can send the installation completion information to inform the license server that the license has been installed. The license server can then register the license-related information to make the license more secure and reliable.
[0087] It should be understood that the aforementioned license-related information may include target server information (such as the target server's address and hardware information), the issued license information, and other necessary information (such as the application time and applicant).
[0088] For ease of understanding, please refer to Figure 4 This explanation does not limit the scope of this solution. Figure 4This is a schematic diagram of the license installation process in the second embodiment of the software installation method of the present invention. The license installation process is as follows: Step S1, after receiving the confirmation message from the software, the target server obtains the license issuance address and then sends a license application request to the license server, which includes basic information such as (1) software type, (2) license application key, (3) license application elements, and (4) other necessary information (such as ServerID). Step S2, after the license server successfully calculates the license application key, it compares it with the registered target server information. After confirming that they are consistent, it determines that the license application request is legal and calculates and generates a license file based on the license elements in the license application request. Step S3, after successfully generating the license file, the license server replies with a license issuance message to the target server. The basic information includes (1) license download address, (2) license download key, and (3) other necessary information (such as license server address, target server ServerID, etc.). In step S4, after receiving the license issuance message, the target server obtains the license download address and key, starts downloading the license from the license server with the key, and starts the installation. In step S5, after the target server successfully installs the license, it replies with the installation completion information to the license server. In step S6, after receiving the installation completion information, the license server will release the listening resources on the server and register the license-related information applied for by the server. The license-related information includes (1) server-related information (address, hardware information, etc.), (2) the issued license information, and (3) other necessary information (application time, applicant, etc.).
[0089] Furthermore, to improve the security of the above-mentioned license issuance, in this embodiment, before step S40, the following steps are also included:
[0090] Step S41: Send a target software license request to the software server. The software server sends a notification message to the license server based on the target software license request. When the license server receives the notification message, it registers the server that initiated the target software license request.
[0091] It should be noted that the notification message may carry current basic information, which may be the basic information of the target server. This current basic information may include the target server's ID and other necessary information (such as server type and IP address) to inform the licensing server that there is such a server that is applying for a license.
[0092] Understandably, a target software license request may be a request to register the server that initiated the aforementioned target software license request.
[0093] In practice, after the target software is successfully installed, the target server can send a target software license request to the software server. After receiving the target software license request, the software server will send a notification message to the license server, notifying the license server that the target server is going to apply for a license. After receiving the notification message, the license server will register the target server.
[0094] Step S42: Receive a confirmation message returned by the license server after registration is completed. The confirmation message carries the license application key and the license server address.
[0095] It should be noted that the license server address can be the same as the address of the license server mentioned above.
[0096] In the specific implementation, after registering the target server, the license server returns a confirmation message to the software server, and then the software server replies with the confirmation message to the target server. This allows the target server to receive the confirmation message issued by the license server through the software server, avoiding direct communication between the license server and the target server and effectively improving the security of license issuance.
[0097] It should be understood that the confirmation message issued by the aforementioned license server includes the aforementioned license application key, the aforementioned license server address, and other necessary information.
[0098] Accordingly, in this embodiment, step S40 includes:
[0099] Step S401: Send a license application request to the license server at the address of the license server.
[0100] In a practical implementation, the target server can determine the license server by the license server address, and then send the license application request to the license server at the aforementioned license server address.
[0101] Furthermore, to achieve the above objectives, embodiments of the present invention provide a software installation method, which is applied to a software server, as described above. Figure 5 , Figure 5 This is a flowchart illustrating the first embodiment of the software installation method of the present invention applied to a software server.
[0102] In this embodiment, the software installation method includes the following steps:
[0103] Step S11: Upon receiving an installation request from the target server, obtain the installation requirement information and download key from the installation request.
[0104] It should be noted that the executing entity of the method in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a mobile phone, tablet computer, or personal computer. It can also be other electronic devices that perform the same or similar functions, such as a server. The following description uses the aforementioned software server to illustrate this embodiment and the following embodiments.
[0105] Understandably, the installation requirement information can be the information about the software to be installed, which can be determined from all the software types and versions supported by the software server.
[0106] It should be noted that the download key can be a key used for security authentication with the software server, which will provide relevant information about the software download upon successful authentication.
[0107] In a specific implementation, the software server can receive an installation request sent by the target server and obtain the installation requirement information and download key from the installation request to determine the basic information for the software installation on the target server. This basic information includes the installation requirement information and download key. The installation requirement information includes the type and version of the software to be installed and other necessary information, such as the target server ID.
[0108] It should be understood that the aforementioned target server can be the server that initiates the software installation.
[0109] Step S21: Determine the target software from the locally supported software information based on the installation requirement information.
[0110] It should be noted that the target software can be the software to be installed as determined by the installation requirements information mentioned above.
[0111] In practice, the software server can query the locally stored software information to see if there is any software that corresponds to the installation requirements. If so, the software that corresponds to the installation requirements is the target software.
[0112] Step S31: Perform key calculation on the download key, and return the software download address of the target software to the target server when the download key calculation is successful, so that the target server can complete the installation of the target software based on the software download address.
[0113] It should be noted that the software download address is the address where the target software mentioned above can be downloaded. Each software supported by the software server has a corresponding download address.
[0114] In practice, the software server can perform security authentication on the target server using the aforementioned next week key. When the next week key is successfully calculated, the software server can return the download address of the target software to the target server. The target server can then download the target software from the download address provided by the software server and install it after the download is complete.
[0115] It should be understood that if the software server receives a software download request sent by the target server before downloading, it can start monitoring the download status of the target server. Similarly, if the software server receives a download completion message sent by the target server after downloading, it can start monitoring the installation status of the target server.
[0116] This embodiment obtains the installation requirement information and download key from the installation request sent by the target server; determines the target software from the locally supported software information based on the installation requirement information; performs key calculation on the download key; and returns the software download address of the target software to the target server when the download key calculation is successful, so that the target server can complete the installation of the target software based on the software download address. This effectively reduces manpower consumption, improves the efficiency of software installation, and avoids the risk of software deployment failure due to human error.
[0117] Furthermore, to improve the security of software installation, in this embodiment, before step S11, the following steps are also included:
[0118] Step S1101: Upon receiving a registration request carrying a registration key from the target server, determine whether the status of the license server is a preset application-available status.
[0119] It should be noted that the software server can periodically send query commands to the license server to check the current status of the license issuing server. After receiving the query command, the license issuing server will send the current status information back to the software server.
[0120] Understandably, the current status information of the aforementioned license server includes its load status, whether a license can be applied for, and other necessary information.
[0121] It should be noted that the preset "application status" is the same as the above-mentioned "license application status".
[0122] Understandably, the registration request can be a request initiated by the target server when registering. This registration request carries the target server's basic configuration information, including the local IP address, hardware configuration (CPU type, memory, and hard disk, etc.), registration key, and other necessary information.
[0123] It should be noted that the registration key can be the key used for security authentication between the software server and the target server. Registration can proceed after successful authentication.
[0124] In the specific implementation, when the software server receives the above registration request, it needs to determine whether the license server is in the preset application-available state. Only if it is in the preset application-available state can the target server be registered. Otherwise, since the license cannot be applied for, the target server cannot be registered.
[0125] Step S1102: If the preset application status is met, then the registration key is calculated.
[0126] In a specific implementation, when the software server determines that the aforementioned license server is in the aforementioned preset application-available state, it can perform security authentication through the aforementioned registration key, that is, calculate the aforementioned registration key.
[0127] Step S1103: When the registration key is successfully calculated, a registration confirmation message carrying information on each software supported locally and the download key is sent to the target server. The installation requirement information is determined by the target server based on the information on each software.
[0128] It should be noted that the registration confirmation message can be a confirmation message of successful registration. This registration confirmation message includes all software types and versions supported by the software server, the download key, the ID assigned to the target server, and other necessary information.
[0129] In the specific implementation, when the above-mentioned registration key is successfully calculated, that is, when the above-mentioned authentication with the target server is successful, the software server sends back the above-mentioned registration confirmation message to the target server to complete the registration, which effectively improves the security of the target server registration process, and thus improves the security of software installation.
[0130] It should be understood that each software information refers to the registered software type and version. The target server can confirm the software information to be installed in each software information, which is the aforementioned installation requirement information.
[0131] For ease of understanding, please refer to Figure 6 This explanation does not limit the scope of this solution. Figure 6This is a schematic diagram of the target server registration process in the first embodiment of the software installation method applied to a software server according to the present invention. In the figure, the target server registration process is as follows: Step S1, the target server sends a registration request to the software server, informing the server of its basic configuration information, which includes the local (1) IP address, (2) hardware configuration (CPU type, memory, hard disk, etc.), (3) registration key, and (4) other necessary information. Step S2, after the registration key is successfully calculated, the software server replies with a confirmation message, informing the software repository of its basic information, which includes (1) all software types and versions that are supported for installation, (2) software download key, (3) ServerID (ID assigned to the target server), and (4) other necessary information, thereby completing the registration of the target server.
[0132] It should be noted that, as Figure 6 As shown, the license server can periodically perform the following operations: Step S1', the software server can periodically query the current status of the license server, which includes (1) load status, (2) whether a license can be applied for, and (3) other necessary information. Step S2', the license server replies to the software server, informing it of its current status.
[0133] Furthermore, to improve the security of license issuance, in this embodiment, after step S31, the following step is also included:
[0134] Step S3101: Upon receiving a target software license request sent by the target server after installing the target software, a notification message carrying basic information of the target server is sent to the license server. Upon receiving the notification message, the license server registers the target server.
[0135] It should be noted that the notification message may carry current basic information, which may be the basic information of the target server. This current basic information may include the target server's ID and other necessary information (such as server type and IP address) to inform the licensing server that there is such a server that is applying for a license.
[0136] Understandably, a target software license request may be a request to register the server that initiated the aforementioned target software license request.
[0137] In practice, after the target software is successfully installed, the target server can send a target software license request to the software server. After receiving the target software license request, the software server will send a notification message to the license server, notifying the license server that the target server is going to apply for a license. After receiving the notification message, the license server will register the target server.
[0138] Step S3102: Receive the confirmation message returned by the licensing server when the registration of the target server is completed, and send the confirmation message to the target server. The confirmation message carries the license application key and the license server address.
[0139] It should be noted that the license server address can be the same as the address of the license server mentioned above.
[0140] In the specific implementation, after registering the target server, the license server returns a confirmation message to the software server, and then the software server replies with the confirmation message to the target server. This allows the target server to receive the confirmation message issued by the license server through the software server, avoiding direct communication between the license server and the target server and effectively improving the security of license issuance.
[0141] It should be understood that the confirmation message issued by the aforementioned license server includes the aforementioned license application key, the aforementioned license server address, and other necessary information.
[0142] For ease of understanding, please refer to Figure 7 This explanation does not limit the scope of this solution. Figure 7 This is a schematic diagram of the target server registration process in the first embodiment of the software installation method applied to a software server according to the present invention. In the figure, the registration process is as follows: Step S1, after the target software is installed, the target server sends a target software license request to the software server. The target software license request contains basic information, which is (1) software type and (2) other necessary information. Step S2, after receiving the target software license request from the target server, the software server will notify the license server that there is such a server applying for a license, which contains basic information such as (1) ServerID and (2) other necessary information (such as server class). (Type, IP address, etc.), Step S3, after receiving the notification, the license server will register the target server's information and reply with a confirmation message to the software server, including basic information such as (1) license application key, (2) license issuing server address, and (3) other necessary information. Step S4, after receiving the confirmation message from the license server, the software server will reply with a confirmation message to the target server, including basic information such as (1) license application key, (2) license issuing server address, and (3) other necessary information. Step S5, after sending the confirmation message, the software server will start releasing the listening resources related to the software installation on the target server.
[0143] Reference Figure 8 , Figure 8 This is a structural block diagram of the first embodiment of the software installation device of the present invention.
[0144] like Figure 8 As shown, the software installation apparatus proposed in this embodiment of the invention includes:
[0145] The installation request sending module 501 is used to send an installation request to the software server. The installation request carries installation requirement information and a download key. The download key is calculated by the software server based on the registration key when registering with the software server and then fed back to it.
[0146] The download address receiving module 502 is used to receive the software download address of the target software returned by the software server based on the installation requirement information and the download key.
[0147] The target software installation module 501 is used to download the target software based on the software download address and install the target software when the download is complete.
[0148] This embodiment sends an installation request to a software server, which includes installation requirements and a download key. The download key is calculated by the software server based on the registration key during registration and then returned by the software server. The software server then returns the download address of the target software based on the installation requirements and the download key. The target software is downloaded based on this download address and installed upon completion. Compared to existing technologies that rely on manual software installation, which requires significant manpower, this method effectively reduces labor costs, improves installation efficiency, and avoids the risk of deployment failure due to human error.
[0149] Other embodiments or specific implementations of the software installation device of the present invention can be found in the above-described method embodiments, and will not be repeated here.
[0150] refer to Figure 9 , Figure 9 This is a structural block diagram of the first embodiment of the software installation device of the present invention applied to a software server.
[0151] like Figure 9 As shown, the software installation apparatus proposed in this embodiment of the invention includes:
[0152] The installation request receiving module 501' is used to obtain the installation requirement information and download key in the installation request when it receives the installation request sent by the target server.
[0153] The target software determination module 502' is used to determine the target software from the information of locally supported software based on the installation requirement information.
[0154] The download address return module 503' is used to perform key calculation on the download key, and return the software download address of the target software to the target server when the download key calculation is successful, so that the target server can complete the installation of the target software based on the software download address.
[0155] This embodiment obtains the installation requirement information and download key from the installation request sent by the target server; determines the target software from the locally supported software information based on the installation requirement information; performs key calculation on the download key; and returns the software download address of the target software to the target server when the download key calculation is successful, so that the target server can complete the installation of the target software based on the software download address. This effectively reduces manpower consumption, improves the efficiency of software installation, and avoids the risk of software deployment failure due to human error.
[0156] Other embodiments or specific implementations of the software installation device of the present invention can be found in the above-described method embodiments, and will not be repeated here.
[0157] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0158] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0159] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0160] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A software installation method, characterized in that, The software installation method includes the following steps: An installation request is sent to the software server. The installation request carries installation requirement information and a download key. The download key is calculated by the software server based on the registration key when registering with the software server. The software server returns the download address of the target software based on the installation requirement information and the download key. The target software is downloaded based on the software download address, and installed upon completion of the download. After the steps of downloading the target software based on the software download address and installing the target software upon completion of the download, the method further includes: A target software license request is sent to the software server. The software server sends a notification message to the license server based on the target software license request. When the license server receives the notification message, it registers the server that initiated the target software license request and returns a confirmation message to the software server when the registration is completed. Receive the confirmation message sent by the software server, the confirmation message carrying the license application key and the license server address; A license application request is sent to the license server at the address of the license server. The license application request carries license application element information and a license application key. After the license application key is successfully calculated, the license server determines whether the server that initiated the license application request has been registered. The license server receives a license issuance message based on the license application element information when the server that initiated the license application request has been registered. The license issuance message carries a license download address and a license download key. The license is downloaded from the license download address based on the license download key, and the license is installed when the download is complete; The installation completion information is sent to the license server so that the license server registers information related to the license.
2. A software installation method, characterized in that, The software installation method is applied to a software server, and the software installation method includes the following steps: Upon receiving an installation request from the target server, obtain the installation requirement information and download key from the installation request; Based on the installation requirements information, the target software is determined from the information of locally supported software. The download key is used to perform key calculation, and when the download key calculation is successful, the software download address of the target software is returned to the target server, so that the target server can complete the installation of the target software based on the software download address; After the step of performing key calculation on the download key and returning the software download address of the target software to the target server when the download key calculation is successful, the method further includes: Upon receiving a target software license request sent by the target server after installing the target software, a notification message carrying basic information of the target server is sent to the license server, and the license server registers the target server upon receiving the notification message; The system receives a confirmation message returned by the licensing server when the registration of the target server is completed, and sends the confirmation message to the target server. The confirmation message carries the license application key and the license server address. Upon receiving the confirmation message, the target server executes the following: A license application request is sent to the license server at the address of the license server. The license application request carries license application element information and a license application key. After the license application key is successfully calculated, the license server determines whether the server that initiated the license application request has been registered. The license server receives a license issuance message based on the license application element information when the server that initiated the license application request has been registered. The license issuance message carries a license download address and a license download key. The license is downloaded from the license download address based on the license download key, and the license is installed when the download is complete; The installation completion information is sent to the license server so that the license server registers information related to the license.
3. The software installation method as described in claim 2, characterized in that, Before the step of obtaining the installation requirement information and download key in the installation request when receiving the installation request sent by the target server, the method further includes: Upon receiving a registration request carrying a registration key from the target server, determine whether the status of the license server is in the preset application-available state; If the application is in the preset available state, then the registration key is calculated; When the registration key is successfully calculated, a registration confirmation message carrying information on all locally supported software and the download key is sent to the target server. The installation requirement information is determined by the target server based on the information on each software.
4. A software installation device, characterized in that, The software installation device includes: The installation request sending module is used to send an installation request to the software server. The installation request carries installation requirement information and a download key. The download key is calculated by the software server based on the registration key when registering with the software server. The download address receiving module is used to receive the software download address of the target software returned by the software server based on the installation requirement information and the download key; The target software installation module is used to download the target software based on the software download address and install the target software when the download is complete. The target software installation module is also used for: A license application request is sent to the license server at the license server address. The license application request carries license application element information and a license application key. After the license application key is successfully calculated, the license server determines whether the server that initiated the license application request has been registered. The license server receives a license issuance message based on the license application element information when the server that initiated the license application request has been registered. The license issuance message carries a license download address and a license download key. The license is downloaded from the license download address based on the license download key, and the license is installed when the download is complete; The installation completion information is sent to the license server so that the license server registers information related to the license.
5. A software installation device, characterized in that, The software installation device includes: The installation request receiving module is used to obtain the installation requirement information and download key in the installation request when it receives an installation request sent by the target server. The target software determination module is used to determine the target software from the information of locally supported software based on the installation requirement information; The download address return module is used to perform key calculation on the download key, and return the software download address of the target software to the target server when the download key calculation is successful, so that the target server can complete the installation of the target software based on the software download address; The download address return module is also used for: Upon receiving a target software license request sent by the target server after installing the target software, a notification message carrying basic information of the target server is sent to the license server, and the license server registers the target server upon receiving the notification message; The system receives a confirmation message returned by the licensing server when the registration of the target server is completed, and sends the confirmation message to the target server. The confirmation message carries the license application key and the license server address. Upon receiving the confirmation message, the target server executes the following: A license application request is sent to the license server at the address of the license server. The license application request carries license application element information and a license application key. After the license application key is successfully calculated, the license server determines whether the server that initiated the license application request has been registered. The license server receives a license issuance message based on the license application element information when the server that initiated the license application request has been registered. The license issuance message carries a license download address and a license download key. The license is downloaded from the license download address based on the license download key, and the license is installed when the download is complete; The installation completion information is sent to the license server so that the license server registers information related to the license.
6. A storage medium, characterized in that, The storage medium stores a software installation program, which, when executed by a processor, implements the steps of the software installation method as described in claim 1 or any one of claims 2 to 3.
Citation Information
Patent Citations
Software management method, basic software management platform, equipment and storage medium
CN114090030A
Software licensing method and electronic equipment
CN114266017A
