CN107528716A - Double layer network management method and device - Google Patents

Double layer network management method and device Download PDF

Info

Publication number
CN107528716A
CN107528716A CN201610460714.XA CN201610460714A CN107528716A CN 107528716 A CN107528716 A CN 107528716A CN 201610460714 A CN201610460714 A CN 201610460714A CN 107528716 A CN107528716 A CN 107528716A
Authority
CN
China
Prior art keywords
designated switch
standby
response message
switch
message
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.)
Pending
Application number
CN201610460714.XA
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610460714.XA priority Critical patent/CN107528716A/en
Priority to PCT/CN2017/084837 priority patent/WO2017219803A1/en
Publication of CN107528716A publication Critical patent/CN107528716A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of double layer network management method and device, this method to include:Standby designated switch sends the first request message to designated switch, wherein, designated switch and standby designated switch are located in predetermined double layer network, designated switch is used to manage the interchanger in double layer network, and the standby designated switch is used to take over the designated switch when the designated switch loses management function;The standby designated switch carries out at least one of according to response of the designated switch to first request message:Data syn-chronization is carried out with the designated switch, determines that the designated switch loses management function.By the present invention, solve the problems, such as that the data in standby designated switch synchronization designated switch can not be realized in correlation technique, and how standby designated switch is determining the problem of designated switch loses management function during synchronization.

Description

Double layer network management method and device
Technical field
The present invention relates to the communications field, in particular to a kind of double layer network management method and Device.
Background technology
In correlation technique, in the data center, in order to save managed fund, maintenance cost and liter Level expense, virtual machine usually need to be migrated.And the migration circle of virtual machine usually requires Inside identical double layer network.Three large-scale layer data centers generally limit the scope of double layer network System is below Access Layer, therefore, in large-scale three layer datas center, fictitious host computer (Virtual Machine, referred to as VM) migration can not realize.In turn i.e., two layers of net Network scale has much, and virtual machine could migrate how far.We need to expand the rule of double layer network Mould realizes VM large-scale migration.Therefore, in order to realize the flattening of data center and Centralized management to interchanger, a designated switch is elected generally in switch network, is Other interchanger collection dynamically distributes novel medium access control (Media Access Control, letters Referred to as MAC) address and managed concentratedly, enable the equipment in network according to hierarchical address Immediate addressing and it is not take up excessive MAC Address.And in order to prevent the designated switch from losing After management function, re-elect new designated switch and waste the substantial amounts of time, can refer in election A standby designated switch is elected while determining interchanger again.
But it can not be realized in correlation technique in standby designated switch synchronization designated switch How the problem of data, and standby designated switch determine to specify and exchange during synchronization Machine loses management function.
The content of the invention
The embodiments of the invention provide a kind of double layer network management method and device, at least to solve Asking for the data in standby designated switch synchronization designated switch can not be realized in correlation technique Topic, and standby designated switch how during synchronization determine designated switch lose pipe Manage function.
According to one embodiment of present invention, there is provided a kind of double layer network management method, including: Standby designated switch sends the first request message to designated switch, wherein, the specified friendship Change planes and be located at the standby designated switch in predetermined double layer network, the designated switch For managing the interchanger in the double layer network, the standby designated switch is used for described Designated switch takes over the designated switch when losing management function;The standby specified exchange Machine according to response of the designated switch to first request message carry out it is following at least it One:Data syn-chronization is carried out with the designated switch, determines that the designated switch loses management Function.
Alternatively, the standby designated switch disappears according to the designated switch to the request The response of breath carries out data syn-chronization with the designated switch to be included:The standby designated switch The first response message that the designated switch is sent is received after the scheduled time, wherein, it is described First response message carries the data that the designated switch updates after timestamp, when described Between stamp carry in first request message;The standby designated switch is according to described first Response message carries out data syn-chronization to the standby designated switch and the designated switch.
Alternatively, the standby designated switch according to first response message to described standby Designated switch carries out data syn-chronization with the designated switch to be included:The standby specified exchange Identification information of the machine in first response message determines to take in first response message The data updated after the timestamp of band are imperfect;The standby designated switch is in the given time Do not receive the second response message afterwards, wherein, second response message is carried except described The data updated after the timestamp outside the data carried in one response message;It is described Standby designated switch sends the first confirmation message to the designated switch, until having received The data updated after the whole designated switch timestamp, wherein, first confirmation message For notifying the designated switch is sent to remove the number carried in first response message The data updated after the timestamp outside.
Alternatively, the standby designated switch according to first response message to described standby Designated switch carries out data syn-chronization with the designated switch to be included:The standby specified exchange Identification information of the machine in first response message determines to take in first response message The data updated after the timestamp of band are complete;The standby designated switch is to the specified exchange Machine sends the second confirmation message.
Alternatively, the standby designated switch please to described first according to the designated switch Ask message in response to determining that the designated switch loses management function includes:It is described standby specified Interchanger does not receive first response that the designated switch is sent after the scheduled time and disappeared Breath;The standby designated switch retransmits first request message to the designated switch; After the number for retransmitting first request message reaches predetermined threshold, the standby specified exchange It is described standby in the case that machine does not receive first response message that the designated switch is sent Determine that the designated switch loses management function with designated switch.
According to another embodiment of the invention, there is provided a kind of double layer network managing device, position In standby designated switch, including:Sending module, for sending first to designated switch Request message, wherein, the designated switch and the standby designated switch are positioned at predetermined In double layer network, the designated switch is used to manage the interchanger in the double layer network, institute It is described for being taken over when the designated switch loses management function to state standby designated switch Designated switch;Execution module, for being disappeared according to the designated switch to the described first request The response of breath carries out at least one of:Data syn-chronization is carried out with the designated switch, is determined The designated switch loses management function.
Alternatively, the execution module includes:Receiving unit, for being received after the scheduled time The first response message that the designated switch is sent, wherein, first response message carries There are the data that the designated switch updates after timestamp, the timestamp carries asks described Ask in message;Synchronization unit, for according to first response message to the standby specified friendship Change planes and carry out data syn-chronization with the designated switch.
Alternatively, the synchronization unit includes:First determination subelement, for according to described Updated after the timestamp that mark in one response message determines to carry in first response message Data it is imperfect;First transmission sub-unit, for not receiving second after in the given time Response message, to the designated switch send the first confirmation message, until send it is described when Between stab after the data that update it is complete, wherein, second response message is carried except described first The data updated after the timestamp outside the data carried in response message, described One confirmation message is used to notify the designated switch sends to remove to take in first response message The data updated after the timestamp outside the data of band.
Alternatively, the synchronization unit includes:Second determination subelement, for according to the sound Answer the number updated after the timestamp carried in mark determination first response message in message According to complete;Second transmission sub-unit, for sending the second confirmation message to the designated switch.
Alternatively, the execution module includes:First determining unit, for determining in pre- timing Between after do not receive first response message that the designated switch is sent;Transmitting element, use In retransmitting first request message to the designated switch;Second determining unit, for Retransmit first request message number reach predetermined threshold after, it is determined that do not receive it is described specify In the case of first response message that interchanger is sent, determine that the designated switch loses Management function.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage is situated between Matter is arranged to the program code that storage is used to perform following steps:Standby designated switch to specify Interchanger sends the first request message, wherein, the designated switch and the standby specified friendship Change planes in predetermined double layer network, the designated switch is used to manage the double layer network In interchanger, the standby designated switch is used in the designated switch lose management work( The designated switch is taken over during energy;The standby designated switch is according to the designated switch Response to first request message carries out at least one of:Enter with the designated switch Row data syn-chronization, determine that the designated switch loses management function.
Alternatively, the storage medium is arranged to the program code that storage is used to perform following steps: The standby designated switch according to response of the designated switch to the request message with The designated switch, which carries out data syn-chronization, to be included:The standby designated switch is in the scheduled time The first response message that the designated switch is sent is received afterwards, wherein, first response disappears Breath carries the data that the designated switch updates after timestamp, and the timestamp carries In first request message;The standby designated switch is according to first response message pair The standby designated switch carries out data syn-chronization with the designated switch.
Alternatively, the storage medium is arranged to the program code that storage is used to perform following steps: The standby designated switch is according to first response message to the standby designated switch Carrying out data syn-chronization with the designated switch includes:The standby designated switch is according to Identification information in first response message determines the timestamp carried in first response message The data updated afterwards are imperfect;The standby designated switch in the given time after do not receive Second response message, wherein, second response message is carried except first response message The data updated after the timestamp outside the data of middle carrying;The standby specified friendship Change planes and send the first confirmation message to the designated switch, until receiving the complete finger Determine the data updated after exchange board time stamp, wherein, first confirmation message is used to notify institute State institute of the designated switch transmission in addition to the data carried in first response message State the data updated after timestamp.
Alternatively, the storage medium is arranged to the program code that storage is used to perform following steps: The standby designated switch is according to first response message to the standby designated switch Carrying out data syn-chronization with the designated switch includes:The standby designated switch is according to Identification information in first response message determines the timestamp carried in first response message The data updated afterwards are complete;The standby designated switch sends second to the designated switch Confirmation message.
Alternatively, the storage medium is arranged to the program code that storage is used to perform following steps: Sound of the standby designated switch according to the designated switch to first request message It should determine that the designated switch loses management function and included:The standby designated switch is pre- First response message that the designated switch is sent is not received after fixing time;It is described standby Designated switch retransmits first request message to the designated switch;Retransmitting described the After the number of one request message reaches predetermined threshold, the standby designated switch does not receive described In the case of first response message that designated switch is sent, the standby designated switch Determine that the designated switch loses management function.
By the present invention, standby designated switch sends the first request message to designated switch, Wherein, designated switch and backup switch are located in predetermined double layer network, designated switch For managing the interchanger in double layer network, backup designated switch is used to lose in designated switch Go to take over designated switch during management function;Standby designated switch is according to designated switch to The response of one request message carries out at least one of:With designated switch carry out data syn-chronization, Determine that designated switch loses management function.That is, actively being sent by standby designated switch please Message is sought, carries out data syn-chronization with designated switch to designated switch request so that standby finger Data syn-chronization can be kept by determining interchanger and designated switch;Meanwhile according to standby specified exchange Dynamic the first request message sent of owner, can monitor during synchrodata and specify exchange Whether machine loses management function, so as to when it is determined that designated switch loses management function, Quickly take over designated switch.Therefore, can solve that standby specify can not be realized in correlation technique The problem of data in interchanger synchronization designated switch, and standby designated switch how Determine that designated switch loses management function in synchronous process.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the application A part, schematic description and description of the invention is used to explain the present invention, not structure Into inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of the hard of the mobile terminal of double layer network management method of the embodiment of the present invention Part structured flowchart;
Fig. 2 is the flow chart of double layer network management method according to embodiments of the present invention;
Fig. 3 is backup sync-request frame according to embodiments of the present invention, backup synchronization frame and backup The format chart of confirmation of synchronization frame;
Fig. 4 is the format chart of Item entries according to embodiments of the present invention;
Fig. 5 is designated switch according to embodiments of the present invention and standby designated switch data Synchronous schematic diagram;
Fig. 6 is designated switch according to embodiments of the present invention and standby designated switch data Synchronous flow chart;
Fig. 7 is the structured flowchart of double layer network managing device according to embodiments of the present invention;
Fig. 8 is execution module 74 in double layer network managing device according to embodiments of the present invention Structured flowchart;
Fig. 9 is synchronization unit 84 in double layer network managing device according to embodiments of the present invention Structured flowchart;
Figure 10 is synchronization unit 84 in double layer network managing device according to embodiments of the present invention Preferred structure block diagram;
Figure 11 is execution module 74 in double layer network managing device according to embodiments of the present invention Structured flowchart.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.Need what is illustrated It is that, in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.
It should be noted that the art in description and claims of this specification and above-mentioned accompanying drawing Language " first ", " second " etc. are for distinguishing similar object, without specific for describing Order or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application 1 is provided can be whole in mobile terminal, computer Performed in end or similar arithmetic unit.Exemplified by running on mobile terminals, Fig. 1 is this A kind of hardware block diagram of the mobile terminal of double layer network management method of inventive embodiments.Such as Shown in Fig. 1, mobile terminal 10 can include one or more (one is only shown in figure) places (processor 102 can include but is not limited to Micro-processor MCV or may be programmed patrol reason device 102 The processing unit of volume device FPGA etc.), memory 104, Yi Jiyong for data storage In the transmitting device 106 of communication function.It will appreciated by the skilled person that Fig. 1 institutes The structure shown is only to illustrate, and it does not cause to limit to the structure of above-mentioned electronic installation.For example, Mobile terminal 10 may also include more either less components than shown in Fig. 1 or have The configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, such as present invention Programmed instruction/module corresponding to double layer network management method in embodiment, processor 102 are logical Software program and module that operation is stored in memory 104 are crossed, so as to perform various functions Using and data processing, that is, realize above-mentioned method.Memory 104 may include random at a high speed Memory, may also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 104 can Further comprise that these remote memories can relative to the remotely located memory of processor 102 To pass through network connection to mobile terminal 10.The example of above-mentioned network includes but is not limited to interconnect Net, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network Instantiation may include the wireless network that the communication providerses of mobile terminal 10 provide.At one In example, transmitting device 106 includes a network adapter (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to interconnection Net is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, it is used to wirelessly be communicated with internet.
A kind of double layer network management for running on above-mentioned mobile terminal is provided in the present embodiment Method, Fig. 2 are the flow charts of double layer network management method according to embodiments of the present invention, are such as schemed Shown in 2, the flow comprises the following steps:
Step S202, standby designated switch send the first request message to designated switch, Wherein, designated switch and backup switch are located in predetermined double layer network, designated switch For managing the interchanger in double layer network, backup designated switch is used to lose in designated switch Go to take over designated switch during management function;
Step S204, standby designated switch is according to designated switch to the first request message Response carries out at least one of:Data syn-chronization is carried out with designated switch, determines specified exchange Machine loses management function.
By above-mentioned steps, standby designated switch actively sends the first request message, to specify Interchanger asks to carry out data syn-chronization with designated switch so that standby designated switch is with specifying Interchanger can keep data syn-chronization;Meanwhile the actively sent according to standby designated switch One request message, it can monitor whether designated switch loses management during synchrodata Function, so as to when it is determined that designated switch loses management function, quickly take over specified friendship Change planes.Therefore, can solve realize that standby designated switch is synchronously specified in correlation technique The problem of data in interchanger, and standby designated switch how during synchronization really Determine designated switch and lose management function.
Alternatively, standby designated switch is according to response of the designated switch to request message and finger Determining interchanger progress data syn-chronization includes:Standby designated switch receives after the scheduled time specifies The first response message that interchanger is sent, wherein, the first response message carries designated switch The data updated after timestamp, timestamp are carried in the first request message;Standby specified friendship Changing planes, it is same to carry out data with designated switch to standby designated switch according to the first response message Step.For example, standby designated switch (Backup Designed Switch, referred to as BDS) The initial time updated the data needed for being set in the first request message is referring to as timestamp Determine after interchanger (Designed Switch, referred to as DS) receives first request message, It can be updated according to the timestamp of first request message, will be as shown in table 1 Field timestamp values are more than the first request message in MAC/Moose Switch Address tables In field TIMES values entry generation item, if timestamp is FFFF, its item Field Operation be arranged to 2, be otherwise provided as 1.By above-mentioned steps, above-mentioned Being carried in one request message needs the timestamp that updates the data so that standby designated switch can be with Data in designated switch only after the request renewal scheduled time as needed, without every time please Ask and the total data in designated switch is updated, so as to reduce renewal time, Improve operating efficiency.
Table 1
Alternatively, standby designated switch according to the first response message to standby designated switch with Designated switch, which carries out data syn-chronization, to be included:Standby designated switch is according in the first response message Mark determine that the data that are updated in the first response message after the timestamp that carries are imperfect;It is standby Designated switch does not receive the second response message after the scheduled time, wherein, the second response disappears Breath carries what is updated after the timestamp in addition to the data carried in the first response message Data;Standby designated switch sends the first confirmation message to designated switch, until receiving The data updated after complete designated switch timestamp, wherein, the first confirmation message is used to lead to Know that designated switch sends the timestamp in addition to the data carried in the first response message The data updated afterwards.By above-mentioned steps, the number of standby designated switch request renewal ensure that According to integrality.
Alternatively, standby designated switch according to the first response message to standby designated switch with Designated switch, which carries out data syn-chronization, to be included:Standby designated switch is according in the first response message Mark determine that the data that are updated in the first response message after the timestamp that carries are complete;Standby finger Determine interchanger and send the second confirmation message to designated switch.By above-mentioned steps, ensure that standby With the integrality of the data of designated switch request renewal.
Alternatively, standby designated switch is according to response of the designated switch to the first request message Determine that designated switch loses management function and included:Standby designated switch after the scheduled time not Receive the first response message that designated switch is sent;Standby designated switch is to designated switch Retransmit the first request message;It is standby after the number for retransmitting the first request message reaches predetermined threshold It is standby in the case of the first response message for not receiving designated switch transmission with designated switch Designated switch determines that designated switch loses management function.For example, in order to ensure standby specify Interchanger (Backup Designed Switch, referred to as BDS) is able to detect that specified friendship Change planes (Designed Switch, referred to as DS) collapse, in time carry out DS/BDS switchings, The number for retransmitting the first request message can be set more than repeating transmission upper limit MAXRQ, then it is assumed that DS is collapsed, and BDS is switched fast as DS.By above-mentioned steps, standby specified exchange is set Machine can send the threshold value of the first request message number to designated switch so that be specified standby Interchanger can monitor whether designated switch loses management function during synchronization, so as to It can determine that designated switch loses management function in standby designated switch, quickly timely connect For designated switch.
It should be noted that the embodiment of the present invention goes for active swap machine in data center DS/ backup switches BDS renewal and inspection, i.e. BDS active requests, batch synchronization Whether DS/BDS and inspection DS lose managerial ability so that DS and BDS can keep number According to synchronization, and when DS collapses, BDS can quickly switch to DS.
In order to facilitate understanding, the present embodiment is using request message as backup synchronization request (Backup Synchronization Request, referred to as BSR) frame, the synchronous (Backup of response message backup Synchronization, referred to as BS) frame, confirmation message is backup confirmation of synchronization (Backup Synchronization Acknowledgement, referred to as BSA) message is carried out exemplified by frame say It is bright.Wherein, above-mentioned BSR frames, BS frames, the form of BSA frames are as shown in Figure 3.Such as Fig. 3 The implication of each field of shown frame is as follows:
OP is action type;When OP fields are 1, frame as shown in Figure 3 represents BSR Frame;When OP fields are 2, frame as shown in Figure 3 represents BS frames;When OP fields are 3 When, frame as shown in Figure 3 represents BSA frames;
SEQ is sequence number, by designated switch (Designed Switch, referred to as DS) Or standby designated switch (Backup Designed Switch, referred to as BDS) is produced at random It is raw;
ACK is confirmation number, previous for confirming for the sequence number of the last data frame received Data frame;
HTYPE is physical address type, and 1 represents ethernet address, and other values retain;
MTYPE is mapping address type, and 1 represents Moose switch address, and other values are protected Stay;
NUM is contained Item number;
TIMES represents to need the timing node of renewal/deletion entry;
Item is the entry to be updated/deleted, and its structure is as shown in Figure 4.
The implication of Item as shown in Figure 4 each field is as follows:
TIME represents to need the timing node of the entry of renewal/deletion;
Operation represents the action done to the entry, wherein, 1 is updated to, is deleted as 2, Malfunction for FF;
ADD is the physical address of the non-DS interchangers in source;
M_ID is the mapping address of the non-DS interchangers in source.
Fig. 5 is designated switch according to embodiments of the present invention and standby designated switch data Synchronous schematic diagram, Fig. 6 is designated switch according to embodiments of the present invention and standby specified friendship Change planes the flow chart of data syn-chronization, flow chart as shown in Figure 6 illustrated with reference to Fig. 5, As shown in fig. 6, the flow is that BDS is after BS data frames are received in synchronizing process, to this The processing procedure of data frame, it is comprised the following steps that:
Step S602, it is 0 that BDS, which sets counter COUNT, juxtaposition COUNT,;
Step S604, an item in BS frames is extracted, by COUNT plus one;
Step S606, if COUNT is more than NUM, go to step S616;
Step S608, compare the TIME of the TIMES and item in BS frames, if TIMES More than TIME, it is determined that the item is not the item in the newest BS frames received;Continue Step S610, if TIMES is less than or equal to TIME, continue step S612;
Step S610, the Operation fields of the item are set to FF,
Step S612:Corresponding operating is carried out according to the Operation fields of the item, if Operation field values are 1, then check the MAC/Moose Switch in this interchanger Address tables, MAC/Moose Switch Address tables are as listed in Table 1, check BS The value (for example, MAC Address) of ADD fields whether there is in MAC/Moose in frame In Switch Address tables, if it is present the above-mentioned BS frames of data cover using BS frames List item corresponding to middle ADD field values, and SYN bit fields in the list item are set to 0, table Show that the list item has been updated;Otherwise, increased newly in MAC/Moose Switch Address tables Add a list item, the list item is filled using the data of BS frames, and by SYN bit in the list item 0 is set to, represents that the list item has been updated.If Operation is 2, this interchanger is checked In MAC/Moose Switch Address tables, check ADD fields in BS value whether It is present in table, if it is present deleting table corresponding to ADD field values in above-mentioned BS frames ;Otherwise any operation is not done;
Step S614:Go to step S604;
Step S616:Assuming that receiving the sequence number y of BS frames, confirmation number is x, then to DS Serial No. x+1 is replied, confirms that number BSA frames for being y (will except in step S606 Operation is changed to FF item, and other are all identical with the item in the BS received);Weight Put and start the timer Timer4 of this interchanger.
Step S618:When in the BS frames received M positions be 1, then show subsequently also have BS frames (i.e. a BS frame can not include the data of complete DS renewals, it is necessary to which multiple BS frames are complete The transmission of the data of paired DS renewals);
Step S620:If after Timer4 time-out, Serial No. y+1, confirmation number are not received For x+1 BS frames, continue step S622;Otherwise, if Timer4 has not timed out, receive Serial No. y+1, confirm number BS frames for being x+1, go to step S602;
Step S622:Retransmit the BSR frames;
Step S624:When M positions are 0 in BS frames, if after Timer4 time-out, do not receive To the BSA frames for having correct ACK from DS;Otherwise, step S628 is gone to;
Step S626:Then retransmit the BSR frames;
Step S628:Reset and start timer BRQ Timer, i.e., synchronously successfully completing Afterwards, BDS and DS data are synchronized again after BRQ Timer timing times.
Through the above description of the embodiments, those skilled in the art can be understood that The mode of general hardware platform necessary to can add to the method according to above-described embodiment by software To realize, naturally it is also possible to which by hardware, but the former is more preferably embodiment in many cases. Based on such understanding, technical scheme substantially makes tribute to prior art in other words The part offered can be embodied in the form of software product, and the computer software product is stored in In one storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to A so that station terminal equipment (can be mobile phone, computer, server, or network equipment etc.) Perform the method described in each embodiment of the present invention.
Embodiment 2
A kind of double layer network managing device is additionally provided in the present embodiment, and the device is used to realize Above-described embodiment and preferred embodiment, repeating no more for explanation was carried out.Such as following institute Use, term " module " can realize the combination of the software and/or hardware of predetermined function. Although device described by following examples is preferably realized with software, hardware, or The realization of the combination of software and hardware is also what may and be contemplated.
Fig. 7 is the structured flowchart of double layer network managing device according to embodiments of the present invention, is such as schemed Shown in 7, the device includes:
Sending module 72, for sending the first request message to designated switch, wherein, refer to Determine interchanger and backup switch is located in predetermined double layer network, designated switch is used to manage Interchanger in double layer network, backup designated switch are used to lose management work(in designated switch Designated switch is taken over during energy;
Execution module 74, above-mentioned sending module 72 is connected to, for according to designated switch pair The response of first request message carries out at least one of:With designated switch carry out data syn-chronization, Determine that designated switch loses management function.
Fig. 8 is execution module 74 in double layer network managing device according to embodiments of the present invention Structured flowchart, as shown in figure 8, the execution module 74 includes:First receiving unit 82 and same Unit 84 is walked, is illustrated separately below.
Receiving unit 82, the first sound sent for receiving designated switch after the scheduled time Message is answered, wherein, the first response message carries the number that designated switch updates after timestamp According to timestamp is carried in the first request message;
Synchronization unit 84, above-mentioned receiving unit 82 is connected to, for according to the first response message Data syn-chronization is carried out to standby designated switch and designated switch.
Fig. 9 is synchronization unit 84 in double layer network managing device according to embodiments of the present invention Structured flowchart, as shown in figure 9, the synchronization unit 84 includes:The He of first determination subelement 92 First transmission sub-unit 94, is illustrated separately below.
First determination subelement 92, first is determined for the mark in the first response message The data updated after the timestamp carried in response message are imperfect;
First transmission sub-unit 94, above-mentioned first determination subelement 92 is connected to, for pre- Fix time it is interior after do not receive the second response message, to designated switch send the first confirmation message, Until the data updated after the timestamp sent are complete, wherein, the second response message, which carries, to be removed The data updated after timestamp outside the data carried in first response message, first confirms to disappear Cease for notify designated switch send in addition to the data carried in the first response message when Between stab after the data that update.
Figure 10 is synchronization unit 84 in double layer network managing device according to embodiments of the present invention Preferred structure block diagram, as shown in Figure 10, the synchronization unit 84, which removes, includes institute as shown in Figure 9 With outside unit, in addition to:Second determination subelement 102 and the second transmission sub-unit 104, under Face illustrates respectively.
Second determination subelement 102, first is determined for the mark in the first response message The data updated after the timestamp carried in response message are complete;
Second transmission sub-unit 104, be connected to above-mentioned second determination subelement 102, for Designated switch sends the second confirmation message.
Figure 11 is execution module 74 in double layer network managing device according to embodiments of the present invention Structured flowchart, as shown in figure 11, the execution module 74, which is removed, includes list used as shown in Figure 8 It is first outer, in addition to:First determining unit 112, the determining unit 116 of transmitting element 114 and second, Illustrate separately below.
First determining unit 112, for determining not receiving designated switch hair after the scheduled time The first response message sent;
Transmitting element 114, above-mentioned first determining unit 112 is connected to, for specified exchange Machine retransmits the first request message;
Second determining unit 116, above-mentioned transmitting element 114 is connected to, for retransmitting first After the number of request message reaches predetermined threshold, it is determined that not receiving the first of designated switch transmission In the case of response message, determine that designated switch loses management function.
It should be noted that above-mentioned modules can be realized by software or hardware, For the latter, can be accomplished by the following way, but not limited to this:Above-mentioned module is respectively positioned on together In one processor;Or the form of above-mentioned modules in any combination is respectively positioned at different In processor.
Embodiment 3
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, Above-mentioned storage medium can be configured to the program code that storage is used to perform following steps:
The standby designated switch of S1 sends the first request message to designated switch, wherein, refer to Determine interchanger and backup switch is located in predetermined double layer network, designated switch is used to manage Interchanger in double layer network, backup designated switch are used to lose management work(in designated switch Designated switch is taken over during energy;
S2, standby designated switch are carried out according to response of the designated switch to the first request message At least one of:Data syn-chronization is carried out with designated switch, determines that designated switch loses pipe Manage function.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps: Standby designated switch enters according to response of the designated switch to request message with designated switch Row data synchronously include:
S1, standby designated switch receive the first sound of designated switch transmission after the scheduled time Message is answered, wherein, the first response message carries the number that designated switch updates after timestamp According to timestamp is carried in the first request message;
S2, standby designated switch exchange standby designated switch according to response message with specifying Machine carries out data syn-chronization.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps: Standby designated switch is carried out according to response message to standby designated switch and designated switch Data syn-chronization includes:
S1, mark of the standby designated switch in the first response message determine that the first response disappears The data updated after the timestamp carried in breath are imperfect;
S2, standby designated switch do not receive the second response message after the scheduled time, wherein, After second response message carries the timestamp in addition to the data carried in the first response message The data of renewal;Standby designated switch sends the first confirmation message to designated switch, until The data updated after complete designated switch timestamp are received, wherein, the first confirmation message For notifying designated switch to send the time in addition to the data carried in the first response message The data updated after stamp.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps: Standby designated switch is according to the first response message to standby designated switch and designated switch Carrying out data syn-chronization includes:
S1, mark of the standby designated switch in the first response message are determined in response message The data updated after the timestamp of carrying are complete;
S2, standby designated switch send the second confirmation message to designated switch.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps: Standby designated switch being handed in response to determining that specifying to the first request message according to designated switch Change planes and lose management function and include:
S1, standby designated switch do not receive the first of designated switch transmission after the scheduled time Response message;
S2, standby designated switch retransmit the first request message to designated switch;
S3, after the number for retransmitting the first request message reaches predetermined threshold, standby specified exchange In the case that machine does not receive the first response message of designated switch transmission, standby designated switch Determine that designated switch loses management function.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various to store The medium of program code.
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs:Standby designated switch sends the first request message to designated switch, wherein, refer to Determine interchanger and backup switch is located in predetermined double layer network, designated switch is used to manage Interchanger in double layer network, backup designated switch are used to lose management work(in designated switch Designated switch is taken over during energy;Standby designated switch disappears according to designated switch to the first request The response of breath carries out at least one of:Data syn-chronization is carried out with designated switch, determines to specify Interchanger loses management function.
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs:Standby designated switch is handed over according to response of the designated switch to request message with specifying Progress data syn-chronization of changing planes includes:Standby designated switch receives after the scheduled time specifies exchange Machine send the first response message, wherein, the first response message carry designated switch when Between stab after the data that update, timestamp carried in the first request message;Standby designated switch Data syn-chronization is carried out to standby designated switch and designated switch according to the first response message.
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs:Standby designated switch exchanges standby designated switch according to response message with specifying Machine, which carries out data syn-chronization, to be included:Mark of the standby designated switch in the first response message is true The data updated after the timestamp carried in provisioning response message are imperfect;Standby designated switch exists The second response message is not received after the scheduled time, wherein, the second response message is carried except The data updated after timestamp outside the data carried in one response message;Standby specified exchange Machine sends the first confirmation message to designated switch, until when receiving complete designated switch Between stab after the data that update, wherein, the first confirmation message is used to notify designated switch is sent to remove The data updated after timestamp outside the data carried in first response message.
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs:Standby designated switch is according to the first response message to standby designated switch with specifying Interchanger, which carries out data syn-chronization, to be included:Mark of the standby designated switch in the first response message It is complete to know the data updated after the timestamp for determining to be carried in the first response message;Standby specified friendship Change planes and send the second confirmation message to designated switch.
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs:Standby designated switch according to designated switch to the first request message in response to determining that Designated switch, which loses management function, to be included:Standby designated switch does not receive after the scheduled time The first response message that designated switch is sent;Standby designated switch is retransmitted to designated switch First request message;After the number for retransmitting the first request message reaches predetermined threshold, standby finger It is standby to specify in the case of determining the first response message that interchanger does not receive designated switch transmission Interchanger determines that designated switch loses management function.
Alternatively, the specific example in the present embodiment may be referred to above-described embodiment and optional implementation Example described in mode, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each Step can realize that they can concentrate on single computing device with general computing device On, or be distributed on the network that multiple computing devices are formed, alternatively, they can be used The executable program code of computing device is realized, it is thus possible to be stored in storage dress Performed in putting by computing device, and in some cases, can be with suitable different from herein Sequence performs shown or described step, or they are fabricated to each integrated circuit die respectively Block, or the multiple modules or step in them are fabricated to single integrated circuit module to realize. So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, For those skilled in the art, the present invention can have various modifications and variations.It is all this Within the spirit and principle of invention, any modification, equivalent substitution and improvements made etc. all should Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. double layer network management method, it is characterised in that including:
    Standby designated switch sends the first request message to designated switch, wherein, institute State designated switch and the standby designated switch is located in predetermined double layer network, institute Designated switch is stated to be used to manage the interchanger in the double layer network, it is described standby specified Interchanger is used to take over the specified exchange when the designated switch loses management function Machine;
    The standby designated switch disappears according to the designated switch to the described first request The response of breath carries out at least one of:With the designated switch carry out data syn-chronization, Determine that the designated switch loses management function.
  2. 2. according to the method for claim 1, it is characterised in that the standby finger Interchanger is determined according to response of the designated switch to the request message and the finger Determining interchanger progress data syn-chronization includes:
    The standby designated switch receives the designated switch hair after the scheduled time The first response message sent, wherein, first response message carries the specified friendship Change planes the data updated after timestamp, the timestamp carries to disappear in the described first request In breath;
    The standby designated switch is according to first response message to the standby finger Determine interchanger and carry out data syn-chronization with the designated switch.
  3. 3. according to the method for claim 2, it is characterised in that the standby finger Determine interchanger according to first response message to the standby designated switch with it is described Designated switch, which carries out data syn-chronization, to be included:
    Identification information of the standby designated switch in first response message The data updated after the timestamp for determining to carry in first response message are imperfect;
    The standby designated switch does not receive the second response message after the scheduled time, Wherein, second response message is carried except the institute carried in first response message State the data updated after the timestamp outside data;
    The standby designated switch sends the first confirmation message to the designated switch, Until the data updated after the complete designated switch timestamp are received, wherein, First confirmation message is used to notify the designated switch is sent to remove first sound Answer the data updated after the timestamp outside the data carried in message.
  4. 4. according to the method for claim 2, it is characterised in that the standby finger Determine interchanger according to first response message to the standby designated switch with it is described Designated switch, which carries out data syn-chronization, to be included:
    Identification information of the standby designated switch in first response message The data updated after the timestamp for determining to carry in first response message are complete;
    The standby designated switch sends the second confirmation message to the designated switch.
  5. 5. according to the method for claim 1, it is characterised in that the standby finger Determine interchanger according to the designated switch to first request message in response to determining that The designated switch, which loses management function, to be included:
    The standby designated switch does not receive the designated switch after the scheduled time First response message sent;
    The standby designated switch retransmits first request to the designated switch Message;
    It is described standby after the number for retransmitting first request message reaches predetermined threshold Designated switch does not receive first response message that the designated switch is sent In the case of, the standby designated switch determines that the designated switch loses management function.
  6. 6. a kind of double layer network managing device, in standby designated switch, it is special Sign is, including:
    Sending module, for sending the first request message to designated switch, wherein, institute State designated switch and the standby designated switch is located in predetermined double layer network, institute Designated switch is stated to be used to manage the interchanger in the double layer network, it is described standby specified Interchanger is used to take over the specified exchange when the designated switch loses management function Machine;
    Execution module, for according to the designated switch to first request message Response carries out at least one of:Data syn-chronization is carried out with the designated switch, is determined The designated switch loses management function.
  7. 7. device according to claim 6, it is characterised in that the execution mould Block includes:
    Receiving unit, for receive that the designated switch sends after the scheduled time the One response message, wherein, first response message carries the designated switch and existed The data updated after timestamp, the timestamp are carried in the request message;
    Synchronization unit, for according to first response message to the standby specified exchange Machine carries out data syn-chronization with the designated switch.
  8. 8. device according to claim 7, it is characterised in that described synchronous single Member includes:
    First determination subelement, determined for the mark in first response message The data updated after the timestamp carried in first response message are imperfect;
    First transmission sub-unit, disappear for not receiving the second response after in the given time Breath, the first confirmation message is sent to the designated switch, until the time sent The data updated after stamp are complete, wherein, second response message is carried except described The data updated after the timestamp outside the data carried in one response message, First confirmation message is used to notify the designated switch is sent to remove first sound Answer the data updated after the timestamp outside the data carried in message.
  9. 9. device according to claim 7, it is characterised in that described synchronous single Member includes:
    Second determination subelement, for described in the mark determination in the response message The data updated after the timestamp carried in first response message are complete;
    Second transmission sub-unit, for sending the second confirmation message to the designated switch.
  10. 10. device according to claim 6, it is characterised in that the execution mould Block includes:
    First determining unit, for determining not receiving the specified exchange after the scheduled time First response message that machine is sent;
    Transmitting element, for retransmitting first request message to the designated switch;
    Second determining unit, for reaching pre- in the number for retransmitting first request message After determining threshold value, it is determined that not receiving first response message that the designated switch is sent In the case of, determine that the designated switch loses management function.
CN201610460714.XA 2016-06-22 2016-06-22 Double layer network management method and device Pending CN107528716A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610460714.XA CN107528716A (en) 2016-06-22 2016-06-22 Double layer network management method and device
PCT/CN2017/084837 WO2017219803A1 (en) 2016-06-22 2017-05-18 Network management method and apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610460714.XA CN107528716A (en) 2016-06-22 2016-06-22 Double layer network management method and device

Publications (1)

Publication Number Publication Date
CN107528716A true CN107528716A (en) 2017-12-29

Family

ID=60734181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610460714.XA Pending CN107528716A (en) 2016-06-22 2016-06-22 Double layer network management method and device

Country Status (2)

Country Link
CN (1) CN107528716A (en)
WO (1) WO2017219803A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835578A (en) * 2019-06-06 2020-10-27 北京骑胜科技有限公司 Information transmission management method, information transmission management apparatus, and readable storage medium
CN111917641A (en) * 2020-06-29 2020-11-10 北京瀚诺半导体科技有限公司 Two-layer network management method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774597B2 (en) * 2003-06-27 2010-08-10 Ram Gopal Lakshmi Narayanan System and method for nodes communicating in a shared network segment
CN101577679B (en) * 2009-06-26 2011-08-03 杭州华三通信技术有限公司 Configuration management method for realizing multicast service sharing among appointed routers and appliance thereof
CN101631043A (en) * 2009-08-05 2010-01-20 杭州华三通信技术有限公司 Multicast fault recovery method, multicast router and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835578A (en) * 2019-06-06 2020-10-27 北京骑胜科技有限公司 Information transmission management method, information transmission management apparatus, and readable storage medium
CN111835578B (en) * 2019-06-06 2021-10-15 北京骑胜科技有限公司 Information transmission management method, information transmission management apparatus, and readable storage medium
CN111917641A (en) * 2020-06-29 2020-11-10 北京瀚诺半导体科技有限公司 Two-layer network management method and system

Also Published As

Publication number Publication date
WO2017219803A1 (en) 2017-12-28

Similar Documents

Publication Publication Date Title
CN104885410B (en) Commission channel for reticular pattern network switches
CN105744579B (en) Method, switching control and the access device that terminal switches between AP
CN107690162A (en) The processing method and processing device of cell connection failure
EP2962194A1 (en) Optimizing handling of virtual machine mobility in data center environments
EP2519037A1 (en) Method and network for sharing sensor data among mobile terminals
CN107708104A (en) The method and device of auxiliary base station change
CN101641916A (en) Removal of ambiguities in forming new piconet controller (PNC) when the current PNC controller is suddenly unavailable
JP2020535756A (en) Duplicate transmission method and device
CN103974380A (en) Terminal access position keep-alive method and device
CN103002065A (en) Method and device for sharing internet protocol (IP) address by host device and standby device
CN104092621A (en) Load sharing method and device
CN106330786A (en) MAC address synchronization method, apparatus and system
CN106302700A (en) Distributed system consistent update method and system based on paxos algorithm
CN102136928A (en) Topology discovery method and device
CN104580029A (en) Address distribution method and device
CN107528716A (en) Double layer network management method and device
CN106487583A (en) A kind of method for setting up network connection and LAN system
CN114285695A (en) Communication method, device, equipment, system and storage medium
CN104468947B (en) A kind of information processing method and electronic equipment
CN103209185A (en) Method and device for transmitting message at optical interface
CN103634877B (en) Without the management method of access point in the network of access controller and access point apparatus
CN110050473B (en) System and method for wireless device synchronization
RU2693903C1 (en) Method, apparatus and processing system for expanded port
CN105580424A (en) Method and apparatus for accessing base station by terminal
CN105007233B (en) A kind of method that distribution address is loaded based on Dynamic Host Configuration Protocol server cluster

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20171229

WD01 Invention patent application deemed withdrawn after publication