WO2017016057A1 - 智能设备接入路由器的方法、装置以及*** - Google Patents

智能设备接入路由器的方法、装置以及*** Download PDF

Info

Publication number
WO2017016057A1
WO2017016057A1 PCT/CN2015/090362 CN2015090362W WO2017016057A1 WO 2017016057 A1 WO2017016057 A1 WO 2017016057A1 CN 2015090362 W CN2015090362 W CN 2015090362W WO 2017016057 A1 WO2017016057 A1 WO 2017016057A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
smart device
service set
currently accessed
identifier
Prior art date
Application number
PCT/CN2015/090362
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 RU2016118231A priority Critical patent/RU2638153C2/ru
Priority to BR112016010667-9A priority patent/BR112016010667B1/pt
Priority to MX2016003972A priority patent/MX362085B/es
Priority to KR1020157032536A priority patent/KR101713305B1/ko
Priority to JP2017530390A priority patent/JP2017527238A/ja
Publication of WO2017016057A1 publication Critical patent/WO2017016057A1/zh

Links

Images

Classifications

    • 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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • H04W12/082Access security using revocation of authorisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • 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]

Definitions

  • the present disclosure relates to the field of network communication technologies, and in particular, to a method, device, and system for a smart device to access a router.
  • some smart devices of the Wi-Fi wireless local area network
  • Some solutions for assisting Wi-Fi device connection use this method. After discovering the device to be accessed, the device also sends a ssid (Service Set Identifier) and password to the device to help the device connect to the specified device. On the router.
  • ssid Service Set Identifier
  • This approach can help smart devices connect to the router quickly, but there is a risk that the user's smart device will be connected by the neighbor.
  • the embodiments of the present disclosure provide a method, an apparatus, and a system for a smart device to access a router, and can determine whether a router currently accessed by the smart device is a router that is prohibited from accessing and performs corresponding processing.
  • a method for a smart device to access a router includes:
  • the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing
  • the service set identifier of the currently accessed router is in the service set identifier set of the router that is prohibited from accessing
  • the service set identifier set of the router is a service set identifier set of a router that is allowed to access, and the service set identifier of the currently accessed router is not in the service set identifier set of the allowed access router, then Judged as The router currently accessed by the smart device is a router that is prohibited from accessing.
  • the router currently accessed by the smart device is a router that is forbidden to access, sending a reset command to the smart device, where the smart device is used to restore to a state that is not connected to the router according to the reset command;
  • the router currently accessed by the smart device is a router that is prohibited from accessing, sending a disconnection instruction to the smart device, where the smart device is configured to disconnect the currently connected router;
  • the router currently accessed by the smart device is a router that is forbidden to access, sending a reconnection instruction to the smart device, where the smart device is used to disconnect the currently connected router, and try to Connect to another router.
  • the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing, and the service set identifier of the currently accessed router is not in the service set identifier set of the prohibited access router, then Determining that the router currently accessed by the smart device is a router that allows access; or
  • the service set identifier set of the router is a service set identifier set of the router that is allowed to access
  • the service set identifier of the currently accessed router is in the service set identifier set of the router that is allowed to access, then It is determined that the router currently accessed by the smart device is a router that allows access.
  • the smart device When the router currently accessed by the smart device is a router that allows access, the smart device is sent a keep connection command, and the smart device is configured to maintain a state of connecting the currently accessed router.
  • the method further includes:
  • a method for a smart device to access a router includes:
  • the identifier of the smart device and the service set identifier of the router are sent to the server, where the server is configured to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, Generate a judgment result;
  • the corresponding processing according to the instruction includes:
  • the instruction is a disconnection instruction, disconnecting from the currently accessed router and attempting to reconnect to another router; or
  • an apparatus for a smart device to access a router comprising:
  • a first receiving module configured to receive an identifier of the smart device and a service set identifier of a router currently accessed by the smart device;
  • An acquiring module configured to acquire a service set identifier set of a router corresponding to the identifier of the smart device
  • a determining module configured to determine, according to the service set identifier of the currently accessed router and the service set identifier set of the router, whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generate a determination result;
  • a sending module configured to send a corresponding instruction to the smart device according to the determining result.
  • the judgment module includes:
  • a first determining submodule configured to: when the service set identifier set of the router is a service set identifier set of a router that is prohibited from accessing, and the service set identifier of the currently accessed router is in the router that is prohibited from accessing When the service set identifies the set, it is determined that the router currently accessed by the smart device is a router that is prohibited from accessing; or
  • a second determining sub-module configured to: when the service set identifier set of the router is a service set identifier set of a router that is allowed to access, and the service set identifier of the currently accessed router is not in the allowed access router When the service set identifies the set, it is determined that the router currently accessed by the smart device is a router that is prohibited from accessing.
  • the sending module includes:
  • a first sending submodule configured to send a reset command to the smart device when the router currently accessed by the smart device is a router that is prohibited from accessing, where the smart device is used to recover to the reset command according to the reset command The state of the router is not connected;
  • a second sending submodule configured to send a disconnection instruction to the smart device when the router currently accessed by the smart device is a router that is prohibited from accessing, where the smart device is configured to disconnect from the current connection The connection to the incoming router;
  • a third sending submodule configured to send a reconnection instruction to the smart device when the router currently accessed by the smart device is a router that is prohibited from accessing, where the smart device is configured to disconnect the current access Connect the router and try to reconnect to another router.
  • the determining module includes:
  • a third determining sub-module configured to: when the service set identifier set of the router is a service set identifier set of a router that is prohibited from accessing, and the service set identifier of the currently accessed router is not in the prohibited access router When the service set identifies the set, it is determined that the router currently accessed by the smart device is a router that allows access; or
  • a fourth determining sub-module configured to: when the service set identifier set of the router is a service set identifier set of a router that is allowed to access, and the service set identifier of the currently accessed router is in the router that is allowed to access When the service set identifies the set, it is determined that the router currently accessed by the smart device is a router that allows access.
  • the sending module includes:
  • a fourth sending submodule configured to send a keep connection command to the smart device when the router currently accessed by the smart device is a router that allows access, and the smart device is configured to keep the current access The status of the router.
  • the device also includes:
  • the second receiving module receives the identifier of the smart device and the service set identifier of the router corresponding to the identifier of the smart device, and stores the corresponding set.
  • an apparatus for accessing a router by a smart device including:
  • a sending module configured to: when the smart device accesses the router, send the identifier of the smart device and the service set identifier of the router to the server, where the server is configured to determine whether the router currently accessed by the smart device is forbidden Accessing the router to generate a judgment result;
  • a receiving module configured to receive, from the server, a corresponding instruction generated according to the determination result
  • the processing module performs corresponding processing according to the instruction.
  • the processing module includes:
  • the recovery submodule is configured to restore the state of the unconnected router when the instruction is a reset instruction
  • Disconnecting the submodule configured to disconnect the currently connected router when the instruction is a disconnection instruction
  • Reconnecting the submodule configured to disconnect the currently connected router and attempt to reconnect to another router when the instruction is a disconnection instruction
  • the keep-alive sub-module is configured to maintain a state of connecting the currently accessed router when the instruction is a keep-alive command.
  • an apparatus for accessing a router by a smart device including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • an apparatus for a smart device to access a router includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the identifier of the smart device and the service set identifier of the router are sent to the server, where the server is configured to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, Generate a judgment result;
  • a system for a smart device to access a router includes: a server and a smart device;
  • the server is configured to: receive an identifier of the smart device, and a service set identifier of the router that the smart device is currently accessing; obtain a service set identifier set of the router corresponding to the identifier of the smart device; and according to the currently accessed router a service set identifier and a set of service set identifiers of the router, determining whether the router currently accessed by the smart device is a router that is prohibited from accessing, generating a determination result; and sending, according to the determination result, a corresponding instruction to the smart device ;
  • the smart device is configured to: when the smart device accesses the router, send the identifier of the smart device and the service set identifier of the router to the server, and receive, from the server, a corresponding instruction generated according to the determination result; The instructions are processed accordingly.
  • the router determines whether the router currently accessed by the smart device is based on the service set identifier of the currently accessed router and the service set identifier set of the router corresponding to the identifier of the smart device.
  • the router that prohibits access; according to the judgment result, the smart device is sent with corresponding instructions for processing, thereby preventing the smart device from continuously accessing the router that is forbidden to access.
  • FIG. 1 is a block diagram of a system in which a smart device accesses a router, according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment.
  • FIG. 4 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment 3.
  • FIG. 5 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment 4.
  • FIG. 6 is a block diagram of an apparatus for a smart device to access a router, according to an exemplary embodiment.
  • FIG. 7 is a block diagram of a judging module in an apparatus for accessing a router by a smart device, according to an exemplary embodiment.
  • FIG. 8 is a block diagram of a transmitting module in an apparatus for accessing a router by a smart device, according to an exemplary embodiment.
  • FIG. 9 is a block diagram of an apparatus for a smart device to access a router, according to an exemplary embodiment.
  • FIG. 10 is a schematic diagram of a processing module in an apparatus for accessing a router by a smart device according to an exemplary embodiment block diagram.
  • FIG. 11 is a block diagram of a recommended device suitable for a photographic apparatus, according to an exemplary embodiment.
  • the system for the smart device to access the router includes: a server 11 and a smart device 12;
  • the server 11 is configured to: receive an identifier of the smart device and a service set identifier of the router that the smart device currently accesses; obtain a service set identifier set of the router corresponding to the identifier of the smart device; and use the service set identifier of the currently accessed router and the router
  • the service set identifier set is used to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generates a judgment result; according to the judgment result, the corresponding instruction is sent to the smart device;
  • the smart device 12 is configured to: when the smart device accesses the router, send the identifier of the smart device and the service set identifier of the router to the server, receive a corresponding instruction generated according to the determination result from the server, and perform corresponding processing according to the instruction.
  • the smart device accesses the router, it is determined whether the router currently accessed by the smart device is forbidden according to the service set identifier of the currently accessed router and the service set identifier set of the router corresponding to the identifier of the smart device.
  • the incoming router sends a corresponding command to the smart device according to the judgment result, and performs processing, thereby preventing the smart device from continuously accessing the router that is prohibited from accessing.
  • the server receives the service set identifier set of the router corresponding to the identifier of the smart device and the identifier of the smart device in advance, and stores the corresponding.
  • the identifier of the smart device and the service set identifier of the router are sent to the server;
  • the server receives the identifier of the smart device and the service set identifier of the router currently accessed by the smart device;
  • the server acquires a service set identifier set of the router corresponding to the identifier of the smart device;
  • the server determines, according to the service set identifier of the currently accessed router and the service set identifier set of the router, whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generates a determination result;
  • the server sends a corresponding instruction to the smart device according to the judgment result.
  • the smart device receives a corresponding instruction generated according to the determination result from the server;
  • the smart device then processes accordingly according to the instructions.
  • FIG. 2 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment. As shown in FIG. 2, the method for accessing a router by the smart device is used in a server or an application, and includes the following step S200. -S204:
  • step S201 the identifier of the smart device and the service set identifier of the router currently accessed by the smart device are received;
  • step S202 acquiring a service set identifier set of a router corresponding to the identifier of the smart device
  • step S203 determining, according to the service set identifier of the currently accessed router and the service set identifier set of the router, whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generating a determination result;
  • step S204 according to the determination result, the corresponding instruction is sent to the smart device.
  • the smart device accesses the router, it is determined whether the router currently accessed by the smart device is forbidden according to the service set identifier of the currently accessed router and the service set identifier set of the router corresponding to the identifier of the smart device.
  • the incoming router sends a corresponding command to the smart device according to the judgment result, and performs processing, thereby preventing the smart device from continuously accessing the router that is prohibited from accessing.
  • step S203 includes:
  • the service set identifier set of the router is a set of service set identifiers of the routers that are prohibited from accessing, and the service set identifier of the currently accessed router is in the service set identifier set of the router that is prohibited from accessing, it is determined that the smart device is currently connected.
  • the incoming router is a router that is prohibited from accessing; or
  • the incoming router is a router that allows access.
  • the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing
  • the smart set is determined by determining whether the service set identifier of the currently accessed router is in the service set identifier set of the prohibited access router. Whether the router currently connected to the device is a router that is prohibited from accessing.
  • the set of service set identifiers of the routers that are forbidden to be accessed may be set by the user according to actual conditions.
  • step S203 includes:
  • the service set identifier set of the router is a service set identifier set of the router that is allowed to access, and the service set identifier of the currently accessed router is not in the service set identifier set of the router that is allowed to access, it is determined that the smart device is currently connected.
  • the incoming router is a router that is prohibited from accessing.
  • the incoming router is a router that allows access.
  • the service set identifier set of the router is a set of service set identifiers of the routers that are allowed to access
  • the smart set is determined by determining whether the service set identifier of the currently accessed router is in the service set identifier set of the router that is allowed to access. Whether the router currently connected to the device is a router that is prohibited from accessing.
  • the set of service set identifiers of the routers that are allowed to access may be set by the user according to actual conditions.
  • step S204 includes:
  • the smart device When the router currently accessed by the smart device is a router that is forbidden to access, the smart device sends a disconnection finger. So that the smart device is used to disconnect from the currently connected router; or
  • the smart device When the router currently accessed by the smart device is a router that is forbidden to access, the smart device is sent a reconnection command, and the smart device is used to disconnect the currently connected router and try to reconnect to another router; or
  • the smart device When the router currently accessed by the smart device is a router that allows access, the smart device sends a keep-alive command, and the smart device is used to maintain the state of the currently connected router.
  • the corresponding processing is performed according to the judgment result.
  • the router currently accessed by the smart device is a router that is prohibited from accessing, the connection with the current router is disconnected in time; otherwise, the connection with the current router is maintained.
  • the method before step S201, the method further includes:
  • Step S200 Receive a service set identifier set of a router corresponding to the identifier of the smart device and the identifier of the smart device, and store the corresponding information.
  • the set of service set identifiers of the routers corresponding to the identifiers of the smart devices and the identifiers of the smart devices may be received from the smart device or received by the application software of the smart device after being set by the user in the application software of the smart device.
  • FIG. 3 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment. As shown in FIG. 3, the method for accessing a router by the smart device is used in a server or an application, and includes the following step S300. -S304:
  • step S300 the service set identifier set of the router corresponding to the identifier of the smart device and the identifier of the smart device is received and stored correspondingly.
  • step S301 the identifier of the smart device and the service set identifier of the router currently accessed by the smart device are received;
  • step S302 acquiring a service set identifier set of a router corresponding to the identifier of the smart device
  • step S303 when the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing, by determining whether the service set identifier of the currently accessed router is in the service set identifier set of the router that is prohibited from accessing, To determine whether the router currently accessed by the smart device is a router that is prohibited from accessing.
  • the step includes: when the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing, and the service set identifier of the currently accessed router is in the service set identifier set of the router that is prohibited from accessing, determining that The router that the smart device currently accesses is a router that is forbidden to access; or when the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing, and the service set identifier of the currently accessed router is not blocked by the access router.
  • the service set identifier is in the set, it is determined that the router currently accessed by the smart device is a router that allows access.
  • step S304 according to the determination result, the corresponding instruction is sent to the smart device.
  • the smart device accesses the router, it is determined whether the router currently accessed by the smart device is forbidden according to the service set identifier of the currently accessed router and the service set identifier set of the router corresponding to the identifier of the smart device.
  • the incoming router sends a corresponding command to the smart device according to the judgment result, and performs processing, thereby preventing the smart device from continuously accessing the router that is prohibited from accessing.
  • Step S304 includes:
  • the router currently accessed by the smart device is a router that is prohibited from accessing, sending a disconnection instruction to the smart device, where the smart device is used to disconnect the currently connected router;
  • the smart device When the router currently accessed by the smart device is a router that is forbidden to access, the smart device is sent a reconnection command, and the smart device is used to disconnect the currently connected router and try to reconnect to another router; or
  • the smart device When the router currently accessed by the smart device is a router that allows access, the smart device sends a keep-alive command, and the smart device is used to maintain the state of the currently connected router.
  • the corresponding processing is performed according to the judgment result.
  • the router currently accessed by the smart device is a router that is prohibited from accessing, the connection with the current router is disconnected in time; otherwise, the connection with the current router is maintained.
  • FIG. 4 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment. As shown in FIG. 4, the method for accessing a router by the smart device is used in a server or an application, and includes the following step S400. -S404:
  • Step S400 Receive a service set identifier set of a router corresponding to the identifier of the smart device and the identifier of the smart device, and store the corresponding identifier.
  • step S401 the identifier of the smart device and the service set identifier of the router currently accessed by the smart device are received;
  • step S402 acquiring a service set identifier set of a router corresponding to the identifier of the smart device
  • step S403 when the service set identifier set of the router is a service set identifier set of the router that is allowed to access, by determining whether the service set identifier of the currently accessed router is in the service set identifier set of the router that is allowed to access, It is determined that the router currently accessed by the smart device is a router that is prohibited from accessing.
  • the step includes: when the service set identifier set of the router is a service set identifier set of the router that is allowed to access, and the service set identifier of the currently accessed router is not in the service set identifier set of the router that is allowed to access,
  • the router currently accessed by the smart device is a router that is prohibited from accessing; when the service set identifier set of the router is a set of service set identifiers of the routers that are allowed to access, and the service set identifier of the currently accessed router is in the router that is allowed to access.
  • the service set identifies the set, it is determined that the router currently accessed by the smart device is a router that allows access.
  • step S404 according to the determination result, the corresponding instruction is sent to the smart device.
  • the smart device accesses the router, it is determined whether the router currently accessed by the smart device is forbidden according to the service set identifier of the currently accessed router and the service set identifier set of the router corresponding to the identifier of the smart device.
  • the incoming router sends a corresponding command to the smart device according to the judgment result, and performs processing, thereby preventing the smart device from continuously accessing the router that is prohibited from accessing.
  • Step S404 includes:
  • the router currently accessed by the smart device is a router that is prohibited from accessing, sending a disconnection instruction to the smart device, where the smart device is used to disconnect the currently connected router;
  • the smart device When the router currently accessed by the smart device is a router that is forbidden to access, the smart device is sent a reconnection command, and the smart device is used to disconnect the currently connected router and try to reconnect to another router; or
  • the smart device When the router currently accessed by the smart device is a router that allows access, the smart device sends a keep-alive command, and the smart device is used to maintain the state of the currently connected router.
  • the smart device side is described below.
  • FIG. 5 is a flowchart of a method for a smart device to access a router according to an exemplary embodiment. As shown in FIG. 5, the method for accessing a router by the smart device is used in a smart device or an application, and includes the following steps. S501-S503:
  • step S501 when the smart device accesses the router, the identifier of the smart device and the service set identifier of the router are sent to the server, and the server is configured to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generates a determination result. ;
  • step S502 a corresponding instruction generated according to the determination result is received from the server;
  • step S503 corresponding processing is performed in accordance with the instruction.
  • the identifier of the smart device and the service set identifier of the currently accessed router are sent to the server, so that the server determines whether the router currently accessed by the smart device is a router that is prohibited from accessing.
  • the corresponding instruction is generated, and the smart device receives the instruction to perform corresponding processing thereof, thereby preventing the smart device from continuously accessing the router that is prohibited from accessing.
  • Step S503 comprising:
  • the instruction is a disconnect instruction, disconnect from the currently connected router and attempt to reconnect to another router;
  • the router currently accessed by the smart device is a router that is forbidden to access
  • the connection with the current router is disconnected in time; otherwise, the connection with the current router is maintained, and the continuous access of the smart device is prohibited. Into the router.
  • the Wi-Fi smart device when it is not connected to the router, it broadcasts a message containing its own device description information to the surrounding, and the surrounding mobile terminal, for example, the mobile phone, can receive the message.
  • the terminal installed with the "Smart Home” app (a software for managing Wi-Fi smart devices) will receive a message "Found New Device".
  • the end user selects the access router for the smart device according to the next interactive prompt and enters a password, which can then help the smart device to access the server.
  • the end user can find the device in the device list of the "Smart Home” app. Clicking on the list to enter the device control interface allows the user to control the device and view the device status.
  • the user can also set the device "banned access router ssid" in the device control interface.
  • the mobile app scans the Wi-Fi list around the user, and the user can select some router ssids that want to prohibit the smart device from accessing, and the app sends the device id and the prohibited router ssid to the server for storage.
  • the device is not connected to the router in time, and other uses around the device.
  • the user can find the device in the mobile app. If other users connect the device to their own router, the smart device sends its own device id and router ssid to the server. After the server finds that the device is connected to the router that is not allowed to access, it can send heavy weight to the device. Set the command.
  • FIG. 6 is a block diagram of an apparatus for a smart device to access a router according to an exemplary embodiment. As shown in FIG. 6, a device for accessing a router by a smart device, the device includes:
  • the first receiving module 61 is configured to receive an identifier of the smart device and a service set identifier of a router currently accessed by the smart device;
  • the obtaining module 62 is configured to acquire a service set identifier set of a router corresponding to the identifier of the smart device;
  • the determining module 63 is configured to determine, according to the service set identifier of the currently accessed router and the service set identifier set of the router, whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generate a determination result;
  • the sending module 64 is configured to send a corresponding instruction to the smart device according to the determination result.
  • the smart device accesses the router, it is determined whether the router currently accessed by the smart device is forbidden according to the service set identifier of the currently accessed router and the service set identifier set of the router corresponding to the identifier of the smart device.
  • the incoming router sends a corresponding command to the smart device according to the judgment result, and performs processing, thereby preventing the smart device from continuously accessing the router that is prohibited from accessing.
  • the apparatus further includes:
  • the second receiving module 65 is configured to receive the identifier of the smart device and the service set identifier of the router corresponding to the identifier of the smart device, and store the corresponding.
  • the determining module 63 includes:
  • the first judging sub-module 631 is configured to: when the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing, and the service set identifier of the currently accessed router identifies the service set identifier set of the router that is prohibited from accessing In the middle, it is determined that the router currently accessed by the smart device is a router that is prohibited from accessing; or
  • the second judging sub-module 632 is configured to: when the service set identifier set of the router is a service set identifier set of the router that is allowed to access, and the service set identifier of the currently accessed router is not in the service set identifier set of the router that is allowed to access In the middle, it is determined that the router currently accessed by the smart device is a router that is prohibited from accessing.
  • the judging module may further include:
  • the third determining sub-module 633 is configured to: when the service set identifier set of the router is a service set identifier set of the router that is prohibited from accessing, and the service set identifier of the currently accessed router is not in the service set identifier set of the router that is prohibited from accessing In the middle, it is determined that the router currently accessed by the smart device is a router that allows access; or
  • the fourth determining sub-module 634 is configured to: when the service set identifier set of the router is a service set identifier set of the router that is allowed to access, and the service set identifier of the currently accessed router identifies the service set identifier set of the router that is allowed to access In the middle, it is determined that the router currently accessed by the smart device is a router that allows access.
  • the sending module 64 includes:
  • the first sending sub-module 641 is configured to send a reset command to the smart device when the router currently accessed by the smart device is a router that is prohibited from accessing, and the smart device is configured to restore the state of the unconnected router according to the reset command; or
  • the second sending sub-module 642 is configured to send a disconnection instruction to the smart device when the router currently accessed by the smart device is a router that is prohibited from accessing, and the smart device is configured to disconnect the currently connected router;
  • the third sending sub-module 643 is configured to send a reconnection command to the smart device when the router currently accessed by the smart device is a router that is prohibited from accessing, and the smart device is configured to disconnect the currently connected router, and Try to reconnect to another router.
  • the sending module may further include:
  • the fourth sending sub-module 644 is configured to send a keep-alive command to the smart device when the router currently accessed by the smart device is a router that allows access, and the smart device is configured to maintain a state of connecting the currently accessed router.
  • an apparatus for accessing a router of a smart device includes:
  • the sending module 91 is configured to: when the smart device accesses the router, send the identifier of the smart device and the service set identifier of the router to the server, where the server is configured to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, and generates critical result;
  • the receiving module 92 is configured to receive, from the server, a corresponding instruction generated according to the determination result;
  • the processing module 93 is configured to perform corresponding processing according to the instructions.
  • the processing module 93 includes:
  • the recovery submodule 931 is configured to return to a state of not connected to the router when the instruction is a reset instruction
  • the disconnection sub-module 932 is configured to disconnect the currently connected router when the instruction is a disconnection instruction
  • Reconnect sub-module 933 configured to disconnect from the currently connected router and attempt to reconnect to another router when the instruction is a disconnect instruction
  • the keep-alive sub-module 934 is configured to maintain the state of the currently connected router when the instruction is to maintain the connect instruction.
  • FIG. 11 is a block diagram of an apparatus 1200 for a smart device accessing a router, the apparatus being applicable to a smart device device, according to an exemplary embodiment.
  • device 1200 can be a mobile phone, a computer, a digital broadcast smart device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 1200 can include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, And a communication component 1216.
  • Processing component 1202 typically controls the overall operation of device 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1202 can include one or more processors 1220 to perform Line instructions to complete all or part of the steps above.
  • processing component 1202 can include one or more modules to facilitate interaction between component 1202 and other components.
  • processing component 1202 can include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202.
  • Memory 1204 is configured to store various types of data to support operation at device 1200. Examples of such data include instructions for any application or method operating on device 1200, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1206 provides power to various components of device 1200.
  • Power component 1206 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1200.
  • Multimedia component 1208 includes a screen between the device 1200 and a user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1208 includes a front camera and/or a rear camera. When the device 1200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 1210 is configured to output and/or input an audio signal.
  • audio component 1210 includes a microphone (MIC) that is configured to receive an external audio signal when device 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 1204 or transmitted via communication component 1216.
  • audio component 1210 also includes a speaker for outputting an audio signal.
  • the I/O interface 1212 provides an interface between the processing component 1202 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 1214 includes one or more sensors for providing status assessment of various aspects to device 1200.
  • sensor assembly 1214 can detect an open/closed state of device 1200, a relative positioning of components, such as the display and keypad of device 1200, and sensor component 1214 can also detect a change in position of one component of device 1200 or device 1200. The presence or absence of contact by the user with the device 1200, the orientation or acceleration/deceleration of the device 1200 and the temperature change of the device 1200.
  • Sensor assembly 1214 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1214 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1216 is configured to facilitate wired or wireless communication between device 1200 and other devices.
  • the device 1200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 1216 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 1216 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 1200 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 1204 comprising instructions executable by processor 820 of apparatus 1200 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the present disclosure also provides an apparatus for an intelligent device to access a router, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the present disclosure also provides an apparatus for an intelligent device to access a router, including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the identifier of the smart device and the service set identifier of the router are sent to the server, where the server is configured to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, Generate a judgment result;
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile smart device, enabling the mobile smart device to perform a method of accessing a router by the smart device, the method comprising:
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile smart device, enabling the mobile smart device to perform a method of accessing a router by the smart device, the method comprising:
  • the identifier of the smart device and the service set identifier of the router are sent to the server, where the server is configured to determine whether the router currently accessed by the smart device is a router that is prohibited from accessing, Generate a judgment result;

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开是关于智能设备接入路由器的方法、装置以及***,能够判断智能设备当前接入的路由器是否为禁止接入的路由器从而进行相应处理。所述方法包括:接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;获取所述智能设备的标识对应的路由器的服务集标识集合;根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;根据所述判断结果,给所述智能设备发送相应指令。本公开技术方案能够判断智能设备当前接入的路由器是否为禁止接入的路由器从而进行相应处理,避免了智能设备持续地接入禁止接入的路由器。

Description

智能设备接入路由器的方法、装置以及***
本申请基于申请号为201510452197.7、申请日为2015年7月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及网络通讯技术领域,尤其涉及智能设备接入路由器的方法、装置以及***。
背景技术
现有技术中,一些Wi-Fi(无线局域网)类的智能设备,在处于待接入网络状态时会向周围广播包含自身设备描述信息的报文,周围的Wi-Fi设备都能够接收到该报文。一些辅助Wi-Fi设备连接的方案就是利用了这一方法,在发现有待接入设备后,同样利用广播向设备发送ssid(Service Set Identifier,服务集标识)和密码,帮助设备连入到指定的路由器上。
这种方法可以帮助智能设备快速连接到路由器,但是,存在着用户的智能设备被邻居连走的风险。
发明内容
为克服相关技术中存在的问题,本公开实施例提供智能设备接入路由器的方法、装置以及***,能够判断智能设备当前接入的路由器是否为禁止接入的路由器从而进行相应处理。
根据本公开实施例的第一方面,提供一种智能设备接入路由器的方法,包括:
接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
获取所述智能设备的标识对应的路由器的服务集标识集合;
根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
根据所述判断结果,给所述智能设备发送相应指令。
所述根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为允许接入的路由器,包括:
当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器;或
当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述允许接入的路由器的服务集标识集合中时,则判断为 所述智能设备当前接入的路由器为禁止接入的路由器。
所述根据所述判断结果,给所述智能设备发送相应指令,包括:
当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重置指令,所述智能设备用于根据所述重置指令恢复到未连接路由器的状态;或者
当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送断开连接指令,所述智能设备用于断开与所述当前接入的路由器的连接;或者
当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重连指令,所述智能设备用于断开与所述当前接入的路由器的连接,并尝试重连到另一路由器。
所述根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为允许接入的路由器,包括:
当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器;或
当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器。
所述根据所述判断结果,给所述智能设备发送相应指令,包括:
当所述智能设备当前接入的路由器为允许接入的路由器时,给所述智能设备发送保持连接指令,所述智能设备用于保持连接所述当前接入的路由器的状态。
所述接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识之前,所述方法还包括:
接收智能设备的标识和所述智能设备的标识对应的路由器的服务集标识集合,并对应存储。
根据本公开实施例的另一方面,提供一种智能设备接入路由器的方法,包括:
当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
从所述服务器接收根据所述判断结果生成的相应指令;
根据所述指令进行相应处理。
所述根据所述指令进行相应处理,包括:
当所述指令为重置指令时,恢复到未连接路由器的状态;
当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接;
当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接,并尝试重连到另一路由器;或者
当所述指令为保持连接指令时,保持连接所述当前接入的路由器的状态。
根据本公开实施例的另一方面,提供一种智能设备接入路由器的装置,所述装置包括:
第一接收模块,用于接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
获取模块,用于获取所述智能设备的标识对应的路由器的服务集标识集合;
判断模块,用于根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
发送模块,用于根据所述判断结果,给所述智能设备发送相应指令。
述判断模块,包括:
第一判断子模块,用于当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器;或
第二判断子模块,用于当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器。
所述发送模块,包括:
第一发送子模块,用于当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重置指令,所述智能设备用于根据所述重置指令恢复到未连接路由器的状态;或者
第二发送子模块,用于当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送断开连接指令,所述智能设备用于断开与所述当前接入的路由器的连接;
第三发送子模块,用于当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重连指令,所述智能设备用于断开与所述当前接入的路由器的连接,并尝试重连到另一路由器。
所述判断模块,包括:
第三判断子模块,用于当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器;或
第四判断子模块,用于当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器。
所述发送模块,包括:
第四发送子模块,用于当所述智能设备当前接入的路由器为允许接入的路由器时,给所述智能设备发送保持连接指令,所述智能设备用于保持连接所述当前接入的路由器的状态。
所述装置还包括:
第二接收模块,接收智能设备的标识和所述智能设备的标识对应的路由器的服务集标识集合,并对应存储。
根据本公开实施例的另一方面,提供一种智能设备接入路由器的装置,其特征在于,包括:
发送模块,用于当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
接收模块,用于从所述服务器接收根据所述判断结果生成的相应指令;
处理模块,根据所述指令进行相应处理。
所述处理模块,包括:
恢复子模块,用于当所述指令为重置指令时,恢复到未连接路由器的状态;
断开子模块,用于当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接;
重连子模块,用于当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接,并尝试重连到另一路由器;或者
保持连接子模块,用于当所述指令为保持连接指令时,保持连接所述当前接入的路由器的状态。
根据本公开实施例的另一方面,提供一种智能设备接入路由器的装置,其特征在于,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
获取所述智能设备的标识对应的路由器的服务集标识集合;
根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
根据所述判断结果,给所述智能设备发送相应指令。
根据本公开实施例的另一方面,提供一种智能设备接入路由器的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
从所述服务器接收根据所述判断结果生成的相应指令;
根据所述指令进行相应处理。
根据本公开实施例的另一方面,提供一种智能设备接入路由器的***,包括:服务器和智能设备;
所述服务器用于:接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;获取所述智能设备的标识对应的路由器的服务集标识集合;根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;根据所述判断结果,给所述智能设备发送相应指令;
所述智能设备用于:当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,从所述服务器接收根据所述判断结果生成的相应指令;根据所述指令进行相应处理。
本公开的实施例提供的技术方案可以包括以下有益效果:
上述实施例中,当智能设备接入路由器时,根据所述当前接入的路由器的服务集标识和智能设备的标识对应的路由器的服务集标识集合,及时判断智能设备当前接入的路由器是否为禁止接入的路由器;根据判断结果,给所述智能设备发送相应指令进行处理,避免了智能设备持续地接入禁止接入的路由器。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的智能设备接入路由器的***的框图。
图2是根据一示例性实施例一示出的智能设备接入路由器的方法的流程图。
图3是根据一示例性实施例二示出的智能设备接入路由器的方法的流程图。
图4是根据一示例性实施例三示出的智能设备接入路由器的方法的流程图。
图5是根据一示例性实施例四示出的智能设备接入路由器的方法的流程图。
图6是根据一示例性实施例示出的一种智能设备接入路由器的装置的框图。
图7是根据一示例性实施例示出的一种智能设备接入路由器的装置中判断模块的框图。
图8是根据一示例性实施例一示出的一种智能设备接入路由器的装置中发送模块的框图。
图9是根据一示例性实施例二示出的一种智能设备接入路由器的装置的框图。
图10是根据一示例性实施例二示出的一种智能设备接入路由器的装置中处理模块的 框图。
图11是根据一示例性实施例示出的一种适用于拍摄器械的推荐装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
为了便于更好的理解本公开,首先描述本公开所述的一种智能设备接入路由器的***。如图1所示,智能设备接入路由器的***包括:服务器11和智能设备12;
服务器11用于:接收智能设备的标识和智能设备当前接入的路由器的服务集标识;获取智能设备的标识对应的路由器的服务集标识集合;根据当前接入的路由器的服务集标识和路由器的服务集标识集合,判断智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;根据判断结果,给智能设备发送相应指令;
智能设备12用于:当智能设备接入路由器时,将智能设备的标识和路由器的服务集标识发送到服务器,从服务器接收根据判断结果生成的相应指令;根据指令进行相应处理。
上述实施例中,当智能设备接入路由器时,根据当前接入的路由器的服务集标识和智能设备的标识对应的路由器的服务集标识集合,及时判断智能设备当前接入的路由器是否为禁止接入的路由器;根据判断结果,给智能设备发送相应指令,进行处理,避免了智能设备持续地接入禁止接入的路由器。
以下描述服务器和智能设备之间交互的流程。
首先,服务器预先接收智能设备的标识和智能设备的标识对应的路由器的服务集标识集合,并对应存储。
然后,当智能设备接入路由器时,将智能设备的标识和路由器的服务集标识发送到服务器;
然后,服务器接收智能设备的标识和智能设备当前接入的路由器的服务集标识;
然后,服务器获取智能设备的标识对应的路由器的服务集标识集合;
然后,服务器根据当前接入的路由器的服务集标识和路由器的服务集标识集合,判断智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
然后,服务器根据判断结果,给智能设备发送相应指令。
然后,智能设备从服务器接收根据判断结果生成的相应指令;
然后,智能设备根据指令进行相应处理。
以下分别从服务器和智能设备两侧进行描述。首先描述服务器侧。
图2是根据一示例性实施例示出的一种智能设备接入路由器的方法的流程图,如图2所示,该智能设备接入路由器的方法用于服务器或应用程序中,包括以下步骤S200-S204:
在步骤S201中,接收智能设备的标识和智能设备当前接入的路由器的服务集标识;
在步骤S202中,获取智能设备的标识对应的路由器的服务集标识集合;
在步骤S203中,根据当前接入的路由器的服务集标识和路由器的服务集标识集合,判断智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
在步骤S204中,根据判断结果,给智能设备发送相应指令。
上述实施例中,当智能设备接入路由器时,根据当前接入的路由器的服务集标识和智能设备的标识对应的路由器的服务集标识集合,及时判断智能设备当前接入的路由器是否为禁止接入的路由器;根据判断结果,给智能设备发送相应指令,进行处理,避免了智能设备持续地接入禁止接入的路由器。
在一实施例中,步骤S203,包括:
当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识在禁止接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为禁止接入的路由器;或者
当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识不在禁止接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为允许接入的路由器。
上述实施例为路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,通过判断当前接入的路由器的服务集标识是否在禁止接入的路由器的服务集标识集合中,来判断智能设备当前接入的路由器是否为禁止接入的路由器。其中,禁止接入的路由器的服务集标识集合可以由用户根据实际情况来设置。
在一实施例中,步骤S203,包括:
当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识不在允许接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为禁止接入的路由器。
当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识在允许接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为允许接入的路由器。
上述实施例为路由器的服务集标识集合为允许接入的路由器的服务集标识集合,通过判断当前接入的路由器的服务集标识是否在允许接入的路由器的服务集标识集合中,来判断智能设备当前接入的路由器是否为禁止接入的路由器。其中,允许接入的路由器的服务集标识集合可以由用户根据实际情况来设置。
在一实施例中,步骤S204包括:
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重置指令,智能设备用于根据重置指令恢复到未连接路由器的状态;或者
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送断开连接指 令,智能设备用于断开与当前接入的路由器的连接;或者
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重连指令,智能设备用于断开与当前接入的路由器的连接,并尝试重连到另一路由器;或者
当智能设备当前接入的路由器为允许接入的路由器时,给智能设备发送保持连接指令,智能设备用于保持连接当前接入的路由器的状态。
上述实施例中,根据判断结果进行相应处理,当智能设备当前接入的路由器为禁止接入的路由器时,则及时断开与当前路由器的连接,否则,保持与当前路由器的连接。
在一实施例中,如图2所示,步骤S201之前,所述方法还包括:
步骤S200,接收智能设备的标识和智能设备的标识对应的路由器的服务集标识集合,并对应存储。智能设备的标识和智能设备的标识对应的路由器的服务集标识集合,可以从智能设备接收,或者由用户在智能设备的应用软件中设置后,从智能设备的应用软件接收。
图3是根据一示例性实施例示出的一种智能设备接入路由器的方法的流程图,如图3所示,该智能设备接入路由器的方法用于服务器或应用程序中,包括以下步骤S300-S304:
在步骤S300中,接收智能设备的标识和智能设备的标识对应的路由器的服务集标识集合,并对应存储。
在步骤S301中,接收智能设备的标识和智能设备当前接入的路由器的服务集标识;
在步骤S302中,获取智能设备的标识对应的路由器的服务集标识集合;
在步骤S303中,当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合时,通过判断当前接入的路由器的服务集标识是否在禁止接入的路由器的服务集标识集合中,来判断智能设备当前接入的路由器为禁止接入的路由器。该步骤包括:当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识在禁止接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为禁止接入的路由器;或者当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识不在禁止接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为允许接入的路由器。
在步骤S304中,根据判断结果,给智能设备发送相应指令。
上述实施例中,当智能设备接入路由器时,根据当前接入的路由器的服务集标识和智能设备的标识对应的路由器的服务集标识集合,及时判断智能设备当前接入的路由器是否为禁止接入的路由器;根据判断结果,给智能设备发送相应指令,进行处理,避免了智能设备持续地接入禁止接入的路由器。
步骤S304包括:
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重置指令,智能设备用于根据重置指令恢复到未连接路由器的状态;或者
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送断开连接指令,智能设备用于断开与当前接入的路由器的连接;或者
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重连指令,智能设备用于断开与当前接入的路由器的连接,并尝试重连到另一路由器;或者
当智能设备当前接入的路由器为允许接入的路由器时,给智能设备发送保持连接指令,智能设备用于保持连接当前接入的路由器的状态。
上述实施例中,根据判断结果进行相应处理,当智能设备当前接入的路由器为禁止接入的路由器时,则及时断开与当前路由器的连接,否则,保持与当前路由器的连接。
图4是根据一示例性实施例示出的一种智能设备接入路由器的方法的流程图,如图4所示,该智能设备接入路由器的方法用于服务器或应用程序中,包括以下步骤S400-S404:
步骤S400,接收智能设备的标识和智能设备的标识对应的路由器的服务集标识集合,并对应存储。
在步骤S401中,接收智能设备的标识和智能设备当前接入的路由器的服务集标识;
在步骤S402中,获取智能设备的标识对应的路由器的服务集标识集合;
在步骤S403中,当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,通过判断当前接入的路由器的服务集标识是否在允许接入的路由器的服务集标识集合中,来判断智能设备当前接入的路由器为禁止接入的路由器。该步骤包括:当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识不在允许接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为禁止接入的路由器;当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识在允许接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为允许接入的路由器。
在步骤S404中,根据判断结果,给智能设备发送相应指令。
上述实施例中,当智能设备接入路由器时,根据当前接入的路由器的服务集标识和智能设备的标识对应的路由器的服务集标识集合,及时判断智能设备当前接入的路由器是否为禁止接入的路由器;根据判断结果,给智能设备发送相应指令,进行处理,避免了智能设备持续地接入禁止接入的路由器。
步骤S404包括:
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重置指令,智能设备用于根据重置指令恢复到未连接路由器的状态;或者
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送断开连接指令,智能设备用于断开与当前接入的路由器的连接;或者
当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重连指令,智能设备用于断开与当前接入的路由器的连接,并尝试重连到另一路由器;或者
当智能设备当前接入的路由器为允许接入的路由器时,给智能设备发送保持连接指令,智能设备用于保持连接当前接入的路由器的状态。
上述实施例中,根据判断结果进行相应处理,当智能设备当前接入的路由器为禁止接 入的路由器时,则及时断开与当前路由器的连接,否则,保持与当前路由器的连接。
以下描述智能设备侧。
图5是根据一示例性实施例示出的一种智能设备接入路由器的方法的流程图,如图5所示,该智能设备接入路由器的方法用于智能设备或应用程序中,包括以下步骤S501-S503:
在步骤S501中,当智能设备接入路由器时,将智能设备的标识和路由器的服务集标识发送到服务器,服务器用于判断智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
在步骤S502中,从服务器接收根据判断结果生成的相应指令;
在步骤S503中,根据指令进行相应处理。
上述实施例中,当智能设备接入路由器时,将智能设备的标识和当前接入的路由器的服务集标识发送到服务器,使得服务器判断智能设备当前接入的路由器是否为禁止接入的路由器来生成相应指令,智能设备接收指令进行其相应处理,避免了智能设备持续地接入禁止接入的路由器。
步骤S503,包括:
当指令为重置指令时,恢复到未连接路由器的状态;
当指令为断开连接指令时,断开与当前接入的路由器的连接;
当指令为断开连接指令时,断开与当前接入的路由器的连接,并尝试重连到另一路由器;或者
当指令为保持连接指令时,保持连接当前接入的路由器的状态。
上述实施例中,当智能设备当前接入的路由器为禁止接入的路由器时,则及时断开与当前路由器的连接,否则,保持与当前路由器的连接,避免了智能设备持续地接入禁止接入的路由器。
以下描述本公开的应用场景。
首先,Wi-Fi智能设备在未接入路由器时,向周围广播包含自身设备描述信息的报文,周围的移动终端例如手机能够收到该报文。
然后,安装有“智能家庭”app应用软件(一种用于管理Wi-Fi智能设备的软件)的终端将会收到:“发现新设备”的提示消息。终端用户按照接下来的交互提示为智能设备选择接入的路由器并且输入密码,然后可以帮助智能设备接入到服务器。
然后,完成设备接入后,终端用户可以在“智能家庭”app的设备列表中找到该设备。点击列表进入设备控制界面,用户就可以控制设备、查看设备状态。
此外,用户还可以在设备控制界面中设置该设备“禁止接入的路由器ssid”。手机app扫描用户周围的Wi-Fi列表,用户可以选择想要禁止智能设备接入的一些路由器ssid,app将设备id和被禁止的路由器ssid发送给服务器保存下来。
这样,一旦用户重置了该设备,没有及时将设备连入到路由器前,设备周围的其它用 户都可以在手机app中发现到该设备。如果其他用户将该设备连入到了自己的路由器,智能设备会将自己的设备id和路由器ssid发送给服务器,服务器发现该设备接入到不被允许接入的该路由器后,可以向设备发送重置命令。
通过这种方式,可以在一定程度上避免用户的设备被邻居连走的情况,或者避免用户的设备持续接入禁止接入的路由器。
图6是根据一示例性实施例示出的一种智能设备接入路由器的装置的框图,如图6所示,一种智能设备接入路由器的装置,所述装置包括:
第一接收模块61,被配置为接收智能设备的标识和智能设备当前接入的路由器的服务集标识;
获取模块62,被配置为获取智能设备的标识对应的路由器的服务集标识集合;
判断模块63,被配置为根据当前接入的路由器的服务集标识和路由器的服务集标识集合,判断智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
发送模块64,被配置为根据判断结果,给智能设备发送相应指令。
上述实施例中,当智能设备接入路由器时,根据当前接入的路由器的服务集标识和智能设备的标识对应的路由器的服务集标识集合,及时判断智能设备当前接入的路由器是否为禁止接入的路由器;根据判断结果,给智能设备发送相应指令,进行处理,避免了智能设备持续地接入禁止接入的路由器。
在一个实施例中,所述装置还包括:
第二接收模块65,被配置为接收智能设备的标识和智能设备的标识对应的路由器的服务集标识集合,并对应存储。
如图7所示,判断模块63,包括:
第一判断子模块631,被配置为当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识在禁止接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为禁止接入的路由器;或
第二判断子模块632,被配置为当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识不在允许接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为禁止接入的路由器。
判断模块,还可以包括:
第三判断子模块633,被配置为当路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识不在禁止接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为允许接入的路由器;或
第四判断子模块634,被配置为当路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且当前接入的路由器的服务集标识在允许接入的路由器的服务集标识集合中时,则判断为智能设备当前接入的路由器为允许接入的路由器。
如图8所示,发送模块64,包括:
第一发送子模块641,被配置为当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重置指令,智能设备用于根据重置指令恢复到未连接路由器的状态;或者
第二发送子模块642,被配置为当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送断开连接指令,智能设备用于断开与当前接入的路由器的连接;
第三发送子模块643,被配置为当智能设备当前接入的路由器为禁止接入的路由器时,给智能设备发送重连指令,智能设备用于断开与当前接入的路由器的连接,并尝试重连到另一路由器。
发送模块,还可以包括:
第四发送子模块644,被配置为当智能设备当前接入的路由器为允许接入的路由器时,给智能设备发送保持连接指令,智能设备用于保持连接当前接入的路由器的状态。
如图9所示,为本公开的一种智能设备接入路由器的装置,包括:
发送模块91,被配置为当智能设备接入路由器时,将智能设备的标识和路由器的服务集标识发送到服务器,服务器用于判断智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
接收模块92,被配置为从服务器接收根据判断结果生成的相应指令;
处理模块93,被配置为根据指令进行相应处理。
如图10所示,处理模块93,包括:
恢复子模块931,被配置为当指令为重置指令时,恢复到未连接路由器的状态;
断开子模块932,被配置为当指令为断开连接指令时,断开与当前接入的路由器的连接;
重连子模块933,被配置为当指令为断开连接指令时,断开与当前接入的路由器的连接,并尝试重连到另一路由器;或者
保持连接子模块934,被配置为当指令为保持连接指令时,保持连接当前接入的路由器的状态。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图11是根据一示例性实施例示出的一种用于智能设备接入路由器的装置1200的框图,该装置适用于智能设备设备。例如,装置1200可以是移动电话,计算机,数字广播智能设备,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图11,装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。
处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件1202可以包括一个或多个处理器1220来执 行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理部件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。
存储器1204被配置为存储各种类型的数据以支持在设备1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件1206为装置1200的各种组件提供电力。电力组件1206可以包括电源管理***,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。
多媒体组件1208包括在所述装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当设备1200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜***或具有焦距和光学变焦能力。
音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。
I/O接口1212为处理组件1202和***接口模块之间提供接口,上述***接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到设备1200的打开/关闭状态,组件的相对定位,例如所述组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1216被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件1216经由广播信道接收来自外部广播管理***的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本公开还提供一种智能设备接入路由器的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
获取所述智能设备的标识对应的路由器的服务集标识集合;
根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
根据所述判断结果,给所述智能设备发送相应指令。
本公开还提供一种智能设备接入路由器的装置,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
从所述服务器接收根据所述判断结果生成的相应指令;
根据所述指令进行相应处理。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动智能设备的处理器执行时,使得移动智能设备能够执行一种智能设备接入路由器的方法,所述方法包括:
接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
获取所述智能设备的标识对应的路由器的服务集标识集合;
根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
根据所述判断结果,给所述智能设备发送相应指令。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动智能设备的处理器执行时,使得移动智能设备能够执行一种智能设备接入路由器的方法,所述方法包括:
当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
从所述服务器接收根据所述判断结果生成的相应指令;
根据所述指令进行相应处理。
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (17)

  1. 一种智能设备接入路由器的方法,其特征在于,所述方法包括:
    接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
    获取所述智能设备的标识对应的路由器的服务集标识集合;
    根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
    根据所述判断结果,给所述智能设备发送相应指令。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为允许接入的路由器,包括:
    当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器;或
    当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述判断结果,给所述智能设备发送相应指令,包括:
    当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重置指令,所述智能设备用于根据所述重置指令恢复到未连接路由器的状态;或者
    当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送断开连接指令,所述智能设备用于断开与所述当前接入的路由器的连接;或者
    当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重连指令,所述智能设备用于断开与所述当前接入的路由器的连接,并尝试重连到另一路由器。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为允许接入的路由器,包括:
    当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器;或
    当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述判断结果,给所述智能设备发送相应指令,包括:
    当所述智能设备当前接入的路由器为允许接入的路由器时,给所述智能设备发送保持连接指令,所述智能设备用于保持连接所述当前接入的路由器的状态。
  6. 根据权利要求1所述的方法,其特征在于,所述接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识之前,所述方法还包括:
    接收智能设备的标识和所述智能设备的标识对应的路由器的服务集标识集合,并对应存储。
  7. 一种智能设备接入路由器的方法,其特征在于,包括:
    当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
    从所述服务器接收根据所述判断结果生成的相应指令;
    根据所述指令进行相应处理。
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述指令进行相应处理,包括:
    当所述指令为重置指令时,恢复到未连接路由器的状态;
    当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接;
    当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接,并尝试重连到另一路由器;或者
    当所述指令为保持连接指令时,保持连接所述当前接入的路由器的状态。
  9. 一种智能设备接入路由器的装置,其特征在于,所述装置包括:
    第一接收模块,用于接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
    获取模块,用于获取所述智能设备的标识对应的路由器的服务集标识集合;
    判断模块,用于根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
    发送模块,用于根据所述判断结果,给所述智能设备发送相应指令。
  10. 根据权利要求9所述的装置,其特征在于,所述判断模块,包括:
    第一判断子模块,用于当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器;或
    第二判断子模块,用于当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为禁止接入的路由器。
  11. 根据权利要求9所述的装置,其特征在于,所述发送模块,包括:
    第一发送子模块,用于当所述智能设备当前接入的路由器为禁止接入的路由器时,给 所述智能设备发送重置指令,所述智能设备用于根据所述重置指令恢复到未连接路由器的状态;或者
    第二发送子模块,用于当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送断开连接指令,所述智能设备用于断开与所述当前接入的路由器的连接;
    第三发送子模块,用于当所述智能设备当前接入的路由器为禁止接入的路由器时,给所述智能设备发送重连指令,所述智能设备用于断开与所述当前接入的路由器的连接,并尝试重连到另一路由器。
  12. 根据权利要求9所述的装置,其特征在于,所述判断模块,包括:
    第三判断子模块,用于当所述路由器的服务集标识集合为禁止接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识不在所述禁止接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器;或
    第四判断子模块,用于当所述路由器的服务集标识集合为允许接入的路由器的服务集标识集合,且所述当前接入的路由器的服务集标识在所述允许接入的路由器的服务集标识集合中时,则判断为所述智能设备当前接入的路由器为允许接入的路由器。
  13. 一种智能设备接入路由器的装置,其特征在于,包括:
    发送模块,用于当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
    接收模块,用于从所述服务器接收根据所述判断结果生成的相应指令;
    处理模块,根据所述指令进行相应处理。
  14. 根据权利要求13所述的装置,其特征在于,所述处理模块,包括:
    恢复子模块,用于当所述指令为重置指令时,恢复到未连接路由器的状态;
    断开子模块,用于当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接;
    重连子模块,用于当所述指令为断开连接指令时,断开与所述当前接入的路由器的连接,并尝试重连到另一路由器;或者
    保持连接子模块,用于当所述指令为保持连接指令时,保持连接所述当前接入的路由器的状态。
  15. 一种智能设备接入路由器的装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;
    获取所述智能设备的标识对应的路由器的服务集标识集合;
    根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
    根据所述判断结果,给所述智能设备发送相应指令。
  16. 一种智能设备接入路由器的装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,所述服务器用于判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;
    从所述服务器接收根据所述判断结果生成的相应指令;
    根据所述指令进行相应处理。
  17. 一种智能设备接入路由器的***,其特征在于,包括:服务器和智能设备;
    所述服务器用于:接收智能设备的标识和所述智能设备当前接入的路由器的服务集标识;获取所述智能设备的标识对应的路由器的服务集标识集合;根据所述当前接入的路由器的服务集标识和所述路由器的服务集标识集合,判断所述智能设备当前接入的路由器是否为禁止接入的路由器,生成判断结果;根据所述判断结果,给所述智能设备发送相应指令;
    所述智能设备用于:当智能设备接入路由器时,将所述智能设备的标识和所述路由器的服务集标识发送到服务器,从所述服务器接收根据所述判断结果生成的相应指令;根据所述指令进行相应处理。
PCT/CN2015/090362 2015-07-28 2015-09-23 智能设备接入路由器的方法、装置以及*** WO2017016057A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
RU2016118231A RU2638153C2 (ru) 2015-07-28 2015-09-23 Способ, оборудование и система для интеллектуального устройства для осуществления доступа к маршрутизатору
BR112016010667-9A BR112016010667B1 (pt) 2015-07-28 2015-09-23 Métodos e sistema para um dispositivo inteligente para acessar um roteador
MX2016003972A MX362085B (es) 2015-07-28 2015-09-23 Método, aparato y sistema para que un dispositivo inteligente acceda a un router.
KR1020157032536A KR101713305B1 (ko) 2015-07-28 2015-09-23 스마트 기기의 라우터 액세스 방법, 장치, 시스템, 프로그램 및 기록매체
JP2017530390A JP2017527238A (ja) 2015-07-28 2015-09-23 スマート機器のルータアクセス方法、装置、システム、プログラム及び記録媒体

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510452197.7A CN105120505B (zh) 2015-07-28 2015-07-28 智能设备接入路由器的方法、装置以及***
CN201510452197.7 2015-07-28

Publications (1)

Publication Number Publication Date
WO2017016057A1 true WO2017016057A1 (zh) 2017-02-02

Family

ID=54668330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090362 WO2017016057A1 (zh) 2015-07-28 2015-09-23 智能设备接入路由器的方法、装置以及***

Country Status (8)

Country Link
US (1) US20170034776A1 (zh)
EP (1) EP3125615B1 (zh)
JP (1) JP2017527238A (zh)
KR (1) KR101713305B1 (zh)
CN (1) CN105120505B (zh)
MX (1) MX362085B (zh)
RU (1) RU2638153C2 (zh)
WO (1) WO2017016057A1 (zh)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017051937A1 (ko) * 2015-09-22 2017-03-30 (주) 이스트몹 P2p 파일 전송 시스템, 방법 및 프로그램
CN109804670B (zh) * 2016-10-07 2021-12-03 索尼移动通讯有限公司 动态接入禁止方法、无线通信终端、网络节点与***
US10129255B1 (en) * 2017-05-12 2018-11-13 International Business Machines Corporation Device authentication with MAC address and time period
CN107231275B (zh) * 2017-05-31 2021-07-30 普天智能照明研究院有限公司 用于用户设备与家居设备连接配置的方法
RU2651142C1 (ru) * 2017-08-18 2018-04-18 Валентин Львович Ким Способ и система автоматизированного программирования при помощи экспертной системы, интеллектуальных систем асу, основанных на программно-логических контроллерах (плк) и микроконтроллерах
CN107979863B (zh) * 2017-11-27 2020-03-17 Oppo广东移动通信有限公司 一种WiFi自动连接方法、***及终端设备
US10791118B2 (en) * 2018-03-29 2020-09-29 Mcafee, Llc Authenticating network services provided by a network
CN110769442B (zh) * 2019-10-16 2023-07-21 海尔优家智能科技(北京)有限公司 用于接入路由器的方法及装置、物联网设备
CN110944063B (zh) * 2019-12-10 2021-11-30 航天新长征大道科技有限公司 可编程逻辑控制设备连接方法、控制***及可读介质
CN114051274A (zh) * 2021-11-09 2022-02-15 青岛海信宽带多媒体技术有限公司 一种路由器及路由器中继连接方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227645A1 (en) * 2012-02-29 2013-08-29 Pantech Co., Ltd. Terminal and method for access point verification
CN103916982A (zh) * 2014-03-21 2014-07-09 海尔集团公司 智能家电设备接入无线路由器的方法及设备
US20140254577A1 (en) * 2013-03-08 2014-09-11 Microchip Technology Incorporated Method for Wireless Easy Connect
CN104660405A (zh) * 2013-11-21 2015-05-27 ***通信集团公司 一种业务设备认证方法及设备

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4127180B2 (ja) * 2003-10-10 2008-07-30 日本電気株式会社 移動体通信システム、管理サーバ及び移動体通信方法
US20070049323A1 (en) * 2005-08-25 2007-03-01 Research In Motion Limited Rogue access point detection and restriction
US9775096B2 (en) * 2007-10-08 2017-09-26 Qualcomm Incorporated Access terminal configuration and access control
US9055511B2 (en) * 2007-10-08 2015-06-09 Qualcomm Incorporated Provisioning communication nodes
AU2011253870A1 (en) * 2007-10-08 2012-01-12 Qualcomm Incorporated Provisioning communication nodes
US9363745B2 (en) * 2008-03-26 2016-06-07 Srinivasan Balasubramanian Device managed access point lists in wireless communications
PL2327200T3 (pl) * 2008-07-28 2013-03-29 France Telecom Sposób otrzymywania informacji z lokalnego środowiska terminala
US10743251B2 (en) * 2008-10-31 2020-08-11 Qualcomm Incorporated Support for multiple access modes for home base stations
JP5321037B2 (ja) * 2008-12-19 2013-10-23 マツダ株式会社 車両用駆動装置の油圧制御装置
US8750265B2 (en) * 2009-07-20 2014-06-10 Wefi, Inc. System and method of automatically connecting a mobile communication device to a network using a communications resource database
CN103299683A (zh) * 2011-01-09 2013-09-11 缤果无线有限公司 用于动态无线网络发现的***、方法和装置
US8660008B2 (en) * 2011-03-02 2014-02-25 3Inova Networks Inc. Traffic management in distributed wireless networks
CN102572830B (zh) * 2012-01-19 2015-07-08 华为技术有限公司 终端接入认证的方法及用户端设备
JP5804518B2 (ja) * 2012-08-09 2015-11-04 市川 正人 遊技店画像提供システム
EP2923518A1 (en) * 2012-11-22 2015-09-30 Telefonaktiebolaget L M Ericsson (publ) A method and apparatus for controlling association between a station and a wlan
US20140169185A1 (en) * 2012-12-13 2014-06-19 Ali Masoomzadeh-Fard Method for handover at user equipment and user equipment configured to handover
CN103873456B (zh) * 2012-12-18 2017-06-06 华为终端有限公司 WiFi设备的访问控制方法及WiFi设备
TWI491228B (zh) * 2012-12-26 2015-07-01 Ind Tech Res Inst 多網路上無線存取之頻寬整合方法與裝置
KR102179533B1 (ko) * 2013-02-28 2020-11-17 삼성전자주식회사 무선 통신 시스템에서 무선랜으로부터의 셀 접속 제어 및 유효한 주변 무선랜 엑세스포인트 정보 제공을 위한 방법 및 장치
CN104080148A (zh) * 2013-03-29 2014-10-01 华为终端有限公司 实现快速网络连接的方法和装置
CN103458409A (zh) * 2013-08-19 2013-12-18 小米科技有限责任公司 网络连接方法、网络共享方法及装置
CN103475667A (zh) * 2013-09-24 2013-12-25 小米科技有限责任公司 一种控制访问路由器的方法、装置及***
US20150139211A1 (en) * 2013-11-19 2015-05-21 Huawei Technologies Co., Ltd. Method, Apparatus, and System for Detecting Rogue Wireless Access Point
JP6079600B2 (ja) * 2013-12-11 2017-02-15 ヤマハ株式会社 加振器の取付構造
CN103929796B (zh) * 2013-12-31 2019-03-15 小米科技有限责任公司 共享接入点的方法及装置
CN104684048B (zh) * 2015-03-04 2019-06-04 小米科技有限责任公司 Wifi列表的展现方法和装置
CN104754701A (zh) * 2015-03-09 2015-07-01 广东欧珀移动通信有限公司 一种信号处理的方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227645A1 (en) * 2012-02-29 2013-08-29 Pantech Co., Ltd. Terminal and method for access point verification
US20140254577A1 (en) * 2013-03-08 2014-09-11 Microchip Technology Incorporated Method for Wireless Easy Connect
CN104660405A (zh) * 2013-11-21 2015-05-27 ***通信集团公司 一种业务设备认证方法及设备
CN103916982A (zh) * 2014-03-21 2014-07-09 海尔集团公司 智能家电设备接入无线路由器的方法及设备

Also Published As

Publication number Publication date
US20170034776A1 (en) 2017-02-02
RU2638153C2 (ru) 2017-12-12
KR101713305B1 (ko) 2017-03-07
MX2016003972A (es) 2017-04-27
MX362085B (es) 2019-01-07
RU2016118231A (ru) 2017-11-16
EP3125615B1 (en) 2021-03-03
CN105120505B (zh) 2019-04-16
CN105120505A (zh) 2015-12-02
BR112016010667A2 (pt) 2017-10-10
KR20170023700A (ko) 2017-03-06
EP3125615A1 (en) 2017-02-01
JP2017527238A (ja) 2017-09-14

Similar Documents

Publication Publication Date Title
WO2017016057A1 (zh) 智能设备接入路由器的方法、装置以及***
US10560491B2 (en) Methods and apparatuses for binding with device
WO2016192323A1 (zh) 视频通信方法及装置
EP3163803B1 (en) Method and device for establishing connection
RU2637470C2 (ru) Способ и устройство для обнаружения интеллектуального устройства
US10064000B2 (en) Method, apparatus, and storage medium for acquiring terminal information
US10027549B2 (en) Method and apparatus for displaying router setup interface
EP3226432B1 (en) Method and devices for sharing media data between terminals
JP6250867B2 (ja) ネットワーク接続方法、装置、プログラム及び記録媒体
EP3136699A1 (en) Method and device for connecting external equipment
WO2016127669A1 (zh) 终端设备接入无线网络的方法及装置
US20180146420A1 (en) Method and apparatus for establishing network connection
US11197192B2 (en) Network connection management method, device and system
US20160308869A1 (en) Method and Device for Controlling Access
US9674768B2 (en) Method and device for accessing wireless network
WO2017024739A1 (zh) 发送文件的方法及装置
US20170316039A1 (en) Information acquisition method, device and system
EP3177043A2 (en) Method and apparatus for managing routing device and mobile terminal
EP3086528A1 (en) Method and device for controlling access of smart device
CN106211166B (zh) 控制网络连接的方法及装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 1020157032536

Country of ref document: KR

ENP Entry into the national phase

Ref document number: 2017530390

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/003972

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2016118231

Country of ref document: RU

Kind code of ref document: A

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

Ref document number: 15899409

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016010667

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112016010667

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160511

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15899409

Country of ref document: EP

Kind code of ref document: A1