Software deployment method and system and electronic equipment

By guiding the lower computers and hardware devices to automatically install operating systems and control programs in the automated system, the existing deployment methods are solved, and a more efficient deployment process is achieved.

CN119829071APending Publication Date: 2025-04-15WUHAN UNITED IMAGING HEALTHCARE SURGICAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311335952.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The operating system and control program deployment methods of existing automation systems are cumbersome to operate and have low installation efficiency.

Method used

After installing the operating system and application programs through the upper computer, guide the lower computer to install the operating system and control programs, and install the control programs on the hardware device to achieve automatic installation.

Benefits of technology

Simplifies operational steps and improves the deployment efficiency of operating system and control programs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829071A_ABST
    Figure CN119829071A_ABST
Patent Text Reader

Abstract

The invention provides a software deployment method and system and electronic equipment. The software deployment method comprises the steps that an upper computer responds to an operation instruction, a first operation system of the upper computer and an application program of the upper computer are installed, and a lower computer is guided to install a second operation system. Under the condition that the upper computer determines that the second operating system is installed on the lower computer, the upper computer sends a first file to the lower computer, the first file comprises a first control program of the lower computer and a second control program of the hardware equipment, the lower computer is guided to install the first control program on the lower computer, and the second control program is installed on the hardware equipment; therefore, automatic installation of the operating system and the control program of the system composed of the upper computer, the lower computer and the hardware equipment can be achieved, operation steps are simplified, and installation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and in particular, to software deployment methods, systems and electronic devices. Background Art

[0002] Automation systems (such as robotic systems) are widely used in the fields of industry and medicine. Automation systems generally include a host computer, a slave computer, and hardware devices (such as robotic arms) controlled by the slave computer. The existing deployment method of the operating system and control program of the automation system is generally to install the operating system and control program of the slave computer separately after connecting the host computer and the slave computer, and then install the operating system and application software of the host computer. After that, the slave computer and the hardware device are connected, and the control program on the hardware device is installed. Therefore, the existing deployment method of the operating system and control program of the automation system is cumbersome to operate and has low installation efficiency. Summary of the invention

[0003] In view of this, embodiments of the present application provide a software deployment method, system, and electronic device to improve the deployment efficiency of operating systems and control programs through automated installation.

[0004] A first aspect of an embodiment of the present application provides a software deployment method, including:

[0005] In response to the operation instruction, installing a first operating system of the host computer and an application program of the host computer, wherein the application program of the host computer is used to realize human-computer interaction;

[0006] Guide the lower computer to install the second operating system;

[0007] In the case of determining that the second operating system has been installed on the lower computer, sending a first file to the lower computer, the first file including a first control program of the lower computer and a second control program of the hardware device, the first control program being used for the lower computer to perform command interaction with the upper computer and / or for the lower computer to perform command interaction with the hardware device, and the second control program being used for the hardware device to interact with the lower computer and / or for the lower computer to control the hardware device to perform corresponding actions;

[0008] The lower computer is guided to install the first control program on the lower computer, and the lower computer is guided to install the second control program on the hardware device.

[0009] In one embodiment, the host computer stores at least the first file and the file storage management service, and when it is determined that the second operating system has been installed on the lower computer, sending the first file to the lower computer includes:

[0010] When it is determined that the second operating system has been installed on the lower computer, the first control program and the second control program in the first file are pushed to corresponding storage paths in the lower computer respectively through the file storage management service.

[0011] In one embodiment, guiding the lower computer to install the second operating system includes:

[0012] When it is detected that the lower computer is powered on, an IP address for communicating with the upper computer is allocated to the lower computer according to a set network segment through the IP allocation management service in the upper computer;

[0013] When the upper computer and the lower computer communicate according to the IP address, the lower computer is guided to install the second operating system.

[0014] In one embodiment, guiding the lower computer to install the second operating system includes:

[0015] The lower computer is guided to install the second operating system through the boot installation program stored in the upper computer, and the boot installation program is a program developed based on PXE.

[0016] In one embodiment, after the upper computer guides the lower computer to install the first control program on the lower computer, and guides the lower computer to install the second control program on the hardware device, the method further includes:

[0017] Perform IP address ping verification between the host computer, the slave computer and the hardware device;

[0018] The network connection status among the upper computer, the lower computer and the hardware device is determined according to the verification result of the ping verification.

[0019] In one embodiment, after the upper computer guides the lower computer to install the first control program on the lower computer, and guides the lower computer to install the second control program on the hardware device, the method further includes:

[0020] Sending a first instruction to the lower computer, wherein the first instruction is used to control the hardware device to perform initialization configuration;

[0021] The software deployment result is determined according to the execution result information of the hardware device received by the host computer.

[0022] In one embodiment, the operation instruction is an instruction to restore the image file, and before responding to the operation instruction, the method further includes:

[0023] The image file is obtained by packaging the deployment file, and the deployment file includes the first operating system.

[0024] In one embodiment, the deployment file also includes the application of the host computer, the second operating system and the first file, and the method further includes:

[0025] In response to the operation instruction, the application program of the host computer, the second operating system and the first file obtained after restoring the image file are stored in a first storage path through the file storage management service stored in the host computer.

[0026] In one embodiment, obtaining the image file includes:

[0027] According to the configuration information of the host computer, the slave computer and the hardware device, an image file of a version corresponding to the configuration information is obtained.

[0028] A first aspect of an embodiment of the present application provides a software deployment method, including:

[0029] When the lower computer is powered on, installing the second operating system of the lower computer based on the guidance of the upper computer;

[0030] When the second operating system is installed, the first control program of the lower computer and the second control program of the hardware device are obtained from the upper computer, wherein the first control program is used for the lower computer to perform command interaction with the upper computer and / or for the lower computer to perform command interaction with the hardware device, and the second control program is used for the hardware device to interact with the lower computer and / or for the lower computer to control the hardware device to perform corresponding actions;

[0031] Based on the guidance of the upper computer, the first control program is installed on the lower computer, and the second control program is installed on the hardware device.

[0032] In one embodiment, the method further comprises:

[0033] When the installation of the second operating system is completed, an installation completion instruction is sent to the host computer, and the installation completion instruction is used by the host computer to determine that the installation of the second operating system is completed.

[0034] In one embodiment, before the second operating system of the lower computer is installed based on the guidance of the upper computer, the method further includes:

[0035] The lower computer obtains the IP address of the lower computer from the upper computer, and establishes a communication connection with the upper computer according to the IP address.

[0036] A third aspect of the embodiments of the present application provides a software deployment system, including:

[0037] A host computer, a slave computer and hardware devices controlled by the slave computer, wherein the host computer is used to execute the software deployment method described in the first aspect of the right, and the slave computer is used to execute the software deployment method described in the second aspect.

[0038] The fourth aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the software deployment method described in the first aspect or the software deployment method described in the second aspect is implemented.

[0039] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the software deployment method described in the first aspect or the software deployment method described in the second aspect.

[0040] A sixth aspect of an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the software deployment method described in the first aspect or the software deployment method described in the second aspect.

[0041] Compared with the prior art, the beneficial effects of the embodiments of the present application are as follows: the upper computer installs the first operating system and application of the upper computer according to the operating instructions, and then guides the lower computer to install the second operating system. When it is determined that the lower computer has completed the installation of the second operating system, the first control program of the lower computer and the second control program of the hardware device are sent to the lower computer, and the lower computer is guided to install the first control program and install the second control program on the hardware device, thereby realizing the automatic installation of the operating system and control program of the system composed of the upper computer, the lower computer, and the hardware devices, simplifying the operating steps and improving the installation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art.

[0043] Figure 1 is a schematic diagram of a software deployment system provided by an embodiment of the present application;

[0044] Figure 2 It is a schematic diagram of the implementation process of the software deployment method provided in one embodiment of the present application;

[0045] Figure 3It is a deployment process diagram of a software deployment system provided by an embodiment of the present application;

[0046] Figure 4 is a schematic diagram of a software deployment device provided by an embodiment of the present application;

[0047] Figure 5 is a schematic diagram of a software deployment device provided by another embodiment of the present application;

[0048] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0050] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0051] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0052] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0053] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0054] After the production of the automation system is completed, it is generally necessary to manually deploy the software on the host computer, slave computer and hardware devices. For example, after the production of the medical robot is completed, the steps for software deployment are roughly as follows: first install the operating system of the slave computer, deploy the control program of the slave computer, and then deploy the control system configuration file of the slave computer. Then install the operating system of the host computer and deploy the application program on the host computer. Finally, install the control program of the surgical robot arm.

[0055] Therefore, it is necessary to deploy software on the host computer, the slave computer and the hardware equipment respectively, which is cumbersome and has low deployment efficiency.

[0056] To this end, the present application provides a software deployment method, which guides the lower computer to install the operating system, control program and control program of the hardware device after installing the operating system and application program on the upper computer, thereby realizing automatic deployment of the system and improving deployment efficiency.

[0057] The following is an exemplary description of the software deployment method provided in this application.

[0058] The deployment method provided in this application is applied to a software deployment system. Figure 1 As shown, the software deployment system provided by an embodiment of the present application includes a host computer 100, a slave computer 200, and a hardware device 300 controlled by the slave computer 200. Among them, the host computer 100 is used to realize human-computer interaction, and can be a computing device such as a desktop computer, a notebook, a handheld computer, and a cloud server. The slave computer 200 is used to perform command interaction with the host computer, and sends the command sent by the host computer 100 to the hardware device 300. The hardware device can be a device such as a robot or a mechanical arm, which is used to perform corresponding actions according to the command of the slave computer 200.

[0059] In the embodiment of the present application, the host computer 100 stores the first operating system of the host computer, the second operating system of the lower computer, the application program of the host computer, the control program of the lower computer, and the program of the hardware device. The host computer 100 is used to respond to the operation instruction, install the first operating system of the host computer and the application program of the host computer, guide the lower computer 200 to install the second operating system, and send the first control program of the lower computer and the second control program of the hardware device to the lower computer 200 when it is determined that the lower computer 200 has completed the installation of the second operating system. The lower computer 200 is used to install the second operating system based on the guidance of the host computer 100, install the first control program on the lower computer 200, and install the second control program on the hardware device 300.

[0060] Among them, the first operating system of the host computer 100 and the second operating system of the slave computer 200 can be the same or different. For example, the first operating system of the host computer 100 can be a Windows operating system, and the second operating system of the slave computer 200 can be a QNX real-time operating system. The application of the host computer 100 is used to realize human-computer interaction. For example, the application of the host computer 100 is a client program. For example, the hardware device is a medical robot, and the application of the host computer 100 can be a client program of the medical robot, such as "United Imaging". The first control program of the slave computer 200 is used to interact with the host computer 100 and issue control instructions to the hardware device 300. For example, the first control program can be a program for controlling the movement of a mechanical arm up and down or left and right, and the second control program of the hardware device 300 is used to support the interaction between the hardware device 300 and the slave computer 200 and / or control the hardware device 300 to perform corresponding actions.

[0061] The software deployment method provided in the embodiment of the present application is introduced below in combination with the above-mentioned software deployment system.

[0062] like Figure 2 As shown, Figure 2 Taking the interaction between the upper computer and the lower computer as an example, a software deployment method provided by an embodiment of the present application is described, and the deployment method includes:

[0063] S201: The host computer installs a first operating system of the host computer and an application program of the host computer in response to the operation instruction.

[0064] Among them, the first operating system can be a Windows operating system, and the application program of the host computer is used to realize human-computer interaction, and is a human-computer interaction entry software, for example, a client application program of a robot system.

[0065] In one embodiment, the operation instruction is an instruction to restore the image file. Exemplarily, the image file is obtained by compressing the first operating system. When the host computer detects the instruction to restore the image file, the image file is restored. After restoring the image file, the host computer installs the first operating system, thereby eliminating manual operations in the software deployment process and improving deployment efficiency. After the first operating system is installed, the host computer installs an application of the host computer. Among them, the application of the host computer can be obtained by restoring the image file, or it can be a file independent of the image file.

[0066] In one embodiment, the image file is obtained by packaging the deployment file, and the deployment file includes a first operating system, a second operating system, an application program of the host computer, a first control program of the lower computer, and a second control program of the hardware device. The host computer restores the image file according to the instruction to restore the image file, and installs the first operating system according to the restored image file. At the same time, the application program of the host computer, the second operating system, the first control program of the lower computer, and the second control program of the hardware device obtained after restoring the image file are stored in the first storage path of the host computer through the file storage management service stored in the host computer, so as to improve the efficiency of subsequent software deployment. Among them, the first storage path is the storage path specified by the file storage management service, and the application program of the host computer, the second operating system, the first control program of the lower computer, and the second control program of the hardware device can be stored in different paths respectively. After installing the first operating system, the host computer installs the application program of the host computer according to the storage path of the application program of the host computer, and then guides the lower computer to install the operating system and the control program according to the storage path of the second operating system, the first control program of the lower computer, and the second control program of the hardware device.

[0067] The file storage management service can be pre-stored in the host computer, and the operation instruction can trigger the host computer to run the file storage management service. The file storage management service can also be one of the files in the deployment file. When the host computer restores the image file, the obtained deployment file also includes the file storage management service. After restoring the image file, the host computer runs the file storage management service.

[0068] In one embodiment, the host computer obtains an image file from a third-party device. The image file is obtained by compressing the same version of the deployment file, and the operating system and control program in the same image file are compatible. The host computer obtains the image file of the version corresponding to the configuration information from the third-party device according to the configuration information of the host computer, the slave computer and the hardware device, so that the host computer, the slave computer and the hardware device can install mutually compatible operating systems and control programs, thereby improving the probability of successful deployment and thus improving deployment efficiency. Among them, the configuration information of the host computer, the slave computer and the hardware device can be the memory information, cache information, adapted operating system and other information of each device.

[0069] In another embodiment, the first operating system, the second operating system, the application program of the host computer, the first control program and the second control program may also be pre-stored in the host computer. Correspondingly, the operation instruction may also be an instruction to start installing the first operating system, and the host computer installs the first operating system according to the operation instruction, and then installs the application program of the host computer.

[0070] S202: The upper computer guides the lower computer to install the second operating system. Accordingly, when the lower computer is powered on, the lower computer installs the second operating system of the lower computer based on the guidance of the upper computer.

[0071] The second operating system is stored in the host computer. Exemplarily, the second operating system can be pre-stored in the host computer, or can be obtained after restoring the image file.

[0072] After the upper computer has deployed the first operating system and the application program, the lower computer installs the second operating system according to the guidance of the upper computer.

[0073] In one embodiment, a boot installation program is stored in the host computer, and the host computer runs the boot installation program to guide the lower computer to install the second operating system, thereby reducing manual operations and improving software deployment efficiency. Among them, the boot installation program can be pre-stored in the host computer, or it can be obtained after restoring the image file. The boot installation program can be a program developed based on the preboot execution environment (Preboot Execution Environment, PXE). When the host computer and the lower computer establish a communication connection, the boot installation program is run in the host computer, and the lower computer can be guided to install the second operating system. Exemplarily, the boot installation program can trigger the installation process of running the second operating system.

[0074] In one embodiment, when the upper computer detects that the lower computer is powered on, the upper computer allocates an IP address for communicating with the upper computer to the lower computer according to the set network segment through the IP allocation management service stored in the upper computer. The IP address can be randomly selected by the upper computer from the IP address pool. After the upper computer allocates the IP address to the lower computer, the upper computer and the lower computer can communicate according to the allocated IP address, and the upper computer can guide the lower computer to install the second operating system. The IP allocation management service can be a program obtained after restoring the image file, and the upper computer can run the IP allocation management service after restoring the image file.

[0075] It can be understood that the IP address for communication between the lower computer and the upper computer can be assigned by the upper computer to the lower computer. Of course, the IP address for communication can also be the default IP address of the lower computer or the IP address assigned to the lower computer by other devices. The embodiments of the present application do not limit this, as long as it can ensure that the lower computer and the upper computer can communicate with each other based on the IP address.

[0076] S203: When the upper computer determines that the lower computer has completed the installation of the second operating system, the lower computer sends the first file to the lower computer. Correspondingly, when the installation of the second operating system is completed, the lower computer obtains the first file from the upper computer.

[0077] The first file includes a first control program of the lower computer and a second control program of the hardware device. The first control program is used for the lower computer to exchange instructions with the upper computer, and can also be used for the lower computer to exchange instructions with the hardware device. For example, the first control program can enable the lower computer to send control instructions to the hardware device. The second control program is used to support the interaction between the hardware device and the lower computer, and can also be used by the lower computer to control the hardware device to perform corresponding actions.

[0078] In one embodiment, when the second operating system is installed, the lower computer sends an installation completion instruction to the upper computer, and the installation completion instruction is used by the upper computer to determine that the second operating system is installed. The upper computer determines that the lower computer has installed the second operating system according to the installation completion instruction. Afterwards, the upper computer pushes the first control program and the second control program to the corresponding paths of the lower computer through the file storage management service, so as to facilitate the lower computer to call the files of the first control program and the second control program to install the control program.

[0079] In one embodiment, before installing the second operating system, the lower computer obtains the IP address of the lower computer from the upper computer, and establishes a communication connection with the upper computer based on the IP address, so that the lower computer can install the second operating system based on the boot installation program, and obtain the first control program of the lower computer and the second control program of the hardware device from the upper computer.

[0080] S204: The upper computer guides the lower computer to install the first control program on the lower computer and the second control program on the hardware device. Accordingly, the lower computer installs the first control program on the lower computer and the second control program on the hardware device based on the guidance of the upper computer.

[0081] The upper computer can guide the lower computer to install the first control program on the lower computer and install the second control program on the hardware device by guiding the installation program. The guiding installation program can trigger the installation process of running the first control program and the second control program.

[0082] In one embodiment, after restoring the image file, the host computer also obtains a control system configuration file, which is used to set parameters of the control program (such as user information, storage information, and other parameters). When the host computer determines that the second operating system has been installed on the lower computer, the host computer pushes the first control program, the control system configuration file, and the second control program to the corresponding paths of the lower computer through the file storage management service. Accordingly, the lower computer installs the first control program and the system configuration file on the lower computer based on the boot installation program, and installs the second control program on the hardware device.

[0083] In one embodiment, after the upper computer guides the lower computer to install the first control program and installs the second control program on the hardware device, the upper computer performs an IP address ping verification between the upper computer, the lower computer and the hardware device, and determines the network connection status between the upper computer, the lower computer and the hardware device according to the verification result of the ping verification. Exemplarily, if the verification result of the ping verification is verification passed, it means that the network between the upper computer, the lower computer and the hardware device is connected.

[0084] In one embodiment, the host computer may also send a first instruction to the subordinate computer, and the first instruction is used to control the hardware device to perform initialization configuration. Afterwards, the host computer determines the software deployment result according to the execution result information of the hardware device sent by the subordinate computer. Exemplarily, after the subordinate computer receives the first instruction of the host computer, it sends the first instruction to the hardware device. After the hardware device is initialized, it returns the initialization completion information to the subordinate computer, and the subordinate computer sends the initialization completion information to the host computer. The host computer receives the initialization completion information, determines that the hardware device is initialized, and then determines that the verification is passed, that is, determines that the software deployment is completed.

[0085] In other embodiments, the first instruction may also be used to control the hardware device to perform an action, and the host computer determines the software deployment result based on the information about the execution status of the action of the hardware device.

[0086] In the above embodiment, the upper computer installs the first operating system and application of the upper computer according to the operating instructions, and then guides the lower computer to install the second operating system. When it is determined that the lower computer has completed the installation of the second operating system, the first control program of the lower computer and the second control program of the hardware device are sent to the lower computer, and the lower computer is guided to install the first control program and install the second control program on the hardware device. In this way, the operating system and control program of the system composed of the upper computer, the lower computer, and the hardware devices can be automatically installed, the operating steps are simplified, and the installation efficiency is improved.

[0087] In one embodiment, the deployment process of the software deployment system is as follows: Figure 3As shown. After the host computer restores the image file, it obtains the first operating system, the file storage management service, the IP allocation management service, the second operating system, the application program of the host computer, the control system configuration file, the first control program of the lower computer and the second control program of the hardware device. The host computer installs the first operating system and runs the file storage management service and the IP allocation management service at the same time. The file storage management service stores the second operating system, the application program of the host computer, the control system configuration file, the first control program of the lower computer and the second control program of the hardware device to the specified path of the host computer. When the first operating system is installed, the host computer installs the application program of the host computer, and the application program may include a boot installation program. At the same time, the IP allocation management service allocates an IP address to the lower computer, and the host computer communicates with the lower computer according to the IP address. After the host computer completes the installation of the first operating system and the application program, the host computer guides the lower computer to install the second operating system based on the boot installation program. When the second operating system is installed, the file storage management service on the host computer stores the control system configuration file, the first control program of the lower computer and the second control program of the hardware device to the specified path of the lower computer. Afterwards, the upper computer guides the lower computer to install the first control program and the system configuration file on the lower computer based on the boot installation program, and installs the second control program on the hardware device.

[0088] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0089] Figure 4 It is a schematic diagram of a software deployment device provided in one embodiment of the present application.

[0090] like Figure 4 As shown, the software deployment device includes:

[0091] A response module 41, configured to install a first operating system of a host computer and an application program of the host computer in response to an operation instruction, wherein the application program of the host computer is used to realize human-computer interaction;

[0092] The first boot module 42 is used to guide the lower computer to install the second operating system;

[0093] The sending module 43 is used to send a first file to the lower computer when it is determined that the lower computer has completed the installation of the second operating system, wherein the first file includes a first control program of the lower computer and a second control program of the hardware device, wherein the first control program is used for the lower computer to perform instruction interaction with the upper computer and / or for the lower computer to perform instruction interaction with the hardware device, and the second control program is used for the hardware device to interact with the lower computer and / or for the lower computer to control the hardware device to perform corresponding actions;

[0094] The second guiding module 44 is used to guide the lower computer to install the first control program on the lower computer and install the second control program on the hardware device.

[0095] In one embodiment, the host computer at least stores the first file and the file storage management service, and the sending module 43 is specifically used for:

[0096] When it is determined that the second operating system has been installed on the lower computer, the first control program and the second control program in the first file are pushed to corresponding storage paths in the lower computer respectively through the file storage management service.

[0097] In one embodiment, the first guiding module 42 is specifically used for:

[0098] When it is detected that the lower computer is powered on, an IP address for communicating with the upper computer is allocated to the lower computer according to a set network segment through the IP allocation management service in the upper computer;

[0099] When the upper computer and the lower computer communicate according to the IP address, the lower computer is guided to install the second operating system.

[0100] In one embodiment, the first guiding module 42 is specifically used for:

[0101] The lower computer is guided to install the second operating system through the boot installation program stored in the upper computer, and the boot installation program is a program developed based on PXE.

[0102] In one embodiment, the second guiding module 42 is further used for:

[0103] Perform IP address ping verification between the host computer, the slave computer and the hardware device;

[0104] The network connection status among the upper computer, the lower computer and the hardware device is determined according to the verification result of the ping verification.

[0105] In one embodiment, the second guiding module 42 is further used for:

[0106] Sending a first instruction to the lower computer, wherein the first instruction is used to control the hardware device to perform initialization configuration;

[0107] The software deployment result is determined according to the execution result information of the hardware device received by the host computer.

[0108] In one embodiment, the operation instruction is an instruction to restore the image file, and the response module 41 is further used to:

[0109] The image file is obtained by packaging the deployment file, and the deployment file includes the first operating system.

[0110] In one embodiment, the deployment file also includes the application of the host computer, the second operating system and the first file, and the response module 41 is further used to:

[0111] In response to the operation instruction, the application program of the host computer, the second operating system and the first file obtained after restoring the image file are stored in a first storage path through the file storage management service stored in the host computer.

[0112] In one embodiment, the response module 41 is further configured to:

[0113] According to the configuration information of the host computer, the slave computer and the hardware device, an image file of a version corresponding to the configuration information is obtained.

[0114] Figure 5 It is a schematic diagram of a software deployment device provided in one embodiment of the present application.

[0115] like Figure 5 As shown, the software deployment device includes:

[0116] A first installation module 51 is used to install the second operating system of the lower computer based on the guidance of the upper computer when the lower computer is powered on;

[0117] An acquisition module 52 is used to acquire, when the second operating system is installed, a first control program of the lower computer and a second control program of the hardware device from the upper computer, wherein the first control program is used for the lower computer to perform command interaction with the upper computer and / or for the lower computer to perform command interaction with the hardware device, and the second control program is used for the hardware device to interact with the lower computer and / or for the lower computer to control the hardware device to perform corresponding actions;

[0118] The second installation module 53 is used to install the first control program on the slave computer and the second control program on the hardware device based on the guidance of the upper computer.

[0119] In one embodiment, the first installation module 51 is further used for:

[0120] When the installation of the second operating system is completed, an installation completion instruction is sent to the host computer, and the installation completion instruction is used by the host computer to determine that the installation of the second operating system is completed.

[0121] In one embodiment, the first installation module 51 is further used for:

[0122] The IP address of the slave computer is obtained from the upper computer, and a communication connection is established with the upper computer according to the IP address.

[0123] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0124] like Figure 6 As shown, the electronic device of this embodiment includes: a processor 11, a memory 12, and a computer program 13 stored in the memory 12 and executable on the processor 11. When the processor 11 executes the computer program 13, the steps in the above deployment method embodiment are implemented, for example Figure 2 Steps S201 to S204 are shown.

[0125] Exemplarily, the computer program 13 may be divided into one or more modules / units, which are stored in the memory 12 and executed by the processor 11 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 13 in the electronic device.

[0126] Those skilled in the art will understand that Figure 6 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0127] The processor 11 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0128] The memory 12 may be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device. The memory 12 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 12 may also include both an internal storage unit of the electronic device and an external storage device. The memory 12 is used to store the computer program and other programs and data required by the electronic device. The memory 12 may also be used to temporarily store data that has been output or is to be output.

[0129] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0130] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0131] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0132] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0133] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0134] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.

[0135] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0136] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A software deployment method, characterized in that: include: In response to the operation instruction, installing a first operating system of the host computer and an application program of the host computer, wherein the application program of the host computer is used to realize human-computer interaction; Guide the lower computer to install the second operating system; In the case of determining that the second operating system has been installed on the lower computer, sending a first file to the lower computer, the first file including a first control program of the lower computer and a second control program of the hardware device, the first control program being used for the lower computer to perform command interaction with the upper computer and / or for the lower computer to perform command interaction with the hardware device, and the second control program being used for the hardware device to interact with the lower computer and / or for the lower computer to control the hardware device to perform corresponding actions; The lower computer is guided to install the first control program on the lower computer, and the lower computer is guided to install the second control program on the hardware device.

2. The method according to claim 1, characterized in that The upper computer stores at least the first file and the file storage management service, and when it is determined that the lower computer has completed the installation of the second operating system, sending the first file to the lower computer comprises: When it is determined that the second operating system has been installed on the lower computer, the first control program and the second control program in the first file are pushed to corresponding storage paths in the lower computer respectively through the file storage management service.

3. The method according to claim 1, characterized in that The step of guiding the lower computer to install the second operating system includes: When it is detected that the lower computer is powered on, an IP address for communicating with the upper computer is allocated to the lower computer according to a set network segment through the IP allocation management service in the upper computer; When the upper computer and the lower computer communicate according to the IP address, the lower computer is guided to install the second operating system.

4. The method according to any one of claims 1 to 3, characterized in that: The step of guiding the lower computer to install the second operating system includes: The lower computer is guided to install the second operating system through the boot installation program stored in the upper computer, and the boot installation program is a program developed based on PXE.

5. The method according to any one of claims 1 to 3, characterized in that: After guiding the lower computer to install the first control program on the lower computer, and guiding the lower computer to install the second control program on the hardware device, the method further includes: Perform IP address ping verification between the host computer, the slave computer and the hardware device; The network connection status among the upper computer, the lower computer and the hardware device is determined according to the verification result of the ping verification.

6. The method according to any one of claims 1 to 3, characterized in that: After the upper computer guides the lower computer to install the first control program on the lower computer, and guides the lower computer to install the second control program on the hardware device, the method further includes: Sending a first instruction to the lower computer, wherein the first instruction is used to control the hardware device to perform initialization configuration; The software deployment result is determined according to the execution result information of the hardware device received by the host computer.

7. The method according to any one of claims 1 to 3, characterized in that: The operation instruction is an instruction for restoring the image file. Before responding to the operation instruction, the method further includes: The image file is obtained by packaging the deployment file, and the deployment file includes the first operating system.

8. A software deployment method, characterized in that: include: When the lower computer is powered on, installing the second operating system of the lower computer based on the guidance of the upper computer; When the second operating system is installed, a first control program of the lower computer and a second control program of the hardware device are obtained from the upper computer, wherein the first control program is used for the lower computer to perform command interaction with the upper computer and / or for the lower computer to perform command interaction with the hardware device, and the second control program is used for the hardware device to interact with the lower computer and / or for the lower computer to control the hardware device to perform corresponding actions; Based on the guidance of the upper computer, a first control program is installed on the lower computer, and a second control program is installed on the hardware device.

9. A software deployment system, characterized in that: include: A host computer, a slave computer and a hardware device controlled by the slave computer, wherein the host computer is used to execute the method according to any one of claims 1 to 7, and the slave computer is used to execute the method according to claim 8.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 or 8 is implemented.