CN106254407A - The method and device that a kind of home network service is shared - Google Patents

The method and device that a kind of home network service is shared Download PDF

Info

Publication number
CN106254407A
CN106254407A CN201510328809.1A CN201510328809A CN106254407A CN 106254407 A CN106254407 A CN 106254407A CN 201510328809 A CN201510328809 A CN 201510328809A CN 106254407 A CN106254407 A CN 106254407A
Authority
CN
China
Prior art keywords
service
multicast
interface
upnp
searching request
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.)
Granted
Application number
CN201510328809.1A
Other languages
Chinese (zh)
Other versions
CN106254407B (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.)
Nanjing ZTE New Software Co Ltd
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 CN201510328809.1A priority Critical patent/CN106254407B/en
Priority to PCT/CN2016/078595 priority patent/WO2016202056A1/en
Publication of CN106254407A publication Critical patent/CN106254407A/en
Application granted granted Critical
Publication of CN106254407B publication Critical patent/CN106254407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • H04L61/2582NAT traversal through control of the NAT server, e.g. using universal plug and play [UPnP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/465Details on frame tagging wherein a single frame includes a plurality of VLAN tags

Abstract

The invention discloses the method and device that a kind of home network service is shared, described method includes: the home router in home network receives the multicast searching request for the service of searching for that its lower UPNP service equipment hung is initiated;Described home router is by acting on behalf of described multicast searching request, and in each VLAN at its place, search services;Service search response to the UPNP service equipment initiating described multicast searching request.The present invention utilizes UPNP technology, is realized service search and the control of whole home network between home router by multicast message.

Description

The method and device that a kind of home network service is shared
Technical field
The present invention relates to UPnP (Universal Plug and Play, UPNP) route with domestic Device field, the method and device shared particularly to a kind of home network service.
Background technology
At present, home router not only provides a user with basic network function, such as network address translation (Network Address Translation, NAT) and flow-control, and general all from UPNP Function, user can select to open or close to determine whether to enable UPNP function.By application UPNP Function, can find the service of all support UPNP in family lan, including printer, media play, And the remote control etc. of intelligent appliance.
UPNP protocol suite uses SSDP (Simple Service Discovery Protocol, SSDP) carry out the discovery that services, use multicast to carry out the lookup serviced.In home router, The forwarding of multicast is not supported that L3 forwards and (is i.e. replicated the data of multicast source by IP address, then forward To each multicast interface), and support that L2 forwards (i.e. for being in same void with the interface of receiving multicast data Intend other multicast interface of LAN (Virtual Local Area Network, VLAN), by chip controls Described multicast packet directly replicates forwarding, does not transfer to central processing unit (the Central Processing of router Unit, CPU) process).It is to say, on domestic router device, can only enter in same VLAN The service search of row UPNP.
Therefore, if home router divides multiple VLAN, or there is multi-stage router series connection, then use UPNP will be unable to search and control all of UPNP service equipment in whole home network.
Summary of the invention
It is an object of the invention to provide the method and device that a kind of home network service is shared, can preferably solve The problem searched in home network and control all UPNP equipment.
According to an aspect of the invention, it is provided a kind of method that home network service is shared, including:
Home router in home network receive that its lower UPNP service equipment hung initiates for the service of searching for Multicast searching request;
Described home router, by acting on behalf of described multicast searching request, is searched in each VLAN at its place Rope services;
Service search response to the UPNP service equipment initiating described multicast searching request.
Preferably, described home router is by acting on behalf of described multicast searching request, each virtual at its place The step searching for service in LAN includes:
Described home router judges that whether its interface incoming interface with described multicast search message is same virtual LAN;
If the incoming interface of the interface of described home router and described multicast search message is at same VLAN, Then via described interface, multicast is searched for message and be forwarded to other UPNP equipment that described virtual local area is off the net;
If the interface of described home router and described multicast search for the incoming interface of message not at same virtual local area Net, then according to the configuration attribute of described interface place VLAN, be forwarded to institute by described multicast searching request State the VLAN at interface place.
Preferably, if described configuration attribute is for connection to the attribute of home network, then please by the search of described multicast After the internal address as source address asked is revised as outer net address, it is forwarded to the virtual local area at described interface place Net.
Preferably, described by the service searched response to the UPNP service initiating described multicast searching request The step of equipment includes:
Receive other UPNP service equipment and respond described multicast searching request and including of sending by mode of unicast The clean culture response message of device address and COS, described clean culture response message includes service type information and carries Address information for the UPNP service equipment of service;
Described clean culture response message is sent to initiate the UPNP service equipment of described multicast searching request.
Preferably, if being used for receiving the interface of described clean culture response message and the incoming interface of described multicast searching request Not at same VLAN, then the outer net address as destination address of described clean culture response message is revised After internal address, it is forwarded to initiate the UPNP service equipment of described multicast searching request.
According to a further aspect in the invention, it is provided that a kind of home network service share device, including:
Acquisition request module, initiates for receiving the UPNP service equipment hung under home router in home network Be used for searching for the multicast searching request of service;
Service search module, for by acting on behalf of described multicast searching request, in each void at home router place Intend search service in LAN;
Request-reply module, services response to the UPNP initiating described multicast searching request for will search Service equipment.
Preferably, described service search module judges that whether the incoming interface of its interface and described multicast search message exists Same VLAN, if the interface of described home router and described multicast search for the incoming interface of message same VLAN, then search for multicast message via described interface and be forwarded to off the net other of described virtual local area UPNP equipment, otherwise according to the configuration attribute of described interface place VLAN, please by the search of described multicast Seek the VLAN being forwarded to described interface place.
Preferably, if described configuration attribute is for connection to the attribute of home network, the most described service search module After the internal address as source address of described multicast searching request is revised as outer net address, be forwarded to described in connect The VLAN at mouth place.
Preferably, described request-reply module receives other UPNP service equipment by described in mode of unicast response Multicast searching request and the clean culture response message including device address and COS that sends, and by described clean culture Response message is sent to initiate the UPNP service equipment of described multicast searching request, wherein, described clean culture response Message includes service type information and provides the address information of the UPNP service equipment serviced.
Preferably, if being used for receiving the interface of described clean culture response message and the incoming interface of described multicast searching request Not at same VLAN, the most described request-reply module using described clean culture response message as destination After the outer net address of location is revised as internal address, the UPNP service being forwarded to initiate described multicast searching request sets Standby.
Compared with prior art, the beneficial effects of the present invention is:
The present invention utilizes UPNP technology, by multicast searching request (i.e. multicast message) between home router Realize service search and the control of whole home network.
Accompanying drawing explanation
Fig. 1 is the home router schematic diagram that the embodiment of the present invention provides;
Fig. 2 is the method block diagram that the home network service that the embodiment of the present invention provides is shared;
Fig. 3 is the device block diagram that the home network service that the embodiment of the present invention provides is shared;
Fig. 4 is the home network networking schematic diagram that the embodiment of the present invention provides;
Fig. 5 is to carry out, based on networking diagram shown in Fig. 4, the flow chart that home network service is shared.
Detailed description of the invention
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below Preferred embodiment be merely to illustrate and explain the present invention, be not intended to limit the present invention.
The present invention is based on UPNP technology, it is achieved home network service is shared, including home router, UPNP Protocol suite and NAT conversion, wherein:
Home router is to access the router of public network in home network.In home network interconnective All-router equipment (i.e. home router), refers generally to low end router equipment, does not include switch device. Fig. 1 is the home router schematic diagram that the embodiment of the present invention provides, as it is shown in figure 1, this home router is single Arm router, carries out NAT conversion thereon, say, that the NAT conversion in home router is normally applied In router on a stick, it divides two different VLAN, i.e. wide area network (Wide Area Network, WAN) With LAN (Local Area Network, LAN).Hang distinct device under in LAN region, divide for each equipment Join internal address (i.e. IP address of internal network), when the equipment in LAN region accesses outer net service, route at domestic Carry out NAT conversion on device, be converted into wan interface address (outer net address, outer net IP address).
UPNP protocol suite is mainly used in the intelligent interconnection intercommunication of the equipment that realizes so that office, family and other Public place can build the network environment of the mutual UNICOM of equipment easily.UPNP is to realize smart machine end to arrive The structure that end network connects, is also that a kind of framework is at transmission control protocol (Transmission Control Protocol, TCP)/internet protocol (Internet Protocol, IP) and HTML (Hypertext Markup Language) On (Hyper Text Transfer Protocol, HTTP) technology, distributed, open network knot Structure so that the equipment room transmission in networking controls data.UPNP technology achieves control point, equipment kimonos The support of communication between business, and the also use extensible markup language (Extensible of equipment and related service Makup Language, XML) define and announce out.By using UPNP, equipment can be dynamically added Network, and automatically obtain an IP address, announce its ability to other equipment or know other equipment Existing and service, all these processes are all automatically performed, and hereafter equipment can communication directly with one another.
The work process of described UPNP is divided into 6 steps:
(1) addressing (Addressing)
Equipment obtains an IP address, and DHCP (Dynamic Host is passed through in described IP address Configuration Protocol, DHCP) or manual configuration or Auto-IP mode obtain.
(2) (Discovery) is found
After an equipment is added to network, UPNP finds other control that agreement allows this equipment on network Point processed (Control Point, CP) notice (advise) one's own service.Equally, when a CP quilt After adding network to, UPNP finds that agreement allows equipment available on this CP search network;
(3) (Description) is described
The details of equipment (Device) comprise physical description and service describing, obtain one by HTTP The data of XML structure.
(4) (Control) is controlled
Use the false proof agreement of simple object (Simple Object Access Protocol, SOAP) (HTTP/TCP), complete between CP and each Device is mutual.
(5) event (Eventing)
Use the common event notification architecture (Generic Event Notification Architecture, GENA) Agreement (HTTP/TCP), completes subscription and the propelling movement of device events message, for ensureing reliability, therefore uses TCP Transmission;The propelling movement of event also has multicast (UDP), i.e. UDP multicast.
(6) (Presentation) is expressed
UPNP does not define the content of Presentation, manufacturer's self-defining equipment html page.
The present invention realizes lookup and the control of service between multi-level NAT in home network based on UPNP technology, with reality Now service is shared.On the 2nd step of the workflow of above-mentioned UPNP, the discovery i.e. serviced (Dissovery) rank Section, uses SSDP agreement (UDP), completes equipment search with multicast (multicast), with clean culture (unicast) (UDP) search of CP is responded.
The said equipment is for providing the UPNP service equipment of service, such as printer and player etc..
Fig. 2 is the method block diagram that the home network service that the embodiment of the present invention provides is shared, as in figure 2 it is shown, step Suddenly include:
Step S101: the home router in home network receives the use that its lower UPNP service equipment hung is initiated Search for the multicast searching request of service.
Step S102: described home router is by acting on behalf of described multicast searching request, in each void at its place Intend search service in LAN.
Specifically, described home router judges that whether the incoming interface of its interface and described multicast search message exists Same VLAN, if the interface of described home router and described multicast search for the incoming interface of message same VLAN, the most all at VLAN1, then searches for message via described interface by multicast and is forwarded to described VLAN1 Under other UPNP equipment;If the interface of described home router searches for the incoming interface of message not with described multicast Incoming interface 1 at same VLAN, such as message exists at VLAN1, another interface 2 of home router VLAN2, then according to the configuration attribute of interface 2 place VLAN2, be forwarded to interface by described multicast searching request The VLAN2 at 2 places.
Further, if described configuration attribute is for connection to the attribute of home network, then described multicast is searched for After the internal address as source address of request is revised as outer net address, it is forwarded to the virtual office at described interface place Territory net, such as, be forwarded to the VLAN2 at interface 2 place.If described configuration attribute is for connection to the attribute of public network, The most do not forward described multicast searching request.
Step S103: service search response to the UPNP service equipment initiating described multicast searching request.
Specifically, receive other UPNP service equipment respond described multicast searching request by mode of unicast and The clean culture response message including device address and COS sent, is sent to described clean culture response message Rise described multicast searching request UPNP service equipment, described clean culture response message include service type information and The address information of the UPNP service equipment of service is provided.
Further, if be used for receiving the interface of described clean culture response message and described multicast searching request enter to connect Mouthful not at same VLAN, such as, the interface 2 receiving described clean culture response message is in VLAN2, And the message incoming interface of described multicast searching request is in VLAN1, then using described clean culture response message as mesh The outer net address of address be revised as internal address after, be forwarded to initiate the UPNP clothes of described multicast searching request Business equipment..
Fig. 3 is the device block diagram that the home network service that the embodiment of the present invention provides is shared, as it is shown on figure 3, bag Include acquisition request module 10, service search module 20 and request-reply module 30.
Acquisition request module 10 is initiated for receiving the UPNP service equipment hung under home router in home network Be used for searching for the multicast searching request of service.Such as, its lower extension is received via the interface 1 of home router In the multicast searching request of the UPNP service equipment of VLAN1, and cache described multicast searching request.
Service search module 20 for by acting on behalf of described multicast searching request, each at home router place Search service in VLAN.Such as, service search module 20 judges that its a certain interface is searched with described multicast Whether the incoming interface of rope message is at same VLAN, if the interface of described home router is searched with described multicast Multicast at same VLAN, is then searched for message via described interface and is forwarded to described by the incoming interface of rope message Other UPNP equipment that virtual local area is off the net, otherwise according to the configuration attribute of described interface place VLAN, Described multicast searching request is forwarded to the VLAN at described interface place.Further, if described configuration Attribute is for connection to the attribute of home network, and the most described service search module is by the work of described multicast searching request After being revised as outer net address for the internal address of source address, it is forwarded to the VLAN at described interface place.If Described configuration attribute is for connection to the attribute of public network, does not the most forward described multicast to search for message.
Request-reply module 30 services response to the UPNP initiating described multicast searching request for will search Service equipment.Specifically, request-reply module 30 receives other UPNP service equipment by mode of unicast sound Should described multicast searching request and the clean culture response message including device address and COS that sends, and by institute State clean culture response message and be sent to initiate the UPNP service equipment of described multicast searching request, wherein, described list Broadcast response message include service type information and the address information of the UPNP service equipment serviced is provided.Wherein, If the incoming interface being used for receiving the interface of described clean culture response message with described multicast searching request not same VLAN, the most described request-reply module is using the outer entoilage as destination address of described clean culture response message After internal address is revised as in location, it is forwarded to initiate the UPNP service equipment of described multicast searching request.
The home router serving as UPNP control point services request (i.e. group at the multicast receiving SSDP Broadcast searching request) time, this request can be cached, and oneself act on behalf of this multicast service request, for Different VLAN, such as WAN and LAN that home router divides, the residing network of search, result set will be arranged, Respond the service request of original caching again, namely realize for specific multicast message, complete a proxy requests Process.
Fig. 4 is the home network networking schematic diagram that the embodiment of the present invention provides, as shown in Figure 4.
Embodiment 1
When initiating the request of multicast from a upper node router (router A), router A receives SSDP Multicast searching request message, it is judged that the VLAN attribute of self router, by its message on corresponding interface turn Send out.When router B receives the request message that router A forwards, according to the VLAN attribute of self router, Its message is forwarded on corresponding interface.Router B receives answer message (the i.e. clean culture response report of each interface Literary composition), replied to router A.Router A receives the answer message of each interface, is transmitted to request message Incoming interface.Specifically, step includes:
Step 1, when the eth1 interface of router A receive down hang preparation come SSDP multicast discovery Message (i.e. multicast searching request), source IP is 192.168.1.10, and purpose IP is multicast IP 239.255.255.250, port numbers is 1900, and the exchange chip of router A turns according to the multicast port of L2 Deliver, according to the tag (VLAN0) of message incoming interface eth1 place VLAN, this multicast discovery is reported Literary composition forwards on each interface between the VLAN of same tag (VLAN0).
Step 2, the VLAN (VLAN1) of different tag of router A, if the needs that E-Packet are according to VLAN Configuration attribute judge.If the WAN mouth of router A is at VLAN1, then obtain the basic configuration of WAN mouth Attribute, it is assumed that household internal router WAN network is configured to PPPOP etc., it is believed that this interface is connected to public network, Need not forwarding multicasting discovery message, the most do not forward this multicast discovery message.
Step 3, router B receive multicast discovery message from WAN mouth (192.168.1.100), Also according to the tag (vlan1) of incoming interface WAN place vlan, by this multicast discovery message, same Between one tag (VLAN1), (general VLAN1 network divides only mono-interface of WAN to the forwarding of each interface, so seeing Less than repeating process).
Step 4, the VLAN (VLAN0) of different tag of router B, belong to according to the configuration of the member of its VLAN Property judge, for DHCP or static configuration, regard it as being connected with home network, need at this VLAN Between (LAN) carry out the forwarding of multicast discovery message.Router B turns on eth0 Yu eth1 interface Send out multicast discovery message.Router B judges self route table items, if receiving multicast discovery Message incoming interface is default gateway interface, does not the most revise source IP address in multicast message (192.168.1.10), Directly replicate and forward.
Step 5, router B wait each interface response answer message (i.e. clean culture response message), under hang The standby search condition meeting this multicast discovery message, such as the 192.168.2.11 under router B.This sets Standby meeting respond this multicast discovery message with clean culture response message.Router B is according to self routing table, nothing 192.168.1.10 main frame, forwards this message according to default gateway, arrives the eth0 interface of router A.
The clean culture response message received on eth0 interface and other interface eth3 are received by step 6, router A Clean culture response message, according to the destination address 192.168.1.10 of clean culture response message, be forwarded to described group Broadcast the incoming interface eth1 interface of search message.
So far, the search procedure once serviced terminates.On the lower extension control point of eth1, get route Service on device A interface direct-connected device, has the most also got the service on router B interface direct-connected device.
Embodiment 2
Initiate the request of multicast from low node router, the step of concrete search service includes:
Step 1, when the eth1 interface of router B receive down hang preparation come SSDP multicast discovery Message (i.e. multicast searching request), source IP is 192.168.2.11, and purpose IP is multicast IP 239.255.255.250, port numbers is 1900, and the exchange chip of router B turns according to the multicast port of L2 Deliver, according to the tag (VLAN 0) of message incoming interface eth1 place VLAN, by this multicast discovery Message forwards on each interface between the VLAN of same tag (VLAN 0).
Step 2, the VLAN (VLAN 1) of different tag of router B, if forward described message to need root Judge according to the configuration attribute of VLAN.If the WAN mouth place VLAN1 of router B, then obtain WAN mouth Basic configuration attribute, the network attribute of WAN be DHCP obtain or static configuration, then forward this IP, with Time the ip address, source (192.168.2.11) in multicast discovery message replaced with NAT conversion after IP address, or the IP address (192.168.1.100) of default gateway.
Step 3, router A receive multicast discovery message from eth0, also according to incoming interface eth0 The tag (v VLAN 0) of place VLAN, by this multicast discovery message between same tag (VLAN0) Each interface forwards (now eth1, eth2 send this multicast discovery message).
Step 4, the VLAN (VLAN 1) of different tag of router A, according to the configuration of the member of its VLAN Attribute judges, if the configuration attributes such as PPPOE, it is assumed that it is connected to public network, does not the most carry out multicast The forwarding of discovery message.
Step 5, router A wait each interface response answer message (i.e. clean culture response message), under hang The standby search condition meeting this multicast discovery message, such as the 192.168.1.10 under router A.This sets Standby meeting respond this multicast discovery message with clean culture response message, and now purpose IP of response message is 192.168.1.100, source IP is 192.168.1.10.Router A, according to self routing table, finds purpose IP place interface eth0 forwards this message, arrives the wan interface of router B.
Step 6, router B receive clean culture response message from wan interface, according to sending multicast before The entry of discovery message, finds the source IP of the original multicast discovery message of record, by this clean culture Purpose IP of response message is revised as the IP address of NAT conversion, according to routing table lookup to corresponding interface Eth1, forwards this clean culture response message.
So far, the search procedure once serviced terminates.On the lower extension control point of eth1, get route Service on device B interface direct-connected device, has the most also got the service on router A interface direct-connected device.
Fig. 5 is to carry out, based on networking diagram shown in Fig. 4, the flow chart that home network service is shared, as it is shown in figure 5, Hang host A and host B under router A, under router B, hang host A ' and host B ', concrete steps bag Include:
Step 1, router A receive its lower multicast search message (i.e. multicast searching request) hanging host B initiation;
Described multicast search message is forwarded to its lower another host A hung by step 2a, router A;
Described multicast search message is forwarded to connected router B by step 2b, router A;
Described multicast search message is forwarded to its lower host A hung by step 2c, router B ';
Described multicast search message is forwarded to its lower host B hung by step 2d, router B ';
Step 3a, router A receive its lower clean culture hanging host A response described multicast search message and respond Response message;
Step 3c, router B receive and hang host A under it ' respond described multicast search message and the clean culture responded Response message;
Step 3d, router B receive and hang host B under it ' respond described multicast search message and the clean culture responded Response message;
Step 4c, router A receiving router B forward from host A ' clean culture response message;
Step 4d, router A receiving router B forward from host B ' clean culture response message;
Step 5c, router A are by host A ' clean culture response message be transmitted to host B;
Step 5d, router A are by host B ' clean culture response message be transmitted to host B.
In sum, the present invention has following technical effect that
The present invention is by adding UPNP protocol function, it is achieved home router is for the agency of multicast message, real Now can search all specified services in whole home network by the lookup at a UPNP control point.
Although above the present invention being described in detail, but the invention is not restricted to this, the art technology Personnel can carry out various amendment according to the principle of the present invention.Therefore, all amendments made according to the principle of the invention, All should be understood to fall into protection scope of the present invention.

Claims (10)

1. the method that a home network service is shared, it is characterised in that including:
Home router in home network receives what its lower UPnP UPNP service equipment hung was initiated It is used for the multicast searching request of service of searching for;
Described home router, by acting on behalf of described multicast searching request, is searched in each VLAN at its place Rope services;
Service search response to the UPNP service equipment initiating described multicast searching request.
Method the most according to claim 1, it is characterised in that described home router is by agency Described multicast searching request, the step searching for service in each VLAN at its place includes:
Described home router judges that whether its interface incoming interface with described multicast search message is same virtual LAN;
If the incoming interface of the interface of described home router and described multicast search message is at same VLAN, Then via described interface, multicast is searched for message and be forwarded to other UPNP equipment that described virtual local area is off the net;
If the interface of described home router and described multicast search for the incoming interface of message not at same virtual local area Net, then according to the configuration attribute of described interface place VLAN, be forwarded to institute by described multicast searching request State the VLAN at interface place.
Method the most according to claim 2, it is characterised in that if described configuration attribute is for connection to The attribute of home network, then be revised as outer entoilage using the internal address as source address of described multicast searching request Behind location, it is forwarded to the VLAN at described interface place.
Method the most according to claim 3, it is characterised in that described responds the service searched The step giving the UPNP service equipment initiating described multicast searching request includes:
Receive other UPNP service equipment and respond described multicast searching request and including of sending by mode of unicast The clean culture response message of device address and COS, described clean culture response message includes service type information and carries Address information for the UPNP service equipment of service;
Described clean culture response message is sent to initiate the UPNP service equipment of described multicast searching request.
Method the most according to claim 4, it is characterised in that if being used for receiving described clean culture response report The incoming interface of interface and the described multicast searching request of literary composition not at same VLAN, then should by described clean culture Answer after the outer net address as destination address of message is revised as internal address, be forwarded to initiate the search of described multicast The UPNP service equipment of request.
6. the device that a home network service is shared, it is characterised in that including:
Acquisition request module, initiates for receiving the UPNP service equipment hung under home router in home network Be used for searching for the multicast searching request of service;
Service search module, for by acting on behalf of described multicast searching request, in each void at home router place Intend search service in LAN;
Request-reply module, services response to the UPNP initiating described multicast searching request for will search Service equipment.
Device the most according to claim 6, it is characterised in that described service search module judges that it connects Mouthful search for the incoming interface of message whether at same VLAN with described multicast, if the connecing of described home router Mouthful with described multicast search message incoming interface at same VLAN, then via described interface by multicast search Message is forwarded to other UPNP equipment that described virtual local area is off the net, otherwise according to described interface place virtual office The configuration attribute of territory net, is forwarded to the VLAN at described interface place by described multicast searching request.
Device the most according to claim 7, it is characterised in that if described configuration attribute is for connection to The attribute of home network, the most described service search module is using the Intranet as source address of described multicast searching request After outer net address is revised as in address, it is forwarded to the VLAN at described interface place.
Device the most according to claim 8, it is characterised in that described request-reply module receives other UPNP service equipment responds described multicast searching request and send include device address kimonos by mode of unicast The clean culture response message of service type, and be sent to initiate described multicast searching request by described clean culture response message UPNP service equipment, wherein, described clean culture response message includes service type information and provides the UPNP of service The address information of service equipment.
Device the most according to claim 9, it is characterised in that if being used for receiving described clean culture response report The incoming interface of interface and the described multicast searching request of literary composition not at same VLAN, the most described request-reply After the outer net address as destination address of described clean culture response message is revised as internal address by module, it is forwarded to Initiate the UPNP service equipment of described multicast searching request.
CN201510328809.1A 2015-06-15 2015-06-15 Method and device for sharing home network service Active CN106254407B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510328809.1A CN106254407B (en) 2015-06-15 2015-06-15 Method and device for sharing home network service
PCT/CN2016/078595 WO2016202056A1 (en) 2015-06-15 2016-04-06 Home network service sharing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510328809.1A CN106254407B (en) 2015-06-15 2015-06-15 Method and device for sharing home network service

Publications (2)

Publication Number Publication Date
CN106254407A true CN106254407A (en) 2016-12-21
CN106254407B CN106254407B (en) 2020-09-25

Family

ID=57544991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510328809.1A Active CN106254407B (en) 2015-06-15 2015-06-15 Method and device for sharing home network service

Country Status (2)

Country Link
CN (1) CN106254407B (en)
WO (1) WO2016202056A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018196468A1 (en) * 2017-04-27 2018-11-01 华为技术有限公司 Method, device and terminal for realizing data service
CN110493766A (en) * 2019-08-21 2019-11-22 青岛海信电器股份有限公司 A kind of discovery method of UPNP equipment
CN114051214A (en) * 2021-11-15 2022-02-15 杭州老板电器股份有限公司 Method, device and system for sharing terminal functions
CN114697880A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Cross-network segment discovery method, routing device and system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519149B (en) * 2018-05-21 2022-06-21 深圳市尚云互联技术有限公司 Message pushing method and application system thereof
CN111314132B (en) * 2020-02-14 2022-09-30 上海市共进通信技术有限公司 Method for setting intelligent networking configuration between wireless gateway router and wireless amplifier
CN112187486B (en) * 2020-09-29 2023-07-18 青岛海信传媒网络技术有限公司 Interaction method between intelligent devices and intelligent device
CN114401429B (en) * 2022-01-14 2024-02-27 烽火通信科技股份有限公司 Remote screen projection method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977147B (en) * 2010-10-25 2012-07-04 中山大学 Message forwarding based new method for accessing NAT (Network Address Translation) router into 802.1X certification network
CN103152234A (en) * 2013-02-20 2013-06-12 广州市佳思信息科技有限公司 Method for implementing interconnection of digital home network devices
CN103563298A (en) * 2011-03-18 2014-02-05 三星电子株式会社 Method and system for managing contact information in universal plug and play home network environment
US20140359148A1 (en) * 2013-06-03 2014-12-04 Qualcomm Incorporated Efficient infrastructure service discovery with security
CN104488222A (en) * 2012-07-20 2015-04-01 三星电子株式会社 Home network system and network setting method of router therein
CN104683320A (en) * 2013-12-03 2015-06-03 中兴通讯股份有限公司 Home network multimedia content sharing access control method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105210323B (en) * 2013-03-15 2019-05-17 阿里斯企业有限责任公司 Method, gateway and the system of compartmentalization multicast services
US9203694B2 (en) * 2013-03-15 2015-12-01 Telefonaktiebolaget L M Ericsson (Publ) Network assisted UPnP remote access

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977147B (en) * 2010-10-25 2012-07-04 中山大学 Message forwarding based new method for accessing NAT (Network Address Translation) router into 802.1X certification network
CN103563298A (en) * 2011-03-18 2014-02-05 三星电子株式会社 Method and system for managing contact information in universal plug and play home network environment
CN104488222A (en) * 2012-07-20 2015-04-01 三星电子株式会社 Home network system and network setting method of router therein
CN103152234A (en) * 2013-02-20 2013-06-12 广州市佳思信息科技有限公司 Method for implementing interconnection of digital home network devices
US20140359148A1 (en) * 2013-06-03 2014-12-04 Qualcomm Incorporated Efficient infrastructure service discovery with security
CN104683320A (en) * 2013-12-03 2015-06-03 中兴通讯股份有限公司 Home network multimedia content sharing access control method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018196468A1 (en) * 2017-04-27 2018-11-01 华为技术有限公司 Method, device and terminal for realizing data service
US11075880B2 (en) 2017-04-27 2021-07-27 Huawei Technologies Co., Ltd. Data service implementation method and apparatus, and terminal
CN110493766A (en) * 2019-08-21 2019-11-22 青岛海信电器股份有限公司 A kind of discovery method of UPNP equipment
CN114697880A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Cross-network segment discovery method, routing device and system
CN114697880B (en) * 2020-12-31 2023-05-12 华为技术有限公司 Cross-network segment discovery method, routing equipment and system
CN114051214A (en) * 2021-11-15 2022-02-15 杭州老板电器股份有限公司 Method, device and system for sharing terminal functions

Also Published As

Publication number Publication date
CN106254407B (en) 2020-09-25
WO2016202056A1 (en) 2016-12-22

Similar Documents

Publication Publication Date Title
CN106254407A (en) The method and device that a kind of home network service is shared
KR102138619B1 (en) Message clustering method and load balancer based on server cluster
JP6117234B2 (en) UPnP / DLNA with RADA hive
US8176529B2 (en) Apparatus and method for controlling devices in one or more home networks
CN106230898B (en) Network system, proxy server and its data processing method of application and system
JP2004252974A (en) Control point server system for allowing home network device to be efficiently accessed and method therefor
CN102355417A (en) Data center two-layer interconnection method and device
WO2017133291A1 (en) Server cluster-based message generation method and load balancer
CN104094243B (en) Information processor and information processing method
CN103763407A (en) Method for achieving address resolution protocol proxy through two-layer virtual local area network and local area network system
JP2003229856A (en) Communication equipment and communication control method
CN106453683A (en) Method for centralized access management of cameras
CN104104926A (en) Universal plug and play (UPnP) monitoring terminal access method and access device
CN102025799A (en) Method for discovery and automatic configuration for IP address of device
KR100429902B1 (en) Apparatus and method for controlling devices in private network from public network
CN104283783A (en) Gateway equipment message transmitting method and device in plug and play network
CN101383789B (en) Household gateway device, system and method implementing access to and controlling household network
CN106713528B (en) A kind of method of home gateway and IPv6 host access network server
JP4292897B2 (en) Relay device and port forward setting method
JP2008148243A (en) Communication apparatus, communication system, communication method and communication program
JP2004194313A (en) Server for routing connection to client apparatus
US20130282923A1 (en) Managing overlapping address domains
CN100396039C (en) Method for realizing MPLS network intercommunication based on heterogeneous medium
JP6002642B2 (en) Communication node, network system, and device control method
CN100403713C (en) Method for controlling accesses of users between virtual local area networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200827

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Applicant after: Nanjing Zhongxing Software Co.,Ltd.

Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Applicant before: ZTE Corp.

GR01 Patent grant
GR01 Patent grant