CN105554116A - Remote interconnection method and system for UPnP (Universal Plug and Play) equipment - Google Patents

Remote interconnection method and system for UPnP (Universal Plug and Play) equipment Download PDF

Info

Publication number
CN105554116A
CN105554116A CN201510948310.0A CN201510948310A CN105554116A CN 105554116 A CN105554116 A CN 105554116A CN 201510948310 A CN201510948310 A CN 201510948310A CN 105554116 A CN105554116 A CN 105554116A
Authority
CN
China
Prior art keywords
upnp device
area network
access equipment
lan
wide area
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
CN201510948310.0A
Other languages
Chinese (zh)
Other versions
CN105554116B (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.)
TCL Corp
Original Assignee
TCL 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 TCL Corp filed Critical TCL Corp
Priority to CN201510948310.0A priority Critical patent/CN105554116B/en
Publication of CN105554116A publication Critical patent/CN105554116A/en
Application granted granted Critical
Publication of CN105554116B publication Critical patent/CN105554116B/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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

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

Abstract

The invention discloses a remote interconnection method and system for UPnP (Universal Plug and Play) equipment. The method comprises the following steps that: the UPnP equipment is started up, and reports a wide area network IP (Internet Protocol) and a local area network IP to a server; when access equipment accesses the UPnP equipment, the access equipment acquires the wide area network IP and the local area network IP corresponding to the UPnP equipment from the server; the access equipment sends an HTTP (Hyper Text Transport Protocol) request to the UPnP equipment respectively according to the wide area network IP and the local area network IP of the UPnP equipment; and if the access equipment monitors feedback information requested by the local area network IP within first predetermined time, the access equipment sets the local area network IP of the UPnP equipment as a default IP, and establishes a connection with the UPnP equipment. According to the remote interconnection method and system, the local area network IP is accessed preferentially when the access equipment accesses the UPnP equipment, and the access equipment accesses the UPnP equipment through the local area network IP if the local area network IP can be accessed, so that the possible problem of connection failure of the wide area network IP is solved. Meanwhile, the transmission speed is increased, and the transmission reliability is enhanced.

Description

A kind of UPnP device remote interconnection method and system
Technical field
The present invention relates to net application technology field, particularly a kind of UPnP device remote interconnection method and system.
Background technology
In present network application, UPnP(UniversalPlugandPlay, UPnP) scene of Technology application gets more and more.Such as, the equipment (namely equipment upwards at most only connects a router) under one-level route, by UPnP service and another equipment connection, if two equipment are not at same local area network (LAN), then can carry out network interaction smoothly.If but two equipment are under same local area network (LAN), so because some router does not support that the UPnP in same local area network (LAN) forwards, then the situation that two equipment cannot connect can be produced.
Thus prior art need to improve.
Summary of the invention
The object of the present invention is to provide a kind of UPnP device remote interconnection method and system.
In order to realize foregoing invention object, the technical solution adopted in the present invention is as follows:
A kind of UPnP device remote interconnection method, the access equipment being applied to UPnP device and accessing described UPnP device is in same local area network (LAN), and described method comprises:
UPnP device starts and sends its wide area network IP and LAN IP to server;
When accessing UPnP device described in device access, described access equipment obtains wide area network IP corresponding to described UPnP device and LAN IP from described server;
Described access equipment sends HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device, and monitors the feedback information of described wide area network IP request and LAN IP request;
If listen to the feedback information of described LAN IP request in described access equipment first scheduled time, then the LAN IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
Described UPnP device remote interconnection method, it also comprises:
If described access equipment does not hear the feedback information of described LAN IP request within described first scheduled time, then detect the feedback information whether listening to described wide area network IP request within described first scheduled time;
If listen to the feedback information that described wide area network IP asks, then the wide area network IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
Described UPnP device remote interconnection method, it also comprises:
If described access equipment does not hear the feedback information of arbitrary request within described first scheduled time, then described access equipment and described UPnP device connection failure.
Described UPnP device remote interconnection method, wherein, when access equipment and described UPnP device connect, and when described access equipment changes network environment, described method comprises:
B1, described access equipment adopt the LAN IP of the UPnP device obtained to send HTTP request to described UPnP device, and monitor the feedback information of described request;
If B2 listens to the feedback information of described request within described first scheduled time, then the LAN IP of described UPnP device is adopted to continue communication;
If B3 does not hear the feedback information of described request within described first scheduled time, then the acquiescence IP of described UPnP device is set to wide area network IP.
Described UPnP device remote interconnection method, wherein, after described access equipment is connected by UPnP device wide area network IP and UPnP device, described method also comprises:
C1, described access equipment send HTTP request by UPnP device wide area network IP to it and do not meet with a response;
C2, the described access equipment UPnP device LAN IP obtained sends HTTP request to it;
If the described access equipment of C3 does not arrive the message that UPnP device returns in the first predetermined amount of time, then judge to connect time-out.
If the described access equipment of C4 successfully receives the message that UPnP device returns, then UPnP device is given tacit consent to IP and change UPnP device LAN IP into.
Described UPnP device remote interconnection method, wherein, after described access equipment is connected by UPnP device LAN IP and UPnP device, described method also comprises:
D1, described access equipment send HTTP request by the UPnP device LAN IP obtained to it and do not meet with a response;
D2, the described access equipment UPnP device wide area network IP obtained sends HTTP request to it;
If the described access equipment of D3 for receiving the message that UPnP device returns, then judges to connect time-out within first scheduled time;
If the described access equipment of D4 receives the message that UPnP device returns within first scheduled time, then UPnP device is given tacit consent to IP and change UPnP device wide area network IP into.
A kind of UPnP device remote interconnection system, it comprises: UPnP device, access equipment and server; Described UPnP device and access equipment are in same local area network (LAN), and described UPnP device is used for sending its wide area network IP and LAN IP to server, and connects with described access equipment; Described server is for storing wide area network IP and the LAN IP of the transmission of described UPnP device;
Described access equipment comprises:
Acquisition module, for when accessing UPnP device described in device access, obtains wide area network IP corresponding to described UPnP device and LAN IP from described server;
Request module, for sending HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device;
Monitor module, for monitoring the feedback information of described wide area network IP and LAN IP request in first scheduled time;
Processing module, for when described access equipment listens to the feedback information of described LAN IP request within described first scheduled time, is set to the LAN IP of described UPnP device give tacit consent to IP, and connects with described UPnP device.
Described UPnP device remote interconnection system, wherein, described processing module also for:
When described access equipment does not hear the feedback information of described LAN IP request within first scheduled time, detect the feedback information whether listening to described wide area network IP request within first scheduled time; If listen to the feedback information that described wide area network IP asks, then the wide area network IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
Described UPnP device remote interconnection system, wherein, described processing module also for when described access equipment does not hear the feedback information of arbitrary request in the first Preset Time, judges described access equipment and described UPnP device connection failure.
Described UPnP device remote interconnection system, wherein, described wide area network IP, LAN IP and device identification also for sending the device identification of UPnP device to server, and are bound by described UPnP device.
Beneficial effect: compared with prior art, the present invention puies forward a kind of UPnP device remote interconnection method and system, UPNP device start also reports during wide area network IP to server and reports LAN IP simultaneously, when accessing UPnP device described in device access, described access equipment obtains wide area network IP corresponding to described UPnP device and LAN IP from described server; Described access equipment sends HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device, and monitors the feedback information of described wide area network IP request and LAN IP request; If listen to the feedback information of described LAN IP request in described access equipment first scheduled time, then the LAN IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.When the present invention accesses equipment UPnP device, priority access LAN IP, if can access, is then conducted interviews by LAN IP, so just successfully evade the wide area network IP connection failure problem that may cause, also improve transmission speed and transmission reliability simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart of UPnP device remote interconnection method of the present invention preferred embodiment.
Fig. 2 is the flow chart of UPnP device remote interconnection embodiment of the method one of the present invention.
Fig. 3 is the flow chart of UPnP device remote interconnection embodiment of the method two of the present invention.
Fig. 4 is the flow chart of UPnP device remote interconnection embodiment of the method three of the present invention.
Fig. 5 is the flow chart of UPnP device remote interconnection embodiment of the method four of the present invention.
Fig. 6 is the structure principle chart of UPnP device remote interconnection system of the present invention.
Embodiment
The invention provides UPnP device remote interconnection method and system, for making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Below in conjunction with accompanying drawing, by the description to embodiment, summary of the invention is described further.
Refer to Fig. 1, Fig. 1 is the flow chart of UPnP device remote interconnection method of the present invention preferred embodiment.Described UPnP device remote interconnection method, the access equipment being applied to UPnP device and accessing described UPnP device is in same local area network (LAN), and described method comprises:
S1, UPnP device start and send its wide area network IP and LAN IP to server.
Particularly, when UPnP device starts, UPnP device sends its wide area network IP(InternetProtocol to server, Internet protocol) and LAN IP (InternetProtocol, Internet protocol).Wherein, described wide area network IP is the IP address of UPnP device access Internet, the IP that described LAN IP distributes for local area network (LAN) described in UPnP device.Wide area network IP and LAN IP are reported to server by described UPnP device simultaneously, wide area network IP and LAN IP described in described server stores.
Further, due to wide area network IP and the LAN IP of multiple UPnP device can be stored in described server, thus UPnP device is while reporting its wide area network IP and LAN IP, also report the device identification of UPnP device described in unique identification, wide area network IP and UPnP device corresponding to LAN IP can be determined like this.Wherein, described device identification can be device number.In actual applications, described wide area network IP, LAN IP and device identification can be bound as an information upload server by described UPnP device, can by information upload server independent to wide area network IP, LAN IP and device identification.The wide area network IP that UPnP device reports by server, LAN IP and device identification corresponding stored, its storage mode can be: (device identification, wide area network IP, LAN IP).
Further, same equipment report wide area network IP, LAN IP and device identification time, server can also comprise a search procedure, detailed process can be: described server searches the wide area network IP and LAN IP information that whether store described device identification according to described device identification, if non-storage wide area network IP and LAN IP information, so server is described UPnP device memory allocated space and stores the wide area network IP of described UPnP device, LAN IP and device identification.If storage wide area network IP and LAN IP information, the wide area network IP so adopting this to report and LAN IP upgrade the wide area network IP and LAN IP that have stored.Such one side can save the memory space of server.Server memory can be avoided to store up wide area network IP and the LAN IP of multiple UPnP device on the other hand, thus cannot determine which is the wide area network IP of current use and the problem of LAN IP.
S2, when accessing UPnP device described in device access, described access equipment obtains wide area network IP corresponding to described UPnP device and LAN IP from described server.
Particularly, described in described access device access during UPnP device, first can obtain the device identification of described UPnP device.It can by obtaining device identification by the mode that described access equipment and described UPnP device carry out associating in advance.In actual applications, both first can be connected by methods such as bluetooths, obtain the device identification of UPnP device afterwards.After described access equipment obtains the device identification of described UPnP device, obtain wide area network IP corresponding to described UPnP device and LAN IP according to described device identification from described server.
In one embodiment, described step S2 can comprise:
S21, when accessing UPnP device described in device access, described access equipment obtains the device identification of described UPnP device, and sends the request obtaining wide area network IP corresponding to described device identification and LAN IP to server according to described device identification;
S22, described server receive described request, and search wide area network IP and the LAN IP of its correspondence according to described device identification;
S23, when described whois lookup is to wide area network IP corresponding to described device identification and LAN IP, described wide area network IP and LAN IP are fed back to described access equipment.
Particularly, described access equipment can obtain wide area network IP corresponding to device identification and LAN IP by modes such as bluetooths from server.
S3, described access equipment send HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device, and monitor the feedback information of described wide area network IP request and LAN IP request.
Particularly, described access equipment sends HTTP request by following process implementation according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device:
When after the wide area network IP and LAN IP of described access equipment acquisition UPnP device, access equipment creates sub-thread A and sub-thread B; And send a HTTP request by sub-thread A to the wide area network IP of UPnP device, send a HTTP request by sub-thread B to UPnP device LAN IP.Wherein, described access equipment creates sub-thread A and sub-thread B simultaneously, and sends to the wide area network IP of UPnP device and LAN IP simultaneously and send HTTP request by sub-thread A and sub-thread B.
Further, after access equipment is sent request to the wide area network IP of UPnP device office and LAN IP by sub-thread A and sub-thread B simultaneously, access equipment monitors the feedback information of described request.In actual applications, while access equipment is sent request to the wide area network IP of UPnP device office and LAN IP by sub-thread A and sub-thread B simultaneously, it starts for judging whether the timer listening to feedback information, described set timer first scheduled time.Wherein, first scheduled time was what preset, and it can be that access equipment presets, and also can be user's sets itself.It can be 30 seconds, 40 seconds etc.
Further, if described UPnP device receives the request of described sub-thread A and sub-thread B, UPnP device respectively antithetical phrase thread A and sub-thread B is fed back.Namely the feedback information of sub-thread A and sub-thread B is sent to access equipment.Here, the feedback information of UPnP device antithetical phrase thread A and sub-thread B transmission.
If listen to the feedback information of described LAN IP request in S4 described access equipment first scheduled time, then the LAN IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
Particularly, within first scheduled time, described access equipment may listen to the feedback information that UPnP device is sent request UPnP device wide area network IP by sub-thread A, also may receive the feedback information that UPnP device is sent request UPnP device LAN IP by sub-thread B.Described access equipment first judges whether the feedback information hearing sub-thread B, if listen to the feedback information of sub-thread B within first scheduled time, so no matter whether sub-thread A receives the message that UPnP device returns, and UPnP device default access IP is all set to LAN IP by access equipment.
Further, if do not hear the feedback information of sub-thread B within first scheduled time, so access the feedback information whether equipment Inspection listens to sub-thread A within described first scheduled time; If listen to the feedback information of sub-thread A, then the wide area network IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.If described access equipment does not hear the feedback information of sub-thread A and sub-thread B within described first scheduled time, then described access equipment and described UPnP device connection failure.
Further, when the equipment of access and described UPnP device connection failure, access equipment can point out user's connection failure.In actual applications, user can be pointed out by the mode such as jingle bell, vibrations.
In order to understand described UPnP device remote interconnection method further, be illustrated below in conjunction with several concrete enforcement.
Embodiment one
A kind of UPnP device remote interconnection method, the access equipment in same local area network (LAN) that is applied to is connected with first of UPnP, and as shown in Figure 2, it comprises:
A10, described UPnP device start, and report wide area network IP and LAN IP to server.
When A20, described access equipment prepare access UPnP device, obtain wide area network IP and the LAN IP of UPnP device from server.
After the wide area network IP that A30, described access equipment obtain described UPnP device and LAN IP, create sub-thread A and sub-thread B simultaneously, and send a HTTP request respectively by sub-thread A to the wide area network IP of UPnP device, send a HTTP request by sub-thread B to the LAN IP of UPnP device.
If the sub-thread B of A40 access equipment receives the message that UPnP device returns within first scheduled time, then UPnP device default access IP is set to LAN IP.
If A50 accesses the sub-thread B of equipment do not receive the message that UPnP device returns within first scheduled time, the sub-thread A accessing equipment receives the message that UPnP device returns and then UPnP device default access IP is set to wide area network IP within first scheduled time.
If the sub-thread A of A60 access equipment and sub-thread B does not receive the message that UPnP device returns within first scheduled time, then judge connection failure.
Embodiment two
A kind of UPnP device remote interconnection method, it is applied to access equipment and described UPnP device connects, and described access equipment changes network environment, first LAN IP is adopted to send request, checking, whether at same local area network (LAN), if ask unsuccessfully, then adopts wide area network IP communication.As shown in Figure 3, it comprises:
B10, described access equipment adopt the LAN IP of the UPnP device obtained to send HTTP request to described UPnP device, and monitor the feedback information of described request;
If B20 listens to the feedback information of described request within described first scheduled time, then the LAN IP of described UPnP device is adopted to continue communication;
If B30 does not hear the feedback information of described request within described first scheduled time, then the acquiescence IP of described UPnP device is set to wide area network IP.
Embodiment three
A kind of UPnP device remote interconnection method, after access equipment is connected by UPnP device wide area network IP and UPnP device, if utilize the UPnP device wide area network IP that obtained to the response that cannot obtain UPnP device after UPnP device sends HTTP request, then initiatively make UPnP device LAN IP into conduct interviews, as shown in Figure 4, its detailed process is as follows:
C10, described access equipment send HTTP request by UPnP device wide area network IP to it and do not meet with a response.
C20, the described access equipment UPnP device LAN IP obtained sends HTTP request to it.
If the described access equipment of C30 does not arrive the message that UPnP device returns in the first predetermined amount of time, then judge to connect time-out.
If the described access equipment of C40 successfully receives the message that UPnP device returns, then UPnP device is given tacit consent to IP and change UPnP device LAN IP into.
Embodiment four
A kind of UPnP device remote interconnection method, after access equipment is connected by UPnP device LAN IP and UPnP device, obtain UPnP device LAN IP if utilize and sent to UPnP device the response not obtaining UPnP device after HTTP request, then initiatively make UPnP device wide area network IP into conduct interviews, as shown in Figure 5, it specifically comprises:
D10, described access equipment send HTTP request by the UPnP device LAN IP obtained to it and do not meet with a response.
D20, the described access equipment UPnP device wide area network IP obtained sends HTTP request to it.
If the described access equipment of D30 for receiving the message that UPnP device returns, then judges to connect time-out within first scheduled time.
If the described access equipment of D40 receives the message that UPnP device returns within first scheduled time, then UPnP device is given tacit consent to IP and change UPnP device wide area network IP into.
Present invention also offers a kind of UPnP device remote interconnection system, as shown in Figure 6, it comprises: UPnP device 100, access equipment 300 and server 200; Described UPnP device 100 and access equipment 300 are in same local area network (LAN), and described UPnP device 100 for sending its wide area network IP and LAN IP to server 200, and connects with described access equipment 300; Described server 200 is for storing wide area network IP and the LAN IP of the transmission of described UPnP device 100;
Described access equipment 300 comprises:
Acquisition module, for when accessing UPnP device described in device access, obtains wide area network IP corresponding to described UPnP device and LAN IP from described server;
Request module, for sending HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device;
Monitor module, for monitoring the feedback information of described wide area network IP and LAN IP request in first scheduled time;
Processing module, for when described access equipment listens to the feedback information of described LAN IP request within described first scheduled time, is set to the LAN IP of described UPnP device give tacit consent to IP, and connects with described UPnP device.
Described UPnP device remote interconnection system, wherein, described processing module also for:
When described access equipment does not hear the feedback information of described LAN IP request within first scheduled time, detect the feedback information whether listening to described wide area network IP request within first scheduled time; If listen to the feedback information that described wide area network IP asks, then the wide area network IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
Described UPnP device remote interconnection system, wherein, described processing module also for when described access equipment does not hear the feedback information of arbitrary request in the first Preset Time, judges described access equipment and described UPnP device connection failure.
Described UPnP device remote interconnection system, wherein, described wide area network IP, LAN IP and device identification also for sending the device identification of UPnP device to server, and are bound by described UPnP device 100.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, and all these change or replace the protection range that all should belong to the claim appended by the present invention.

Claims (10)

1. a UPnP device remote interconnection method, is characterized in that, described method comprises:
UPnP device sends its wide area network IP and LAN IP to server when starting;
When accessing UPnP device described in device access, described access equipment obtains wide area network IP corresponding to described UPnP device and LAN IP from described server;
Described access equipment sends HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device, and monitors the feedback information of described wide area network IP request and LAN IP request;
If listen to the feedback information of described LAN IP request in described access equipment first scheduled time, then the LAN IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
2. UPnP device remote interconnection method according to claim 1, it is characterized in that, it also comprises:
If described access equipment does not hear the feedback information of described LAN IP request within described first scheduled time, then detect the feedback information whether listening to described wide area network IP request within described first scheduled time;
If listen to the feedback information that described wide area network IP asks, then the wide area network IP of described UPnP device is set to give tacit consent to IP by described access equipment.
3. UPnP device remote interconnection method according to claim 2, it is characterized in that, it also comprises:
If described access equipment does not hear the feedback information of arbitrary request within described first scheduled time, then described access equipment and described UPnP device connection failure.
4. UPnP device remote interconnection method according to claim 1, is characterized in that, when access equipment and described UPnP device connect, and when described access equipment changes network environment, described method comprises:
B1, described access equipment adopt the LAN IP of the UPnP device obtained to send HTTP request to described UPnP device, and monitor the feedback information of described request;
If B2 listens to the feedback information of described request within described first scheduled time, then the LAN IP of described UPnP device is adopted to continue communication;
If B3 does not hear the feedback information of described request within described first scheduled time, then the acquiescence IP of described UPnP device is set to wide area network IP.
5. UPnP device remote interconnection method according to claim 2, is characterized in that, after described access equipment is connected by UPnP device wide area network IP and UPnP device, described method also comprises:
C1, described access equipment send HTTP request by UPnP device wide area network IP to it and do not meet with a response;
C2, the described access equipment UPnP device LAN IP obtained sends HTTP request to it;
If the described access equipment of C3 does not arrive the message that UPnP device returns in the first predetermined amount of time, then judge to connect time-out;
If the described access equipment of C4 successfully receives the message that UPnP device returns, then UPnP device is given tacit consent to IP and change UPnP device LAN IP into.
6. UPnP device remote interconnection method according to claim 1, is characterized in that, after described access equipment is connected by UPnP device LAN IP and UPnP device, described method also comprises:
D1, described access equipment send HTTP request by the UPnP device LAN IP obtained to it and do not meet with a response;
D2, the described access equipment UPnP device wide area network IP obtained sends HTTP request to it;
If the described access equipment of D3 for receiving the message that UPnP device returns, then judges to connect time-out within first scheduled time;
If the described access equipment of D4 receives the message that UPnP device returns within first scheduled time, then UPnP device is given tacit consent to IP and change UPnP device wide area network IP into.
7. a UPnP device remote interconnection system, is characterized in that, it comprises: UPnP device, access equipment and server; Described UPnP device and access equipment are in same local area network (LAN), and described UPnP device is used for sending its wide area network IP and LAN IP to server, and connects with described access equipment; Described server is for storing wide area network IP and the LAN IP of the transmission of described UPnP device;
Described access equipment comprises:
Acquisition module, for when accessing UPnP device described in device access, obtains wide area network IP corresponding to described UPnP device and LAN IP from described server;
Request module, for sending HTTP request according to the wide area network IP of UPnP device and LAN IP respectively to described UPnP device;
Monitor module, for monitoring the feedback information of described wide area network IP and LAN IP request in first scheduled time;
Processing module, for when described access equipment listens to the feedback information of described LAN IP request within described first scheduled time, is set to the LAN IP of described UPnP device give tacit consent to IP, and connects with described UPnP device.
8. UPnP device remote interconnection system according to claim 7, is characterized in that, described processing module also for:
When described access equipment does not hear the feedback information of described LAN IP request within first scheduled time, detect the feedback information whether listening to described wide area network IP request within first scheduled time; If listen to the feedback information that described wide area network IP asks, then the wide area network IP of described UPnP device is set to give tacit consent to IP by described access equipment, and connects with described UPnP device.
9. UPnP device remote interconnection system according to claim 8, it is characterized in that, described processing module also for when described access equipment does not hear the feedback information of arbitrary request in the first Preset Time, judges described access equipment and described UPnP device connection failure.
10. UPnP device remote interconnection system according to claim 7, is characterized in that, described UPnP device also for sending the device identification of UPnP device to server, and by described wide area network IP, LAN IP and device identification binding.
CN201510948310.0A 2015-12-17 2015-12-17 remote interconnection method and system for UPnP equipment Active CN105554116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510948310.0A CN105554116B (en) 2015-12-17 2015-12-17 remote interconnection method and system for UPnP equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510948310.0A CN105554116B (en) 2015-12-17 2015-12-17 remote interconnection method and system for UPnP equipment

Publications (2)

Publication Number Publication Date
CN105554116A true CN105554116A (en) 2016-05-04
CN105554116B CN105554116B (en) 2019-12-10

Family

ID=55833048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510948310.0A Active CN105554116B (en) 2015-12-17 2015-12-17 remote interconnection method and system for UPnP equipment

Country Status (1)

Country Link
CN (1) CN105554116B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108540590A (en) * 2018-03-28 2018-09-14 深圳市网心科技有限公司 UPnP network port mapping method, electronic equipment, network system and storage medium
CN109660572A (en) * 2017-10-10 2019-04-19 关隆股份有限公司 The connecting method of wireless system
CN113179315A (en) * 2021-04-26 2021-07-27 缀初网络技术(上海)有限公司 Method, system and readable storage medium for providing communication between devices in multiple local area networks

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551574A (en) * 2003-05-19 2004-12-01 ض� General instant-plug-instant-use mirror image device, system and method
US20060153072A1 (en) * 2004-12-28 2006-07-13 Matsushita Electric Industrial Co., Ltd. Extending universal plug and play messaging beyond a local area network
CN101562639A (en) * 2009-05-14 2009-10-21 深圳华为通信技术有限公司 Information synchronization method, device and system
CN101741901A (en) * 2009-12-21 2010-06-16 青岛海信宽带多媒体技术有限公司 Method and device for realizing remote access to UPnP/DLNA device
US20110208532A1 (en) * 2010-02-23 2011-08-25 Samsung Electronics Co., Ltd. MANAGING HEALTH DATA FROM WITHIN AND OUTSIDE A UPnP NETWORK
CN102318318A (en) * 2011-06-29 2012-01-11 华为技术有限公司 Method and advice of terminal access digital home appliances
CN102594823A (en) * 2012-02-20 2012-07-18 南京邮电大学 Trusted system for remote secure access of intelligent home
CN102891836A (en) * 2011-07-22 2013-01-23 中兴通讯股份有限公司 UPnP (Universal Plug And Play) access control method, server and client
CN204597998U (en) * 2015-03-17 2015-08-26 上海华仓通信技术有限公司 A kind of VPN equipment and utilize the interconnected systems of this VPN device build

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1551574A (en) * 2003-05-19 2004-12-01 ض� General instant-plug-instant-use mirror image device, system and method
US20060153072A1 (en) * 2004-12-28 2006-07-13 Matsushita Electric Industrial Co., Ltd. Extending universal plug and play messaging beyond a local area network
CN101562639A (en) * 2009-05-14 2009-10-21 深圳华为通信技术有限公司 Information synchronization method, device and system
CN101741901A (en) * 2009-12-21 2010-06-16 青岛海信宽带多媒体技术有限公司 Method and device for realizing remote access to UPnP/DLNA device
US20110208532A1 (en) * 2010-02-23 2011-08-25 Samsung Electronics Co., Ltd. MANAGING HEALTH DATA FROM WITHIN AND OUTSIDE A UPnP NETWORK
CN102318318A (en) * 2011-06-29 2012-01-11 华为技术有限公司 Method and advice of terminal access digital home appliances
CN102891836A (en) * 2011-07-22 2013-01-23 中兴通讯股份有限公司 UPnP (Universal Plug And Play) access control method, server and client
CN102594823A (en) * 2012-02-20 2012-07-18 南京邮电大学 Trusted system for remote secure access of intelligent home
CN204597998U (en) * 2015-03-17 2015-08-26 上海华仓通信技术有限公司 A kind of VPN equipment and utilize the interconnected systems of this VPN device build

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660572A (en) * 2017-10-10 2019-04-19 关隆股份有限公司 The connecting method of wireless system
CN108540590A (en) * 2018-03-28 2018-09-14 深圳市网心科技有限公司 UPnP network port mapping method, electronic equipment, network system and storage medium
CN113179315A (en) * 2021-04-26 2021-07-27 缀初网络技术(上海)有限公司 Method, system and readable storage medium for providing communication between devices in multiple local area networks
CN113179315B (en) * 2021-04-26 2022-11-29 缀初网络技术(上海)有限公司 Method, system and readable storage medium for providing communication between devices in multiple local area networks

Also Published As

Publication number Publication date
CN105554116B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
US9693092B2 (en) Method and system for transmitting network video
CN102904959B (en) Network accelerating method and gateway
CN107800791B (en) Debugging method and device
US10182086B2 (en) Method and apparatus for transmitting streaming media data
CN102664938B (en) A kind of resource downloading control method and device
CN104539596A (en) Method, device and system for streaming media transmission
CN105024872A (en) Network performance test method and device
CN109302437B (en) Method and device for redirecting website
CN110312140B (en) Live broadcast data processing method, device and system and computer readable storage medium
CN103312593B (en) A kind of message distributing system and method
KR20160004377A (en) Ott video quality monitoring method, apparatus, and system
CN105554116A (en) Remote interconnection method and system for UPnP (Universal Plug and Play) equipment
CN110442506B (en) Log acquisition method, device, service server, system and storage medium
CN102387201A (en) Method, device and system for processing service data
TWI481230B (en) Analyze the data packets to select the connection path for the connection path
CN102291432A (en) Network information sharing method, device and client
CN105681266A (en) Communication cluster method and device for MMTel (MultiMedia Telephony)
CA2964712C (en) Reception device, transmission device, and data processing method
CN110798691B (en) Live content uploading and acquiring method and device
US9729404B2 (en) Quality of service monitoring device and method of monitoring quality of service
CN107707590A (en) System, the method and device of data transfer
CN113285920B (en) Service access method, device, equipment and storage medium
EP3188015A1 (en) Requesting and receiving a media stream within a networked system
US10951501B1 (en) Monitoring availability of content delivery networks
CN109874025A (en) It is a kind of live streaming, time shift and look back function monitoring method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant