CN100549981C - A kind of route equipment is carried out the online and method off-line mixed configuration - Google Patents
A kind of route equipment is carried out the online and method off-line mixed configuration Download PDFInfo
- Publication number
- CN100549981C CN100549981C CNB2005800487628A CN200580048762A CN100549981C CN 100549981 C CN100549981 C CN 100549981C CN B2005800487628 A CNB2005800487628 A CN B2005800487628A CN 200580048762 A CN200580048762 A CN 200580048762A CN 100549981 C CN100549981 C CN 100549981C
- Authority
- CN
- China
- Prior art keywords
- data
- online
- protocol stack
- configuration
- internal memory
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/0816—Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/60—Router architectures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of route equipment is carried out the online and method off-line mixed configuration, adopt Configuration Online table and off-line arrangement table that separation is set in the real-time internal memory database, realize supporting online, off-line arrangement scheme to utilize described real-time internal memory database simultaneously, and fully independently preserve off-line arrangement data and Configuration Online data; Described method also comprises: fix on when powering on protocol stack approximately and obtain the rule that the The data online data is preferential or off-line data is preferential carry out according to the order of sequence from described memory database, and be effective by putting corresponding mode bit online or the off-line arrangement table.
Description
Technical field
The present invention relates to the telecommunication technology field, specifically, is that a kind of real-time internal memory database that utilizes is realized the equipment with routing function is carried out method online, the off-line mixed configuration simultaneously.
Background technology
In the configuration to equipment of prior art with routing function, for convenience of explanation, after this " equipment with routing function " is abbreviated as router, generally adopt a kind of online configuration mode that cries, just utilize manmachine command directly router to be configured, and wait for the replying of router to judge whether to be provided with success, adopt as the configuration mode of the interior flow process of Fig. 1 frame of broken lines.
This mode has been applied for patent by company of Cisco (Cisco), U.S. Patent number is US6704752, the treatment scheme of this patent is: user input commands, processing subsystem is after the order of receiving Configuration Online, become the record form in the database table to prepare to insert database command conversion, directly do not return to the user if database is not allowed operation, otherwise just verify.If checking by with regard to reporting errors message, is not verified by just being inserted in the database; If other subsystems need the message of database table configuration change, database also can provide.
The advantage of this technology is that operating personnel can know immediately whether the order of setting is successful.But the shortcoming that this mode exists is also very obvious, specifically comprises:
1) must under the situation of router operation, just can be provided with.
2) also must under the situation of operation, could dispose the veneer of preparing configuration.
3) in general different router settings are different, and particularly the engineering staff and the maintainer in later stage during beginning must be familiar with these collocation methods, increased these engineering staffs and maintainer's difficulty, thereby has been difficult to satisfy the needs of engineering beginning.
In addition, prior art also has a kind of offline configuration mode, and as the flow process in the solid box among Fig. 1, it utilizes real-time internal memory database to carry out buffer memory, accomplishes to obtain in database when protocol stack needs, and the change database is the mode of notification protocol stack.Concrete process is that interface (client) is configured data, deposits in the commercial data base after client is carried out necessary validity checking, can deposit lot of data in commercial data base.In the time need being configured change to the router of operation, by adaptive/transmission process the data in the commercial data base are taken out, be sent in the real-time internal memory database of router, real-time internal memory database finds that data change, as data increase, deletion, modification etc., with regard to the treatment progress of notification protocol stack, the protocol stack treatment progress obtains again from real-time internal memory database that corresponding data is checked and verification, returns the mode field of putting table then and indicates.The advantage of this kind mode can break away from the veneer of operation when being configuration, reduce maintenance cost.
Summary of the invention
The object of the present invention is to provide and a kind of route equipment is carried out the online and method off-line mixed configuration, adopt new configuration mode, merge the advantage of two kinds of schemes of prior art, accomplish when configuration, both can also can utilize online mode to be configured at the scene in the condition of the veneer that breaks away from operation, thereby further alleviate engineering staff and maintainer's difficulty, further increase the corresponding speed of handling problems.
Technical scheme of the present invention is as follows:
A kind of route equipment is carried out the online and method off-line mixed configuration, employing is provided with the Configuration Online table and the off-line arrangement table of separation in real-time internal memory database, utilize described real-time internal memory database to realize supporting online, off-line arrangement simultaneously, and fully independently preserve off-line arrangement data and Configuration Online data; Described method also comprises:
Fix on approximately that protocol stack obtains data when powering on from described real-time internal memory database, adopt the rule that online data is preferential or off-line data is preferential to carry out according to the order of sequence, and be effective by the mode bit of putting corresponding Configuration Online table or off-line arrangement table;
During Configuration Online, utilize client, after described protocol stack process is received the message that client sends,, then data are write the protocol stack data field if judge and meet rule and do not conflict with configuration in the protocol stack data field directly with the protocol stack process interaction;
During off-line arrangement, described real-time internal memory database inserts data in the described off-line arrangement table receiving after adaptive/data that the transmission process is sent; When the data in finding described off-line arrangement table change, be transported to and put change message to the protocol stack process, if the protocol stack process judges described data fit rule and do not conflict with online data, then return put this data corresponding record in the described real-time internal memory database mode bit for coming into force.
Described method, wherein, described method comprises that also the step of the flow process that powers on is:
A1), the managing process of described real-time internal memory database arrives internal memory with the data load on the physical medium or on the commercial data base, comprise being stored in Configuration Online table or the off-line arrangement table that the mode bit in all off-line arrangement tables relevant with routing configuration all is initialized as disarmed state;
B1), when powering on, the protocol stack process from described real-time internal memory database, obtains earlier online configuration information, through putting into the data field of protocol stack after the simple verification;
C1), obtain the information of off-line arrangement table, the database interface process obtains data and returns to protocol stack from the off-line arrangement table, protocol stack writes the data field of protocol stack after the legitimacy verification, judges whether to conflict with online data, and return by database interface and to put the table record state, finish powering on.
Described method, wherein, described method comprises that also the off-line arrangement change flow is
A3), described real-time internal memory database receiving after adaptive/data that the transmission process is sent, data are inserted in the off-line arrangement table of the real-time internal memory database on the veneer and are replied adaptive/transmission process;
B3), when the data in finding described off-line arrangement table change, just be transported to and put change message to the protocol stack process.
Described method, wherein, the data of described real-time internal memory database are changed by table record level notice of change, and it may further comprise the steps:
C31), the table in real-time internal memory database detects record and changes, described protocol stack process issued in the record after just will changing immediately;
D31), described protocol stack process receives after the message and handles immediately, judges whether to conflict with online data, whether satisfies configuration rule, if set configuration information can come into force with regard to the described real-time internal memory database of write-back, the sign that comes into force put in this record; Just put do not come into force sign and reason if can not come into force.
Described method, wherein, the data change of described real-time internal memory database adopts table level notice of change, it is to send out public notice message to described protocol stack process after whole table finished synchronously, after the notified message of described protocol stack process in the described real-time internal memory database reading and recording in the off-line arrangement table successively, and check that whether configuration can come into force, and returns the sign whether put comes into force successively.
Described method, wherein, during Configuration Online, after described protocol stack process is received the message that client sends, if judge do not meet rule or with the configuration conflict of own data field, just directly return configuration failure; If judge to meet rule and do not conflict that after data were write the protocol stack data field, the interface that also calls described real-time internal memory database write in the described Configuration Online table, and then deposits on the physical medium with configuration in the protocol stack data field.
Described method, wherein, during Configuration Online, if a certain data of off-line arrangement come into force in the protocol stack data field, just the mode bit of corresponding record is put effective status by protocol stack in the off-line arrangement table, so these data can Configuration Online success, do not have this record in the Configuration Online table.
Of the present invention route equipment is carried out the online and method off-line mixed configuration, owing to adopt protocol stack in the configuration online data, also can carry out off-line arrangement, two kinds of configuration modes do not disturb mutually, accomplish when beginning, both can allow the rear personnel require according to beginning of office side to finish configuration at home, avoid on-the-spot deployment personnel's configuration error; Also can allow the field staff utilize online mode to be configured as required, thereby can solve the fault of appearance faster, in later maintenance, can reduce to the employee on business trip of device context simultaneously, reduce maintenance cost.
Description of drawings
Below in conjunction with accompanying drawing the concrete principle and the application of the inventive method will be described more specifically by specific embodiment, wherein:
Shown in Fig. 1 is to support process flow diagram online, offline configuration mode simultaneously;
Fig. 2 is the protocol stack of the inventive method treatment scheme synoptic diagram that powers on;
Fig. 3 is the Configuration Online schematic flow sheet of the inventive method;
Fig. 4 is the off-line arrangement schematic flow sheet of the inventive method;
Shown in what adopt in each process flow diagram of the inventive method is the online data principle of priority.
Embodiment
To more fully understanding be arranged to the present invention by the detailed description below with reference to accompanying drawing, benefit of the present invention will be more obvious.
Of the present invention route equipment is carried out the online and method off-line mixed configuration, support online, off-line arrangement scheme to utilize real-time internal memory database simultaneously, independent completely by off-line arrangement data and Configuration Online data are accomplished by the form of separating table, and fix on protocol stack when powering on approximately and obtain the mode that the The data online data is preferential or off-line data is preferential rule is carried out according to the order of sequence from database.
Because the data of Configuration Online and the data storage of off-line arrangement are in different tables, thereby configuration data does not between the two disturb in database mutually, the inventive method can not be revised the data of off-line arrangement by online mode, can not revise online data by the mode of off-line, the data of off-line arrangement can only be changed by offline mode, and the data of Configuration Online can only be revised by online mode.Agreement by rule realizes the order that comes into force between two kinds of configuration datas, makes online and off-line can exist simultaneously.
The data that dispose when online mode enter into force, and just store in the online table, just can not come into force by these data of off-line arrangement so again, but have this record in the off-line table, and just mode bit is a disarmed state; After with this online data deletion, thereby protocol stack can obtain off-line data from the off-line data table these data are come into force, and return configuration state; In like manner a certain data of off-line arrangement come into force in the protocol stack data field, just the mode bit of corresponding record is put effective status by protocol stack in the off-line data table, so online just can these data of configuration successful, just do not have this record in the online table, unless first off-line is deleted this data, just can dispose these data by online mode so.
As Fig. 1~shown in Figure 4 is the off-line that adopts of ZTE, an example application process flow diagram of Configuration Online, in order to concrete application process of the present invention to be described, the protocol stack data field among the figure is meant the data field of the protocol stack process on the veneer with routing function.
Part is the schematic flow sheet of off-line arrangement in the solid box as shown in Figure 1.At first basis is to be configured on the client at the interface, such as realizing RTP (Real-time Transport Protocol, RTP), SCTP (StreamControl Transmission Protocol, SCTP) IP of the required configuration of function, MAC (MediaAccess Control, the medium Access Control) and data such as static routing, client is carried out verification to the legitimacy of data, if legal then deposit in the commercial data base, in configuration, be indifferent to the program of veneer and whether move.After data configuration is finished, utilize adaptive/transmission process that the data in the commercial data base are taken out in the real-time internal memory database that is synchronized on the veneer.The management maintenance process of real-time internal memory database by with the message of protocol stack process, configuration is write the protocol stack data field, make configuration take-effective.Part is the schematic flow sheet of Configuration Online in the frame of broken lines as shown in Figure 1, because the data of Configuration Online need store on the physical medium, so the data in configuration will write after coming into force in the data field of protocol stack in the online table of real-time internal memory database, utilize the memory mechanism of real-time internal memory database to store on the physical medium.Need to prove that online data can directly not store into by database on the physical medium, on handling, change a little, and understood, therefore do not influence the mentality of designing of this invention by those skilled in the art.
Interacting message mainly contains following components between protocol stack process on the described veneer and database process:
1, the flow process that powers on.
Be the protocol stack treatment scheme synoptic diagram that powers on as shown in Figure 2.In general the managing process of the real-time internal memory database on the veneer powers on earlier than protocol stack process, database process is loaded into internal memory with the data on the physical medium or on the commercial data base by certain mode, comprise in the table and off-line arrangement table of storing Configuration Online that the mode bit in all relevant off-line tables with routing configuration all is initialized as disarmed state at this moment.When powering on, the protocol stack process obtains online configuration information from database earlier, because online data are legal fully, thus think that data are correct, through just can directly putting into the data field of protocol stack after the simple verification; Obtain the information of off-line arrangement table then, the database interface process obtains data and returns to protocol stack from the off-line correlation table, protocol stack is treated, write the data field of protocol stack after the legitimacy verification, need judge whether to conflict with online data, and return by database interface and to put the table record state, finish powering on.Described database interface is the interface of real-time internal memory database.
When the protocol stack process has been received peripheral single board, finger is the veneer except that router in a system, behind registration (power on or the delete) notification message, the recording status of the off-line arrangement table of Query Board correspondence in the database, through returning the table record state of putting after the judgment processing, realize the routing function of veneer.This part mainly is relevant with off-line arrangement, and is known for prior art, do not represent in the drawings.
2, Configuration Online flow process
Configuration Online utilizes interface (client) directly with the protocol stack process interaction, after the protocol stack process is received the message of sending at interface (client), judge whether to meet rule, whether with own data field in configuration conflict, if the rule of not meeting or just directly return configuration failure with configuration conflict in the own data field; Otherwise data are write the protocol stack data field, and the interface that calls database then writes in the online table of database, and then deposits on the physical medium.Since adopt online principle of priority, irrelevant with off-line basically during Configuration Online.
3, off-line arrangement change flow.
Real-time internal memory database on the veneer receiving after adaptive/data that the transmission process is sent, inserts data in the relevant two-dimentional relation table of the off-line arrangement of the real-time internal memory database on the veneer and replys adaptive/transmission process.Data in finding the two-dimentional relation table change just to be transported to and put change message to the protocol stack process, referring to shown in Figure 4.
Data of database change can be adopted two kinds of notice forms: i.e. a table record level notice of change and a table level notice of change.So-called table record level notice form is exactly that table in the real-time internal memory database detects record and changes, the protocol stack process issued in record after just will changing immediately, the protocol stack process is handled after receiving message immediately, judges whether to conflict with online data, whether satisfies configuration rule.If protocol stack finds that set configuration information can come into force with regard to the write-back storehouse, the sign that comes into force put in this record; Just put do not come into force sign and reason if can not come into force; This configuration change mode is called record level configuration changing mode.A table level notice of change then is that the message of sending out public notice after whole table finished is synchronously given protocol stack, after the notified message of protocol stack in the database reading and recording in the table successively, and check that whether configuration can come into force, and returns the sign whether put comes into force then successively.Dual mode has all adopted in practice, such as the configuration of IP being adopted record level configuration change message flow, table level record change configuration flow is then adopted in static routing.
Although have illustrated and described the preferred embodiments of the present invention, one of ordinary skill in the art should be appreciated that and can implement the consubstantiality of various changes, modification and parts and replace under the situation that does not exceed the scope of the invention.Therefore the present invention is not subject to disclosed realization specific embodiments of the invention, the present invention includes all embodiment that drop within the claims.
Claims (7)
1, a kind of route equipment is carried out method online and the off-line mixed configuration, employing is provided with the Configuration Online table and the off-line arrangement table of separation in a real-time internal memory database, utilize described real-time internal memory database to realize supporting online, off-line arrangement simultaneously, and fully independently preserve off-line arrangement data and Configuration Online data; Described method also comprises:
Fix on approximately that protocol stack obtains data when powering on from described real-time internal memory database, adopt the rule that online data is preferential or off-line data is preferential to carry out according to the order of sequence, and be effective by the mode bit of putting corresponding Configuration Online table or off-line arrangement table;
During Configuration Online, utilize client, after described protocol stack process is received the message that client sends,, then data are write the protocol stack data field if judge and meet rule and do not conflict with configuration in the protocol stack data field directly with the protocol stack process interaction;
During off-line arrangement, described real-time internal memory database inserts data in the described off-line arrangement table receiving after adaptive/data that the transmission process is sent; When the data in finding described off-line arrangement table change, be transported to and put change message to the protocol stack process, if the protocol stack process judges described data fit rule and do not conflict with online data, then return put this data corresponding record in the described real-time internal memory database mode bit for coming into force.
2, method according to claim 1 is characterized in that, described method comprises that also the step of the flow process that powers on is:
A1), the managing process of described real-time internal memory database arrives internal memory with the data load on the physical medium or on the commercial data base, comprise being stored in Configuration Online table or the off-line arrangement table that the mode bit in all off-line arrangement tables relevant with routing configuration all is initialized as disarmed state;
B1), when powering on, the protocol stack process from described real-time internal memory database, obtains earlier online configuration information, through putting into the data field of protocol stack after the simple verification;
C1), obtain the information of off-line arrangement table, the database interface process obtains data and returns to protocol stack from the off-line arrangement table, protocol stack writes the data field of protocol stack after the legitimacy verification, judges whether to conflict with online data, and return by database interface and to put the table record state, finish powering on.
3, method according to claim 1 is characterized in that, described method comprises that also the off-line arrangement change flow is
A3), described real-time internal memory database receiving after adaptive/data that the transmission process is sent, data are inserted in the off-line arrangement table of the real-time internal memory database on the veneer and are replied adaptive/transmission process;
B3), when the data in finding described off-line arrangement table change, just be transported to and put change message to the protocol stack process.
4, method according to claim 1 is characterized in that, the data of described real-time internal memory database are changed by table record level notice of change, and it may further comprise the steps:
C31), the table in real-time internal memory database detects record and changes, described protocol stack process issued in the record after just will changing immediately;
D31), described protocol stack process receives after the message and handles immediately, judges whether to conflict with online data, whether satisfies configuration rule, if set configuration information can come into force with regard to the described real-time internal memory database of write-back, the sign that comes into force put in this record; Just put do not come into force sign and reason if can not come into force.
5, method according to claim 4, it is characterized in that, the data change of described real-time internal memory database adopts table level notice of change, it is to send out public notice message to described protocol stack process after whole table finished synchronously, after the notified message of described protocol stack process in the described real-time internal memory database reading and recording in the off-line arrangement table successively, and check that whether configuration can come into force, and returns the sign whether put comes into force successively.
6, the method for claim 1 is characterized in that, during Configuration Online, after described protocol stack process is received the message that client sends, if judge do not meet rule or with the configuration conflict of own data field, just directly return configuration failure; If judge to meet rule and do not conflict that after data were write the protocol stack data field, the interface that also calls described real-time internal memory database write in the described Configuration Online table, and then deposits on the physical medium with configuration in the protocol stack data field.
7, method as claimed in claim 6 is characterized in that, during Configuration Online, if a certain data of off-line arrangement come into force in the protocol stack data field, so these data can Configuration Online success, do not have this record in the Configuration Online table.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2005/001050 WO2007009289A1 (en) | 2005-07-15 | 2005-07-15 | A method for configuring router device in both online and offline |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101133399A CN101133399A (en) | 2008-02-27 |
CN100549981C true CN100549981C (en) | 2009-10-14 |
Family
ID=37668422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005800487628A Expired - Fee Related CN100549981C (en) | 2005-07-15 | 2005-07-15 | A kind of route equipment is carried out the online and method off-line mixed configuration |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100549981C (en) |
WO (1) | WO2007009289A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102056331B (en) * | 2009-11-04 | 2015-08-12 | 中兴通讯股份有限公司 | A kind of support terminal is in the method for LTE-HRPD system interoperation and terminal |
CN105653253B (en) * | 2014-12-02 | 2020-04-24 | 中兴通讯股份有限公司 | Centralized configuration method and device |
US20210144070A1 (en) * | 2017-06-12 | 2021-05-13 | Audio-Technica Corporation | Signal processing device informaton processing apparatus and information processing program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1160971C (en) * | 2000-09-15 | 2004-08-04 | 中兴通讯股份有限公司 | Operation and maintenance of router and storage and explanation of configuration command |
US7769839B2 (en) * | 2002-06-21 | 2010-08-03 | International Business Machines Corporation | Method and structure for autoconfiguration of overlay networks by automatic selection of a network designated router |
CN100401716C (en) * | 2003-12-29 | 2008-07-09 | 华为技术有限公司 | A method of multiple multicast protocol communication realized on interface of network routing device |
-
2005
- 2005-07-15 CN CNB2005800487628A patent/CN100549981C/en not_active Expired - Fee Related
- 2005-07-15 WO PCT/CN2005/001050 patent/WO2007009289A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2007009289A1 (en) | 2007-01-25 |
CN101133399A (en) | 2008-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8676760B2 (en) | Maintaining data integrity in data servers across data centers | |
US6760859B1 (en) | Fault tolerant local area network connectivity | |
US7835376B2 (en) | Communication device, communication system, and LAG management table management method used therefor | |
CN102136930B (en) | Version upgrading method and routing equipment | |
CN101079896B (en) | A method for constructing multi-availability mechanism coexistence framework of concurrent storage system | |
RU2315349C1 (en) | Method for replicating information in distributed databases and system for realization thereof | |
CN101305557B (en) | Automatically optimized synchronization method and device of MAC address tables | |
CN101751415B (en) | Metadata service system, metadata synchronized method and writing server updating method | |
EP1376361A4 (en) | Server duplexing method and duplexed server system | |
JP2010045760A (en) | Connection recovery device for redundant system, method and processing program | |
CN111901705B (en) | OMCI function virtualization system of OLT equipment | |
CN101764738A (en) | Backup method supporting TCP protocol connection and system thereof | |
CN101267341A (en) | A distributed network management system, network management server and method | |
CN101436209A (en) | Method and apparatus for synchronizing multiple databases | |
CN101595689A (en) | In multi-chassis network access environment, change user profile | |
CN100549981C (en) | A kind of route equipment is carried out the online and method off-line mixed configuration | |
CN100432975C (en) | Architecture of interface target machine for miniature computer system and data transmitting method | |
CN101714949A (en) | Method, device and system for connecting and switching server | |
KR101605455B1 (en) | Method for Replicationing of Redo Log without Data Loss and System Thereof | |
CN101183990A (en) | Data backup method and application processing system | |
CN105760398A (en) | Log recording system and log record operating method | |
CN102571603B (en) | Ethernet port controlling apparatus and method thereof | |
JP2006048122A (en) | Communication system | |
CN102195786A (en) | Intelligent data exchange platform and method | |
WO2019178891A1 (en) | Method and system for processing device failure |
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 |
Granted publication date: 20091014 Termination date: 20200715 |
|
CF01 | Termination of patent right due to non-payment of annual fee |