CN109495309A - The intelligent detecting method and device of cloud platform virtual network state - Google Patents
The intelligent detecting method and device of cloud platform virtual network state Download PDFInfo
- Publication number
- CN109495309A CN109495309A CN201811428028.XA CN201811428028A CN109495309A CN 109495309 A CN109495309 A CN 109495309A CN 201811428028 A CN201811428028 A CN 201811428028A CN 109495309 A CN109495309 A CN 109495309A
- Authority
- CN
- China
- Prior art keywords
- network
- cloud platform
- virtual network
- platform virtual
- network element
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/145—Network analysis or design involving simulating, designing, planning or modelling of a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
Abstract
The present invention relates to a kind of intelligent detecting method of cloud platform virtual network state and device, computer equipment, computer storage mediums.The intelligent detecting method of above-mentioned cloud platform virtual network state includes: the virtual network configuration information for reading cloud platform virtual network, reads the physical network configuration information of the associated physical network of cloud platform virtual network;Configuration information and the physical network configuration information construct network simulation model according to the virtual network;The state of the cloud platform virtual network is detected according to the network simulation model.The present invention can the state to cloud platform virtual network accurately detected, do not influence corresponding cloud platform virtual network work normally on the basis of, improve the detection efficiency of cloud platform virtual network state.
Description
Technical field
The present invention relates to network technique fields, more particularly to a kind of intelligent detecting method of cloud platform virtual network state
With device, computer equipment, computer storage medium.
Background technique
Cloud platform technology has typically stepped into stable operation stage, mesh by the IaaS of representative layer technology of OpenStack
Preceding more and more enterprises are starting deployment using cloud platform.Typical cloud platform is using network virtualization technology to physical network
Environment is controlled, for example uses OVS (Open VSwitch) technology etc..Its technical characterstic is realized by way of software
The function of physical switches achievees the purpose that software customizedization network.
Software defined network brings great convenience to the use of network, and user can be according to using the demand to network
Customized network topology structure, and relevant network strategy is configured, without complicated physical network implementation process.But due to
The virtual characteristics of cloud platform, so that managing and maintaining for virtualization network is more more flexible than physical switches.System manager is logical
It crosses traditional detection mode and carries out the detection of cloud platform virtual network there are low efficiency, and the problem of accuracy difference, it is difficult to ensure that
Continuing for corresponding network topology is correct and efficient.
Summary of the invention
Based on this, it is necessary to which carrying out the detection of cloud platform virtual network for traditional scheme, there are low efficiencys, and accuracy is poor
The technical issues of, the intelligent detecting method and device, computer equipment, computer of a kind of cloud platform virtual network state are provided
Storage medium.
A kind of intelligent detecting method of cloud platform virtual network state, comprising:
The virtual network configuration information for reading cloud platform virtual network, reads the associated entity of cloud platform virtual network
The physical network configuration information of network;
Configuration information and the physical network configuration information construct network simulation model according to the virtual network;
The state of the cloud platform virtual network is detected according to the network simulation model.
In one embodiment, the configuration information according to the virtual network and physical network configuration information building
The process of network simulation model includes:
Network simulation mould is constructed according to the configuration information according to the virtual network and the physical network configuration information
Type determines each network element of the cloud platform virtual network and the rule description information of the network element;Wherein the rule is retouched
State the information that information is description network element the connection feature and network element configuration feature;
Network simulation model is constructed according to the rule description information of the network element and the network element.
It is described that network simulation is constructed according to the rule description information of the network element and the network element as one embodiment
The process of model includes:
It is JSON object by the network element configuration Feature Conversion, feature is connected to according to the network element and establishes the JSON object
Between incidence relation;
The pairing relationship between the network element and the Topology connection between the network element are constructed according to the incidence relation
Relationship;
Network simulation model is constructed according to the pairing relationship and topological connection relation.
As one embodiment, the rule description information includes firewall rule information, information of address conversion and access
Control authority information.
In one embodiment, the state that the cloud platform virtual network is detected according to the network simulation model
Process includes:
The purpose network element in detection instruction is read, obtains in the network simulation mould from origin network element and passes through the purpose
The data packet migration feature of network element incoming terminal network element;
The connectivity of the cloud platform virtual network is detected according to the data packet migration feature, and identifies the cloud platform
Virtual network whether there is loop.
As one embodiment, the connection that the cloud platform virtual network is detected according to the data packet migration feature
Property, and identify the cloud platform virtual network with the presence or absence of loop process after, further includes:
Two layers and three layers are identified in the network simulation model, are detected described two layers respectively and are connected to three layers
Property.
In one embodiment, the state that the cloud platform virtual network is detected according to the network simulation model
After process, further includes:
Generate and show the examining report of the cloud platform virtual network.
A kind of intelligent detection device of cloud platform virtual network state, comprising:
It is virtual to read the cloud platform for reading the virtual network configuration information of cloud platform virtual network for reading unit
The physical network configuration information of the physical network of network associate;
Construction unit, it is imitative for configuration information according to the virtual network and physical network configuration information building network
True mode;
Detection unit, for detecting the state of the cloud platform virtual network according to the network simulation model.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processing
The computer program run on device, the processor realize the cloud that any of the above-described embodiment provides when executing the computer program
The intelligent detecting method of platform virtual network state.
A kind of computer storage medium, is stored thereon with computer program, which realizes above-mentioned when being executed by processor
The intelligent detecting method for the cloud platform virtual network state that any embodiment provides.
Intelligent detecting method, device, computer equipment and the computer storage medium of above-mentioned cloud platform virtual network state,
Virtual network part and all network elements in associated physical network part in characterization cloud platform virtual network, each can be constructed
The network simulation model of the corresponding data forwarding rule of relationship and each network element between a network element, passes through above-mentioned network
Simulation model detects the state of the cloud platform virtual network, can the state to cloud platform virtual network accurately detected,
On the basis of not influencing corresponding cloud platform virtual network normal work, the detection effect of cloud platform virtual network state is improved
Rate.
Detailed description of the invention
Fig. 1 is the intelligent detecting method flow chart of the cloud platform virtual network state of one embodiment;
Fig. 2 is the UML structural schematic diagram of the network simulation model of one embodiment;
Fig. 3 is the corresponding migration algorithm schematic diagram of network simulation model of one embodiment;
Fig. 4 is the intelligent detection device structural schematic diagram of the cloud platform virtual network state of one embodiment;
Fig. 5 is the computer equipment schematic diagram of internal structure of one embodiment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this
Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention,
And the scope of protection of the present invention is not limited.
It should be noted that term involved in the embodiment of the present invention " first second third " be only distinguish it is similar
Object does not represent the particular sorted for object, it is possible to understand that ground, " first second third " can be mutual in the case where permission
Change specific sequence or precedence.It should be understood that the object that " first second third " is distinguished in the appropriate case can be mutual
It changes, so that the embodiment of the present invention described herein can be real with the sequence other than those of illustrating or describing herein
It applies.
The term " includes " of the embodiment of the present invention and " having " and their any deformations, it is intended that cover non-exclusive
Include.Such as contain a series of steps or units process, method, device, product or equipment be not limited to it is listed
Step or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these processes, side
The intrinsic other step or units of method, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referenced herein " multiple " refer to two or more."and/or", the association for describing affiliated partner are closed
System indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism
These three situations of B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Refering to what is shown in Fig. 1, Fig. 1 is the intelligent detecting method flow chart of the cloud platform virtual network state of one embodiment,
Include:
S10 reads the virtual network configuration information of cloud platform virtual network, it is associated to read the cloud platform virtual network
The physical network configuration information of physical network;
Above-mentioned cloud platform virtual network may include virtual network part and associated physical network part, above-mentioned void
Quasi- network portion and associated physical network part combine to form cloud platform virtual network, with less hardware device,
Network service is provided for relative users.Above-mentioned virtual network configuration information is the configuration information of virtual network part, including virtual
The information such as the data forwarding rule of relationship and network element between the network element of network portion, network element;Above-mentioned physical network configuration information
For the configuration information of physical network part, the data of relationship and network element between network element, network element including physical network part turn
Send out the information such as rule.
In one embodiment, it can be designed using expansible mode, the interchanger of cloud platform virtual network is configured and is read
It takes part to design by the way of driving, adapter is read by interchanger and interchanger driving layer forms.Due to different interchangers
Configuration there are different, driving that can be different for different switch designs by way of driving.Cloud platform is empty
Quasi- network may include a plurality of types of network elements, such as the types such as tap, bridge (bridge) and tun.
S20, configuration information and the physical network configuration information construct network simulation model according to the virtual network;
Above-mentioned network simulation model can characterize virtual network part and associated entity net in cloud platform virtual network
The clouds such as relationship between all network elements, each network element and the corresponding data forwarding rule of each network element in network part are flat
The characteristic information of platform virtual network.
Optionally, during constructing network simulation model, user can also be read for above-mentioned cloud platform virtual net
The configuration information of network input, in order to which cloud platform designer checks in advance and optimize network configuration.S30, according to the network
Simulation model detects the state of the cloud platform virtual network.
The state of above-mentioned cloud platform virtual network may include the connectivity of cloud platform virtual network, and related initial NE is extremely
Linkage length between purpose network element, with the presence or absence of shapes such as loop, two layers of connection situation, and/or three layers of connection situations in network
State.Above-mentioned network simulation model can be detected using the methods of migration algorithm, to obtain above-mentioned network simulation model institute
The state of the cloud platform virtual network of characterization.
The intelligent detecting method of cloud platform virtual network state provided by the invention can construct characterization cloud platform virtual net
Virtual network part and all network elements in associated physical network part in network, the relationship between each network element and each
It is empty to detect the cloud platform by above-mentioned network simulation model for the network simulation model of the corresponding data forwarding rule of network element
The state of quasi- network, can the state to cloud platform virtual network accurately detected, do not influencing corresponding cloud platform virtual net
On the basis of network works normally, the detection efficiency of cloud platform virtual network state is improved.
In one embodiment, the configuration information according to the virtual network and physical network configuration information building
The process of network simulation model includes:
Network simulation mould is constructed according to the configuration information according to the virtual network and the physical network configuration information
Type determines each network element of the cloud platform virtual network and the rule description information of the network element;Wherein the rule is retouched
State the information that information is description network element the connection feature and network element configuration feature;
Network simulation model is constructed according to the rule description information of the network element and the network element.
The kernel object of above-mentioned network simulation model is network element (network unit), network element can be generalized for tap,
The network element of bridge and tun three types.Each network element all has corresponding rule description information, to describe the net of respective network elements
The member connection information such as feature and network element configuration feature.
It is described that network simulation is constructed according to the rule description information of the network element and the network element as one embodiment
The process of model includes:
It is that JSON (JavaScript Object Notation, JS object numbered musical notation) is right by the network element configuration Feature Conversion
As being connected to feature according to the network element and establishing the incidence relation between the JSON object;
The pairing relationship between the network element and the Topology connection between the network element are constructed according to the incidence relation
Relationship;
Network simulation model is constructed according to the pairing relationship and topological connection relation.
Network element configuration Feature Conversion is by the language that the present embodiment can be described as network simulation model using JSON
JSON object, is consistent semanteme, establishes the association between JSON object.Above-mentioned incidence relation can be constructed by related network elements
Device constructs the corresponding object of network unit (data packet), then passes through topological structure device construction veth pair (pairing relationship)
Object, and the topological connection relation between network element is established, and stamp the tag (mark of the configuration relation of VLAN (virtual LAN)
Label).
As one embodiment, pairing relationship between the network element and described is being constructed according to the incidence relation
After topological connection relation between network element, the rules such as interchanger, routing, firewall and ACL can also be converted to ruller
Model, and ruller model is attached on corresponding network unit, the circulation of data is controlled, above-mentioned network is arranged
The stream compression feature of simulation model.
Optionally, in network simulation model each network element MAC Address (lan address) and IP address (Internet protocol
Address) etc. address informations can also again associated user it is specified, or by the automatic polishing of related system, for example detecting three layers of (net
Network layers) connectivity when, can read virtual network configuration information and when physical network configuration information be read out or by with
Family is specified, can be by the automatic polishing of related system, to guarantee structure when detecting two layers (data link layer) connections or loop
The flexibility of establishing network simulation model.
The network simulation model of the present embodiment building can with each network element of the corresponding cloud platform virtual network of accurate characterization, with
And the rule description information between each network element, accuracy with higher.
As one embodiment, the rule description information includes firewall rule information, information of address conversion and access
Control authority information.
Above-mentioned rule description information is referred to as ruller (rule) object, can be to iptables and interchanger
Acl feature (access control right) carries out abstract emulation, realizes control data forwarding and abandons rule;Ruller object can wrap
Include tri- objects of filter, nat and ACL.Object filter can characterize firewall rule information, to source port and destination port
Judged, being let pass or being blocked according to rule connects;Nat can characterize information of address conversion;ACL can characterize the visit of network
Control authority information is asked, for limiting the data of specific port or link.
Rule description information provided in this embodiment feature can be connected to the network element of network element and network element configuration feature carries out
Accurate description.
As one embodiment, the UML structure of above-mentioned network simulation model can be refering to what is shown in Fig. 2, network simulation model
Map relationship can be established by the port (port) and link (connection) of veth pair (pairing relationship).Port and Network element object
Corresponding, each port belongs to a network element, but a network element can have multiple port.Link is then the link between port, is used
Data exchange can be carried out between two port in indicating.
In one embodiment, the state that the cloud platform virtual network is detected according to the network simulation model
Process includes:
The purpose network element in detection instruction is read, obtains in the network simulation mould from origin network element and passes through the purpose
The data packet migration feature of network element incoming terminal network element;
The connectivity of the cloud platform virtual network is detected according to the data packet migration feature, and identifies the cloud platform
Virtual network whether there is loop.
Above-mentioned origin network element and Terminal NE can be preset, and a network simulation model can be respectively set one and rise
Beginning network element and a Terminal NE.Above-mentioned detection instruction may include several purpose network elements, if detection instruction includes multiple mesh
Network element, then need to obtain origin network element in the network simulation mould and pass through the number of each purpose network element to Terminal NE respectively
According to packet migration feature.The present embodiment can send the corresponding data packet of each purpose network element respectively from above-mentioned origin network element, so as to
Each purpose network element may exist corresponding data packet respectively to be passed through, to obtain the corresponding data of each purpose network element
Packet migration feature.
As one embodiment, during carrying out cloud platform virtual network state-detection, data packet can be in network
Emulate continuous migration in mould, according to rule description information from a network unit (network element), be transmitted to subsequent one or
Multiple network unit.Above-mentioned data packet migration feature may include data migration path, above-mentioned data migration path packet
Include the path experienced Data unit.After Data unit reaches purpose network element, it can recorde down the path being currently found, obtain
To above-mentioned data migration road, at this time if purpose network element is not terminal node (Terminal NE), the biography of the Data Unit is not terminated
It broadcasts, continues to forward above-mentioned Data Unit according to corresponding rule description information, Data Unit is made to continue migration.
It can identify origin network element respectively to each according to the corresponding data packet migration feature of above-mentioned each purpose network element
Linkage length between a purpose network element, the company in the cloud platform virtual network that above-mentioned network simulation model is characterized between network element
The general character and above-mentioned network simulation model are with the presence or absence of features such as loops.Specifically, if each purpose network element can smoothly connect
The data packet that origin network element is sent is received, indicates that between the network element of cloud platform virtual network be connection, if each data packet migration
Each data packet that origin network element issues in feature can achieve Terminal NE, and no longer pass after reaching above-mentioned Terminal NE
It broadcasts, shows that there is no loops in above-mentioned cloud platform virtual network.
As one embodiment, the connection that the cloud platform virtual network is detected according to the data packet migration feature
Property, and identify the cloud platform virtual network with the presence or absence of loop process after, further includes:
Two layers and three layers are identified in the network simulation model, are detected described two layers respectively and are connected to three layers
Property.
The present embodiment can be detected with two layers in network simulation model and three layers of connectivity, i.e. detection cloud platform is virtual
Two layers and three layers of connectivity in network has carried out the detection function of above-mentioned cloud platform virtual network state effective perfect.
As one embodiment, the corresponding migration algorithm schematic diagram of above-mentioned network simulation model can with refering to what is shown in Fig. 3,
Data unit is propagated in simulation model, will receive the control of ruller (rule description information) in each network unit,
Decide whether to forward, and the destination network element of forwarding;What the topological relation in forwarding can be established by veth pair opens up
Flutter relationship decision.
In one embodiment, the state that the cloud platform virtual network is detected according to the network simulation model
After process, further includes:
Generate and show the examining report of the cloud platform virtual network.
The examining report of cloud platform virtual network can be generated in the present embodiment, to above-mentioned examining report carry out textual presentation or
Person visualizes, and can also carry out corresponding interaction analysis according to above-mentioned examining report, to guarantee that associated user is convenient and complete
Site preparation obtains the testing result of above-mentioned cloud platform virtual network state.
As one embodiment, the examining report of cloud platform virtual network can be exported by way of log, it can be with
By the state-detections such as connectivity and loop analysis result result by visual mode, network topology (network simulation is utilized
The structure of model) result shows user.User can understand each network unit information, and thereon by clicking
Ruller information and veth pair information, to realize interactive analysis to testing result.
The intelligent detecting method of cloud platform virtual network state provided in this embodiment is not necessarily to actual network environment, can
Can flexibly define network connectivty check item by the preparatory awareness network situation of software analog simulation, later period debugging is reduced
Workload;Configuration can also be adjusted flexibly, find optimal method.
The intelligent detection device structural representation of the cloud platform virtual network state of one embodiment is shown with reference to Fig. 4, Fig. 4
Figure, comprising:
It is empty to read the cloud platform for reading the virtual network configuration information of cloud platform virtual network for reading unit 10
The physical network configuration information of the physical network of quasi- network associate;
Construction unit 20 constructs network for configuration information according to the virtual network and the physical network configuration information
Simulation model;
Detection unit 30, for detecting the state of the cloud platform virtual network according to the network simulation model.
In one embodiment, the construction unit is further used for:
Network simulation mould is constructed according to the configuration information according to the virtual network and the physical network configuration information
Type determines each network element of the cloud platform virtual network and the rule description information of the network element;Wherein the rule is retouched
State the information that information is description network element the connection feature and network element configuration feature;
Network simulation model is constructed according to the rule description information of the network element and the network element.
As one embodiment, the construction unit is further used for:
It is JSON object by the network element configuration Feature Conversion, feature is connected to according to the network element and establishes the JSON object
Between incidence relation;
The pairing relationship between the network element and the Topology connection between the network element are constructed according to the incidence relation
Relationship;
Network simulation model is constructed according to the pairing relationship and topological connection relation.
As one embodiment, the rule description information includes firewall rule information, information of address conversion and access
Control authority information.
In one embodiment, the detection unit is further used for:
The purpose network element in detection instruction is read, obtains in the network simulation mould from origin network element and passes through the purpose
The data packet migration feature of network element incoming terminal network element;
The connectivity of the cloud platform virtual network is detected according to the data packet migration feature, and identifies the cloud platform
Virtual network whether there is loop.
As one embodiment, the detection unit is further used for:
Two layers and three layers are identified in the network simulation model, are detected described two layers respectively and are connected to three layers
Property.
In one embodiment, the intelligent detection device of the cloud platform virtual network state, further includes:
Generation module, for generating and showing the examining report of the cloud platform virtual network.
The specific restriction of intelligent detection device about cloud platform virtual network state may refer to flat above for cloud
The restriction of the intelligent detecting method of platform virtual network state, details are not described herein.The intelligence of above-mentioned cloud platform virtual network state
Each unit in detection device can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each unit can be hard
Part form is embedded in or independently of in the processor in computer equipment, can also be stored in computer equipment in a software form
Memory in, execute the corresponding operation of above each unit in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure
Figure can be as shown in Figure 5.The computer equipment includes processor, the memory, network interface, display connected by system bus
Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited
Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey
Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with
Realize a kind of intelligent detecting method of cloud platform virtual network state.The display screen of the computer equipment can be liquid crystal display
Or electric ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to
Key, trace ball or the Trackpad being arranged on computer equipment shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
Based on example as described above, a kind of computer equipment is also provided in one embodiment, the computer equipment packet
The computer program that includes memory, processor and storage on a memory and can run on a processor, wherein processor executes
The intelligent detecting method such as any one cloud platform virtual network state in the various embodiments described above is realized when described program.
Above-mentioned computer equipment realizes cloud platform virtual network by the computer program run on the processor
The promotion of state-detection accuracy and detection efficiency.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, it is non-volatile computer-readable that the program can be stored in one
It takes in storage medium, in the embodiment of the present invention, which be can be stored in the storage medium of computer system, and by the calculating
At least one processor in machine system executes, and includes the intelligent detecting method such as above-mentioned cloud platform virtual network state with realization
Embodiment process.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-Only
Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Accordingly, a kind of computer storage medium is also provided in one embodiment, is stored thereon with computer program,
In, the intelligence such as any one cloud platform virtual network state in the various embodiments described above is realized when which is executed by processor
Detection method.
Above-mentioned computer storage medium can be to the state of cloud platform virtual network by the computer program that it is stored
It is accurately detected, on the basis of not influencing corresponding cloud platform virtual network normal work, improves cloud platform virtual network
The detection efficiency of state.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of intelligent detecting method of cloud platform virtual network state, which comprises the steps of:
The virtual network configuration information for reading cloud platform virtual network, reads the associated physical network of cloud platform virtual network
Physical network configuration information;
Configuration information and the physical network configuration information construct network simulation model according to the virtual network;
The state of the cloud platform virtual network is detected according to the network simulation model.
2. the intelligent detecting method of cloud platform virtual network state according to claim 1, which is characterized in that the basis
The virtual network configuration information and the process of physical network configuration information building network simulation model include:
It is true according to the configuration information according to the virtual network and physical network configuration information building network simulation model
Each network element of the fixed cloud platform virtual network and the rule description information of the network element;The wherein rule description letter
Breath is connected to the information of feature and network element configuration feature for the description network element;
Network simulation model is constructed according to the rule description information of the network element and the network element.
3. the intelligent detecting method of cloud platform virtual network state according to claim 2, which is characterized in that the basis
The rule description information of the network element and the network element building network simulation model process include:
It is JSON object by the network element configuration Feature Conversion, feature is connected to according to the network element and is established between the JSON object
Incidence relation;
The pairing relationship between the network element is constructed according to the incidence relation and the Topology connection between the network element closes
System;
Network simulation model is constructed according to the pairing relationship and topological connection relation.
4. the intelligent detecting method of cloud platform virtual network state according to claim 2, which is characterized in that the rule
Description information includes firewall rule information, information of address conversion and access control right information.
5. the intelligent detecting method of cloud platform virtual network state according to any one of claims 1 to 4, feature exist
In the process of the state for detecting the cloud platform virtual network according to the network simulation model includes:
The purpose network element in detection instruction is read, obtains in the network simulation mould from origin network element and passes through the purpose network element
The data packet migration feature of incoming terminal network element;
The connectivity of the cloud platform virtual network is detected according to the data packet migration feature, and identifies that the cloud platform is virtual
Network whether there is loop.
6. the intelligent detecting method of cloud platform virtual network state according to claim 5, which is characterized in that the basis
The data packet migration feature detects the connectivity of the cloud platform virtual network, and whether identifies the cloud platform virtual network
There are after the process of loop, further includes:
Two layers and three layers are identified in the network simulation model, detect the connectivity of described two layers and three layers respectively.
7. the intelligent detecting method of cloud platform virtual network state according to any one of claims 1 to 4, feature exist
In after the process of the state for detecting the cloud platform virtual network according to the network simulation model, further includes:
Generate and show the examining report of the cloud platform virtual network.
8. a kind of intelligent detection device of cloud platform virtual network state characterized by comprising
Reading unit reads the cloud platform virtual network for reading the virtual network configuration information of cloud platform virtual network
The physical network configuration information of associated physical network;
Construction unit constructs network simulation mould for configuration information according to the virtual network and the physical network configuration information
Type;
Detection unit, for detecting the state of the cloud platform virtual network according to the network simulation model.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The intelligent detecting method of cloud platform virtual network state described in 7 any one.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor
The intelligent detecting method of Shi Shixian cloud platform virtual network state as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811428028.XA CN109495309A (en) | 2018-11-27 | 2018-11-27 | The intelligent detecting method and device of cloud platform virtual network state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811428028.XA CN109495309A (en) | 2018-11-27 | 2018-11-27 | The intelligent detecting method and device of cloud platform virtual network state |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109495309A true CN109495309A (en) | 2019-03-19 |
Family
ID=65697960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811428028.XA Pending CN109495309A (en) | 2018-11-27 | 2018-11-27 | The intelligent detecting method and device of cloud platform virtual network state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495309A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111327504A (en) * | 2020-02-26 | 2020-06-23 | 深信服科技股份有限公司 | Virtual local area network loop detection method, device, equipment and readable storage medium |
CN112165432A (en) * | 2020-09-07 | 2021-01-01 | 广州锦行网络科技有限公司 | Method for realizing communication between OpenStack virtual machine and outside |
CN113708978A (en) * | 2021-09-28 | 2021-11-26 | 中国工商银行股份有限公司 | Network availability test method and device, computer equipment and storage medium |
CN115208749A (en) * | 2022-06-21 | 2022-10-18 | 通号城市轨道交通技术有限公司 | Network configuration method and device for urban rail sharing test platform |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100054234A1 (en) * | 2008-08-27 | 2010-03-04 | Electronics And Telecommunications Research Institute | Simulation apparatus and method used for sensor network |
CN102577271A (en) * | 2009-10-07 | 2012-07-11 | 日本电气株式会社 | Information system, control server, virtual network management method, and program |
US20130297769A1 (en) * | 2012-05-02 | 2013-11-07 | Cisco Technology, Inc. | System and method for simulating virtual machine migration in a network environment |
CN104333486A (en) * | 2014-10-31 | 2015-02-04 | 大唐移动通信设备有限公司 | Testing system and method of network cell device |
CN104735414A (en) * | 2015-03-25 | 2015-06-24 | 江苏物联网研究发展中心 | Semi-physical simulation method for video monitoring system |
US9183121B2 (en) * | 2013-07-19 | 2015-11-10 | Cisco Technology, Inc. | Network development and testing as a cloud service |
CN106301911A (en) * | 2016-08-12 | 2017-01-04 | 南京大学 | Information Network based on SDN half centralized simulation platform in kind and its implementation |
CN108768685A (en) * | 2018-03-29 | 2018-11-06 | 中国电力科学研究院有限公司 | Extensive communication network real-time analog simulation system |
-
2018
- 2018-11-27 CN CN201811428028.XA patent/CN109495309A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100054234A1 (en) * | 2008-08-27 | 2010-03-04 | Electronics And Telecommunications Research Institute | Simulation apparatus and method used for sensor network |
CN102577271A (en) * | 2009-10-07 | 2012-07-11 | 日本电气株式会社 | Information system, control server, virtual network management method, and program |
US20130297769A1 (en) * | 2012-05-02 | 2013-11-07 | Cisco Technology, Inc. | System and method for simulating virtual machine migration in a network environment |
US9183121B2 (en) * | 2013-07-19 | 2015-11-10 | Cisco Technology, Inc. | Network development and testing as a cloud service |
CN104333486A (en) * | 2014-10-31 | 2015-02-04 | 大唐移动通信设备有限公司 | Testing system and method of network cell device |
CN104735414A (en) * | 2015-03-25 | 2015-06-24 | 江苏物联网研究发展中心 | Semi-physical simulation method for video monitoring system |
CN106301911A (en) * | 2016-08-12 | 2017-01-04 | 南京大学 | Information Network based on SDN half centralized simulation platform in kind and its implementation |
CN108768685A (en) * | 2018-03-29 | 2018-11-06 | 中国电力科学研究院有限公司 | Extensive communication network real-time analog simulation system |
Non-Patent Citations (1)
Title |
---|
章睿: ""通用通信设备模拟平台架构设计与关键技术实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111327504A (en) * | 2020-02-26 | 2020-06-23 | 深信服科技股份有限公司 | Virtual local area network loop detection method, device, equipment and readable storage medium |
CN112165432A (en) * | 2020-09-07 | 2021-01-01 | 广州锦行网络科技有限公司 | Method for realizing communication between OpenStack virtual machine and outside |
CN112165432B (en) * | 2020-09-07 | 2021-06-04 | 广州锦行网络科技有限公司 | Method for realizing communication between OpenStack virtual machine and outside |
CN113708978A (en) * | 2021-09-28 | 2021-11-26 | 中国工商银行股份有限公司 | Network availability test method and device, computer equipment and storage medium |
CN113708978B (en) * | 2021-09-28 | 2023-04-07 | 中国工商银行股份有限公司 | Network availability test method and device, computer equipment and storage medium |
CN115208749A (en) * | 2022-06-21 | 2022-10-18 | 通号城市轨道交通技术有限公司 | Network configuration method and device for urban rail sharing test platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109495309A (en) | The intelligent detecting method and device of cloud platform virtual network state | |
CN113890826B (en) | Method for computer network, network device and storage medium | |
US9450823B2 (en) | Hybrid network management | |
CN106301829B (en) | A kind of method and apparatus of network service dilatation | |
US20180373961A1 (en) | System and method for deploying graphical diagram topologies | |
CN110785965B (en) | System and method for performing network assurance checks on correct deployment of configurations in a fabric | |
CN109076028A (en) | Heterogeneous software defines the differential section in network environment | |
CN110521169A (en) | Strategy for service chaining guarantees | |
CN110785964B (en) | Authentication of layer 3 bridged domain subnets in a network | |
US20130108259A1 (en) | Affinity modeling in a data center network | |
CN106489251A (en) | The methods, devices and systems that applied topology relation finds | |
US11909653B2 (en) | Self-learning packet flow monitoring in software-defined networking environments | |
WO2020248805A1 (en) | Service chain orchestration method and apparatus, storage medium and electronic apparatus | |
CN110754065B (en) | Network authentication between a logic level and a hardware level of a network | |
CN111034123B (en) | System, method, and computer readable medium for performing network assurance checks | |
CN107624230A (en) | The method and entity of service availability management | |
Rojas et al. | Are we ready to drive software-defined networks? A comprehensive survey on management tools and techniques | |
US20120096142A1 (en) | System and method for identification of business process application service groups | |
US20220150154A1 (en) | Automatically managing a mesh network based on dynamically self-configuring node devices | |
EP2774048A1 (en) | Affinity modeling in a data center network | |
CN109802855B (en) | Fault positioning method and device | |
CN109525515A (en) | The management method and device of network interface card in a kind of cloud platform | |
CN114584354A (en) | Construction method and system of network security practical training platform | |
US20140074443A1 (en) | Generating and evaluating expert networks | |
JP2017069895A (en) | Fault separation method and administrative server for performing fault separation |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190319 |