CN105450450B - Virtual network method for parameter configuration and device - Google Patents

Virtual network method for parameter configuration and device Download PDF

Info

Publication number
CN105450450B
CN105450450B CN201510867916.1A CN201510867916A CN105450450B CN 105450450 B CN105450450 B CN 105450450B CN 201510867916 A CN201510867916 A CN 201510867916A CN 105450450 B CN105450450 B CN 105450450B
Authority
CN
China
Prior art keywords
configuration
parameter
virtual
address information
virtual machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510867916.1A
Other languages
Chinese (zh)
Other versions
CN105450450A (en
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201510867916.1A priority Critical patent/CN105450450B/en
Publication of CN105450450A publication Critical patent/CN105450450A/en
Application granted granted Critical
Publication of CN105450450B publication Critical patent/CN105450450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of virtual network method for parameter configuration, comprising: when receiving the instruction of virtual network parameter configuration, shows virtual network parameter configuration template selection interface;When receiving the selection instruction based on stencil-chosen interface triggering, the corresponding virtual network parameter configuration template of the selection instruction is obtained;The corresponding configuration parameter of parameter configuration template generates virtual machine according to the virtual network, and configures the network parameter of the virtual machine.The invention also discloses a kind of virtual network parameter configuration devices.The present invention can generate virtual machine according to the corresponding configuration parameter of virtual network parameter configuration template that user selects, and configure the network parameter of the virtual machine, very fast;User does not need to understand the function of each virtual machine simultaneously, it is only necessary to according to the template that application scenarios select itself to need, improve the flexibility of virtual network parameter configuration.

Description

Virtual network method for parameter configuration and device
Technical field
The present invention relates to Internet technical field more particularly to a kind of virtual network method for parameter configuration and device.
Background technique
For the first deployment of virtual network, many deployed good feelings of base network device are different under physical environment Condition, the links that user needs comprehensive understanding to virtualize, such as the mapping of virtual network and physical network, virtual flow-line equipment, Virtual swap device, distributed virtual switching equipment and virtual network device across host, across clustered deploy(ment) etc., in advance It has planned that network deployment can just come into effect later, but also loop, IP conflict etc. allocation problem must be faced, even only had The Office Network environment of tens people, or the server of only several servers issue scene.
The configuration of existing virtual network generally requires user and manually selects virtual machine required for current operating environment, It then needs user to be well understood by the function of each virtual machine, while needing to determine required all kinds of void according to the scale of itself The quantity of quasi- machine, after virtual machine is selected, it is also necessary to be configured by manually mode to each virtual machine, configuration mode packet Include list configuration and topological diagram configuration.It, can be in physical outlet level, exchange level, routing level when carrying out list configuration And other network equipment levels provide the setting that multiple lists carry out network parameter, setting up procedure is considerably complicated, and user It has to check whether to be arranged successfully into read-only topological network interface after the setup, if desired modifies and also need by opening up It flutters socket and enters list interface and re-start modification, setting up procedure is extremely complex;For topological diagram configuration mode, Yong Hutong It crosses and drags the mode of the corresponding icon of each virtual machine and configured, user is in configuration also it should be understood that each virtual machine Relationship between function and each virtual machine, configuration process are also more complicated.
Summary of the invention
It is a primary object of the present invention to propose a kind of virtual network method for parameter configuration and device, it is intended to solve virtual net The complex technical problem of network parameter configuration.
To achieve the above object, the present invention provides a kind of virtual network method for parameter configuration, and the virtual network parameter is matched Set method the following steps are included:
When receiving the instruction of virtual network parameter configuration, virtual network parameter configuration template selection interface is shown;
When receiving the selection instruction based on stencil-chosen interface triggering, the corresponding void of the selection instruction is obtained Quasi- network parameter configuration template;
The corresponding configuration parameter of parameter configuration template generates virtual machine according to the virtual network, and configures the virtual machine Network parameter.
Preferably, the corresponding configuration parameter of the parameter configuration template according to the virtual network generates virtual machine, and matches The step of setting the network parameter of the virtual machine include:
Display scale parameter and address information input interface;
It the corresponding configuration parameter of parameter configuration template and is received according to the virtual network based on the input interface Scale parameter generate virtual machine;
According to the virtual machine that the address information configuration received based on the input interface is generated, and it is based on institute Stating address information will be in the virtual machine of corresponding operating system migration to generation.
Preferably, the virtual machine generated according to address information configuration, and will based on the address information After step of the corresponding operating system migration into the virtual machine generated, the virtual network method for parameter configuration is also wrapped Include step:
When receiving virtual machine configuration parameter change instruction, display configuration parameter updates interface;
When receiving the size values change directive based on configuration parameter update interface triggering, according to current virtual The size values after network parameter configuration template and change configure virtual machine;
The virtual machine is configured according to the current address information, it will be corresponding based on the configured address information Operating system migration is into the virtual machine.
Preferably, receive virtual machine configuration parameter change instruction when, display configuration parameter update interface the step of it Afterwards, the virtual network method for parameter configuration further comprises the steps of:
When receiving the address information change directive based on configuration parameter update interface triggering, according to the address The corresponding address information of information change directive reconfigures the virtual machine, is by the corresponding operation of the address information reconfigured System is migrated into the virtual machine.
Preferably, the step of corresponding configuration parameter of parameter configuration template generates virtual machine according to the virtual network is wrapped It includes:
According to the incidence relation between the preset network parameter configuration template and address information, obtain described virtual The associated address information of network parameter configuration template;
The associated address information of parameter configuration template obtains the configuration parameter according to the virtual network, and using acquisition The configuration parameter arrived generates the virtual machine.
In addition, to achieve the above object, the present invention also proposes a kind of virtual network parameter configuration device, the virtual network Parameter configuration device includes:
Display module, for showing virtual network parameter configuration template when receiving the instruction of virtual network parameter configuration Selection interface;
Module is obtained, for obtaining the choosing when receiving the selection instruction based on stencil-chosen interface triggering Select the corresponding virtual network parameter configuration template of instruction;
Configuration module generates virtual machine for the corresponding configuration parameter of parameter configuration template according to the virtual network, and Configure the network parameter of the virtual machine.
Preferably, the configuration module includes:
Display unit, for showing size values and address information input interface;
Generation unit, for the corresponding configuration parameter of parameter configuration template according to the virtual network and based on described defeated Enter the scale parameter that interface receives and generates virtual machine;
Configuration unit, the void for being generated according to the address information configuration received based on the input interface Quasi- machine, and will be in the virtual machine of corresponding operating system migration to generation based on the address information.
Preferably, the display module is also used to when receiving virtual machine configuration parameter change instruction, display configuration ginseng Number updates interface;The configuration module is also used to receiving the size values for updating interface triggering based on the configuration parameter When change directive, virtual machine is configured according to the size values after current virtual network parameter configuration template and change, with And the virtual machine is configured according to the current address information, it is by corresponding operation based on the configured address information System is migrated into the virtual machine.
Preferably, the configuration module is also used to receiving the address for updating interface triggering based on the configuration parameter When information change directive, the virtual machine is reconfigured according to the corresponding address information of the address information change directive, is based on By the corresponding operating system migration of the address information reconfigured into the virtual machine.
Preferably, the configuration module includes:
Acquiring unit, for being closed according to the association between the preset network parameter configuration template and address information System, obtains the associated address information of virtual network parameter configuration template, and parameter configuration mould according to the virtual network The associated address information of plate obtains the configuration parameter;
Generation unit, for generating the virtual machine using the configuration parameter got.
Virtual network method for parameter configuration and device proposed by the present invention are receiving the instruction of virtual network parameter configuration When, it can show virtual network parameter configuration template selection interface, and the virtual network parameter configuration template pair selected according to user The configuration parameter answered generates virtual machine, and configures the network parameter of the virtual machine, very fast;User does not need simultaneously Solve the function of each virtual machine, it is only necessary to according to the template that application scenarios select itself to need, improve virtual network parameter The flexibility of configuration.
Detailed description of the invention
Fig. 1 is the flow diagram of virtual network method for parameter configuration first embodiment of the present invention;
Fig. 2 is the refinement flow diagram that virtual process is configured in virtual network method for parameter configuration of the present invention;
Fig. 3 is the schematic diagram of parameter setting interface in virtual network method for parameter configuration of the present invention;
Fig. 4 is the functional block diagram of virtual network parameter configuration device first embodiment of the present invention;
Fig. 5 is the refinement the functional block diagram of configuration module in virtual network parameter configuration device of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of virtual network method for parameter configuration.
Referring to Fig.1, Fig. 1 is the flow diagram of virtual network method for parameter configuration first embodiment of the present invention.
The present embodiment proposes that a kind of virtual network method for parameter configuration, the virtual network method for parameter configuration include:
Step S10, when receiving the instruction of virtual network parameter configuration, display virtual network parameter configuration template selects boundary Face;
In the present embodiment, virtual network parameter configuration instruction can be by the physical button on all-in-one machine, can also be by one Virtual control on machine or the controlling terminal being connect with virtual machine triggering;When receiving the instruction of virtual network parameter configuration, It can show the selection interface including each network parameter configuration template mark, each network parameter configuration template mark may include this Network parameter configuration template identifies corresponding application scenarios, further, to reduce the operation that user is manually entered, network ginseng Number configuration template mark may also comprise network parameter configuration template and identify the scale of corresponding application scenarios (as allowed access terminal Quantity), certainly, the scale of the application scenarios can also be manually entered by user.
Step S20 obtains the selection instruction when receiving the selection instruction based on stencil-chosen interface triggering Corresponding virtual network parameter configuration template;
Step S30, the corresponding configuration parameter of parameter configuration template generates virtual machine according to the virtual network, and configures institute State the network parameter of virtual machine.
In the present embodiment, the corresponding configuration parameter of parameter configuration template generates the step of virtual machine according to the virtual network Suddenly include:
According to the incidence relation between the preset network parameter configuration template and address information, obtain described virtual The associated address information of network parameter configuration template;
The associated address information of parameter configuration template obtains the configuration parameter according to the virtual network, and using acquisition The configuration parameter arrived generates the virtual machine.
It, can be by the corresponding configuration parameter of virtual network parameter configuration template when generating virtual network parameter configuration template It is stored in some path (i.e. address information) of the file system in server, and by the address information and virtual network parameter Configuration template association saves, and can get configuration parameter by the address information.
Generally in accession page, for example http://vmp.sangfor.com, the resource loaded (js, picture etc.) are right Some path of file system on server, such as/sf/www have been answered, as browse request http: // When vmp.sangfor.com/favicon.ico, corresponding web services then load/sf/www/favicon.ico file, are formed One-to-one resource impact relationship, if then the file of load is /home/a.js, the file being mapped in equipment is exactly/sf/ www/home/a.js.If operation expanding, the management for increasing third side plug on all-in-one machine is want, third side plug must obtain It is present in the file system of server, but considers for system maintainability, it will not be by the text of third party's file and main frame Part coexists in same a catalogue, but on URL, they look like the method for coexisting and solving this problem on one system It is exactly that URL is rewritten.
Assuming that the third side plug of extension is configuration parameter, independent specified directory, such as/sf/www- are dropped it off Ext/ad, and the URL requested is /mod-ad/a.js, need to do is exactly that need are to be loaded originally URL:/mod-ad/a.js File path is adjusted to/sf/www-ext/ad/a.js by/sf/www/mod-ad/a.js, that is, realizes address information and net The association of network parameter configuration template.
When getting the corresponding virtual network parameter configuration template of selection instruction, the virtual net can be obtained by server The corresponding configuration parameter of network parameter configuration template, the configuration parameter may include the corresponding system parameter of each virtual machine, and each The quantity of a virtual machine and the configuration relation of virtual machine.
It in the present embodiment, include associated virtual machine in the corresponding configuration parameter of virtual network parameter configuration template Parameter produces corresponding virtual machine according to the configuration parameter, and configures to the virtual machine of generation.
It is understood that improve the flexibility of virtual machine configuration, scale and ground that can manually to each virtual machine The parameters such as location information are configured, i.e., include: referring to Fig. 2, step S30
Step S31 shows size values and address information input interface;
Step S32, according to the virtual network the corresponding configuration parameter of parameter configuration template and be based on input circle The scale parameter that face receives generates virtual machine;
Step S33 configures the virtual machine generated, and base according to the address information received based on the input interface It will be in the virtual machine of corresponding operating system migration to generation in the address information.
In the present embodiment, which is that can access the number of terminal, according to the accessible terminal of user's input Number configures the quantity of virtual machine, generally requires the quantity according to scale parameter configuration virtual server, in a Virtual Service When the capacity of device is inadequate, it can configure more virtual servers and be supported.Address information can be the address information of each server, In order to client terminal login, it is to be understood that address information can also be automatically generated in order to user's subsequent login, such as on Net application scenarios.
It is illustrated so that scene is issued in application as an example below, it is corresponding in the virtual network parameter configuration template that user chooses When application scenarios are application publication scene, size values and address information input interface can be shown, so that user's input can connect Enter the number of terminal and the IP address of application publisher server, the number of virtual server is determined according to the number of accessible terminal Amount, and done according to the corresponding configuration parameter of the virtual network parameter configuration template such as virtual machine parameter and based on http session number The preferential QOS strategy of dynamic load leveling, flow control policy, business, the configurations such as tree-shaped virtual network deployment of single layer then can root According to, and the IP address by applying publisher server, by P2V tool, by existing application publisher server system migration to void In virtual server in quasi-ization cluster, the configuration of virtual machine is realized.
It is understood that can also refer to the configuration that mode as shown in Figure 3 carries out virtual network parameter, machine user selection After virtual network parameter configuration template, parameter setting interface as shown in Figure 3 is shown, user can select setting address at the interface The parameters such as information.
It is to be appreciated that being pushed to all-in-one machine updated after server end updates virtual network parameter configuration template Virtual network parameter configuration template can also obtain updated virtual network parameter to server when all-in-one machine is switched on every time Configuration template sends to preset server that is, in the starting-up signal for receiving all-in-one machine and updates request (in update request Including version number);Server obtains the update request version number when receiving update request;In the version got Number with local terminal storage version number it is identical when, server can to all-in-one machine feed back be not required to upgrading information, in the version got When version number's difference number with local terminal storage, server is to the updated virtual network parameter configuration template of all-in-one machine;According to clothes The virtual network parameter configuration template of the virtual network parameter configuration template local terminal storage for device feedback of being engaged in.
The virtual network method for parameter configuration that the present embodiment proposes can when receiving the instruction of virtual network parameter configuration It shows virtual network parameter configuration template selection interface, and matches according to the virtual network parameter configuration template that user selects is corresponding It sets parameter and generates virtual machine, and configure the network parameter of the virtual machine, very fast;User does not need to understand each simultaneously The function of virtual machine, it is only necessary to according to the template that application scenarios select itself to need, improve virtual network parameter configuration Flexibility.
Virtual network method for parameter configuration second embodiment of the present invention is proposed based on first embodiment, in the present embodiment, After step S33, further includes:
When receiving virtual machine configuration parameter change instruction, display configuration parameter updates interface;
When receiving the size values change directive based on configuration parameter update interface triggering, according to current virtual The size values after network parameter configuration template and change configure virtual machine;
The virtual machine is configured according to the current address information, is based on the configured address information for corresponding behaviour Make system migration into the virtual machine.
In the present embodiment, user can modify to the parameter of configuration after carrying out virtual network parameter configuration, should Virtual machine configuration parameter change instruction can be triggered by the physical button on the virtual control or all-in-one machine of all-in-one machine display interface. After renewal scale information, more updated size values it can increase or reduce the quantity of virtual machine, and virtual updating It re-starts the migration of operating system after the quantity of machine and configures the relationship between each virtual machine.
It is understood that address information also may be updated in user, then receiving based on configuration parameter update interface When the address information change directive of triggering, the void is reconfigured according to the corresponding address information of the address information change directive Quasi- machine, based on by the corresponding operating system migration of the address information reconfigured into the virtual machine.
For example, after applying the address information of publisher server in updating application publication scene, it can be by the address information pair The operating system migration for the server answered is into virtual server, with the operating system before replacement.
The embodiment is by way of user's manual modification configuration parameter, so that the configuration of virtual network parameter is cleverer It is living.
The present invention further provides a kind of virtual network parameter configuration devices.
It is the functional block diagram of virtual network parameter configuration device first embodiment of the present invention referring to Fig. 4, Fig. 4.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 4 is only one preferably real The exemplary diagram of example is applied, those skilled in the art surrounds the functional module of virtual network parameter configuration device shown in Fig. 4, can be light Easily carry out the supplement of new functional module;The title of each functional module is self-defined title, is only used for auxiliary and understands virtual network Each program function block of parameter configuration device is not used in restriction technical solution of the present invention, the core of technical solution of the present invention It is the function to be reached of the functional module of each self-defined title.The virtual network parameter configuration device can run on embedded In mainboard.
The present embodiment proposes that a kind of virtual network parameter configuration device, the virtual network parameter configuration device include:
Display module 10, for showing virtual network parameter configuration mould when receiving the instruction of virtual network parameter configuration Plate selection interface;
In the present embodiment, virtual network parameter configuration instruction can be by the physical button on all-in-one machine, can also be by one Virtual control on machine or the controlling terminal being connect with virtual machine triggering;When receiving the instruction of virtual network parameter configuration, It can show the selection interface including each network parameter configuration template mark, each network parameter configuration template mark may include this Network parameter configuration template identifies corresponding application scenarios, further, to reduce the operation that user is manually entered, network ginseng Number configuration template mark may also comprise network parameter configuration template and identify the scale of corresponding application scenarios (as allowed access terminal Quantity), certainly, the scale of the application scenarios can also be manually entered by user.
Module 20 is obtained, for when receiving the selection instruction based on stencil-chosen interface triggering, described in acquisition The corresponding virtual network parameter configuration template of selection instruction;
When getting the corresponding virtual network parameter configuration template of selection instruction, the virtual net can be obtained by server The corresponding configuration parameter of network parameter configuration template, the virtual data may include the corresponding system parameter of each virtual machine, and each The quantity of a virtual machine and the configuration relation of virtual machine.
Configuration module 30 generates virtual machine for the corresponding configuration parameter of parameter configuration template according to the virtual network, And configure the network parameter of the virtual machine.
In the present embodiment, the configuration module 30 includes:
Acquiring unit, for being closed according to the association between the preset network parameter configuration template and address information System, obtains the associated address information of virtual network parameter configuration template, and parameter configuration mould according to the virtual network The associated address information of plate obtains the configuration parameter;
Generation unit, for generating the virtual machine using the configuration parameter got.
Generally in accession page, for example http://vmp.sangfor.com, the resource loaded (js, picture etc.) are right Some path of file system on server, such as/sf/www have been answered, as browse request http: // When vmp.sangfor.com/favicon.ico, corresponding web services then load/sf/www/favicon.ico file, are formed One-to-one resource impact relationship, if then the file of load is /home/a.js, the file being mapped in equipment is exactly/sf/ www/home/a.js.If operation expanding, the management for increasing third side plug on all-in-one machine is want, third side plug must obtain It is present in the file system of server, but considers for system maintainability, it will not be by the text of third party's file and main frame Part coexists in same a catalogue, but on URL, they look like the method for coexisting and solving this problem on one system It is exactly that URL is rewritten.
Assuming that the third side plug of extension is configuration parameter, independent specified directory, such as/sf/www- are dropped it off Ext/ad, and the URL requested is /mod-ad/a.js, need to do is exactly that need are to be loaded originally URL:/mod-ad/a.js File path is adjusted to/sf/www-ext/ad/a.js by/sf/www/mod-ad/a.js, that is, realizes address information and net The association of network parameter configuration template.
It in the present embodiment, include associated virtual machine in the corresponding configuration parameter of virtual network parameter configuration template Parameter produces corresponding virtual machine according to the configuration parameter, and configures to the virtual machine of generation.
It is understood that improve the flexibility of virtual machine configuration, scale and ground that can manually to each virtual machine The parameters such as location information are configured, i.e., referring to Fig. 5, the configuration module 30 includes:
Display unit 31, for showing size values and address information input interface;
Generation unit 32, for the corresponding configuration parameter of parameter configuration template according to the virtual network and based on described The scale parameter that input interface receives generates virtual machine;
Configuration unit 33, for according to the address information configuration generation received based on the input interface Virtual machine, and will be in the virtual machine of corresponding operating system migration to generation based on the address information.
In the present embodiment, which is that can access the number of terminal, according to the accessible terminal of user's input Number configures the quantity of virtual machine, generally requires the quantity according to scale parameter configuration virtual server, in a Virtual Service When the capacity of device is inadequate, it can configure more virtual servers and be supported.Address information can be the address information of each server, In order to client terminal login, it is to be understood that address information can also be automatically generated in order to user's subsequent login, such as on Net application scenarios.
It is illustrated so that scene is issued in application as an example below, it is corresponding in the virtual network parameter configuration template that user chooses When application scenarios are application publication scene, size values and address information input interface can be shown, so that user's input can connect Enter the number of terminal and the IP address of application publisher server, the number of virtual server is determined according to the number of accessible terminal Amount, and done according to the corresponding configuration parameter of the virtual network parameter configuration template such as virtual machine parameter and based on http session number The preferential QOS strategy of dynamic load leveling, flow control policy, business, the configurations such as tree-shaped virtual network deployment of single layer then can root According to, and the IP address by applying publisher server, by P2V tool, by existing application publisher server system migration to void In virtual server in quasi-ization cluster, the configuration of virtual machine is realized.
It is understood that can also refer to the configuration that mode as shown in Figure 3 carries out virtual network parameter, machine user selection After virtual network parameter configuration template, parameter setting interface as shown in Figure 3 is shown, user can select setting address at the interface The parameters such as information.
It is to be appreciated that being pushed to all-in-one machine updated after server end updates virtual network parameter configuration template Virtual network parameter configuration template can also obtain updated virtual network parameter to server when all-in-one machine is switched on every time Configuration template sends to preset server that is, in the starting-up signal for receiving all-in-one machine and updates request (in update request Including version number);Server obtains the update request version number when receiving update request;In the version got Number with local terminal storage version number it is identical when, server can to all-in-one machine feed back be not required to upgrading information, in the version got When version number's difference number with local terminal storage, server is to the updated virtual network parameter configuration template of all-in-one machine;According to clothes The virtual network parameter configuration template of the virtual network parameter configuration template local terminal storage for device feedback of being engaged in.
The virtual network parameter configuration device that the present embodiment proposes can when receiving the instruction of virtual network parameter configuration It shows virtual network parameter configuration template selection interface, and matches according to the virtual network parameter configuration template that user selects is corresponding It sets parameter and generates virtual machine, and configure the network parameter of the virtual machine, very fast;User does not need to understand each simultaneously The function of virtual machine, it is only necessary to according to the template that application scenarios select itself to need, improve virtual network parameter configuration Flexibility.
Virtual network parameter configuration device second embodiment of the present invention is proposed based on first embodiment, in the present embodiment, The display module 10 is also used to when receiving virtual machine configuration parameter change instruction, and display configuration parameter updates interface;Institute Configuration module 30 is stated, is also used to when receiving the size values change directive based on configuration parameter update interface triggering, Virtual machine is configured according to the size values after current virtual network parameter configuration template and change, and according to current The address information configures the virtual machine, is based on the configured address information for corresponding operating system migration to the void In quasi- machine.
In the present embodiment, user can modify to the parameter of configuration after carrying out virtual network parameter configuration, should Virtual machine configuration parameter change instruction can be triggered by the physical button on the virtual control or all-in-one machine of all-in-one machine display interface. After renewal scale information, more updated size values it can increase or reduce the quantity of virtual machine, and virtual updating It re-starts the migration of operating system after the quantity of machine and configures the relationship between each virtual machine.
It is understood that user also may be updated address information, then the configuration module 30 is also used to be based on receiving When the configuration parameter updates the address information change directive of interface triggering, correspondingly according to the address information change directive Location information reconfigures the virtual machine, based on by the corresponding operating system migration of the address information reconfigured to described virtual In machine.
For example, after applying the address information of publisher server in updating application publication scene, it can be by the address information pair The operating system migration for the server answered is into virtual server, with the operating system before replacement.
The embodiment is by way of user's manual modification configuration parameter, so that the configuration of virtual network parameter is cleverer It is living.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to contain the non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, cloud Hold server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of virtual network method for parameter configuration, which is characterized in that the virtual network method for parameter configuration includes following step It is rapid:
When receiving the instruction of virtual network parameter configuration, virtual network parameter configuration template selection interface is shown;
When receiving the selection instruction based on stencil-chosen interface triggering, the corresponding virtual net of the selection instruction is obtained Network parameter configuration template;
The corresponding configuration parameter of parameter configuration template generates virtual machine according to the virtual network, and joins according to the virtual network The corresponding address information of number configuration template configures the network parameter of the virtual machine, and will be corresponding based on the address information Operating system migration is into the virtual machine.
2. virtual network method for parameter configuration as described in claim 1, which is characterized in that described to join according to the virtual network The corresponding configuration parameter of number configuration template generates virtual machine, and the step of configuring the network parameter of the virtual machine includes:
Display scale parameter and address information input interface;
The rule for parameter configuration template corresponding configuration parameter according to the virtual network and being received based on the input interface Mould parameter generates virtual machine;
According to the virtual machine that the address information configuration received based on the address information input interface is generated, and it is based on institute Stating address information will be in the virtual machine of corresponding operating system migration to generation.
3. virtual network method for parameter configuration as claimed in claim 2, which is characterized in that described to be matched according to the address information The virtual machine of generation is set, and will be in the virtual machine of corresponding operating system migration to generation based on the address information The step of after, the virtual network method for parameter configuration further comprises the steps of:
When receiving virtual machine configuration parameter change instruction, display configuration parameter updates interface;
When receiving the size values change directive based on configuration parameter update interface triggering, according to current virtual network The size values after parameter configuration template and change configure virtual machine;
The virtual machine is configured according to the current address information, based on the configured address information by corresponding operation System migration is into the virtual machine.
4. virtual network method for parameter configuration as claimed in claim 3, which is characterized in that receiving virtual machine configuration parameter When change directive, after showing the step of configuration parameter updates interface, the virtual network method for parameter configuration is further comprised the steps of:
When receiving the address information change directive based on configuration parameter update interface triggering, according to the address information The corresponding address information of change directive reconfigures the virtual machine, and the corresponding operating system of the address information reconfigured is moved It moves in the virtual machine.
5. virtual network method for parameter configuration according to any one of claims 1-4, which is characterized in that according to the virtual net The corresponding configuration parameter of network parameter configuration template generates the step of virtual machine and includes:
According to the incidence relation between the preset network parameter configuration template and address information, the virtual network is obtained The associated address information of parameter configuration template;
According to the virtual network the associated address information of parameter configuration template obtains the configuration parameter, and using getting The configuration parameter generates the virtual machine.
6. a kind of virtual network parameter configuration device, which is characterized in that the virtual network parameter configuration device includes:
Display module, for when receiving the instruction of virtual network parameter configuration, display virtual network parameter configuration template to be selected Interface;
Module is obtained, for the selection being obtained and being referred to when receiving the selection instruction based on stencil-chosen interface triggering Enable corresponding virtual network parameter configuration template;
Configuration module, for the corresponding configuration parameter generation virtual machine of parameter configuration template according to the virtual network, and according to The corresponding address information of the virtual network parameter configuration template configures the network parameter of the virtual machine, and based on describedly Location information is by corresponding operating system migration into the virtual machine.
7. virtual network parameter configuration device as claimed in claim 6, which is characterized in that the configuration module includes:
Display unit, for showing size values and address information input interface;
Generation unit for the corresponding configuration parameter of parameter configuration template according to the virtual network and is based on input circle The scale parameter that face receives generates virtual machine;
Configuration unit, the void for being generated according to the address information configuration received based on the address information input interface Quasi- machine, and will be in the virtual machine of corresponding operating system migration to generation based on the address information.
8. virtual network parameter configuration device as claimed in claim 7, which is characterized in that the display module is also used to When receiving virtual machine configuration parameter change instruction, display configuration parameter updates interface;The configuration module is also used to receiving To when updating the size values change directive that interface is triggered based on the configuration parameter, mould is configured according to current virtual network parameter The size values after plate and change configure virtual machine, and described virtual according to current address information configuration Machine, based on the configured address information by corresponding operating system migration into the virtual machine.
9. virtual network parameter configuration device as claimed in claim 8, which is characterized in that the configuration module is also used to When receiving the address information change directive based on configuration parameter update interface triggering, referred to according to address information change Corresponding address information is enabled to reconfigure the virtual machine, based on by the corresponding operating system migration of the address information reconfigured To in the virtual machine.
10. virtual network parameter configuration device as claim in any one of claims 6-9, which is characterized in that the configuration module Include:
Acquiring unit, for obtaining according to the incidence relation between the preset network parameter configuration template and address information The associated address information of virtual network parameter configuration template is taken, and parameter configuration template is associated with according to the virtual network Address information obtain the configuration parameter;
Generation unit, for generating the virtual machine using the configuration parameter got.
CN201510867916.1A 2015-12-01 2015-12-01 Virtual network method for parameter configuration and device Active CN105450450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510867916.1A CN105450450B (en) 2015-12-01 2015-12-01 Virtual network method for parameter configuration and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510867916.1A CN105450450B (en) 2015-12-01 2015-12-01 Virtual network method for parameter configuration and device

Publications (2)

Publication Number Publication Date
CN105450450A CN105450450A (en) 2016-03-30
CN105450450B true CN105450450B (en) 2019-07-12

Family

ID=55560256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510867916.1A Active CN105450450B (en) 2015-12-01 2015-12-01 Virtual network method for parameter configuration and device

Country Status (1)

Country Link
CN (1) CN105450450B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273178B (en) * 2016-04-06 2021-07-27 阿里巴巴集团控股有限公司 Method and device for configuring virtualization system
CN106371891A (en) * 2016-08-30 2017-02-01 成都广达新网科技股份有限公司 Universal template configuration system and template configuration method thereof
KR20180076058A (en) 2016-12-27 2018-07-05 에이치피프린팅코리아 주식회사 Image forming apparatus and method for optimizing operating environment of virtual machine executed in image forming apparatus
CN107172228A (en) * 2017-06-09 2017-09-15 郑州云海信息技术有限公司 Change the method and apparatus and computer-readable recording medium of virtual machine IP address
CN109039697B (en) * 2018-06-19 2019-09-17 新华三云计算技术有限公司 Virtual machine network card configuration method and device
CN110908767B (en) * 2018-09-18 2024-07-05 亿阳信通股份有限公司 Automatic parameter deployment method and device
CN109391514B (en) * 2018-10-11 2022-08-09 深信服科技股份有限公司 High-availability-based equipment deployment method, server, storage medium and device
US11082496B1 (en) 2020-07-25 2021-08-03 International Business Machines Corporation Adaptive network provisioning
CN114070722B (en) * 2020-07-28 2024-08-20 阿里巴巴集团控股有限公司 Network configuration method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113574A (en) * 2013-04-19 2014-10-22 中国科学院计算技术研究所 Safe transfer method and system of wide area network trusted virtual machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8924524B2 (en) * 2009-07-27 2014-12-30 Vmware, Inc. Automated network configuration of virtual machines in a virtual lab data environment
CN103269282A (en) * 2013-04-25 2013-08-28 杭州华三通信技术有限公司 Method and device for automatically deploying network configuration

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104113574A (en) * 2013-04-19 2014-10-22 中国科学院计算技术研究所 Safe transfer method and system of wide area network trusted virtual machine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于IPv6的云计算平台虚拟机群环境自动配置;郭涛等;《中北大学学报(自然科学版)》;20120430;第33卷(第2期);第130-134页

Also Published As

Publication number Publication date
CN105450450A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105450450B (en) Virtual network method for parameter configuration and device
US11611487B2 (en) Model driven process for automated deployment of domain 2.0 virtualized services and applications on cloud infrastructure
EP3365780B1 (en) Multi-tenant multi-session catalogs with machine-level isolation
EP3552419B1 (en) System and method for programming and/or management of core network slices
JP6514241B2 (en) Service orchestration method and apparatus in software defined network, storage medium
EP3133794B1 (en) Network function virtualization network system
EP3053052B1 (en) Managing a number of secondary clouds by a master cloud service manager
CN106878334A (en) The automatically dispose system and method for cloud
CN106126273B (en) A kind of method of upgrading BIOS
CN109347663A (en) Resource visualizes method of combination in a kind of OpenStack cloud platform
CN108632068A (en) A kind of network slice template generation, network slice template application process and device
CN102752137A (en) Device and method for actively setting network parameters of virtual machine
US20140172954A1 (en) System and method for private cloud introduction and implementation
US20190377591A1 (en) Cloud agnostic blueprint
CN109522030B (en) Platform package outlet method for generating multiple game channel packages based on one key
CN111124617B (en) Method and device for creating block chain system, storage medium and electronic device
CN105577381A (en) License management method and device under virtualization
CN106230977B (en) A kind of client functionality loading method, system, client and server-side
Demchenko et al. Enabling automated network services provisioning for cloud based applications using zero touch provisioning
Freitas et al. Slicing and allocation of transformable resources for the deployment of multiple virtualized infrastructure managers (vims)
CN103401713A (en) System and method for software release
US11902103B2 (en) Method and apparatus for creating a custom service
CN102164179B (en) Method and system for arranging terminal application based on network
US20230276211A1 (en) 5g slice subnet templates for network slice provisioning
CN109525413B (en) CDN network function virtualization management method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518052 the first floor of A1 building, Nanshan Zhiyuan 1001, Nanshan District Xue Yuan Avenue, Shenzhen, Guangdong.

Applicant after: SANGFOR TECHNOLOGIES Inc.

Address before: 518052 the first floor of A1 building, Nanshan Zhiyuan 1001, Nanshan District Xue Yuan Avenue, Shenzhen, Guangdong.

Applicant before: Sangfor Technologies Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160330

Assignee: Shenzhen zhongyun Data Technology Co.,Ltd.

Assignor: SANGFOR TECHNOLOGIES Inc.

Contract record no.: X2020980004605

Denomination of invention: Virtual network parameter configuration method and device

Granted publication date: 20190712

License type: Common License

Record date: 20200731

EE01 Entry into force of recordation of patent licensing contract
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Virtual network parameter configuration method and device

Effective date of registration: 20231212

Granted publication date: 20190712

Pledgee: Shenzhen Branch of China Merchants Bank Co.,Ltd.

Pledgor: SANGFOR TECHNOLOGIES Inc.

Registration number: Y2023980070863

PE01 Entry into force of the registration of the contract for pledge of patent right