Machine room resource merging processing method and device, equipment and storage medium
By obtaining the associated resources of the data center, generating modification statements, and using multi-threaded processing, the problem of time-consuming and labor-intensive processes in merging data center resources was solved, achieving efficient and accurate resource migration and updates, and improving data quality and efficiency.
Patent Information
- Application Number
- CN202510879396.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-11-14
AI Technical Summary
In existing technologies, the process of merging data center resources is time-consuming, labor-intensive, and lacks coordination, making it impossible to achieve efficient, accurate, and comprehensive migration.
By acquiring the associated resources of the data centers to be merged, modification statements are generated and executed using a multi-threaded approach to perform resource merging processing, including logical rationality judgment and interference data display, and supporting a multi-level review mechanism.
It enabled efficient, accurate, and comprehensive migration of data center resources, shortened data update time, improved data update efficiency and quality, reduced manual processing errors, and lowered labor costs.
Smart Images

Figure CN120950231A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication network operation and maintenance technology, and in particular to a method, apparatus, equipment and storage medium for merging data center resources. Background Technology
[0002] Currently, the integrated resource management system effectively supports various production and operation activities, such as the construction of wireless base stations, the laying and transmission of basic resources for transmission pipelines, and the network access of core network equipment, through the full lifecycle management of various network resources including spatial location, wireless, and transmission. These production scenarios involve the processing of a large amount of resource data and business process data. All data needs to be managed based on spatial location (including sites, data centers, and resource points). If spatial resources contain errors or redundancies, especially data center information, then all equipment and business information related to the data center will be incorrect, affecting various data group performance indicators and indirectly impacting costs and settlements.
[0003] During the process of merging data center resources, due to the characteristics of related resources spanning multiple disciplines, involving numerous business processes, and having a wide impact, the traditional manual data correction method involves correcting data from multiple disciplines and coordinating the work of personnel from multiple departments. This includes each department having to go through resource adjustment processes, errata correction processes, and photoelectric adjustment processes to complete the correction of relevant resource and business data before the relevant data can be completely migrated to the correct data center. This traditional approach is time-consuming, labor-intensive, and suffers from poor coordination and incomplete migration. Therefore, there is an urgent need for a solution that can efficiently, accurately, and comprehensively migrate data center resources. Summary of the Invention
[0004] This invention provides a method, apparatus, equipment, and storage medium for merging and processing data center resources, which addresses the shortcomings of existing technologies in achieving efficient, accurate, and comprehensive migration of data center resources, thereby enabling efficient, accurate, and comprehensive migration of data center resources.
[0005] This invention provides a method for merging data center resources, including: At least two data centers to be merged are identified, and the associated resources of each of the data centers to be merged are also identified; wherein the data centers to be merged belong to different sites. The data to be updated is determined based on the associated resources of the data center. Based on the data to be updated and the associated resources of the data center, a modification statement is generated, and resource merging is performed based on the modification statement.
[0006] According to a data center resource merging processing method provided by the present invention, the step of determining the data to be updated based on the associated data center resources includes: Analyze the association between each of the data centers to be merged and the corresponding associated resources of the data centers, and generate a configuration table based on the association; The associated resource data table is determined based on the configuration table, and the data in the associated resource data table is inserted into the affected resource table; According to the data adjustment rules, the data to be updated is determined from the associated resource data table.
[0007] According to a data center resource merging processing method provided by the present invention, after inserting the data from the associated resource data table into the affected resource table, the method further includes: The data to be updated is categorized according to resource type to obtain the data to be displayed corresponding to each resource type; wherein, the resource types include space-related, wireless, transmission, environmental, home and customer-related, and business data. Determine the merging effect of the data to be displayed after resource merging processing; Based on the data to be displayed and the corresponding merging effect, a tag page for each resource type is generated.
[0008] According to a data center resource merging processing method provided by the present invention, after determining the data to be updated based on the associated data center resources, the method further includes: Based on the data to be updated, analyze whether there is any interfering data during the resource merging process; wherein, the interfering data includes data that may affect data center billing, wireless site mapping to the same data center, external line resources to be deleted, and data that may generate a list of fly-through lines; If the interference exists, the interference data will be displayed on the display page.
[0009] According to a data center resource merging method provided by the present invention, the step of generating a modification statement based on the data to be updated and the associated data center resources, and performing resource merging processing based on the modification statement, includes: Based on the data to be updated and the associated resources of the data center, generate modification statements; The modification statements are executed using a multi-threaded approach to achieve resource merging.
[0010] According to a method for merging data center resources provided by the present invention, after obtaining at least two data centers to be merged, the method further includes: Perform a logical rationality assessment on each of the aforementioned computer rooms to be merged; Based on the result of the logical rationality judgment, a corresponding prompt operation is generated and executed.
[0011] According to a method for merging data center resources provided by the present invention, the step of performing a logical rationality judgment on each of the data centers to be merged includes: If the site to which the data center to be merged belongs exists as a data center, obtain the location information of the data center to be merged, and calculate the location distance deviation of the data center to be merged based on the location information; If the location distance deviation is less than or equal to the distance threshold, the sites belonging to the data centers to be merged will be merged.
[0012] The present invention also provides a data center resource merging and processing device, comprising: The acquisition module is configured to acquire at least two data centers to be merged, and to acquire the associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites; The first determining module is configured to determine the data to be updated based on the associated resources of the data center. The resource merging processing module is configured to generate modification statements based on the data to be updated and the data center associated resources, and to perform resource merging processing based on the modification statements.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the data center resource merging processing method described above.
[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the data center resource merging processing method described above.
[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the data center resource merging processing method described above.
[0016] The present invention provides a method, apparatus, equipment, and storage medium for merging data center resources. It acquires at least two data centers to be merged and their associated resources. During the merging of these associated resources, certain data within them also needs to be updated. The method determines the data to be updated based on the associated resources and generates modification statements for various types of data and associated resources in batches. This allows for a one-click full update of all information related to resource ownership or associated spatial information, minimizing data update time, improving data update efficiency and quality, and achieving efficient, accurate, and comprehensive migration of data center resources. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the data center resource merging processing method provided by the present invention.
[0019] Figure 2 This is a schematic diagram of the data center associated resources provided by the present invention.
[0020] Figure 3 This is a schematic diagram of the structure of the data center resource merging and processing device provided by the present invention.
[0021] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0023] The following is combined with Figures 1-4 This invention describes a method, apparatus, equipment, and storage medium for merging data center resources.
[0024] The data involved in this invention (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data that have been fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0025] Figure 1 This is a flowchart illustrating a data center resource merging processing method according to an exemplary embodiment. For example... Figure 1 As shown in an exemplary embodiment, the data center resource merging processing method includes steps 110 to 130, which are described in detail below.
[0026] Step 110: Obtain at least two data centers to be merged, and obtain the associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites.
[0027] In this embodiment of the invention, a data center resource merging processing system is provided, which can execute data center resource merging processing methods. The system includes a page displaying sites and data centers, providing the ability to query and add existing data centers. It supports selecting data centers as to be merged based on information such as city / prefecture level. Furthermore, it determines whether the sites to which the data centers belong are the same based on their association with the sites. Resource merging can only proceed if the sites to which the data centers belong are different.
[0028] In this embodiment of the invention, all the data centers to be merged may belong to different sites, or some of the data centers may belong to the same site while others belong to different sites. When merging resources, a target data center needs to be determined from the data centers to be merged. That is, the resources of other data centers to be merged are merged into the target data center. The target data center may be designated by relevant personnel or determined by the system based on the amount of data consumed in the resource merging process.
[0029] Specifically, any data center to be merged is taken as the target data center for merging. The amount of data consumed by merging resources from other data centers to be merged into the target data center is calculated. The amount of data corresponding to each data center to be merged as the target data center is counted. The target data center with the smallest amount of data after the count is selected as the final target data center for merging.
[0030] In another embodiment of the present invention, the data centers to be merged can be grouped according to their home sites. That is, data centers to be merged belonging to the same home site are divided into the same group. In each group, one data center to be merged is randomly selected as the target data center for merging. The amount of data consumed by other data centers to be merged to merge resources into the target data center for merging is calculated. The amount of data corresponding to each target data center for merging is counted. The target data center with the smallest amount of data after counting is selected as the final target data center for merging.
[0031] Based on the selected data centers to be merged, the system automatically queries the T_ROOM_MERGE_MODEL_CONFIG configuration table for the associated resources of the data centers to be merged, including the resource models configured for each data center, such as... Figure 2As shown, the data center resources are categorized by resource type into spatial resources, wireless resources, transmission resources, environmental protection resources, customer-side resources, and service data resources. Specifically, spatial resources include data centers and racks; wireless resources include BTS (Base Transceiver Station), BBU (Base Band Unit), and GNodeB (thenext Generation Node B); transmission resources include transmission network elements and external lines; environmental protection resources include environmental monitoring equipment and batteries; customer-side resources include OLT (Optical Line Terminal) and customer-side equipment; and service data resources include optical paths and circuits.
[0032] Step 120: Determine the data to be updated based on the associated resources of the data center.
[0033] In this embodiment of the invention, when merging data center associated resources, it is not simply a matter of data migration; it is also necessary to update certain data in the data center associated resources, and to determine the data to be updated based on the data center associated resources.
[0034] Step 130: Generate modification statements based on the data to be updated and the associated resources of the data center, and perform resource merging processing based on the modification statements.
[0035] In this embodiment of the invention, modification statements are generated based on the data to be updated and the associated resources of the data center, and resource merging is performed based on the modification statements.
[0036] In this embodiment of the invention, at least two data centers to be merged are obtained, and the associated resources of each data center are also obtained. When merging the associated resources, some data in the associated resources also needs to be updated. The data to be updated is determined based on the associated resources. Based on the data to be updated and the associated resources, modification statements for various data to be updated and associated resources are generated in batches. The full update of resource ownership or associated spatial information is completed in one click, which shortens the data update time to the greatest extent, improves the data update efficiency and data quality, and achieves efficient, accurate and comprehensive migration of data center resources.
[0037] In an exemplary embodiment of the present invention, determining the data to be updated based on the associated resources of the data center includes: Analyze the association between each of the data centers to be merged and the corresponding associated resources of the data centers, and generate a configuration table based on the association; The associated resource data table is determined based on the configuration table, and the data in the associated resource data table is inserted into the affected resource table; According to the data adjustment rules, the data to be updated is determined from the associated resource data table.
[0038] In this embodiment of the invention, based on the selected data centers to be merged, the association relationship between the data centers to be merged and the associated resources of each data center is analyzed, and a configuration table is generated. The configuration table contains resource models that involve the same data center to be merged, have their ownership attributes changed, or have their resource names changed.
[0039] A standardized impact resource table is pre-designed, as shown in List 1 below. Based on the configuration table, the associated resource data tables of each data center to be merged are queried. After matching data is found, it is inserted into the standardized impact resource table. Pre-updated data is generated according to the data adjustment rules, which include replacing the current space resource with the changed target space resource information and automatically replacing the data center name in the resource name.
[0040] Table 1
[0041] In an exemplary embodiment of the present invention, in the data center resource merging and processing system, the data centers owned by each site are associated with the resource model according to their relationship, so as to understand the associated resources of each data center.
[0042] In this embodiment of the invention, by accurately identifying the relationships between the data center to be merged and the associated resources of each data center, the resource coverage rate of the data center merger design and rectification is significantly improved, which helps to reduce the occurrence of errors and omissions in manual data processing. At the same time, based on the set data adjustment rules and automatic analysis of resource relationships, intelligent resource merging is achieved, freeing human resources from the tedious work of manual sorting and multi-headed rectification, significantly reducing the pressure on data personnel and lowering labor costs.
[0043] In an exemplary embodiment of the present invention, after inserting data from the associated resource data table into the affected resource table, the method further includes: The data to be updated is categorized according to resource type to obtain the data to be displayed corresponding to each resource type; wherein, the resource types include space-related, wireless, transmission, environmental, home and customer-related, and business data. Determine the merging effect of the data to be displayed after resource merging processing; Based on the data to be displayed and the corresponding merging effect, a tag page for each resource type is generated.
[0044] In this embodiment of the invention, the data to be updated is categorized according to resource type to obtain the data to be displayed for each resource type. The merging effect of each data to be displayed after resource merging is determined, including the changed attributes involved. Then, corresponding tabs are generated according to resource type (space engineering, wireless engineering, transmission engineering, environmental engineering, home and customer engineering, and business data), and the corresponding data to be displayed and the corresponding merging effect are displayed in each tab. It supports exporting the data displayed in each tab, which makes it convenient for each professional department to view the list of all affected resources and the pre-change status of data within its jurisdiction.
[0045] In an exemplary embodiment of the present invention, after determining the data to be updated based on the associated resources of the data center, the method further includes: Based on the data to be updated, analyze whether there is any interfering data during the resource merging process; wherein, the interfering data includes data that may affect data center billing, wireless site mapping to the same data center, external line resources to be deleted, and data that may generate a list of fly-through lines; If the interference exists, the interference data will be displayed on the display page.
[0046] In this embodiment of the invention, the impact of the resource merging operation on the data to be updated is analyzed and presented, including whether it will affect the accounting room, the issue of wireless site mapping to the same room, external line resources to be deleted, and interference data such as the generation of a list of flying wires. An indicator impact list is generated based on the interference data, and the interference data is displayed. The impact indicators and the interference data generated can be presented in a timely manner. Relevant personnel can clean up the interference data in a timely manner after the work order archive data is updated, which provides a guarantee that the key indicators are not affected.
[0047] In this embodiment of the invention, based on the list of indicators that affect the accounting room, including whether it will affect the data on the fly-through list, the person in charge is promptly reminded to intervene and process the data for each affected item in advance, which can avoid the impact of the merging operation on business indicators.
[0048] In an exemplary embodiment of the present invention, the step of generating a modification statement based on the data to be updated and the associated resources of the data center, and performing resource merging processing based on the modification statement, includes: Based on the data to be updated and the associated resources of the data center, generate modification statements; The modification statements are executed using a multi-threaded approach to achieve resource merging.
[0049] In this embodiment of the invention, by sorting out the resource list of the data centers to be merged, and generating modification statements for multiple related resource data tables in batches according to the configuration table, and executing the modification statements in a multi-threaded manner, the resources involved in the changes can be updated quickly and effectively in one go, avoiding data errors caused by manual adjustments and greatly improving the efficiency of related data updates.
[0050] In an exemplary embodiment of the present invention, after obtaining at least two data centers to be merged, the method further includes: Perform a logical rationality assessment on each of the aforementioned computer rooms to be merged; Based on the result of the logical rationality judgment, a corresponding prompt operation is generated and executed.
[0051] In this embodiment of the invention, after identifying the data centers to be merged, a logical rationality judgment is first performed on the data centers to be merged, that is, to determine whether merging resources will cause other impacts, such as affecting data center accounting. Based on the result of the logical rationality judgment, a corresponding prompt operation is generated and executed, such as reminding the operator through sound, light, electricity, pop-up windows, etc.
[0052] In an exemplary embodiment of the present invention, the step of performing a logical rationality judgment on each of the data centers to be merged includes: If the site to which the data center to be merged belongs exists as a data center, obtain the location information of the data center to be merged, and calculate the location distance deviation of the data center to be merged based on the location information; If the location distance deviation is less than or equal to the distance threshold, the sites belonging to the data centers to be merged will be merged.
[0053] In this embodiment of the invention, if the home site has only one data center, that is, the home site corresponding to the other data centers to be merged besides the target data center has only one data center, the location information of the data centers to be merged is obtained, and the location distance deviation between the other data centers to be merged and the target data center is calculated based on the location information. If the location distance deviation is less than or equal to the distance threshold, the home site of the data center to be merged is merged, that is, the home site corresponding to the other data centers to be merged is deleted.
[0054] In an exemplary embodiment of the present invention, the data center resource merging and processing system supports data export and generates corresponding signed reports. That is, it generates corresponding signed reports on data changes and impacts during the resource merging and processing process. The applicant obtains confirmation and signatures from various professional departments to ensure that the relevant data managers are aware of the scope of data impact and data changes, and uploads the signed reports to achieve filing and record keeping.
[0055] The data center resource merging system tracks the merging process and results, presenting detailed data updates and merging information on the front end. It employs a multi-level review mechanism, allowing for multi-level viewing of the data impact details and signed reports related to the merged data. Further reviews are conducted from different levels to ensure the accuracy of the intelligent data merging operation across different data centers. After completing multi-level reviews, the system archives the work order and automatically updates all pending changes to the database, completing the full data merging across different data centers.
[0056] The data center resource merging processing apparatus provided by the present invention will be described below. The data center resource merging processing apparatus described below can be referred to in correspondence with the data center resource merging processing method described above. It should be noted that the apparatus provided in the embodiments below and the method provided in the embodiments above belong to the same concept, and the specific way in which each module and unit performs operations has been described in detail in the method embodiments, and will not be repeated here.
[0057] In one exemplary embodiment of the present invention, please refer to Figure 3 , Figure 3 This is an exemplary embodiment of a data center resource merging and processing apparatus, which includes the following modules.
[0058] The acquisition module 310 is configured to acquire at least two data centers to be merged, and acquire the associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites; The first determining module 320 is configured to determine the data to be updated based on the associated resources of the computer room. The resource merging processing module 330 is configured to generate modification statements based on the data to be updated and the data center associated resources, and to perform resource merging processing based on the modification statements.
[0059] In an exemplary embodiment of the present invention, the first determining module 320 includes: The analysis submodule is configured to analyze the relationship between each of the data centers to be merged and the corresponding associated resources of the data centers, and generate a configuration table based on the relationship; The insertion submodule is configured to determine the associated resource data table based on the configuration table and insert the data from the associated resource data table into the affected resource table. The submodule is configured to determine the data to be updated from the associated resource data table based on data adjustment rules.
[0060] In an exemplary embodiment of the present invention, the data center resource merging processing method further includes: The classification processing module is configured to classify the data to be updated according to resource type to obtain the data to be displayed corresponding to each resource type; wherein, the resource types include space-related, wireless, transmission, environmental, home-related, and business data. The second determining module is configured to determine the merging effect after resource merging processing of each of the data to be displayed. The generation module is configured to generate tag pages for each of the resource types based on the data to be displayed and the corresponding merging effect.
[0061] In an exemplary embodiment of the present invention, the data center resource merging processing method further includes: The analysis module is configured to analyze whether there is interfering data during the resource merging process based on the data to be updated; wherein, the interfering data includes data that may affect data center billing, wireless site mapping to the same data center, external line resources to be deleted, and the generation of a list of fly-through lines; The display module is configured to display the interference data on the display page if it exists.
[0062] In an exemplary embodiment of the present invention, the resource merging processing module 330 includes: The generation submodule is configured to generate modification statements based on the data to be updated and the associated resources of the data center; The execution submodule is configured to use a multi-threaded approach to execute the modification statements in order to achieve resource merging processing.
[0063] In an exemplary embodiment of the present invention, the data center resource merging processing method further includes: The logical rationality judgment module is configured to perform logical rationality judgment on each of the aforementioned computer rooms to be merged; The execution module is configured to generate a corresponding prompt operation based on the result of the logical rationality judgment, and then execute the prompt operation.
[0064] In an exemplary embodiment of the present invention, the logical rationality judgment module includes: The calculation submodule is configured to obtain the location information of the data centers to be merged, and calculate the location distance deviation of the data centers to be merged based on the location information; The merge processing submodule is configured to merge the sites belonging to the computer room to be merged if the location distance deviation is less than or equal to a distance threshold.
[0065] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430, and a communication bus 440, wherein the processor 410, communications interface 420, and memory 430 communicate with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a data center resource merging processing method, which includes: acquiring at least two data centers to be merged, and acquiring the associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites. The data to be updated is determined based on the associated resources of the data center. Based on the data to be updated and the associated resources of the data center, a modification statement is generated, and resource merging is performed based on the modification statement.
[0066] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0067] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the data center resource merging processing method provided by the above methods. The method includes: acquiring at least two data centers to be merged, and acquiring the data center associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites. The data to be updated is determined based on the associated resources of the data center. Based on the data to be updated and the associated resources of the data center, a modification statement is generated, and resource merging is performed based on the modification statement.
[0068] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program is implemented to perform the data center resource merging processing method provided by the above methods. The method includes: acquiring at least two data centers to be merged, and acquiring the data center associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites. The data to be updated is determined based on the associated resources of the data center. Based on the data to be updated and the associated resources of the data center, a modification statement is generated, and resource merging is performed based on the modification statement.
[0069] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0070] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for merging and processing data center resources, characterized in that, include: At least two data centers to be merged are identified, and the associated resources of each of the data centers to be merged are also identified; wherein the data centers to be merged belong to different sites. The data to be updated is determined based on the associated resources of the data center. Based on the data to be updated and the associated resources of the data center, a modification statement is generated, and resource merging is performed based on the modification statement.
2. The method for merging and processing data center resources according to claim 1, characterized in that, The step of determining the data to be updated based on the associated resources of the data center includes: Analyze the association between each of the data centers to be merged and the corresponding associated resources of the data centers, and generate a configuration table based on the association; The associated resource data table is determined based on the configuration table, and the data in the associated resource data table is inserted into the affected resource table; According to the data adjustment rules, the data to be updated is determined from the associated resource data table.
3. The method for merging and processing data center resources according to claim 2, characterized in that, After inserting the data from the associated resource data table into the affected resource table, the method further includes: The data to be updated is categorized according to resource type to obtain the data to be displayed corresponding to each resource type; wherein, the resource types include space-related, wireless, transmission, environmental, home and customer-related, and business data. Determine the merging effect of the data to be displayed after resource merging processing; Based on the data to be displayed and the corresponding merging effect, a tag page for each resource type is generated.
4. The method for merging and processing data center resources according to claim 1, characterized in that, After determining the data to be updated based on the associated resources of the data center, the method further includes: Based on the data to be updated, analyze whether there is any interfering data during the resource merging process; wherein, the interfering data includes data that may affect data center billing, wireless site mapping to the same data center, external line resources to be deleted, and data that may generate a list of fly-through lines; If the interference exists, the interference data will be displayed on the display page.
5. The method for merging and processing data center resources according to claim 1, characterized in that, The step of generating modification statements based on the data to be updated and the associated resources of the data center, and performing resource merging processing based on the modification statements, includes: Based on the data to be updated and the associated resources of the data center, generate modification statements; The modification statements are executed using a multi-threaded approach to achieve resource merging.
6. The method for merging and processing data center resources according to any one of claims 1 to 5, characterized in that, After obtaining at least two data centers to be merged, the method further includes: Perform a logical rationality assessment on each of the aforementioned computer rooms to be merged; Based on the result of the logical rationality judgment, a corresponding prompt operation is generated and executed.
7. The method for merging and processing data center resources according to claim 6, characterized in that, The logical rationality judgment of each of the data centers to be merged includes: If the site to which the data center to be merged belongs exists as a data center, obtain the location information of the data center to be merged, and calculate the location distance deviation of the data center to be merged based on the location information; If the location distance deviation is less than or equal to the distance threshold, the sites belonging to the data centers to be merged will be merged.
8. A data center resource merging and processing device, characterized in that, include: The acquisition module is configured to acquire at least two data centers to be merged, and to acquire the associated resources of each of the data centers to be merged; wherein the data centers to be merged belong to different sites; The first determining module is configured to determine the data to be updated based on the associated resources of the data center. The resource merging processing module is configured to generate modification statements based on the data to be updated and the data center associated resources, and to perform resource merging processing based on the modification statements.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the data center resource merging processing method as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the data center resource merging processing method as described in any one of claims 1 to 7.