CN114650319A - Resource migration method, device, server and storage medium - Google Patents

Resource migration method, device, server and storage medium Download PDF

Info

Publication number
CN114650319A
CN114650319A CN202011497631.0A CN202011497631A CN114650319A CN 114650319 A CN114650319 A CN 114650319A CN 202011497631 A CN202011497631 A CN 202011497631A CN 114650319 A CN114650319 A CN 114650319A
Authority
CN
China
Prior art keywords
resource
migration
service
resources
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011497631.0A
Other languages
Chinese (zh)
Other versions
CN114650319B (en
Inventor
蔡铁炯
朱立坤
高耀飞
何兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011497631.0A priority Critical patent/CN114650319B/en
Publication of CN114650319A publication Critical patent/CN114650319A/en
Application granted granted Critical
Publication of CN114650319B publication Critical patent/CN114650319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device, a server and a storage medium for resource migration, wherein the method comprises the following steps: receiving first information; the first information is used for indicating a first resource to be migrated; determining at least one first service using the first resource according to the first information; confirming to perform the migration of the first resource in a case where the first resource includes all of the second resources; wherein the second resource is all resources used by the at least one first service.

Description

Resource migration method, device, server and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a server, and a storage medium for resource migration.
Background
In the related art, the integrated resource management system is an integrated management system for spatial resources, physical resources, logical resources and services of a communication network. When the computer room is migrated on the comprehensive resource management system, the service carried by the resource needs to be manually investigated, and the problem of low resource migration efficiency exists.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method, an apparatus, a server, and a storage medium for resource migration, so as to at least solve the problem of low efficiency in resource migration in the related art.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a method for resource migration, which comprises the following steps:
receiving first information; the first information is used for indicating a first resource to be migrated;
determining at least one first service using the first resource according to the first information;
confirming to perform the migration of the first resource in a case where the first resource includes all of the second resources; wherein the second resource is all resources used by the at least one first service.
An embodiment of the present application further provides a device for resource migration, including:
a first receiving unit for receiving first information; the first information is used for indicating a first resource to be migrated;
a first determining unit, configured to determine, according to the first information, at least one first service using the first resource;
a first execution unit configured to confirm that migration of the first resource is performed when the first resource includes all of the second resources; wherein the second resource is all resources used by the at least one first service.
An embodiment of the present application further provides a server, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute the steps of the resource migration method when running the computer program.
The embodiment of the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for resource migration.
In the embodiment of the application, first information used for indicating a first resource to be migrated is received, at least one first service using the first resource is determined according to the first information, all resources used by the at least one first service are determined to be second resources, and the migration of the first resource is confirmed to be executed under the condition that the first resource to be migrated includes all the second resources. Therefore, by confirming the associated service of the resource migration, the manual investigation of the service borne by the resource and the confirmation of all the resources used by the service borne by the resource are not needed, and the resource migration efficiency is improved.
Drawings
FIG. 1 is a flow chart illustrating a method of resource migration in the related art;
fig. 2 is a schematic view of a resource relationship provided in an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for resource migration according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a method for resource migration according to an embodiment of the present application;
fig. 5 is a schematic interface diagram of a migration application of resource migration according to an embodiment of the present application;
FIG. 6 is a schematic interface diagram of another migration application for resource migration according to an embodiment of the application;
FIG. 7 is a schematic interface diagram of another migration application for resource migration according to an embodiment of the present application;
FIG. 8 is a schematic interface diagram of another migration application for resource migration according to an embodiment of the application;
FIG. 9 is a schematic diagram of an interface of migration auditing of resource migration according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an interface for post-migration resource adjustment of resource migration according to an embodiment of the present application;
FIG. 11 is a system architecture diagram of resource migration according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an apparatus for resource migration according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
At present, the resource migration process of the integrated resource management system is as follows: the method comprises the steps of creating a resource migration task, evaluating the resource migration task, and manually confirming whether a service is opened on a resource on a system. For the resources with services opened, it is necessary to manually confirm whether all the resources associated with the relevant services are migrated at this time, which causes a problem of low efficiency in migrating resources. Moreover, if a part of resources associated with the service is not in the migration range, all the resources associated with the service cannot be migrated, so that the number of migration resources is limited.
Based on this, in various embodiments of the present application, first information for determining resources to be migrated is received, at least one first service using the first resources is determined according to the first information, all resources used by each first service are determined to be second resources according to the at least one first service, and in a case where the first resources to be migrated include all the second resources, it is determined to perform migration of the first resources. Therefore, when the machine room is migrated on the comprehensive resource management system, the system confirms the associated service of the migrated resource, the service carried by the resource does not need to be manually investigated, and the efficiency of migrating the resource is improved. Meanwhile, all resources related to the resource associated service to be migrated are migrated together, so that the migration bearer service is supported to be the resource in an open state, and more migratable target objects are supported.
Fig. 2 is a schematic diagram of a resource relationship provided in an embodiment of the present application. The port ID of the port object corresponding to the resource can be associated to the optical path and the circuit object, and the first service carried by the optical path and the circuit object can be determined according to the service field and the service field, wherein the service field is carried by the optical path and the circuit object; therefore, by the above method, the system can determine the associated service which needs to use the resource to be migrated according to the information of the site, the resource, the port, the optical circuit and the like where the resource is located. Moreover, the system can further determine all associated resources required to be used by the associated service of the resource to be migrated through the association relationship between the resource and the port ID, that is, the relationship between the resource to be migrated, the associated service and the associated resource is determined.
Similarly, the rack to which the equipment object belongs is identified by a rack field, the rack position to which the rack object belongs is identified by a rack position field, the machine room to which the rack position object belongs is identified by a machine room field, and the site to which the machine room belongs is identified by a site field.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 3 is a schematic flow chart of an implementation of a method for resource migration according to an embodiment of the present application, as shown in fig. 3, the method for resource migration includes:
step 301: first information is received.
Wherein the first information is used for indicating a first resource to be migrated.
In this embodiment, first information characterizing a first resource is received, where the first resource represents a resource to be migrated and is input by a user, the first information includes a resource name and a resource ID in a source machine room, and the resource includes each device, a network element, and the like. Here, the execution subject may be a server, or may be a terminal or other device.
In practical application, according to the types of wireless, internal transmission line, public, external transmission line, client-side service equipment and the like, a graphical interface presents resources to be selected in a tree form, and a user inputs first information by selecting a check box in the graphical interface or by inputting a resource name and/or a resource ID.
Step 302: determining at least one first service using the first resource according to the first information.
And determining at least one first service which needs to be realized by using the first resource indicated by the first information according to the received first information, namely the first service needs to be realized by using the first resource. Here, at least one first service implemented using the first resource indicated by the first information is determined, where the determination may be that the first service associated with the first resource is selected by a user, or that the first service associated with the first resource is determined according to the first information; the determined first service may be part or all of all services that need to be implemented using the first resource.
Here, the port ID of the port object corresponding to the resource may be associated to the optical path and the circuit object, and the first service carried by the optical path and the circuit object may be determined according to the service field and the service field carried by the optical path and the circuit object; therefore, through the above method, the system can determine the associated service needing to be used for the resource to be migrated according to the information of the site where the resource is located, the resource, the port, the optical circuit and the like. Moreover, the system can further determine all associated resources required to be used by the associated service of the resource to be migrated through the association relationship between the resource and the port ID, that is, the relationship between the resource to be migrated, the associated service and the associated resource is determined.
Step 303: confirming to perform the migration of the first resource if the first resource includes all of the second resources.
Wherein the second resource is all resources used by the at least one first service.
Determining all resources related to each first service in at least one first service, namely determining second resources, according to each first service in at least one first service, judging whether the received first resources comprise all the second resources, and executing migration of the first resources under the condition that the first resources comprise all the second resources. For example, the first information indicates that the resources to be migrated are three first resources, i.e., a first resource, a second resource, and a third resource, the first service determined according to the first information is a, and all the resources associated with the first service a, i.e., the second resources, are two resources, i.e., a resource a and a third resource, and if the first resources include all the second resources, the migration of the first resources, i.e., the first resources, the second resources, and the third resources is executed. The method can determine the resources directly or indirectly associated with the services associated with the resources to be migrated, and migrate the devices associated with the services together, thereby supporting the migration of the resources with the bearer services in an open state, without the need of closing the services borne by the resources, and supporting more migratable target objects.
Wherein, in an embodiment, the method further comprises:
in the event that the first resource does not include a portion of the second resource, outputting a first prompt; the first prompt is used for prompting the migration of the part of the second resource;
receiving a first response to the first prompt; the first response is to confirm that the portion of the second resource was migrated;
confirming, based on the first response, that the migration of the first resource and the portion of the second resource is performed.
The method comprises the steps of determining all resources used by each first service in at least one first service, namely determining second resources, judging whether the received first resources indicated by first information include all the second resources, outputting a first prompt for prompting a user of unselected partial associated resources when the first resources do not include partial second resources, confirming to migrate the partial second resources which are not included in the first resources by the user when receiving a first response about the first prompt, confirming to execute migration of the first resources and the second resources based on the first response, and confirming to execute migration of all the resources associated with the first service at this time. Therefore, the user does not need to input the first information again, and the efficiency of resource migration in the integrated resource management system is improved by confirming the service related resources which are provided by migration and are not input.
For example, the resource to be migrated indicated by the first information is three first resources, i.e., a first resource, i.e., a first service, a determined by the first information is a, and all resources associated with the first service a, i.e., second resources, i.e., four resources, i.e., a resource, i.e., a resource, is not included in the first resource, but is migrated, and then "is output" is not migrated? "receiving a first response to the prompt, indicating that the user confirms to execute the resource migration, and confirming to execute the migration of the first resource and the second resource based on the first response, namely the migration of the four resources, i.e. the resource migration of a, b, c and t.
In addition, the first response may also be used to confirm that resources other than the first resource and the second resource are migrated, so that the user may increase resources to be migrated according to the service needs, and may confirm to execute the migration of the corresponding resource based on the first response.
Because the situation of the integrated machine room relates to resources such as various devices and network elements, the resources are various and large in quantity, the service borne by the resources is complex, and the user needs to manually investigate the service borne by the resources when inputting the first information, which is difficult. In an embodiment, after determining at least one first service using the first resource according to the first information, the method further includes:
outputting a second prompt; the second prompt is to prompt for information about the second resource.
Here, after determining at least one first service associated with the first resource indicated by the first information according to the received first information, outputting a prompt of all resources associated with each first service in the at least one first service, for prompting a user of all resource information associated with the at least one first service. Therefore, all resource information related to the first information related service can be obtained without manually surveying the service borne by the resource by the user, and the efficiency of resource migration in the integrated resource management system is improved.
In addition, when the first resource has the service to be handled, if the first resource is directly migrated without considering the service to be handled, the transaction of the service needs to be performed after the migration is completed, and the user waits too long for the service transaction time, so that the migration planning mode for directly migrating the first resource without considering the service to be handled is not reasonable enough, and the user experience is influenced. In an embodiment, the confirming performs the migration of the first resource, including:
determining whether the first resource has a pending service;
and under the condition that the first resource has the business to be handled, confirming to execute the migration of the first resource after the business to be handled is finished.
Here, by determining whether the first resource has pending business through verification, the first resource migration may be performed in the case of no pending business, and the migration of the first resource may be performed after the pending business is ended in the case of pending business. Therefore, the time of waiting for service handling by the user can be shortened, the resource migration planning mode is more reasonable, and the user experience is improved.
In an embodiment, the ending the to-do service includes:
the service to be handled is completed; and/or the presence of a gas in the gas,
and canceling the service to be handled.
Here, it is determined whether the first resource has pending business through verification, and in the case that the first resource has pending business, the migration of the first resource is confirmed to be executed after the pending business is completed and/or cancelled. As the to-do service of some resources can be completed quickly, if the user network broadband is opened, the migration of the first resource is confirmed to be executed after the to-do service is completed; the business to be handled of some resources needs to wait for a long time, so that the business to be handled of the resources can be cancelled, and whether the business to be handled is continuously handled or not is determined after the migration; moreover, because the first resource includes at least one resource, it is possible to wait for a part of the pending services of the first service to be completed and cancel the rest of the pending services as needed.
In an embodiment, after the confirming performs the migration of the first resource, the method further comprises:
updating a network parameter of the first resource; the network parameters include at least one of:
a rack location to which the first resource belongs;
a machine room to which the first resource belongs;
a circuit name of a circuit where the first resource is located;
and the name of the optical path where the first resource is located.
After the migration of the first resource is confirmed to be executed, the system checks whether resource equipment in the target machine room is on-shelf or not and whether the position of the rack to which the first resource belongs is updated or not, and changes the attributive space information of the resource through the resources such as the equipment and the network element which are on-shelf and migrated, so that the network parameter of the migrated first resource is updated, namely the network parameter corresponding to the first resource is updated, wherein the network parameter comprises the position of the rack to which the first resource belongs, the machine room to which the first resource belongs, the circuit name of the circuit where the first resource is located and/or the optical path name of the optical path where the first resource is located. Therefore, the system can automatically update the information corresponding to the migrated resources, realize the end-to-end closed-loop management of the resources and improve the accuracy of the resources.
Here, the rack to which the device object belongs is identified by a rack field, the rack position to which the rack object belongs is identified by a rack position field, the machine room to which the rack position object belongs is identified by a machine room field, and the site to which the machine room belongs is identified by a site field, so that the device object can be associated with the machine room and the site where the device is located through the fields.
In an embodiment, after the performing the migration of the first resource, the method further comprises:
the routing information of the first resource is modified.
The machine frame to which the equipment object belongs is identified through a machine frame field, the machine frame position to which the machine frame object belongs is identified through a machine frame position field, the machine room to which the machine frame position object belongs is identified through a machine room field, and the station to which the machine room belongs is identified through a station field.
In an embodiment, the confirming performs the migration of the first resource, including:
outputting a third prompt; the third prompt is used for prompting that the migration of the first resource is to be performed;
confirming to perform the migration of the first resource in a case where a second response regarding the third prompt is received; the second response indicates confirmation to perform the migration of the first resource.
And outputting a third prompt for prompting that the migration of the first resource is to be performed, wherein the second response indicates that the execution of the migration of the first resource is confirmed, and the migration of the first resource is executed after the second response about the third prompt is received. Here, the third prompt includes attribute information of the resource before and after migration, a verification result of the pending service, and/or attribute information of the associated resource, and by providing comparison of resource data before and after migration, a data basis can be provided for evaluating influence possibly caused by resource migration. The prompt object of the third prompt may be the user who inputs the first information, or may be another auditor.
Therefore, the comparison of the resource data before and after the migration is provided, so that a user or a verifier can conveniently judge the influence of the migration, and the efficiency of resource migration in the comprehensive resource management system is improved.
The present application will be described in further detail with reference to the following application examples.
With reference to fig. 4, in the corresponding resource migration method, the machine room migration process includes: migration application (selecting migration resources), migration audit, resource adjustment after migration, and filing.
And (3) migration application: filling and modifying the main body information of the service order, including the title of the service order, the required completion time and other contents; the selection of migration data and the migration verification are completed, and the function point list is shown in table 1.
TABLE 1
Figure BDA0002842660350000091
As shown in fig. 5, an interface diagram of a migration application for resource migration is shown, where information to be filled in during the migration application is as follows:
the basic information of the business order comprises a business order theme, an order dispatching department, an order dispatching person, a contact way, order dispatching time, acceptance time limit, processing time limit, finishing time and remarks.
Information of a source machine room and a target machine room: machine room name, machine room ID.
Presenting equipment (network element) under a source machine room: device (network element) name, device (network element) ID. The graphical interface presents the resources to be selected in a tree form according to the types of wireless, internal transmission line, public, external transmission line and client-side service equipment, and the user selects the resources through a check box or inputs the equipment name and/or the resource ID.
Selecting the fusion migration, and the equipment in the same machine room can be connected without disconnecting the jumping fiber and the like; if the cutover migration is selected, the devices are independently cutover, and all connections of the migrated devices need to be disconnected.
And selecting equipment needing to be migrated according to the resource type, clicking 'resource selection', and entering a resource utilization selection interface. Clicking determines that the selected device data is presented in the list.
Clicking on the "migration resource preview verification" can verify the selected migration device and the associated device.
As shown in fig. 6 to 8, another interface diagram of a migration application for resource migration is shown, where the information previewed in the process of the migration application is as follows:
and previewing the information of each selected resource.
And verifying the information of the in-transit service order, judging whether the service is to be processed or not, prompting that the next step cannot be carried out if the service is to be processed, and directly submitting the service to the next step if the service is not to be processed.
And acquiring fiber jumping and fiber core connection data of the resources to be migrated, wherein the migration equipment can know other associated equipment through the association relationship (fiber jumping or wire jumping) of the equipment port, so that the system can know all the equipment directly or indirectly associated with the equipment, and the equipment can enter a main page to be submitted after no problem exists.
Migration and audit: migrating and checking the service bill information and the migration data information which are presented and responded; the selected information is checked and presented, and the migration fusion check box is consistent and not selectable with the application; the review may view attribute information of the resource before and after the migration, the verification result of the pending service, and/or attribute information of the associated resource, such as another migration review interface diagram for resource migration shown in fig. 9.
Resource adjustment after migration: and after the migration, the equipment is re-mounted, the attributive space information of the resources is changed through the resources such as the equipment and the network elements after the migration, the machine room to which the equipment belongs is determined through the position field of the rack to which the equipment belongs and the existing position of the rack, and therefore the equipment is associated with the machine room to which the equipment belongs. FIG. 10 is a schematic diagram of another post-migration resource adjustment interface for resource migration.
As shown in fig. 11, the system architecture of resource migration is divided into four layers, which are a presentation layer, a service layer, a business logic layer, and a data access layer. The front end is a presentation layer in the whole architecture system, and the back end is divided into a service layer, a business logic layer and a data access layer in the whole architecture system. And the system layering mode fully realizes low coupling, standardized implementation, logic layer multiplexing, strong expansibility, high safety, convenient maintenance and the like of the system.
In order to implement the method according to the embodiment of the present application, an embodiment of the present application further provides a device for resource migration, and as shown in fig. 12, the device includes:
a first receiving unit 1201 for receiving first information; the first information is used for indicating a first resource to be migrated;
a first determining unit 1202, configured to determine, according to the first information, at least one first service using the first resource;
a first executing unit 1203, configured to confirm that migration of the first resource is executed when the first resource includes all the second resources; wherein the second resource is all resources used by the at least one first service.
Wherein, in one embodiment, the apparatus further comprises:
a first output unit, configured to output a first prompt when the first resource does not include a part of the second resource; the first prompt is used for prompting the migration of the part of the second resource;
a second receiving unit, configured to receive a first response regarding the first prompt; the first response is to confirm that the portion of the second resource was migrated;
a second execution unit to confirm execution of the migration of the first resource and the portion of the second resource based on the first response.
In one embodiment, the apparatus further comprises:
a second output unit for outputting a second prompt; the second prompt is to prompt for information regarding the second resource.
In one embodiment, the apparatus further comprises:
an updating unit, configured to update a network parameter of the first resource; the network parameters include at least one of:
a rack location to which the first resource belongs;
a machine room to which the first resource belongs;
a circuit name of a circuit where the first resource is located;
and the name of the optical path where the first resource is located.
In an embodiment, the first executing unit 1203 is configured to:
determining whether the first resource has a pending service;
and under the condition that the first resource has the business to be handled, confirming to execute the migration of the first resource after the business to be handled is finished.
In one embodiment, the ending the to-do service includes:
the service to be handled is completed;
and/or the presence of a gas in the gas,
and canceling the service to be handled.
In an embodiment, the first executing unit 1203 is configured to:
outputting a third prompt; the third prompt is used for prompting that the migration of the first resource is to be performed;
confirming to perform the migration of the first resource in a case where a second response regarding the third prompt is received; the second response indicates confirmation of execution of the migration of the first resource.
In practical applications, the first receiving unit 1201, the second receiving unit, and the second outputting unit may be implemented by a communication interface in the device based on resource migration, the first determining unit 1202, the second executing unit, and the updating unit may be implemented by a processor in the device based on resource migration, and the first executing unit 1203 and the first outputting unit may be implemented by a processor in the device based on resource migration in combination with the communication interface.
It should be noted that: in the resource migration apparatus provided in the foregoing embodiment, only the division of each program module is described as an example when performing resource migration, and in practical applications, the processing allocation may be completed by different program modules as needed, that is, the internal structure of the apparatus may be divided into different program modules to complete all or part of the processing described above. In addition, the resource migration apparatus and the resource migration method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Based on the hardware implementation of the program module, and in order to implement the method for resource migration in the embodiment of the present application, an embodiment of the present application further provides a server, as shown in fig. 13, where the server 1300 includes:
a communication interface 1310 capable of interacting with other devices, such as network devices and the like;
the processor 1320 is connected to the communication interface 1310 to implement information interaction with other devices, and is configured to execute the method provided by one or more of the above technical solutions when the computer program runs. And the computer program is stored on the memory 1330.
Specifically, the communication interface 1310 is configured to:
receiving first information; the first information is used for indicating a first resource to be migrated; the processor 1320 is configured to:
determining at least one first service using the first resource according to the first information;
confirming to perform the migration of the first resource in a case where the first resource includes all of the second resources; wherein the second resource is all resources used by the at least one first service.
Wherein, in one embodiment, the communication interface 1310 is configured to:
in the event that the processor 1320 determines that the first resource does not include a portion of the second resource, outputting a first prompt; the first prompt is used for prompting the migration of the part of the second resource;
receiving a first response to the first prompt; the first response is to confirm that the portion of the second resource was migrated;
the processor 1320 is configured to:
confirming, based on the first response, that the migration of the first resource and the portion of the second resource is performed.
In one embodiment, the communication interface 1310 is configured to:
outputting a second prompt; the second prompt is to prompt for information about the second resource.
In one embodiment, the processor 1320 is configured to:
updating a network parameter of the first resource; the network parameters include at least one of:
a rack location to which the first resource belongs;
a machine room to which the first resource belongs;
a circuit name of a circuit where the first resource is located;
and the name of the optical path where the first resource is located.
In one embodiment, the processor 1320 is configured to:
determining whether the first resource has a pending service;
and under the condition that the first resource has the business to be handled, confirming to execute the migration of the first resource after the business to be handled is finished.
In one embodiment, the ending the to-do service includes:
the service to be handled is completed;
and/or the presence of a gas in the gas,
and canceling the service to be handled.
In one embodiment, the communication interface 1310 is configured to:
outputting a third prompt; the third prompt is used for prompting that the migration of the first resource is to be performed;
the processor 1320 is configured to:
confirming to perform the migration of the first resource if the communication interface 1310 receives a second response to the third prompt; the second response indicates confirmation to perform the migration of the first resource.
Of course, in practice, the various components in the server 1300 are coupled together by a bus system 1340. It is understood that the bus system 1340 serves to enable communications among the components connected. The bus system 1340 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in FIG. 13 as the bus system 1340.
The memory 1330 in embodiments of the present application is used to store various types of data to support the operation of the server 1300. Examples of such data include: any computer program for operating on server 1300.
It will be appreciated that the memory 1330 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 1330 described in embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be implemented in the processor 1320 or implemented by the processor 1320. Processor 1320 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 1320. The processor 1320 may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 1320 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 1330, and the processor 1320 reads the program from the memory 1330 and performs the steps of the aforementioned methods in conjunction with its hardware.
Optionally, when the processor 1320 executes the program, the corresponding process implemented by the server in each method according to the embodiment of the present application is implemented, and details are not described herein for brevity.
In an exemplary embodiment, the present application further provides a storage medium, specifically a computer storage medium, for example, a memory 1330 storing a computer program, which can be executed by the processor 1320 of the electronic device to complete the steps of the method described above. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, electronic device and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media capable of storing program code.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict. Unless otherwise specified and limited, the term "coupled" is to be construed broadly, e.g., as meaning electrical connections, communications between two elements, direct connections, indirect connections through intermediary media, and the like, as well as the specific meaning of the terms as used herein.
In addition, in the examples of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order. It should be understood that "first \ second \ third" distinct objects may be interchanged under appropriate circumstances such that the embodiments of the application described herein may be implemented in an order other than those illustrated or described herein.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Various combinations of the specific features in the embodiments described in the detailed description may be made without contradiction, for example, different embodiments may be formed by different combinations of the specific features, and in order to avoid unnecessary repetition, various possible combinations of the specific features in the present application will not be described separately.

Claims (10)

1. A method of resource migration, the method comprising:
receiving first information; the first information is used for indicating a first resource to be migrated;
determining at least one first service using the first resource according to the first information;
confirming to perform the migration of the first resource in a case where the first resource includes all of the second resources; wherein the second resource is all resources used by the at least one first service.
2. The method for resource migration according to claim 1, wherein the method further comprises:
in the event that the first resource does not include a portion of the second resource, outputting a first prompt; the first prompt is used for prompting a second resource of the migration part;
receiving a first response to the first prompt; the first response is to confirm that the second resource of the portion was migrated;
confirming, based on the first response, that the migration of the first resource and the portion of the second resource is to be performed.
3. The method of claim 1, wherein after determining at least one first service using the first resource according to the first information, the method further comprises:
outputting a second prompt; the second prompt is to prompt for information about the second resource.
4. The method of resource migration according to claim 1, wherein after the confirming the execution of the migration of the first resource, the method further comprises:
updating a network parameter of the first resource; the network parameters include at least one of:
a rack location to which the first resource belongs;
a machine room to which the first resource belongs;
a circuit name of a circuit where the first resource is located;
and the name of the optical path where the first resource is located.
5. The method of resource migration according to claim 1, wherein said confirming that the migration of the first resource is performed comprises:
determining whether the first resource has a pending service;
and under the condition that the first resource has the business to be handled, confirming to execute the migration of the first resource after the business to be handled is finished.
6. The method for resource migration according to claim 5, wherein the waiting for the pending service to end comprises:
the service to be handled is completed; and/or the presence of a gas in the gas,
and canceling the service to be handled.
7. The method of resource migration according to claim 1, wherein said confirming that the migration of the first resource is performed comprises:
outputting a third prompt; the third prompt is used for prompting that the migration of the first resource is to be performed;
confirming to perform the migration of the first resource in a case where a second response regarding the third prompt is received; the second response indicates confirmation to perform the migration of the first resource.
8. An apparatus for resource migration, comprising:
a first receiving unit for receiving first information; the first information is used for indicating a first resource to be migrated;
a first determining unit, configured to determine, according to the first information, at least one first service using the first resource;
a first execution unit configured to confirm that migration of the first resource is performed when the first resource includes all of the second resources; wherein the second resource is all resources used by the at least one first service.
9. A server, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the method of resource migration according to any one of claims 1 to 7 when running the computer program.
10. A storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of resource migration according to any one of claims 1 to 7.
CN202011497631.0A 2020-12-17 2020-12-17 Resource migration method, device, server and storage medium Active CN114650319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011497631.0A CN114650319B (en) 2020-12-17 2020-12-17 Resource migration method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011497631.0A CN114650319B (en) 2020-12-17 2020-12-17 Resource migration method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN114650319A true CN114650319A (en) 2022-06-21
CN114650319B CN114650319B (en) 2023-11-03

Family

ID=81990977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011497631.0A Active CN114650319B (en) 2020-12-17 2020-12-17 Resource migration method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114650319B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369688A (en) * 2011-04-07 2012-03-07 华为技术有限公司 Method for adjusting resources dynamically and scheduling device
CN102750178A (en) * 2012-06-08 2012-10-24 华为技术有限公司 Virtualization management method of communication equipment hardware resources, and device related to method
CN102917025A (en) * 2012-09-21 2013-02-06 江苏乐买到网络科技有限公司 Method for business migration based on cloud computing platform
CN102955675A (en) * 2011-08-19 2013-03-06 株式会社日立制作所 Method and apparatus to improve efficiency in the use of resources in data center
CN104572179A (en) * 2014-12-19 2015-04-29 华为技术有限公司 IAAS (infrastructure as a service) software upgrading method and device
CN104615598A (en) * 2013-11-04 2015-05-13 南京中兴新软件有限责任公司 Migration processing method and device of metadata server
US20150160815A1 (en) * 2013-12-10 2015-06-11 International Business Machines Corporation Visualizing migration of a resource of a distributed computing environment
JP2016212690A (en) * 2015-05-11 2016-12-15 株式会社日立製作所 Data migration tuning device and data migration tuning method
CN106301876A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 Physical machine upgrade method, business migration method and device
CN107222891A (en) * 2017-05-25 2017-09-29 西安电子科技大学 Based on the two benches C RAN carrier wave emigration dispatching methods for improving LR algorithm
CN108874411A (en) * 2017-05-12 2018-11-23 华为技术有限公司 A kind of method and related system of system infrastructure upgrading
CN110737467A (en) * 2018-07-18 2020-01-31 中移(苏州)软件技术有限公司 service migration method and device
US20200242670A1 (en) * 2014-10-28 2020-07-30 Bau Llc Resource Utilization Management
WO2020198884A1 (en) * 2019-04-05 2020-10-08 Grass Valley Canada System and method of identifying equivalents for task completion

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369688A (en) * 2011-04-07 2012-03-07 华为技术有限公司 Method for adjusting resources dynamically and scheduling device
CN102955675A (en) * 2011-08-19 2013-03-06 株式会社日立制作所 Method and apparatus to improve efficiency in the use of resources in data center
CN102750178A (en) * 2012-06-08 2012-10-24 华为技术有限公司 Virtualization management method of communication equipment hardware resources, and device related to method
CN102917025A (en) * 2012-09-21 2013-02-06 江苏乐买到网络科技有限公司 Method for business migration based on cloud computing platform
CN104615598A (en) * 2013-11-04 2015-05-13 南京中兴新软件有限责任公司 Migration processing method and device of metadata server
US20150160815A1 (en) * 2013-12-10 2015-06-11 International Business Machines Corporation Visualizing migration of a resource of a distributed computing environment
US20200242670A1 (en) * 2014-10-28 2020-07-30 Bau Llc Resource Utilization Management
CN104572179A (en) * 2014-12-19 2015-04-29 华为技术有限公司 IAAS (infrastructure as a service) software upgrading method and device
JP2016212690A (en) * 2015-05-11 2016-12-15 株式会社日立製作所 Data migration tuning device and data migration tuning method
CN106301876A (en) * 2015-06-26 2017-01-04 中兴通讯股份有限公司 Physical machine upgrade method, business migration method and device
CN108874411A (en) * 2017-05-12 2018-11-23 华为技术有限公司 A kind of method and related system of system infrastructure upgrading
CN107222891A (en) * 2017-05-25 2017-09-29 西安电子科技大学 Based on the two benches C RAN carrier wave emigration dispatching methods for improving LR algorithm
CN110737467A (en) * 2018-07-18 2020-01-31 中移(苏州)软件技术有限公司 service migration method and device
WO2020198884A1 (en) * 2019-04-05 2020-10-08 Grass Valley Canada System and method of identifying equivalents for task completion

Also Published As

Publication number Publication date
CN114650319B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN108346028B (en) Business approval processing method, device and system
CN105005532B (en) A kind of system and method for automatic test application programming interfaces stability
EP2778929B1 (en) Test script generation system
CN105095970B (en) The execution method and system of third-party application
US20160180304A1 (en) Combined electronic payment and transfer for digital banking channels
CN105447734B (en) Order information processing method and system
CN110399383A (en) Applied to the data processing method of server, device, calculate equipment, medium
CN105814579A (en) Sandboxed application data redirection to datacenters
CN103685340B (en) Notification Method, system and cloud server that data change is applied in cloud storage
CN109656778A (en) Data capture method, device, computer equipment and storage medium
US20140304683A1 (en) Method, server and computer-readable recording media for managing metastore
CN110309099A (en) Interface managerial method, device, equipment and computer readable storage medium
CN111695876A (en) Approval process processing method, device, equipment and storage medium
CN111639927A (en) Method and system for collecting money of network cashier desk
CN107436814A (en) A kind of generation method and device of resource layout template
CN112734387A (en) Document approval method and device, electronic equipment and storage medium
CN114650319A (en) Resource migration method, device, server and storage medium
CN112651716A (en) Data processing method, device and storage medium
KR101310420B1 (en) User-definable Process-based Management System for Urban Planning and Recording Media for the Same
CN110852571A (en) House resource management method for franchisee, computer-readable storage medium, and server
CN106855821A (en) A kind of distributed transaction processing method and device
US20160371624A1 (en) Quality Control Checklist Systems and Methods
CN109213883A (en) Hazard model group's service chaining method of combination and device, terminal, storage medium
CN110348984A (en) Credit card information automation input method and relevant device under different transaction channels
CN113727217B (en) Near field communication-based electric household meter information processing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant