An automatic service resource allocation system and method based on SDN network
The automatic business resource allocation system based on SDN network solves the cumbersome problem of resource reallocation in industrial production automation production lines when product types and processes change. It realizes automated resource allocation, improves efficiency and accuracy, and reduces manual intervention.
Patent Information
- Application Number
- CN202210010383.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-01-06
AI Technical Summary
Existing industrial production automation production lines need to reallocate production line resources when product types and processes change, resulting in cumbersome manual operations and difficulty in avoiding configuration errors.
An automatic service resource allocation system based on SDN network is used to obtain device information through the collection module. The service platform adds available device resources to the resource model pool and generates network planning information based on business requests. The SDN controller allocates configuration commands and the SDN switch allocates subnets. , to achieve automatic resource allocation.
It improves the efficiency and accuracy of resource allocation, reduces manual intervention, avoids configuration errors, and achieves flexible resource allocation and network isolation.
Smart Images

Figure CN114465883B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of resource allocation, and in particular relates to an automatic service resource allocation system and method based on an SDN network. Background Art
[0002] In existing industrial production automation production lines, equipment including production, testing, and assembly are connected to traditional Layer 2 and Layer 3 networks, and then production control systems such as the MES system (Manufacturing Execution System, MES) obtain production work order requirements and produce single products in sequence.
[0003] Before production, the required equipment resources need to be formed into a business subnet to ensure equipment interoperability and thus ensure the operation of the production line. In traditional automated production lines, production line resources need to be set according to specific processes. However, whenever the product type or product process changes, production line resources need to be reallocated. The current method of reallocating production line resources mostly involves manually modifying the equipment configuration in the production automation line, which is cumbersome and difficult to avoid configuration errors caused by human factors. Summary of the invention
[0004] In view of the above problems, the present invention provides an automatic service resource allocation system based on SDN network, and the automatic service resource allocation system includes:
[0005] The acquisition module is used to obtain the equipment information of all equipment in the production line;
[0006] The service platform is used to add the device resources of all available devices to the resource model pool according to the device information of all devices, and generate the network planning information of the service subnet according to the service request device resources matched from the resource model pool;
[0007] The SDN controller is used to distribute configuration commands based on network planning information;
[0008] The SDN switch is used to allocate a subnet to the device corresponding to the service request device resources according to the configuration command.
[0009] Furthermore, the service platform adds the device resources of all available devices to the resource model pool according to the device information of all devices. The specific execution steps are as follows:
[0010] According to the device information of all devices, obtain the online status information of all devices;
[0011] According to the online status information of all devices, obtain the device information of available devices;
[0012] According to the device information of the available devices, the device resources of the available devices are added to the resource model pool.
[0013] Furthermore, the service platform adds the device resources of the available devices to the resource model pool according to the device information of the available devices. The specific execution steps are as follows:
[0014] According to the device information of the available devices, the device information of the available devices is converted into device resources of the available devices, and according to the device roles of the available devices, the device resources of the available devices are used to generate resource models;
[0015] Add resource models to the resource model pool.
[0016] Furthermore, the specific execution steps of the service platform matching the service request device resources from the resource model pool are as follows:
[0017] According to the business request, converting the business request device resource information corresponding to the business request into a request resource model set;
[0018] Determine whether there is a resource model in the resource model pool that satisfies the requested resource model set;
[0019] If the conditions are met, the corresponding resource model is dispatched from the resource model pool.
[0020] Furthermore, the specific execution steps of the service platform generating the network planning information of the service subnet are as follows:
[0021] The corresponding resource model scheduled from the resource model pool is removed from the resource model pool;
[0022] According to the removed resource model, a corresponding service subnet is created, and the service request device resources corresponding to the service request are added to the service subnet;
[0023] Generate network planning information for the service subnet based on the service subnet.
[0024] Furthermore, the SDN controller allocates the configuration commands according to the network planning information. The specific execution steps are as follows:
[0025] According to the network planning information, the parameters of the network resources related to the service request device resources are converted into configuration commands.
[0026] On the other hand, the present invention provides an automatic service resource allocation method based on an SDN network, characterized in that the method comprises:
[0027] Get the equipment information of all equipment in the production line;
[0028] According to the device information of all devices, the device resources of all available devices are added to the resource model pool, and the network planning information of the service subnet is generated according to the service request device resources matched from the resource model pool;
[0029] Allocate configuration commands based on network planning information;
[0030] According to the configuration command, a subnet is allocated to the device corresponding to the service request device resources.
[0031] Further, according to the device set, the specific execution steps of adding the device resources of the available devices in all devices to the resource model pool are as follows:
[0032] According to the device information of all devices, obtain the online status information of all devices;
[0033] According to the online status information of all devices, obtain the device information of available devices;
[0034] According to the device information of the available devices, the device resources of the available devices are added to the resource model pool.
[0035] Further, according to the device information of the available devices, the specific execution steps of adding the device resources of the available devices to the resource model pool are as follows:
[0036] According to the device information of the available devices, the device information of the available devices is converted into device resources of the available devices, and according to the device roles of the available devices, the device resources of the available devices are used to generate resource models;
[0037] Add resource models to the resource model pool.
[0038] Furthermore, the specific execution steps of matching the service request device resources from the resource model pool are as follows:
[0039] According to the business request, converting the business request device resource information corresponding to the business request into a request resource model set;
[0040] Determine whether there is a resource model in the resource model pool that satisfies the requested resource model set;
[0041] If the conditions are met, the corresponding resource model is dispatched from the resource model pool.
[0042] Furthermore, the specific execution steps for generating the network planning information of the service subnet are as follows:
[0043] The corresponding resource model scheduled from the resource model pool is removed from the resource model pool;
[0044] According to the removed resource model, a corresponding service subnet is created, and the service request device resources corresponding to the service request are added to the service subnet;
[0045] Generate network planning information for the service subnet based on the service subnet.
[0046] Furthermore, according to the network planning information, the specific execution steps of the allocation configuration command are as follows:
[0047] According to the network planning information, the parameters of the network resources related to the service request device resources are converted into configuration commands.
[0048] The automatic business resource allocation system and method based on the SDN network provided by the present invention can also connect all devices to the service platform based on the SDN network, add the device resources of all devices to the resource model pool automatically or manually, and distinguish different resource roles by the service platform or users.
[0049] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0051] Figure 1 A schematic diagram of the structure of an automatic service resource allocation system according to an embodiment of the present invention is shown.
[0052] Figure 2 A schematic diagram of the structure after multiple switches are connected to IT / OT production equipment according to an embodiment of the present invention is shown.
[0053] Figure 3 The flowchart of the automatic service resource allocation system according to the embodiment of the present invention is shown.
[0054] Figure 4 A block diagram of an automatic service resource allocation method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0055] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0056] like Figure 1 As shown, the present invention provides an automatic service resource allocation system based on an SDN network, and the automatic service resource allocation system includes:
[0057] The acquisition module is used to obtain the equipment information of all equipment in the production line;
[0058] The service platform is used to add the device resources of all available devices to the resource model pool according to the device information of all devices, and generate the network planning information of the service subnet according to the service request device resources matched from the resource model pool;
[0059] The SDN controller is used to distribute configuration commands based on network planning information;
[0060] The SDN switch is used to allocate a subnet to the device corresponding to the service request device resources according to the configuration command.
[0061] In this embodiment:
[0062] The automatic business resource allocation system of the present invention also includes IT / OT production equipment.
[0063] like Figure 2 As shown, there are multiple SDN switches, for example, there are 5 (SDN switches 1-5), each SDN switch has 4 ports P1-P4, and the SDN switches are interconnected (port P4 of SDN switch 1 is connected to port P1 of SDN switch 2, port P4 of SDN switch 2 is connected to port P4 of SDN switch 4, port P1 of SDN switch 4 is connected to port P4 of SDN switch 3, and port P1 of SDN switch 3 is connected to port P1 of SDN switch 5). The SDN controller can control multiple SDN switches.
[0064] like Figure 2As shown, the IT / OT production equipment of the present invention is connected to the SDN network, where OT (Operation Technology, OT) is the operation technology, which is the professional technology of the automation control system operation specialist in the factory to provide support for the automation control system to ensure the normal production. OT production equipment mainly refers to the hardware equipment used to complete the production process in the production line of the automation control system. IT (Information Technology, IT) is information technology, which is a general term for various technologies mainly used for management and processing of information. In industrial production, IT production equipment mainly refers to servers, hosts and other equipment installed with service software, communication systems, monitoring systems and other software.
[0065] In this embodiment, the IT / OT production equipment is equipment such as machine tools and robotic arms. For example, there are 7 IT / OT production equipment, namely camera 1, camera 2, machine tool 1, machine tool 2, robotic arm 1, robotic arm 2, and robotic arm 3. In this embodiment, there are multiple SDN switches, such as 5 SDN switches 1-5.
[0066] Camera 1 and machine tool 1 are connected to port P2 and port P3 of SDN switch 1 respectively; machine tool 2 and robotic arm 1 are connected to port P2 and port P3 of SDN switch 2 respectively; robotic arm 2 and camera 2 are connected to port P2 and port P3 of SDN switch 4, and robotic arm 3 is connected to port P2 of SDN switch 5.
[0067] In an embodiment of the present invention, the automatic business resource allocation system also includes an MES system, which is a set of production information management system that can provide enterprises with functions including manufacturing data management and production process control. The MES system is connected to the service platform and sends business requests and resource release requests to the service platform according to actual production needs.
[0068] Before obtaining the device information of all devices (IT / OT production equipment) in the production line through the acquisition module, it is necessary to enter the device resource information of all devices and the information of network resources (SDN switches 1-5) related to each device into the service platform to generate a device set. The entry methods include user import, automatic discovery by the service platform through the SDN network, and active addition by users according to needs. Among them, the device set contains a device list, which includes powered-on devices and unpowered devices, as shown in Table 1:
[0069] Device Name IP and other information Online Availability Connection relationship Camera 1 *** Camera 2 *** Machine Tool 1 *** Machine Tool 2 *** Robotic Arm 1 *** Robotic Arm 2 *** Robotic Arm 3 *** SDN Switch 1 *** SDN Switch 2 *** SDN Switch 3 *** SDN Switch 4 *** SDN Switch 5 ***
[0070] Table 1
[0071] The specific execution steps of the service platform adding the device resources of all available devices to the resource model pool according to the device information of all devices are as follows:
[0072] According to the device information of all devices, the online status information of all devices is obtained. Specifically: the online status of each device is determined by the acquisition module. After determining the device status, the acquisition module changes the online or disconnected status of the device in the device list. The acquisition module can exist independently of the service platform or be integrated into the service platform. Therefore, the service platform can first query the device list through the acquisition module, and periodically query the online status of all devices to determine which of all devices are online (if some devices are online, mark these device states as online; if some devices are not online, mark them as disconnected. Similarly, network resources related to some devices are also marked as online or disconnected). Assume that the SDN switch 5 is disconnected at this time, because the robot arm 3 can communicate with the service platform and the acquisition module only through the switch 5, so the robot arm 3 is also disconnected. At this time, the device list information is as shown in Table 2 below:
[0073] Device Name IP and other information Online Availability Connection relationship Camera 1 *** Online Camera 2 *** Online Machine Tool 1 *** Online Machine Tool 2 *** Online Robotic Arm 1 *** Online Robotic Arm 2 *** Online Robotic Arm 3 *** Lost contact SDN Switch 1 *** Online SDN Switch 2 *** Online SDN Switch 3 *** Online SDN Switch 4 *** Online SDN Switch 5 *** Lost contact
[0074] Table 2
[0075] According to the online status information of all devices, the device information of available devices is obtained. Specifically, the device information here refers to the information of the online devices in the device list. The service platform supplements the device information of the online devices through the acquisition module. The supplemented content includes the device role of the online devices (the device role refers to the device type, for example, the device named camera 1 is a camera, which is not shown in Tables 2 to 4 and Tables 8 and 9), the connection relationship (the connection between the online devices and the SDN switches, specifically refers to which port of which SDN switch these online devices are connected to) and whether the device is available. For network resources related to the online devices, such as SDN switch 1-5 information, it is also supplemented (the supplemented content is whether SDN switches 1-5 are available), as shown in Table 3 below:
[0076] Device Name IP and other information Online Availability Connection relationship Camera 1 *** Online Available SDN switch 1-P2 Camera 2 *** Online Available SDN Switch 4-P3 Machine Tool 1 *** Online Available SDN switch 1-P3 Machine Tool 2 *** Online Available SDN Switch 2-P2 Robotic Arm 1 *** Online Available SDN switch 2-P3 Robotic Arm 2 *** Online Available SDN Switch 4-P2 Robotic Arm 3 *** Lost contact SDN Switch 5-P2 SDN Switch 1 *** Online Available SDN Switch 2 *** Online Available SDN Switch 3 *** Online Available SDN Switch 4 *** Online Available SDN Switch 5 *** Lost contact
[0077] Table 3
[0078] Since some of the online devices may not be used, for example, some online devices are occupied by other business subnets, and other devices that are not occupied are in an idle state. Therefore, it is necessary to obtain the device information of available devices from these online devices. That is, it can be learned from Table 3 above that the SDN switch 5 and the corresponding robot arm 3 may be disconnected due to power failure and are unavailable, while other online devices in Table 3 (camera 1, camera 2, machine tool 1, machine tool 2, robot arm 1 and robot arm 2) are in an idle state and are not occupied by other business subnets. Therefore, other online devices in an idle state are all available devices. Other online devices in an idle state and corresponding network resources (SDN switches 1-4) can be marked as available by the service platform. Therefore, the service platform can query which devices in the online devices are available devices through the acquisition module according to the device information of the online devices (in Table 3, camera 1, camera 2, machine tool 1, machine tool 2, robot arm 1 and robot arm 2 are all available devices).
[0079] According to the device information of the available devices (the available device information at this time refers to the information of the available devices in the device list), the device information of the available devices is converted into the device resources corresponding to the available devices and added to the resource model pool. Specifically, the specific execution steps are as follows:
[0080] The service platform converts the device information of the available devices into device resources of the available devices according to the device information of the available devices, and generates a resource model from the device resources of the available devices according to the device roles of the available devices, wherein the device information of the available devices is as shown in Table 4:
[0081] Device Name IP and other information Online Availability Camera 1 *** Online Available Camera 2 *** Online Available Machine Tool 1 *** Online Available Machine Tool 2 *** Online Available Robotic Arm 1 *** Online Available Robotic Arm 2 *** Online Available
[0082] Table 4
[0083] Add the resource model to the resource model pool, as shown in the resource model pool table in Table 5 below:
[0084] Resource Type name Corresponding device name Camera Camera resource 1 Camera 1 Camera Camera resource 2 Camera 2 machine tool Machine tool resources 1 Machine Tool 1 machine tool Machine tool resources 2 Machine Tool 2 Robotic Arm Robotic Arm Resource 1 Robotic Arm 1 Robotic Arm Robotic Arm Resource 2 Robotic Arm 2
[0085] Table 5
[0086] When a new production line needs to be formed, that is, when the MES system needs to create a new business subnet for management, the MES system sends a business request for resources to the service platform. If the information of the business request is: 2 machine tools, 1 robotic arm, after the service platform receives the business request, the service platform matches the business request equipment resources from the above resource model pool. The specific execution steps are as follows:
[0087] The service platform converts the business request equipment resource information corresponding to the business request into a request resource model set (machine tool, machine tool, robotic arm) according to the business request;
[0088] The service platform will query the resource model pool to determine whether there is a resource model in the resource model pool that meets the requested resource model set;
[0089] If not, the service platform will reject the business request sent by the MES system. After the business request sent by the MES system is rejected, the next cycle will continue with "the MES system sends a business request for resources to the service platform";
[0090] When the conditions are met, the service platform dispatches the corresponding resource model from the resource model pool.
[0091] According to the corresponding resource model, the service platform generates the network planning information of the service subnet in the following specific steps:
[0092] The service platform removes the corresponding resource models (assuming that machine tool 1, machine tool 2, and robot arm 2) dispatched from the resource model pool from the resource model pool. The device information removed from the resource model pool is as shown in Table 6:
[0093] Resource Type name Corresponding device name machine tool Machine tool resources 1 Machine Tool 1 machine tool Machine tool resources 2 Machine Tool 2 Robotic Arm Robotic Arm Resource 2 Robotic Arm 2 Table 6
[0094] According to the removed resource model, the service platform creates a corresponding business subnet (this business subnet is newly created at this time), and adds the business request device resources corresponding to the business request to the business subnet, forming the following table 7 of the business subnet:
[0095]
[0096] Table 7
[0097] At the same time, the service platform marks the service device corresponding to the service request device resource as occupied, as shown in Table 8 below:
[0098] Device Name IP and other information Online Availability Connection relationship Camera 1 *** Online Available SDN switch 1-P2 Camera 2 *** Online Available SDN Switch 4-P3 Machine Tool 1 *** Online Occupancy SDN switch 1-P3 Machine Tool 2 *** Online Occupancy SDN Switch 2-P2 Robotic Arm 1 *** Online Available SDN switch 2-P3 Robotic Arm 2 *** Online Occupancy SDN Switch 4-P2 Robotic Arm 3 *** Lost contact SDN Switch 5-P2 SDN Switch 1 *** Online Available SDN Switch 2 *** Online Available SDN Switch 3 *** Online Available SDN Switch 4 *** Online Available SDN Switch 5 *** Lost contact
[0099] Table 8
[0100] According to the business subnet, the network planning information of the business subnet is generated. Specifically, according to this business subnet, the service platform generates the network planning information of the business subnet (the network planning information needs to be recognizable by the SDN controller), and sends the network planning information to the SDN controller. The network planning information is to notify the SDN controller that port P3 of SDN switch 1, port P2 of SDN switch 2, and port P2 of SDN switch 4 need to be connected in accordance with the L2 and / or L3 networking mode (L2 represents a layer 2 network, and L3 represents a layer 3 network) to generate a subnet.
[0101] The SDN controller allocates configuration commands according to network planning information. The specific execution steps are as follows:
[0102] The SDN controller converts the parameters of the network resources related to the service request device resources into configuration commands based on the network planning information. That is, after receiving the network planning information, the SDN controller determines some parameters, such as which SDN switches run what network protocols and which SDN switch ports are required, and then converts these parameters into configuration commands and sends them to the corresponding SDN switches.
[0103] The SDN switch is used to allocate a subnet to the device corresponding to the service request device resource according to the configuration command. The specific execution steps are as follows;
[0104] The corresponding SDN switch receives the configuration command and generates a flow table. The flow table is a data forwarding instruction generated by the corresponding SDN switch and stored locally on the SDN switch after the SDN controller sends the configuration command to the corresponding SDN switch. At the same time, after the corresponding SDN switch receives the configuration command, for example, port P3 of SDN switch 1, port P2 of SDN switch 2, and port P2 of SDN switch 4 will form a subnet according to the L2 and L3 networking methods, thereby realizing port interconnection between multiple SDN switches, and realizing that devices in the same business subnet can access each other in the same subnet (that is, machine tool 1, machine tool 2 and robot arm 2 can access each other through SDN switches 1, 2, and 4), and different subnets are isolated from each other.
[0105] In addition, it should be noted that after the equipment in the newly created business subnet completes the production activities, the equipment in this business subnet does not need to work anymore, but at this time, in the equipment list in the service platform, the relevant equipment is still marked as "occupied" and cannot be used by new business requests. In order to make better use of these devices, a request to release resources is sent to the service platform through the MES system, and the service platform releases the equipment resources in the business subnet. After receiving the request, the service platform queries the business subnet, finds the corresponding business subnet information, queries, for example, the equipment resources corresponding to the above-mentioned machine tool 1, machine tool 2 and robot arm 2 need to be released, deletes the corresponding business subnet, and at the same time, the service platform sends a message to the SDN controller, and the SDN controller sends a configuration instruction to release the previous network configuration of the corresponding SDN switch (SDN switch 1, SDN switch 2 and SDN switch 4). The table 7 corresponding to the above-mentioned business subnet is empty, and the original machine tool 1, machine tool 2 and robot arm 2 are re-marked as available, then the table 8 in the server corresponds to the following table 9:
[0106] Device Name IP and other information Online Availability Connection relationship Camera 1 *** Online Available SDN switch 1-P2 Camera 2 *** Online Available SDN Switch 4-P3 Machine Tool 1 *** Online Available SDN switch 1-P3 Machine Tool 2 *** Online Available SDN Switch 2-P2 Robotic Arm 1 *** Online Available SDN switch 2-P3 Robotic Arm 2 *** Online Available SDN Switch 4-P2 Robotic Arm 3 *** Lost contact SDN Switch 5-P2 SDN Switch 1 *** Online Available SDN Switch 2 *** Online Available SDN Switch 3 *** Online Available SDN Switch 4 *** Online Available SDN Switch 5 *** Lost contact Table 9
[0107] The corresponding device list (Table 9) can be obtained through the server platform. At this time, the resource model pool detects that there are other devices available according to Table 9. The server platform generates resource models based on the device information of these devices re-marked as available and the device roles of these available devices, and adds them to the resource model pool described above, forming the following Table 10:
[0108] Resource Type name Corresponding device name Camera Camera resource 1 Camera 1 Camera Camera resource 2 Camera 2 machine tool Machine tool resources 1 Machine Tool 1 machine tool Machine tool resources 2 Machine Tool 2 Robotic Arm Robotic Arm Resource 1 Robotic Arm 1 Robotic Arm Robotic Arm Resource 2 Robotic Arm 2
[0109] Table 10
[0110] In summary, in this embodiment, after the device resource information of all devices and the information of network resources related to each device are entered into the service platform and the device set is generated, Figure 3 As shown, the workflow of this system is as follows:
[0111] Step S1, query the device list, periodically query the online status of all devices, and mark the online status corresponding to each device;
[0112] Step S2: According to the device list, mark the connection relationship of all devices and whether they are occupied;
[0113] Step S3: Obtain device information of available devices, generate resource models according to device roles of available devices, and add them to the resource model pool;
[0114] Step S4: Generate a request resource model set according to the business request;
[0115] Step S5: determine whether there is a resource model corresponding to the requested resource model set in the resource model pool. It should be understood that this step is started according to the business request;
[0116] Step S6: If not, reject the service request sent by the MES system and continue to execute step S4; if satisfied, execute step S7;
[0117] Step S7: under the conditions met, dispatch the corresponding resource model from the resource model pool;
[0118] Step S8: Create a corresponding service subnet, add the service request device resources corresponding to the service request to the service subnet, and mark the service device corresponding to the service request device resources as occupied;
[0119] Step S9: Generate network planning information of the service subnet according to the service subnet, and send the network planning information to the SDN controller to generate the subnet;
[0120] Step S10, start production activities;
[0121] Step S11: After completing the production activity, the MES system issues a request to release resources;
[0122] Step S12: The service platform deletes the corresponding business subnet and re-marks the device marked as occupied as available in the corresponding device list, after which step S3 is executed.
[0123] In this embodiment, the service platform can provide SDN switches according to the actual situation of the production process of the production line, realize the control of subnet generation, equipment status monitoring, SDN switch configuration and network isolation, and issue configuration commands for networking to the SDN controller according to the business request of the MES system, thereby facilitating the establishment of the production line and meeting the needs of the MES system.
[0124] The acquisition module can collect the online status of SDN switches and OT and IT equipment in real time according to various network protocols or industrial control protocols, and analyze whether the equipment is operating normally and whether it can provide services for the production line normally based on the collected data.
[0125] The SDN controller controls network resources (i.e., all SDN switches and their related ports) and performs unified control, scheduling, and management of SDN switches. Based on network planning information, the SDN controller allocates network resources in the resource model pool, determines network resource parameters, and converts the allocated network resource parameters into configuration commands, which are then assigned to the device corresponding to the service request device resource, and the device subnet corresponding to the service request device resource, thereby achieving connectivity between network resources and device resources, as well as network isolation of device resources in different production lines, so that multiple production lines can coexist in the same SDN network at the same time without complicated manual intervention.
[0126] OT production equipment can access the SDN network through industrial control protocols such as industrial Ethernet, bus, serial port, etc., and IT equipment can access the SDN network through Ethernet, PON, WIFI, 5G, etc., based on SDN controller control and network resource coordination to execute key services efficiently and reliably.
[0127] On the other hand, Figure 4 As shown, this embodiment also provides an automatic service resource allocation method based on an SDN network, the method comprising:
[0128] Get the equipment information of all equipment in the production line;
[0129] According to the device information of all devices, the device resources of all available devices are added to the resource model pool, and the network planning information of the service subnet is generated according to the service request device resources matched from the resource model pool;
[0130] Allocate configuration commands based on network planning information;
[0131] According to the configuration command, a subnet is allocated to the device corresponding to the service request device resources.
[0132] According to the device set, the specific execution steps for adding the device resources of all available devices to the resource model pool are as follows:
[0133] According to the device information of all devices, obtain the online status information of all devices;
[0134] According to the online status information of all devices, obtain the device information of available devices;
[0135] According to the device information of the available devices, the device resources of the available devices are added to the resource model pool.
[0136] According to the device information of the available devices, the specific execution steps of adding the device resources of the available devices to the resource model pool are as follows:
[0137] According to the device information of the available devices, the device information of the available devices is converted into device resources of the available devices, and according to the device roles of the available devices, the device resources of the available devices are used to generate resource models;
[0138] Add resource models to the resource model pool.
[0139] The specific execution steps for matching service request device resources from the resource model pool are as follows:
[0140] According to the business request, converting the business request device resource information corresponding to the business request into a request resource model set;
[0141] Determine whether there is a resource model in the resource model pool that satisfies the requested resource model set;
[0142] If the conditions are met, the corresponding resource model is dispatched from the resource model pool.
[0143] The specific steps for generating network planning information for a service subnet are as follows:
[0144] The corresponding resource model scheduled from the resource model pool is removed from the resource model pool;
[0145] According to the removed resource model, a corresponding service subnet is created, and the service request device resources corresponding to the service request are added to the service subnet;
[0146] Generate network planning information for the service subnet based on the service subnet.
[0147] According to the network planning information, the specific execution steps of the allocation configuration command are as follows:
[0148] According to the network planning information, the parameters of the network resources related to the service request device resources are converted into configuration commands.
[0149] The other functions and methods in the automatic service resource allocation method based on SDN network of the present invention correspond to the other functions and implementation methods in the automatic service resource allocation system based on SDN network of the present invention, so no further details are given here.
[0150] The present invention provides an automatic business resource allocation system and method based on an SDN network, which can realize automatic identification and marking of production line resources in an SDN network environment, realize flexible allocation of production line resources according to the needs of different production lines, and perform network isolation of different production line resources, thereby improving network planning efficiency and avoiding tedious manual operations.
[0151] The present invention can also release equipment resources in time at the end of production, improve the operating efficiency of the production line, ensure the independence and safety of different production lines, and achieve the goal of efficiently serving multiple product lines.
[0152] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. An automatic service resource allocation system based on SDN network, characterized in that: The automatic business resource allocation system includes: The acquisition module is used to obtain the equipment information of all equipment in the production line; The service platform is used to add the device resources of all available devices to the resource model pool according to the device information of all devices, and generate the network planning information of the service subnet according to the service request device resources matched from the resource model pool; The specific execution steps of the service platform adding the device resources of all available devices to the resource model pool according to the device information of all devices are as follows: According to the device information of all devices, obtain the online status information of all devices; According to the online status information of all devices, obtain the device information of available devices; According to the device information of available devices, add the device resources of available devices to the resource model pool. The specific execution steps are as follows: According to the device information of the available devices, the device information of the available devices is converted into device resources of the available devices, and according to the device roles of the available devices, the device resources of the available devices are used to generate resource models; Add resource models to the resource model pool; The specific execution steps for the service platform to match the business request device resources from the resource model pool are as follows: According to the business request, converting the business request device resource information corresponding to the business request into a request resource model set; Determine whether there is a resource model in the resource model pool that satisfies the requested resource model set; If the conditions are met, the corresponding resource model is dispatched from the resource model pool; The specific execution steps for the service platform to generate network planning information for the service subnet are as follows: The corresponding resource model scheduled from the resource model pool is removed from the resource model pool; According to the removed resource model, a corresponding service subnet is created, and the service request device resources corresponding to the service request are added to the service subnet; Generate network planning information for the business subnet based on the business subnet; The SDN controller is used to distribute configuration commands based on network planning information; The SDN switch is used to allocate a subnet to the device corresponding to the service request device resources according to the configuration command.
2. According to claim 1, an automatic service resource allocation system based on SDN network is characterized in that: The SDN controller allocates configuration commands according to network planning information. The specific execution steps are as follows: According to the network planning information, the parameters of the network resources related to the service request device resources are converted into configuration commands.
3. An automatic service resource allocation method based on SDN network, characterized in that: The method comprises: Get the equipment information of all equipment in the production line; According to the device information of all devices, the device resources of all available devices are added to the resource model pool, and the network planning information of the service subnet is generated according to the service request device resources matched from the resource model pool; The specific execution steps of adding the device resources of available devices in all devices to the resource model pool according to the device set are as follows: According to the device information of all devices, obtain the online status information of all devices; According to the online status information of all devices, obtain the device information of available devices; According to the device information of available devices, add the device resources of available devices to the resource model pool. The specific execution steps are as follows: According to the device information of the available devices, the device information of the available devices is converted into device resources of the available devices, and according to the device roles of the available devices, the device resources of the available devices are used to generate resource models; Add resource models to the resource model pool; The specific execution steps for matching service request device resources from the resource model pool are as follows: According to the business request, converting the business request device resource information corresponding to the business request into a request resource model set; Determine whether there is a resource model in the resource model pool that satisfies the requested resource model set; If the conditions are met, the corresponding resource model is dispatched from the resource model pool; The specific steps for generating network planning information for a service subnet are as follows: The corresponding resource model scheduled from the resource model pool is removed from the resource model pool; According to the removed resource model, a corresponding service subnet is created, and the service request device resources corresponding to the service request are added to the service subnet; Generate network planning information for the business subnet based on the business subnet; Allocate configuration commands based on network planning information; According to the configuration command, a subnet is allocated to the device corresponding to the service request device resources.
4. The automatic service resource allocation method based on SDN network according to claim 3 is characterized in that: According to the network planning information, the specific execution steps of the allocation configuration command are as follows: According to the network planning information, the parameters of the network resources related to the service request device resources are converted into configuration commands.
