CN113507521A - Method and system for realizing rapid online of service based on renting scene of SDN (software defined network) rack - Google Patents
Method and system for realizing rapid online of service based on renting scene of SDN (software defined network) rack Download PDFInfo
- Publication number
- CN113507521A CN113507521A CN202110773409.7A CN202110773409A CN113507521A CN 113507521 A CN113507521 A CN 113507521A CN 202110773409 A CN202110773409 A CN 202110773409A CN 113507521 A CN113507521 A CN 113507521A
- Authority
- CN
- China
- Prior art keywords
- online
- sdn
- corresponding relation
- information
- switch
- 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
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000008859 change Effects 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- 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
- 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/0893—Assignment of logical groups to network elements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a method and a system for realizing rapid service online based on a renting scene of an SDN (software defined network) rack, wherein the system comprises the steps of firstly acquiring a corresponding relation between a server and a switch port through an LLDP (link layer discovery protocol) function, generating a corresponding relation table and inputting the corresponding relation table into a preset database platform; then, receiving online information submitted by a business online party; the online information corresponds to the corresponding relation table to generate network configuration information; and finally, issuing the network configuration information to a switch through a preset SDN controller. Therefore, the corresponding relation between the server and the port of the switch can be accurately obtained through LLDP, and the system is recorded without manual maintenance; meanwhile, automatic issuing is realized by calling a controller interface, manual maintenance is not needed, automation is realized, working efficiency is improved, data error rate is reduced, and quick online of services is realized when a rack is rented.
Description
Technical Field
The application relates to the technical field of internet, in particular to a method and a system for realizing quick online of service based on a renting scene of an SDN (software defined network) rack.
Background
When a rack is rented, under an SDN network architecture, when a machine (service) is on-line, the network needs to perform tedious service configuration deployment, namely when the data center network adopts the SDN architecture, an SDN controller belongs to an independent network service deployment system, and at the moment, the network configuration deployment needs related workers to manually import required configuration information into the controller.
In the prior art, the configuration information is imported, first, related staff is required to check the port corresponding relation between each server and the switch by implementing in a machine room, to generate a table of the corresponding relation, and then, the configuration information is manually input according to the table information. The table has many contents and complex information, relates to thousands of corresponding relations between servers and ports, has large workload and low efficiency, and has high error rate in the process of preparing and importing information.
。
Disclosure of Invention
Aiming at the problems that in the prior art, in the machine room renting process and the configuration information generation process, data is huge, manual operation is completely depended on, the manual workload is large, the efficiency is low and the error rate is high, the method and the system for realizing the quick online of the service based on the SDN frame renting scene are provided, and the technical problem is solved to a certain extent
The above object of the present application is achieved by the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for implementing a quick online service based on a rental scene of an SDN rack, including:
acquiring a corresponding relation between a server and a switch port through an LLDP function, generating a corresponding relation table, and inputting the corresponding relation table into a preset database platform;
receiving online information submitted by a business online party;
the online information corresponds to the corresponding relation table to generate network configuration information;
and issuing the network configuration information to a switch through a preset SDN controller.
Optionally, the online information includes: host name, environment classification information and service network segment information.
Optionally, the issuing the network configuration to the switch by using the preset SDN controller includes:
calling an SDN API interface;
and issuing the network configuration to the switch machine through the SDN API.
Optionally, the preset database platform includes a CMDB platform.
Optionally, the service network segment information includes virtual machine change information.
In a second aspect, an embodiment of the present application provides a system for implementing quick online of a service based on a rental scenario of an SDN chassis, including:
the acquisition module is used for acquiring the corresponding relation between the server and the port of the switch and acquiring the online information submitted by the service online party;
the generating module is used for generating network configuration information based on the correspondence between the online information and the corresponding relation table;
and the issuing module is used for issuing the network configuration information to the switch.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the technical scheme provided by the embodiment of the application, firstly, the corresponding relation between a server and a switch port is obtained through an LLDP function, a corresponding relation table is generated, and the corresponding relation table is input into a preset database platform; then, receiving online information submitted by a business online party; the online information corresponds to the corresponding relation table to generate network configuration information; and finally, issuing the network configuration information to a switch through a preset SDN controller. Therefore, by the method for realizing the rapid online of the service based on the renting scene of the SDN rack, which is provided by the embodiment of the application, the corresponding relation between the server and the port of the switch can be accurately obtained through LLDP, and the system is entered without manual maintenance; meanwhile, automatic issuing is realized by calling the API interface of the controller, manual maintenance is not needed, automation is realized, working efficiency is improved, the data error rate is reduced, and when the machine room is rented, the service is quickly on-line.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart illustrating a method for implementing quick online of a service based on an SDN rack rental scenario according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a method for implementing quick service online based on an SDN rack rental scenario according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a system for implementing quick online of a service based on an SDN rack rental scenario according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Fig. 1 is a schematic flowchart of a method for implementing a fast service online based on an SDN rack rental scene in an embodiment of the present application, and as shown in fig. 1, the method for implementing a fast service online based on an SDN rack rental scene in an embodiment of the present application includes:
s101, acquiring a corresponding relation between a server and a switch port through an LLDP function, generating a corresponding relation table, and inputting the corresponding relation table into a preset database platform;
specifically, the server switch is completely opened with an LLDP function, the corresponding relationship between the server and the switch port can be accurately obtained through the LLDP, a corresponding relationship table is generated, and the corresponding relationship table is output and input to a preset database platform for recording and storing. In practical application, the database platform may specifically adopt a CMDB platform, and the corresponding relationship between the server and the switch port is output and entered into the CMDB platform, and data recording and storage are performed.
Before data is output, the format of the data may be uniformly defined, so that the data is more accurate and efficient when being used and stored, for example, the format of the relationship correspondence table may be defined as: "switch name-switch port-host name".
S102, receiving online information submitted by a business online party;
specifically, the business online party submits online information, that is, the content of the online work order of the asset submission machine, and the online information and the content of the work order may include information such as host name/environment classification (VPC)/business segment (virtual switch)/VLAN.
S103, corresponding the online information to the corresponding relation table to generate network configuration information;
specifically, after the online information is submitted, the online information needs to be matched with the relationship correspondence table, that is, the submitted online information matches the correspondence table entered by the CMDB, so as to generate the online network configuration information of the service.
S104, issuing the network configuration information to a switch through a preset SDN controller;
specifically, after the online information is matched with the corresponding relation table and the network configuration is generated, the network configuration resource needs to be issued to the switch, and in practical application, the service flash network configuration information can be issued to the switch by calling an API interface through the SDN controller.
According to the method for realizing the rapid online of the service based on the renting scene of the SDN rack, the corresponding relation between a server and a switch port is obtained through an LLDP function, a corresponding relation table is generated, and the corresponding relation table is input into a preset database platform; then, receiving online information submitted by a business online party; the online information corresponds to the corresponding relation table to generate network configuration information; and finally, issuing the network configuration information to a switch through a preset SDN controller. Therefore, a large number of tables do not need to be manually maintained, network configuration of service online can be rapidly and accurately issued, manual operation amount is reduced, efficiency is improved, and error rate is reduced.
Fig. 2 is a flowchart illustrating a method for implementing a service fast online based on an SDN rack rental scene according to another embodiment of the present application, and as shown in fig. 2, the method for implementing a service fast online based on an SDN rack rental scene provided in this embodiment includes:
firstly, the server switch is completely opened with an LLDP function, and the CMDB acquires the corresponding shutdown of the server and the switch port through the LLDP, namely the name of the switch, the port of the switch and the name of a host; then submitting online work order content of the machine by the assets, wherein the content can comprise host names, environment classification (VPC), service network segments (virtual switch), VLAN and the like; after all the issued configuration information is provided, namely the issued configuration information comprises a corresponding relation table and work order content, issuing the configuration information by calling an SDN API (software defined network API) interface; and finally, the offline content of the asset submission machine is realized.
Based on the same inventive concept, the present application further provides a system for implementing a quick service online based on an SDN rack rental scene, fig. 3 is a schematic structural diagram of the system for implementing a quick service online based on an SDN rack rental scene, shown in fig. 3, the system for implementing a quick service online based on an SDN rack rental scene provided in the embodiment of the present application includes:
an obtaining module 301, configured to obtain a correspondence between a server and a switch port and obtain online information submitted by a service online party;
a generating module 302, configured to generate network configuration information based on correspondence between the online information and the corresponding relationship table;
the issuing module 303 is configured to issue the network configuration information to the switch.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (6)
1. A method for realizing rapid service online based on a renting scene of an SDN frame is characterized by comprising the following steps:
acquiring a corresponding relation between a server and a switch port through an LLDP function, generating a corresponding relation table, and inputting the corresponding relation table into a preset database platform;
receiving online information submitted by a business online party;
the online information corresponds to the corresponding relation table to generate network configuration information;
and issuing the network configuration information to a switch through a preset SDN controller.
2. The method for realizing rapid online of service based on SDN rack rental scenario according to claim 1, wherein the online information comprises: host name, environment classification information and service network segment information.
3. The method for realizing rapid online of service based on SDN rack rental scenario as claimed in claim 1, wherein the issuing the network configuration to a switch by a preset SDN controller comprises:
calling an SDN API interface;
and issuing the network configuration to the switch machine through the SDN API.
4. The SDN rack rental scenario-based service quick-bring-on method according to claim 1, wherein the predetermined database platform comprises a CMDB platform.
5. The method for realizing rapid service on-line based on the SDN rack rental scenario of claim 1, wherein the service network segment information comprises virtual machine change information.
6. A system for realizing rapid service online based on a renting scene of an SDN frame is characterized by comprising:
the acquisition module is used for acquiring the corresponding relation between the server and the port of the switch and acquiring the online information submitted by the service online party;
the generating module is used for generating network configuration information based on the correspondence between the online information and the corresponding relation table;
and the issuing module is used for issuing the network configuration information to the switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110773409.7A CN113507521A (en) | 2021-07-08 | 2021-07-08 | Method and system for realizing rapid online of service based on renting scene of SDN (software defined network) rack |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110773409.7A CN113507521A (en) | 2021-07-08 | 2021-07-08 | Method and system for realizing rapid online of service based on renting scene of SDN (software defined network) rack |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113507521A true CN113507521A (en) | 2021-10-15 |
Family
ID=78012149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110773409.7A Pending CN113507521A (en) | 2021-07-08 | 2021-07-08 | Method and system for realizing rapid online of service based on renting scene of SDN (software defined network) rack |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113507521A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105391568A (en) * | 2014-09-05 | 2016-03-09 | 华为技术有限公司 | SDN (Software Defined Network) implementation method, device and system |
CN108040268A (en) * | 2017-11-30 | 2018-05-15 | 浙江宇视科技有限公司 | A kind of video surveillance network method of controlling security and system based on SDN |
-
2021
- 2021-07-08 CN CN202110773409.7A patent/CN113507521A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105391568A (en) * | 2014-09-05 | 2016-03-09 | 华为技术有限公司 | SDN (Software Defined Network) implementation method, device and system |
CN108040268A (en) * | 2017-11-30 | 2018-05-15 | 浙江宇视科技有限公司 | A kind of video surveillance network method of controlling security and system based on SDN |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11663375B2 (en) | Configuration of a digital twin for a building or other facility via BIM data extraction and asset register mapping | |
CN110781231B (en) | Database-based batch import method, device, equipment and storage medium | |
CN111221726A (en) | Test data generation method and device, storage medium and intelligent equipment | |
CN110969001B (en) | Feedback information generation method and device, storage medium, processor and terminal | |
CN113204598B (en) | Data synchronization method, system and storage medium | |
CN115544183B (en) | Data visualization method, device, computer equipment and storage medium | |
WO2020258674A1 (en) | Script file verification method and apparatus, server and storage medium | |
US20180329971A1 (en) | Data transfer between multiple databases | |
CN111611249A (en) | Data management method, device, equipment and storage medium | |
CN110738038A (en) | Contract text generation method, device, equipment and computer readable storage medium | |
CN111190814A (en) | Software test case generation method and device, storage medium and terminal | |
CN112001159B (en) | Document generation method and device, electronic equipment and storage medium | |
CN110688827B (en) | Data processing method, device, electronic equipment and storage medium | |
CN109684033B (en) | Cloud platform bare metal management method, storage medium, electronic device and system | |
CN111522729A (en) | Method, device and system for determining rule release | |
US20110119195A1 (en) | Defining infrastructure design in a technical project management system | |
CN113507521A (en) | Method and system for realizing rapid online of service based on renting scene of SDN (software defined network) rack | |
CN110489208A (en) | Virtual machine configuration parameter check method, system, computer equipment and storage medium | |
CN113391768A (en) | Centralized storage management method and device | |
CN114238155A (en) | Test method, test platform, test device, server and storage medium | |
CN113934710A (en) | Data acquisition method and device | |
CN113190463B (en) | Code testing method, node and system | |
CN111078543B (en) | System dynamic test method and test device | |
CN113626409B (en) | Test data processing method, device, equipment and storage medium | |
CN111209292B (en) | Bin data management method, device and system |
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: 20211015 |