An automatic method and apparatus for tube feeding
Patent Information
- Application Number
- CN202310263495.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2043-03-10
AI Technical Summary
[0004]现有技术中对于资源分配和配置部署更多的是对纳管总体流程下配置下发涉及到的组件和流程的通用设计,例如,纳管时整个下发的完整链路通道样式,纳管下发配置时需要业务数据转网络数据,最终转设备数据等等,其没有业务模板构建的思想,更多的是依赖人工,使得整个纳管过程十份繁琐,也特别容易出错,同时,对相关业务人员经验和能力的要求更高
[0036]The aforementioned automatic management method, device, computer equipment, and storage medium configure different devices and required resources under different businesses to construct a business model. Before pre-allocating resources according to the resource requirements in the business model, an initial reconciliation is performed between the allocated resource data and the resource data to be received to ensure data alignment. Subsequently, other resource pre-allocation tasks are paused, and during this process, a second reconciliation is performed on the incremental data in the allocated and received resource data to correct the resource pre-allocation results. This prevents new resource pre-allocation tasks from occurring during the first reconciliation period, which could lead to the target pre-allocated resources being acquired by new resource pre-allocation tasks during the reconciliation period, thus making the resource pre-allocation results more accurate. Finally, when the resource pool resources meet the corrected amount of pre-allocated resource data, the pre-allocated resources are divided into pre-configured resources and distributed to the devices, thereby completing the automatic management. This method ensures that the resources allocated by the controller are unallocated through multiple reconciliations during the management process, effectively avoiding management failures caused by resource allocation issues.
Smart Images

Figure CN116346594B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network communication, and in particular to an automatic management method, apparatus, computer equipment, and storage medium. Background Technology
[0002] Nowadays, with the rise of big data and cloud computing, communication networks are becoming larger and larger, and their structures are becoming more and more complex. As network services expand, more and more resource pools and nodes need to be deployed to support the development of services. Or, due to changes in network planning, some network nodes need to be adjusted. All of these involve the overall planning and allocation of network resources and the migration of existing services. If planned manually, it is inefficient and prone to errors.
[0003] Taking Software-Defined Networking (SDN) as an example, it is a new type of innovative network architecture that separates the control plane and the forwarding plane. It should be noted that resource allocation and initial automated configuration during the network management process are also very important. A good resource allocation method can effectively manage and save resources. Similarly, a highly compatible configuration and deployment system can provide favorable conditions for the large-scale deployment of services.
[0004] Existing technologies for resource allocation and configuration deployment are more about the general design of components and processes involved in configuration distribution under the overall management process. For example, the complete link channel style of the entire distribution during management, the need to convert business data to network data, and finally to device data during management configuration distribution, etc. They do not have the concept of business template construction and rely more on manual labor, making the entire management process extremely cumbersome and prone to errors. At the same time, they require higher experience and ability from relevant business personnel.
[0005] In addition, when allocating resources, it is necessary to determine whether the resources to be allocated are unallocated resources. Because networks change very rapidly today, there may be instances where some resources are actually occupied due to inconsistencies between controller and device data, but the overall management fails because the control plane data is not updated in time. Summary of the Invention
[0006] Therefore, it is necessary to provide an automatic management method, device, computer equipment, and storage medium to address the above-mentioned technical problems. By conducting multiple reconciliations during the management process, it is ensured that the resources allocated by the controller are unallocated, effectively avoiding management failures caused by resource allocation issues.
[0007] In a first aspect, this application provides an automatic pipe-laying method, the method comprising:
[0008] A preset business model is provided, which includes the resource requirements of different devices under the current business.
[0009] The resource data related to the controller and equipment is reconciled for the first time, and resources are pre-allocated based on the reconciliation results and the resource requirements in the preset business model.
[0010] Suspend other resource pre-allocation processes, and during the suspension process, perform a second reconciliation of the incremental data of the resources involved in the controller and equipment, and correct the resource pre-allocation results;
[0011] Determine whether the resources in the resource pool have pre-allocated resources included in the resource pre-allocation results. If so, divide the pre-allocated resources into pre-configured resources and distribute them to complete automatic management.
[0012] In one embodiment, the business model also includes the relationship between the resource pool and the gateway group under the current business, the required devices, and the configuration ports required for the devices.
[0013] In one embodiment, the preset business model includes:
[0014] Create configuration templates for different devices under different services;
[0015] Business units are constructed based on the characteristics of different devices under different services, and the business units include the resource requirements under the current configuration template.
[0016] The business model is obtained by combining the configuration template and the business unit.
[0017] In one embodiment, the initial reconciliation of resource data related to the controller and devices is preceded by:
[0018] Determine whether the required network equipment meets the requirements of the preset business model; if not, then...
[0019] Exit the management process and report an error; if so, then
[0020] Determine whether the resources in the resource pool meet the requirements of the preset business model; if not, then...
[0021] Exit the management process and report an error; if so, then
[0022] The first reconciliation of resource data related to controllers and equipment is conducted.
[0023] In one embodiment, the method further includes:
[0024] Determine whether the resource pool has pre-allocated resources included in the resource pre-allocation result. If not, stop the management process and reclaim all previously pre-allocated resources.
[0025] In one embodiment, the process of dividing the pre-allocated resources into pre-configured resources and distributing them further includes:
[0026] A third reconciliation of the final data for the resources involved in the controller and equipment.
[0027] Secondly, this application provides an automatic pipe-laying device, the device comprising:
[0028] The business model creation module is used to preset a business model, which includes the resource requirements of different devices under the current business.
[0029] The first data reconciliation module is used to perform the first reconciliation of the resource data involved in the controller and equipment, and to pre-allocate resources based on the reconciliation results and the resource requirements in the preset business model.
[0030] The second data reconciliation module is used to pause other resource pre-allocation processes and, during the pause, perform a second reconciliation of the incremental data of the resources involved in the controller and equipment to correct the resource pre-allocation results.
[0031] The first judgment module is used to determine whether the resources in the resource pool contain the pre-allocated resources included in the resource pre-allocation result. If so, then...
[0032] The distribution module is used to divide pre-allocated resources into pre-configured resources and distribute them, thereby completing automatic management.
[0033] Thirdly, this application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement any of the above-mentioned automatic management methods.
[0034] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the above-described automatic management methods.
[0035] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, implements any of the above-described automatic management methods.
[0036] The aforementioned automatic management method, device, computer equipment, and storage medium configure different devices and required resources under different businesses to construct a business model. Before pre-allocating resources according to the resource requirements in the business model, an initial reconciliation is performed between the allocated resource data and the resource data to be received to ensure data alignment. Subsequently, other resource pre-allocation tasks are paused, and during this process, a second reconciliation is performed on the incremental data in the allocated and received resource data to correct the resource pre-allocation results. This prevents new resource pre-allocation tasks from occurring during the first reconciliation period, which could lead to the target pre-allocated resources being acquired by new resource pre-allocation tasks during the reconciliation period, thus making the resource pre-allocation results more accurate. Finally, when the resource pool resources meet the corrected amount of pre-allocated resource data, the pre-allocated resources are divided into pre-configured resources and distributed to the devices, thereby completing the automatic management. This method ensures that the resources allocated by the controller are unallocated through multiple reconciliations during the management process, effectively avoiding management failures caused by resource allocation issues. Attached Figure Description
[0037] Figure 1 This is one of the flowcharts of the automatic management method of this application;
[0038] Figure 2 This is the second flowchart of the automatic management method of this application;
[0039] Figure 3 This is the third flowchart of the automatic management method of this application;
[0040] Figure 4 This is the fourth flowchart of the automatic management method of this application;
[0041] Figure 5 This is a block diagram of the automatic pipe-laying device of this application;
[0042] Figure 6 This is a schematic diagram of the regulatory business model for this application;
[0043] Figure 7 This is an internal structural diagram of a computer device according to one embodiment. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0045] like Figure 1As shown, in one embodiment, an automatic management method includes the following steps:
[0046] Step S110: Preset a business model. The business model includes the resource requirements of different devices under the current business.
[0047] Step S120: Perform the first reconciliation of resource data related to the controller and equipment, and pre-allocate resources based on the reconciliation results and resource requirements in the preset business model.
[0048] Specifically, the first reconciliation is performed between the resource data already allocated on the controller side and the resource data to be received on the device side, aligning the resource data involved on both sides. For example, if no resource data has been allocated on the controller side, there is no allocated resource data; if no resource data has been allocated on the device side, there is no resource data to be received, and both sides have zero resource data. Finally, based on the resource requirements in the preset business model and the resource data involved on both the controller and device sides, resources are allocated to the device side. This reconciliation accurately allocates the resource data to be received on the device side.
[0049] Step S130: Pause other resource pre-allocation processes, and during the pause, perform a second reconciliation of the incremental data of the resources involved in the controller and equipment to correct the resource pre-allocation results.
[0050] Specifically, given the complexity and volatility of the network, new resource pre-allocation tasks may emerge during the initial reconciliation period. This could cause the target pre-allocated resources from the first reconciliation to be acquired by these new tasks. Therefore, after the first reconciliation, the resource pre-allocation process is briefly halted. Subsequently, a second reconciliation is performed on the resource data already allocated on the controller and the resource data to be received on the devices, thereby correcting the resource pre-allocation results. For example, if a new resource pre-allocation task exists during the first reconciliation period, causing the target pre-allocated resources from the first reconciliation to be acquired by this new task, then the incremental data of the resources involved on both the controller and devices is corrected to recover the resource data acquired by other resource pre-allocation tasks during the reconciliation period.
[0051] Step S140: Determine whether the resource pool contains pre-allocated resources included in the resource pre-allocation result. If so, execute...
[0052] Step S150: Divide the pre-allocated resources into pre-configured resources and distribute them to complete the automatic management.
[0053] Specifically, after the two reconciliations, it is necessary to determine whether the existing resources in the resource pool meet the pre-allocated resource data volume after the two reconciliations. If so, it means that the existing resource data volume in the resource pool can be allocated to the device as pre-allocated resources. Subsequently, the pre-allocated resources are divided into pre-configured resources, and related configurations are generated and distributed. Then, based on the business model and the resource pre-allocation results, the distribution task chain is invoked to ensure the construction and distribution of configurations. It should be noted that data reconciliation is generally based on device-side resources, while pre-configured resources are based on controller-side resources.
[0054] The aforementioned automatic management method configures different devices and required resources under different businesses to construct a business model. Before pre-allocating resources according to the resource requirements in the business model, it performs an initial reconciliation of the allocated resource data and the resource data to be received to ensure data alignment. Subsequently, other resource pre-allocation tasks are paused, and during this process, a second reconciliation is performed on the incremental data in the allocated and pending resource data to correct the resource pre-allocation results. This prevents new resource pre-allocation tasks from occurring during the first reconciliation period, which could lead to the target pre-allocated resources being acquired by new resource pre-allocation tasks during the reconciliation period, thus making the resource pre-allocation results more accurate. Finally, when the resource pool resources meet the corrected amount of pre-allocated resource data, the pre-allocated resources are divided into pre-configured resources and distributed to the devices, thereby completing the automatic management. This method ensures that the resources allocated by the controller are unallocated through multiple reconciliations during the management process, effectively avoiding management failures caused by resource allocation issues.
[0055] In one embodiment, the business model also includes the relationship between the resource pool and gateway group under the current business, the required devices, and the configuration ports required for the devices.
[0056] Specifically, based on the characteristics of SDN (Software Defined Network) network services, the aspects involved in management design mainly include service models, resources, configurations, and devices. For example, configuring an SDN-WAN (Software Defined Wide Area Network) resource pool based on an EVPN network determines what kind of gateway group needs to be configured, how many devices are needed, what ports each device needs to be configured with, and how many AS-NUMBER, EBGP-IP, and other network resources are required. At the same time, through the characteristics of these services, resources, and devices, a complete set of initial service configurations can be formed and ultimately distributed to the devices that need to be managed.
[0057] like Figure 2 As shown, in one embodiment, a preset business model includes the following steps:
[0058] Step S111: Create configuration templates for different devices under different services.
[0059] Specifically, in the early preparation process, it is necessary to first pre-configure the "pipeline" for management. This pre-configuration uses the concept of combination to create configuration templates based on the combination of different devices and different services.
[0060] Step S112: Construct business units based on the characteristics of different devices under different services. The business units include the resource requirements under the current configuration template.
[0061] Specifically, such as Figure 6 As shown, this is a component of Business A. First, it outlines the data model structure of Business A, including the relationship between resource pools and gateway groups within this business, the relationship between gateway groups and specific network elements, the different possible configurations of different gateway groups, and the resources required. Here, multiple business units are constructed based on the characteristics of different devices under different businesses, including Resource A, Resource B, Template A, Device A, etc. Since different devices can be replaced within gateway groups, after unitizing this data and requirement structure, the smallest units required for different business management can be built in a modular fashion, similar to building blocks. Then, by building these smallest units layer by layer, a business "pipeline" is ultimately formed. It should be noted that when constructing the business model, the coupling between the smallest business units should be reduced to ensure that each underlying unit is more versatile and can be used by more businesses.
[0062] Step S113: Combine the configuration template and business units to obtain the business model.
[0063] Specifically, the business type, related equipment, and required resources can be determined based on the configuration template. The unitized data or requirements are obtained according to the configuration requirements in the template and combined to obtain the business model.
[0064] The aforementioned automatic management method requires pre-configuration of some basic functional units before use. This includes the configuration template and required resources issued by device A under business A. These need to be pre-configured by professional low-level configuration personnel. Then, business personnel can combine the corresponding functional units according to business characteristics and device models, forming a business pipeline for one-click automated management. This automates the management process, enabling one-click management for all processes. Furthermore, with sufficient low-level unit models, the upper-level business management model can be quickly built. Once the low-level configuration personnel have constructed the minimum functional units based on the resources and configuration templates required by different devices and businesses, they no longer need to focus on the business. Simultaneously, business personnel can automatically combine functional units according to business flexibility without needing to pay attention to the low-level configuration, achieving separation of business and configuration during the management process.
[0065] like Figure 3As shown, in one embodiment, a first reconciliation of the resource data related to the controller and device is performed, which includes the following steps prior to:
[0066] Step S310: Determine whether the required managed equipment meets the requirements of the preset business model. If not, proceed.
[0067] Specifically, after the business model is built, the required equipment needs to be checked, that is, whether the model, quantity, version, etc. of the equipment to be managed meet the model requirements.
[0068] Step S330: Exit the management process and report an error; if so, proceed.
[0069] Step S320: Determine whether the resources in the resource pool meet the requirements of the preset business model. If not, proceed.
[0070] Specifically, after the business model is built, the required resources need to be checked, that is, whether the required resource data can be allocated according to the existing resource availability.
[0071] Step S330: Exit the management process and report an error; if so, proceed.
[0072] Step S120: Perform the first reconciliation of resource data related to the controller and equipment.
[0073] like Figure 4 As shown, in one embodiment, the automatic management method further includes the following steps:
[0074] Step S140: Determine whether the resource pool contains pre-allocated resources included in the resource pre-allocation result. If not, proceed with...
[0075] Step S410: Stop the management process and reclaim all previously pre-allocated resources.
[0076] In one embodiment, the pre-allocated resources are divided into pre-configured resources and distributed, followed by the step of: performing a third reconciliation of the final data of the resources involved in the controller and the device.
[0077] like Figure 5 As shown, in one embodiment, an automatic management device includes a business model creation module 510, a first data reconciliation module 520, a second data reconciliation module 530, a first judgment module 540, and a distribution module 550.
[0078] The business model creation module 510 is used to preset business models, which include the resource requirements of different devices under the current business.
[0079] The first data reconciliation module 520 is used to perform the first reconciliation of resource data related to the controller and equipment, and to pre-allocate resources based on the reconciliation results and resource requirements in the preset business model.
[0080] The second data reconciliation module 530 is used to pause other resource pre-allocation processes and, during the pause, perform a second reconciliation of the incremental data of the resources involved in the controller and equipment to correct the resource pre-allocation results.
[0081] The first judgment module 540 is used to determine whether the resources in the resource pool contain the pre-allocated resources included in the resource pre-allocation result. If so, then execute...
[0082] The distribution module 550 is used to divide the pre-allocated resources into pre-configured resources and distribute them, thereby completing automatic management.
[0083] In one embodiment, the business model creation module 510 is specifically used to create configuration templates for different devices under different services; construct business units based on the characteristics of different devices under different services, and each business unit includes the resource requirements under the current configuration template; and obtain a business model by combining the configuration templates and business units.
[0084] In one embodiment, the automatic management device further includes a second judgment module, used to determine whether the device to be managed meets the requirements of a preset business model. If not, the management process is exited and an error is reported; if yes, the resource pool resources meet the requirements of the preset business model. If not, the management process is exited and an error is reported; if yes, the resource data involved in the controller and the device are reconciled for the first time.
[0085] In one embodiment, the first judgment module 540 is further configured to determine whether the resource pool resources have pre-allocated resources included in the resource pre-allocation result; if not, the management process is stopped and all previously pre-allocated resources are reclaimed.
[0086] In one embodiment, the automatic management device further includes a third data reconciliation module for performing a third reconciliation of the final data of the resources involved in the controller and equipment.
[0087] In one embodiment, a computer device is provided, which may be a smart terminal, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements an automatic management method.
[0088] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0089] In one embodiment, a computer device includes a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps in the above-described method embodiments. In another embodiment, a computer storage medium stores a computer program, the computer program being executed by a processor to implement the steps in the above-described method embodiments.
[0090] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.
[0091] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0092] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0093] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. An automatic pipe installation method, characterized in that, The method includes: A preset business model is provided, which includes the resource requirements of different devices under the current business. The resource data related to the controller and equipment is reconciled for the first time, and resources are pre-allocated based on the reconciliation results and the resource requirements in the preset business model. Suspend other resource pre-allocation processes, and during the suspension process, perform a second reconciliation of the incremental data of the resources involved in the controller and equipment, and correct the resource pre-allocation results; Determine whether the resources in the resource pool have pre-allocated resources included in the resource pre-allocation results. If so, divide the pre-allocated resources into pre-configured resources and distribute them to complete automatic management.
2. The automatic pipe installation method according to claim 1, characterized in that, The business model also includes the relationship between the resource pool and gateway group under the current business, the required devices, and the configuration ports required for the devices.
3. The automatic pipe installation method according to claim 2, characterized in that, The preset business model includes: Create configuration templates for different devices under different services; Business units are constructed based on the characteristics of different devices under different services, and the business units include the resource requirements under the current configuration template. The business model is obtained by combining the configuration template and the business unit.
4. The automatic pipe installation method according to claim 3, characterized in that, The initial reconciliation of resource data related to the controller and devices includes, prior to: Determine whether the required network equipment meets the requirements of the preset business model; if not, then... Exit the management process and report an error; if so, then Determine whether the resources in the resource pool meet the requirements of the preset business model; if not, then... Exit the management process and report an error; if so, then The first reconciliation of resource data related to controllers and equipment is conducted.
5. The automatic pipe installation method according to claim 4, characterized in that, The method further includes: Determine whether the resource pool has pre-allocated resources included in the resource pre-allocation result. If not, stop the management process and reclaim all previously pre-allocated resources.
6. The automatic pipe connection method according to claim 5, characterized in that, The process of dividing the pre-allocated resources into pre-configured resources and distributing them further includes: A third reconciliation of the final data for the resources involved in the controller and equipment.
7. An automatic pipe-laying device, characterized in that, The device includes: The business model creation module is used to preset a business model, which includes the resource requirements of different devices under the current business. The first data reconciliation module is used to perform the first reconciliation of the resource data involved in the controller and equipment, and to pre-allocate resources based on the reconciliation results and the resource requirements in the preset business model. The second data reconciliation module is used to pause other resource pre-allocation processes and, during the pause, perform a second reconciliation of the incremental data of the resources involved in the controller and equipment to correct the resource pre-allocation results. The first judgment module is used to determine whether the resources in the resource pool contain the pre-allocated resources included in the resource pre-allocation result. If so, then... The distribution module is used to divide pre-allocated resources into pre-configured resources and distribute them, thereby completing automatic management.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data reconciliation decision-making method and device, server and storage medium
CN110458681A
General account checking system and method, computer equipment and storage medium
CN114648397A