WO2014169557A1 - 接口切换方法和装置 - Google Patents

接口切换方法和装置 Download PDF

Info

Publication number
WO2014169557A1
WO2014169557A1 PCT/CN2013/083188 CN2013083188W WO2014169557A1 WO 2014169557 A1 WO2014169557 A1 WO 2014169557A1 CN 2013083188 W CN2013083188 W CN 2013083188W WO 2014169557 A1 WO2014169557 A1 WO 2014169557A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
forwarding rule
address list
data
switching
Prior art date
Application number
PCT/CN2013/083188
Other languages
English (en)
French (fr)
Inventor
张俊剑
王琳
张伟良
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to RU2015146593A priority Critical patent/RU2616880C1/ru
Priority to US14/784,586 priority patent/US20160087896A1/en
Priority to EP13882471.9A priority patent/EP2975811A4/en
Priority to SG11201508603WA priority patent/SG11201508603WA/en
Publication of WO2014169557A1 publication Critical patent/WO2014169557A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/122Avoiding congestion; Recovering from congestion by diverting traffic away from congested entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2838Distribution of signals within a home automation network, e.g. involving splitting/multiplexing signals to/from different paths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the present invention relates to the field of communications, and in particular, to an interface switching method and apparatus under a multi-media home network networking.
  • the IEEE Standards Organization is developing a new P1905.1 standard that provides an abstraction layer for multiple media in a home network.
  • this abstraction layer is a heterogeneous home network medium such as IEEE P1901, IEEE 802.11.
  • IEEE 802.3 and MoCA 1.1 provide a common control and data level SAP (Service Access Point), which abstracts specific operational information for each link being used and aggregates data sent and received over different links.
  • SAP Service Access Point
  • seamless connectivity of various interconnection technologies is realized in the home network.
  • Advanced software management is also possible through this software layer. For example, when a user device is connected to a link that supports different technologies, it is no longer necessary to enter a different password, simply by pressing a button.
  • IEEE P1905.1 completes device discovery and configuration, establishes secure connections, and provides other advanced network management functions.
  • IEEE P1905.1 provides many key features and has many advantages that can be used to implement the next generation home network, as shown below:
  • Ease of use As a consumer-oriented technology, it is essential that network configuration and use be transparent to consumers. IEEE P1905.1 provides a common configuration method for adding devices, establishing secure links, and intelligently managing networks.
  • Reliable services Common network problems such as congestion or temporary interruption of connectivity may result in degraded service quality.
  • devices can use alternate links to reduce the number of service interruptions, thus ensuring a good user experience.
  • Hybrid networks can aggregate all the bandwidth of different links to maximize throughput.
  • Support multi-media streaming In applications such as interactive TV, even one user can watch multiple media streams at the same time, so the new generation network must have the ability to support several high-definition streaming media at the same time.
  • Congestion management Support load balancing and limit network congestion to ensure network reliability and content quality.
  • Security Operators want a solid and reliable security mechanism, and in order to avoid excessive on-site or after-sales phone services, such security mechanisms must be simple enough to improve ease of use.
  • the device can be configured with the push of a button, avoiding the complicated operation of entering a password.
  • Self-service installation The new generation home network must support simple installation, discovery and self-service configuration.
  • IEEE P 1905.1 provides an effective technology to effectively solve the real-world problems in today's home networks. Only by solving these problems can operators deploy hybrid networks with confidence. IEEE P1905.1 seamlessly connects the interconnect technologies that have been deployed today, providing the last element needed to implement home connectivity.
  • the setting of the forwarding rule list in the abstraction layer forwarding module in the abstraction layer wherein the interface address list parameter can be set to include a list of multiple MAC addresses or a single MAC address.
  • the interface address list parameter of the forwarding rule list may be set to include the collection of the several transmission interfaces (ie, the interface). Group) or one of the interfaces, the link quality of these interfaces is dynamically changed when the data is actually transmitted. If the interface used is an interface with poor link quality, it will affect the efficiency of data transmission.
  • the invention provides an interface switching method and device, which solves the problem that improper interface selection affects transmission The problem of data efficiency.
  • An interface switching method includes:
  • the abstraction layer selects or switches the interface or interface group used to transmit the data based on the forwarding rules of the data match.
  • the forwarding rule includes a current interface address list, and the current interface address list indicates an interface or an interface group used by the abstraction layer to transmit the data.
  • the forwarding rule corresponds to an interface address list
  • the interface or interface group used by the abstraction layer to select the data to be transmitted is:
  • the abstraction layer selects the most suitable interface or interface group from the interface address list.
  • selecting the most suitable interface or interface group from the interface address list is: selecting the most suitable interface or interface group according to any one or more of the following parameters of the interface address list:
  • the link quality parameters of the interface The link quality parameters of the interface, the data information parameters of the data, the device information parameters of the multi-media home network device, and the customized evaluation parameters.
  • the interface or the interface group used by the abstraction layer to switch the data is: the link quality parameter of each interface included in the interface address list of the forwarding rule is monitored by the abstraction layer;
  • Data information parameters of the data are Data information parameters of the data, device information parameters of the multi-media home network device, and customized evaluation parameters;
  • the current interface address list of the forwarding rule is updated to the new interface or interface group.
  • the foregoing interface switching method further includes: The abstraction layer notifies the upper layer entity of the selected interface or interface group used to transmit the data as an interface or interface group intelligent handover event.
  • the foregoing interface switching method further includes:
  • the abstraction layer notifies the upper layer entity of the switched interface or interface group used for transmitting the data as an interface or interface group intelligent handover event.
  • the abstraction layer uses the interface or the interface group used for transmitting the data as an interface or an interface group intelligent switching event, and notifies the upper layer entity to:
  • the abstraction layer sends an upper layer entity to modify the current working interface address notification message reporting interface or the interface group intelligent switching event, where the modified current working interface address notification message carries any or all of the following information:
  • the foregoing interface switching method further includes:
  • the upper layer entity stores the interface or interface group smart handover event.
  • the foregoing interface switching method further includes:
  • the abstraction layer When the abstraction layer receives the new forwarding rule request message sent by the upper layer entity, the abstraction layer sends a new forwarding rule confirmation message to the upper layer entity, where the new forwarding rule confirmation message carries the current Interface address list;
  • the abstraction layer When the abstraction layer receives the get forwarding rule request message sent by the upper layer entity, the abstraction layer sends a get forwarding rule response message to the upper layer entity, where the get forwarding rule response message carries the current interface address list. ;
  • the abstraction layer When the abstraction layer receives the modify forwarding rule request message sent by the upper layer entity, the abstraction layer sends a modify forwarding rule acknowledgement message to the upper layer entity, where the modified forwarding rule acknowledgement message carries the current interface A list of addresses.
  • the invention also provides an interface switching device, comprising:
  • the abstract layer forwarding module is configured to: select or switch an interface or an interface group used to transmit the data according to a forwarding rule of data matching.
  • the forwarding rule includes a current interface address list, and the current interface address list indicates an interface or an interface group used by the abstraction layer to transmit the data.
  • the forwarding rule corresponds to an interface address list
  • the abstraction layer forwarding module includes: a selecting unit, configured to: after the upper layer entity adds or modifies the interface address list of the forwarding rule, from the interface address list Choose the most appropriate interface or interface group.
  • the selecting unit is configured to: select the most suitable interface or interface group according to any one or more of the following parameters of the interface address list:
  • the link quality parameters of the interface The link quality parameters of the interface, the data information parameters of the data, the device information parameters of the multi-media home network device, and the customized evaluation parameters.
  • the abstraction layer forwarding module further includes an adaptive quality of service (QoS) processing unit, where the adaptive QoS processing unit includes:
  • a link quality parameter monitoring subunit configured to: monitor, in the abstraction layer, a link quality parameter of each interface included in an interface address list of the forwarding rule;
  • the comparison subunit is configured to: compare the link quality parameter of each interface with a link quality parameter of a current working interface address list of the forwarding rule;
  • the determining subunit is set to: based on the comparison result and any or all of the following parameters, determine whether it is necessary to switch the interface or interface group used to transmit the data:
  • Data information parameters of the data are Data information parameters of the data, device information parameters of the multi-media home network device, and customized evaluation parameters;
  • the switch update subunit is set to: when it is determined that the switch needs to be switched to a new interface or interface group, the current interface address list of the forwarding rule is updated to the new interface or interface group.
  • the abstract layer forwarding module further includes:
  • a first reporting unit configured to: use the selection unit to select the data used to transmit the data
  • An interface or interface group intelligently switches events as an interface or interface group to notify the upper-layer entity.
  • the abstract layer forwarding module further includes:
  • the second reporting unit is configured to: notify the upper layer entity that the interface or the interface group used for transmitting the data after the switching update subunit is switched as an interface or an interface group intelligent switching event.
  • the second reporting unit is configured to: after the switching update subunit updates the current interface address list of the forwarding rule to the new interface or interface group, send an upper working entity to modify the current working interface.
  • the address notification message reporting interface or the interface group intelligent switching event, where the modified current working interface address notification message carries any or all of the following information:
  • the abstract layer forwarding module further includes:
  • the response unit is configured to: when receiving the new forwarding rule request message sent by the upper layer entity, send a new forwarding rule confirmation message to the upper layer entity, where the new forwarding rule confirmation message carries the current interface address List, or,
  • the modify forwarding rule acknowledgement message is sent to the upper layer entity, and the current forwarding address acknowledgement message carries the current interface address list.
  • An embodiment of the present invention provides an interface switching method and apparatus, where an abstraction layer above a plurality of MAC layers of a multi-media home network device selects or switches an interface or interface used for transmitting the data according to a forwarding rule of data matching. group.
  • the abstract layer monitors the interface address column of the forwarding rule.
  • the link quality parameters of each interface included in the table select or switch the interfaces or interface groups used for data transmission according to the link quality parameters, data information, and device information of each interface, and implement the abstraction of the multi-media home network device.
  • the layer intelligently selects or switches the interface of the data transmission interface according to the information such as the link quality, and solves the problem that the improper selection of the interface affects the efficiency of the data transmission.
  • FIG. 1 is a schematic diagram of a hierarchical structure of multiple media in a home network
  • FIG. 2 is a schematic structural diagram of an interface switching apparatus according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic structural diagram of an abstract layer forwarding module 201 of FIG.
  • FIG. 4 is a schematic structural diagram of an adaptive QoS processing unit 2012 in FIG. 3;
  • FIG. 5 is a schematic diagram of a parameter structure of a current working interface address list according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic diagram of the principle of the adaptive QoS processing module according to the second embodiment of the present invention
  • FIG. 7 is a flowchart of an interface switching method according to Embodiment 2 of the present invention.
  • the link quality of the interface is dynamically changed when the data is actually transmitted. If the adopted interface becomes an interface with poor link quality, or comprehensively considers the link quality change, data parameters and device parameters, etc., the interface used is not suitable for the transmission of the corresponding data, which will affect the transmission data. Efficiency and overall performance of network transmission.
  • embodiments of the present invention provide an interface switching method and apparatus.
  • the current working interface address list is added to the forwarding rule.
  • the abstract layer forwarding module monitors the link quality of each interface or interface group included in the interface address list of the forwarding rule, and selects or switches the most suitable interface or interface for transmitting data according to link quality parameters, data parameters, and device parameters. Group, if the interface group is selected, you need to consider that a service flow needs to be distributed from multiple interfaces included in the interface group at the same time.
  • the interface address list parameters configured by the upper-layer entity remain unchanged, preventing users from having trouble viewing the forwarding rules. If you need to switch to a new interface or interface group, the abstraction layer forwarding module will connect. The event of the port intelligent switching is notified to the upper layer entity, and the upper layer entity can save the event in the local database or report it to the management platform through the network management program.
  • An embodiment of the present invention provides an interface switching apparatus, which is configured as shown in FIG. 2, and includes: an abstraction layer forwarding module 201, configured to select or switch an interface or interface used for transmitting the data according to a forwarding rule matched by data. group.
  • an abstraction layer forwarding module 201 configured to select or switch an interface or interface used for transmitting the data according to a forwarding rule matched by data. group.
  • the forwarding rule includes a current interface address list, and the current interface address list indicates an interface or an interface group used by the abstraction layer to transmit the data.
  • the forwarding rule corresponds to an interface address list
  • the structure of the abstraction layer forwarding module 201 is as shown in FIG. 3, and includes:
  • the selecting unit 2011 is configured to select the most suitable interface or interface group from the interface address list after adding or modifying the interface address list of the forwarding rule in the upper layer entity.
  • the selecting unit 2011 is specifically configured to select the most suitable interface or interface group according to any one or any of the following parameters of the interface address list:
  • the link quality parameters of the interface The link quality parameters of the interface, the data information parameters of the data, the device information parameters of the multi-media home network device, and the customized evaluation parameters.
  • the abstraction layer forwarding module 201 further includes an adaptive QoS processing unit 2012.
  • the structure of the adaptive QoS processing unit 2012 is as shown in FIG. 4, and includes:
  • a link quality parameter monitoring subunit 401 configured to monitor link quality parameters of each interface included in an interface address list of the forwarding rule at the abstraction layer;
  • the comparing subunit 402 is configured to compare the link quality parameter of each interface with a link quality parameter of a current working interface address list of the forwarding rule;
  • a determining subunit 403 configured to determine according to the comparison result and any or all of the following parameters No need to switch the interface or interface group used to transfer the data:
  • Data information parameters of the data are Data information parameters of the data, device information parameters of the multi-media home network device, and customized evaluation parameters;
  • the switch update subunit 404 is configured to update the current interface address list of the forwarding rule to the new interface or interface group when determining that a new interface or interface group needs to be switched.
  • the abstraction layer forwarding module 201 further includes:
  • the first reporting unit 2013 is configured to notify the upper layer entity of the interface or interface group used by the selecting unit 2011 to transmit the data as an interface or an interface group intelligent switching event.
  • the abstraction layer forwarding module 201 further includes:
  • the second reporting unit 2014 is configured to notify the upper layer entity that the interface or interface group used for transmitting the data after the handover update subunit is switched as an interface or interface group intelligent handover event.
  • the second upper unit 2014 is specifically configured to: after the handover update sub-unit 404 updates the current interface address list of the forwarding rule to the new interface or interface group, send an upper layer entity to modify the current
  • the working interface address notifies the message reporting interface or the interface group intelligent switching event, and the modified current working interface address notification message carries any or all of the following information:
  • the abstraction layer forwarding module 201 further includes:
  • the response unit 2015 is configured to: when receiving the new forwarding rule request message sent by the upper layer entity, send a new forwarding rule confirmation message to the upper layer entity, where the new forwarding protocol confirmation message carries the current interface address List, or,
  • the modified forwarding rule acknowledgement message is sent to the upper layer entity, where the modified forwarding rule acknowledgement message carries the current interface address list.
  • the embodiment of the invention provides an interface switching method, which is combined with the interface switching device shown in FIG. 2 to FIG.
  • the abstraction layer above the multiple MAC layers of the multi-media home network device selects or switches an interface or an interface group used for transmitting the data according to a forwarding rule of data matching, where the forwarding rule corresponds to an interface address list, indicating data Multiple optional interfaces for transmission.
  • the abstract layer forwarding module is added in the abstraction layer, and the current working interface address list parameter is added in the forwarding rule (as shown in FIG. 5). After the upper layer entity adds or modifies the interface address list parameter of the forwarding rule, the selecting unit is selected.
  • the most suitable interface or interface among the interface groups is selected according to the link quality parameter of the interface included in the interface address list, the data information parameter of the data, the device information parameter of the multi-media home network device, and the customized evaluation parameter. Grouping, and writing the corresponding MAC address list to the current working interface address list parameter of the forwarding rule, the first reporting unit will select the most suitable interface or interface group for transmitting the data (ie, the current work written) Address list parameter) As an interface or interface group intelligent switching event, notify the upper layer entity.
  • the adaptive QoS processing unit periodically forwards the link quality parameters of the interfaces included in the interface address list of the rule, and the link quality parameters of the interfaces and the forwarding rules.
  • the link quality parameters of the current working interface address list are compared, and according to the comparison result, the data information parameter of the data, the device information parameter of the multi-media home network device, and the customized evaluation parameter, it is determined whether it is necessary to switch to the new interface. / interface group, if it is determined that the handover is required, the handover update subunit is notified to modify the current working interface address list parameter to a new interface/interface group address.
  • the second reporting sub-unit will notify the upper-layer entity of the interface or interface group used by the switched transmission data as an interface or interface group intelligent switching event.
  • the current working interface can be modified.
  • the address notification message is reported.
  • the upper layer entity can save the interface or interface group intelligent switching event in the local database or report it to the management platform through the network management program.
  • the modify the current working interface address notification message carries any or all of the following information, as shown in the figure. 6 shows:
  • the current working interface address ⁇ 1 J table parameter needs to be added to the returned parameter.
  • the data stream passes through the abstraction layer, it should be forwarded through the MAC address interface/interface group specified by the corresponding current working interface address list parameter in the forwarding rule.
  • FIG. 7 The specific implementation manner is shown in FIG. 7, and includes:
  • Step 701 Add or modify a forwarding rule by an upper entity
  • the step specifically includes: Step 7011: The upper entity sends a new or modified forwarding rule request message to the receiving unit of the abstraction layer abstraction layer forwarding module.
  • the initial forwarding rule is included in the new forwarding rule request sent by the upper layer to the abstraction layer, and specifies the data that meets the restriction conditions of the forwarding rule (called a data category parameter.
  • this forwarding rule is applicable to sending from the A address to the B.
  • the device of the address can be transmitted through the interface or interface group in the interface address list.
  • the upper entity notifies the data class parameter and the interface address list parameter configured by the upper entity in the new and modify forwarding rule request message.
  • the new forwarding rule confirmation message carries the current interface address list.
  • the response unit of the abstraction layer forwarding module sends a modify forwarding rule acknowledgement message to the upper layer entity, where the modify forwarding rule acknowledge message is modified.
  • the current interface address list is carried in the middle.
  • Step 7012 The selecting unit of the abstraction layer selects the most suitable data for transmission according to the link quality parameter, the data parameter, the device parameter, and the vendor-defined evaluation method of each interface included in the interface parameter table configured by the upper layer entity received by the receiving unit.
  • the interface or interface group and notify the handover update sub-unit to write the corresponding MAC address list into the current working interface address list parameter added by the forwarding rule.
  • the data category parameters and interface address list parameters of the upper layer configuration are stored in the forwarding rules.
  • Step 7013 The abstraction layer forwarding module sends an interface or interface group notification message used by the selection unit to transmit the data to the upper layer entity.
  • the message may be a new one of setting a current interface address list notification message sent by the notification unit, or the response unit may include the current interface address list written in the upper layer to send a new forwarding rule confirmation message to the upper layer or modify the message. Forward the rule confirmation message.
  • Step 702 An adaptive QoS processing unit adaptively QoS processing unit to an interface or an interface group: the unit is one of newly added units in an abstraction layer abstraction layer forwarding module, and its main function is to intelligently determine whether it is needed Switch to a new interface or interface group to ensure that the data stream is distributed to the optimal interface/interface group for transmission, which can effectively improve the user experience QoE. At the same time, the intelligent switching event is notified to the upper entity for processing.
  • the intelligent switching process for an abstract layer interface or interface group is as follows:
  • Step 7021 The link quality parameter monitoring subunit of the adaptive QoS processing unit monitors link quality parameters of all interfaces included in the interface address list in the forwarding rule.
  • the link quality parameter includes a link quality parameter of the sender and a chain of the receiver.
  • the quality parameter of the path includes the link occupancy rate, the remaining bandwidth of the link, the packet loss rate, and the SNR.
  • the comparison sub-unit performs the link quality parameter of all the interfaces and the link quality parameter of the current working interface address list.
  • the determining subunit is based on the above comparison result, data parameter, device parameter and vendor-defined evaluation method (for example, the link quality parameter of other interfaces is higher than a preset threshold value of the link link of the current working interface address list) ), to determine if you need to switch to a new interface or interface group.
  • Step 7022 if the determining subunit determines that it is required to switch to a new interface or interface group, then notify The switch update subunit updates the current work interface address list parameter.
  • Step 7023 The switch update subunit updates the current working interface address list parameter.
  • the adaptive QoS processing unit may report the smart switching event of the interface or the interface group to the upper layer entity by using the second reporting unit, in order to keep the forwarding rules of the upper layer entity from being changed.
  • the reported content can include:
  • Step 7025 After receiving the smart handover event report message, the upper layer entity saves the reported content in the local log database or notifies the network management platform through a network management protocol such as TR069.
  • Step 703 The upper entity obtains a forwarding rule
  • the step specifically includes: Step 7031: The abstraction layer forwarding module receives the acquisition forwarding rule request message sent by the upper layer entity; Step 7032: The response unit of the abstraction layer forwarding module sends the current working interface address in the response forwarding request request message returned by the upper layer entity List.
  • the abstraction layer When the abstraction layer receives the get forwarding rule request message sent by the upper layer entity, the abstraction layer sends a get forwarding rule response message to the upper layer entity, where the get forwarding rule response message carries the current interface address list. ;
  • the abstraction layer When the abstraction layer receives the modify forwarding rule request message sent by the upper layer entity, the abstraction layer sends a modify forwarding rule acknowledgement message to the upper layer entity, where the modified forwarding rule acknowledgement message carries the current interface A list of addresses.
  • the list parameter can be set to multiple MAC address lists or a single MAC address.
  • the upper layer entity can set the forwarding interface address list parameter to include the collection of the several transmission interfaces or one of the interfaces when configuring the forwarding rules.
  • the link quality of the interface is dynamically changed when the data is transmitted.
  • the current working interface address list parameter is added to represent the dynamic change of the link quality.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the invention is not limited to any particular combination of hardware and software.
  • the various devices/function modules/functional units in the above embodiments may be implemented using a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • Each device/function module/functional unit in the above embodiments can be stored in a computer readable storage medium when implemented in the form of a software function module and sold or used as a standalone product.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • Embodiments of the present invention provide an interface switching method and apparatus, in which an abstraction layer above a plurality of MAC layers of a multi-media home network device selects or switches transmission according to a forwarding rule of data matching.
  • the interface or the interface group used by the data, the forwarding rule corresponds to an interface address list, and the interface address list includes two or more interfaces.
  • the link quality parameter of each interface and/or interface group included in the interface address list of the forwarding rule is monitored, and the data transmission station is selected for the forwarding rule according to the link quality parameter of each interface and/or the interface group.
  • the interface or interface group used implements the mechanism of selecting an interface according to the link quality, and solves the problem that the improper selection of the interface affects the efficiency of transmitting data.

Abstract

一种接口切换方法和装置。涉及通信领域;解决了接口选择不当影响传输数据效率的问题。该方法包括:抽象层根据数据匹配的转发规则,选择或切换传输所述数据所使用的接口或接口组。本发明实施例提供的技术方案适用于家庭网络中,实现了多介质家庭网络设备的抽象层根据链路质量等信息智能选择或切换传输数据的接口的机制。

Description

接口切换方法和装置
技术领域
本发明涉及通信领域, 尤其涉及一种多介质家庭网络组网下的接口切换 方法和装置。
背景技术
IEEE标准化组织正在制定新的 P1905.1标准 ,该标准为家庭网络的多种 介质提供了一个抽象层, 如图 1所示, 这个抽象层为异构的家庭网络介质如 IEEE P1901 , IEEE 802.11 , IEEE 802.3 和 MoCA 1.1提供一个通用的控制 和数据层面的 SAP(Service Access Point), 该抽象层可针对每一条正在使用的 链路抽象出详细具体的运行信息, 并汇聚通过不同链路收发的数据, 从而在 家庭网络中实现了各种互连技术的无缝连通。 通过该软件层, 还能进行高级 网络管理。 例如, 用户设备连接到支持不同技术的链路时, 不再需要输入不 同的密码, 仅需简单地按一下按钮即可。 IEEE P1905.1可完成设备发现和配 置, 能建立安全连接, 并提供其他一些先进的网络管理功能。
IEEE P1905.1提供很多关键功能, 有很多优势, 可用来实现下一代家庭 网, 口下所示: 。
1 )易用性: 作为一种面向消费者的技术, 至关重要的是, 网络配置和使 用对消费者要透明。 IEEE P1905.1为网络增加设备、 建立安全链路以及智能 地管理网络提供了通用配置方法。
2 )可靠的服务:拥塞或连接暂时中断等常见网络问题可能导致服务质量 劣化。 通过釆用链路选择机制, 设备可以使用可替换的链路, 以减少服务中 断次数, 从而确保良好的用户体验。
3 )增大网络容量: 混合网络能汇聚不同链路的所有带宽, 最大限度地增 大吞吐量。
4 )支持多路媒体流传输: 在互动电视等应用中, 甚至一个用户也可以同 时观看多个媒体流, 因此新一代网络必须有能力同时支持几路高清流媒体。 5 )拥塞管理: 支持负载均衡并可以限制网络拥塞,保证网络的可靠性和 内容的质量。
6 )互操作性: 全面支持 HomePlug、 Wi-Fi、 以太网以及 MoCA技术的 标准规范, 而且可实现与这些技术的后向兼容性。
7 )安全性: 运营商希望有牢固可靠的的安全机制, 同时为了避免过多的 上门或者售后电话服务, 这类安全机制必须足够简单来提升易用性。 设备按 一下按钮就可以配置, 避免了输入密码这类复杂操作。
8 )通过监控和诊断实现更高的可靠性: 能提供一致的诊断, 此外, 运营 商还能远程监控网络, 提前地修复可能的损坏, 以防止用户体验受到影响。
9 ) 自助安装: 新一代家庭网络必须支持简单的安装、 发现和自助配置。
10 )通用互连: 新一代网络要实现彻底的透明性, 必须使用户从家中任 何一个房间都能连接到网络上, 而且用户不必知道他们在通过哪一种接口通 信。 此外, 从一个房间 (和接口)转移到另一个房间 (和接口) 时, 链路切 换必须是无缝的。
IEEE P 1905.1提供一种有效的技术, 以切实解决今天的家庭网络中存在 的现实问题,只有解决了这些问题,运营商才能有把握地部署混合网络。 IEEE P1905.1 无缝连通了今天已经部署的互连技术, 提供了实现家庭互连所需的 最后一个要素。
在相关的抽象层聚合不同网络介质的方案中, 针对抽象层中抽象层转发 模块中的转发规则列表的设置, 其中接口地址列表参数可以设置为包含多个 MAC地址的列表或者单一 MAC地址。如果两个设备之间可以通过多个不同 的传输接口进行通信, 上层实体在配置转发规则的时候, 可以将该转发规则 列表的接口地址列表参数设置为包括这几个传输接口的集合(即接口组)或 者是其中一个接口, 在实际传输数据时这些接口的链路质量是动态变化的。 如果所釆用的接口为链接质量较差的接口, 则会影响传输数据的效率。
发明内容
本发明提供了一种接口切换方法和装置, 解决了接口选择不当影响传输 数据效率的问题。
一种接口切换方法, 包括:
抽象层根据数据匹配的转发规则, 选择或切换传输所述数据所使用的接 口或接口组。
优选的, 所述转发规则中包含当前接口地址列表, 所述当前接口地址列 表指示所述抽象层选择的传输所述数据所使用的接口或接口组。
优选的, 所述转发规则对应接口地址列表, 所述抽象层选择传输所述数 据所使用的接口或接口组为:
所述抽象层在上层实体新增或者修改所述转发规则的接口地址列表后, 从所述接口地址列表中选择最适合的接口或接口组。
优选的, 从所述接口地址列表中选择最适合的接口或接口组为: 根据所述接口地址列表的以下参数中的任一或任意多个, 选择最适合的 接口或接口组:
接口的链路质量参数、 数据的数据信息参数、 多介质家庭网络设备的设 备信息参数和自定义的评估参数。
优选的, 所述抽象层切换传输所述数据所使用的接口或接口组为: 在所述抽象层监测转发规则的接口地址列表中所包含的各接口的链路质 量参数;
将所述各接口的链路质量参数与所述转发规则的当前工作接口地址列表 的链路质量参数进行比较;
根据比较结果和以下参数的任一或全部, 判断是否需要切换传输所述数 据所使用的接口或接口组:
数据的数据信息参数、 多介质家庭网络设备的设备信息参数和自定义的 评估参数;
在判断需要切换到新的接口或接口组时, 将所述转发规则的当前接口地 址列表更新为所述新的接口或接口组。
优选的, 上述接口切换方法还包括: 所述抽象层将选择的传输所述数据所使用的接口或接口组作为接口或接 口组智能切换事件, 通知至上层实体。
优选的, 上述接口切换方法还包括:
所述抽象层将切换后的传输所述数据所使用的接口或接口组作为接口或 接口组智能切换事件, 通知至上层实体。
优选的, 所述抽象层将切换后的传输所述数据所使用的接口或接口组作 为接口或接口组智能切换事件, 通知至上层实体为:
所述抽象层向上层实体发送修改当前工作接口地址通知消息上报接口或 接口组智能切换事件, 所述修改当前工作接口地址通知消息携带有以下信息 的任一或全部:
指示发生接口或接口组切换对应的转发规则的编号,
指示所述转发规则在进行智能切换前对应的当前工作接口地址列表, 指示所述转发规则在进行智能切换后对应的当前工作接口地址列表, 指示发生智能切换的时间与最近一次修改当前工作接口地址列表的时 间间隔,
指示发生智能切换的原因。
优选的, 上述接口切换方法还包括:
所述上层实体存储所述接口或接口组智能切换事件。
优选的, 上述接口切换方法还包括:
当所述抽象层接收到上层实体发送的新增转发规则请求消息时, 所述抽 象层向所述上层实体发送新增转发规则确认消息, 在该新增转发规则确认消 息中携带有所述当前接口地址列表;
当所述抽象层接收到上层实体发送的获取转发规则请求消息时, 所述抽 象层向所述上层实体发送获取转发规则响应消息, 在该获取转发规则响应消 息中携带有所述当前接口地址列表;
当所述抽象层接收到所述上层实体发送的修改转发规则请求消息时, 所 述抽象层向所述上层实体发送修改转发规则确认消息, 在该修改转发规则确 认消息中携带有所述当前接口地址列表。 本发明还提供了一种接口切换装置, 包括:
抽象层转发模块, 设置为: 根据数据匹配的转发规则, 选择或切换传输 所述数据所使用的接口或接口组。
优选的, 所述转发规则中包含当前接口地址列表, 所述当前接口地址列 表指示所述抽象层选择的传输所述数据所使用的接口或接口组。 优选的, 所述转发规则对应接口地址列表, 所述抽象层转发模块包括: 选择单元, 设置为: 在上层实体新增或者修改所述转发规则的接口地址 列表后, 从所述接口地址列表中选择最适合的接口或接口组。
优选的, 所述选择单元设置为: 根据所述接口地址列表的以下参数中的 任一或任意多个, 选择最适合的接口或接口组:
接口的链路质量参数、 数据的数据信息参数、 多介质家庭网络设备的设 备信息参数和自定义的评估参数。
优选的,所述抽象层转发模块还包括自适应服务质量 ( QoS )处理单元, 所述自适应 QoS处理单元包括:
链路质量参数监测子单元, 设置为: 在所述抽象层监测转发规则的接口 地址列表中所包含的各接口的链路质量参数;
比较子单元, 设置为: 将所述各接口的链路质量参数与所述转发规则的 当前工作接口地址列表的链路质量参数进行比较;
判定子单元, 设置为: 根据比较结果和以下参数的任一或全部, 判断是 否需要切换传输所述数据所使用的接口或接口组:
数据的数据信息参数、 多介质家庭网络设备的设备信息参数和自定义的 评估参数;
切换更新子单元, 设置为: 在判断需要切换到新的接口或接口组时, 将 所述转发规则的当前接口地址列表更新为所述新的接口或接口组。
优选的, 所述抽象层转发模块还包括:
第一上报单元, 设置为: 将所述选择单元选择的传输所述数据所使用的 接口或接口组作为接口或接口组智能切换事件, 通知至上层实体。
优选的, 所述抽象层转发模块还包括:
第二上报单元, 设置为: 将所述切换更新子单元切换后的传输所述数据 所使用的接口或接口组作为接口或接口组智能切换事件, 通知至上层实体。
优选的, 所述第二上报单元, 设置为: 在所述切换更新子单元将所述转 发规则的当前接口地址列表更新为所述新的接口或接口组后, 向上层实体发 送修改当前工作接口地址通知消息上报接口或接口组智能切换事件, 所述修 改当前工作接口地址通知消息携带有以下信息的任一或全部:
指示发生接口或接口组切换对应的转发规则的编号,
指示所述转发规则在进行智能切换前对应的当前工作接口地址列表, 指示所述转发规则在进行智能切换后对应的当前工作接口地址列表, 指示发生智能切换的时间与最近一次修改当前工作接口地址列表的时 间间隔,
指示发生智能切换的原因。
优选的, 所述抽象层转发模块还包括:
响应单元,设置为:当接收到上层实体发送的新增转发规则请求消息时, 向所述上层实体发送新增转发规则确认消息, 在该新增转发规则确认消息中 携带有所述当前接口地址列表, 或,
当接收到上层实体发送的获取转发规则请求消息时, 向所述上层实体发 送获取转发规则响应消息, 在该获取转发规则响应消息中携带有所述当前接 口地址列表, 或,
当接收到所述上层实体发送的修改转发规则请求消息时, 向所述上层实 体发送修改转发规则确认消息, 在该修改转发规则确认消息中携带有所述当 前接口地址列表。
本发明实施例提供了一种接口切换方法和装置, 在多介质家庭网络设备 的多个 MAC层之上的抽象层根据数据匹配的转发规则, 选择或切换传输所 述数据所使用的接口或接口组。 具体的, 抽象层监测转发规则的接口地址列 表中所包含的各接口的链路质量参数, 根据各接口的链路质量参数、 数据信 息和设备信息, 选择或切换数据传输所使用的接口或接口组, 实现了多介质 家庭网络设备的抽象层根据链路质量等信息智能选择或切换传输数据的接口 的机制, 解决了接口选择不当影响传输数据效率的问题。 附图概述
图 1为家庭网络多种介质分层结构示意图;
图 2为本发明的实施例一提供的一种接口切换装置的结构示意图; 图 3为图 2中抽象层转发模块 201的结构示意图;
图 4为图 3中自适应 QoS处理单元 2012的结构示意图;
图 5为本发明的实施例二提供的一种当前工作接口地址列表的参数结构 示意图;
图 6为本发明的实施例二中自适应 QoS处理模块上 4艮原理示意图; 图 7为本发明的实施例二提供的一种接口切换方法的流程图。 本发明的较佳实施方式
在实际传输数据时接口的链路质量是动态变化的。 如果所釆用的接口变 为链接质量较差的接口, 或者综合考虑链路质量的变化、 数据参数和设备参 数等信息, 所釆用的接口已不适合相应数据的传输, 则会影响传输数据的效 率和网络传输的总体性能。
为了解决上述问题, 本发明的实施例提供了一种接口切换方法和装置。 在转发规则中添加了当前工作接口地址列表这个参数。 抽象层转发模块对转 发规则的接口地址列表中包含的各个接口或接口组的链路质量进行监测, 根 据链路质量参数、 数据参数和设备参数等来选择或切换传输数据最适合的接 口或者接口组, 如果选定的是接口组, 则需要考虑一个业务流需要同时从接 口组包括的多个接口进行分发。
同时上层实体配置的接口地址列表参数保持不变, 防止用户在查看转发 规则时产生困扰; 如果需要切换到新的接口或接口组, 抽象层转发模块将接 口智能切换的事件通知到上层实体, 上层实体可以将事件保存在本地数据库 中或者通过网管程序上报管理平台。
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
首先结合附图, 对本发明的实施例一进行说明。
本发明实施例提供了一种接口切换装置, 其结构如图 2所示, 包括: 抽象层转发模块 201 , 用于根据数据匹配的转发规则, 选择或切换传输 所述数据所使用的接口或接口组。
优选的, 所述转发规则中包含一当前接口地址列表, 所述当前接口地址 列表指示所述抽象层选择的传输所述数据所使用的接口或接口组。
优选的, 所述转发规则对应一接口地址列表, 所述抽象层转发模块 201 的结构如图 3所示, 包括:
选择单元 2011 ,用于在上层实体新增或者修改所述转发规则的接口地址 列表后, 从所述接口地址列表中选择最适合的接口或接口组。
优选的 ,所述选择单元 2011具体用于根据所述接口地址列表的以下参数 中的任一或任意多个, 选择最适合的接口或接口组:
接口的链路质量参数、 数据的数据信息参数、 多介质家庭网络设备的设 备信息参数和自定义的评估参数。
优选的, 所述抽象层转发模块 201还包括自适应 QoS处理单元 2012 , 所述自适应 QoS处理单元 2012的结构如图 4所示, 包括:
链路质量参数监测子单元 401 , 用于在所述抽象层监测转发规则的接口 地址列表中所包含的各接口的链路质量参数;
比较子单元 402 , 用于将所述各接口的链路质量参数与所述转发规则的 当前工作接口地址列表的链路质量参数进行比较;
判定子单元 403 , 用于根据比较结果和以下参数的任一或全部, 判断是 否需要切换传输所述数据所使用的接口或接口组:
数据的数据信息参数、 多介质家庭网络设备的设备信息参数和自定义的 评估参数;
切换更新子单元 404, 用于在判断需要切换到新的接口或接口组时, 将 所述转发规则的当前接口地址列表更新为所述新的接口或接口组。
优选的, 所述抽象层转发模块 201还包括:
第一上报单元 2013 , 用于将所述选择单元 2011选择的传输所述数据所 使用的接口或接口组作为接口或接口组智能切换事件, 通知至上层实体。
优选的, 所述抽象层转发模块 201还包括:
第二上报单元 2014,用于将所述切换更新子单元切换后的传输所述数据 所使用的接口或接口组作为接口或接口组智能切换事件, 通知至上层实体。
优选的, 所述第二上 单元 2014 , 具体用于在所述切换更新子单元 404 将所述转发规则的当前接口地址列表更新为所述新的接口或接口组后, 向上 层实体发送修改当前工作接口地址通知消息上报接口或接口组智能切换事件 , 所述修改当前工作接口地址通知消息携带有以下信息的任一或全部:
指示发生接口或接口组切换对应的转发规则的编号,
指示所述转发规则在进行智能切换前对应的当前工作接口地址列表, 指示所述转发规则在进行智能切换后对应的当前工作接口地址列表, 指示发生智能切换的时间与最近一次修改当前工作接口地址列表的时 间间隔,
指示发生智能切换的原因。
优选的, 所述抽象层转发模块 201还包括:
响应单元 2015 ,用于当接收到上层实体发送的新增转发规则请求消息时, 向所述上层实体发送新增转发规则确认消息, 在该新增转发规则确认消息中 携带有所述当前接口地址列表, 或,
当接收到上层实体发送的获取转发规则请求消息时, 向所述上层实体发 送获取转发规则响应消息, 在该获取转发规则响应消息中携带有所述当前接 口地址列表, 或, 当接收到所述上层实体发送的修改转发规则请求消息时, 向所述上层实 体发送修改转发规则确认消息, 在该修改转发规则确认消息中携带有所述当 前接口地址列表。
下面结合附图, 对本发明的实施例二进行说明。
本发明实施例提供了一种接口切换方法, 与图 2至图 4所示的接口切换 装置相结合。 在多介质家庭网络设备的多个 MAC层之上的抽象层根据数据 匹配的转发规则, 选择或切换传输所述数据所使用的接口或接口组, 所述转 发规则对应一接口地址列表, 指示数据传输的多个可选接口。 具体的, 在抽 象层增加抽象层转发模块以及在转发规则中增加当前工作接口地址列表参数 (如图 5所示) , 在上层实体新增或者修改了转发规则的接口地址列表参数 后, 选择单元会根据接口地址列表所包括的接口的链路质量参数、 数据的数 据信息参数、 多介质家庭网络设备的设备信息参数和自定义的评估参数, 在 这些接口组中选择其中最合适的接口或接口组 , 并把对应的 MAC地址列表 写入到转发规则的当前工作接口地址列表参数中, 第一上报单元将选择的传 输所述数据所使用最适合的接口或接口组(即写入的当前工作地址列表参数 ) 作为接口或接口组智能切换事件, 通知到上层实体。
在接下来的数据转发过程中, 自适应 QoS处理单元会周期性转发规则的 接口地址列表中所包含的各接口的链路质量参数, 将所述各接口的链路质量 参数与所述转发规则的当前工作接口地址列表的链路质量参数进行比较, 并 根据比较结果、 数据的数据信息参数、 多介质家庭网络设备的设备信息参数 和自定义的评估参数等, 判断是否需要切换到新的接口 /接口组, 如果判定为 需要切换, 则通知切换更新子单元修改当前工作接口地址列表参数为新的接 口 /接口组地址。
如果需要切换到新的接口或接口组, 第二上报子单元将切换后的传输数 据使用的接口或接口组作为接口或接口组智能切换事件通知到上层实体, 具 体的, 可通过修改当前工作接口地址通知消息上报。 上层实体可以将该接口 或接口组智能切换事件保存在本地数据库中或者通过网管程序上报管理平台。 其中, 修改当前工作接口地址通知消息携带有以下信息的任一或全部, 如图 6所示:
1 )指示发生接口或接口组切换对应的转发规则的编号,
2 )指示所述转发规则在进行智能切换前对应的当前工作接口地址列表,
3 )指示所述转发规则在进行智能切换后对应的当前工作接口地址列表, 4 )指示发生智能切换的时间与最近一次修改当前工作接口地址列表的 时间间隔,
5 )指示发生智能切换的原因, 包括原链路丟失、 原链路质量降低、 负载 均衡、 三地址模式等。
上层实体在获取转发规则时, 返回的参数中需要增加当前工作接口地址 歹1 J表参数。
数据流在经过抽象层时, 应该通过转发规则中对应的当前工作接口地址 列表参数指定的 MAC地址接口 /接口组进行转发。
具体实施方式如图 7所示, 包括:
步骤 701、 上层实体新增或者修改转发规则
本步骤具体包括: 步骤 7011、上层实体向抽象层抽象层转发模块的接收单元发送新增或者 修改转发规则请求消息;
最初的转发规则是上层发送给抽象层的新增转发规则请求中包含的, 规 定了符合该条转发规则限制条件的数据(叫做数据类别参数, 例如这条转发 规则适用于从 A地址发送到 B地址的设备)可以通过接口地址列表中的接口 或接口组传输。 上层实体在新增和修改转发规则请求消息中通知上层实体配 置的数据类别参数和接口地址列表参数。
当抽象层转发模块接收到上层实体发送的新增转发规则请求消息时, 所 在该新增转发规则确认消息中携带有所述当前接口地址列表。 当所述抽象层转发模块接收到所述上层实体发送的修改转发规则请求消 息时, 所述抽象层转发模块的响应单元向所述上层实体发送修改转发规则确 认消息, 在该修改转发规则确认消息中携带有所述当前接口地址列表。
步骤 7012、抽象层的选择单元根据接收单元收到的上层实体配置的接口 参数表包括的各接口的链路质量参数、 数据参数、 设备参数和厂商自定义的 评估方法, 为传输数据选择最合适的接口或接口组, 并通知切换更新子单元 把对应的 MAC地址列表写入转发规则新增的当前工作接口地址列表参数中。 上层配置的数据类别参数和接口地址列表参数存储在转发规则中。
步骤 7013、抽象层转发模块发送选择单元选择的传输所述数据所使用的 接口或接口组通知消息至上层实体。 具体地, 这个消息可以是通知单元发送 的新增的一条设置当前接口地址列表通知消息, 也可以是响应单元将写入的 当前接口地址列表携带在发送到上层的新增转发规则确认消息或修改转发规 则确认消息中。
步骤 702、 自适应 QoS处理单元对接口或接口组的智能切换过程 自适应 QoS处理单元:此单元为抽象层抽象层转发模块中新增加的单元 之一, 其主要的功能是能够智能判断是否需要切换到新的接口或接口组, 从 而确保把数据流分发到最优的接口 /接口组进行发送,能够有效的提升用户体 验 QoE。 同时将智能切换事件通知给上层实体进行处理。
抽象层的接口或接口组的智能切换过程如下所示:
步骤 7021 , 自适应 QoS处理单元的链路质量参数监测子单元监测转发 规则中接口地址列表包含的所有接口的链路质量参数 (所述链路质量参数包 括发送端链路质量参数和接收端链路质量参数, 具体包括链路占有率、 链路 剩余带宽、 丟包率、 SNR等参数。 ); 比较子单元将上述所有接口的链路质 量参数与当前工作接口地址列表的链路质量参数进行比较; 判定子单元根据 上述比较结果、 数据参数、 设备参数和厂商自定义的评估方法 (例如其他接 口的链路质量参数比当前工作接口地址列表的链路质量高于一个预先设定的 阔值) , 判断是否需要切换到新的接口或接口组。
步骤 7022, 如果判定子单元确定需要切换到新的接口或接口组, 则通知 切换更新子单元更新当前工作接口地址列表参数。
步骤 7023 , 切换更新子单元更新当前工作接口地址列表参数。
步骤 7024, 为了保持上层实体配置的转发规则不变, 同时不至于使用户 困扰, 自适应 QoS处理单元可以通过第二上报单元将接口或接口组的智能切 换事件上报给上层实体。 上报的内容可以包括:
1 )指示发生接口或接口组切换对应的转发规则的编号,
2 )指示所述转发规则在进行智能切换前对应的当前工作接口地址列表,
3 )指示所述转发规则在进行智能切换后对应的当前工作接口地址列表,
4 )指示发生智能切换的时间与最近一次修改当前工作接口地址列表的 时间间隔,
5 )指示发生智能切换的原因, 包括原链路丟失、 原链路质量降低、 负载 均衡、 三地址模式等。 步骤 7025 , 上层实体接收到智能切换事件上报消息后, 将上报的内容保 存在本地日志数据库或者通过 TR069等网管协议通知到网络管理平台。
步骤 703、 上层实体获取转发规则
本步骤具体包括: 步骤 7031、抽象层转发模块接收上层实体发送的获取转发规则请求消息; 步骤 7032、抽象层转发模块的响应单元向上层实体返回的获取转发规则 请求响应消息中携带当前工作接口地址列表。
当所述抽象层接收到上层实体发送的获取转发规则请求消息时, 所述抽 象层向所述上层实体发送获取转发规则响应消息, 在该获取转发规则响应消 息中携带有所述当前接口地址列表;
当所述抽象层接收到所述上层实体发送的修改转发规则请求消息时, 所 述抽象层向所述上层实体发送修改转发规则确认消息, 在该修改转发规则确 认消息中携带有所述当前接口地址列表。
针对抽象层中抽象层转发模块中的转发规则的设置, 其中转发接口地址 列表参数可以设置为多个 MAC地址列表或者单一 MAC地址。 在两个设备 之间可以通过不同的传输接口进行通信时,上层实体在配置转发规则的时候, 可以将转发接口地址列表参数设置为包括这几个传输接口的集合或者是其中 一个接口, 在实际传输数据时这些接口的链路质量是动态变化的, 本发明实 施例的技术方案中增加了当前工作接口地址列表这个参数来表征链路质量的 动态变化。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计 算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中, 所述计算机程序在相应的硬件平台上 (如系统、设备、装置、 器件等)执行, 在执行时, 包括方法实施例的步骤之一或其组合。
可选地, 上述实施例的全部或部分步骤也可以使用集成电路来实现, 这 些步骤可以被分别制作成一个个集成电路模块, 或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬 件和软件结合。
上述实施例中的各装置 /功能模块 /功能单元可以釆用通用的计算装置来 实现, 它们可以集中在单个的计算装置上, 也可以分布在多个计算装置所组 成的网络上。
上述实施例中的各装置 /功能模块 /功能单元以软件功能模块的形式实现 并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 上述提到的计算机可读取存储介质可以是只读存储器, 磁盘或光盘等。
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想 到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范 围应以权利要求所述的保护范围为准。
工业实用性 本发明的实施例提供了一种接口切换方法和装置, 在多介质家庭网络设 备的多个 MAC层之上的抽象层根据数据匹配的转发规则, 选择或切换传输 所述数据所使用的接口或接口组, 所述转发规则对应一接口地址列表, 所述 接口地址列表中包含两个或两个以上的接口。 具体的, 监测转发规则的接口 地址列表中所包含的各接口和 /或接口组的链路质量参数, 根据各接口和 /或 接口组的链路质量参数, 为所述转发规则选择数据传输所使用的接口或接口 组, 实现了根据链路质量选择接口的机制, 解决了接口选择不当影响传输数 据效率的问题。

Claims

权 利 要 求 书
1、 一种接口切换方法, 包括:
抽象层根据数据匹配的转发规则, 选择或切换传输所述数据所使用的接 口或接口组。
2、根据权利要求 1所述的接口切换方法, 其中, 所述转发规则中包含当 前接口地址列表, 所述当前接口地址列表指示所述接口或接口组。
3、根据权利要求 1所述的接口切换方法, 其中, 所述转发规则对应接口 地址列表, 所述抽象层选择传输所述数据所使用的接口或接口组为:
所述抽象层在上层实体新增或者修改所述转发规则的接口地址列表后, 从所述接口地址列表中选择最适合的接口或接口组。
4、根据权利要求 3所述的接口切换方法, 其中,从所述接口地址列表中 选择最适合的接口或接口组为:
根据所述接口地址列表的以下参数中的任一或任意多个, 选择最适合的 接口或接口组:
接口的链路质量参数、 数据的数据信息参数、 多介质家庭网络设备的设 备信息参数和自定义的评估参数。
5、根据权利要求 1所述的接口切换方法, 其中, 所述抽象层切换传输所 述数据所使用的接口或接口组为:
在所述抽象层监测转发规则的接口地址列表中所包含的各接口的链路质 量参数;
将所述各接口的链路质量参数与所述转发规则的当前工作接口地址列表 的链路质量参数进行比较;
根据比较结果和以下参数的任一或全部, 判断是否需要切换传输所述数 据所使用的接口或接口组:
数据的数据信息参数、 多介质家庭网络设备的设备信息参数和自定义的 评估参数; 在判断需要切换到新的接口或接口组时, 将所述转发规则的当前接口地 址列表更新为所述新的接口或接口组。
6、 根据权利要求 1所述的接口切换方法, 其中, 该方法还包括: 所述抽象层将选择的传输所述数据所使用的接口或接口组作为接口或接 口组智能切换事件, 通知至上层实体。
7、 根据权利要求 1所述的接口切换方法, 其中, 该方法还包括: 所述抽象层将切换后的传输所述数据所使用的接口或接口组作为接口或 接口组智能切换事件, 通知至上层实体。
8、根据权利要求 7所述的接口切换方法, 其中, 所述抽象层将切换后的 传输所述数据所使用的接口或接口组作为接口或接口组智能切换事件, 通知 至上层实体为:
所述抽象层向上层实体发送修改当前工作接口地址通知消息上报接口或 接口组智能切换事件, 所述修改当前工作接口地址通知消息携带有以下信息 的任一或全部:
指示发生接口或接口组切换对应的转发规则的编号,
指示所述转发规则在进行智能切换前对应的当前工作接口地址列表, 指示所述转发规则在进行智能切换后对应的当前工作接口地址列表, 指示发生智能切换的时间与最近一次修改当前工作接口地址列表的时 间间隔,
指示发生智能切换的原因。
9、 根据权利要求 6或 7所述的接口切换方法, 其中, 该方法还包括: 所述上层实体存储所述接口或接口组智能切换事件。
10、 根据权利要求 2所述的接口切换方法, 其中, 该方法还包括: 当所述抽象层接收到上层实体发送的新增转发规则请求消息时, 所述抽 象层向所述上层实体发送新增转发规则确认消息, 在该新增转发规则确认消 息中携带有所述当前接口地址列表; 当所述抽象层接收到上层实体发送的获取转发规则请求消息时, 所述抽 象层向所述上层实体发送获取转发规则响应消息, 在该获取转发规则响应消 息中携带有所述当前接口地址列表;
当所述抽象层接收到所述上层实体发送的修改转发规则请求消息时, 所 述抽象层向所述上层实体发送修改转发规则确认消息, 在该修改转发规则确 认消息中携带有所述当前接口地址列表。
11、 一种接口切换装置, 包括:
抽象层转发模块, 设置为: 根据数据匹配的转发规则, 选择或切换传输 所述数据所使用的接口或接口组。
12、根据权利要求 11所述的接口切换装置, 其中, 所述转发规则中包含 当前接口地址列表, 所述当前接口地址列表指示所述抽象层选择的传输所述 数据所使用的接口或接口组。
13、根据权利要求 11所述的接口切换装置, 其中, 所述转发规则对应接 口地址列表, 所述抽象层转发模块包括:
选择单元, 设置为: 在上层实体新增或者修改所述转发规则的接口地址 列表后, 从所述接口地址列表中选择最适合的接口或接口组。
14、 根据权利要求 13所述的接口切换装置, 其中,
所述选择单元设置为: 根据所述接口地址列表的以下参数中的任一或任 意多个, 选择最适合的接口或接口组:
接口的链路质量参数、 数据的数据信息参数、 多介质家庭网络设备的设 备信息参数和自定义的评估参数。
15、根据权利要求 11所述的接口切换装置, 其中, 所述抽象层转发模块 还包括自适应服务质量 (QoS )处理单元, 所述自适应 QoS处理单元包括: 链路质量参数监测子单元, 设置为: 在所述抽象层监测转发规则的接口 地址列表中所包含的各接口的链路质量参数;
比较子单元, 设置为: 将所述各接口的链路质量参数与所述转发规则的 当前工作接口地址列表的链路质量参数进行比较;
判定子单元, 设置为: 根据比较结果和以下参数的任一或全部, 判断是 否需要切换传输所述数据所使用的接口或接口组:
数据的数据信息参数、 多介质家庭网络设备的设备信息参数和自定义的 评估参数;
切换更新子单元, 设置为: 在判断需要切换到新的接口或接口组时, 将 所述转发规则的当前接口地址列表更新为所述新的接口或接口组。
16、根据权利要求 13所述的接口切换装置, 其中, 所述抽象层转发模块 还包括:
第一上报单元, 设置为: 将所述选择单元选择的传输所述数据所使用的 接口或接口组作为接口或接口组智能切换事件, 通知至上层实体。
17、根据权利要求 15所述的接口切换装置, 其中, 所述抽象层转发模块 还包括:
第二上报单元, 设置为: 将所述切换更新子单元切换后的传输所述数据 所使用的接口或接口组作为接口或接口组智能切换事件, 通知至上层实体。
18、 根据权利要求 17所述的接口切换装置, 其中,
所述第二上报单元, 设置为: 在所述切换更新子单元将所述转发规则的 当前接口地址列表更新为所述新的接口或接口组后, 向上层实体发送修改当 前工作接口地址通知消息上报接口或接口组智能切换事件, 所述修改当前工 作接口地址通知消息携带有以下信息的任一或全部:
指示发生接口或接口组切换对应的转发规则的编号,
指示所述转发规则在进行智能切换前对应的当前工作接口地址列表, 指示所述转发规则在进行智能切换后对应的当前工作接口地址列表, 指示发生智能切换的时间与最近一次修改当前工作接口地址列表的时 间间隔,
指示发生智能切换的原因。
19、根据权利要求 11所述的接口切换装置, 其中, 所述抽象层转发模块 还包括:
响应单元,设置为:当接收到上层实体发送的新增转发规则请求消息时, 向所述上层实体发送新增转发规则确认消息, 在该新增转发规则确认消息中 携带有所述当前接口地址列表, 或,
当接收到上层实体发送的获取转发规则请求消息时, 向所述上层实体发 送获取转发规则响应消息, 在该获取转发规则响应消息中携带有所述当前接 口地址列表, 或,
当接收到所述上层实体发送的修改转发规则请求消息时, 向所述上层实 体发送修改转发规则确认消息, 在该修改转发规则确认消息中携带有所述当 前接口地址列表。
PCT/CN2013/083188 2013-04-16 2013-09-10 接口切换方法和装置 WO2014169557A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
RU2015146593A RU2616880C1 (ru) 2013-04-16 2013-09-10 Способ и устройство для переключения интерфейса
US14/784,586 US20160087896A1 (en) 2013-04-16 2013-09-10 Interface Switching Method and Device
EP13882471.9A EP2975811A4 (en) 2013-04-16 2013-09-10 INTERFACE CHANGE METHOD AND DEVICE
SG11201508603WA SG11201508603WA (en) 2013-04-16 2013-09-10 Interface switching method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310131415.8 2013-04-16
CN201310131415.8A CN104113488A (zh) 2013-04-16 2013-04-16 接口切换方法和装置

Publications (1)

Publication Number Publication Date
WO2014169557A1 true WO2014169557A1 (zh) 2014-10-23

Family

ID=51710123

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083188 WO2014169557A1 (zh) 2013-04-16 2013-09-10 接口切换方法和装置

Country Status (6)

Country Link
US (1) US20160087896A1 (zh)
EP (1) EP2975811A4 (zh)
CN (1) CN104113488A (zh)
RU (1) RU2616880C1 (zh)
SG (1) SG11201508603WA (zh)
WO (1) WO2014169557A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955894A (zh) * 2016-04-29 2016-09-21 青岛海尔智能家电科技有限公司 一种用于智能终端的摄像头外接方法、智能终端
CN106302215A (zh) * 2016-08-30 2017-01-04 华为技术有限公司 一种转发报文的方法及装置
US10516728B2 (en) * 2017-03-10 2019-12-24 Microsoft Technology Licensing, Llc Virtual filtering platform in distributed computing systems
CN107707406B (zh) * 2017-10-23 2020-10-16 武汉长光科技有限公司 一种基于tr069升级设备的方法
CN110278124A (zh) * 2019-06-18 2019-09-24 努比亚技术有限公司 线上接口的监控方法、装置以及计算机可读存储介质
CN113656100B (zh) * 2021-08-17 2023-07-07 城云科技(中国)有限公司 接口切换方法、装置、电子装置及计算机程序产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040077341A1 (en) * 2002-10-17 2004-04-22 Chandranmenon Girish P. Multi-interface mobility client
US20120077483A1 (en) * 2010-09-29 2012-03-29 International Business Machines Corporation Enabling interface aggregation of mobile broadband network interfaces
CN102857257A (zh) * 2011-06-30 2013-01-02 美国博通公司 电力线通信装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5790554A (en) * 1995-10-04 1998-08-04 Bay Networks, Inc. Method and apparatus for processing data packets in a network
US7251256B1 (en) * 2000-05-18 2007-07-31 Luminous Networks, Inc. Synchronization of asynchronous networks using media access control (MAC) layer synchronization symbols
GB0411528D0 (en) * 2004-05-24 2004-06-23 Koninkl Philips Electronics Nv Device abstraction layer for local networking system
US9191305B2 (en) * 2011-03-14 2015-11-17 Broadcom Corporation Convergent network architecture and path information
US8483291B2 (en) * 2011-06-30 2013-07-09 Broadcom Corporation Analog to digital converter with increased sub-range resolution
US8995280B2 (en) * 2011-11-11 2015-03-31 Stmicroelectronics, Inc. System and method for an energy efficient network adapter
KR20140107434A (ko) * 2011-12-12 2014-09-04 지멘스 악티엔게젤샤프트 푸쉬-버튼 구성 세션들을 구동하기 위한 방법 및 디바이스들
US9444691B2 (en) * 2012-04-11 2016-09-13 Siemens Aktiengesellschaft Method and devices for running technology specific push-button configuration sessions
US9060041B2 (en) * 2012-06-04 2015-06-16 Marvell World Trade Ltd. Relaying messages in a heterogeneous network
CN104396209B (zh) * 2012-06-12 2018-02-23 马维尔国际贸易有限公司 通信设备内的多个抽象层
US20140269691A1 (en) * 2013-03-14 2014-09-18 Qualcomm Incorporated Distributed path selection in hybrid networks
US9184998B2 (en) * 2013-03-14 2015-11-10 Qualcomm Incorporated Distributed path update in hybrid networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040077341A1 (en) * 2002-10-17 2004-04-22 Chandranmenon Girish P. Multi-interface mobility client
US20120077483A1 (en) * 2010-09-29 2012-03-29 International Business Machines Corporation Enabling interface aggregation of mobile broadband network interfaces
CN102857257A (zh) * 2011-06-30 2013-01-02 美国博通公司 电力线通信装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2975811A4 *

Also Published As

Publication number Publication date
RU2616880C1 (ru) 2017-04-18
US20160087896A1 (en) 2016-03-24
CN104113488A (zh) 2014-10-22
EP2975811A1 (en) 2016-01-20
SG11201508603WA (en) 2015-11-27
EP2975811A4 (en) 2016-03-30

Similar Documents

Publication Publication Date Title
US10979536B2 (en) Contextualized information bus
US10148492B2 (en) Data center bridging network configuration and management
CA3016073C (en) Cloud-based control of a wi-fi network
CN101640644B (zh) 基于灵活链路组的流量均衡方法和设备
US11528239B2 (en) Time-sensitive networking communication method and apparatus for configuring virtual switching node
WO2014169557A1 (zh) 接口切换方法和装置
JP6145216B2 (ja) データ伝送方法、装置およびコンピュータ記憶媒体
US9521703B2 (en) Multiple abstraction layers within a communication device
US10581697B2 (en) SDN controlled PoE management system
TW201306527A (zh) 利用相異網路傳送一封包之方法
US20100034178A1 (en) Methods and apparatus for priority-based adoption of an access device
CN113472646B (zh) 一种数据传输方法、节点、网络管理器及系统
JP5974911B2 (ja) 通信システムおよびネットワーク中継装置
US9801125B2 (en) Data transmission method, multi-medium access point and multi-medium client
WO2014030321A1 (ja) 情報処理装置
WO2024103038A1 (en) Leveraging wireless direct transmissions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13882471

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14784586

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2013882471

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2015146593

Country of ref document: RU

Kind code of ref document: A