CN102325043B - Topology generation method, device and system - Google Patents

Topology generation method, device and system Download PDF

Info

Publication number
CN102325043B
CN102325043B CN201110203902.1A CN201110203902A CN102325043B CN 102325043 B CN102325043 B CN 102325043B CN 201110203902 A CN201110203902 A CN 201110203902A CN 102325043 B CN102325043 B CN 102325043B
Authority
CN
China
Prior art keywords
business datum
migration
business
topology
state
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.)
Expired - Fee Related
Application number
CN201110203902.1A
Other languages
Chinese (zh)
Other versions
CN102325043A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110203902.1A priority Critical patent/CN102325043B/en
Publication of CN102325043A publication Critical patent/CN102325043A/en
Application granted granted Critical
Publication of CN102325043B publication Critical patent/CN102325043B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a topology generation method, device and system which are convenient for a user to check a route change caused by service regulation. The method provided by the embodiment of the invention comprises the following steps of: if a service object in a user selection service list, input moving strategy data and an input display instruction are received, constructing moved service data according to a moving strategy and inquiring the current service data of the service object; generating a topology according to the current service data of the service object and the moved service data, and using different identifiers for the topology part generated according to the current service data and the topology part generated according to the moved service data; and displaying the generated topology.

Description

A kind of topology generates methods, devices and systems
Technical field
The present invention relates to communication technical field, particularly a kind of topology generates methods, devices and systems.
Background technology
In the network management system of communication O&M, visual topologies development rapidly; Because visual topologies employing is schemed this intuitive manner and is shown to user, thereby obtain user's approval.
In visual topologies implementation procedure, the technical scheme that topology generates is:
User selects the business object in service lists by the visualization interface of webmaster, then inputs idsplay order; Webmaster receives after the business object and idsplay order of user's selection, sends the query statement of the business datum of the above-mentioned business object of inquiry to server; Server lookup also sends the business datum of above-mentioned business object to webmaster; After webmaster receives business datum, according to business datum, generate topology; After generating topology, show the topology generating.Above-mentioned business datum comprises: network object, and network object can have: network element, interface, link etc., and the state of network object, state can have: Up, whether Down, have alarm etc.
The topology that can realize the running status of current time network by above scheme represents.User can see the topology of current network state.
In webmaster, often can carry out the operation of business migration, can cause like this change of business datum; The technical scheme of business migration is:
User selects the business object in service lists by the visualization interface of webmaster, then inputs migration strategy data and migration instruction; Webmaster receives after business object, migration strategy data and the migration instruction of user's selection, and the business datum according to after the migration of migration strategy data construct, sends the business datum after migration to server, and the business datum after foundation migration is carried out the migration of business; Server stores receives after the business datum after migration, by the service data updating of above-mentioned business object, is the business datum after moving.
From known with the technical scheme of upper topology generation and business migration: business adjustment is caused by webmaster business datum to change as user, the technical scheme user who generates by afore-mentioned topology sees it being the topology of network state after operation.Therefore, using above topology to generate scheme user cannot see because the operation of adjusting has caused the variation on which path.
Summary of the invention
The embodiment of the present invention provides a kind of topology to generate methods, devices and systems, facilitates user to check the path change situation that business reorganization causes.
A topological generation method, comprising:
If receive migration strategy data and idsplay order that user selects the business object in service lists and inputs; , according to the business datum after the migration of migration strategy data construct, inquire about the current business datum of described business object;
According to the business datum after the current business datum of described business object and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration;
Show the topology generating.
A topological generating apparatus, comprising:
Receiving element, selects the business object of service lists and migration strategy data and the idsplay order of input for receiving user;
Construction unit, if receiving element receives migration strategy data and idsplay order that user selects the business object in service lists and inputs; According to the business datum after the migration of migration strategy data construct;
Query unit, selects the business object of service lists and migration strategy data and the idsplay order of input if receive user for receiving element; Inquire about the current business datum of described business object;
Topology generation unit, for generating topology according to the business datum after the current business datum of described business object and migration, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration;
Display unit, for the topology that shows that topological generation unit generates.
A topological generation system, comprising:
Webmaster, selects the business object of service lists and migration strategy data and the idsplay order of input for send the user who receives to server; According to the business datum after the current business datum of the business object receiving and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration; Show the topology generating;
Server, if select the business object of service lists and migration strategy data and the idsplay order of input for receiving user; , according to the business datum after the migration of migration strategy data construct, inquire about the current business datum of described business object; And the business datum after moving to webmaster transmission and current business datum.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: before user asks to carry out migration, obtain the current business datum of business object and the business datum after migration and generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration, therefore the topology generating can demonstrate the path after the current path of business object and migration when showing, facilitates user to check the path change situation that business reorganization causes.
Accompanying drawing explanation
Fig. 1 embodiment of the present invention method flow schematic diagram;
Fig. 2 is embodiment of the present invention client foregrounding method flow schematic diagram;
Fig. 3 is that schematic flow sheet is carried out on embodiment of the present invention webmaster backstage;
Fig. 4 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 5 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 6 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 7 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 8 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 9 is embodiment of the present invention system configuration schematic diagram.
Embodiment
The embodiment of the present invention provides a kind of topological generation method, facilitates user to check to see the variation on the path that the operation due to network adjustment causes: as shown in Figure 1, this method comprises:
If 101 receive migration strategy data and the idsplay order that user selects the business object in service lists and inputs;
Between business object in service lists, can distinguish by business essential information, essential information can be: business id (key assignments), Business Name etc.It should be noted that idsplay order can be that the order showing is carried out in the indication that user inputs, also can be the instruction that will have this demand of demonstration of acquiescence, for example user add business object is in list to be migrated, and the business object of acquiescence the first row has the topological demand of demonstration.
102: according to the business datum after the migration of migration strategy data construct, inquire about the current business datum of above-mentioned business object;
The inquiry of this step, can be used business id or Business Name in business essential information in database, to inquire about the current business datum corresponding with it, and business datum can comprise: the information of the object that business packet contains.For example: virtual switch instance (Virtual Switch Instance, vsi), virtual link (Pseudo Wire, pw), service quality (Quality of Service, Qos) etc., the business of different types to as if can be different, for example, edge-to-edge pseudo wire simulation (Pseudo-Wire Emulation Edge to Edge, pwe3) business has pw object, but there is no vsi object.The quantity of the object that business packet contains may many also may be lacked, and can in network management, according to the business demand that need to reach, define.
It should be noted that, user may once input the migrating objects business of a plurality of business objects, the execution of " according to the business datum after the migration of migration strategy data construct " in this step, also can be at user add want after the business object of migration, build immediately the business datum after migration, needn't wait until that user builds while choosing this business after interpolation.Do like this can utilize user to input to build during this period of time business datum and raise the efficiency, reduce the stand-by period of client when moving in batches, improved response speed; Can also avoid, because business is not selected, causing data not build, cause the danger of operation failure.
103: according to the business datum after the current business datum of above-mentioned business object and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration;
More specifically, the topology part generating according to current business datum in 103 is used different identification to comprise with the topology part generating according to the business datum after migration:
The path of the topology part generating according to current business datum is set to solid line, and the path of the topology part generating according to the business datum after migration is set to dotted line; With or,
The network element ID of the topology part that will generate according to current business datum be the network element under business current state, by the network element ID of the topology part generating according to the business datum after migration, be the network element under state after business migration.
In addition, the state of the network object in business datum also can also be identified out in the topology generating, user just can be no longer removes to check the state of the network object of traffic aided by other inquiry means or inquiry entrance like this, the mode of identification-state can be: network element, link or interface normally can be used green sign, exists alarm can use red sign.To the state of network object, be presented in O&M active procedure particularly useful.
104: show the topology generating.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: before user asks execution to move the migration of business, obtain the current business datum of business object and the business datum after migration and generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration, therefore the topology generating can demonstrate the path after the current path of business object and migration when showing, facilitates user to check the situation of change of business reorganization rear path.
Above scheme was used before carrying out migration, and further, the embodiment of the present invention also provides after migration is carried out, and facilitates user to check the path change situation that business reorganization causes, and said method also comprises:
If receive the migration instruction of user's input, according to the business datum after migration, carry out the migration of business, and upgrade the state of business datum; The state that upgrades business datum comprises: business datum state is that current business datum is set to the business datum before migration, and the business datum after migration is set to current business datum; Show that the topology generating comprises: the topology after the state of display update business datum in above-mentioned 104.
Be understandable that, if before the migration of business is carried out buffer memory the business datum after migration, after user inputs and moves instruction so in the present embodiment, can again build the business datum after migration.
Further, the embodiment of the present invention also provides the implementation of rollback, can after the migration that realizes business is carried out, realize rolling back action, this scheme is even more important at application scenarioss such as migration failure and network adjustment, after the migration of above business is carried out, also comprises:
If receive the rollback instruction of user's input, according to the business datum before migration, carry out the migration of business, and upgrade the state of business datum; The state that upgrades business datum comprises: business datum state is that current business datum is set to the business datum before migration, and the business datum before migration is set to current business datum; Show that the topology generating comprises: the topology after the state of display update business datum in above-mentioned 104.
Be understandable that, because the business datum of needs before " carrying out the migration of business according to the business datum before migration " and move can not generate immediately, the business datum before migration need to be before the rollback execution of business buffer memory.
Particularly, in above embodiment, the mode that business datum state is set can be: business datum is stored in the memory cell corresponding with the state of business datum, or, state value corresponding to state that the mode bit that business datum is set is business datum.This subsequent embodiment will be provided and be illustrated.
Following examples, by the application with regard to said method, are carried out and are described with client foregrounding and webmaster backstage respectively, are illustrated in figure 2 client foregrounding method flow schematic diagram, are illustrated in figure 3 webmaster backstage and carry out schematic flow sheet.
At flow chart shown in Fig. 2, comprise webmaster and server, there are interpolation, network, migration, the several parts of figure in the client foreground of webmaster one side, represents successively: add the button of business, the button of selecting business to be migrated, migration order button, topological diagram demonstration execution unit.
201: before user prepares business to move, may need to check service condition, can business be added in service lists to be migrated clicking interpolation button.
202: webmaster sends to server by the business id in service lists to be migrated; In addition, user may also input migration strategy data, can send in the lump server.
203: server can be inquired about the current business datum that this business id is corresponding after receiving business id; If received migration strategy data, can carry out according to the business datum after the migration of migration strategy data construct; Can be by the business datum buffer memory of current business datum and structure.
Executing 201 and 202, user adds after button in migration interface point, by the business id of business and migration strategy, wherein migration strategy can comprise: carry out original equipment before migration and object equipment and the port after port and migration, and rollback mode.NM server is received after these data, can construct the memory cell 1003 of the business datum before the migration of using when data structure is respectively used to the memory cell 1001 of the business datum before storage migration, the storage 1002 of the business datum after migration and rollback.Above-mentioned 1001~1003 structural scheme may have multiple:
Wherein the structural scheme of 1001,1002 memory cell can be:
The former business datum of scheme 1.1,1001 cell stores, these data obtain to inquiring about in the database of server by business id.The business datum of 1002 memory cell meeting storage construct, in the business datum of structure, identifying which data object increases newly, that is: order ground business has, and the data object that former business does not have, which is revised, that is: object business and the different place of former service parameter, for example: pw, which to as if delete, that is: object business does not have and data object that former business has.
The former business datum of scheme 1.2,1001 cell stores, 1002 cell stores and the not identical data of former business datum, and carry out the sign of service data object, and which is newly-increased, which is revised.The data object of deleting can just have been stored, because the former business datum of deleting comprises.
Wherein scheme 1.1 and 1.2 sign can be taked different modes, and for example: by flag, flag is in data object structure, to increase a field to identify, the advantage of this scheme is can sharing structure; Also can take in addition the structure of particular meaning directly to identify, the benefit of this mode is not need to increase field.
The structural scheme of 1003 memory cell also may have multiple:
Scheme 3.1: be defined in structure struct1 1001, by 1002, be defined in struct2, then struct1 and struct2 are defined in struct3, again by business id and struct3 opening relationships, store in figure (Map), form Map<id, the structure that struct3> is such.
Scheme 3.2 is: by 1001 and 1002, be blended in a structure, for example: the structure of formation is struct, then business id and struct corresponding relation are stored in Map, form Map<id, the structure that struct> is such.
From above-mentioned two schemes of 1003 memory cell, can find out, finally all formed Map structure, the benefit of doing is like this easy-to-look-up, can be easily when user need to be according to the information of business id query caching.
Above said 1.1,1.2,3.1,3.2 schemes can be used in combination, form a complete buffer memory structural scheme.Different can the impacting display operation of structural scheme of data cached storage organization, subsequent embodiment is elaborated.
204: when user has the demand that shows topological diagram, can in business network to be migrated, by click, choose the business line item that will check.
205: webmaster sends querying command and carries business id to server.
206: server receives after query statement, the business datum of searching business id in corresponding above-mentioned 205 in buffer memory, is understandable that the business datum inquiring can be the business datum after current business datum and migration; The business datum inquiring is sent to webmaster; Webmaster receives business datum just can generate topology according to the business datum after the current business datum of receiving and migration later, then in the client of webmaster, represents the topology of generation.
Following examples will illustrate, the displaying scheme when using different data cached storage organization describes:
The first situation: 1001,1002 memory cell adopt scheme 1.1,1003 memory cell to adopt scheme 3.1.When the client on foreground by business id, obtain data cached after, the scheme showing paths can be:
One: from struct1, obtain the data in 1001 memory cell, draw the Points And lines of solid line part, due to the data in 1002 memory cell of obtaining from struct2, identified newly-increased, revise, the object of deletion, can carry out according to data newly-increased and that revise the Points And lines of picture dotted portion.It should be noted that: the data of deletion can be comprehended, because be former business datum, these Points And lines draw;
Two: according to the Points And lines of the data configuration business in 1002, newly-increased owing to having, to revise, the sign of deletion, can know newly-increased data object picture dotted line, the data object of deletion is drawn solid line, if its opposite end of the node of modification is the picture dotted line increasing newly, otherwise draws solid line.Then, according to the data in 1001, draw solid line,, drew the place of solid line Points And lines, no longer repeat picture.
The second situation: 1001,1002 memory cell adopt scheme 1.2,1003 memory cell adopt schemes 3.1, when the client on foreground by business id, obtain data cached after, the scheme showing paths can be: the Points And lines of first drawing solid line part according to the data in 1001 memory cell.According to the data in 1002 memory cell, draw again the Points And lines of dotted portion.First draw the Points And lines of structure business or cumbersome, because 1002 memory cell only have and the nonoverlapping data of former business.
207: after the business migration that user selects to need to move, click transfer button.
208: the business id that need to carry out business migration that webmaster is selected user and migration order send to server.
209: the business datum after the migration that in server foundation 208, business id is corresponding is carried out the migration of business, the state of renewal business datum after server execution migration, can change exchange former business datum and structure data.
210: server can also send to webmaster by the data of upgrading after business datum state.If be understandable that, webmaster has carried out buffer memory to business datum in 206, and this step can be carried out.
The storage means that 1003 memory cell are different, main impact is the algorithm that the business datum state of display algorithm, former business datum and structure upgrades.Introducing migration below carries out:
User puts after migration, and in 209, server sends to webmaster by the business datum of structure, can take two kinds of modes: a kind of mode is first to delete and build, and first deletes the current business data in existing network, and structure business datum is being issued to webmaster.Another mode, by carrying out modification process, only modifies to the vicissitudinous place of business datum before and after migration; After the data distributing of structure completes, the memory cell of former business datum and construction data is exchanged, thereby complete the renewal of buffer memory.Next mainly say the update scheme of buffer memory:
Scheme one: 1001,1002 take scheme 1.1,1003 to take 3.1 schemes, data in struct1 can be added to sign, are put into struct1.Business datum in struct2 is removed to sign to be put in struct1.Whole business datums due to before and after the storage migration of 3.1 schemes employings, can directly reach the object of renewal by the mode of modified logo.
Scheme two: if 1001,1002 employing schemes 1.2,1003 adopt 3.1 schemes, at this moment can, the data in struct2 are removed after sign, add the data of lap; For the data in struct1 are added sign, and remove the data of lap.
After the state of the data of buffer memory upgrades, the foreground of webmaster is drawn topo according to the business datum after new state more and is schemed and show.
As can be seen from the above technical solutions, before user asks migration, obtain the current business datum of business object and the business datum after migration and generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration, therefore the topology generating can demonstrate the path after the current path of business object and migration when showing, facilitates user to check the path change situation that business reorganization causes.
At flow chart shown in Fig. 3, comprise webmaster, server and database.Idiographic flow is:
301: user selects business to be migrated in the migration interface of the client of webmaster one side, can also input the migration strategy data of business to be migrated.
302: webmaster sends the message of obtaining business datum to server, can be specifically: the business id that user is selected sends to server, and migration strategy data are sent to server.
303: service sends to database by the business id in 302.
304: business datum corresponding to business id in data base querying 302, database will find to such an extent that business datum sends to server.
305: server moves the structure of rear business datum according to migration strategy data, after structure, the current business datum of business is merged to processing with the business datum of constructing after the migration obtaining, and send to webmaster.
306: webmaster carries out topological demonstration after receiving merging data.
307: user selects to need the business of migration and sends migration instruction to webmaster.
308: webmaster sends to server by the business id of needs migration and migration instruction.
309: server receives that migration carries out the migration of business after instruction, and server also needs the state that carries out business datum to upgrade in addition, and object is the state that upgrades front business datum to be migrated and have moved business datum, and both states are exchanged.Server sends to database to be stored as current business datum the business datum after migration.
310: the business datum after server upgrades state merges to be processed and the data after merging are sent to webmaster.
311: webmaster receives that merging data carries out topological demonstration later.
As can be seen from the above technical solutions, before user asks to carry out migration, obtain the current business datum of business object and the business datum after migration and generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration, therefore the topology generating can demonstrate the path after the current path of business object and migration when showing, facilitates user to check the path change situation that business reorganization causes.
The embodiment of the present invention also provides a kind of topological generating apparatus, as shown in Figure 4, comprising:
Receiving element 401, selects the business object of service lists and migration strategy data and the idsplay order of input for receiving user;
Construction unit 402, if receiving element 401 receives migration strategy data and idsplay order that user selects the business object in service lists and inputs; According to the business datum after the migration of migration strategy data construct;
Query unit 403, selects the business object of service lists and migration strategy data and the idsplay order of input if receive user for receiving element 401; Inquire about the current business datum of above-mentioned business object;
Topology generation unit 404, for generating topology according to the business datum after the current business datum of above-mentioned business object and migration, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration;
Display unit 405, for the topology that shows that topological generation unit generates.
As can be seen from the above technical solutions, before user asks to carry out migration, obtain the current business datum of business object and the business datum after migration and generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration, therefore the topology generating can demonstrate the path after the current path of business object and migration when showing, facilitates user to check the path change situation that business reorganization causes.
Further, the embodiment of the present invention also provides after migration is carried out, and facilitates user to check the path change situation that business reorganization causes, as shown in Figure 5:
Above-mentioned receiving element 401, also for receiving the migration instruction of user's input; Said apparatus also comprises:
Migration units 501, if receive the migration instruction of user's input for receiving element 401, carries out the migration of business according to the business datum after migration;
State updating unit 502, carries out after business migration for migration units 402, and business datum state is that current business datum is set to the business datum before migration, and the business datum after migration is set to current business datum;
Above-mentioned display unit 405, also for the topology after the state of show state updating block renewal business datum.
Further, the embodiment of the present invention also provides the implementation of rollback, can after the migration that realizes business is carried out, realize rolling back action, and this scheme is even more important at application scenarioss such as migration failure and network adjustment, as shown in Figure 6:
Above-mentioned receiving element 401, also for receiving the rollback instruction of user's input; Said apparatus also comprises:
Rollback unit 601, if receive the rollback instruction of user's input for receiving element 401, carries out the migration of business according to the business datum before migration;
Above-mentioned state updating unit 502, also carries out after business migration for rollback unit 601, and business datum state is that current business datum is set to the business datum before migration, and the business datum before migration is set to current business datum;
Above-mentioned display unit 405, also for the topology after the state of show state updating block renewal business datum.
As shown in Figure 7, above topology generation unit 404 can comprise:
Path setting element 4031 and or sign setting unit 4032;
Path setting element 4031, is set to solid line for the topological path partly generating according to current business datum, and the topology generating according to the business datum after migration path is partly set to dotted line;
Sign setting unit 4032, network element ID for the topology part that will generate according to current business datum be the network element under business current state, by the network element ID of the topology part generating according to the business datum after migration, be the network element under state after business migration.
As shown in Figure 8, above-mentioned state updating unit 502 comprises: storage control unit 5021 or state value setting unit 5022;
Storage control unit 5021, for storing business datum into the memory cell corresponding with the state of business datum;
State value setting unit 5022, for arranging state value corresponding to state that the mode bit of business datum is business datum.
The embodiment of the present invention also provides a kind of topological generation system, as shown in Figure 9, comprising:
Webmaster 901, selects the business object of service lists and migration strategy data and the idsplay order of input for send the user who receives to webmaster 902; According to the business datum after the current business datum of the business object receiving and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration; Show the topology generating.
Server 902, if select the business object of service lists and migration strategy data and the idsplay order of input for receiving user; , according to the business datum after the migration of migration strategy data construct, inquire about the current business datum of above-mentioned business object; And the business datum after moving to webmaster 901 transmissions and current business datum.
As can be seen from the above technical solutions, before user asks to carry out migration, obtain the current business datum of business object and the business datum after migration and generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration, therefore the topology generating can demonstrate the path after the current path of business object and migration when showing, facilitates user to check the path change situation that business reorganization causes.
Further, the embodiment of the present invention also provides after migration is carried out, and facilitates user to check the path change situation that business reorganization causes:
Webmaster 901, also for sending the migration instruction of the user's input receiving to webmaster 902; And upgrade the state of business datum; The state that upgrades business datum comprises: business datum state is that current business datum is set to the business datum before migration, and the business datum after migration is set to current business datum; Topology after the state of display update business datum;
Webmaster 902, if also for receiving the migration instruction of user's input, carry out the migration of business according to the business datum after migration.
Further, the embodiment of the present invention also provides the implementation of rollback, can after the migration that realizes business is carried out, realize rolling back action, and this scheme is even more important at application scenarioss such as migration failure and network adjustment:
Webmaster 901, also for the rollback instruction of the user's input receiving is sent to webmaster 902, and sends to webmaster 902 by the business datum before migration; Business datum state is that current business datum is set to the business datum before migration, and the business datum before migration is set to current business datum; Topology after the state of display update business datum;
Webmaster 902, if also for receiving the rollback instruction of user's input and the business datum before migration, carry out the migration of business according to the business datum before migration; .
Alternatively, above-mentioned webmaster 901, for the topology part generating according to current business datum and the topology part generating according to the business datum after migration, use different identification to comprise: the path of the topology part generating according to current business datum is set to solid line, and the path of the topology part generating according to the business datum after migration is set to dotted line; With or, the network element ID of the topology part that will generate according to current business datum be the network element under business current state, by the network element ID of the topology part generating according to the business datum after migration, be the network element under state after business migration.
Above-mentioned webmaster 901 arranges business datum state and comprises alternatively: business datum is stored in the memory cell corresponding with the state of business datum, or, state value corresponding to state that the mode bit that business datum is set is business datum.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, above-mentioned program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
Above a kind of topology provided by the present invention being generated to methods, devices and systems is described in detail, for one of ordinary skill in the art, thought according to the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.

Claims (12)

1. a topological generation method, is characterized in that, comprising:
If receive migration strategy data and idsplay order that user selects the business object in service lists and inputs; , according to the business datum after the migration of migration strategy data construct, inquire about the current business datum of described business object;
User, ask to carry out before migration, according to the business datum after the current business datum of described business object and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration;
Show the topology generating, and the state of the network object in business datum is identified out in the topology generating, the topology that described demonstration generates comprises: demonstrate the current path of described business object and the path after migration;
If receive the migration instruction of user's input, according to the business datum after migration, carry out the migration of business, and upgrade the state of business datum;
The state that upgrades business datum comprises: business datum state is that current business datum is set to the business datum before migration, and the business datum after migration is set to current business datum;
The topology that described demonstration generates comprises: the topology after the state of display update business datum.
2. method according to claim 1, is characterized in that, also comprises:
If receive the rollback instruction of user's input, according to the business datum before migration, carry out the migration of business, and upgrade the state of business datum;
The state that upgrades business datum comprises: business datum state is that current business datum is set to the business datum before migration, and the business datum before migration is set to current business datum;
The topology that described demonstration generates comprises: the topology after the state of display update business datum.
3. according to method described in claim 1 to 2 any one, it is characterized in that, the described topology part generating according to current business datum is used different identification to comprise with the topology part generating according to the business datum after migration:
The path of the topology part generating according to current business datum is set to solid line, and the path of the topology part generating according to the business datum after migration is set to dotted line; With or,
The network element ID of the topology part that will generate according to current business datum be the network element under business current state, by the network element ID of the topology part generating according to the business datum after migration, be the network element under state after business migration.
4. according to method described in claim 1 or 2, it is characterized in that, business datum state be set and comprise:
Business datum is stored in the memory cell corresponding with the state of business datum, or, state value corresponding to state that the mode bit that business datum is set is business datum.
5. a topological generating apparatus, is characterized in that, comprising:
Receiving element, selects the business object of service lists and migration strategy data and the idsplay order of input for receiving user;
Construction unit, if receiving element receives migration strategy data and idsplay order that user selects the business object in service lists and inputs; According to the business datum after the migration of migration strategy data construct;
Query unit, selects the business object of service lists and migration strategy data and the idsplay order of input if receive user for receiving element; Inquire about the current business datum of described business object;
Topology generation unit, for ask to carry out before migration user, according to the business datum after the current business datum of described business object and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration;
Display unit, for the topology that shows that topological generation unit generates, and the state of the network object in business datum is identified out in the topology generating, the topology that described demonstration generates comprises: demonstrate the current path of described business object and the path after migration.
Described receiving element, also for receiving the migration instruction of user's input; Described device also comprises:
Migration units, if receive the migration instruction of user's input for receiving element, carries out the migration of business according to the business datum after migration;
State updating unit, carries out after business migration for migration units, and business datum state is that current business datum is set to the business datum before migration, and the business datum after migration is set to current business datum;
Described display unit, also for the topology after the state of show state updating block renewal business datum.
6. install according to claim 5, it is characterized in that,
Described receiving element, also for receiving the rollback instruction of user's input; Described device also comprises:
Rollback unit, if receive the rollback instruction of user's input for receiving element, carries out the migration of business according to the business datum before migration;
Described state updating unit, also carries out after business migration for rollback unit, and business datum state is that current business datum is set to the business datum before migration, and the business datum before migration is set to current business datum;
Described display unit, also for the topology after the state of show state updating block renewal business datum.
7. described in claim 5 to 6 any one, install, it is characterized in that, topological generation unit comprises:
Path setting element and or sign setting unit;
Path setting element, is set to solid line for the topological path partly generating according to current business datum, and the topology generating according to the business datum after migration path is partly set to dotted line;
Sign setting unit, be the network element under business current state for the network element ID of the topology part that will generate according to current business datum, by the network element ID of the topology part generating according to the business datum after migration, be the network element under state after business migration.
8. according to device described in claim 5 or 6, it is characterized in that, described state updating unit comprises: storage control unit or state value setting unit;
Storage control unit, for storing business datum into the memory cell corresponding with the state of business datum;
State value setting unit, for arranging state value corresponding to state that the mode bit of business datum is business datum.
9. a topological generation system, is characterized in that, comprising:
Webmaster, selects the business object of service lists and migration strategy data and the idsplay order of input for send the user who receives to server; User, ask to carry out before migration, according to the business datum after the current business datum of the business object receiving and migration, generate topology, and the topology part generating according to current business datum is used different identification with the topology part generating according to the business datum after migration; Show the topology generating, and the state of the network object in business datum is identified out in the topology generating, the topology that described demonstration generates comprises: demonstrate the current path of described business object and the path after migration;
Server, if select the business object of service lists and migration strategy data and the idsplay order of input for receiving user; , according to the business datum after the migration of migration strategy data construct, inquire about the current business datum of described business object; And the business datum after moving to webmaster transmission and current business datum.
Webmaster, also for sending the migration instruction of the user's input receiving to server; And upgrade the state of business datum; The state that upgrades business datum comprises: business datum state is that current business datum is set to the business datum before migration, and the business datum after migration is set to current business datum; Topology after the state of display update business datum;
Server, if also for receiving the migration instruction of user's input, carry out the migration of business according to the business datum after migration.
10. system according to claim 9, is characterized in that, also comprises:
Webmaster, also for the rollback instruction of the user's input receiving is sent to server, and sends to server by the business datum before migration; Business datum state is that current business datum is set to the business datum before migration, and the business datum before migration is set to current business datum; Topology after the state of display update business datum;
Server, if also for receiving the rollback instruction of user's input and the business datum before migration, carry out the migration of business according to the business datum before migration.
11. according to system described in claim 9 to 10 any one, it is characterized in that,
Described webmaster, for the topology part generating according to current business datum and the topology part generating according to the business datum after migration, use different identification to comprise: the path of the topology part generating according to current business datum is set to solid line, and the path of the topology part generating according to the business datum after migration is set to dotted line; With or, the network element ID of the topology part that will generate according to current business datum be the network element under business current state, by the network element ID of the topology part generating according to the business datum after migration, be the network element under state after business migration.
12. according to system described in claim 9 or 10, it is characterized in that,
Described webmaster arranges business datum state and comprises: business datum stored in the memory cell corresponding with the state of business datum, or, state value corresponding to state that the mode bit that business datum is set is business datum.
CN201110203902.1A 2011-07-20 2011-07-20 Topology generation method, device and system Expired - Fee Related CN102325043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110203902.1A CN102325043B (en) 2011-07-20 2011-07-20 Topology generation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110203902.1A CN102325043B (en) 2011-07-20 2011-07-20 Topology generation method, device and system

Publications (2)

Publication Number Publication Date
CN102325043A CN102325043A (en) 2012-01-18
CN102325043B true CN102325043B (en) 2014-09-03

Family

ID=45452717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110203902.1A Expired - Fee Related CN102325043B (en) 2011-07-20 2011-07-20 Topology generation method, device and system

Country Status (1)

Country Link
CN (1) CN102325043B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106330489A (en) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 Method and device for achieving business migration
CN107294756B (en) * 2016-04-13 2022-03-11 中兴通讯股份有限公司 Automatic service transition method and device
CN108170824A (en) * 2018-01-05 2018-06-15 马上消费金融股份有限公司 A kind of date storage method based on SQL, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8769439B2 (en) * 2006-09-11 2014-07-01 International Business Machines Corporation Method for creation, management, and presentation of user-scoped navigation topologies for web applications
CN101145974A (en) * 2007-10-29 2008-03-19 清华大学 A routing path display method
CN101571812B (en) * 2008-04-30 2012-08-29 国际商业机器公司 Visualization method and device for dynamic transition of objects
US8984503B2 (en) * 2009-12-31 2015-03-17 International Business Machines Corporation Porting virtual images between platforms

Also Published As

Publication number Publication date
CN102325043A (en) 2012-01-18

Similar Documents

Publication Publication Date Title
CN101404596B (en) Multi-topological environmental test method, system and equipment
US20150189030A1 (en) Message processing method, device and system for Internet of Things
EP2541867B1 (en) Method and device for terminal management based on right control
CN104780071A (en) Method and device for upgrading virtual switch
CN104506462A (en) MAC (Media Access Control) address management method and equipment in distributed switch
CN103546380A (en) Message forwarding method and device based on strategy routing
CN103326887B (en) A kind of interface managerial method and system
CN106033388A (en) A test use case library management method and system
CN113836024B (en) Configuration-driven flow multiplexing AB test method and system
CN102891768A (en) Method and network element for network management
CN105591803A (en) Resource processing method and equipment
CN103634177A (en) Method and system for implementing configuration on basis of network services
CN106856438A (en) A kind of method of Network instantiation, device and NFV systems
CN102325043B (en) Topology generation method, device and system
CN116795483A (en) Resource processing method and device and storage medium
CN109861869B (en) Configuration file generation method and device
JP2010128597A (en) Information processor and method of operating the same
CN102377589B (en) Right management control method and terminal
CN109726039A (en) Method and apparatus for managing virtual machine
CN103714059B (en) A kind of method and device of more new data
CN106375551A (en) Information interaction method and device, and terminal
US20220224591A1 (en) Network management apparatus, method, and program
CN105306228A (en) Virtual content sharing method
CN109542841B (en) Method for creating data snapshot in cluster and terminal equipment
CN109542482A (en) A kind of piece of storage service upgrade method, device, equipment and readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140903

Termination date: 20190720