CN103023734B - A kind of broadband P LC product and realize many WAN connect method - Google Patents

A kind of broadband P LC product and realize many WAN connect method Download PDF

Info

Publication number
CN103023734B
CN103023734B CN201210529165.9A CN201210529165A CN103023734B CN 103023734 B CN103023734 B CN 103023734B CN 201210529165 A CN201210529165 A CN 201210529165A CN 103023734 B CN103023734 B CN 103023734B
Authority
CN
China
Prior art keywords
wan
connects
configuration information
broadband
service
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.)
Active
Application number
CN201210529165.9A
Other languages
Chinese (zh)
Other versions
CN103023734A (en
Inventor
江素华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210529165.9A priority Critical patent/CN103023734B/en
Publication of CN103023734A publication Critical patent/CN103023734A/en
Application granted granted Critical
Publication of CN103023734B publication Critical patent/CN103023734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of broadband P LC product and realize many WAN connect method, broadband P LC product comprises a wan interface and at least two LAN interface, this realizes method that many WAN connect and comprises: receive and preserve the WAN configuration information that user submitted to by WEB page, WAN configuration information comprises: the quantity that WAN connects and pattern, type of service and service configuration information that each WAN connects, and the quantity that WAN connects is less than or equal to the quantity of LAN interface; Reset switching port register by WAN configuration information, the switching port register after arranging connects corresponding VLAN for setting up each WAN, and sets up the binding relationship of each WAN connection and corresponding LAN interface; Successively start each WAN and connect corresponding network service.Implement technical scheme of the present invention, achieve the demand that user uses different business, also meet the demand of the multi-level business of carrier customization, and saved cost.

Description

A kind of broadband P LC product and realize many WAN connect method
Technical field
The present invention relates to field of power line communication, particularly relate to a kind of broadband P LC product and realize many WAN connect method.
Background technology
Broadband P LC((PowerLineCommunication, power line communication) product realizes the transmission of wideband data by the mode of power line access.Common broadband P LC product has a physics WAN(WideAreaNetwork, wide area network) interface and multiple LAN(LocalAreaNetwork, local area network (LAN)) interface, what functionally realize is that single WAN connects, namely same time wan interface can only be set to a kind of pattern (as route pattern or bridge mode), a kind of broadband services can only be connected, as PPPoE(pointtopointprotocaloverEthernet, point-to-point connection protocol) business, now the user of all access LAN interface uses this business.But this broadband P LC product has following defect:
1. can not connect multiple broadband services simultaneously, the demand that different user uses different business can not be met, the demand of the multi-level business of carrier customization can not be met;
2., under the framework of single wan interface, connect if need to increase WAN, just need to increase physics wan interface, the shortcoming of this mode is the hardware cost having increased considerably product.
Summary of the invention
The technical problem to be solved in the present invention is, an above-mentioned wan interface for prior art can only connect a kind of defect of broadband services, a kind of broadband P LC product is provided and realize many WAN connect method, make a wan interface can connect multiple broadband services simultaneously.
The technical solution adopted for the present invention to solve the technical problems is: the method that the many WAN of structural wideband PLC Realization of Product connect, and described broadband P LC product comprises a wan interface and at least two LAN interface, and the described method realizing many WAN connection comprises:
A. receive and preserve the WAN configuration information that user submitted to by WEB page, described WAN configuration information comprises: the quantity that WAN connects and pattern, type of service and service configuration information that each WAN connects, and the quantity that described WAN connects is less than or equal to the quantity of LAN interface;
B. disconnect all networks to connect, empty switching port register, and reset switching port register by described WAN configuration information, switching port register after arranging connects corresponding VLAN for setting up each WAN, and sets up the binding relationship of each WAN connection and corresponding LAN interface;
C. successively start each WAN and connect corresponding network service.
In the method that the many WAN of broadband P LC Realization of Product of the present invention connect, after described step C, also comprise:
D. in WEB page, show the state information that each WAN connects.
In the method that the many WAN of broadband P LC Realization of Product of the present invention connect, in described steps A, described WAN configuration information also comprises the priority that each WAN connects;
In described step B, described arrange after the priority of switching port register also for connecting according to each WAN set up multiple WAN connect order.
In the method that the many WAN of broadband P LC Realization of Product of the present invention connect, described step C comprises:
C1. from WAN configuration information, extract the pattern that first WAN connects;
C2. judge whether the pattern that current WAN connects is route pattern, if so, then perform step C3; If not, then step C4 is performed;
C3. the type of service connected according to current WAN and service configuration information start corresponding network service;
Whether be last WAN connect, if so, then perform step D if C4. judging that current WAN connects; If not, then step C5 is performed;
C5. from WAN configuration information, extract the pattern that next WAN connects, then perform step C2.
In the method that the many WAN of broadband P LC Realization of Product of the present invention connect, described type of service is: point to point connect, static connection, Dynamic link library or bridge.
The present invention also constructs a kind of broadband P LC product, comprises a wan interface and at least two LAN interface, and described broadband P LC product also comprises:
Receiver module, for receiving and preserving the WAN configuration information that user submitted to by WEB page, described WAN configuration information comprises: the quantity that WAN connects and pattern, type of service and service configuration information that each WAN connects, and the quantity that described WAN connects is less than or equal to the quantity of LAN interface;
Module is set, connect for disconnecting all networks, empty switching port register, and reset switching port register by described WAN configuration information, switching port register after arranging connects corresponding VLAN for setting up each WAN, and sets up the binding relationship of each WAN connection and corresponding LAN interface;
Starting module, connecting corresponding network service for successively starting each WAN.
In broadband P LC product of the present invention, described broadband P LC product also comprises:
Display module, for showing the state information that each WAN connects in WEB page.
In broadband P LC product of the present invention, described WAN configuration information also comprises the priority that each WAN connects; Described arrange after the priority of switching port register also for connecting according to each WAN set up multiple WAN connect order.
In broadband P LC product of the present invention, described startup module comprises:
First extraction unit, for extracting the pattern that first WAN connects from WAN configuration information;
Mode determination, for judging whether the pattern that current WAN connects is route pattern;
Service start unit, when the pattern for connecting at current WAN is route pattern, the type of service connected according to current WAN and service configuration information start corresponding network service;
Terminate judging unit, whether for after starting corresponding network service or when the pattern of current WAN connection is not route pattern, judging that current WAN connects is that last WAN connects;
Second extraction unit, when not being last WAN connection for connecting at current WAN, extracting the pattern that next WAN connects, then performing step C2 from WAN configuration information.
In broadband P LC product of the present invention, described type of service is: point to point connect, static connection, Dynamic link library or bridge.
Implement technical scheme of the present invention, have the following advantages:
1. improve the utilance of single wan interface, user can set up multiple WAN on demand and connect, and achieves the demand that user uses different business, also meets the demand of the multi-level business of carrier customization;
2. obstructed WAN connects and can bind Different L AN interface, multiple WAN connect can with multiple LAN interface combination in any, many bridges, multiple gateway, plurality of subnets can be supported, adapted to the networking needs of Various Complex network;
3., when not increasing any hardware cost, software achieving the function that many WAN connect, has saved cost.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the flow chart of the embodiment of the method one that the many WAN of broadband P LC Realization of Product of the present invention connect;
Fig. 2 is the flow chart of the embodiment of the method two that the many WAN of broadband P LC Realization of Product of the present invention connect;
Fig. 3 is step C embodiment one flow chart in the method for the many WAN connections of broadband P LC Realization of Product of the present invention;
Fig. 4 is the logic diagram of broadband P LC product embodiments one of the present invention;
Fig. 5 is the logic diagram of broadband P LC product embodiments two of the present invention;
Fig. 6 is the logic diagram starting module embodiments one in broadband P LC product of the present invention.
Embodiment
Fig. 1 is the flow chart of the embodiment of the method one that the many WAN of broadband P LC Realization of Product of the present invention connect, and first illustrate, this broadband P LC product comprises a wan interface and at least two LAN interface, and the method that the many WAN of this broadband P LC Realization of Product connect comprises:
A. receive and preserve the WAN configuration information that user submitted to by WEB page, described WAN configuration information comprises: the quantity that WAN connects and pattern, type of service and service configuration information that each WAN connects, pattern is such as route pattern or bridge mode, type of service such as has following four kinds: PPPoE(point to point connect), Static(static state connect), DHCP(Dynamic link library) and Bridge(bridge), wherein, first three kind is route pattern, and last one is bridge mode.Deng, and the quantity that described WAN connects is less than or equal to the quantity of LAN interface, and in this step, the instruction that user can submit to increase, editor, deletion WAN to connect by WEB webpage, to form new WAN configuration information;
B. disconnect all networks to connect, empty switching port register, and reset switching port (Switch) register by described WAN configuration information, switching port register after arranging connects corresponding VLAN(VirtualLocalAreaNetwork for setting up each WAN, VLAN), and set up the binding relationship of each WAN connection and corresponding LAN interface.In this step, first disconnect all-network and connect, close the network service run, delete the wan interface and LAN interface set up, empty Switch content of registers, prepare for newly-built WAN connects.Then, reset Switch register according to new WAN configuration information, connect corresponding VLAN to make setting up each WAN, and set up the binding relationship of each WAN connection and corresponding LAN interface;
C. successively start each WAN and connect corresponding network service.
Implement this technical scheme, under the condition of a physics wan interface, user can connect by the multiple WAN of requirements set, and each WAN connects a corresponding VLANID, or only a WAN connection is not with VLANID, different WAN connects can be set to different patterns and business, and each WAN connects and binds the LAN interface of specifying, therefore, the WAN that can simultaneously realize at most with LAN interface quantity is identical connects, and different WAN connects independent separately, can not mutually disturb.So compared to existing technology, a wan interface can only realize a WAN connection, and the technical scheme of this embodiment has the following advantages:
1. improve the utilance of single wan interface, user can set up multiple WAN on demand and connect, and achieves the demand that user uses different business, also meets the demand of the multi-level business of carrier customization;
2. obstructed WAN connects and can bind Different L AN interface, multiple WAN connect can with multiple LAN interface combination in any, many bridges, multiple gateway, plurality of subnets can be supported, adapted to the networking needs of Various Complex network;
3., when not increasing any hardware cost, software achieving the function that many WAN connect, has saved cost.
Fig. 2 is the flow chart of the embodiment of the method two that the many WAN of broadband P LC Realization of Product of the present invention connect, and this embodiment compares the embodiment shown in Fig. 1, and difference only, after step c, also comprises:
D. in WEB page, show the state information that each WAN connects, like this, user can view the situation that up-to-date WAN connects in WEB page.
Fig. 3 is step C embodiment one flow chart in the method for the many WAN connections of broadband P LC Realization of Product of the present invention, in this embodiment, what first illustrate is, user also comprises the priority of each WAN connection by the WAN configuration information that WEB page is submitted to, then, when setting up Fabric Interface register according to this configuration information, the priority that also can connect according to each WAN sets up the order that multiple WAN connects.And in step C, the network service successively starting each WAN connection corresponding can specifically comprise:
C1. from WAN configuration information, extract the pattern that first WAN connects, pattern is route pattern or bridge mode;
C2. judge whether the pattern that current WAN connects is route pattern, is if so, route pattern, then perform step C3; If not, be bridge mode, then do not need to set firewall policy, wide area network and local area network (LAN) lead directly to, and perform step C4;
C3. the type of service connected according to current WAN and service configuration information start corresponding network service;
Whether be last WAN connect, if so, then perform step D if C4. judging that current WAN connects; If not, then step C5 is performed;
C5. from WAN configuration information, extract the pattern that next WAN connects, then perform step C2.
Fig. 4 is the logic diagram of broadband P LC product embodiments one of the present invention, and this broadband P LC product comprises a wan interface and at least two LAN interface.In addition, this broadband P LC product comprises the receiver module 10 connected successively, module 20 is set and starts module 30, wherein, receiver module 10 is for receiving and preserving the WAN configuration information that user submitted to by WEB page, described WAN configuration information comprises: the quantity that WAN connects and the pattern that each WAN connects, type of service and service configuration information, and the quantity that described WAN connects is less than or equal to the quantity of LAN interface, wherein, the pattern that WAN connects is route pattern or bridge mode, the type of service that WAN connects is: PPPoE(point to point connect), Static(static state connects), DHCP(Dynamic link library) or Bridge(bridge) etc., arrange module 20 to connect for disconnecting all networks, empty switching port register, and reset switching port register by described WAN configuration information, switching port register after arranging connects corresponding VLAN for setting up each WAN, and sets up the binding relationship of each WAN connection and corresponding LAN interface, start module 30 and connect corresponding network service for successively starting each WAN.
Fig. 5 is the logic diagram of broadband P LC product embodiments two of the present invention, this broadband P LC product comprises the receiver module 10 connected successively, module 20 is set, start module 30 and display module 40, wherein, receiver module 10, module 20 is set, start the receiver module 10 in module 30 and the embodiment shown in Fig. 4 one, module 20 is set, the logical construction starting module 30 is identical, do not repeat at this, below only display module 40 is described, the state information that this display module 40 connects for showing each WAN in WEB page, the situation that each WAN connects is checked to facilitate user.
Fig. 6 is the logic diagram starting module embodiments one in broadband P LC product of the present invention, in this embodiment, what first illustrate is, the WAN configuration information that user submits to also comprises the priority that each WAN connects, then, when setting up switching port register according to these WAN configuration informations, the priority that also can connect according to each WAN sets up the order that multiple WAN connects.And, start module 30 and comprise: the first extraction unit 31, mode determination 32, service start unit 33, end judging unit 34 and the second extraction unit 35.Wherein, the first extraction unit 31 for extracting the pattern of first WAN connection from WAN configuration information; Whether mode determination 32 is route pattern for the pattern judging current WAN and connect; When service start unit 33 is route pattern for the pattern that connects at current WAN, the type of service connected according to current WAN and service configuration information start corresponding network service; Whether terminate judging unit 34 for after starting corresponding network service or when the pattern of current WAN connection is not route pattern, judging that current WAN connects is that last WAN connects; When second extraction unit 35 not being last WAN connection for connecting at current WAN, from WAN configuration information, extracting the pattern that next WAN connects, and then turn to mode determination 32.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within right of the present invention.

Claims (8)

1. a method for the many WAN connections of broadband power line communication PLC Realization of Product, described broadband P LC product comprises a wan interface and at least two LAN interface, it is characterized in that, the described method realizing many WAN connection comprises:
A. receive and preserve the WAN configuration information that user submitted to by WEB page, described WAN configuration information comprises: the quantity that WAN connects and pattern, type of service and service configuration information that each WAN connects, and the quantity that described WAN connects is less than or equal to the quantity of LAN interface;
B. disconnect all networks to connect, empty switching port register, and reset switching port register by described WAN configuration information, switching port register after arranging connects corresponding VLAN for setting up each WAN, and sets up the binding relationship of each WAN connection and corresponding LAN interface;
C. successively start each WAN and connect corresponding network service;
Described step C comprises:
C1. from WAN configuration information, extract the pattern that first WAN connects;
C2. judge whether the pattern that current WAN connects is route pattern, if so, then perform step C3; If not, then step C4 is performed;
C3. the type of service connected according to current WAN and service configuration information start corresponding network service;
Whether be last WAN connect, if not, then perform step C5 if C4. judging that current WAN connects;
C5. from WAN configuration information, extract the pattern that next WAN connects, then perform step C2.
2. the method for the many WAN connections of broadband P LC Realization of Product according to claim 1, is characterized in that, if in described step C4, judges that current WAN connects as last WAN connects, then performs:
D. in WEB page, show the state information that each WAN connects.
3. the method for the many WAN connections of broadband P LC Realization of Product according to claim 1 and 2, is characterized in that,
In described steps A, described WAN configuration information also comprises the priority that each WAN connects;
In described step B, described arrange after the priority of switching port register also for connecting according to each WAN set up multiple WAN connect order.
4. the method for the many WAN connections of broadband P LC Realization of Product according to claim 1, it is characterized in that, described type of service is: point to point connect, static connection, Dynamic link library or bridge.
5. a broadband power line communication PLC product, comprises a wan interface and at least two LAN interface, it is characterized in that, described broadband P LC product also comprises:
Receiver module, for receiving and preserving the WAN configuration information that user submitted to by WEB page, described WAN configuration information comprises: the quantity that WAN connects and pattern, type of service and service configuration information that each WAN connects, and the quantity that described WAN connects is less than or equal to the quantity of LAN interface;
Module is set, connect for disconnecting all networks, empty switching port register, and reset switching port register by described WAN configuration information, switching port register after arranging connects corresponding VLAN for setting up each WAN, and sets up the binding relationship of each WAN connection and corresponding LAN interface;
Starting module, connecting corresponding network service for successively starting each WAN;
Described startup module comprises:
First extraction unit, for extracting the pattern that first WAN connects from WAN configuration information;
Mode determination, for judging whether the pattern that current WAN connects is route pattern;
Service start unit, when the pattern for connecting at current WAN is route pattern, the type of service connected according to current WAN and service configuration information start corresponding network service;
Terminate judging unit, whether for after starting corresponding network service or when the pattern of current WAN connection is not route pattern, judging that current WAN connects is that last WAN connects;
Second extraction unit, when not being last WAN connection for connecting at current WAN, extracts the pattern that next WAN connects from WAN configuration information.
6. broadband P LC product according to claim 5, is characterized in that, described broadband P LC product also comprises:
Display module, for showing the state information that each WAN connects in WEB page.
7. the broadband P LC product according to claim 5 or 6, is characterized in that, described WAN configuration information also comprises the priority that each WAN connects; Described arrange after the priority of switching port register also for connecting according to each WAN set up multiple WAN connect order.
8. broadband P LC product according to claim 5, is characterized in that, described type of service is: point to point connect, static connection, Dynamic link library or bridge.
CN201210529165.9A 2012-12-10 2012-12-10 A kind of broadband P LC product and realize many WAN connect method Active CN103023734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210529165.9A CN103023734B (en) 2012-12-10 2012-12-10 A kind of broadband P LC product and realize many WAN connect method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210529165.9A CN103023734B (en) 2012-12-10 2012-12-10 A kind of broadband P LC product and realize many WAN connect method

Publications (2)

Publication Number Publication Date
CN103023734A CN103023734A (en) 2013-04-03
CN103023734B true CN103023734B (en) 2016-01-06

Family

ID=47971884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210529165.9A Active CN103023734B (en) 2012-12-10 2012-12-10 A kind of broadband P LC product and realize many WAN connect method

Country Status (1)

Country Link
CN (1) CN103023734B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716181A (en) * 2013-12-13 2014-04-09 上海斐讯数据通信技术有限公司 LAN_WAN virtual channel implementation method under gateway device routing mode
TWI566553B (en) 2015-07-22 2017-01-11 鴻海精密工業股份有限公司 A Router and a Method for Establishing Network Connection Using the Router
CN110417603B (en) * 2019-08-12 2022-09-23 上海市共进通信技术有限公司 Method and system for realizing multi-WAN connection service processing based on PON uplink home gateway

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009618A (en) * 2006-12-28 2007-08-01 杭州华为三康技术有限公司 Communication device and implementation method with the LAN/WAN port switching function
CN102497369A (en) * 2011-12-12 2012-06-13 深圳市共进电子股份有限公司 Routing method for multi-wide area network (WAN) connection in voice over Internet phone (VOIP) voice communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7280547B2 (en) * 2002-12-16 2007-10-09 Microsoft Corporation Dynamic WAN port detection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009618A (en) * 2006-12-28 2007-08-01 杭州华为三康技术有限公司 Communication device and implementation method with the LAN/WAN port switching function
CN102497369A (en) * 2011-12-12 2012-06-13 深圳市共进电子股份有限公司 Routing method for multi-wide area network (WAN) connection in voice over Internet phone (VOIP) voice communication system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高效灵活的双WAN口路由器应用详解;王振宇等;《软件(国际IT传媒品牌)》;20111231;第32卷(第6期);第90-91页 *

Also Published As

Publication number Publication date
CN103023734A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
US20220131740A1 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
US9294305B2 (en) Method for sending ethernet frames in ethernet tree service and provider edge device
US20070253432A1 (en) Network device providing access to both layer 2 and layer 3 services on a single physical interface
CN101849390B (en) Connectivity fault management in a provider backbone bridge traffic engineering (PBB-TE) domain
CN104581419A (en) Dual-network realizing method based on android intelligent set-top box
US9077626B2 (en) In-service upgrade of provider bridge networks
CN103023734B (en) A kind of broadband P LC product and realize many WAN connect method
CN103209125B (en) A kind of transmission method of label information and equipment
CN103227773A (en) Method and system for establishing virtual private dial-up network connection
CN101902397A (en) Message forwarding method and switching chip
CN104168200B (en) A kind of method and system that acl feature is realized based on Open vSwitch
CN109462537B (en) Cross-network intercommunication method and device
CN105516744A (en) Smart TV accessing method and smart TV accessing system
CN103580979B (en) The virtual bridged website in method for building up and system, edge and bridge of logical channel
CN106027396B (en) A kind of route control method, device and system
CN104243264A (en) System and method for connecting PW to L3VPN through N:1 model
CN103795603A (en) Edge virtual bridging method and device based on multiple network interface cards
CN101588379A (en) Multi-point access method for layer two virtual private network
CN103107932B (en) Establish the method and device in MAC IN MAC tunnels
CN103036757B (en) A kind of network architecture and collocation method thereof
CN108966368A (en) The network-building method and system of a kind of LTE private network in public safety field
CN101834804B (en) Method and device for realizing speed limit for traffic of virtual private networks (VPN)
US20180198708A1 (en) Data center linking system and method therefor
CN102959903A (en) Interworking between ethernet and mpls
CN213585809U (en) Special line system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20160106

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20160106

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20160106

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20160106