WO2015018327A1 - 一种终端设备与网关设备间的互联方法和装置 - Google Patents

一种终端设备与网关设备间的互联方法和装置 Download PDF

Info

Publication number
WO2015018327A1
WO2015018327A1 PCT/CN2014/083731 CN2014083731W WO2015018327A1 WO 2015018327 A1 WO2015018327 A1 WO 2015018327A1 CN 2014083731 W CN2014083731 W CN 2014083731W WO 2015018327 A1 WO2015018327 A1 WO 2015018327A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway device
ssid
terminal device
gateway
connection
Prior art date
Application number
PCT/CN2014/083731
Other languages
English (en)
French (fr)
Inventor
李磊
赵磊
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Priority to US14/901,807 priority Critical patent/US9949116B2/en
Priority to EP14835008.5A priority patent/EP2999250B1/en
Publication of WO2015018327A1 publication Critical patent/WO2015018327A1/zh
Priority to US15/926,712 priority patent/US10171997B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/062Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for interconnecting a terminal device and a gateway device.
  • the internal interconnection mode of the home can be divided into a wireless interconnection mode and a wired interconnection mode according to the physical medium mode, wherein the indoor wireless interconnection mode includes Wifi, wireless fidelity, Zigbee, Zwave, etc.; Power line (Homplug), coaxial line (Moca), telephone line (HPNA), power line / coaxial line / telephone line (G.hn).
  • the indoor wireless interconnection mode includes Wifi, wireless fidelity, Zigbee, Zwave, etc.
  • Power line Homplug
  • coaxial line Moca
  • HPNA telephone line
  • G.hn coaxial line / telephone line
  • the various terminals used in the home such as mobile phones, set-top boxes, tablets, etc.
  • Internet Internet
  • the user needs to manually open the configuration page and input the login information of the router, so that the mobile phone, the set-top box, the tablet computer and the like can be interconnected with the router.
  • This interconnection process requires the user to manually log in, and the interconnection processing takes a long time and the process is complicated.
  • a method and apparatus for interconnecting a terminal device and a gateway device are provided.
  • the interconnection processing time is relatively short and the process is relatively simple.
  • the first aspect provides a method for interconnecting a terminal device and a gateway device, where the method includes:
  • the terminal device When the terminal device detects that the first connection condition is met between the terminal device and the gateway device, and is the first connection between the terminal device itself and the gateway device, acquiring the gateway device from the gateway device The first public SSID set;
  • the terminal device When the terminal device verifies the obtained first common SSID, the terminal device sends a second common SSID preset in the terminal device to the gateway device, so that when the gateway device verifies the second public SSID, The establishment of a public SSID connection between the terminal device and the gateway device is implemented.
  • the determining, by the terminal device, that the first connection condition is met between the terminal device and the gateway device includes:
  • the terminal device detects that a preset physical cable between itself and the gateway device is connected; or
  • the terminal device detects that the wireless signal strength between itself and the gateway device meets a preset strength threshold.
  • the method further includes:
  • the terminal device receives and stores the private SSID and the key of the gateway device sent by the gateway device; the private SSID and the key are sent after the gateway device verifies the second public SSID;
  • the method further includes:
  • the gateway device Transmitting, by the terminal device, the private SSID and the key of the gateway device to the gateway device, so that the gateway device establishes the connection between the terminal device and the gateway device based on the private SSID when the gateway device passes the private SSID and the key verification .
  • the determining, by the terminal device, that the second connection condition is met between the terminal device and the gateway device includes:
  • the terminal device detects that a preset physical cable between itself and the gateway device is connected; or
  • the terminal device detects a wireless signal of the gateway device.
  • a second aspect provides a method for interconnecting a terminal device and a gateway device, where the method includes:
  • the gateway device When the terminal device acquires the public SSID from the gateway device, the gateway device sends the locally preset first public SS ID to the terminal device;
  • the gateway device verifies the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented.
  • the method further includes:
  • the gateway device After the gateway device verifies the second public SSID, the gateway device sends the private SSID and the key of the gateway device to the terminal device;
  • the gateway device disconnects a public SSID-based connection with the terminal device; the gateway device receives a private SSID and a key sent by the terminal device;
  • the gateway device verifies the received private SSID and the key, The establishment of the connection between the gateway device and the terminal device based on the private SSID.
  • the method further includes:
  • the gateway device receives the private SSID and the key sent by the terminal device when the terminal device detects that the second connection condition is met between the device and the gateway device, and is not the first connection between the device and the gateway device.
  • the gateway device passes the received private SSID and the key verification, the establishment of the connection between the gateway device and the terminal device based on the private SSID is implemented.
  • an apparatus for interconnecting a terminal device and a gateway device includes:
  • a first acquiring unit configured to: when the first detecting unit detects that the first connection condition is met between the terminal device and the gateway device, and is the first connection between the terminal device itself and the gateway device, The gateway device acquires a first public SS ID preset in the gateway device;
  • a first verification unit configured to verify the first public SSID acquired by the first acquiring unit
  • a first sending unit configured to send, by the first verification unit, the second common SSID preset in the terminal device to the gateway device when the first public SSID is verified, so that the gateway device When the second public SSID is verified, the establishment of a public SSID connection between the terminal device and the gateway device is implemented.
  • the first detecting unit is specifically configured to: or: a strength threshold.
  • the apparatus further includes:
  • the private SSID and the key are verified by the gateway device to the second public SSID Send after passing;
  • a first connection disconnecting unit configured to: after the processing unit receives the private SSID and the key, disconnect the public SSID based connection between the terminal device and the gateway device;
  • the first sending unit is further configured to: send, to the gateway device, a private SSID and a key of the gateway device, so that when the gateway device passes the private SSID and the key verification, the terminal device and the The establishment of a connection between the gateway devices based on the private SSID.
  • the apparatus further includes: a second connection condition, and whether is between the terminal device itself and the gateway device a first connection unit, configured to: when the second detecting unit detects that the second connection condition is met between the terminal device and the gateway device, and is not the first connection between the terminal device itself and the gateway device, The private SSID and password of the gateway device;
  • the first sending unit is further configured to: send a private SSID and a key of the gateway device, so that when the gateway device verifies the private SS ID and the key, the terminal device and the gateway device are connected according to the private SSID.
  • the second detecting unit is specifically configured to:
  • a fourth aspect provides a device for interconnecting a terminal device and a gateway device, where the device includes:
  • a second sending unit configured to: when the terminal device acquires a public SSID from the gateway device, send, to the terminal device, a first public SSID preset in the gateway device;
  • a receiving unit configured to receive a second public SSID preset in the terminal device that is sent by the terminal device after the first public SSID is sent by the second sending unit;
  • a second verification unit configured to perform verification on the second public SSID received by the receiving unit, and if the gateway device verifies the second public SSID, implement a public SS ID between the terminal device and the gateway device The establishment of the connection.
  • the device is further Steps include:
  • the second sending unit is further configured to: after the second verification unit verifies the second public SS ID, send the private SSID and the key of the gateway device to the terminal device;
  • a second connection disconnecting unit configured to: after the second sending unit sends the private SS ID and the key, disconnect the public SSID based connection between the gateway device and the terminal device;
  • the receiving unit is further configured to: after the second connection disconnection unit disconnects the public SSID-based connection, receive the private SS ID and the key sent by the terminal device;
  • a third verification unit configured to verify the received private SSID and the key, and if the verification succeeds, implement establishment of the connection between the gateway device and the terminal device based on the private SSID.
  • the receiving unit is further configured to: the terminal device detects that the second connection is satisfied between the device and the gateway device Receiving a private SSID and a key sent by the terminal device when the condition is not the first connection between the device and the gateway device;
  • the third verification unit is further configured to: verify the received private SSID and the key, and if the verification succeeds, implement establishment based on the private SSID connection between the gateway device and the terminal device.
  • the second public SSID is preset in the terminal device, and the first public SSID is preset in the gateway device; the terminal device detects that the first connection condition is met between the device and the gateway device, and is the terminal device itself.
  • the second public SSID preset in the device is sent to the gateway device, so that when the gateway device verifies the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented.
  • the user does not need to manually trigger the login, and the user does not need to manually input the login information, which shortens the interconnection processing time between the terminal device and the gateway device.
  • the interconnection process does not require user participation, and the interconnection process is relatively simple.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a first embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention
  • FIG. 2 is a schematic diagram of a second embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention
  • FIG. 3 is a schematic diagram of a terminal device and a gateway device according to the present invention
  • FIG. 4 is a schematic diagram of a fourth embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention
  • FIG. 1 is a schematic diagram of a first embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention
  • FIG. 2 is a schematic diagram of a second embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention
  • FIG. 3 is a schematic diagram of a terminal device and a gateway device according to the present invention
  • FIG. 4 is a schematic diagram of a fourth embodiment of a method for inter
  • FIG. 5 is a schematic diagram of a first embodiment of a device for interconnecting a terminal device and a gateway device according to the present invention
  • 6 is a schematic diagram of a second embodiment of a device for interconnecting a terminal device and a gateway device according to the present invention
  • FIG. 7 is a schematic structural diagram of a terminal device according to the present invention.
  • FIG. 8 is a schematic structural diagram of a gateway device according to the present invention.
  • the plurality of terminal devices 110 are respectively interconnected with the gateway device 120, and the gateway device 120 is used to implement access to the Internet network.
  • the terminal device 110 can be: a smart device such as a mobile phone, a personal computer (PC), a tablet computer, and a set top box.
  • the gateway device may be: a wireless access node (AP, Access Point), a router, and the like.
  • 1 is a schematic diagram of a first embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention. In the method, a second public service set identifier (SSID, Service Set Identifier) is preset in the terminal device. The first public SSID is preset in the middle.
  • SSID public service set identifier
  • the public SSID is a concept corresponding to the private SSID of the device.
  • the second common SSID and the first public SSID are both common SSIDs, which may be the same or different common SSIDs, where the first and second are only used to distinguish the public SSID from being set in the terminal device or the gateway device. .
  • the method further includes: Step 101: The terminal device detects, when the first connection condition is met between the terminal device and the gateway device, and the first connection between the terminal device itself and the gateway device, Obtaining, by the device, the first public SSID preset in the gateway device; Step 102: When the terminal device verifies the obtained first public SSID, the terminal device sends a second common SSID preset in the terminal device to the gateway. And establishing, by the device, the establishment of the public SSID connection between the terminal device and the gateway device when the gateway device verifies the second public SSID.
  • the terminal device when the terminal device detects that the first connection condition is met between the terminal device and the gateway device, and the first connection between the terminal device itself and the gateway device, the terminal device acquires the a first public SSID preset in the gateway device; the terminal device sends a second common SSID preset in the terminal device to the gateway device when the obtained first public SSID is verified, so that the gateway device
  • the second public SSID is verified, the establishment of the public SSID connection between the terminal device and the gateway device is implemented, and the user does not need to manually trigger the login during the entire interconnection process, and the user does not need to manually input the login information, thereby shortening the login processing time;
  • the interconnection process does not require user participation, and the interconnection process is relatively simple.
  • FIG. 2 is a schematic diagram of a second embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention.
  • a second public SSID is preset in the terminal device
  • a first public SSID is preset in the gateway device.
  • the method further includes:
  • Step 201 When the terminal device acquires a public SSID from the gateway device, the gateway device sends a locally preset first public S SID to the terminal device.
  • Step 202 The gateway device receives a second public SSID preset in the terminal device that is sent by the terminal device after the first public SSID is verified to pass.
  • Step 203 If the gateway device verifies the second public SSID, the establishment of a public SSID connection between the terminal device and the gateway device is implemented.
  • the gateway device when the terminal device acquires the public SSID from the gateway device, the gateway device sends the locally preset first public SSID to the terminal device; the gateway device receives the second public that is sent by the terminal device after the first public SSID is verified. If the gateway device authenticates the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented, and the user does not need to manually trigger the login during the entire interconnection process, and the user does not need to manually input the login information, thereby shortening
  • the interconnection processing time between the terminal device and the gateway device is performed; and the interconnection process does not require user participation, and is automatically completed between the terminal device and the gateway device, and the interconnection process is relatively simple.
  • FIG. 3 is a schematic diagram of a second embodiment of a method for interconnecting a terminal device and a gateway device according to the present invention.
  • a second public SSID is preset in the terminal device
  • the method in the gateway device is preset to include:
  • Step 301 The terminal device detects a first connection condition between the user and the gateway device, and sends a public SSID connection request message to the gateway device when the first connection between the device and the gateway device is met.
  • the public SSID connection request message is used to request a predetermined public SSID in the gateway device from the gateway device.
  • the terminal device detects that the first connection condition is met between the device and the gateway device, and the terminal device detects that the preset physical cable between the device and the gateway device is connected; or the terminal device detects the wireless connection between the device and the gateway device.
  • the signal strength satisfies the preset intensity threshold.
  • the physical cable may include: a power line, a coaxial line, a telephone line, a network line, and the like.
  • the wireless signal detected by the terminal device is different according to the communication technology used between the terminal device and the gateway device.
  • the method for detecting whether the terminal device is the first connection between the device and the gateway device includes: the terminal device acquiring the device identifier of the gateway device; and the terminal device searching whether the private SSID and the key corresponding to the device identifier of the gateway device are stored locally. ;
  • the terminal device determines the first connection between itself and the gateway device;
  • the terminal device determines that it is not the first connection between itself and the gateway device.
  • the device identifier of the gateway device may be an SSID of the gateway device, and the SSID of the gateway device is used to uniquely identify the gateway device.
  • the device identifier of the gateway device may be sent by the gateway device to the terminal device.
  • the first public S SID preset in the gateway device may be set in the gateway device when the gateway device is shipped from the factory, or may be manually set in the gateway device after the gateway device is shipped from the factory.
  • Step 303 The terminal device receives the public SSID connection response message, obtains the first public SSID from the public SSID connection response message, and performs verification on the first public SSID. When the verification is passed, the terminal device is locally pre- The second public SSID is added to the automatic configuration request message, and the automatic configuration request message is sent to the gateway device.
  • the terminal device may directly interrupt the interconnection with the gateway device when the terminal device fails to pass the verification of the first public SSID, or may interrupt the interconnection with the gateway device after sending a verification failure message to the gateway device. Wait.
  • the second public SSID preset in the terminal device may be set in the terminal device when the terminal device is shipped from the factory, or may be manually set in the terminal device after the terminal device is shipped, which is not limited herein.
  • Step 304 The gateway device receives the automatic configuration request message, obtains the second public SSID from the automatic configuration request message, and verifies the second public SSID. When the verification succeeds, the private SSID and the secret are determined. The key, the private SSID and the key are added in the verification pass response message, and the verification is sent to the terminal device through the response message.
  • the determining, by the gateway device, the private SSID and the key of the gateway device may include: obtaining a private SSID and a key of the gateway device preset by the gateway device; or generating a private SSID and a key of the gateway device, and generating the generated private SSID And the key acts as the private SSID and key of the gateway device.
  • the second public SSID and the first public SSID may be the same or different, and the implementation manners thereof may be the same or different.
  • the method for the gateway device to verify the second public SSID and the method for the terminal device to verify the first public SSID are also Can be the same or different. The specific verification method is not limited here.
  • the second public SSID is the same as the first common SSID
  • the gateway device verifies the second public SSID
  • the second public SSID may be directly compared with the locally preset first public SSID, if the comparison result is the same. , the verification is passed, if the comparison result is not the same, the verification fails.
  • the terminal device verifies the first public SSID
  • the first public SSID may be directly compared with the locally preset second public SSID. If the comparison result is the same, the verification is passed, if the comparison is performed. The result is not the same, then the verification fails.
  • Step 305 The terminal device receives the verification through the response message, and obtains and stores the private SSID and the key of the gateway device from the verification through the response message. Upon receiving the verification pass response message, the terminal device indicates that the connection based on the public SSID between the terminal device and the gateway device is successfully established. In combination with step 301, the terminal device may store the private SSID and the key corresponding to the SSID of the gateway device when storing the private SSID and the key of the gateway device.
  • Step 306 The terminal device sends an automatic configuration completion response message to the gateway device, to notify the gateway device that the acquisition and storage of the private S SID and the key have been completed.
  • Step 307 The gateway device and the terminal device disconnect the public SSID based connection between the two. Specifically, the gateway device and the terminal device may disconnect the public SSID based connection between the two by: the gateway device sends a public SSID based connection disconnection request message to the terminal device, to request the terminal device to disconnect based on the public SSID The connection; the terminal device sends a connection disconnection response message based on the public SSID to the gateway device.
  • Step 308 The terminal device sends a private SSID connection request message to the gateway device, where the private SSID connection request message carries the private SSID and the key of the gateway device.
  • Step 309 The gateway device receives the private SSID connection request message, obtains a private SSID and a key from the private SSID connection request message, and performs verification on the private SSID and the key. When the verification succeeds, the terminal device is authenticated. Sending a private SSID connection response message, establishing establishment of the connection between the terminal device and the gateway device based on the private SSID. When the gateway device verifies the received private SSID and the key, the gateway device may directly compare the received private SSID and the key with its own private SSID and key.
  • the verification is performed. Pass, if the comparison result is not the same, the verification does not pass.
  • the establishment of the public SSID connection between the terminal device and the gateway device is implemented according to the preset second public SSID and the first public SSID, and the terminal device and the gateway device are implemented.
  • the interconnection between In this interconnection process, no user participation is required, and communication and processing are directly performed between the terminal device and the gateway device, which shortens the interconnection processing time between the terminal device and the gateway device, and the interconnection process is relatively simple.
  • the gateway device sends the private SSID and the key to the terminal device, and the public SSID-based connection is disconnected between the gateway device and the terminal device to establish a connection based on the private SSID, thereby ensuring the security of the interconnection between the terminal device and the gateway device. Sex.
  • Step 401 The terminal Obtaining a private SSID and a password of the gateway device when the device detects that the second connection condition is met between the device and the gateway device, and is not the first connection between the terminal device and the gateway device;
  • the determining, by the terminal device, that the second connection condition is met between the terminal device and the gateway device may include:
  • the terminal device detects that a preset physical cable between itself and the gateway device is connected; or
  • the terminal device detects a wireless signal of the gateway device.
  • the terminal device may continue to perform detection until the second connection is met.
  • the conditions are up.
  • Step 402 The terminal device sends a private SSID connection request message to the gateway device, where the private SSID connection request message carries the private SSID and the key of the gateway device.
  • Step 403 The gateway device receives the private SSID connection request message, obtains a private SSID and a key from the private SSID connection request message, and performs verification on the private SSID and the key. When the verification succeeds, the terminal device is authenticated. Sending a private SSID connection response message, establishing establishment of the connection between the terminal device and the gateway device based on the private SSID.
  • the private SSID and the key-based interconnection between the terminal device and the gateway device are implemented according to the private SSID and the key that the gateway device sends to the terminal device. In this interconnection process, no user participation is required, and communication and processing are directly performed between the terminal device and the gateway device, which shortens the interconnection processing time between the terminal device and the gateway device, and the interconnection process is relatively simple.
  • FIG. 5 is a schematic diagram of a first embodiment of a device for interconnecting a terminal device and a gateway device according to the present invention.
  • the device may be disposed in a terminal device, where the device 500 includes:
  • the first detecting unit 510 is configured to detect whether the terminal device and the gateway device meet the first
  • the first obtaining unit 520 is configured to: when the first detecting unit 510 detects that the first connection condition is met between the terminal device and the gateway device, and is the first connection between the terminal device itself and the gateway device, Acquiring, by the gateway device, the first public SSID preset in the gateway device; the first verification unit 530, configured to perform verification on the first public SSID acquired by the first acquiring unit 520;
  • a first sending unit 540 configured to send, by the first verification unit 530, the second public SSID preset in the terminal device to the gateway device when the first public SSID is verified, so that the gateway device pair When the second public SSID is verified, the establishment of a public SSID connection between the terminal device and the gateway device is implemented.
  • the first detecting unit 510 is specifically configured to:
  • the apparatus 500 may further include: a processing unit, configured to receive and store a private SSID and a key of the gateway device sent by the gateway device; the private SSID and the key are at the gateway device After the public SSID verification is passed, it is sent;
  • a processing unit configured to receive and store a private SSID and a key of the gateway device sent by the gateway device; the private SSID and the key are at the gateway device After the public SSID verification is passed, it is sent;
  • a first connection disconnecting unit configured to: after the processing unit receives the private SSID and the key, disconnect the public SSID based connection between the terminal device and the gateway device;
  • the first sending unit may be further configured to: send the private SSID and the key of the gateway device to the gateway device, so that the gateway device implements the terminal device and the gateway when the private SSID and the key are verified. The establishment of a connection between the gateway devices based on the private SSID.
  • the device 500 may further include:
  • a second connection condition and whether it is a first connection between the terminal device itself and the gateway device
  • a second acquisition unit configured to detect, by the second detection unit, that the second connection condition is met between the terminal device and the gateway device And obtaining the private SSID and the password of the gateway device when the first connection between the terminal device and the gateway device is the first time
  • the first sending unit may be further configured to: send the private SSID and the key of the gateway device, The establishment of the connection between the terminal device and the gateway device based on the private SSID is implemented when the gateway device passes the private SSID and the key verification.
  • the second detecting unit is specifically configured to:
  • FIG. 6 is a schematic diagram of a second embodiment of an apparatus for interconnecting a terminal device and a gateway device according to the present invention.
  • the device may be disposed in a gateway device, where the device 600 includes:
  • the receiving unit 620 is configured to receive a second public SSID preset in the terminal device that is sent by the terminal device after the first public SSID is sent by the second sending unit 610.
  • the second verification unit 630 is configured to perform verification on the second public SSID received by the receiving unit 620, and if the gateway device verifies the second public SSID, the public device between the terminal device and the gateway device is implemented. The establishment of the SSID connection.
  • the device may further include:
  • the second sending unit 610 is further configured to: after the second verification unit verifies the second public SSID, send the private SSID and the key of the gateway device to the terminal device; After the second sending unit sends the private SSID and the key, disconnect the public SSID based connection between the gateway device and the terminal device;
  • the receiving unit 620 is further configured to: after the second connection disconnection unit disconnects the public SSID-based connection, receiving the private SSID and the key sent by the terminal device;
  • a third verification unit configured to verify the received private SSID and the key, and if the verification succeeds, implement establishment of the connection between the gateway device and the terminal device based on the private SSID.
  • the receiving unit 620 is further configured to: when the terminal device detects that the second connection condition is met between the terminal device and the gateway device, and is not the first connection between the device and the gateway device, the receiving terminal device The private SSID and key sent;
  • the third verification unit may be further configured to: verify the received private SSID and the key, and if the verification succeeds, implement establishment of the connection between the gateway device and the terminal device based on the private SSID.
  • the terminal device when the terminal device acquires the public SSID from the gateway device, the terminal device sends a locally preset first public SSID to the terminal device; the second public SSID sent by the receiving terminal device after the first public SSID is verified to pass; After the device passes the verification of the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented, and the user does not need to manually trigger the login during the entire interconnection process, and the user does not need to manually input the login information, thereby shortening the terminal device and Interconnection processing time between gateway devices; and, the interconnection process does not require user participation, and is automatically completed between the terminal device and the gateway device, and the interconnection process is relatively simple.
  • FIG. 7 is a schematic diagram of a hardware structure of a first ingress node according to an embodiment of the present invention, where the micro base station includes: a first processor 710, a first memory 720, a first transceiver 730, and a first bus 740;
  • the first processor 710, the first memory 720, and the first transceiver 730 are coupled to each other through a first bus 740;
  • the first bus 740 may be an ISA bus, a PCI bus, or an EISA bus or the like.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 7, but it does not mean that there is only one bus or one type of bus.
  • the first memory 720 is configured to store a program.
  • the program can include program code, the program code including computer operating instructions.
  • the first memory 720 may include a high speed RAM memory, and may further include a non-volatile memory such as at least one disk memory.
  • the first processor 710 executes the program code, configured to detect whether a first connection condition is met between the terminal device and the gateway device, and whether the terminal device itself and the gateway are The first connection between the devices is also used to perform verification verification on the first public SSID acquired by the first transceiver 730.
  • the first transceiver 730 is used to connect to other devices and to communicate with other devices.
  • the first transceiver 730 is configured to: when the first processor 710 detects that the first connection condition is met between the terminal device and the gateway device, and is the first connection between the terminal device itself and the gateway device, Obtaining, by the gateway device, a first public SSID preset in the gateway device; when the first processor 710 verifies the obtained first public SSID, the second public preset in the terminal device The SSID is sent to the gateway device, so that when the gateway device verifies the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented.
  • the first processor 710 is specifically configured to: detect whether a preset physical cable between the terminal device and the gateway device is connected; or detect the terminal device and the gateway device Whether the wireless signal strength between the two meets the preset intensity threshold.
  • the first transceiver 730 is further configured to: receive a private SSID and a key of the gateway device sent by the gateway device; and the private SSID and the key are verified by the gateway device to the second public SSID. Transmitting; disconnecting a public SSID-based connection with the gateway device, and transmitting the private SSID and the key of the gateway device to the gateway device, so that the gateway device passes the private SSID and the key verification.
  • the establishment of the connection between the terminal device and the gateway device based on the private SSID connection; the first processor 710 is further configured to: store the private SSID and the key of the gateway device sent by the gateway device.
  • the first processor 710 is further configured to: detect whether a second connection condition is met between the terminal device and the gateway device, and whether it is a first connection between the terminal device itself and the gateway device;
  • the transceiver 730 is further configured to: the first processor 710 detects that the second connection condition is met between the terminal device and the gateway device, and is not the terminal device itself and the gateway device.
  • the first processor 710 is specifically configured to: detect whether a preset physical cable between the terminal device and the gateway device is connected; or detect whether the terminal device accepts the gateway The wireless signal of the device.
  • the terminal device detects that the first connection condition is met between the terminal device and the gateway device, and is the first connection between the terminal device itself and the gateway device
  • the terminal device acquires the Determining a first public SSID preset in the gateway device; when the terminal device verifies the obtained first public SSID, the terminal device sends a second common SSID preset in the terminal device to the gateway device, so that the gateway
  • the device passes the verification of the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented, and the user does not need to manually trigger the login during the entire interconnection process, and the user does not need to manually input the login information, thereby shortening the login processing time.
  • the interconnection process does not require user participation, and the interconnection process is relatively simple.
  • FIG. 8 is a schematic diagram of a hardware structure of a first ingress node according to an embodiment of the present invention, where the micro base station includes: a second processor 810, a second memory 820, a second transceiver 830, and a second bus 840;
  • the second processor 810, the second memory 820, and the second transceiver 830 are coupled to each other through a second bus 840;
  • the second bus 840 may be an ISA bus, a PCI bus, or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 8, but it does not mean that there is only one bus or one type of bus.
  • the second memory 820 is configured to store a program.
  • the program can include program code, the program code including computer operating instructions.
  • the second memory 820 may contain high speed RAM storage It is also possible to further include a non-volatile memory such as at least one disk storage.
  • the second transceiver 830 is used to connect to other devices and to communicate with other devices.
  • the second transceiver 830 is configured to: when the terminal device acquires the public SSID from the gateway device, send a locally preset first public SSID to the terminal device; after receiving the verification, the terminal device verifying the first public SSID The second common SSID preset in the transmitted terminal device; if the second processor 810 verifies the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented.
  • the second processor 810 executes the program code for verifying the second public SSID received by the second transceiver.
  • the second transceiver 830 is further configured to: after verifying the second public SSID, send the private SSID and the key of the gateway device to the terminal device; disconnecting from the terminal device a public SSID-based connection; receiving a private SSID and a key sent by the terminal device; if the second processor 810 passes the private SSID and the key verification, implementing the gateway device and the terminal device based on the The establishment of a private SSID connection;
  • the second processor 810 is further configured to: verify the private SSID and the key.
  • the second transceiver 830 is further configured to: receive, when the terminal device detects that the second connection condition is met between the device and the gateway device, and is not the first connection between the device and the gateway device, a private SSID and a key sent by the terminal device; if the second processor 810 passes the private SSID and the key verification, the establishment of the connection between the gateway device and the terminal device based on the private SSID is implemented. ;
  • the second processor 810 is further configured to: verify the private SSID and the key.
  • the gateway device when the terminal device acquires the public SSID from the gateway device, the gateway device sends the locally preset first public SSID to the terminal device; the gateway device receives the terminal device to the first public The common SSID is sent after the second public SSID is sent; if the gateway device verifies the second public SSID, the establishment of the public SSID connection between the terminal device and the gateway device is implemented, and the user does not need to manually trigger the login during the entire interconnection process. The user does not need to manually input the login information, which shortens the interconnection processing time between the terminal device and the gateway device. Moreover, the interconnection process does not require user participation, and is automatically completed between the terminal device and the gateway device, and the interconnection process is relatively simple.
  • the techniques in the embodiments of the present invention can be implemented by means of software plus the necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, and the computer software product may be stored in a storage medium such as a ROM/RAM. , a diskette, an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or in some portions of the embodiments.
  • a computer device which may be a personal computer, server, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例公开了一种终端设备与网关设备间的互联方法,所述方法包括:所述终端设备检测自身与所述网关设备之间满足第一连接条件、且是所述终端设备自身与所述网关设备之间的首次连接时,从所述网关设备获取所述网关设备中预设的第一公共SSID;终端设备对获取到的所述第一公共SSID验证通过时,将终端设备中预设的第二公共SSID发送给所述网关设备,以便所述网关设备对所述第二公共SSID验证通过时,实现终端设备与网关设备之间基于公共SSID连接的建立。本发明实施例中终端设备与网关设备之间的互联处理时间相对较短且过程相对简单。

Description

一种终端设备与网关设备间的互联方法和装置
本申请要求于 2013年 08月 06日提交中国专利局、 申请号为 201310339627.5、发明名称为 "一种终端设备与网关设备间的互联方法和装 置" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域 本发明涉及通信领域, 尤其涉及一种终端设备与网关设备间的互联方 法和装置。
背景技术 未来家庭解决方案呈现智能化、 多元化的趋势, 从而家庭终端之间互 联、 关联方式也呈现多样的方式。 例如, 目前家庭内部的互联方式按照物 理介质的方式可分为无线互联方式和有线互联方式, 其中室内无线互联方 式有无线保真(Wifi, wireless fidelity ), Zigbee、 Zwave等; 室内有线互联 方式有电力线 (Homplug)、 同轴线 (Moca)、 电话线 (HPNA)、 电力线 /同轴 线 /电话线(G.hn)等。
由于不同家庭内部的布线及组网方式不同, 造成家庭内部使用的终端 种类不同, 各种终端互联时使用的方式也不统一, 影响最终消费者的体验 及易用性。
例如, 如果家庭内部使用的各种终端如手机、 机顶盒、 平板电脑等通 过路由器连接互联网 (Internet ), 手机、 机顶盒、 平板电脑等第一次与路由 器互联时, 均需要用户手动打开配置页面, 输入路由器的登录信息, 之后 才能实现手机、 机顶盒、 平板电脑等与路由器的互联。 这一互联过程需要 用户手动进行登录操作, 互联处理时间长且过程复杂。
发明内容 提供了一种终端设备与网关设备间的互联方法和装置, 互联处理时间 相对较短且过程相对简单。
第一方面, 提供一种终端设备与网关设备间的互联方法, 所述方法包 括:
所述终端设备检测自身与所述网关设备之间满足第一连接条件、 且是 所述终端设备自身与所述网关设备之间的首次连接时, 从所述网关设备获 取所述网关设备中预设的第一公共 SSID;
终端设备对获取到的所述第一公共 SSID验证通过时, 将终端设备中预 设的第二公共 SSID发送给所述网关设备, 以便所述网关设备对所述第二公 共 SSID验证通过时, 实现终端设备与网关设备之间基于公共 SSID连接的 建立。
结合上述第一方面, 在第一方面第一种可能的实现方式中, 所述终端 设备检测自身与所述网关设备之间满足第一连接条件包括:
所述终端设备检测自身与所述网关设备之间的预设物理线缆已连接; 或者,
所述终端设备检测自身与所述网关设备之间的无线信号强度满足预设 强度阔值。
结合上述第一方面, 和 /或第一方面第一种可能的实现方式, 在第一方 面第二种可能的实现方式中, 所述方法进一步包括:
所述终端设备接收并存储所述网关设备发送的所述网关设备的私有 SSID及密钥; 所述私有 SSID及密钥在网关设备对所述第二公共 SSID验证 通过后发送;
所述终端设备断开与所述网关设备之间基于公共 SSID的连接, 向所述 网关设备发送所述网关设备的私有 SSID及密钥, 以便网关设备对所述私有 SSID及密钥验证通过时, 实现所述终端设备与所述网关设备之间基于所述 私有 SSID连接的建立。
结合第一方面第二种可能的实现方式, 在第一方面第三种可能的实现 方式中, 所述方法进一步包括:
所述终端设备检测自身与所述网关设备之间满足第二连接条件、 且不 是终端设备自身与所述网关设备之间的首次连接时, 获取所述网关设备的 私有 SSID及密码;
终端设备向所述网关设备发送所述网关设备的私有 SSID及密钥, 以便 网关设备对所述私有 SSID及密钥验证通过时, 实现终端设备与网关设备之 间基于所述私有 SSID连接的建立。
结合上述第一方面第三种可能的实现方式, 在第一方面第四种可能的 实现方式中, 所述终端设备检测自身与所述网关设备之间满足第二连接条 件包括:
所述终端设备检测自身与所述网关设备之间的预设物理线缆已连接; 或者,
所述终端设备检测到所述网关设备的无线信号。
第二方面, 提供一种终端设备与网关设备间的互联方法, 所述方法包 括:
所述终端设备向所述网关设备获取公共 SSID时, 网关设备向终端设备 发送本地预设的第一公共 SS ID;
所述网关设备接收所述终端设备对所述第一公共 SSID验证通过后发送 的终端设备中预设的第二公共 SSID;
如果所述网关设备对所述第二公共 SSID验证通过, 则实现终端设备与 网关设备之间基于公共 SSID连接的建立。
结合上述第二方面, 在第二方面第一种可能的实现方式中, 所述方法 进一步包括:
所述网关设备对所述第二公共 SSID验证通过后, 向所述终端设备发送 所述网关设备的私有 SSID及密钥;
所述网关设备断开与所述终端设备之间基于公共 SSID的连接; 所述网关设备接收所述终端设备发送的私有 SSID及密钥;
如果所述网关设备对接收到的所述私有 SSID及密钥验证通过, 则实现 网关设备与终端设备之间基于所述私有 SSID连接的建立。
结合第二方面第一种可能的实现方式, 在第二方面第二种可能的实现 方式中, 所述方法进一步包括:
所述终端设备检测自身与所述网关设备之间满足第二连接条件、 且不 是自身与所述网关设备之间的首次连接时, 所述网关设备接收终端设备发 送的私有 SSID及密钥;
如果所述网关设备对接收到的所述私有 SSID及密钥验证通过, 则实现 所述网关设备与所述终端设备之间基于所述私有 SSID连接的建立。
第三方面, 提供一种终端设备与网关设备间的互联装置, 所述装置包 括:
第一获取单元, 用于所述第一检测单元检测终端设备与所述网关设备 之间满足第一连接条件、 且是所述终端设备自身与所述网关设备之间的首 次连接时, 从所述网关设备获取所述网关设备中预设的第一公共 SS ID;
第一验证单元, 用于对所述第一获取单元获取的所述第一公共 SSID进 行验证;
第一发送单元, 用于所述第一验证单元对所述第一公共 SSID验证通过 时, 将终端设备中预设的第二公共 SSID发送给所述网关设备, 以便所述网 关设备对所述第二公共 SSID验证通过时, 实现终端设备与网关设备之间基 于公共 SSID连接的建立。
结合上述第三方面, 在第三方面第一种可能的实现方式中, 第一检测 单元具体用于: 或者, 强度阔值。
结合上述第三方面, 和 /或第三方面第一种可能的实现方式, 在第三方 面第二种可能的实现方式中, 所述装置进一步包括:
SSID及密钥; 所述私有 SSID及密钥在网关设备对所述第二公共 SSID验证 通过后发送;
第一连接断开单元, 用于处理单元接收到私有 SSID及密钥后, 断开所 述终端设备与所述网关设备之间基于公共 SSID的连接;
所述第一发送单元还用于: 向所述网关设备发送所述网关设备的私有 SSID及密钥, 以便网关设备对所述私有 SSID及密钥验证通过时, 实现所述 终端设备与所述网关设备之间基于所述私有 SSID连接的建立。
结合第三方面第二种可能的实现方式, 在第三方面第三种可能的实现 方式中, 所述装置进一步包括: 第二连接条件、 且是否是终端设备自身与所述网关设备之间的首次连接; 第二获取单元, 用于第二检测单元检测所述终端设备与所述网关设备 之间满足第二连接条件、 且不是终端设备自身与所述网关设备之间的首次 连接时, 获取所述网关设备的私有 SSID及密码;
第一发送单元还用于: 发送所述网关设备的私有 SSID及密钥, 以便网 关设备对所述私有 SS ID及密钥验证通过时, 实现终端设备与网关设备之间 基于所述私有 SSID连接的建立。
结合第三方面第三种可能的实现方式, 在第三方面第四种可能的实现 方式中, 第二检测单元具体用于: 或者,
检测所述终端设备是否接收到所述网关设备的无线信号。
第四方面, 提供一种终端设备与网关设备间的互联装置, 所述装置包 括:
第二发送单元, 用于所述终端设备向所述网关设备获取公共 SSID时, 向终端设备发送网关设备中预设的第一公共 SSID;
接收单元, 用于接收所述终端设备对第二发送单元发送的所述第一公 共 SSID验证通过后发送的终端设备中预设的第二公共 SSID;
第二验证单元,用于对所述接收单元接收到的第二公共 SSID进行验证, 如果所述网关设备对所述第二公共 SSID验证通过, 则实现终端设备与网关 设备之间基于公共 SS ID连接的建立。
结合第四方面, 在第四方面第一种可能的实现方式中, 所述装置进一 步包括:
第二发送单元还用于: 所述第二验证单元对所述第二公共 SS ID验证通 过后, 向所述终端设备发送所述网关设备的私有 SSID及密钥;
第二连接断开单元, 用于所述第二发送单元发送所述私有 SS ID及密钥 后, 断开所述网关设备与所述终端设备之间基于公共 SSID的连接;
所述接收单元还用于: 第二连接断开单元断开所述基于公共 SSID的连 接后, 接收所述终端设备发送的私有 SS ID及密钥;
第三验证单元, 用于对接收到的所述私有 SSID及密钥进行验证, 如果 验证通过,则实现网关设备与终端设备之间基于所述私有 SSID连接的建立。
结合第四方面第一种可能的实现方式, 在第四方面第二种可能的实现 方式中, 所述接收单元还用于: 所述终端设备检测自身与所述网关设备之 间满足第二连接条件、 且不是自身与所述网关设备之间的首次连接时, 接 收终端设备发送的私有 SSID及密钥;
第三验证单元还用于: 对接收到的所述私有 SSID及密钥进行验证, 如 果验证通过, 则实现所述网关设备与所述终端设备之间基于所述私有 SSID 连接的建立。
其中, 在终端设备中预设第二公共 SSID, 在网关设备中预设第一公共 SSID; 所述终端设备检测自身与所述网关设备之间满足第一连接条件、 且 是所述终端设备自身与所述网关设备之间的首次连接时, 从所述网关设备 获取所述网关设备中预设的第一公共 SS ID; 终端设备对获取到的所述第一 公共 SSID验证通过时, 将终端设备中预设的第二公共 SSID发送给所述网 关设备, 以便所述网关设备对所述第二公共 SSID验证通过时, 实现终端设 备与网关设备之间基于公共 SSID连接的建立。 整个互联过程中无需用户手 动触发登录, 也无需用户手动输入登录信息, 缩短了终端设备与网关设备 间的互联处理时间; 且, 互联过程无需用户参与, 互联过程相对简单。
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附 图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1 A为本发明实施例应用场景示例图;
图 1为本发明终端设备与网关设备间的互联方法第一实施例示意图; 图 2为本发明终端设备与网关设备间的互联方法第二实施例示意图; 图 3为本发明终端设备与网关设备间的互联方法第三实施例示意图; 图 4为本发明终端设备与网关设备间的互联方法第四实施例示意图; 图 5为本发明终端设备与网关设备间的互联装置第一实施例示意图; 图 6为本发明终端设备与网关设备间的互联装置第二实施例示意图; 图 7为本发明终端设备结构示意图;
图 8为本发明网关设备结构示意图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整的描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有付出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
的一种应用场景举例。 其中, 多个终端设备 110分别与网关设备 120实现互 联, 通过网关设备 120实现 Internet网络的访问。 所述终端设备 110可以为: 手机、 个人计算机(PC, personal computer ) 、 平板电脑、 机顶盒等智能设 备。 所述网关设备可以为: 无线访问节点(AP, Access Point )、 路由器等。 参见图 1 , 为本发明终端设备与网关设备间的互联方法第一实施例示意 图,所述方法中,在终端设备中预先设置第二公共服务集标识( SSID, Service Set Identifier ) , 在网关设备中预先设置第一公共 SSID。 其中, 公共 SSID是 与设备的私有 SSID相对应的概念。 其中, 所述第二公共 SSID和第一公共 SSID都是公共 SSID, 可以是相同或不同的公共 SSID , 这里的第一、 第二仅 用于区分该公共 SSID是设置于终端设备或网关设备中。 所述方法进一步包括: 步骤 101 : 所述终端设备检测自身与所述网关设备之间满足第一连接条 件、 且所述终端设备自身与所述网关设备之间的首次连接时, 从所述网关 设备获取所述网关设备中预设的第一公共 SSID; 步骤 102: 终端设备对获取到的所述第一公共 SSID验证通过时, 将终端 设备中预设的第二公共 SSID发送给所述网关设备, 以便所述网关设备对所 述第二公共 SSID验证通过时, 实现终端设备与网关设备之间基于公共 SSID 连接的建立。 本实施例中, 所述终端设备检测自身与所述网关设备之间满足第一连 接条件、 且所述终端设备自身与所述网关设备之间的首次连接时, 从所述 网关设备获取所述网关设备中预设的第一公共 SSID; 终端设备对获取到的 所述第一公共 SSID验证通过时, 将终端设备中预设的第二公共 SSID发送给 所述网关设备, 以便所述网关设备对所述第二公共 SSID验证通过时, 实现 终端设备与网关设备之间基于公共 SSID连接的建立, 整个互联过程中无需 用户手动触发登录, 也无需用户手动输入登录信息, 缩短了登录处理时间; 且, 互联过程无需用户参与, 互联过程相对简单。 参见图 2 , 为本发明终端设备与网关设备间的互联方法第二实施例示意 图, 所述方法中, 在终端设备中预设第二公共 SSID, 在网关设备中预设第 一公共 SSID; 所述方法进一步包括:
步骤 201 : 所述终端设备向所述网关设备获取公共 SSID时, 网关设备向 终端设备发送本地预设的第一公共 S SID;
步骤 202:所述网关设备接收所述终端设备对所述第一公共 SSID验证通 过后发送的终端设备中预设的第二公共 SSID;
步骤 203: 如果所述网关设备对所述第二公共 SSID验证通过, 则实现终 端设备与网关设备之间基于公共 SSID连接的建立。
本实施例中, 终端设备向网关设备获取公共 SSID时, 网关设备向终端 设备发送本地预设的第一公共 SSID; 网关设备接收终端设备对所述第一公 共 SSID验证通过后发送的第二公共 SSID; 如果网关设备对所述第二公共 SSID验证通过,则实现终端设备与网关设备之间基于公共 SSID连接的建立, 整个互联过程中无需用户手动触发登录, 也无需用户手动输入登录信息, 缩短了终端设备与网关设备间的互联处理时间; 且, 互联过程无需用户参 与, 由终端设备与网关设备间自动完成, 互联过程相对简单。
参见图 3 , 为本发明终端设备与网关设备间的互联方法第二实施例示意 图, 所述方法中, 在终端设备中预设第二公共 SSID, 在网关设备中预设第 所述方法包括:
步骤 301 : 终端设备检测自身与网关设备之间满足第一连接条件、 且自 身与所述网关设备之间的首次连接时, 向网关设备发送公共 SSID连接请求 消息; 所述公共 SSID连接请求消息用于向网关设备请求网关设备中预设的公 共 SSID。 其中, 终端设备检测自身与网关设备之间满足第一连接条件可以包括: 终端设备检测自身与网关设备之间的预设物理线缆已连接; 或者, 终端设 备检测自身与网关设备之间的无线信号强度满足预设强度阔值。
所述物理线缆可以包括: 电力线、 同轴线、 电话线、 网线等。 其中终端设备检测的所述无线信号依照终端设备与网关设备之间所使 用通信技术的不同而不同。 其中, 终端设备检测是否是自身与所述网关设备之间的首次连接的方 法包括: 终端设备获取网关设备的设备标识; 终端设备查找本地是否存储有网关设备的设备标识对应的私有 SSID和 密钥;
如果本地未存储网关设备的设备标识对应的私有 SSID和密钥, 则终端 设备确定自身与所述网关设备之间的首次连接;
如果本地存储有网关设备的设备标识对应的私有 SSID和密钥, 则终端 设备确定不是自身与所述网关设备之间的首次连接。
其中, 网关设备的设备标识可以为网关设备的 SSID , 网关设备的 SSID 用于唯一标识该网关设备。 其中, 所述网关设备的设备标识可以由网关设备发送给终端设备。 步骤 302: 网关设备接收所述公共 SSID连接请求消息, 将本地预设的第 一公共 SSID添加在公共 SSID连接应答消息中, 将所述公共 SSID连接应答消 息发送给所述终端设备。 其中, 在网关设备中预设的第一公共 S SID可以在网关设备出厂时设置 于网关设备中, 或者也可以在网关设备出厂后人为设置于所述网关设备中, 这里并不限制。 步骤 303 : 终端设备接收所述公共 SSID连接应答消息,从所述公共 SSID 连接应答消息中获取所述第一公共 SSID , 对所述第一公共 SSID进行验证, 验证通过时, 将终端设备本地预设的第二公共 SSID添加在自动配置请求消 息, 将所述自动配置请求消息发送给网关设备。 其中, 终端设备对所述第一公共 SSID验证不通过时, 终端设备可以直 接中断与所述网关设备的互联, 或者也可以向所述网关设备发送验证失败 消息后中断与所述网关设备的互联等。
其中, 在终端设备中预设的第二公共 SSID可以在终端设备出厂时设置 于终端设备中, 或者也可以在终端设备出厂后再人为设置于终端设备中, 这里并不限制。 终端设备具体如何对所述网关设备中预设的公共 SSID进行验证请参见 步骤 304中的描述, 这里不赘述。 步骤 304: 网关设备接收所述自动配置请求消息, 从所述自动配置请求 消息中获取所述第二公共 SSID, 对所述第二公共 SSID进行验证, 验证通过 时, 确定自身的私有 SSID和密钥, 将所述私有 SSID和密钥添加在验证通过 应答消息中, 将所述验证通过应答消息发送给终端设备。
其中, 网关设备确定自身的私有 SSID和密钥可以包括: 获取网关设备 本地预设的所述网关设备的私有 SSID和密钥; 或者, 生成网关设备的私有 SSID和密钥, 将生成的私有 SSID和密钥作为所述 网关设备的私有 SSID和密钥。 其中, 所述第二公共 SSID和第一公共 SSID可以相同或不同, 其实现方 式可以相同或不同; 网关设备对第二公共 SSID进行验证的方法与终端设备 对第一公共 SSID进行验证的方法也可以相同或不同。 具体的验证方法这里 并不限制。
例如假设第二公共 SSID和第一公共 SSID相同, 则网关设备对第二公共 SSID进行验证时, 可以直接将第二公共 SSID与本地预设的第一公共 SSID比 对, 如果比对结果是相同, 则验证通过, 如果比对结果是不相同, 则验证 不通过。 同样的, 终端设备对第一公共 SSID进行验证时, 可以直接将所述 第一公共 SSID与本地预设的第二公共 SSID进行比对,如果比对结果是相同, 则验证通过, 如果比对结果是不相同, 则验证不通过。
步骤 305: 终端设备接收所述验证通过应答消息, 从所述验证通过应答 消息中获取并存储所述网关设备的私有 SSID和密钥。 终端设备接收到所述验证通过应答消息, 则表明终端设备与网关设备 之间基于公共 SSID的连接建立成功。 其中, 结合步骤 301 , 所述终端设备在存储所述网关设备的私有 SSID和 密钥时, 可以将所述私有 SSID和密钥与网关设备的 SSID对应存储。
步骤 306: 终端设备向所述网关设备发送自动配置完成应答消息, 以便 通知网关设备已完成对私有 S SID和密钥的获取和存储。 步骤 307: 网关设备和终端设备断开两者之间基于公共 SSID的连接。 具体的, 网关设备和终端设备可以通过以下过程断开两者之间基于公 共 SSID的连接: 网关设备向终端设备发送基于公共 SSID的连接断开请求消息, 以向终 端设备请求断开基于公共 SSID的连接; 终端设备向网关设备发送基于公共 SSID的连接断开应答消息。 步骤 308: 终端设备向网关设备发送私有 SSID连接请求消息, 所述私有 SSID连接请求消息中携带所述网关设备的私有 SSID和密钥。 步骤 309: 网关设备接收所述私有 SSID连接请求消息,从所述私有 SSID 连接请求消息中获取私有 SSID和密钥, 对所述私有 SSID和密钥进行验证, 验证通过时, 向所述终端设备发送私有 SSID连接应答消息, 实现所述终端 设备与所述网关设备之间基于所述私有 SSID连接的建立。 其中, 网关设备对接收到的私有 SSID和密钥进行验证时, 可以直接将 接收到的所述私有 SSID和密钥与自身的私有 SSID和密钥进行比对, 如果比 对结果相同, 则验证通过, 如果比对结果是不相同, 则验证不通过。 本实施例中, 终端设备与网关设备之间首次互联时, 根据预设的第二 公共 SSID和第一公共 SSID实现终端设备与网关设备之间基于公共 SSID连 接的建立, 实现终端设备与网关设备之间的互联。 这一互联过程中无需用 户参与, 直接由终端设备和网关设备之间进行通信和处理, 缩短了终端设 备与网关设备间的互联处理时间, 且, 互联过程相对简单。 之后, 网关设备将自身的私有 SSID和密钥下发至终端设备, 网关设备 和终端设备之间断开基于公共 SSID的连接, 建立基于私有 SSID的连接, 从 而保证了终端设备和网关设备互联的安全性。
当终端设备与网关设备断开图 3中首次建立的基于所述私有 SSID连接 后, 如果终端设备需要与网关设备再进行互联, 互联方法参见图 4 , 所述方 法包括: 步骤 401: 所述终端设备检测自身与网关设备之间满足第二连接条件、 且不是终端设备自身与所述网关设备之间的首次连接时, 获取所述网关设 备的私有 SSID及密码; 其中, 所述终端设备检测自身与所述网关设备之间满足第二连接条件 可以包括:
所述终端设备检测自身与所述网关设备之间的预设物理线缆已连接; 或者,
所述终端设备检测到所述网关设备的无线信号。 当所述终端设备检测自身与网关设备之间不满足第二连接条件时, 表 明终端设备与网关设备之间不具备互联条件, 则所述终端设备可以继续进 行检测, 直到满足所述第二连接条件为止。
终端设备检测是否是自身与所述网关设备之间的首次连接的方法请参 见步骤 301中的对应描述, 这里不赘述。 步骤 402: 终端设备向网关设备发送私有 SSID连接请求消息, 所述私有 SSID连接请求消息中携带所述网关设备的私有 SSID和密钥。
步骤 403: 网关设备接收所述私有 SSID连接请求消息,从所述私有 SSID 连接请求消息中获取私有 SSID和密钥, 对所述私有 SSID和密钥进行验证, 验证通过时, 向所述终端设备发送私有 SSID连接应答消息, 实现所述终端 设备与所述网关设备之间基于所述私有 SSID连接的建立。 本实施例中, 终端设备与网关设备之间非首次互联时, 根据网关设备 下发给终端设备的私有 SSID和密钥实现终端设备与网关设备之间基于私有 SSID和密钥的互联。 这一互联过程中无需用户参与, 直接由终端设备和网 关设备之间进行通信和处理, 缩短了终端设备与网关设备间的互联处理时 间, 且, 互联过程相对简单。
参见图 5 , 为本发明终端设备和网关设备之间的互联装置第一实施例示 意图, 所述装置可以设置于终端设备中, 所述装置 500包括: 第一检测单元 510 , 用于检测终端设备与所述网关设备之间是否满足第
第一获取单元 520, 用于所述第一检测单元 510检测终端设备与所述网 关设备之间满足第一连接条件、 且是所述终端设备自身与所述网关设备之 间的首次连接时, 从所述网关设备获取所述网关设备中预设的第一公共 SSID; 第一验证单元 530, 用于对所述第一获取单元 520获取的所述第一公共 SSID进行验证;
第一发送单元 540, 用于所述第一验证单元 530对所述第一公共 SSID验 证通过时, 将终端设备中预设的第二公共 SSID发送给所述网关设备, 以便 所述网关设备对所述第二公共 SSID验证通过时, 实现终端设备与网关设备 之间基于公共 SSID连接的建立。
优选地, 第一检测单元 510具体可以用于:
或者, 信号强度是否满足预设 强度阔值,
优选地, 所述装置 500还可以包括: 处理单元, 用于接收并存储所述网关设备发送的所述网关设备的私有 SSID及密钥; 所述私有 SSID及密钥在网关设备对所述第二公共 SSID验证通 过后发送;
第一连接断开单元, 用于处理单元接收到私有 SSID及密钥后, 断开所 述终端设备与所述网关设备之间基于公共 SSID的连接; 所述第一发送单元还可以用于: 向所述网关设备发送所述网关设备的 私有 SSID及密钥, 以便网关设备对所述私有 SSID及密钥验证通过时, 实现 所述终端设备与所述网关设备之间基于所述私有 SSID连接的建立。
优选地, 所述装置 500还可以包括:
第二连接条件、 且是否是终端设备自身与所述网关设备之间的首次连接; 第二获取单元, 用于第二检测单元检测所述终端设备与所述网关设备 之间满足第二连接条件、 且不是终端设备自身与所述网关设备之间的首次 连接时, 获取所述网关设备的私有 SSID及密码; 第一发送单元还可以用于: 发送所述网关设备的私有 SSID及密钥, 以 便网关设备对所述私有 SSID及密钥验证通过时, 实现终端设备与网关设备 之间基于所述私有 SSID连接的建立。
优选地, 第二检测单元具体可以用于:
或者,
检测所述终端设备是否接收到所述网关设备的无线信号。
本实施例中 , 检测所述终端设备与所述网关设备之间满足第一连接条 件、 且是所述终端设备自身与所述网关设备之间的首次连接时, 从所述网 关设备获取所述网关设备中预设的第一公共 SSID; 对获取到的所述第一公 共 SSID验证通过时, 将终端设备中预设的第二公共 SSID发送给所述网关设 备, 以便所述网关设备对所述第二公共 SSID验证通过时, 实现终端设备与 网关设备之间基于公共 SSID连接的建立, 整个互联过程中无需用户手动触 发登录, 也无需用户手动输入登录信息, 缩短了登录处理时间; 且, 互联 过程无需用户参与, 互联过程相对简单。 参见图 6 , 为本发明终端设备和网关设备之间的互联装置第二实施例示 意图, 所述装置可以设置于网关设备中, 所述装置 600包括:
时, 向终端设备发送网关设备中预设的第一公共 SSID;
接收单元 620, 用于接收所述终端设备对第二发送单元 610发送的所述 第一公共 SSID验证通过后发送的终端设备中预设的第二公共 SSID;
第二验证单元 630, 用于对所述接收单元 620接收到的第二公共 SSID进 行验证, 如果所述网关设备对所述第二公共 SSID验证通过, 则实现终端设 备与网关设备之间基于公共 SSID连接的建立。
优选地, 所述装置还可以包括:
第二发送单元 610还可以用于:所述第二验证单元对所述第二公共 SSID 验证通过后, 向所述终端设备发送所述网关设备的私有 SSID及密钥; 第二连接断开单元, 用于所述第二发送单元发送所述私有 SSID及密钥 后, 断开所述网关设备与所述终端设备之间基于公共 SSID的连接;
所述接收单元 620还可以用于: 第二连接断开单元断开所述基于公共 SSID的连接后, 接收所述终端设备发送的私有 SSID及密钥;
第三验证单元, 用于对接收到的所述私有 SSID及密钥进行验证, 如果 验证通过,则实现网关设备与终端设备之间基于所述私有 SSID连接的建立。
优选地, 所述接收单元 620还可以用于: 所述终端设备检测自身与所述 网关设备之间满足第二连接条件、 且不是自身与所述网关设备之间的首次 连接时, 接收终端设备发送的私有 SSID及密钥; 第三验证单元还可以用于:对接收到的所述私有 SSID及密钥进行验证, 如果验证通过, 则实现所述网关设备与所述终端设备之间基于所述私有 SSID连接的建立。 本实施例中, 终端设备向网关设备获取公共 SSID时, 向终端设备发送 本地预设的第一公共 SSID; 接收终端设备对所述第一公共 SSID验证通过后 发送的第二公共 SSID; 如果网关设备对所述第二公共 SSID验证通过, 则实 现终端设备与网关设备之间基于公共 SSID连接的建立, 整个互联过程中无 需用户手动触发登录, 也无需用户手动输入登录信息, 缩短了终端设备与 网关设备间的互联处理时间; 且, 互联过程无需用户参与, 由终端设备与 网关设备间自动完成, 互联过程相对简单。
参见图 7 , 为本发明实施例提供的一种第一入口节点的硬件结构示意 图, 所述微基站包括: 第一处理器 710、 第一存储器 720、 第一收发器 730和 第一总线 740; 第一处理器 710、 第一存储器 720、 第一收发器 730通过第一总线 740相 互联接; 第一总线 740可以是 ISA总线、 PCI总线或 EISA总线等。 所述总线可 以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 7中仅用一条粗 线表示, 但并不表示仅有一根总线或一种类型的总线。 第一存储器 720, 用于存放程序。 具体地, 程序可以包括程序代码, 所 述程序代码包括计算机操作指令。 第一存储器 720可能包含高速 RAM存储 器, 也可能进一步包括非易失性存储器 ( non-volatile memory ) , 例如至少 一个磁盘存储器。 所述第一处理器 710执行所述程序代码, 用于检测终端设备与所述网关 设备之间是否满足第一连接条件、 且是否是所述终端设备自身与所述网关 设备之间的首次连接;还用于对第一收发器 730获取到的所述第一公共 SSID 进行验证验证。 第一收发器 730用于连接其他设备, 并与其他设备进行通信。 第一收发 器 730用于: 所述第一处理器 710检测终端设备与所述网关设备之间满足第 一连接条件、 且是所述终端设备自身与所述网关设备之间的首次连接时, 从所述网关设备获取所述网关设备中预设的第一公共 SSID; 所述第一处理 器 710对获取到的所述第一公共 SSID验证通过时,将终端设备中预设的第二 公共 SSID发送给所述网关设备, 以便所述网关设备对所述第二公共 SSID验 证通过时, 实现终端设备与网关设备之间基于公共 SSID连接的建立。 优选地, 所述第一处理器 710具体可以用于: 检测所述终端设备与所述 网关设备之间的预设物理线缆是否已连接; 或者, 检测所述终端设备与所 述网关设备之间的无线信号强度是否满足预设强度阔值。
优选地, 第一收发器 730还可以用于: 接收所述网关设备发送的所述网 关设备的私有 SSID及密钥; 所述私有 SSID及密钥在网关设备对所述第二公 共 SSID验证通过后发送; 断开与所述网关设备之间基于公共 SSID的连接, 向所述网关设备发送所述网关设备的私有 SSID及密钥, 以便网关设备对所 述私有 SSID及密钥验证通过时, 实现所述终端设备与所述网关设备之间基 于所述私有 SSID连接的建立; 第一处理器 710还可以用于: 存储所述网关设备发送的所述网关设备的 私有 SSID及密钥。
优选地, 所述第一处理器 710还可以用于: 检测终端设备与所述网关设 备之间是否满足第二连接条件、 且是否是终端设备自身与所述网关设备之 间的首次连接; 第一收发器 730还可以用于: 所述第一处理器 710检测终端设备与所述 网关设备之间满足第二连接条件、 且不是终端设备自身与所述网关设备之 间的首次连接时, 获取所述网关设备的私有 SSID及密码; 向所述网关设备 发送所述网关设备的私有 SSID及密钥, 以便网关设备对所述私有 SSID及密 钥验证通过时, 实现终端设备与网关设备之间基于所述私有 SSID连接的建 立。
优选地, 所述第一处理器 710具体可以用于: 检测所述终端设备与所述 网关设备之间的预设物理线缆是否已连接; 或者, 检测所述终端设备是否 接受到所述网关设备的无线信号。 本实施例中, 所述终端设备检测自身与所述网关设备之间满足第一连 接条件、 且是所述终端设备自身与所述网关设备之间的首次连接时, 从所 述网关设备获取所述网关设备中预设的第一公共 SSID; 终端设备对获取到 的所述第一公共 SSID验证通过时, 将终端设备中预设的第二公共 SSID发送 给所述网关设备, 以便所述网关设备对所述第二公共 SSID验证通过时, 实 现终端设备与网关设备之间基于公共 SSID连接的建立, 整个互联过程中无 需用户手动触发登录, 也无需用户手动输入登录信息, 缩短了登录处理时 间; 且, 互联过程无需用户参与, 互联过程相对简单。
参见图 8 , 为本发明实施例提供的一种第一入口节点的硬件结构示意 图, 所述微基站包括: 第二处理器 810、 第二存储器 820、 第二收发器 830和 第二总线 840; 第二处理器 810、 第二存储器 820、 第二收发器 830通过第二总线 840相 互联接; 第二总线 840可以是 ISA总线、 PCI总线或 EISA总线等。 所述总线可 以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 8中仅用一条粗 线表示, 但并不表示仅有一根总线或一种类型的总线。
第二存储器 820, 用于存放程序。 具体地, 程序可以包括程序代码, 所 述程序代码包括计算机操作指令。 第二存储器 820可能包含高速 RAM存储 器, 也可能进一步包括非易失性存储器 ( non-volatile memory ) , 例如至少 一个磁盘存储器。
第二收发器 830用于连接其他设备, 并与其他设备进行通信。 第二收发 器 830用于: 所述终端设备向所述网关设备获取公共 SSID时, 向终端设备发 送本地预设的第一公共 SSID; 接收所述终端设备对所述第一公共 SSID验证 通过后发送的终端设备中预设的第二公共 SSID; 如果所述第二处理器 810 对所述第二公共 SSID验证通过, 则实现终端设备与网关设备之间基于公共 SSID连接的建立。
所述第二处理器 810执行所述程序代码, 用于对第二收发器接收到的第 二公共 SSID进行验证。
优选地,第二收发器 830还可以用于:对所述第二公共 SSID验证通过后, 向所述终端设备发送所述网关设备的私有 SSID及密钥; 断开与所述终端设 备之间基于公共 SSID的连接; 接收所述终端设备发送的私有 SSID及密钥; 如果所述第二处理器 810对所述私有 SSID及密钥验证通过,则实现网关设备 与终端设备之间基于所述私有 SSID连接的建立;
所述第二处理器 810还可以用于: 对所述私有 SSID及密钥进行验证。 优选地, 所述第二收发器 830还可以用于: 所述终端设备检测自身与所 述网关设备之间满足第二连接条件、 且不是自身与所述网关设备之间的首 次连接时, 接收终端设备发送的私有 SSID及密钥; 如果所述第二处理器 810 对所述私有 SSID及密钥验证通过, 则实现所述网关设备与所述终端设备之 间基于所述私有 SSID连接的建立;
所述第二处理器 810还可以用于: 对所述私有 SSID及密钥进行验证。 本实施例中, 终端设备向网关设备获取公共 SSID时, 网关设备向终端 设备发送本地预设的第一公共 SSID; 网关设备接收终端设备对所述第一公 共 SSID验证通过后发送的第二公共 SSID; 如果网关设备对所述第二公共 SSID验证通过,则实现终端设备与网关设备之间基于公共 SSID连接的建立, 整个互联过程中无需用户手动触发登录, 也无需用户手动输入登录信息, 缩短了终端设备与网关设备间的互联处理时间; 且, 互联过程无需用户参 与, 由终端设备与网关设备间自动完成, 互联过程相对简单。
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软 件加必需的通用硬件平台的方式来实现。 基于这样的理解, 本发明实施例 中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的 形式体现出来, 该计算机软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例或者实施例的某些 部分所述的方法。 本说明书中的各个实施例均釆用递进的方式描述, 各个实施例之间相 同相似的部分互相参见即可, 每个实施例重点说明的都是与其他实施例的 不同之处。 尤其, 对于***实施例而言, 由于其基本相似于方法实施例, 所以描述的比较简单, 相关之处参见方法实施例的部分说明即可。 以上所述的本发明实施方式, 并不构成对本发明保护范围的限定。 任 何在本发明的精神和原则之内所作的修改、 等同替换和改进等, 均应包含 在本发明的保护范围之内。

Claims

权利要求
1、 一种终端设备与网关设备间的互联方法, 其特征在于, 所述方法包 括:
所述终端设备检测自身与所述网关设备之间满足第一连接条件、 且是 所述终端设备自身与所述网关设备之间的首次连接时, 从所述网关设备获 取所述网关设备中预设的第一公共 SSID;
终端设备对获取到的所述第一公共 SSID验证通过时,将终端设备中预 设的第二公共 SSID发送给所述网关设备,以便所述网关设备对所述第二公 共 SSID验证通过时, 实现终端设备与网关设备之间基于公共 SSID连接的 建立。
2、 根据权利要求 1所述的方法, 其特征在于, 所述终端设备检测自身 与所述网关设备之间满足第一连接条件包括:
所述终端设备检测自身与所述网关设备之间的预设物理线缆已连接; 或者,
所述终端设备检测自身与所述网关设备之间的无线信号强度满足预设 强度阔值。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法进一步包 括:
所述终端设备接收并存储所述网关设备发送的所述网关设备的私有 SSID及密钥;所述私有 SSID及密钥在网关设备对所述第二公共 SSID验证 通过后发送;
所述终端设备断开与所述网关设备之间基于公共 SSID的连接,向所述 网关设备发送所述网关设备的私有 SSID及密钥,以便网关设备对所述私有 SSID及密钥验证通过时, 实现所述终端设备与所述网关设备之间基于所述 私有 SSID连接的建立。
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法进一步包括: 所述终端设备检测自身与所述网关设备之间满足第二连接条件、 且不 是终端设备自身与所述网关设备之间的首次连接时, 获取所述网关设备的 私有 SSID及密码;
终端设备向所述网关设备发送所述网关设备的私有 SSID及密钥,以便 网关设备对所述私有 SSID及密钥验证通过时, 实现终端设备与网关设备之 间基于所述私有 SSID连接的建立。
5、 根据权利要求 4所述的方法, 其特征在于, 所述终端设备检测自身 与所述网关设备之间满足第二连接条件包括:
所述终端设备检测自身与所述网关设备之间的预设物理线缆已连接; 或者,
所述终端设备检测到所述网关设备的无线信号。
6、 一种终端设备与网关设备间的互联方法, 其特征在于, 所述方法包 括:
所述终端设备向所述网关设备获取公共 SSID时, 网关设备向终端设备 发送本地预设的第一公共 SSID;
所述网关设备接收所述终端设备对所述第一公共 SSID验证通过后发 送的终端设备中预设的第二公共 SSID;
如果所述网关设备对所述第二公共 SSID验证通过,则实现终端设备与 网关设备之间基于公共 SSID连接的建立。
7、 根据权利要求 6所述的方法, 其特征在于, 所述方法进一步包括: 所述网关设备对所述第二公共 SSID验证通过后,向所述终端设备发送 所述网关设备的私有 SSID及密钥;
所述网关设备断开与所述终端设备之间基于公共 SSID的连接; 所述网关设备接收所述终端设备发送的私有 SSID及密钥;
如果所述网关设备对接收到的所述私有 SSID及密钥验证通过,则实现 网关设备与终端设备之间基于所述私有 SSID连接的建立。
8、 根据权利要求 7所述的方法, 其特征在于, 所述方法进一步包括: 所述终端设备检测自身与所述网关设备之间满足第二连接条件、 且不 是自身与所述网关设备之间的首次连接时, 所述网关设备接收终端设备发 送的私有 SSID及密钥;
如果所述网关设备对接收到的所述私有 SSID及密钥验证通过,则实现 所述网关设备与所述终端设备之间基于所述私有 SSID连接的建立。
9、 一种终端设备与网关设备间的互联装置, 其特征在于, 所述装置包 第一检测单元, 用于检测终端设备与所述网关设备之间是否满足第一 第一获取单元, 用于所述第一检测单元检测终端设备与所述网关设备 之间满足第一连接条件、 且是所述终端设备自身与所述网关设备之间的首 次连接时, 从所述网关设备获取所述网关设备中预设的第一公共 SSID;
第一验证单元,用于对所述第一获取单元获取的所述第一公共 SSID进 行验证;
第一发送单元,用于所述第一验证单元对所述第一公共 SSID验证通过 时, 将终端设备中预设的第二公共 SSID发送给所述网关设备, 以便所述网 关设备对所述第二公共 SSID验证通过时, 实现终端设备与网关设备之间基 于公共 SSID连接的建立。
10、 根据权利要求 9所述的装置, 其特征在于, 第一检测单元具体用 于: 或者,
信号强度是否满足预设 强度阔值。
11、 根据权利要求 9或 10所述的装置, 其特征在于, 所述装置进一步 包括:
处理单元, 用于接收并存储所述网关设备发送的所述网关设备的私有 SSID及密钥;所述私有 SSID及密钥在网关设备对所述第二公共 SSID验证 通过后发送;
第一连接断开单元, 用于处理单元接收到私有 SSID及密钥后, 断开所 述终端设备与所述网关设备之间基于公共 SSID的连接;
所述第一发送单元还用于: 向所述网关设备发送所述网关设备的私有 SSID及密钥, 以便网关设备对所述私有 SSID及密钥验证通过时, 实现所 述终端设备与所述网关设备之间基于所述私有 SSID连接的建立。
12、根据权利要求 11所述的装置, 其特征在于, 所述装置进一步包括: 第二连接条件、 且是否是终端设备自身与所述网关设备之间的首次连接; 第二获取单元, 用于第二检测单元检测所述终端设备与所述网关设备 之间满足第二连接条件、 且不是终端设备自身与所述网关设备之间的首次 连接时, 获取所述网关设备的私有 SSID及密码;
第一发送单元还用于: 发送所述网关设备的私有 SSID及密钥, 以便网 关设备对所述私有 SSID及密钥验证通过时, 实现终端设备与网关设备之间 基于所述私有 SSID连接的建立。
13、 根据权利要求 12所述的装置, 其特征在于, 第二检测单元具体用 于: 或者,
检测所述终端设备是否接收到所述网关设备的无线信号 ,
14、 一种终端设备与网关设备间的互联装置, 其特征在于, 所述装置 包括:
第二发送单元, 用于所述终端设备向所述网关设备获取公共 SSID时, 向终端设备发送网关设备中预设的第一公共 SSID;
接收单元, 用于接收所述终端设备对第二发送单元发送的所述第一公 共 SSID验证通过后发送的终端设备中预设的第二公共 SSID;
第二验证单元, 用于对所述接收单元接收到的第二公共 SSID进行验 证, 如果所述网关设备对所述第二公共 SSID验证通过, 则实现终端设备与 网关设备之间基于公共 SSID连接的建立。
15、根据权利要求 14所述的装置,其特征在于, 所述装置进一步包括: 第二发送单元还用于: 所述第二验证单元对所述第二公共 SSID验证通 过后, 向所述终端设备发送所述网关设备的私有 SSID及密钥;
第二连接断开单元,用于所述第二发送单元发送所述私有 SSID及密钥 后, 断开所述网关设备与所述终端设备之间基于公共 SSID的连接;
所述接收单元还用于: 第二连接断开单元断开所述基于公共 SSID的连 接后, 接收所述终端设备发送的私有 SSID及密钥;
第三验证单元, 用于对接收到的所述私有 SSID及密钥进行验证, 如果 验证通过, 则实现网关设备与终端设备之间基于所述私有 SSID连接的建 立。
16、根据权利要求 15所述的装置,其特征在于, 所述接收单元还用于: 所述终端设备检测自身与所述网关设备之间满足第二连接条件、 且不是自 身与所述网关设备之间的首次连接时,接收终端设备发送的私有 SSID及密 钥;
第三验证单元还用于: 对接收到的所述私有 SSID及密钥进行验证, 如 果验证通过, 则实现所述网关设备与所述终端设备之间基于所述私有 SSID 连接的建立。
PCT/CN2014/083731 2013-08-06 2014-08-05 一种终端设备与网关设备间的互联方法和装置 WO2015018327A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US14/901,807 US9949116B2 (en) 2013-08-06 2014-08-05 Method and apparatus for establishing SSID-based connection between terminal device and gateway device
EP14835008.5A EP2999250B1 (en) 2013-08-06 2014-08-05 Method and apparatus for interconnection between terminal device and gateway device
US15/926,712 US10171997B2 (en) 2013-08-06 2018-03-20 Method and apparatus for interconnection between terminal device and gateway device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310339627.5 2013-08-06
CN201310339627.5A CN104348686B (zh) 2013-08-06 2013-08-06 一种终端设备与网关设备间的互联方法和装置

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US14/901,807 A-371-Of-International US9949116B2 (en) 2013-08-06 2014-08-05 Method and apparatus for establishing SSID-based connection between terminal device and gateway device
US15/926,712 Continuation US10171997B2 (en) 2013-08-06 2018-03-20 Method and apparatus for interconnection between terminal device and gateway device

Publications (1)

Publication Number Publication Date
WO2015018327A1 true WO2015018327A1 (zh) 2015-02-12

Family

ID=52460660

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083731 WO2015018327A1 (zh) 2013-08-06 2014-08-05 一种终端设备与网关设备间的互联方法和装置

Country Status (4)

Country Link
US (2) US9949116B2 (zh)
EP (1) EP2999250B1 (zh)
CN (2) CN108667699B (zh)
WO (1) WO2015018327A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487777A (zh) * 2015-08-26 2017-03-08 大同股份有限公司 身份认证方法和物联网网关装置及认证网关装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501501B (zh) * 2013-10-09 2017-03-01 中磊电子(苏州)有限公司 无线区域网络***、远控网络***、无线网络检测与设定方法
US10681142B2 (en) 2014-01-09 2020-06-09 Comcast Cable Communications, Llc Network filter
CN105282158A (zh) * 2015-10-28 2016-01-27 小米科技有限责任公司 智能设备联网方法、路由设备、智能设备及***
US10931477B2 (en) * 2016-03-18 2021-02-23 Plume Design, Inc. Layer two network tunnels for Wi-Fi client bridging in a distributed Wi-Fi network
US11457487B2 (en) * 2016-04-01 2022-09-27 Comcast Cable Communications, Llc Methods and systems for connecting to a wireless network
CN107567017B (zh) * 2016-06-30 2021-07-09 华为技术有限公司 无线连接***、装置及方法
CN108260073B (zh) * 2016-12-27 2021-02-09 光宝电子(广州)有限公司 闸道器、闸道器的安装方法以及物联网装置的安装方法
US11075906B2 (en) * 2017-12-28 2021-07-27 Shoppertrak Rct Corporation Method and system for securing communications between a lead device and a secondary device
CN112135253B (zh) * 2020-10-30 2023-03-17 中国联合网络通信集团有限公司 网络连接方法及装置
US11677630B2 (en) * 2021-04-30 2023-06-13 Cisco Technology, Inc. Secure device management

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860856A (zh) * 2010-04-21 2010-10-13 杭州华三通信技术有限公司 一种无线局域网中提供差异化服务的方法和设备
CN103139848A (zh) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 一种资源共享方法及***
CN103220669A (zh) * 2012-01-19 2013-07-24 ***通信集团公司 私有wlan共享方法、***、服务器、终端及网关管理服务器

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7633909B1 (en) * 2002-12-20 2009-12-15 Sprint Spectrum L.P. Method and system for providing multiple connections from a common wireless access point
US20070036358A1 (en) 2005-08-10 2007-02-15 Nguyen Bao T Secure and automatic configuration of wireless networks
CN100579123C (zh) * 2006-01-18 2010-01-06 华为技术有限公司 一种在通讯***中保障信息安全的处理方法
US7974249B2 (en) * 2006-03-01 2011-07-05 Dell Products L.P. Virtual access point for configuration of a LAN
US8032174B2 (en) * 2006-07-07 2011-10-04 Research In Motion Limited Provisioning methods and apparatus for wireless local area networks (WLANS) with use of a provisioning ESSID
US7924793B2 (en) * 2006-11-20 2011-04-12 At&T Intellectual Property I, L.P. Methods and apparatus to manage bandwidth in a wireless network
CN101262670B (zh) 2007-03-09 2012-01-25 鸿富锦精密工业(深圳)有限公司 移动装置、通信***及连线建立方法
US20090046644A1 (en) * 2007-08-17 2009-02-19 Qualcomm Incorporated Service set manager for ad hoc mobile service provider
CN101374256B (zh) * 2007-08-20 2012-01-25 华为技术有限公司 一种处理会话中媒体流连续性的方法、装置及***
JP5185081B2 (ja) * 2008-11-17 2013-04-17 株式会社東芝 無線端末装置、通信方法、及び通信プログラム
US8151336B2 (en) * 2008-12-10 2012-04-03 At&T Intellectual Property Ii, Lp Devices and methods for secure internet transactions
JP4977221B2 (ja) * 2010-02-24 2012-07-18 株式会社バッファロー 無線lanシステム、無線lan装置及びそのプログラム
CN103222292B (zh) * 2010-09-16 2016-08-10 诺基亚技术有限公司 利用安全热点网络的动态帐户创建
CA2818507A1 (en) * 2010-11-22 2012-05-31 Anyfi Networks Ab Automatic remote access to ieee 802.11 networks
JP5754254B2 (ja) * 2011-06-14 2015-07-29 ブラザー工業株式会社 無線通信装置
CN103096307A (zh) * 2011-10-27 2013-05-08 中兴通讯股份有限公司 密钥验证方法及装置
US8897782B2 (en) * 2012-01-16 2014-11-25 Microsoft Corporation System and method for offloading traffic from cellular networks using plugins
CN102547695B (zh) * 2012-03-09 2014-11-26 成都飞鱼星科技股份有限公司 无线网络安全认证的方法
US9560680B2 (en) * 2012-04-10 2017-01-31 Clarion Co., Ltd. Two terminal wireless communication system
CN102685745B (zh) * 2012-04-23 2016-05-11 深圳市江波龙电子有限公司 无线ap设备的认证方法和***
WO2013165605A1 (en) * 2012-05-02 2013-11-07 Interdigital Patent Holdings, Inc. One round trip authentication using single sign-on systems
CN102685845B (zh) * 2012-06-05 2015-04-29 华为终端有限公司 接入互联网的方法与装置
CN102739570B (zh) * 2012-06-15 2015-01-14 烽火通信科技股份有限公司 一种通过智能手机WiFi开通家庭网关的方法
US20140059351A1 (en) * 2012-08-21 2014-02-27 General Instrument Corporation Method and device for connecting to a wireless network using a visual code

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860856A (zh) * 2010-04-21 2010-10-13 杭州华三通信技术有限公司 一种无线局域网中提供差异化服务的方法和设备
CN103139848A (zh) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 一种资源共享方法及***
CN103220669A (zh) * 2012-01-19 2013-07-24 ***通信集团公司 私有wlan共享方法、***、服务器、终端及网关管理服务器

Non-Patent Citations (1)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487777A (zh) * 2015-08-26 2017-03-08 大同股份有限公司 身份认证方法和物联网网关装置及认证网关装置
CN106487777B (zh) * 2015-08-26 2021-04-13 大同股份有限公司 身份认证方法和物联网网关装置及认证网关装置

Also Published As

Publication number Publication date
CN104348686B (zh) 2018-06-05
CN104348686A (zh) 2015-02-11
EP2999250A4 (en) 2016-08-03
CN108667699B (zh) 2021-07-20
CN108667699A (zh) 2018-10-16
US10171997B2 (en) 2019-01-01
US20160373925A1 (en) 2016-12-22
US20180213397A1 (en) 2018-07-26
EP2999250B1 (en) 2017-09-27
US9949116B2 (en) 2018-04-17
EP2999250A1 (en) 2016-03-23

Similar Documents

Publication Publication Date Title
WO2015018327A1 (zh) 一种终端设备与网关设备间的互联方法和装置
US9769732B2 (en) Wireless network connection establishment method and terminal device
KR101551315B1 (ko) 다른 디바이스가 무선 네트워크에 연결하는 것을 가능하게 하기 위한 모바일 디바이스의 사용
WO2017041675A1 (zh) 一种发送和获取wifi联网信息的方法和对应装置
CN111465014B (zh) 一种安全认证方法、配置方法以及相关设备
CN107567017B (zh) 无线连接***、装置及方法
JP2011254469A (ja) WiFiパラメータを設定する方法、装置、及びシステム
JP2012533920A (ja) 無線ネットワーク環境において外部ネットワークに登録するための方法および装置
WO2011106956A1 (zh) 移动终端及其数据共享方法
EP3200486B1 (en) Connection establishment method, device, and system
US20120239744A1 (en) Hybrid networking simple-connect setup using proxy device
EP3117576B1 (en) Pairing of devices
WO2017012142A1 (zh) 一种双连接安全通讯的方法及装置
WO2017185460A1 (zh) 一种接入网络的方法、终端及接入点
CN106912049B (zh) 改善用户认证体验的方法
WO2015139442A1 (zh) 本地网络访问的控制方法及装置、计算机存储介质
JP5647964B2 (ja) 親の無線端末に従属する子の無線端末のアクセスを規制する無線ルータ、プログラム及びアクセス方法
CN113055971A (zh) 基于专用ssid来将智能终端接入网络的方法和装置
WO2018196503A1 (zh) 鉴权信息的处理方法、终端和***
CN110226319A (zh) 用于紧急接入期间的参数交换的方法和设备
CN110582085B (zh) 一种通信方法、装置和***
US9560526B2 (en) Method and apparatus for single sign-on in a mobile communication system
CN113708951A (zh) 用于实现智能终端设备的自动配网的方法和***
CN107969000B (zh) 无线中继器上行链路的状态探测方法、装置、设备及介质
WO2015192453A1 (zh) 终端接入无线接入点设备的方法、无线接入点设备及终端

Legal Events

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

Ref document number: 14835008

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014835008

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014835008

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 14901807

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE