[go: up one dir, main page]

CN119071145A - Method, system and electronic device for pre-assembling and delivering a machine - Google Patents

Method, system and electronic device for pre-assembling and delivering a machine Download PDF

Info

Publication number
CN119071145A
CN119071145A CN202410960305.0A CN202410960305A CN119071145A CN 119071145 A CN119071145 A CN 119071145A CN 202410960305 A CN202410960305 A CN 202410960305A CN 119071145 A CN119071145 A CN 119071145A
Authority
CN
China
Prior art keywords
machine
information
target
preselected
machines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410960305.0A
Other languages
Chinese (zh)
Inventor
翟晓娜
杜侃
苏阳
陈存利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Du Xiaoman Technology Beijing Co Ltd
Original Assignee
Du Xiaoman Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Du Xiaoman Technology Beijing Co Ltd filed Critical Du Xiaoman Technology Beijing Co Ltd
Priority to CN202410960305.0A priority Critical patent/CN119071145A/en
Publication of CN119071145A publication Critical patent/CN119071145A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0695Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method, a system and electronic equipment for preassembling and delivering machines, wherein the method is characterized in that a target number of target machines matched with pre-selected package information, pre-selected machine model information, pre-selected operating system information and subnet information corresponding to each pre-selected machine are acquired from a standby machine pool according to pre-selected package information, pre-selected machine model information, pre-selected operating system information and subnet information distributed to each pre-selected machine carried in a resource request by receiving the resource request transmitted by a machine demand party, and the target number of target machines are delivered to the machine demand party. By adopting the embodiment of the application, when the machine equipment is needed by the machine demand side, the matched target machine is directly obtained from the standby machine pool and delivered, so that the time for waiting for installation by the machine demand side is saved, and the delivery efficiency of the physical machine is effectively improved.

Description

Method, system and electronic equipment for preassembling delivery machine
Technical Field
The present application relates to the field of internet operation and maintenance technologies, and in particular, to a method and an apparatus for preassembling a delivery machine, and an electronic device.
Background
In the field of internet operation and maintenance technology, an internet cloud service is a data service provided to a user based on data stored in a server (or database) of a back end. To better serve users, different data systems are built for different business services, which are essentially built by the operation and maintenance personnel selecting different physical machines.
The existing data system building method is generally based on a PXE (Preboot Execution Environment, pre-start execution environment) technology, and a matched data system is built according to service requirements. However, in the existing data system building method, some factors may cause lower delivery efficiency, for example, failure in mounting the write data into the storage disk due to card-on in the mounting process may cause mounting failure, so as to affect the machine delivery efficiency of the whole data system.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a method, an apparatus and an electronic device for preassembling a delivery machine, so as to improve the delivery efficiency of a data system machine.
In a first aspect, the present application provides a method of preassembling a delivery machine, the method comprising:
Receiving a resource request transmitted by a machine demand party, wherein the resource request carries pre-selected package information, model information of pre-selected machines, operating system information of the pre-selected machines and subnet information of each pre-selected machine;
Obtaining target machines with target quantity from a standby machine pool according to the resource request, wherein an operating system and a sub-network are pre-allocated in each machine in the standby machine pool;
Delivering the target number of target machines to the machine demander.
With reference to the first aspect, in some embodiments, the delivering the target number of target machines to the machine demander includes:
And sending the relevant information of each target machine to the machine demand side so that the machine demand side uses each target machine based on the received relevant information, wherein the relevant information of the target machine comprises the deployment position information of the target machine, the communication address information of the target machine and the configuration information of the target machine.
With reference to the first aspect, in some embodiments, the receiving a resource request incoming by a machine demander includes:
Receiving an installation application flow input by the machine demand party on a preset visual interactive interface, wherein the preset visual interactive interface is a visual interactive interface of a system of a preset preassembled delivery machine, and the installation application flow carries the resource request;
Forwarding the installed application flow to each approval node by utilizing the system of the preset preassembly delivery machine, and receiving installed application approval contents input by each approval node;
generating a new resource request based on the installed application approval content;
The method further comprises the steps of:
And acquiring a target number of target machines from the standby machine pool according to the new resource request.
With reference to the first aspect, in some embodiments, the obtaining, according to the resource request, a target number of target machines from a standby machine pool includes:
If the model information of the preselected machine, the operating system information of the preselected machine and the subnet information of each preselected machine are successfully matched with the model information, the operating system information and the subnet information of the machine in the standby machine pool, determining the successfully matched machine as a target machine;
And determining a target number of the target machines based on the preselected package information.
With reference to the first aspect, in some embodiments, the method further includes:
If the model information of the preselected machine and the operating system information of the preselected machine are successfully matched, but the subnet information of the preselected machine is not successfully matched, the machine which is successfully matched with the model information of the preselected machine and the operating system information of the preselected machine but is not successfully matched with the subnet information of the preselected machine is determined to be a first machine to be selected;
and according to the subnet information of the preselected machine, changing the subnet information of the first machine to be selected, and determining the changed first machine to be selected as the target machine.
With reference to the first aspect, in some embodiments, the method further includes:
if the model information of the preselected machine is successfully matched, but the operating system information of the preselected machine and the subnet information of the preselected machine are not successfully matched, determining the machine which is successfully matched with the model information of the preselected machine but is not successfully matched with the operating system information of the preselected machine and the subnet information of the preselected machine as a second machine to be selected;
and changing the operating system of the second machine to be selected according to the operating system information of the preselected machine, changing the subnet information of the second machine to be selected according to the subnet information of the preselected machine, and determining the changed second machine to be selected as the target machine.
With reference to the first aspect, in some embodiments, after the delivering the target number of target machines to the machine demander, the method further includes:
And updating the machine management information in a preset machine resource management system according to the mapping relation between the target machine and the machine demand side.
In a second aspect, the present application provides a system for preassembling a delivery machine, the system comprising:
The visual interaction interface is used for receiving a resource request transmitted by a machine demand party, wherein the resource request carries preselected package information, model information of preselected machines, operating system information of the preselected machines and subnet information of each preselected machine;
The resource matching module is used for acquiring target machines with target quantity from a standby machine pool according to the resource request, wherein an operating system and a sub-network are pre-allocated in each machine in the standby machine pool;
And the machine delivery module is used for delivering the target number of target machines to the machine demander.
With reference to the second aspect, in some embodiments, the machine delivery module is specifically configured to:
And sending the relevant information of each target machine to the machine demand side so that the machine demand side uses each target machine based on the received relevant information, wherein the relevant information of the target machine comprises the deployment position information of the target machine, the communication address information of the target machine and the configuration information of the target machine.
With reference to the second aspect, in some embodiments, the visual interaction interface is specifically configured to:
Receiving an installation application flow input by the machine demand side, wherein the preset visual interaction interface is a visual interaction interface of a system of a preset preassembly delivery machine, and the installation application flow carries the resource request;
Forwarding the installed application flow to each approval node by utilizing the system of the preset preassembly delivery machine, and receiving installed application approval contents input by each approval node;
generating a new resource request based on the installed application approval content;
the resource matching module is specifically configured to:
And acquiring a target number of target machines from the standby machine pool according to the new resource request.
With reference to the second aspect, in some embodiments, the resource matching module is specifically configured to:
If the model information of the preselected machine, the operating system information of the preselected machine and the subnet information of each preselected machine are successfully matched with the model information, the operating system information and the subnet information of the machine in the standby machine pool, determining the successfully matched machine as a target machine;
And determining a target number of the target machines based on the preselected package information.
With reference to the second aspect, in some embodiments, the resource matching module is further configured to:
If the model information of the preselected machine and the operating system information of the preselected machine are successfully matched, but the subnet information of the preselected machine is not successfully matched, the machine which is successfully matched with the model information of the preselected machine and the operating system information of the preselected machine but is not successfully matched with the subnet information of the preselected machine is determined to be a first machine to be selected;
and according to the subnet information of the preselected machine, changing the subnet information of the first machine to be selected, and determining the changed first machine to be selected as the target machine.
With reference to the second aspect, in some embodiments, the resource matching module is further configured to:
if the model information of the preselected machine is successfully matched, but the operating system information of the preselected machine and the subnet information of the preselected machine are not successfully matched, determining the machine which is successfully matched with the model information of the preselected machine but is not successfully matched with the operating system information of the preselected machine and the subnet information of the preselected machine as a second machine to be selected;
and changing the operating system of the second machine to be selected according to the operating system information of the preselected machine, changing the subnet information of the second machine to be selected according to the subnet information of the preselected machine, and determining the changed second machine to be selected as the target machine.
With reference to the second aspect, in some embodiments, after the delivering the target number of target machines to the machine demander, the system further includes:
And the billing module is used for updating the machine management information in a preset machine resource management system according to the mapping relation between the target machine and the machine demander.
In a third aspect, the present application provides an electronic device, including:
A processor and a memory storing a program,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method of pre-assembling a delivery machine according to the first aspect.
In a fourth aspect, the present application provides a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of pre-assembling a delivery machine according to the first aspect.
The application has the beneficial effects that:
The application provides a method, a system and electronic equipment for preassembling and delivering machines, wherein the method is characterized in that a target number of target machines matched with pre-selected package information, pre-selected machine model information, pre-selected operating system information and subnet information corresponding to each pre-selected machine are acquired from a standby machine pool according to pre-selected package information, pre-selected machine model information, pre-selected operating system information and subnet information distributed to each pre-selected machine carried in a resource request by receiving the resource request transmitted by a machine demand party, and the target number of target machines are delivered to the machine demand party.
The embodiment of the application abandons the existing installation method for installing the operating system corresponding to the resource request and distributing the corresponding subnet information according to the received resource request on the empty physical machine temporarily, adopts various operating systems which are possibly used for installing the empty physical machine in advance, distributes the subnet information which is possibly used to obtain the standby machine pool, directly acquires and delivers the matched target machine from the standby machine pool when the machine equipment is needed by the machine demand side, saves the time for waiting for installation of the machine demand side, and effectively improves the delivery efficiency of the physical machine.
Drawings
Further details, features and advantages of the application are disclosed in the following description of exemplary embodiments with reference to the following drawings, in which:
FIG. 1 illustrates a flow diagram of a method of pre-assembling a delivery machine provided by an embodiment of the present application;
FIG. 2 illustrates another flow diagram of a method of preassembling a delivery machine according to an embodiment of the present application;
FIG. 3 illustrates a logical architecture diagram of a system of preassembled delivery machines provided by embodiments of the present application;
Fig. 4 shows a schematic logic structure of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While the application is susceptible of embodiment in the drawings, it is to be understood that the application may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided to provide a more thorough and complete understanding of the application. It should be understood that the drawings and embodiments of the application are for illustration purposes only and are not intended to limit the scope of the present application.
It should be understood that the various steps recited in the method embodiments of the present application may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the application is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment," another embodiment "means" at least one additional embodiment, "and" some embodiments "means" at least some embodiments. Related definitions of other terms will be given in the description below. It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by such devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
In order to improve the delivery efficiency of a physical machine in the process of constructing a data system, the application provides a method, a system and electronic equipment for preassembling a delivery machine, wherein the method for preassembling the delivery machine can be applied to the system of the preassembling delivery machine, the system of the preassembling delivery machine can be deployed in any electronic equipment, or the method for preassembling the delivery machine can be applied to any electronic equipment with the capability of the preassembling delivery machine, and the types of the electronic equipment include, but are not limited to, a personal mobile terminal, a computer or a server and the like.
In a first aspect, the present application provides a method of preassembling a delivery machine, as shown in fig. 1, the method comprising the steps of:
S11, receiving a resource request transmitted by a machine demand party, wherein the resource request carries pre-selected package information, pre-selected machine model information, pre-selected machine operating system information and subnet information of each pre-selected machine;
S12, acquiring target machines with target quantity from a standby machine pool according to the resource request, wherein an operating system and a subnet are pre-allocated in each machine in the standby machine pool;
s13, delivering the target machines with the target number to the machine demander.
The method comprises the steps of receiving a resource request transmitted by a machine demand side, acquiring target machines with target numbers matched with pre-selected package information, pre-selected machine model information, pre-selected operating system information and subnet information corresponding to all pre-selected machines from a standby machine pool according to the pre-selected package information, the pre-selected machine model information, the pre-selected operating system information and the subnet information distributed for all pre-selected machines carried in the resource request, and delivering the target machines with the target numbers to the machine demand side.
The embodiment of the application abandons the existing installation method for installing the operating system corresponding to the resource request and distributing the corresponding subnet information according to the received resource request on the empty physical machine temporarily, adopts various operating systems which are possibly used for installing the empty physical machine in advance, distributes the subnet information which is possibly used to obtain the standby machine pool, directly acquires and delivers the matched target machine from the standby machine pool when the machine equipment is needed by the machine demand side, saves the time for waiting for installation of the machine demand side, and effectively improves the delivery efficiency of the physical machine.
Before the above-mentioned steps S11 to S13 are described in detail, the terms of art referred to herein will be described:
PXE (Preboot Execution Environment, pre-boot execution environment) is a network protocol for computers to boot without a local storage device (e.g., hard disk or optical drive), obtain an operating system or other boot image from a server over a network, and install it to the local computer. The PXE protocol works on the principle that a computer starts a Network interface card (NIC INTERFACE CARD) when starting up, and then sends a request to the Network through the NIC to request a remote server to provide files required for starting up. After receiving the request, the remote server sends the required file to the computer. After the computer receives the files, the files are automatically loaded and executed, so that the starting process is completed.
Machine reinstallation, commonly referred to as reinstalling an operating system. This is a common technical term used to describe the process of reinstalling the operating system and all necessary drivers and applications onto the computer. In some cases, the operating system may need to be reinstalled to repair the computer due to software problems or virus infection.
Subnetwork-network area subnetwork is a term of art of computer networks, specifically to the division of a large network into smaller, more manageable and controllable small networks. Each small network is a subnet, and the splitting process of this large network is called subnet splitting. The purpose of the sub-network division is to improve manageability, scalability and security of the network.
In the embodiment of the application, the method for preassembling the delivery machine is generally applied to a system of the preassembled delivery machine in an internet enterprise, and the system of the preassembled delivery machine assists operation and maintenance personnel in the enterprise to give out the physical machine meeting the requirements and a delivery scheme of the physical machine, wherein the delivery scheme comprises relevant information of the physical machine, and the relevant information can comprise configuration information, installation position information, communication network address information and the like of the physical machine.
The pre-assembly delivery system is a system provided by the second aspect of the application, in particular to an enterprise internal physical machine resource management, approval and assembly system. The machine demander can refer to a department or a person in the enterprise that needs a physical machine, for example, a newly established department, and needs part of physical machine resources to develop projects. The method can also be a person needing a physical machine outside an enterprise, for example, a customer needs a part of private cloud resources to store data, and in order to meet the private cloud storage requirement of the customer, after a target machine is determined in the existing standby machine pool for the customer, the private cloud is built for the user.
In order to ensure the maximum utilization of the physical machine, the physical machine resource request proposed by the machine demand side is generally required to be checked, and whether the physical machine resource request proposed by the machine demand side is reasonable or not, whether resource waste exists or not is determined.
Based on this, in some embodiments, as shown in fig. 2, when step S11 is performed, it may be achieved by the following steps:
S11-1, receiving an installation application flow input by the machine demand party on a preset visual interactive interface, wherein the preset visual interactive interface is a visual interactive interface of a system of a preset preassembly delivery machine, and the installation application flow carries the resource request;
S11-2, forwarding the installed application flow to each approval node by utilizing the system of the preset preassembly delivery machine, and receiving installed application approval contents input by each approval node;
S11-3, generating a new resource request based on the application approval content of the installation machine.
As described above, the system of the preset assembly delivery machine is a management system of physical machine resources inside an enterprise, and different departments and different personnel are accessed, in the embodiment of the present application, the installed application process is lifted by a machine demand party, an approval process is automatically generated, and the approval process is automatically forwarded to each process node related to the approval process in the system. For example, if the machine demand party is a person in the enterprise, the approval process will be automatically forwarded to the person such as the person in charge, the manager of the physical machine management department, the physical machine installation and delivery person, and the like, and each person will approve the resource approval process.
When executing step S11-1, the machine demand side receives the resource request information input in the preset visual interactive interface, and then generates the installation application flow according to the resource request information. Specifically, the machine demander can input the package information required by himself, the model number of the required physical machine, the type and version number of the operating system on the required physical machine, and the subnet information required to be accessed by each pre-selected machine in the visual interactive interface. The package information generally refers to the number of physical machines required, the memory size of each physical machine, the number of CPU cores, and so on. The operating system types on the physical machine may include a common Windows operating system, a Linux operating system, some virtual machine operating systems that simulate mobile terminals, etc. The version number of the operating system is the release version number of the operating system, such as Windows9, windows10, windows11, etc.
The subnet information to be accessed by the preselected machine can be determined according to the service range of the department where the machine demand side is located, wherein the physical machines deployed for different service departments are usually in a subnet range inside an enterprise, so that network isolation among the physical machines of different service departments is realized. At this time, when a new physical machine is applied for an internal department or a person, the subnet information of the selected physical machine should be within the subnet range corresponding to the department.
In addition, the resource request also comprises a machine room where the preselected machine is located, and the machine demander can input the machine room where the physical machine is located in the visual interaction interface so as to carry out matching based on the machine priority in the machine room later, thereby being beneficial to improving the machine delivery efficiency.
Based on this, the installed application flow carries the resource request input by the machine demand party, and when executing step S11-2, the system of the preset preassembled delivery machine forwards the installed application flow to each approval node, and each approval node can perform approval according to the cost, hardware demand, operation demand and other conditions of the physical machine.
For example, the machine demander is a common staff member, the system of the preset pre-assembled delivery machine fills in the operation requirement of the physical machine required by the machine demander, for example, the physical machine is required to be capable of operating a neural network large model, the number of the physical machines is approximately required to be 20, at this time, the system of the preset pre-assembled delivery machine can give approximately the reference number of the physical machines and the approximate cost of the reference number of the physical machines according to the operation requirement filled by the machine demander, the reference number of the physical machines and the cost are forwarded to the department leader of the staff member together with the number of the physical machines filled by the machine demander, the department leader can combine the actual experience of the department and the cost requirement of the physical machines to approve the application flow, if the operation requirement and the machine cost can be met, the application flow to the next examination and approval node can be clicked in the system of the preset pre-assembled delivery machine.
Or the related information of the applied physical machines can be modified according to the actual requirements in the system of the preset pre-assembled delivery machine, such as modifying the number of the physical machines, the version of the operating system of the physical machines and the like, and then the system of the preset pre-assembled delivery machine can automatically generate a new installed application flow and automatically flow to the next approval node.
If the next batch of nodes are physical machine managers, whether the information filled in the installation application flow provided by the machine demand party is accurate can be judged according to the machine room where the physical machine is or the subnet of the physical machine carried by the installation application flow. For example, a physical machine applied in an installation application flow filled by a staff member of a service department a belongs to a service department B, at this time, the installation application flow filled by the staff member of the service department a is wrong, at this time, the physical machine manager can click and return the installation application flow in a system delivered by the preset pre-assembled machine, and prompt a machine demander that information filled in the installation application flow is wrong, and a specific cause of the mistake is wrong, or the physical machine manager can modify the installation application flow proposed by the service department a according to the deployment situation of the physical machine in the service department a.
The system of the pre-assembled delivery machine can generate a new resource request according to the approval content of the installed application input by each approval node, wherein the new resource request carries the related information of each pre-selected machine without problems after approval and comprises new pre-selected package information, model information of the new pre-selected machine, operating system information of the new pre-selected machine and subnet information of the new pre-selected machine.
Based on this, when step S12 is executed, machine matching may be performed from the standby machine pool according to the new resource request, and the target number of target machines may be acquired.
Specifically, as an embodiment, when step S12 is performed, the following steps may be implemented:
If the model information of the preselected machine, the operating system information of the preselected machine and the subnet information of each preselected machine are successfully matched with the model information, the operating system information and the subnet information of the machine in the standby machine pool, determining the successfully matched machine as a target machine;
And determining a target number of the target machines based on the preselected package information.
In the embodiment of the application, each machine in the standby machine pool is a physical machine purchasing person or a manager to collect the requirements in advance, obtain the physical machine requirements of each machine requiring side, and then purchase and install the physical machines in advance according to the physical machine requirements of the machine requiring side, wherein each physical machine obtained by purchase and installation is deployed in a machine room at the rear but is not distributed. In the installation process, the installation and the sub-network distribution are carried out in advance according to the collected physical machine requirements of the machine requiring party, and when the standby machine requiring party actually lifts the installation application flow, the machines in the standby machine pool are distributed according to the resource request in the installation application flow.
When the specific allocation is carried out, the matching is carried out preferentially according to the model number, the operating system and the subnet of the preselected machine carried by the resource request, if the matching can be carried out, the matched machine is directly determined to be the target machine, and the corresponding number of the target machines is determined according to the number of the machines in the preselected package information and delivered to the machine demand party.
By adopting the embodiment of the application, the work such as installation and subnet allocation is completed before the machine demand side is advanced to the demand, so that when the machine demand side really needs a physical machine, the target machines with the number required by the machine demand side can be quickly determined from the standby machine pool according to the resource request of the machine demand side, the temporary installation and subnet allocation of waiting operation and maintenance personnel of the machine demand side are not needed, and the delivery efficiency of the physical machine is effectively improved.
As another embodiment, the step S12 may be specifically implemented by the following steps:
If the model information of the preselected machine and the operating system information of the preselected machine are successfully matched, but the subnet information of the preselected machine is not successfully matched, the machine which is successfully matched with the model information of the preselected machine and the operating system information of the preselected machine but is not successfully matched with the subnet information of the preselected machine is determined to be a first machine to be selected;
and according to the subnet information of the preselected machine, changing the subnet information of the first machine to be selected, and determining the changed first machine to be selected as the target machine.
In the embodiment of the application, if the preselected machine model and the operating system can be successfully matched, but the preselected subnet information is not successfully matched, the fact that available machines exist in the standby machine pool is indicated, but the subnet to which the available machines belong is not proper. At this time, the available machine (i.e., the first machine to be selected) may be subjected to subnet change processing, and the subnet information to which the available machine belongs may be changed to the subnet range belonging to the machine requiring party, which may be specifically implemented by the following steps:
And acquiring a corresponding subnet according to the ID (which can be the equipment identification information) of the first machine to be selected, and then acquiring the virtual private cloud VPC (Virtual Private Cloud) of the first machine to be selected. The VPC is a logically isolated network environment, VPCs corresponding to different service departments are different, a mapping relationship between the service departments and the VPCs is stored in a VPC management device, a target VPC to which a machine demand party belongs and a subnet field to which the target VPC belongs can be determined by reading the mapping relationship, and then the VPC and the subnet field of the first machine to be selected are changed into the target VPC to which the machine demand party belongs and the subnet field to which the target VPC belongs.
As another embodiment, the step S12 may be specifically implemented by the following steps:
if the model information of the preselected machine is successfully matched, but the operating system information of the preselected machine and the subnet information of the preselected machine are not successfully matched, determining the machine which is successfully matched with the model information of the preselected machine but is not successfully matched with the operating system information of the preselected machine and the subnet information of the preselected machine as a second machine to be selected;
and changing the operating system of the second machine to be selected according to the operating system information of the preselected machine, changing the subnet information of the second machine to be selected according to the subnet information of the preselected machine, and determining the changed second machine to be selected as the target machine.
If the model of the preselected machine is successfully matched, but the operating system information and the subnet information are not successfully matched, at this time, the machine with the preselected machine model successfully matched, but the operating system and the subnet information are not successfully matched is determined to be the second machine to be selected, at this time, the operating system can be preferentially reloaded for the second machine to be selected, the specific method for reloading the operating system can refer to the technical manual of the existing reloading system, which is not strictly limited herein, and then the subnet field and the VPC of the second machine to be selected are updated by changing the description content of the subnet information, the subnet information of the second machine to be selected is changed to the subnet range to which the machine demand side belongs, and the VPC of the second machine to be selected is changed to the target VPC to which the machine demand side belongs.
By adopting the embodiment of the application, the machine to be selected can be quickly determined in the existing standby machine pool, and then the machine to be selected is quickly installed and the subnet change processing is carried out by fewer operation processing steps, thereby being beneficial to guaranteeing the delivery efficiency of the machine.
In some embodiments, the step S13 may be specifically implemented by the following steps:
The information about the target machine may be sent directly to the machine demander. The relevant information of the target machine comprises deployment position information of the target machine, communication address information of the target machine, configuration information of the target machine and the like. In this way, the machine demander can directly use the target machine based on the received relevant information, specifically, the machine demander can initiate a data write request to the target machine through the communication address of the target machine to store data, and in addition, the machine demander can deploy service instances on each target machine based on the deployment location information of the target machine.
As one implementation mode, the machine demander can fill in the service required to be mounted in the resource request, and after the target machine is determined in the step S13, the service required to be mounted, carried in the resource request, can be automatically mounted on the target machine, so that the response efficiency of the mounted service is improved, and the use experience of a user is ensured.
As another embodiment, the method further includes the steps of:
and updating the machine management information in the preset machine resource management system according to the mapping relation between the target machine and the machine demand side.
In the embodiment of the present application, the preset machine resource management system may be a system for specifically managing physical machines in an enterprise, where relevant information of a physical machine is recorded in the system, including a mapping relationship between departments to which the physical machine belongs or responsible persons of the physical machine. The method can be regarded as a physical machine account, and after the target machine is delivered to the machine demand party, the physical machine account in the machine resource management system needs to be updated, such as modifying the corresponding affiliated department or responsible person of the target machine. In this way, physical machine resources can be clearly managed.
The processing of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user, which is involved in the application, accords with the rules of relevant laws and regulations and does not violate the public order colloquial.
In a second aspect, the present application provides a system for preassembling a delivery machine, as shown in fig. 3, the system 30 comprising:
the visual interaction interface 301 is configured to receive a resource request transmitted by a machine requiring party, where the resource request carries preselected package information, model information of preselected machines, operating system information of the preselected machines, and subnet information of each of the preselected machines;
a resource matching module 302, configured to obtain a target number of target machines from a standby machine pool according to the resource request, where each machine in the standby machine pool is preloaded with an operating system and pre-allocated with a subnet;
and a machine delivery module 303, configured to deliver the target number of target machines to the machine demander.
With reference to the second aspect, in some embodiments, the machine delivery module is specifically configured to:
And sending the relevant information of each target machine to the machine demand side so that the machine demand side uses each target machine based on the received relevant information, wherein the relevant information of the target machine comprises the deployment position information of the target machine, the communication address information of the target machine and the configuration information of the target machine.
With reference to the second aspect, in some embodiments, the visual interaction interface is specifically configured to:
Receiving an installation application flow input by the machine demand side, wherein the preset visual interaction interface is a visual interaction interface of a system of a preset preassembly delivery machine, and the installation application flow carries the resource request;
Forwarding the installed application flow to each approval node by utilizing the system of the preset preassembly delivery machine, and receiving installed application approval contents input by each approval node;
generating a new resource request based on the installed application approval content;
the resource matching module is specifically configured to:
And acquiring a target number of target machines from the standby machine pool according to the new resource request.
With reference to the second aspect, in some embodiments, the resource matching module is specifically configured to:
If the model information of the preselected machine, the operating system information of the preselected machine and the subnet information of each preselected machine are successfully matched with the model information, the operating system information and the subnet information of the machine in the standby machine pool, determining the successfully matched machine as a target machine;
And determining a target number of the target machines based on the preselected package information.
With reference to the second aspect, in some embodiments, the resource matching module is further configured to:
If the model information of the preselected machine and the operating system information of the preselected machine are successfully matched, but the subnet information of the preselected machine is not successfully matched, the machine which is successfully matched with the model information of the preselected machine and the operating system information of the preselected machine but is not successfully matched with the subnet information of the preselected machine is determined to be a first machine to be selected;
and according to the subnet information of the preselected machine, changing the subnet information of the first machine to be selected, and determining the changed first machine to be selected as the target machine.
With reference to the second aspect, in some embodiments, the resource matching module is further configured to:
if the model information of the preselected machine is successfully matched, but the operating system information of the preselected machine and the subnet information of the preselected machine are not successfully matched, determining the machine which is successfully matched with the model information of the preselected machine but is not successfully matched with the operating system information of the preselected machine and the subnet information of the preselected machine as a second machine to be selected;
and changing the operating system of the second machine to be selected according to the operating system information of the preselected machine, changing the subnet information of the second machine to be selected according to the subnet information of the preselected machine, and determining the changed second machine to be selected as the target machine.
With reference to the second aspect, in some embodiments, after the delivering the target number of target machines to the machine demander, the system further includes:
And the billing module is used for updating the machine management information in a preset machine resource management system according to the mapping relation between the target machine and the machine demander.
The names of messages or information interacted between the devices in the embodiments of the present application are for illustrative purposes only and are not intended to limit the scope of such messages or information.
In a third aspect, an embodiment of the present application also provides an electronic device including at least one processor, and a memory communicatively coupled to the at least one processor. The memory stores a computer program executable by the at least one processor for causing the electronic device to perform a method according to an embodiment of the application when executed by the at least one processor.
In a fourth aspect, embodiments of the present application also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to embodiments of the present application.
In a fifth aspect, embodiments of the present application also provide a computer program product comprising a computer program, wherein the computer program, when executed by a processor of a computer, is for causing the computer to perform a method according to embodiments of the present application.
Referring to fig. 4, a block diagram of an electronic device 400 that may be a server or a client of the present application will now be described, which is an example of a hardware device that may be applied to aspects of the present application. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 4, the electronic device 400 includes a computing unit 401 that can perform various suitable actions and processes according to a computer program stored in a Read Only Memory (ROM) 402 or a computer program loaded from a storage unit 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 may also be stored. The computing unit 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Various components in the electronic device 400 are connected to the I/O interface 405, including an input unit 406, an output unit 407, a storage unit 408, and a communication unit 409. The input unit 406 may be any type of device capable of inputting information to the electronic device 400, and the input unit 406 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device. The output unit 407 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. Storage unit 408 may include, but is not limited to, magnetic disks, optical disks. The communication unit 409 allows the electronic device 400 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chipsets, such as bluetooth (TM) devices, wiFi devices, wiMax devices, cellular communication devices, and/or the like.
The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 401 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 401 performs the respective methods and processes described above. For example, in some embodiments, the foregoing method of preassembling a delivery machine may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 408. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 400 via the ROM 402 and/or the communication unit 409. In some embodiments, the computing unit 401 may be configured to perform the aforementioned method of pre-assembling the delivery machine by any other suitable means (e.g., by means of firmware).
Program code for carrying out methods of the present application may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user, for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback), and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), and the Internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

Claims (10)

1. A method of preassembling a delivery machine, the method comprising:
Receiving a resource request transmitted by a machine demand party, wherein the resource request carries pre-selected package information, model information of pre-selected machines, operating system information of the pre-selected machines and subnet information of each pre-selected machine;
Obtaining target machines with target quantity from a standby machine pool according to the resource request, wherein an operating system and a sub-network are pre-allocated in each machine in the standby machine pool;
Delivering the target number of target machines to the machine demander.
2. The method of claim 1, wherein delivering the target number of target machines to the machine demander comprises:
And sending the relevant information of each target machine to the machine demand side so that the machine demand side uses each target machine based on the received relevant information, wherein the relevant information of the target machine comprises the deployment position information of the target machine, the communication address information of the target machine and the configuration information of the target machine.
3. The method of claim 1, wherein receiving the incoming resource request by the machine demander comprises:
Receiving an installation application flow input by the machine demand party on a preset visual interactive interface, wherein the preset visual interactive interface is a visual interactive interface of a system of a preset preassembled delivery machine, and the installation application flow carries the resource request;
Forwarding the installed application flow to each approval node by utilizing the system of the preset preassembly delivery machine, and receiving installed application approval contents input by each approval node;
generating a new resource request based on the installed application approval content;
The method further comprises the steps of:
And acquiring a target number of target machines from the standby machine pool according to the new resource request.
4. The method of claim 1, wherein the obtaining a target number of target machines from a pool of standby machines based on the resource request comprises:
If the model information of the preselected machine, the operating system information of the preselected machine and the subnet information of each preselected machine are successfully matched with the model information, the operating system information and the subnet information of the machine in the standby machine pool, determining the successfully matched machine as a target machine;
And determining a target number of the target machines based on the preselected package information.
5. The method according to claim 4, wherein the method further comprises:
If the model information of the preselected machine and the operating system information of the preselected machine are successfully matched, but the subnet information of the preselected machine is not successfully matched, the machine which is successfully matched with the model information of the preselected machine and the operating system information of the preselected machine but is not successfully matched with the subnet information of the preselected machine is determined to be a first machine to be selected;
and according to the subnet information of the preselected machine, changing the subnet information of the first machine to be selected, and determining the changed first machine to be selected as the target machine.
6. The method according to claim 1, wherein the method further comprises:
if the model information of the preselected machine is successfully matched, but the operating system information of the preselected machine and the subnet information of the preselected machine are not successfully matched, determining the machine which is successfully matched with the model information of the preselected machine but is not successfully matched with the operating system information of the preselected machine and the subnet information of the preselected machine as a second machine to be selected;
and changing the operating system of the second machine to be selected according to the operating system information of the preselected machine, changing the subnet information of the second machine to be selected according to the subnet information of the preselected machine, and determining the changed second machine to be selected as the target machine.
7. The method of any one of claims 1-6, wherein after said delivering the target number of target machines to the machine demander, the method further comprises:
And updating the machine management information in a preset machine resource management system according to the mapping relation between the target machine and the machine demand side.
8. A system of preassembled delivery machines, the system comprising:
The visual interaction interface is used for receiving a resource request transmitted by a machine demand party, wherein the resource request carries preselected package information, model information of preselected machines, operating system information of the preselected machines and subnet information of each preselected machine;
The resource matching module is used for acquiring target machines with target quantity from a standby machine pool according to the resource request, wherein an operating system and a sub-network are pre-allocated in each machine in the standby machine pool;
And the machine delivery module is used for delivering the target number of target machines to the machine demander.
9. An electronic device, the electronic device comprising:
processor, and
A memory in which a program is stored,
Wherein the program comprises instructions which, when executed by the processor, cause the processor to perform the method according to any of claims 1-7.
10. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202410960305.0A 2024-07-17 2024-07-17 Method, system and electronic device for pre-assembling and delivering a machine Pending CN119071145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410960305.0A CN119071145A (en) 2024-07-17 2024-07-17 Method, system and electronic device for pre-assembling and delivering a machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410960305.0A CN119071145A (en) 2024-07-17 2024-07-17 Method, system and electronic device for pre-assembling and delivering a machine

Publications (1)

Publication Number Publication Date
CN119071145A true CN119071145A (en) 2024-12-03

Family

ID=93645877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410960305.0A Pending CN119071145A (en) 2024-07-17 2024-07-17 Method, system and electronic device for pre-assembling and delivering a machine

Country Status (1)

Country Link
CN (1) CN119071145A (en)

Similar Documents

Publication Publication Date Title
US8601466B2 (en) Software deployment method and system, software deployment server and user server
CN107911421B (en) Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain
CN108763090B (en) Test environment deployment method, device, computer equipment and storage medium
CN105208047B (en) Inserting method and server on distribution system services device
WO2016037479A1 (en) Method, device and system for optimizing virtualized network function (vnf)
CN108429768A (en) Cloud data analysis service management system, method and cloud server
CN108337289B (en) Operation instruction processing method and system
CN110489139B (en) Real-time data processing method based on micro-service and related equipment thereof
CN110289983B (en) Load balancing application creation method and device, computer equipment and storage medium
WO2020093976A1 (en) Resource change method and device, apparatus, and storage medium
WO2021120180A1 (en) Virtual workspace experience visualization and optimization
CN113885911A (en) Robot version update method and device based on RPA and AI
CN114401188A (en) Method for changing cloud network edge integrated service, management equipment and medium
US11425203B2 (en) Commissioning a virtualized network function
EP3193253B1 (en) Method, apparatus and system for displaying names of virtual machine
CN119071145A (en) Method, system and electronic device for pre-assembling and delivering a machine
CN115665265B (en) Request processing method, device, equipment, storage medium and system
CN117118927A (en) Resource allocation method, device, equipment and readable storage medium
US20210256600A1 (en) Connector leasing for long-running software operations
CN115309457A (en) Application instance restarting method and device, electronic equipment and readable storage medium
CN112286537A (en) Bare metal service delivery method, apparatus, computer equipment and storage medium
CN113590341B (en) Service component calling method and device, computer equipment and storage medium
CN110554906A (en) virtual machine configuration management method and device
CN114138516B (en) Method, device, terminal and storage medium for updating status of resource transfer
CN113220282B (en) Development processing method, device and storage medium for applet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination