WO2017020413A1 - 网络接入方法、设备及系统 - Google Patents

网络接入方法、设备及系统 Download PDF

Info

Publication number
WO2017020413A1
WO2017020413A1 PCT/CN2015/090560 CN2015090560W WO2017020413A1 WO 2017020413 A1 WO2017020413 A1 WO 2017020413A1 CN 2015090560 W CN2015090560 W CN 2015090560W WO 2017020413 A1 WO2017020413 A1 WO 2017020413A1
Authority
WO
WIPO (PCT)
Prior art keywords
network access
state
network
access
access device
Prior art date
Application number
PCT/CN2015/090560
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 JP2017531940A priority Critical patent/JP6383109B2/ja
Priority to MX2016002134A priority patent/MX365740B/es
Priority to RU2016113885A priority patent/RU2637466C2/ru
Priority to KR1020157032978A priority patent/KR101732559B1/ko
Publication of WO2017020413A1 publication Critical patent/WO2017020413A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/186Processing of subscriber group data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to a network access method, device, and system.
  • Zigbee (Chinese: Zifeng) technology is a short-range, low-power, low-rate, low-cost two-way wireless communication technology, mainly used between various electronic devices with short distance, low power consumption and low transmission rate. data transmission.
  • Zigbee devices usually need to be connected to the network through the Zigbee gateway to communicate with other devices on the network.
  • the Zigbee gateway is usually in the forbidden device access state, but the Zigbee gateway can establish a binding relationship with the terminal.
  • the Zigbee gateway can switch its own state to allow the device to access the state according to the instruction of the device that is bound to the device that is allowed to access the device.
  • the Zigbee gateway is allowed to access the device for a preset period of time.
  • the Zigbee device after powering on a Zigbee device (hereinafter referred to as a Zigbee device) that is not in the network, the Zigbee device can broadcast its own media access control to its surrounding Zigbee gateway (hereinafter referred to as a Zigbee gateway).
  • a Zigbee gateway Zigbee gateway
  • beacon request (English: Media Access Control, MAC for short) address request beacon frame (English: beacon request) message, after the Zigbee gateway receives the request beacon frame, if the Zigbee gateway is currently allowed to access the device, The Zigbee gateway sends a response message to the Zigbee device to allow the Zigbee device to access, and accesses the Zigbee device to the network according to the MAC address of the Zigbee device; if the Zigbee gateway is currently in the disabled device access state, the Zigbee gateway The Zigbee device sends a response message that does not allow Zigbee device access.
  • the Zigbee gateway sends a prompt message to the mobile terminal to which it is bound to inform the user that there is currently a Zigbee device that is not connected to the network.
  • the user can operate the terminal bound to the Zigbee gateway according to the prompt, so that the terminal bound to the Zigbee gateway is directed to Zigbee.
  • the gateway sends an instruction to allow the device to access.
  • the Zigbee gateway switches its state to allow the device to access the state according to an instruction sent by the terminal bound to the device, so that the Zigbee device can access the network.
  • the embodiments of the present disclosure provide a network access method, device, and system.
  • the technical solution is as follows:
  • a network access method comprising:
  • the reply information indicates that the state of the network access device is switched to allow the device to access the state
  • the state of the network access device is switched to the allowed device access state
  • the request message includes: a device identifier of the first communications device, where the state switching request includes: a device identifier of the first communications device, the binding to the network access device
  • the terminal sends a status switch request, including:
  • the device identification list records device identifiers of all communication device that send the request message within the preset time period from the time when the request message sent by the first communication device is received;
  • the reply information includes: a target device identifier, where the target device identifier is a device identifier selected by a user of the terminal in the device identifier list, and the method further includes:
  • the communication device corresponding to the target device identifier is connected to the network;
  • the method further includes:
  • the network access device If the network access device is currently in the allowed device access state, determining whether the first communication device is a device that the network access device is allowed to access;
  • the first communication device is a device that the network access device is allowed to access, the first communication device is accessed into the network;
  • the request message includes: a type identifier of the first communication device,
  • the device that determines whether the first communication device is allowed to be accessed by the network access device includes:
  • the type of the first communications device is a type that the network access device allows access, determining that the first communications device is a device that the network access device allows access to.
  • the request message includes: an address of the first communications device,
  • the device that determines whether the first communication device is allowed to be accessed by the network access device includes:
  • the address of the first communication device belongs to an address range that the network access device allows access, determining that the first communication device is a device that the network access device is allowed to access.
  • the switching the state of the network access device to allow the device to access the state includes:
  • the state of the network access device is switched to allow the device to access the state, so that the network access device is in the allowed device access state within a preset time window.
  • a network access method includes:
  • the state switching request is that the network access device receives the request message for requesting access to the network that is broadcast by the first communications device, and determines that the The network access device is currently sent after the device is disabled.
  • the network access device is configured to connect the network when the reply information indicates that the state of the network access device is switched to allow the device to access the state.
  • the state of the incoming device is switched to allow the device to access the state.
  • the state switching request includes: a device identifier of the first communications device, and the receiving, by the network access device bound to the terminal, a state switching request, including:
  • a state switching request that includes a device identifier list, where the device identifier list records, from a moment when the request packet sent by the first communications device is received, preset The device ID of all communication devices that send request messages during the time period.
  • the generating the reply information according to the state switching request includes:
  • Target device identifier is a device identifier selected by the user in the device identifier list
  • a network access method includes:
  • the network access device And transmitting, by the network access device, a request message for requesting access to the network, where the network access device is configured to detect a current state of the network access device, where the network access device is currently in a prohibited device access state. And transmitting a state switching request to the terminal bound to the network access device.
  • the request message includes: a device identifier of the first communications device, where the request packet further includes: at least: a type identifier of the first communications device and an address of the first communications device One.
  • a network access device where the device includes:
  • the first receiving module is configured to receive a request message for requesting access to the network that is broadcast by the first communications device;
  • a detection module configured to be a current state of the network access device
  • the first sending module is configured to send a state switching request to the terminal bound to the network access device when the network access device is currently in the forbidden device access state, where the terminal is configured to use the state according to the state Switching the request to generate a reply message;
  • a second receiving module configured to receive the reply information sent by the terminal
  • a switching module configured to switch the state of the network access device to an allowed device at the reply information When the state is accessed, the state of the network access device is switched to allow the device to access the state.
  • the request message includes: a device identifier of the first communications device, where the state switching request includes: a device identifier of the first communications device,
  • the first sending module is configured to generate a device identifier list, where the device identifier list records all the transmissions received within a preset time period from the moment the request packet sent by the first communication device is received And a device identifier of the communication device that requests the packet; and sends a state switching request including the device identifier list to the terminal bound to the network access device.
  • the reply information includes: a target device identifier, where the target device identifier is a device identifier selected by a user of the terminal in the device identifier list, and the device further includes:
  • a first access module configured to connect the communication device corresponding to the target device identifier to the network
  • the second sending module is configured to send a response message to the communication device corresponding to the target device identifier, where the response message is used to indicate that the communication device network access corresponding to the target device identifier is successful.
  • the device further includes:
  • the determining module is configured to determine, when the network access device is currently in the allowed device access state, whether the first communication device is a device that the network access device is allowed to access;
  • a second access module configured to: when the first communications device is a device that the network access device allows access, connect the first communications device to a network;
  • the third sending module is configured to send a response message to the first communications device, where the response packet is used to indicate that the first communications device network access is successful.
  • the request message includes: a type identifier of the first communication device,
  • the determining module is configured to determine, according to the type identifier of the first communications device, whether the type of the first communications device is a type allowed by the network access device, and the type of the first communications device When the type is the type of access allowed by the network access device, determining that the first communication device is a device that the network access device allows access to.
  • the request message includes: an address of the first communications device,
  • the determining module is configured to determine whether an address of the first communications device belongs to an address range allowed by the network access device, and an address of the first communications device belongs to the network access device. When the address range is entered, it is determined that the first communication device is a device that the network access device is allowed to access.
  • the switching module is configured to switch the state of the network access device to allow the device to access the state, so that the network access device is in the allowed device access state within a preset time window.
  • a network access device where the device includes:
  • the receiving module is configured to receive a state switching request sent by the network access device bound to the terminal, where the state switching request is that the network access device receives the broadcast of the first communication device for requesting access to the network. Requesting a message, and determining that the network access device is currently sent after the device is disabled;
  • Generating a module configured to generate reply information according to the state switching request
  • a sending module configured to send the reply information to the network access device, where the network access device is configured to: when the reply information indicates that the state of the network access device is switched to allow a device access state And switching the state of the network access device to allow the device to access the state.
  • the state switching request includes: a device identifier of the first communications device,
  • the receiving module is configured to receive a state switching request including a device identification list sent by the network access device bound to the terminal, where the device identification list records a request sent from the first communication device The device identifier of all communication devices that send the request message within the preset time period from the time of the message.
  • the generating module is configured to display the device identifier list according to the state switching request, and receive a triggering instruction generated by the user triggering the target device identifier, where the target device identifier is that the user is in the device Identifying a device identifier selected in the list; and generating reply information including the target device identifier according to the triggering instruction.
  • a network access device where the device includes:
  • a broadcast module configured to broadcast, to the network access device, a request message for requesting access to the network, where the network access device is configured to detect a current state of the network access device, where the network access device is currently When the device access state is prohibited, a state switching request is sent to the terminal bound to the network access device.
  • the request message includes: a device identifier of the first communications device, where the request packet further includes: at least: a type identifier of the first communications device and an address of the first communications device One.
  • a network access device including:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the reply information indicates that the state of the network access device is switched to allow the device to access the state
  • the state of the network access device is switched to the allowed device access state
  • a network access device including:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the state switching request is that the network access device receives the request message for requesting access to the network that is broadcast by the first communications device, and determines that the The network access device is currently sent after the device is disabled.
  • the network access device is configured to connect the network when the reply information indicates that the state of the network access device is switched to allow the device to access the state.
  • the state of the incoming device is switched to allow the device to access the state.
  • a network access device including:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the network access device And transmitting, by the network access device, a request message for requesting access to the network, where the network access device is configured to detect a current state of the network access device, where the network access device is currently in a prohibited device access state. And transmitting a state switching request to the terminal bound to the network access device.
  • a network access system comprising: a network access device, a terminal, and a first communication device,
  • the network access device includes the network access device according to any one of the fourth aspect or the fourth aspect of the present invention.
  • the terminal includes the network access device according to any one of the fifth aspect or the fifth aspect;
  • the network access device of any one of the sixth aspect or the sixth aspect of the first communication device is not limited to
  • a network access system comprising: a network access device, a terminal, and a first communication device,
  • the network access device includes the network access device described in the seventh aspect
  • the terminal includes the network access device of the eighth aspect
  • the first communication device includes the network access device of the ninth aspect.
  • the network access device receives the request message broadcast by the first communication device, detects the current state of the network access device, and is currently in the disabled device access state. Sending a state switching request to the terminal bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to access After the status, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 1 is a schematic structural diagram of an implementation environment involved in a network access method according to various embodiments of the present disclosure
  • FIG. 2 is a flowchart of a method for a network access method according to an exemplary embodiment
  • FIG. 3 is a flowchart of a method for a network access method according to another exemplary embodiment
  • FIG. 4 is a flowchart of a method for a network access method according to still another exemplary embodiment
  • 5-1 is a flowchart of a method of a network access method according to still another exemplary embodiment
  • FIG. 5-1 is a flowchart of a method for a network access device to send a state switching request to a terminal according to the embodiment shown in FIG. 5-1;
  • 5-3 is a flowchart of a method for receiving a state switching request sent by a network access device by the terminal according to the embodiment shown in FIG. 5-1;
  • 5-4 is a flowchart of a method for generating a reply message according to a state switching request by a terminal according to the embodiment shown in FIG. 5-1;
  • 5-5 is a display interface diagram of a terminal provided by the embodiment shown in FIG. 5-1;
  • 5-6 is a flowchart of a method for a network access device to switch its state to a device access state according to the embodiment shown in FIG. 5-1;
  • FIG. 5-1 is a flowchart of a method for determining, by the network access device, the device for determining whether the first communication device is a device that the network access device is allowed to access, provided by the embodiment shown in FIG. 5-1;
  • FIG. 5-8 is a flowchart of a method for determining, by the network access device of the embodiment shown in FIG. 5-1, whether the first communication device is a device that the network access device is allowed to access;
  • FIG. 6 is a block diagram of a network access device according to an exemplary embodiment
  • FIG. 7 is a block diagram of a network access device according to another exemplary embodiment.
  • FIG. 8 is a block diagram of a network access device according to still another exemplary embodiment.
  • FIG. 9 is a block diagram of a network access device according to still another exemplary embodiment.
  • FIG. 10 is a block diagram of a network access device according to an exemplary embodiment
  • FIG. 11 is a block diagram of a network access device according to another exemplary embodiment.
  • FIG. 12 is a block diagram of a network access device according to still another exemplary embodiment.
  • FIG. 13 is a schematic structural diagram of a network access system according to an exemplary embodiment.
  • the implementation environment includes a first communication device 110, a network access device 120, and a terminal 130.
  • the implementation environment may further include a server 140 and a second communication device 150.
  • the first communication device 110 and the network access device 120, the network access device 120 and the server 140, the server 140 and the terminal 130, and the second communication device 150 and the network access device 120 may each pass a wired network or a wireless network.
  • the connection is not limited in this implementation environment, and in general, the network access device 120 can also be directly connected to the terminal 130 through a wired network or a wireless network. It should be noted that when the above devices are connected, the connection manner is The implementation environment does not limit this.
  • the first communication device 110 and the network access device 120 may be connected through a wired network
  • the network access device 120 and the terminal 130 may be connected through a wireless network.
  • the wireless network may include, but is not limited to, Bluetooth, infrared, wireless fidelity (English: WIreless-FIdelity, WIFI for short), data, and Zigbee network.
  • the first communication device 110 is a device that requests access to the network.
  • the first communication device may be a smart camera, a smart socket, a smart wristband, a smart television, an infrared remote controller, and the like.
  • the implementation environment is The first communication device 110 is a smart camera as an example.
  • the first communication device 110 may broadcast a request message for requesting access to the network to the network access device 120, and the request message may include the device identifier of the first communication device 110.
  • the request message may further include: a type identifier of the first communication device 110 or an address of the first communication device 110, where the address may be a MAC address of the first communication device 110, and the first communication device 110
  • the request packet broadcasted by the network access device 120 may be a beacon request packet, which is not limited in this implementation environment.
  • the first communication device 110 may broadcast the request message to the network access device 120 in a state that the first communication device 110 is powered on, and detects that the user is not in the network and does not save any network access information.
  • the network access device 120 is a device that can provide a network access service for the communication device.
  • the network access device 120 can be a device such as a gateway or a router.
  • the network access device 120 may receive the request packet that is used by the first communication device 110 to request access to the network, and detect the current state of the device. When the device is in the forbidden device access state, the network access device 120 may Transmitting a state switching request to the terminal (the terminal 130 in the implementation environment shown in FIG. 1) bound to the network access device 120, and receiving the reply information sent by the terminal 130, indicating the state of the network access device 120 in the reply information.
  • the network access device 120 When switching to allow the device to access the state, the network access device 120 switches the state of the network access device 120 to the allowed device access state, so that the network access device 120 is in the allowed device access state within a preset time window. Then, if the first communication device 110 broadcasts the request message to the network access device 120 again within the preset time window, the network access device 120 can access the first communication device 110 into the network.
  • the state switching request sent by the network access device 120 to the terminal 130 may also include the device identifier of the first communication device 110.
  • the state switching request that the network access device 120 can send to the terminal 130 immediately after receiving the request message broadcast by the first communication device 110 can also receive the preset of the request message broadcast by the first communication device 110.
  • the state switching request sent to the terminal 130 after the time period if the network access device 120 receives the state switching request sent to the terminal 130 after receiving the preset time period of the request message broadcast by the first communication device 110, the network access The device 120 may send a status switch request including a device identification list to the terminal 130, the device identification list recording the first from receiving The device identifier of the communication device that sends the request message in the preset time period from the time of the request message sent by the communication device 110 (for example, the request message may include the device identifier of the second communication device 150).
  • the network access device 120 can access the communication device corresponding to the target device identifier to the network according to the target device identifier included in the reply information sent by the terminal 130, so that the user of the terminal 130 can select the device that is allowed to access the network. And sending, to the communication device corresponding to the target device identifier, a response packet indicating that the communication device network access corresponding to the target device identifier is successful.
  • the network access device 120 can detect the current state of the network access device 120. When the network access device 120 is currently in the allowed device access state, the network access device 120 can determine whether the first communication device 110 is a network. The access device 120 allows access to the device. If the first communication device 110 is a device that the network access device 120 allows access to, the network access device 120 connects the first communication device 110 to the network, and The communication device 110 transmits a network access success response message for indicating the first communication device 110.
  • the request message broadcast by the first communication device 110 may include at least one of a type identifier of the first communication device 110 and an address of the first communication device 110, and the network access device 120 may be configured according to the type of the first communication device 110.
  • the identifier or the address of the first communication device 110 determines whether the first communication device 110 is a device that the network access device 120 allows access to. For example, the network access device 120 determines, according to the type identifier of the first communication device 110, whether the type of the first communication device 110 is a type that the network access device 120 allows access; if the type of the first communication device 110 is network access The device 120 allows the type of access, and the network access device 120 determines that the first communication device 110 is a device that the network access device allows access; for example, the network access device 120 determines whether the address of the first communication device 110 belongs to the network. The access device 120 allows the access address range; if the address of the first communication device 110 belongs to the address range that the network access device 120 allows access, the network access device 120 determines that the first communication device 110 is the network access device 120. Devices that are allowed to access.
  • the terminal 130 may be a terminal that is bound to the network access device 120.
  • the terminal 130 may control the device access status of the network access device 120.
  • the terminal 130 may be a smart phone, a tablet computer, a smart TV, a desktop computer, or the like. Wait.
  • the terminal 130 may receive a state switching request sent by the network access device 120, generate reply information according to the state switching request, and send reply information to the network access device 120, so that the network access device 120 indicates that the network access is in response to the information.
  • the state of the device 120 is switched to allow the device to access the state
  • the state of the network access device 120 is switched to the allowed device access state.
  • the state switching request includes: a device identifier of the first communications device 110, and the terminal 130 may receive a state switching request that is sent by the network access device 120, including the device identifier list, where the device identifier list records that the first communications device is received.
  • the device identifier of the communication device that sends the request message within the preset time period from the time of the request message sent by the 110.
  • the terminal 130 may display a device identifier list according to the state switching request, and receive a trigger instruction generated by the user triggering the target device identifier (for example, the device identifier of the second communication device 150), where the target device identifier is the device selected by the user in the device identifier list.
  • the terminal 130 and the network access device 120 are pre-established binding relationship, and the terminal 130 and the network
  • the process in which the network access device 120 establishes the binding relationship may be performed by the server 140 in the foregoing implementation environment, and the network access device 120 sends a state switching request to the terminal 130 and the network access device 120 receives the reply information sent by the terminal 130.
  • the implementation of the environment is not described here.
  • the second communication device 150 and the first communication device 110 in the foregoing implementation environment may be the same or different, and the implementation environment does not limit this.
  • FIG. 2 is a flowchart of a method for a network access method according to an exemplary embodiment.
  • the network access method is applied to the network access device 120 in the implementation environment shown in FIG. 1 for example.
  • the network access method may include the following steps:
  • step 201 a request message for requesting access to the network broadcasted by the first communication device is received.
  • step 202 the current state of the network access device is detected.
  • step 203 if the network access device is currently in the forbidden device access state, the terminal is configured to send a state switching request to the terminal that is bound to the network access device, and the terminal is configured to generate reply information according to the state switching request.
  • step 204 the reply information sent by the terminal is received.
  • step 205 when the reply information indicates that the state of the network access device is switched to the allowed device access state, the state of the network access device is switched to the allowed device access state.
  • the network access device receives the request message broadcast by the first communication device, detects the current state of the network access device, and is currently in the forbidden device access state. Sending a state switching request to the terminal bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to access After the status, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • the request message includes: a device identifier of the first communications device, where the state switching request includes: the device identifier of the first communications device, and the step 203 may include:
  • the device identification list records the device identifiers of all the communication devices that send the request messages received within the preset time period from the time of receiving the request message sent by the first communication device;
  • a state switching request including a device identification list is transmitted to the terminal bound to the network access device.
  • the reply information includes: a target device identifier, where the target device identifier is a device identifier selected by the user of the terminal in the device identifier list, and the method further includes:
  • the communication device corresponding to the target device identifier is connected to the network;
  • the method further includes:
  • the network access device If the network access device is currently in the allowed device access state, determining whether the first communication device is a device that the network access device is allowed to access;
  • the first communication device is a device that the network access device allows access, the first communication device is connected to the network;
  • the request message includes: a type identifier of the first communication device,
  • Determining whether the first communication device is a device that the network access device is allowed to access including:
  • the type of the first communication device is a type that the network access device allows access, it is determined that the first communication device is a device that the network access device allows access to.
  • the request message includes: an address of the first communication device,
  • Determining whether the first communication device is a device that the network access device is allowed to access including:
  • the address of the first communication device belongs to an address range that the network access device allows access, it is determined that the first communication device is a device that the network access device is allowed to access.
  • step 205 can include:
  • the state of the network access device is switched to allow the device to access the state, so that the network access device is in the allowed device access state within a preset time window.
  • the network access device receives the request message broadcast by the first communication device, detects the current state of the network access device, and is currently in the forbidden device access state. Sending a state switching request to the terminal bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to access After the status, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 3 is a flowchart of a method for a network access method according to another exemplary embodiment.
  • the network access method is applied to the terminal 130 in the implementation environment shown in FIG. 1 for example.
  • the network access method may include the following steps:
  • step 301 a state switching request sent by the network access device that is bound to the terminal is received, and the state switching request is that the network access device receives the request packet for requesting access to the network that is broadcast by the first communications device, and determines The network access device is currently sent after the device is disabled.
  • step 302 reply information is generated according to the state switching request.
  • the network access device sends a reply message, and the network access device is configured to switch the state of the network access device to allow when the reply information indicates that the state of the network access device is switched to allow the device to access the state.
  • Device access status the network access device is configured to switch the state of the network access device to allow when the reply information indicates that the state of the network access device is switched to allow the device to access the state.
  • the terminal receives the state switching request sent by the network access device bound to the terminal, generates a reply message according to the state switching request, and sends the response message to the network access device.
  • the information is so that the network access device switches the state of the network access device to the device access state according to the reply information, and after the state of the network access device is switched to allow the device to access the state, the first communication device can be connected.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by receiving the state switching request sent by the network access device, and achieves the beneficial effect of simplifying the network access process.
  • the state switching request includes: the device identifier of the first communications device, and the step 301 may include:
  • a state switching request including a device identifier list, where the device identifier list records the received time within a preset time period from the moment the request packet sent by the first communication device is received The device ID of all communication devices that send request messages.
  • step 302 may include:
  • Target device identifier is a device identifier selected by the user in the device identifier list
  • reply information including the target device identifier is generated.
  • the terminal receives the state switching request sent by the network access device bound to the terminal, generates a reply message according to the state switching request, and sends the response message to the network access device.
  • Replying to the information so that the network access device switches the state of the network access device to the device access state according to the reply information, and after the state of the network access device is switched to allow the device to access the state, the first communication device can be connected.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by receiving the state switching request sent by the network access device, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 4 is a flowchart of a method for a network access method according to still another exemplary embodiment.
  • the network access method is applied to the first communication device 110 in the implementation environment shown in FIG. for example.
  • the network access method may include the following steps:
  • a request message for requesting access to the network is broadcasted to the network access device, where the network access device is configured to detect the current state of the network access device, when the network access device is currently in the forbidden device access state. And sending a state switching request to the terminal bound to the network access device.
  • the request message includes: a device identifier of the first communications device, where the request packet further includes: at least one of a type identifier of the first communications device and an address of the first communications device.
  • the first communication device broadcasts a request message for requesting access to the network by using the network access device, so that the network access device is currently in the network access device.
  • the device sends a state switching request to the terminal that is bound to the network access device, and switches the state of the network access device to the device access state according to the reply information sent by the terminal, and accesses the network access device.
  • the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 5-1 is a flowchart of a method for a network access method according to still another exemplary embodiment. This embodiment is illustrated by using the network access method in the implementation environment shown in FIG. 1 .
  • the network access method may include the following steps:
  • the first communications device broadcasts a request message for requesting access to the network to the network access device, where the network access device is configured to detect a current state of the network access device, where the network access device is currently in the forbidden device.
  • a state switching request is sent to the terminal bound to the network access device.
  • the first communication device is the first communication device 110 in the implementation environment shown in FIG. 1
  • the network access device is the network access device 120 in the implementation environment shown in FIG. 1 to connect with the network.
  • the terminal that is bound to the device is the terminal 130 in the implementation environment shown in FIG. 1 as an example.
  • the first communication device 110 can be a smart camera, a smart socket, a smart wristband, a smart television, an infrared remote controller, and the like.
  • the first access device 120 may broadcast a request message for requesting access to the network, so that the network access device 120 provides the network access service for the first communication device 110.
  • the request message may include the device identifier of the first communication device 110, and may further include at least one of a type identifier of the first communication device 110 and an address of the first communication device 110.
  • the request message may be a beacon request message, and the address of the first communication device 110 may be the MAC address of the first communication device 110.
  • the request message may include the device identifier ID-A, and the type identifier ID-m and the MAC address. At least one of ID-2.
  • the first communication device 110 may broadcast a request message for requesting access to the network to the network access device 120 when the first communication device 110 is powered on and detects that it is in the network access state.
  • the request message for requesting access to the network may be broadcast to the network access device 120 after the first communication device 110 is reset, which is not limited by the embodiment of the present disclosure.
  • the first communication device 110 accesses the network before, and the first communication device 110 stores the network access information. Therefore, when the first communication device 110 is powered on, the first communication device 110 can take precedence.
  • the embodiment of the present disclosure does not limit the network access information stored in the disclosure.
  • the network access device receives a request message broadcast by the first communication device for requesting access to the network.
  • the network access device 120 may receive a request message for requesting access to the network broadcast by the first communication device 110, for example.
  • the network access device 120 receives the first communication device 110 to broadcast a beacon request message, where the beacon request message may include the first communication device 110 device identifier ID-A, and the first communication device 110 type identifier ID-m and MAC. At least one of the addresses ID-2.
  • step 503 the network access device detects the current state of the network access device. If the network access device is currently in the forbidden device access state, step 504 to step 511 are performed. If the network access device is currently in the allowed device access state, step 512 to step 514 are performed.
  • the network access device 120 After receiving the request message broadcast by the first communication device 110 for requesting access to the network, the network access device 120 receives the request message.
  • the current state of the network access device 120 can be detected, and the current state of the network access device 120 can be any one of a forbidden device access state and an allowed device access state.
  • step 504 if the network access device is currently in the forbidden device access state, the terminal is configured to send a state switching request to the terminal that is bound to the network access device, and the terminal is configured to generate reply information according to the state switching request.
  • the network access device 120 may send a state switching request to the terminal bound to the network access device 120, where The terminal bound to the network access device 120 may be the terminal 130 in the implementation environment shown in FIG. 1. Therefore, the network access device 120 may send a status switching request to the terminal 130, where the status switching request may include the first communication device. 110 device ID ID-A.
  • the network access device 120 may send a status switching request to the terminal 130 immediately after receiving the request message broadcast by the first communication device 110, or may detect the preset time period. Whether the request message is received, and if the request message is received, the status switch request is sent to the terminal 130.
  • the network access device 120 may receive a plurality of request messages from different communication devices in a preset time period, and the preset time period may be set according to an actual situation, which is not limited by the embodiment of the disclosure.
  • FIG. 5-2 is a flowchart of a method for a method for a network access device to send a state switching request to a terminal bound to a network access device according to the embodiment shown in FIG. 5-1.
  • the network access device 120 sends a status switching request to the terminal 130 every preset time period as an example.
  • the method flow can include the following steps:
  • the network access device In sub-step 5041, the network access device generates a device identification list, where the device identification list records all the transmission request messages received within the preset time period from the time when the request message sent by the first communication device is received. The device identification of the communication device.
  • the network access device 120 may first generate a device identifier list according to the device identifier of the communication device in the received request message, the device identifier.
  • the list may record the device identifier of all the communication devices that send the request message received within the preset time period from the time when the network access device 120 receives the request message sent by the first communication device 110, assuming that the preset is in the preset During the time period, the network access device 120 also receives the request message sent by the other communication device, such as the second communication device 150 in the implementation environment shown in FIG.
  • the device identifier is ID-B
  • the network access device 120 may generate a device identifier list according to the device identifier ID-A of the first communication device 110 and the device identifier ID-B of the second communication device 150.
  • the device identifier list may be as follows 1 shows:
  • the network access device sends a status switch request including a list of device identifications to the terminal bound to the network access device.
  • the network access device 120 may send a status change request including the device identification list to the terminal that is bound to the network access device 120. For example, the network access device 120 sends the information to the terminal 130 as shown in Table 1. The status switch request for the device identification list.
  • step 505 the terminal receives a state switching request sent by the network access device that is bound to the terminal, and the state switching request is that the network access device receives the request packet for requesting access to the network that is broadcast by the first communications device. It is determined that the network access device is currently sent after the device is disabled.
  • the terminal bound to the network access device 120 may receive the state switching request sent by the network access device 120.
  • FIG. 5-3 is a flowchart of a method for a terminal to receive a state switching request sent by a network access device according to the embodiment shown in FIG. 5-1. See FIG. 5-3.
  • the method flow can include the following steps:
  • the terminal receives a state switching request including a device identifier list sent by the network access device bound to the terminal, and the device identifier list records the time from the moment the request packet sent by the first communication device is received, Set the device identifier of all communication devices that send the request message within the time period.
  • the terminal 130 receives a state switching request sent by the network access device 120 including the device identification list shown in Table 1.
  • the device identification list shown in Table 1 records all the communication devices that send the request message within the preset time period from the time when the network access device 120 receives the request message sent by the first communication device 110.
  • Equipment Identity is included in the network access device 120.
  • step 506 the terminal generates reply information according to the state switching request.
  • the terminal 130 After receiving the state switching request sent by the network access device 120, the terminal 130 may generate reply information according to the state switching request.
  • FIG. 5-4 is a flowchart of a method for generating a reply message according to a state switching request provided by the embodiment shown in FIG. 5-1.
  • the method is shown in FIG. 5-4.
  • the process can include the following steps:
  • the terminal displays a device identification list according to the status switching request.
  • the terminal 130 may display the device representation list. For example, the terminal 130 displays the device identification list shown in Table 1. It should be noted that, when displaying the device identifier list, the terminal 130 may also display the name of the communication device corresponding to the device identifier and the prompt information.
  • FIG. 5-5 is a display interface diagram of a terminal provided by the embodiment shown in FIG. 5-1.
  • the terminal 130 is currently displayed with a display interface 510.
  • the display interface 510 includes a device identifier list 511 and a prompt message “The following device requests to access the network, is the switch state?”, wherein the device identifier list 511 includes the first a communication device and a device identification ID-A of the first communication device, a second communication device, and a device identification ID-B of the second communication device.
  • the display interface 510 further includes "Yes" and "No". Button.
  • the terminal 130 performs a switch request according to the state, and the display device identifier list is For example, in the actual application, if the device switching list is not included in the state switching request sent by the network access device 120, the terminal 130 may only display the prompt information.
  • the prompt information may be “the communication device requests the access network. Is the switch state?", or the prompt information may also be "there are two communication devices requesting access to the network, whether to switch the state?", etc., which is not limited in this embodiment of the present disclosure.
  • the terminal receives a triggering instruction generated by the user triggering the target device identifier, and the target device identifier is a device identifier selected by the user in the device identifier list.
  • the user may select the device identifier in the device identifier list, where the device identifier selected by the user may be referred to as the target device identifier, so that the network access device 120 switches the current state to the allowed device access state. And accessing the communication device corresponding to the target device identifier to the network.
  • a trigger command may be generated, and the terminal 130 may receive a trigger instruction generated by the user triggering the target device identifier.
  • the user can click the device identifier ID-B in the device identifier list 511 shown in FIG. 5-5. Therefore, the device identifier ID-B can be the target device identifier.
  • the terminal 130 may receive a trigger instruction generated by the user triggering the target device identifier ID-B.
  • the terminal 130 when the terminal 130 receives the triggering instruction generated by the user triggering the target device identifier, the user may agree that the network access device 120 switches the current state to the allowed device access state, and only allows the network.
  • the access device 120 accesses the communication device corresponding to the target device identifier to the network.
  • the terminal 130 receives the triggering command generated by the user triggering the target device identifier ID-B, indicating that the user agrees that the network access device 120 switches the current state to the permission.
  • the device accesses the state, and only allows the network access device 120 to access the communication device (second communication device) corresponding to the target device identification ID-B into the network.
  • the user can also click the display interface 510 “Yes” button shown in FIG. 5-5.
  • a corresponding trigger command may also be generated, and the terminal 130 receives the trigger command.
  • the user may be considered to agree that the network access device 120 will switch the current state to the allowed device access state and allow the network access device 120 to access all of the communication devices requesting access to the network.
  • the user can click the "NO" button of the display interface 510 shown in FIG. 5-5 to generate a corresponding trigger command.
  • the terminal In sub-step 5063, the terminal generates reply information including the target device identifier according to the trigger instruction.
  • the terminal 130 may generate the reply information including the target device identifier according to the triggering instruction.
  • the reply information may be “the communication device corresponding to the device identifier ID-B is allowed to access the network”. .
  • the reply information generated by the terminal 130 may be “Allow the current state to be switched to allow the device to access the state”.
  • the reply information generated by the terminal 130 may be "do not allow the current state to be switched to allow the device to access the state.”
  • the reply information shown in this embodiment is merely exemplary and is not intended to limit the disclosure.
  • step 507 the terminal sends a reply message to the network access device, where the network access device is used to reply to the information finger.
  • the state of the network access device is switched to allow the device to access the state, the state of the network access device is switched to the allowed device access state.
  • the terminal 130 may send the reply information to the network access device 120. For example, the terminal 130 sends a reply message to the network access device 120, "Allow the current state to be switched to the allowed device. "Access status” or “Allow device identification ID-B corresponding communication device to access the network”.
  • step 508 the network access device receives the reply information sent by the terminal.
  • the network access device 120 may receive the reply information sent by the terminal 130. For example, the network access device 120 receives the reply information "Allows the current state to be switched to allow the device access state" sent by the terminal 130, or "allows the device identity ID-B corresponding communication device to access the network".
  • step 509 the network access device switches the state of the network access device to the allowed device access state when the reply information indicates that the state of the network access device is switched to the allowed device access state.
  • the network access device 120 After the network access device 120 receives the reply information sent by the terminal 130, if the reply information indicates that the state of the network access device 120 is switched to the allowed device access state, the network access device 120 switches the current state to allow the device to access. status.
  • the reply information may be “Allow the current state to be switched to allow the device to access the state” or “Allow the communication device corresponding to the device identifier ID-B to access the network”, and the reply information indicates that the network is connected.
  • the state of the device 120 is switched to allow the device to access the state, and therefore, the network access device 120 switches the state of the network access device 120 to the allowed device access state.
  • FIG. 5-6 is a flowchart of a method for a network access device to switch a state of a network access device to a device access state according to the embodiment shown in FIG. 5-1.
  • the method flow can include the following steps:
  • the network access device switches the state of the network access device to allow the device to access the state, so that the network access device is in the allowed device access state within a preset time window.
  • the network access device 120 After the network access device 120 receives the reply information sent by the terminal 130, if the reply information indicates that the state of the network access device 120 is switched to allow the device to access the state, the state of the network access device 120 is switched to allow the device to access the state. And the network access device 120 is allowed to access the device within a preset time window.
  • the preset time window may be set according to an actual situation. The embodiment of the present disclosure does not limit this. For example, the preset time window may be 1 minute.
  • the preset time window may be pre-approved by the network access device 120 and the terminal 130, or may be determined by the network access device 120 according to its own situation, or the reply information sent by the terminal 130 may include time.
  • the network access device 120 switches the state of the network access device 120 to the allowed device access state according to the time window in the reply message, so that the network access device 120 is in the allowed device access state in the time window.
  • the network access device accesses the communication device corresponding to the target device identifier into the network.
  • the network access device 120 may access the communication device corresponding to the target device identifier to the network. For example, if the reply information received by the network access device 120 is “the communication device corresponding to the device identifier ID-B is allowed to access the network”, the network access device 120 associates the communication device corresponding to the device identifier ID-B (second The communication device) is connected to the network.
  • the network access device sends a response message to the communication device corresponding to the target device identifier, where the response message is used to indicate that the communication device network access corresponding to the target device identifier is successful.
  • the network device 120 can send a response packet to the corresponding device, where the response packet may include an associated permission bit.
  • the response message indicates that the network access is successful.
  • the value of the associated permission bit is the second preset value
  • the response message indicates that the network access fails.
  • the first preset value may be 1 and the second preset value may be 0.
  • the network access of the communication device corresponding to the target device identifier is successful. Therefore, the value of the associated permission bit in the response packet is a first preset value.
  • the network access device 120 sends a response message to the second communication device, where the value of the associated permission bit in the response message is a first preset value, and the response message is used to indicate that the second communication device is successfully accessed by the network. .
  • step 512 if the network access device is currently in the allowed device access state, the network access device determines whether the first communication device is a device that the network access device is allowed to access.
  • the network access device 120 may determine whether the first communication device 110 is allowed to access the network access device 120. device.
  • the network access device 120 may be configured according to the first communication, because the request message broadcast by the first communication device 110 may include at least one of a type identifier of the first communication device 110 and an address of the first communication device 110.
  • the type identifier of the device 110 or the address of the first communication device 110 determines whether the first communication device 110 is a device that the network access device 120 allows access to.
  • FIG. 5-7 shows a network access device 120 provided by the embodiment shown in FIG. 5-1 to determine whether the first communication device 110 is allowed to access the network access device 120.
  • the network access device 120 determines, according to the type identifier of the first communication device 110, whether the first communication device 110 is a device that the network access device 120 is allowed to access.
  • the method process may include the following steps:
  • the network access device determines, according to the type identifier of the first communication device, whether the type of the first communication device is a type that the network access device allows access.
  • the network access device 120 may store the type identifier of the access device.
  • the network access device 120 may determine, according to the type identifier of the first communication device 110 and the type identifier stored by the network access device 120, whether the type of the first communication device 110 is The type of access allowed for the network access device 120.
  • the network access device 120 may query the type identifier stored by the network access device 120 according to the type identifier of the first communication device 110, if the network access device The 120 stored type identifier has the same identifier as the type identifier of the first communication device 110, and the network access device 120 determines that the type of the first communication device 110 is the type that the network access device 120 allows access.
  • the type identifier stored by the network access device 120 can be as shown in Table 2 below:
  • the type identifiers stored by the network access device 120 include: ID-n and ID-m.
  • the type identifier of the first communication device 110 is ID-m, which is stored by the network access device 120.
  • the type identifier has the same identifier as the type identifier ID-m of the first communication device 110. Therefore, the network access device 120 determines that the type of the first communication device 110 is the type that the network access device 120 allows access.
  • sub-step 5122a if the type of the first communication device is a type that the network access device allows access, the network access device determines that the first communication device is a device that the network access device allows access to.
  • the network access device 120 determines that the type of the first communication device 110 is the type of access allowed by the network access device 120, the network access device 120 determines that the first communication device 110 is allowed by the network access device 120.
  • the accessed device is in the embodiment of the present disclosure. Since the type of the first communication device 110 is a type that the network access device 120 allows access, the first communication device 110 is the network access device 120 that allows access to the device.
  • another network access device provided by the embodiment shown in FIG. 5-1 determines whether the first communication device is a device that the network access device allows access to.
  • Method flow chart of the method the network access device 120 determines, according to the address of the first communication device 110, whether the first communication device 110 is a device that the network access device 120 is allowed to access.
  • the method flow can include the following steps:
  • the network access device determines whether the address of the first communication device belongs to an address range that the network access device is allowed to access.
  • the network access device 120 may store an address range that is allowed to be accessed.
  • the network access device 120 may determine, according to the address of the first communication device 110, whether the address of the first communication device 110 belongs to the allowed access of the network access device 120.
  • the address range allowed for access by the network access device 120 may be [ID-1, ID-100], and the address range [ID-1, ID-100] includes the addresses ID-1, ID-2. , ID-3. «ID-100 a total of 100 addresses.
  • step 501 the address of the first communication device 110 is ID-2. Therefore, the address of the first communication device 110 belongs to the address range [ID-1, ID-100] that the network access device 120 allows access.
  • sub-step 5122b if the address of the first communication device belongs to an address range that the network access device allows access, the network access device determines that the first communication device is a device that the network access device allows access to.
  • the network access device 120 determines that the address of the first communication device 110 belongs to an address range that the network access device 120 is allowed to access, the network access device 120 determines that the first communication device 110 is the network access device 120. In the embodiment of the present disclosure, since the address ID-2 of the first communication device 110 belongs to the address range [ID-1, ID-100] that the network access device 120 allows access, the network connection The ingress device 120 determines that the first communication device 110 is a device that the network access device 120 allows access to.
  • step 513 if the first communication device is a device that the network access device allows access, the network access device accesses the first communication device to the network.
  • the network access device 120 determines that the first communication device 110 is a device that the network access device 120 is allowed to access, the network access device 120 accesses the first communication device 110 into the network. In the embodiment of the present disclosure, since the first communication device 110 is a device that the network access device 120 allows access, the network access device 120 accesses the first communication device 110 into the network.
  • the network access device sends a response message to the first communication device, where the response message is used to indicate that the first communication device network access is successful.
  • the response message may be sent to the first communication device 110, where the response message may include an associated permission bit, when the value of the associated permission bit is When the first preset value is used, the response message indicates that the network access is successful. When the value of the associated permission bit is a second preset value, the response message indicates that the network access fails.
  • the first preset value may be 1 and the second preset value may be 0.
  • the network access of the first communication device 110 is successful, and therefore, the value of the associated permission bit in the response message is a first preset value.
  • the network access device 120 detects that the network access device 120 is currently in the forbidden device access state, and the network access device 120 may also send a response packet to the first communication device 110.
  • the value of the associated permission bit in the response message may be a second preset value, the response message indicating that the first communication device 110 fails to access the network, so that the first communication device 110 broadcasts to the network access device 120 again for Request message to access the network.
  • steps 512 to 514 may be located after steps 504 to 511.
  • the method of the present invention is not limited to the scope of the present disclosure, and is not limited to the details of the present invention.
  • the network access device receives the request message broadcast by the first communication device, detects the current state of the network access device, and is currently in the forbidden device access state. And sending a state switching request to the terminal that is bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to be connected. After entering the state, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 6 is a block diagram of a network access device, which may be implemented as software access device 120 in the implementation environment shown in FIG. 1 by software, hardware, or a combination of both, according to an exemplary embodiment.
  • the network access device may include:
  • the first receiving module 610 is configured to receive a request message broadcast by the first communications device for requesting access to the network.
  • the detecting module 620 is configured to detect a current state of the network access device.
  • the first sending module 630 is configured to: when the detecting module 620 determines that the network access device is currently in the forbidden device access state, send a state switching request to the terminal bound to the network access device, where the terminal is configured to use the state switching request, Generate a reply message.
  • the second receiving module 640 is configured to receive the reply information sent by the terminal.
  • the switching module 650 is configured to switch the state of the network access device to the allowed device access state when the reply information received by the second receiving module 640 indicates that the state of the network access device is switched to allow the device to access the state.
  • the network access device receives the request message broadcast by the first communication device, and detects the current state of the network access device; Sending a state switching request to the terminal bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to access After the status, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 7 is a block diagram of a network access device, which may be implemented as a network access device in the implementation environment shown in FIG. 1 by software, hardware, or a combination of both, according to another exemplary embodiment.
  • the network access device may include but is not limited to:
  • the first receiving module 701 is configured to receive, by the first communications device, a request message for requesting access to the network;
  • the detecting module 702 is configured to detect a current state of the network access device.
  • the first sending module 703 is configured to: when the detecting module 702 determines that the network access device is currently in the forbidden device access state, send a state switching request to the terminal bound to the network access device, where the terminal is configured to use the state switching request, Generate a reply message;
  • the second receiving module 704 is configured to receive the reply information sent by the terminal
  • the switching module 705 is configured to switch the state of the network access device to the allowed device access state when the reply information received by the second receiving module 704 indicates that the state of the network access device is switched to allow the device to access the state.
  • the request message includes: a device identifier of the first communications device, where the state switching request includes: a device identifier of the first communications device,
  • the first sending module 703 is configured to generate a device identifier list, where the device identifier list records communications of all the sending request messages received within the preset time period from the moment the request message sent by the first communications device is received.
  • the device identifier of the device; the state switching request including the device identifier list is sent to the terminal bound to the network access device.
  • the reply information includes: a target device identifier, where the target device identifier is a device identifier selected by the user of the terminal in the device identifier list, and the network access device further includes:
  • the first access module 706 is configured to connect the communication device corresponding to the target device identifier to the network;
  • the second sending module 707 is configured to send a response message to the corresponding communication device of the target device identifier, where the response message is used to indicate that the communication device network access corresponding to the target device identifier is successful.
  • the network access device further includes:
  • the determining module 708 is configured to determine, when the detecting module 702 determines that the network access device is currently in the allowed device access state, whether the first communications device is a device that the network access device is allowed to access;
  • the second access module 709 is configured to: when the determining module 708 determines that the first communications device is a device that the network access device is allowed to access, access the first communications device to the network;
  • the third sending module 710 is configured to send a response message to the first communications device, where the response packet is used to indicate that the first communications device network access is successful.
  • the request message includes: a type identifier of the first communication device,
  • the determining module 708 is configured to determine, according to the type identifier of the first communications device, whether the type of the first communications device is a type that the network access device allows access; and the type of the first communications device is that the network access device allows access.
  • the type of the first communication device is determined to be a device that the network access device is allowed to access.
  • the request message includes: an address of the first communication device,
  • the determining module 708 is configured to determine whether the address of the first communications device belongs to an address range that the network access device allows access; when the address of the first communications device belongs to an address range allowed by the network access device, determining the first A communication device is a device that a network access device allows access to.
  • the switching module 705 is configured to switch the state of the network access device to allow the device to access the state, so that the network access device is in the allowed device access state within a preset time window.
  • the network access device receives the request message broadcast by the first communication device, and detects the current state of the network access device; Sending a state switching request to the terminal bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to access After the status, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 8 is a block diagram of a network access device, which may be implemented as part of terminal 130 in the implementation environment shown in FIG. 1 by software, hardware, or a combination of both, according to still another exemplary embodiment. Or all, referring to FIG. 8, the network access device may include:
  • the receiving module 810 is configured to receive a state switching request sent by the network access device bound to the terminal, where the state switching request is that the network access device receives the request packet for requesting access to the network broadcast by the first communications device. And determine that the network access device is currently sent after the device is disabled.
  • the generating module 820 is configured to generate reply information according to the state switching request received by the receiving module 810.
  • the sending module 830 is configured to send the reply information generated by the generating module 820 to the network access device, where the network access device is configured to connect the network when the reply information indicates that the state of the network access device is switched to allow the device to access the state.
  • the state of the incoming device is switched to allow the device to access the state.
  • the terminal receives the state switching request sent by the network access device bound to the terminal, generates a reply message according to the state switching request, and sends the response message to the network access device.
  • Replying to the information so that the network access device switches the state of the network access device to the device access state according to the reply information, and after the state of the network access device is switched to allow the device to access the state, the first communication device can be connected.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by receiving the state switching request sent by the network access device, and achieves the beneficial effect of simplifying the network access process.
  • the state switching request includes: a device identifier of the first communications device,
  • the receiving module 810 is configured to receive a state switching request that includes a device identifier list sent by the network access device that is bound to the terminal, where the device identifier list records the time from the moment the request packet sent by the first communications device is received, Set the device identifier of all communication devices that send the request message within the time period.
  • the generating module 820 is configured to display a device identifier list according to the state switching request, and receive a triggering instruction generated by the user triggering the target device identifier, where the target device identifier is a device identifier selected by the user in the device identifier list; , generating reply information including the target device identifier.
  • the terminal receives the state switching request sent by the network access device bound to the terminal, generates a reply message according to the state switching request, and sends the response message to the network access device.
  • Replying to the information so that the network access device switches the state of the network access device to the device access state according to the reply information, and after the state of the network access device is switched to allow the device to access the state, the first communication device can be connected.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by receiving the state switching request sent by the network access device, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 9 is a block diagram of a network access device, which may be implemented as a first communication device in the implementation environment shown in FIG. 1 by software, hardware, or a combination of both, according to still another exemplary embodiment.
  • the network access device may include:
  • the broadcast module 910 is configured to broadcast, to the network access device, a request message for requesting access to the network, where the network access device is configured to detect a current state of the network access device, where the network access device is currently prohibited from accessing the device. In the state, a state switching request is sent to the terminal bound to the network access device.
  • the request message includes: a device identifier of the first communications device, where the request packet further includes: at least one of a type identifier of the first communications device and an address of the first communications device.
  • the network access device provided by the embodiment of the present disclosure, the first communication device broadcasts a request message for requesting access to the network by using the network access device, so that the network access device is currently in the network access device.
  • the device When the device is in the forbidden state, the device sends a state switching request to the terminal that is bound to the network access device, and switches the state of the network access device to the device access state according to the reply information sent by the terminal, and accesses the network access device. After the state is switched to allow the device to access the state, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 10 is a block diagram of a network access device 1000, according to an exemplary embodiment.
  • the network access device 1000 can be the network access device 120 in the implementation environment shown in FIG.
  • device 1000 can be a gateway, router, or the like.
  • apparatus 1000 can include one or more of the following components: processing component 1002, memory 1004, power component 1006, input/output (I/O) interface 1008, sensor component 1010, and communication component 1012.
  • processing component 1002 memory 1004, power component 1006, input/output (I/O) interface 1008, sensor component 1010, and communication component 1012.
  • memory 1004 memory 1004, power component 1006, input/output (I/O) interface 1008, sensor component 1010, and communication component 1012.
  • I/O input/output
  • Processing component 1002 typically controls the overall operation of device 1000, such as operations associated with data communication and recording operations.
  • Processing component 1002 can include one or more processors 1020 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1002 can include one or more modules to facilitate interaction between component 1002 and other components.
  • the memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions, messages, etc. for any application or method operating on device 1000.
  • the memory 1004 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 Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1006 provides power to various components of device 1000.
  • Power component 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
  • the I/O interface 1008 provides an interface between the processing component 1002 and the peripheral interface module, which may be a click wheel, a button, or the like. These buttons may include, but are not limited to, a start button and a lock button.
  • Sensor assembly 1010 includes one or more sensors for providing device 1000 with various aspects of status assessment.
  • the sensor assembly 1010 can detect an open/closed state of the device 1000, a relative positioning of the components, such as a button for the device 1000, and the sensor assembly 1010 can also detect a change in position of the device 1000 or a component of the device 1000, the user and device 1000 The presence or absence of contact.
  • Sensor assembly 1010 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • the sensor assembly 1010 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1012 is configured to facilitate wired or wireless communication between device 1000 and other devices.
  • the device 1000 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 1012 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 1012 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
  • apparatus 1000 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 1004 comprising instructions executable by processor 1020 of apparatus 1000 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in a storage medium are executed by a processor of apparatus 1000, to enable apparatus 1000 to perform a network access method, the method comprising:
  • the network access device If the network access device is currently in the forbidden device access state, sending a state switching request to the terminal bound to the network access device, where the terminal is configured to generate a reply message according to the state switching request;
  • the reply information indicates that the state of the network access device is switched to the device access state
  • the state of the network access device is switched to the device access state.
  • the request message includes: a device identifier of the first communication device, where the status switch request includes: a device identifier of the first communication device, and a status switch request is sent to the terminal that is bound to the network access device, including:
  • the device identification list records the device identifiers of all the communication devices that send the request messages received within the preset time period from the time of receiving the request message sent by the first communication device;
  • a state switching request including a device identification list is transmitted to the terminal bound to the network access device.
  • the reply information includes: a target device identifier, where the target device identifier is a device identifier selected by the user of the terminal in the device identifier list, and the method further includes:
  • the communication device corresponding to the target device identifier is connected to the network;
  • the method further includes:
  • the network access device If the network access device is currently in the allowed device access state, determining whether the first communication device is a device that the network access device is allowed to access;
  • the first communication device is a device that the network access device allows access, the first communication device is connected to the network;
  • the request message includes: a type identifier of the first communication device,
  • Determining whether the first communication device is a device that the network access device is allowed to access including:
  • the type of the first communication device is a type that the network access device allows access, it is determined that the first communication device is a device that the network access device allows access to.
  • the request message includes: an address of the first communication device,
  • Determining whether the first communication device is a device that the network access device is allowed to access including:
  • the address of the first communication device belongs to an address range that the network access device allows access, it is determined that the first communication device is a device that the network access device is allowed to access.
  • the state of the network access device is switched to allow the device to access the state, including:
  • the state of the network access device is switched to allow the device to access the state, so that the network access device is in the allowed device access state within a preset time window.
  • the network access device receives the request message broadcast by the first communication device, and detects the current state of the network access device; Sending a state switching request to the terminal bound to the network access device, and switching the state of the network access device to the allowed device access state according to the reply information sent by the terminal, and switching the state of the network access device to allow the device to access After the status, the first communication device can access the network.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by using the network access device to send a state switching request to the terminal, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 11 is a block diagram of a network access device 1100, according to another exemplary embodiment.
  • the network access device 1100 can be the terminal 130 in the implementation environment shown in FIG.
  • device 1100 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 1100 can include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and Communication component 1116.
  • Processing component 1102 typically controls the overall operation of device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 1102 can include one or more processors 1120 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 1102 can include one or more modules to facilitate interaction between component 1102 and other components.
  • the processing component 1102 can include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
  • Memory 1104 is configured to store various types of data to support operation at device 1100.
  • the display of these data Examples include instructions for any application or method operating on device 1100, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 1104 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.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 1106 provides power to various components of device 1100.
  • Power component 1106 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1100.
  • the multimedia component 1108 includes a screen between the device 1100 and the 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 can sense not only the boundaries of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 1108 includes a front camera and/or a rear camera. When the device 1100 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 1110 is configured to output and/or input an audio signal.
  • the audio component 1110 includes a microphone (MIC) that is configured to receive an external audio signal when the device 1100 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 1104 or transmitted via communication component 1116.
  • the audio component 1110 also includes a speaker for outputting an audio signal.
  • the I/O interface 1112 provides an interface between the processing component 1102 and a 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 1114 includes one or more sensors for providing a status assessment of various aspects to device 1100.
  • the sensor assembly 1114 can detect an open/closed state of the device 1100, the relative positioning of the components, such as a display and a keypad of the device 1100, and the sensor component 1114 can also detect a change in position of a component of the device 1100 or device 1100, the user The presence or absence of contact with device 1100, device 1100 orientation or acceleration/deceleration and temperature change of device 1100.
  • Sensor assembly 1114 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1114 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1116 is configured to facilitate wired or wireless communication between device 1100 and other devices.
  • the device 1100 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 1116 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 1116 also includes a near field communication (NFC) module to Promote 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
  • apparatus 1100 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 1104 comprising instructions executable by processor 1120 of apparatus 1100 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in a storage medium are executed by a processor of apparatus 1100, to enable apparatus 1100 to perform a network access method, the method comprising:
  • the state switching request is that the network access device receives the request packet for requesting to access the network broadcasted by the first communications device, and determines that the network access device is currently Sent after the device is disabled from accessing the device;
  • Sending reply information to the network access device where the network access device is configured to switch the state of the network access device to the allowed device access state when the reply information indicates that the state of the network access device is switched to allow the device to access the state.
  • the state switching request includes: a device identifier of the first communications device, and receiving a state switching request sent by the network access device bound to the terminal, including:
  • a state switching request including a device identifier list, where the device identifier list records the received time within a preset time period from the moment the request packet sent by the first communication device is received The device ID of all communication devices that send request messages.
  • generating the reply information according to the state switching request including:
  • Target device identifier is a device identifier selected by the user in the device identifier list
  • reply information including the target device identifier is generated.
  • the terminal receives the state switching request sent by the network access device bound to the terminal, generates a reply message according to the state switching request, and sends the response message to the network access device.
  • Replying to the information so that the network access device switches the state of the network access device to the device access state according to the reply information, and after the state of the network access device is switched to allow the device to access the state, the first communication device can be connected.
  • the embodiment of the present disclosure solves the problem that the network access process is complicated in the related art by receiving the state switching request sent by the network access device, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 12 is a block diagram of a network access device 1200, according to still another exemplary embodiment.
  • the network access device 1200 can be the first communication device 110 in the implementation environment shown in FIG. 1.
  • the device 1200 can be a smart camera, a smart socket, a mobile phone, a computer, a digital broadcast terminal, a messaging device, and a game console. , tablet devices, medical equipment, fitness equipment, personal digital assistants, etc.
  • 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 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 execute instructions to perform all or part of the steps described 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.
  • the multimedia component 1208 includes a screen between the device 1200 and the 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 can sense not only the boundaries 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 can include but are not limited to: home button, volume button, start button And 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 a display and a keypad of device 1200, and sensor component 1214 can also detect a change in position of a component of device 1200 or device 1200, the user The presence or absence of contact with device 1200, device 1200 orientation or acceleration/deceleration and temperature change of 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.
  • communication component 1216 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • 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 1220 of apparatus 1200 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in a storage medium are executed by a processor of apparatus 1200, to enable apparatus 1200 to perform a network access method, the method comprising:
  • the network access device is configured to detect a current state of the network access device, and connect to the network when the network access device is currently in the forbidden device access state.
  • the terminal bound to the device sends a status switch request.
  • the request message includes: a device identifier of the first communications device, where the request packet further includes: at least one of a type identifier of the first communications device and an address of the first communications device.
  • the network access device provided by the embodiment of the present disclosure, the first communication device broadcasts a request message for requesting access to the network by using the network access device, so that the network access device is currently in the network access device.
  • the device sends a state switching request to the terminal that is bound to the network access device, and switches the state of the network access device to the device access state according to the reply information sent by the terminal, and accesses the network access device.
  • the first communication device can access the network.
  • Embodiments of the present disclosure transmit to a terminal through a network access device
  • the state switching request solves the problem that the network access process in the related technology is complicated, and achieves the beneficial effect of simplifying the network access process.
  • FIG. 13 is a schematic structural diagram of a network access system 1300 according to an exemplary embodiment.
  • the network access system 1300 can include a first communication device 1310, a network access device 1320, and a terminal 1330.
  • the first communication device 1310 includes the network access device shown in FIG. 9 or FIG.
  • the network access device 1320 includes the network access device shown in FIG. 6, FIG. 7, or FIG.
  • the terminal 1330 includes the network access device shown in FIG. 8 or FIG.
  • the first communications device sends a request packet to the network access device, and the network access device receives the request packet broadcast by the first communications device, and detects the network access.
  • the current state of the device; the device is in the forbidden device access state, and sends a state switching request to the terminal bound to the network access device, and switches the state of the network access device to the allowed device access state according to the reply information sent by the terminal.
  • the first communication device can access the network.

Abstract

本公开是关于一种网络接入方法、设备及系统,属于计算机技术领域。该方法包括:接收第一通信设备广播的用于请求接入网络的请求报文;检测网络接入设备当前的状态;若网络接入设备当前处于禁止设备接入状态,则向终端发送状态切换请求,终端用于根据状态切换请求,生成回复信息;接收终端发送的回复信息;根据回复信息将网络接入设备的状态切换为允许设备接入状态。将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开通过网络接入设备向终端发送状态切换请求,解决了网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。本公开用于网络接入。

Description

网络接入方法、设备及系统
本申请基于申请号为201510463356.3、申请日为2015年7月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及计算机技术领域,特别涉及一种网络接入方法、设备及系统。
背景技术
Zigbee(中文:紫峰)技术是一种近距离、低功耗、低速率、低成本的双向无线通讯技术,主要用于距离短、功耗低且传输速率较低的各种电子设备之间的数据传输。Zigbee设备通常需要通过Zigbee网关接入到网络中才能与网络中的其他设备通信。Zigbee网关通常处于禁止设备接入状态,但是Zigbee网关可以与终端建立绑定关系,Zigbee网关可以根据与其绑定的终端发送的允许设备接入的指令,将自身状态切换为允许设备接入状态,使得Zigbee网关在预设时间段内处于允许设备接入状态。
相关技术中,在向未入网的Zigbee设备(以下均称为Zigbee设备)通电后,该Zigbee设备可以向其周围的已入网的Zigbee网关(以下均称为Zigbee网关)广播包括自身的媒体访问控制(英文:Media Access Control,简称:MAC)地址的请求信标帧(英文:beacon request)报文,Zigbee网关在接收到该请求信标帧后,若该Zigbee网关当前处于允许设备接入状态,则Zigbee网关向Zigbee设备发送允许Zigbee设备接入的响应报文,并根据该Zigbee设备的MAC地址将Zigbee设备接入到网络中;若该Zigbee网关当前处于禁止设备接入状态,则Zigbee网关向Zigbee设备发送不允许Zigbee设备接入的响应报文。此外,Zigbee网关还会向与其绑定的手机终端发送提示消息,告知用户当前有未入网的Zigbee设备,用户可以根据提示操作与Zigbee网关绑定的终端,使得与Zigbee网关绑定的终端向Zigbee网关发送允许设备接入的指令,Zigbee网关根据与其绑定的终端发送的允许设备接入的指令,将自身状态切换为允许设备接入状态,从而使得Zigbee设备能够接入到网络中。
发明内容
为了实现简化网络接入过程的有益效果,本公开实施例提供了一种网路接入方法、设备及系统。所述技术方案如下:
根据本公开实施例的第一方面,提供一种网络接入方法,所述方法包括:
接收第一通信设备广播的用于请求接入网络的请求报文;
检测网络接入设备当前的状态;
若所述网络接入设备当前处于禁止设备接入状态,则向与所述网络接入设备绑定的终端发送状态切换请求,所述终端用于根据所述状态切换请求,生成回复信息;
接收所述终端发送的所述回复信息;
在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
可选地,所述请求报文包括:所述第一通信设备的设备标识,所述状态切换请求包括:所述第一通信设备的设备标识,所述向与所述网络接入设备绑定的终端发送状态切换请求,包括:
生成设备标识列表,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;
向所述与所述网络接入设备绑定的终端发送包括所述设备标识列表的状态切换请求。
可选地,所述回复信息包括:目标设备标识,所述目标设备标识为所述终端的用户在所述设备标识列表中选择的设备标识,所述方法还包括:
将所述目标设备标识对应的通信设备接入到网络中;
向所述目标设备标识对应的通信设备发送响应报文,所述响应报文用于指示所述目标设备标识对应的通信设备网络接入成功。
可选地,所述方法还包括:
若所述网络接入设备当前处于允许设备接入状态,则判断所述第一通信设备是否为所述网络接入设备允许接入的设备;
若所述第一通信设备是所述网络接入设备允许接入的设备,则将所述第一通信设备接入到网络中;
向所述第一通信设备发送响应报文,所述响应报文用于指示所述第一通信设备网络接入成功。
可选地,所述请求报文包括:所述第一通信设备的类型标识,
所述判断所述第一通信设备是否为所述网络接入设备允许接入的设备,包括:
根据所述第一通信设备的类型标识,判断所述第一通信设备的类型是否为所述网络接入设备允许接入的类型;
若所述第一通信设备的类型是所述网络接入设备允许接入的类型,则确定所述第一通信设备是所述网络接入设备允许接入的设备。
可选地,所述请求报文包括:所述第一通信设备的地址,
所述判断所述第一通信设备是否为所述网络接入设备允许接入的设备,包括:
判断所述第一通信设备的地址是否属于所述网络接入设备允许接入的地址范围;
若所述第一通信设备的地址属于所述网络接入设备允许接入的地址范围,则确定所述第一通信设备是所述网络接入设备允许接入的设备。
可选地,所述将所述网络接入设备的状态切换为允许设备接入状态,包括:
将所述网络接入设备的状态切换为允许设备接入状态,使所述网络接入设备在预设时间窗口内处于所述允许设备接入状态。
根据本公开实施例的第二方面,提供一种网络接入方法,所述方法包括:
接收与终端绑定的网络接入设备发送的状态切换请求,所述状态切换请求是所述网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定所述网络接入设备当前处于禁止设备接入状态后发送的;
根据所述状态切换请求,生成回复信息;
向所述网络接入设备发送所述回复信息,所述网络接入设备用于在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
可选地,所述状态切换请求包括:所述第一通信设备的设备标识,所述接收与终端绑定的网络接入设备发送的状态切换请求,包括:
接收与所述终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
可选地,所述根据所述状态切换请求,生成回复信息,包括:
根据所述状态切换请求,显示所述设备标识列表;
接收用户触发目标设备标识产生的触发指令,所述目标设备标识为所述用户在所述设备标识列表中选择的设备标识;
根据所述触发指令,生成包括所述目标设备标识的回复信息。
根据本公开实施例的第三方面,提供一种网络接入方法,所述方法包括:
向网络接入设备广播用于请求接入网络的请求报文,所述网络接入设备用于检测所述网络接入设备当前的状态,在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求。
可选地,所述请求报文包括:所述第一通信设备的设备标识,所述请求报文还包括:所述第一通信设备的类型标识和所述第一通信设备的地址中的至少一种。
根据本公开实施例的第四方面,提供一种网络接入设备,所述设备包括:
第一接收模块,被配置为接收第一通信设备广播的用于请求接入网络的请求报文;
检测模块,被配置为网络接入设备当前的状态;
第一发送模块,被配置为在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求,所述终端用于根据所述状态切换请求,生成回复信息;
第二接收模块,被配置为接收所述终端发送的所述回复信息;
切换模块,被配置为在所述回复信息指示将所述网络接入设备的状态切换为允许设备 接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
可选地,所述请求报文包括:所述第一通信设备的设备标识,所述状态切换请求包括:所述第一通信设备的设备标识,
所述第一发送模块,被配置为生成设备标识列表,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;向所述与所述网络接入设备绑定的终端发送包括所述设备标识列表的状态切换请求。
可选地,所述回复信息包括:目标设备标识,所述目标设备标识为所述终端的用户在所述设备标识列表中选择的设备标识,所述设备还包括:
第一接入模块,被配置为将所述目标设备标识对应的通信设备接入到网络中;
第二发送模块,被配置为向所述目标设备标识对应的通信设备发送响应报文,所述响应报文用于指示所述目标设备标识对应的通信设备网络接入成功。
可选地,所述设备还包括:
判断模块,被配置为在所述网络接入设备当前处于允许设备接入状态时,判断所述第一通信设备是否为所述网络接入设备允许接入的设备;
第二接入模块,被配置为在所述第一通信设备是所述网络接入设备允许接入的设备时,将所述第一通信设备接入到网络中;
第三发送模块,被配置为向所述第一通信设备发送响应报文,所述响应报文用于指示所述第一通信设备网络接入成功。
可选地,所述请求报文包括:所述第一通信设备的类型标识,
所述判断模块,被配置为根据所述第一通信设备的类型标识,判断所述第一通信设备的类型是否为所述网络接入设备允许接入的类型;在所述第一通信设备的类型是所述网络接入设备允许接入的类型时,确定所述第一通信设备是所述网络接入设备允许接入的设备。
可选地,所述请求报文包括:所述第一通信设备的地址,
所述判断模块,被配置为判断所述第一通信设备的地址是否属于所述网络接入设备允许接入的地址范围;在所述第一通信设备的地址属于所述网络接入设备允许接入的地址范围时,确定所述第一通信设备是所述网络接入设备允许接入的设备。
可选地,所述切换模块,被配置为将所述网络接入设备的状态切换为允许设备接入状态,使所述网络接入设备在预设时间窗口内处于所述允许设备接入状态。
根据本公开实施例的第五方面,提供一种网络接入设备,所述设备包括:
接收模块,被配置为接收与终端绑定的网络接入设备发送的状态切换请求,所述状态切换请求是所述网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定所述网络接入设备当前处于禁止设备接入状态后发送的;
生成模块,被配置为根据所述状态切换请求,生成回复信息;
发送模块,被配置为向所述网络接入设备发送所述回复信息,所述网络接入设备用于在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
可选地,所述状态切换请求包括:所述第一通信设备的设备标识,
所述接收模块,被配置为接收与所述终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
可选地,所述生成模块,被配置为根据所述状态切换请求,显示所述设备标识列表;接收用户触发目标设备标识产生的触发指令,所述目标设备标识为所述用户在所述设备标识列表中选择的设备标识;根据所述触发指令,生成包括所述目标设备标识的回复信息。
根据本公开实施例的第六方面,提供一种网络接入设备,所述设备包括:
广播模块,被配置为向网络接入设备广播用于请求接入网络的请求报文,所述网络接入设备用于检测所述网络接入设备当前的状态,在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求。
可选地,所述请求报文包括:所述第一通信设备的设备标识,所述请求报文还包括:所述第一通信设备的类型标识和所述第一通信设备的地址中的至少一种。
根据本公开实施例的第七方面,提供一种网络接入设备,包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
接收第一通信设备广播的用于请求接入网络的请求报文;
检测网络接入设备当前的状态;
若所述网络接入设备当前处于禁止设备接入状态,则向与所述网络接入设备绑定的终端发送状态切换请求,所述终端用于根据所述状态切换请求,生成回复信息;
接收所述终端发送的所述回复信息;
在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
根据本公开实施例的第八方面,提供一种网络接入设备,包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
接收与终端绑定的网络接入设备发送的状态切换请求,所述状态切换请求是所述网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定所述网络接入设备当前处于禁止设备接入状态后发送的;
根据所述状态切换请求,生成回复信息;
向所述网络接入设备发送所述回复信息,所述网络接入设备用于在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
根据本公开实施例的第九方面,提供一种网络接入设备,包括:
处理器;
用于存储所述处理器的可执行指令的存储器;
其中,所述处理器被配置为:
向网络接入设备广播用于请求接入网络的请求报文,所述网络接入设备用于检测所述网络接入设备当前的状态,在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求。
根据本公开实施例的第十方面,提供一种网络接入系统,所述系统包括:网络接入设备、终端和第一通信设备,
所述网络接入设备包括权利要求第四方面或第四方面的任一可选方式所述的网络接入设备;
所述终端包括第五方面或第五方面的任一可选方式所述的网络接入设备;
所述第一通信设备第六方面或第六方面的任一可选方式所述的网络接入设备。
根据本公开实施例的第十一方面,提供一种网络接入系统,所述系统包括:网络接入设备、终端和第一通信设备,
所述网络接入设备包括第七方面所述的网络接入设备;
所述终端包括第八方面所述的网络接入设备;
所述第一通信设备包括第九方面所述的网络接入设备。
本公开的实施例提供的技术方案可以包括以下有益效果:
本公开的实施例提供的网络接入方法、设备及系统,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
为了更清楚地说明本公开的实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本公开各个实施例提供的网络接入方法所涉及的一种实施环境的结构示意图;
图2是根据一示例性实施例示出的一种网络接入方法的方法流程图;
图3是根据另一示例性实施例示出的一种网络接入方法的方法流程图;
图4是根据再一示例性实施例示出的一种网络接入方法的方法流程图;
图5-1是根据又一示例性实施例示出的一种网络接入方法的方法流程图;
图5-2是图5-1所示实施例提供的一种网络接入设备向与终端发送状态切换请求的方法的方法流程图;
图5-3是图5-1所示实施例提供的一种终端接收网络接入设备发送的状态切换请求的方法的方法流程图;
图5-4是图5-1所示实施例提供的一种终端根据状态切换请求生成回复信息的方法的方法流程图;
图5-5是图5-1所示实施例提供的一种终端的显示界面图;
图5-6是图5-1所示实施例提供的一种网络接入设备将自身的状态切换为允许设备接入状态的方法的方法流程图;
图5-7是图5-1所示实施例提供的一种网络接入设备判断第一通信设备是否为网络接入设备允许接入的设备的方法的方法流程图;
图5-8是图5-1所示实施例提供的另一种网络接入设备判断第一通信设备是否为网络接入设备允许接入的设备的方法的方法流程图;
图6是根据一示例性实施例示出的一种网络接入设备的框图;
图7是根据另一示例性实施例示出的一种网络接入设备的框图;
图8是根据再一示例性实施例示出的一种网络接入设备的框图;
图9是根据又一示例性实施例示出的一种网络接入设备的框图;
图10是根据一示例性实施例示出的一种网络接入设备的框图;
图11是根据另一示例性实施例示出的一种网络接入设备的框图;
图12是根据再一示例性实施例示出的一种网络接入设备的框图;
图13是根据一示例性实施例示出的一种网络接入系统的结构示意图。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
具体实施方式
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,显然,所描述的实施例仅仅是本公开一部份实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。
图1是本公开各个实施例提供的网络接入方法所涉及的一种实施环境的结构示意图, 参见图1,该实施环境包括第一通信设备110、网络接入设备120和终端130。可选地,该实施环境还可以包括服务器140和第二通信设备150。
参见图1,第一通信设备110与网络接入设备120、网络接入设备120与服务器140、服务器140与终端130以及第二通信设备150与网络接入设备120均可以通过有线网络或者无线网络连接,本实施环境对此不做限定,且通常情况下,网络接入设备120也可以直接通过有线网络或者无线网络与终端130连接,需要说明的是,以上各个设备在连接时,其连接方式可以相同,也可以不同,本实施环境对此不做限定,示例地,第一通信设备110与网络接入设备120可以通过有线网络连接,网络接入设备120与终端130可以通过无线网络连接。其中,该无线网络可以包括但不限于:蓝牙、红外、无线保真(英文:WIreless-FIdelity,简称:WIFI)、数据和紫蜂网络。
第一通信设备110是请求接入网络的设备,比如,该第一通信设备可以为智能摄像机、智能插座、智能手环、智能电视机、红外遥控器等设备,参见图1,本实施环境以第一通信设备110为智能摄像机为例进行说明。第一通信设备110可以向网络接入设备120广播用于请求接入网络的请求报文,该请求报文可以包括第一通信设备110的设备标识。
可选地,该请求报文还可以包括:第一通信设备110的类型标识或者第一通信设备110的地址,其中,该地址可以为第一通信设备110的MAC地址,第一通信设备110向网络接入设备120广播的请求报文可以为beacon request报文,本实施环境对此不做限定。其中,第一通信设备110可以在第一通信设备110接通电源,并且检测到自身处于未入网,且未保存任何入网信息的状态下向网络接入设备120广播请求报文。
网络接入设备120是可以为通信设备提供网络接入服务的设备,比如,该网络接入设备120可以为网关、路由器等设备。其中,网络接入设备120可以接收第一通信设备110广播的用于请求接入网络的请求报文,检测自身当前的状态,在自身当前处于禁止设备接入状态时,网络接入设备120可以向与网络接入设备120绑定的终端(图1所示实施环境中的终端130)发送状态切换请求,并接收终端130发送的回复信息,在该回复信息指示将网络接入设备120的状态切换为允许设备接入状态时,网络接入设备120将网络接入设备120的状态切换为允许设备接入状态,以使得网络接入设备120在预设时间窗口内处于允许设备接入状态,之后若第一通信设备110在预设时间窗口内再次向网络接入设备120广播请求报文,则网络接入设备120可以将第一通信设备110接入到网络中。
可选地,若第一通信设备110广播的请求报文包括第一通信设备110的设备标识,则网络接入设备120向终端130发送的状态切换请求也可以包括第一通信设备110的设备标识,网络接入设备120可以在接收到第一通信设备110广播的请求报文后,立即向终端130发送的状态切换请求,也可以在接收到第一通信设备110广播的请求报文的预设时间段后向终端130发送的状态切换请求,若网络接入设备120在接收到第一通信设备110广播的请求报文的预设时间段后向终端130发送的状态切换请求,则网络接入设备120可以向终端130发送包括设备标识列表的状态切换请求,该设备标识列表记录了从接收到第一 通信设备110发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识(比如,该请求报文可以包括第二通信设备150的设备标识),以使得终端130的用户能够选择允许接入网络的设备,网络接入设备120可以根据终端130发送的回复信息中的包括的目标设备标识,将该目标设备标识对应的通信设备接入到网络中,并向目标设备标识对应的通信设备发送用于指示目标设备标识对应的通信设备网络接入成功的响应报文。
可选地,网络接入设备120可以检测网络接入设备120当前的状态,在网络接入设备120当前处于允许设备接入状态时,网络接入设备120可以判断第一通信设备110是否为网络接入设备120允许接入的设备,若第一通信设备110是网络接入设备120允许接入的设备,则网络接入设备120将第一通信设备110接入到网络中,并向第一通信设备110发送用于指示第一通信设备110网络接入成功响应报文。其中,第一通信设备110广播的请求报文可以包括第一通信设备110的类型标识和第一通信设备110的地址中的至少一种,网络接入设备120可以根据第一通信设备110的类型标识或第一通信设备110的地址,判断第一通信设备110是否为网络接入设备120允许接入的设备。比如,网络接入设备120根据第一通信设备110的类型标识,判断第一通信设备110的类型是否为网络接入设备120允许接入的类型;若第一通信设备110的类型是网络接入设备120允许接入的类型,则网络接入设备120确定第一通信设备110是网络接入设备允许接入的设备;再比如,网络接入设备120判断第一通信设备110的地址是否属于网络接入设备120允许接入的地址范围;若第一通信设备110的地址属于网络接入设备120允许接入的地址范围,则网络接入设备120确定第一通信设备110是网络接入设备120允许接入的设备。
终端130可以是与网络接入设备120绑定的终端,终端130可以控制网络接入设备120的设备接入状态,示例地,该终端130可以为智能手机、平板电脑、智能电视、台式计算机等等。终端130可以接收网络接入设备120发送的状态切换请求,根据状态切换请求,生成回复信息,并向网络接入设备120发送回复信息,以便于网络接入设备120在回复信息指示将网络接入设备120的状态切换为允许设备接入状态时,将网络接入设备120的状态切换为允许设备接入状态。
可选地,状态切换请求包括:第一通信设备110的设备标识,终端130可以接收网络接入设备120发送的包括设备标识列表的状态切换请求,设备标识列表记录了从接收到第一通信设备110发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。终端130可以根据根据状态切换请求,显示设备标识列表;接收用户触发目标设备标识(比如,第二通信设备150的设备标识)产生的触发指令,目标设备标识为用户在设备标识列表中选择的设备标识;根据触发指令,生成包括目标设备标识的回复信息,然后向网络接入设备120发送包括目标设备标识的回复信息,以便于网络接入设备120将该目标设备标识对应的通信设备接入到网络中。
需要说明的是,终端130与网络接入设备120是预先建立绑定关系的,终端130与网 络接入设备120建立绑定关系的过程可以由上述实施环境中的服务器140执行,且网络接入设备120向终端130发送状态切换请求以及网络接入设备120接收终端130发送的回复信息的过程都可以通过服务器140实现,本实施环境在此不再赘述。
还需要说明的是,上述实施环境中的第二通信设备150和第一通信设备110可以是相同,也可以不同,本实施环境对此不做限定。
图2是根据一示例性实施例示出的一种网络接入方法的方法流程图,本实施例以该网络接入方法应用于图1所示实施环境中的网络接入设备120中来进行举例说明,参见图2,该网络接入方法可以包括如下几个步骤:
在步骤201中,接收第一通信设备广播的用于请求接入网络的请求报文。
在步骤202中,检测网络接入设备当前的状态。
在步骤203中,若网络接入设备当前处于禁止设备接入状态,则向与网络接入设备绑定的终端发送状态切换请求,终端用于根据状态切换请求,生成回复信息。
在步骤204中,接收终端发送的回复信息。
在步骤205中,在回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
综上所述,本公开实施例提供的网络接入方法,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
可选地,请求报文包括:第一通信设备的设备标识,状态切换请求包括:第一通信设备的设备标识,步骤203可以包括:
生成设备标识列表,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;
向与网络接入设备绑定的终端发送包括设备标识列表的状态切换请求。
可选地,回复信息包括:目标设备标识,目标设备标识为终端的用户在设备标识列表中选择的设备标识,该方法还包括:
将目标设备标识对应的通信设备接入到网络中;
向目标设备标识对应的通信设备发送响应报文,响应报文用于指示目标设备标识对应的通信设备网络接入成功。
可选地,该方法还包括:
若网络接入设备当前处于允许设备接入状态,则判断第一通信设备是否为网络接入设备允许接入的设备;
若第一通信设备是网络接入设备允许接入的设备,则将第一通信设备接入到网络中;
向第一通信设备发送响应报文,响应报文用于指示第一通信设备网络接入成功。
可选地,请求报文包括:第一通信设备的类型标识,
判断第一通信设备是否为网络接入设备允许接入的设备,包括:
根据第一通信设备的类型标识,判断第一通信设备的类型是否为网络接入设备允许接入的类型;
若第一通信设备的类型是网络接入设备允许接入的类型,则确定第一通信设备是网络接入设备允许接入的设备。
可选地,请求报文包括:第一通信设备的地址,
判断第一通信设备是否为网络接入设备允许接入的设备,包括:
判断第一通信设备的地址是否属于网络接入设备允许接入的地址范围;
若第一通信设备的地址属于网络接入设备允许接入的地址范围,则确定第一通信设备是网络接入设备允许接入的设备。
可选地,步骤205可以包括:
将网络接入设备的状态切换为允许设备接入状态,使网络接入设备在预设时间窗口内处于允许设备接入状态。
综上所述,本公开实施例提供的网络接入方法,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图3是根据另一示例性实施例示出的一种网络接入方法的方法流程图,本实施例以该网络接入方法应用于图1所示实施环境中的终端130中来进行举例说明,参见图3,该网络接入方法可以包括如下几个步骤:
在步骤301中,接收与终端绑定的网络接入设备发送的状态切换请求,状态切换请求是网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定网络接入设备当前处于禁止设备接入状态后发送的。
在步骤302中,根据状态切换请求,生成回复信息。
在步骤303中,向网络接入设备发送回复信息,网络接入设备用于在回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
综上所述,本公开实施例提供的网络接入方法,终端通过接收与终端绑定的网络接入设备发送的状态切换请求,根据状态切换请求,生成回复信息,并向网络接入设备发送回 复信息,以便于网络接入设备根据回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过终端接收网络接入设备发送的状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
可选地,状态切换请求包括:第一通信设备的设备标识,步骤301可以包括:
接收与终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
可选地,步骤302可以包括:
根据状态切换请求,显示设备标识列表;
接收用户触发目标设备标识产生的触发指令,目标设备标识为用户在设备标识列表中选择的设备标识;
根据触发指令,生成包括目标设备标识的回复信息。
综上所述,本公开实施例提供的网络接入方法,终端通过接收与终端绑定的网络接入设备发送的状态切换请求,根据状态切换请求,生成回复信息,并向网络接入设备发送回复信息,以便于网络接入设备根据回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过终端接收网络接入设备发送的状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图4是根据再一示例性实施例示出的一种网络接入方法的方法流程图,本实施例以该网络接入方法应用于图1所示实施环境中的第一通信设备110中来进行举例说明。参见图4,该网络接入方法可以包括如下几个步骤:
在步骤401中,向网络接入设备广播用于请求接入网络的请求报文,网络接入设备用于检测网络接入设备当前的状态,在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求。
可选地,请求报文包括:第一通信设备的设备标识,请求报文还包括:第一通信设备的类型标识和第一通信设备的地址中的至少一种。
综上所述,本公开实施例提供的网络接入方法,第一通信设备通过向网络接入设备广播用于请求接入网络的请求报文,以便于网络接入设备在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图5-1是根据又一示例性实施例示出的一种网络接入方法的方法流程图,本实施例以该网络接入方法应用于图1所示实施环境中来进行举例说明。参见图5-1,该网络接入方法可以包括如下几个步骤:
在步骤501中,第一通信设备向网络接入设备广播用于请求接入网络的请求报文,网络接入设备用于检测网络接入设备当前的状态,在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求。
其中,本公开实施例以第一通信设备为图1所示实施环境中的第一通信设备110,以网络接入设备为图1所示实施环境中的网络接入设备120,以与网络接入设备绑定的终端为图1所示实施环境中的终端130为例进行说明。
其中,第一通信设备110可以为智能摄像机、智能插座、智能手环、智能电视机、红外遥控器等设备。第一通信设备110在处于未入网状态时,可以向网络接入设备120广播用于请求接入网络的请求报文,以便于网络接入设备120为第一通信设备110提供网络接入服务。
其中,该请求报文中可以包括第一通信设备110的设备标识,还可以包括第一通信设备110的类型标识和第一通信设备110的地址中的至少一种。示例地,该请求报文可以为beacon request报文,第一通信设备110的地址可以为第一通信设备110的MAC地址。假设第一通信设备110的设备标识为ID-A,类型标识为ID-m,MAC地址为ID-2,则请求报文中可以包括设备标识ID-A,以及类型标识ID-m和MAC地址ID-2中的至少一种。
需要说明的是,第一通信设备110可以在第一通信设备110接通电源,并且检测到自身处于为入网状态时,向网络接入设备120广播用于请求接入网络的请求报文,也可以在第一通信设备110被重置以后向网络接入设备120广播用于请求接入网络的请求报文,本公开实施例对此不做限定。在一种可能的实现方式中,第一通信设备110之前接入过网络,第一通信设备110保存有入网信息,因此,在第一通信设备110接通电源时,第一通信设备110可以优先根据自身保存的入网信息入网,本公开实施例对此不做限定。
在步骤502中,网络接入设备接收第一通信设备广播的用于请求接入网络的请求报文。
第一通信设备110向网络接入设备120广播用于请求接入网络的请求报文时,网络接入设备120可以接收第一通信设备110广播的用于请求接入网络的请求报文,示例地,网络接入设备120接收第一通信设备110广播beacon request报文,该beacon request报文可以包括第一通信设备110设备标识ID-A,以及第一通信设备110类型标识ID-m和MAC地址ID-2中的至少一种。
在步骤503中,网络接入设备检测网络接入设备当前的状态。若网络接入设备当前处于禁止设备接入状态,则执行步骤504至步骤511,若网络接入设备当前处于允许设备接入状态,则执行步骤512至步骤514。
网络接入设备120接收到第一通信设备110广播的用于请求接入网络的请求报文后, 可以检测网络接入设备120当前的状态,网络接入设备120当前的状态可以为禁止设备接入状态和允许设备接入状态中的任意一种。
在步骤504中,若网络接入设备当前处于禁止设备接入状态,则向与网络接入设备绑定的终端发送状态切换请求,终端用于根据状态切换请求,生成回复信息。
若在步骤503中,网络接入设备120检测到网络接入设备120当前处于禁止设备接入状态,则网络接入设备120可以向与网络接入设备120绑定的终端发送状态切换请求,其中,与网络接入设备120绑定的终端可以为图1所示实施环境中的终端130,因此,网络接入设备120可以向终端130发送状态切换请求,该状态切换请求可以包括第一通信设备110的设备标识ID-A。
需要说明的是,在本公开实施例中,网络接入设备120可以在接收到第一通信设备110广播的请求报文后立即向终端130发送状态切换请求,也可以每隔预设时间段检测是否接收到请求报文,若接收到请求报文,则向终端130发送状态切换请求。其中,在预设时间段内,网络接入设备120可能会接收到多个来自不同通信设备的请求报文,且预设时间段可以根据实际情况设置,本公开实施例对此不做限定。
示例地,请参考图5-2,其示出的是图5-1所示实施例提供的一种网络接入设备向与网络接入设备绑定的终端发送状态切换请求的方法的方法流程图,本实施例以网络接入设备120每隔预设时间段向终端130发送状态切换请求为例进行说明。参见图5-2,该方法流程可以包括如下几个步骤:
在子步骤5041中,网络接入设备生成设备标识列表,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
若网络接入设备120每隔预设时间段向终端130发送状态切换请求,则网络接入设备120可以先根据接收到的请求报文中的通信设备的设备标识生成设备标识列表,该设备标识列表可以记录网络接入设备120从接收到第一通信设备110发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识,假设在该预设时间段内,网络接入设备120还接收到了图1所示实施环境中的第二通信设备150等其他通信设备发送的用于请求接入网络的请求报文,且假设第二通信设备150的设备标识为ID-B,则网络接入设备120可以根据第一通信设备110的设备标识ID-A和第二通信设备150的设备标识ID-B生成设备标识列表,该设备标识列表可以如下表1所示:
表1
设备标识
ID-A
ID-B
......
在子步骤5042中,网络接入设备向与网络接入设备绑定的终端发送包括设备标识列表的状态切换请求。
网络接入设备120生成设备标识列表后,可以向与网络接入设备120绑定的终端发送包括设备标识列表的状态切换请求,示例地,网络接入设备120向终端130发送包括表1所示的设备标识列表的状态切换请求。
在步骤505中,终端接收与终端绑定的网络接入设备发送的状态切换请求,状态切换请求是网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定网络接入设备当前处于禁止设备接入状态后发送的。
网络接入设备120向与网络接入设备120绑定的终端发送状态切换请求时,与网络接入设备120绑定的终端可以接收网络接入设备120发送的状态切换请求。
示例地,请参考图5-3,其示出的是图5-1所示实施例提供的一种终端接收网络接入设备发送的状态切换请求的方法的方法流程图,参见图5-3,该方法流程可以包括如下几个步骤:
在子步骤5051中,终端接收与终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
示例地,终端130接收网络接入设备120发送的包括表1所示的设备标识列表的状态切换请求。该表1所示的设备标识列表记录了从网络接入设备120接收到第一通信设备110发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
在步骤506中,终端根据状态切换请求,生成回复信息。
终端130在接收到网络接入设备120发送的状态切换请求后,可以根据状态切换请求生成回复信息。
示例地,请参考图5-4,其示出的是图5-1所示实施例提供的一种终端根据状态切换请求生成回复信息的方法的方法流程图,参见图5-4,该方法流程可以包括如下几个步骤:
在子步骤5061中,终端根据状态切换请求,显示设备标识列表。
当终端130接收到的状态切换请求包括设备标识列表时,终端130可以显示设备表示列表,示例地,终端130显示表1所示的设备标识列表。需要说明的是,终端130在显示设备标识列表时,还可以显示设备标识对应的通信设备的名称以及提示信息。
示例地,请参考图5-5,其示出的是图5-1所示实施例提供的一种终端的显示界面图。参见图5-5,终端130当前显示有显示界面510,显示界面510中包括设备标识列表511和提示信息“以下设备请求接入网络,是否切换状态?”,其中,设备标识列表511中包括第一通信设备以及第一通信设备的设备标识ID-A,第二通信设备以及第二通信设备的设备标识ID-B,参见图5-5,显示界面510中还包括“是”和“否”按钮。
需要说明的是,本公开实施例是以终端130根据状态切换请求,显示设备标识列表为 例进行说明的,实际应用中,若网络接入设备120发送的状态切换请求中不包括设备标识列表,终端130可以只显示提示信息,示例地,提示信息可以为“有通信设备请求接入网络,是否切换状态?”,或者,提示信息还可以为“有2个通信设备请求接入网络,是否切换状态?”等,本公开实施例对此不做限定。
在子步骤5062中,终端接收用户触发目标设备标识产生的触发指令,目标设备标识为用户在设备标识列表中选择的设备标识。
终端130显示设备标识列表后,用户可以在设备标识列表中选择设备标识,其中,用户选择的设备标识可以称为目标设备标识,以使得网络接入设备120将当前状态切换为允许设备接入状态,并将目标设备标识对应的通信设备接入到网络中。用户选择目标设备标识时可以产生触发指令,终端130可以接收用户触发目标设备标识产生的触发指令。
示例地,如图5-5所示,用户可以点击图5-5所示的设备标识列表511中的设备标识ID-B,因此,该设备标识ID-B可以为目标设备标识。终端130可以接收用户触发目标设备标识ID-B产生的触发指令。
需要说明的是,在本公开实施例中,终端130接收用户触发目标设备标识产生的触发指令时,可以认为用户同意网络接入设备120将当前状态切换为允许设备接入状态,并且只允许网络接入设备120将目标设备标识对应的通信设备接入到网络中,比如,终端130接收用户触发目标设备标识ID-B产生的触发指令,说明用户同意网络接入设备120将当前状态切换为允许设备接入状态,并且只允许网络接入设备120将目标设备标识ID-B对应的通信设备(第二通信设备)接入到网络中。
还需要说明的是,如图5-5所示,用户还可以点击图5-5所示的显示界面510“是”按钮,此时也可以产生对应的触发指令,终端130接收到该触发指令时,
可以认为用户同意网络接入设备120将当前状态切换为允许设备接入状态,并且允许网络接入设备120将所有请求接入网络的通信设备接入到网络中。当然,若用户不同意网络接入设备120将当前状态切换为允许设备接入状态,用户可以点击图5-5所示的显示界面510“否”按钮产生对应的触发指令。
在子步骤5063中,终端根据触发指令,生成包括目标设备标识的回复信息。
终端130接收用户触发目标设备标识产生的触发指令时,可以根据触发指令生成包括目标设备标识的回复信息,示例地,该回复信息可以为“允许设备标识ID-B对应的通信设备接入网络”。
需要说明的是,若用户点击的是图5-5所示的显示界面510“是”按钮,则终端130生成的回复信息可以为“允许将当前状态切换为允许设备接入状态”。当然,若用户点击的是图5-5所示的显示界面510“否”按钮,则终端130生成的回复信息可以为“不允许将当前状态切换为允许设备接入状态”。其中,本实施例所示的回复信息只是示例性的,并不能用以限制本公开。
在步骤507中,终端向网络接入设备发送回复信息,网络接入设备用于在回复信息指 示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
终端130接收到网络接入设备120发送的状态切换请求后,可以向网络接入设备120发送回复信息,示例地,终端130向网络接入设备120发送回复信息“允许将当前状态切换为允许设备接入状态”,或者“允许设备标识ID-B对应的通信设备接入网络”。
在步骤508中,网络接入设备接收终端发送的回复信息。
终端130向网络接入设备120发送回复信息时,网络接入设备120可以接收终端130发送的回复信息。示例地,网络接入设备120接收终端130发送的回复信息“允许将当前状态切换为允许设备接入状态”,或者“允许设备标识ID-B对应的通信设备接入网络”。
在步骤509中,网络接入设备在回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
网络接入设备120接收到终端130发送的回复信息后,若回复信息指示将网络接入设备120的状态切换为允许设备接入状态,则网络接入设备120将当前状态切换为允许设备接入状态。在本公开实施例中,回复信息可以为“允许将当前状态切换为允许设备接入状态”,或者“允许设备标识ID-B对应的通信设备接入网络”,该回复信息指示将网络接入设备120的状态切换为允许设备接入状态,因此,网络接入设备120将网络接入设备120的状态切换为允许设备接入状态。
需要说明的是,在网络接入设备120将网络接入设备120的状态切换为允许设备接入状态后,若网络接入设备120一直处于允许设备接入状态,则会导致网络接入设备120将一些恶意蹭网的设备接入到网络中,因此,网络接入设备120可以在预设时间窗口内保持允许设备接入状态,之后又将状态切换为禁止设备接入状态。示例地,请参考图5-6,其示出的是图5-1所示实施例提供的一种网络接入设备将网络接入设备的状态切换为允许设备接入状态的方法的方法流程图,参见图5-6,该方法流程可以包括如下几个步骤:
在子步骤5091中,网络接入设备将网络接入设备的状态切换为允许设备接入状态,使网络接入设备在预设时间窗口内处于允许设备接入状态。
网络接入设备120接收到终端130发送的回复信息后,若回复信息指示将网络接入设备120的状态切换为允许设备接入状态,网络接入设备120的状态切换为允许设备接入状态,并使得网络接入设备120在预设时间窗口内处于允许设备接入状态。其中,预设时间窗口可以根据实际情况设置,本公开实施例对此不做限定,示例地,预设时间窗口可以为1分钟。
需要说明的是,预设时间窗口可以是网络接入设备120与终端130预先约定好的,还可以是网络接入设备120根据自身状况确定的,或者,终端130发送的回复信息中可以包括时间窗口,网络接入设备120根据回复信息中的时间窗口,将网络接入设备120的状态切换为允许设备接入状态,使网络接入设备120在时间窗口内处于允许设备接入状态。
在步骤510中,网络接入设备将目标设备标识对应的通信设备接入到网络中。
若在步骤508中,网络接入设备120接收到的回复信息中包括目标设备标识,则网络接入设备120可以将该目标设备标识对应的通信设备接入到网络中。示例地,若网络接入设备120接收到的回复信息为“允许设备标识ID-B对应的通信设备接入网络”,则网络接入设备120将设备标识ID-B对应的通信设备(第二通信设备)接入到网络中。
在步骤511中,网络接入设备向目标设备标识对应的通信设备发送响应报文,响应报文用于指示目标设备标识对应的通信设备网络接入成功。
网络接入设备120将目标设备标识对应的通信设备接入到网络中以后,可以向目标设备标识对应的通信设备发送响应报文,其中,响应报文中可以包括关联许可位,当该关联许可位的值为第一预设数值时,该响应报文指示网络接入成功,当该关联许可位的值为第二预设数值,该响应报文指示网络接入失败。示例地,第一预设数值可以为1,第二预设数值可以为0。
在本公开实施例中,目标设备标识对应的通信设备网络接入成功,因此,响应报文中的该关联许可位的值为第一预设数值。比如,网络接入设备120向第二通信设备发送响应报文,该响应报文中的关联许可位的值为第一预设数值,该响应报文用于指示第二通信设备网络接入成功。
在步骤512中,若网络接入设备当前处于允许设备接入状态,则网络接入设备判断第一通信设备是否为网络接入设备允许接入的设备。
若在步骤503中,网络接入设备120检测到网络接入设备120当前处于允许设备接入状态,则网络接入设备120可以判断第一通信设备110是否为网络接入设备120允许接入的设备。
其中,由于第一通信设备110广播的请求报文中可以包括第一通信设备110的类型标识和第一通信设备110的地址中的至少一种,因此,网络接入设备120可以根据第一通信设备110的类型标识或第一通信设备110的地址,判断第一通信设备110是否为网络接入设备120允许接入的设备。
示例地,请参考图5-7,其示出的是图5-1所示实施例提供的一种网络接入设备120判断第一通信设备110是否为网络接入设备120允许接入的设备的方法的方法流程图,在本实施例中,网络接入设备120根据第一通信设备110的类型标识判断第一通信设备110是否为网络接入设备120允许接入的设备。参见图5-7,该方法流程可以包括如下几个步骤:
在子步骤5121a中,网络接入设备根据第一通信设备的类型标识,判断第一通信设备的类型是否为网络接入设备允许接入的类型。
其中,网络接入设备120可以存储允许接入的类型标识,网络接入设备120可以根据第一通信设备110的类型标识和网络接入设备120存储的类型标识判断第一通信设备110的类型是否为网络接入设备120允许接入的类型。示例地,网络接入设备120可以根据第一通信设备110的类型标识,查询网络接入设备120存储的类型标识,若网络接入设备 120存储的类型标识中存在与第一通信设备110的类型标识相同的标识,则网络接入设备120确定第一通信设备110的类型是网络接入设备120允许接入的类型。示例地,网络接入设备120存储的类型标识可以如下表2所示:
表2
类型标识
ID-n
ID-m
......
参见表2,网络接入设备120存储的类型标识包括:ID-n和ID-m,而由步骤501可知,第一通信设备110的类型标识为ID-m,由于网络接入设备120存储的类型标识中存在与第一通信设备110的类型标识ID-m相同的标识,因此,网络接入设备120确定第一通信设备110的类型是网络接入设备120允许接入的类型。
在子步骤5122a中,若第一通信设备的类型是网络接入设备允许接入的类型,则网络接入设备确定第一通信设备是网络接入设备允许接入的设备。
若在子步骤5121a,网络接入设备120确定第一通信设备110的类型是网络接入设备120允许接入的类型,则网络接入设备120确定第一通信设备110是网络接入设备120允许接入的设备,在本公开实施例中,由于第一通信设备110的类型是网络接入设备120允许接入的类型,因此,第一通信设备110是网络接入设备120允许接入设备。
再示例地,请参考图5-8,其示出的是图5-1所示实施例提供的另一种网络接入设备判断第一通信设备是否为网络接入设备允许接入的设备的方法的方法流程图,在本实施例中,网络接入设备120根据第一通信设备110的地址判断第一通信设备110是否为网络接入设备120允许接入的设备。参见图5-8,该方法流程可以包括如下几个步骤:
在子步骤5121b中,网络接入设备判断第一通信设备的地址是否属于网络接入设备允许接入的地址范围。
其中,网络接入设备120可以存储允许接入的地址范围,网络接入设备120可以根据第一通信设备110的地址,判断第一通信设备110的地址是否属于网络接入设备120存储的允许接入的地址范围。示例地,网络接入设备120存储的允许接入的地址范围可以为[ID-1,ID-100],该地址范围[ID-1,ID-100]中包括地址ID-1、ID-2、ID-3.......ID-100共100个地址。
而由步骤501可知,第一通信设备110的地址为ID-2,因此,第一通信设备110的地址属于网络接入设备120允许接入的地址范围[ID-1,ID-100]。
在子步骤5122b中,若第一通信设备的地址属于网络接入设备允许接入的地址范围,则网络接入设备确定第一通信设备是网络接入设备允许接入的设备。
若在子步骤5121b,网络接入设备120确定第一通信设备110的地址属于网络接入设备120允许接入的地址范围,则网络接入设备120确定第一通信设备110是网络接入设备120允许接入的设备,在本公开实施例中,由于第一通信设备110的地址ID-2属于网络接入设备120允许接入的地址范围[ID-1,ID-100],因此,网络接入设备120确定第一通信设备110是网络接入设备120允许接入的设备。
在步骤513中,若第一通信设备是网络接入设备允许接入的设备,则网络接入设备将第一通信设备接入到网络中。
若在步骤512中,网络接入设备120确定第一通信设备110是网络接入设备120允许接入的设备,则网络接入设备120将第一通信设备110接入到网络中。在本公开实施例中,由于第一通信设备110是网络接入设备120允许接入的设备,因此,网络接入设备120将第一通信设备110接入到网络中。
在步骤514中,网络接入设备向第一通信设备发送响应报文,响应报文用于指示第一通信设备网络接入成功。
网络接入设备120将第一通信设备110接入到网络中以后,可以向第一通信设备110发送响应报文,其中,响应报文中可以包括关联许可位,当该关联许可位的值为第一预设数值时,该响应报文指示网络接入成功,当该关联许可位的值为第二预设数值,该响应报文指示网络接入失败。示例地,第一预设数值可以为1,第二预设数值可以为0。,在本公开实施例中,第一通信设备110网络接入成功,因此,响应报文中的该关联许可位的值为第一预设数值。
需要说明的是,若在步骤503中,网络接入设备120检测到网络接入设备120当前处于禁止设备接入状态,网络接入设备120也可以向第一通信设备110发送响应报文,该响应报文中的关联许可位的值可以为第二预设数值,该响应报文指示第一通信设备110网络接入失败,以使得第一通信设备110再次向网络接入设备120广播用于接入网络的请求报文。
需要说明的是,本公开实施例提供的网络接入方法步骤的先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减,示例地,步骤512至514可以位于步骤504至511之后,也可以位于步骤504至511之前,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本公开的保护范围之内,因此不再赘述。
综上所述,本公开的实施例提供的网络接入方法,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图6是根据一示例性实施例示出的一种网络接入设备的框图,该网络接入设备可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中的网络接入设备120的部分或者全部,参见图6,该网络接入设备可以包括:
第一接收模块610,被配置为接收第一通信设备广播的用于请求接入网络的请求报文。
检测模块620,被配置为检测网络接入设备当前的状态。
第一发送模块630,被配置为在检测模块620确定网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求,终端用于根据状态切换请求,生成回复信息。
第二接收模块640,被配置为接收终端发送的回复信息。
切换模块650,被配置为在第二接收模块640接收到的回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
综上所述,本公开实施例提供的网络接入设备,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图7是根据另一示例性实施例示出的一种网络接入设备的框图,该网络接入设备可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中的网络接入设备120的部分或者全部,参见图7,该网络接入设备可以包括但不限于:
第一接收模块701,被配置为接收第一通信设备广播的用于请求接入网络的请求报文;
检测模块702,被配置为检测网络接入设备当前的状态;
第一发送模块703,被配置为在检测模块702确定网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求,终端用于根据状态切换请求,生成回复信息;
第二接收模块704,被配置为接收终端发送的回复信息;
切换模块705,被配置为在第二接收模块704接收到的回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
可选地,请求报文包括:第一通信设备的设备标识,状态切换请求包括:第一通信设备的设备标识,
第一发送模块703,被配置为生成设备标识列表,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;向与网络接入设备绑定的终端发送包括设备标识列表的状态切换请求。
可选地,回复信息包括:目标设备标识,目标设备标识为终端的用户在设备标识列表中选择的设备标识,该网络接入设备还包括:
第一接入模块706,被配置为将目标设备标识对应的通信设备接入到网络中;
第二发送模块707,被配置为向目标设备标识对应的通信设备发送响应报文,响应报文用于指示目标设备标识对应的通信设备网络接入成功。
可选地,该网络接入设备还包括:
判断模块708,被配置为在检测模块702确定网络接入设备当前处于允许设备接入状态时,判断第一通信设备是否为网络接入设备允许接入的设备;
第二接入模块709,被配置为在判断模块708确定第一通信设备是网络接入设备允许接入的设备时,将第一通信设备接入到网络中;
第三发送模块710,被配置为向第一通信设备发送响应报文,响应报文用于指示第一通信设备网络接入成功。
可选地,请求报文包括:第一通信设备的类型标识,
判断模块708,被配置为根据第一通信设备的类型标识,判断第一通信设备的类型是否为网络接入设备允许接入的类型;在第一通信设备的类型是网络接入设备允许接入的类型时,确定第一通信设备是网络接入设备允许接入的设备。
可选地,请求报文包括:第一通信设备的地址,
判断模块708,被配置为判断第一通信设备的地址是否属于网络接入设备允许接入的地址范围;在第一通信设备的地址属于网络接入设备允许接入的地址范围时,确定第一通信设备是网络接入设备允许接入的设备。
可选地,切换模块705,被配置为将网络接入设备的状态切换为允许设备接入状态,使网络接入设备在预设时间窗口内处于允许设备接入状态。
综上所述,本公开实施例提供的网络接入设备,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图8是根据再一示例性实施例示出的一种网络接入设备的框图,该网络接入设备可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中的终端130的部分或者全部,参见图8,该网络接入设备可以包括:
接收模块810,被配置为接收与终端绑定的网络接入设备发送的状态切换请求,状态切换请求是网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定网络接入设备当前处于禁止设备接入状态后发送的。
生成模块820,被配置为根据接收模块810接收到的状态切换请求,生成回复信息。
发送模块830,被配置为向网络接入设备发送生成模块820生成的回复信息,网络接入设备用于在回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
综上所述,本公开实施例提供的网络接入设备,终端通过接收与终端绑定的网络接入设备发送的状态切换请求,根据状态切换请求,生成回复信息,并向网络接入设备发送回复信息,以便于网络接入设备根据回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过终端接收网络接入设备发送的状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
可选地,状态切换请求包括:第一通信设备的设备标识,
接收模块810,被配置为接收与终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
可选地,生成模块820,被配置为根据状态切换请求,显示设备标识列表;接收用户触发目标设备标识产生的触发指令,目标设备标识为用户在设备标识列表中选择的设备标识;根据触发指令,生成包括目标设备标识的回复信息。
综上所述,本公开实施例提供的网络接入设备,终端通过接收与终端绑定的网络接入设备发送的状态切换请求,根据状态切换请求,生成回复信息,并向网络接入设备发送回复信息,以便于网络接入设备根据回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过终端接收网络接入设备发送的状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图9是根据又一示例性实施例示出的一种网络接入设备的框图,该网络接入设备可以通过软件、硬件或者两者的结合实现成为图1所示实施环境中的第一通信设备110的部分或者全部,参见图9,该网络接入设备可以包括:
广播模块910,被配置为向网络接入设备广播用于请求接入网络的请求报文,网络接入设备用于检测网络接入设备当前的状态,在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求。
可选地,请求报文包括:第一通信设备的设备标识,请求报文还包括:第一通信设备的类型标识和第一通信设备的地址中的至少一种。
综上所述,本公开实施例提供的网络接入设备,第一通信设备通过向网络接入设备广播用于请求接入网络的请求报文,以便于网络接入设备在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图10是根据一示例性实施例示出的一种网络接入设备1000的框图。网络接入设备1000可以是图1所示实施环境中的网络接入设备120。例如,装置1000可以是网关、路由器等。
参照图10,装置1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电源组件1006,输入/输出(I/O)接口1008,传感器组件1010,以及通信组件1012。
处理组件1002通常控制装置1000的整体操作,诸如与数据通信和记录操作相关联的操作。处理组件1002可以包括一个或多个处理器1020来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。
存储器1004被配置为存储各种类型的数据以支持在装置1000的操作。这些数据的示例包括用于在装置1000上操作的任何应用程序或方法的指令,消息等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1006为装置1000的各种组件提供电力。电源组件1006可以包括电源管理系统,一个或多个电源,及其他与为装置1000生成、管理和分配电力相关联的组件。
I/O接口1008为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是点击轮,按钮等。这些按钮可包括但不限于:启动按钮和锁定按钮。
传感器组件1010包括一个或多个传感器,用于为装置1000提供各个方面的状态评估。例如,传感器组件1010可以检测到装置1000的打开/关闭状态,组件的相对定位,例如组件为装置1000的按钮,传感器组件1010还可以检测装置1000或装置1000一个组件的位置改变,用户与装置1000接触的存在或不存在。传感器组件1010可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。在一些实施例中,该传感器组件1010还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1012被配置为便于装置1000和其他设备之间有线或无线方式的通信。装置1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示 例性实施例中,通信组件1012经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件1012还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由装置1000的处理器1020执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1000的处理器执行时,使得装置1000能够执行一种网络接入方法,该方法包括:
接收第一通信设备广播的用于请求接入网络的请求报文;
检测网络接入设备当前的状态;
若网络接入设备当前处于禁止设备接入状态,则向与网络接入设备绑定的终端发送状态切换请求,终端用于根据状态切换请求,生成回复信息;
接收终端发送的回复信息;
在回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
可选地,请求报文包括:第一通信设备的设备标识,状态切换请求包括:第一通信设备的设备标识,向与网络接入设备绑定的终端发送状态切换请求,包括:
生成设备标识列表,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;
向与网络接入设备绑定的终端发送包括设备标识列表的状态切换请求。
可选地,回复信息包括:目标设备标识,目标设备标识为终端的用户在设备标识列表中选择的设备标识,该方法还包括:
将目标设备标识对应的通信设备接入到网络中;
向目标设备标识对应的通信设备发送响应报文,响应报文用于指示目标设备标识对应的通信设备网络接入成功。
可选地,该方法还包括:
若网络接入设备当前处于允许设备接入状态,则判断第一通信设备是否为网络接入设备允许接入的设备;
若第一通信设备是网络接入设备允许接入的设备,则将第一通信设备接入到网络中;
向第一通信设备发送响应报文,响应报文用于指示第一通信设备网络接入成功。
可选地,请求报文包括:第一通信设备的类型标识,
判断第一通信设备是否为网络接入设备允许接入的设备,包括:
根据第一通信设备的类型标识,判断第一通信设备的类型是否为网络接入设备允许接入的类型;
若第一通信设备的类型是网络接入设备允许接入的类型,则确定第一通信设备是网络接入设备允许接入的设备。
可选地,请求报文包括:第一通信设备的地址,
判断第一通信设备是否为网络接入设备允许接入的设备,包括:
判断第一通信设备的地址是否属于网络接入设备允许接入的地址范围;
若第一通信设备的地址属于网络接入设备允许接入的地址范围,则确定第一通信设备是网络接入设备允许接入的设备。
可选地,将网络接入设备的状态切换为允许设备接入状态,包括:
将网络接入设备的状态切换为允许设备接入状态,使网络接入设备在预设时间窗口内处于允许设备接入状态。
综上所述,本公开实施例提供的网络接入设备,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图11是根据另一示例性实施例示出的一种网络接入设备1100的框图。该网络接入设备1100可以是图1所示实施环境中的终端130。例如,装置1100可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图11,装置1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)接口1112,传感器组件1114,以及通信组件1116。
处理组件1102通常控制装置1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1102可以包括一个或多个处理器1120来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理组件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。
存储器1104被配置为存储各种类型的数据以支持在装置1100的操作。这些数据的示 例包括用于在装置1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1106为装置1100的各种组件提供电力。电源组件1106可以包括电源管理系统,一个或多个电源,及其他与为装置1100生成、管理和分配电力相关联的组件。
多媒体组件1108包括在装置1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当装置1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当装置1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1116发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。
I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件1114包括一个或多个传感器,用于为装置1100提供各个方面的状态评估。例如,传感器组件1114可以检测到装置1100的打开/关闭状态,组件的相对定位,例如组件为装置1100的显示器和小键盘,传感器组件1114还可以检测装置1100或装置1100一个组件的位置改变,用户与装置1100接触的存在或不存在,装置1100方位或加速/减速和装置1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1116被配置为便于装置1100和其他设备之间有线或无线方式的通信。装置1100可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件1116还包括近场通信(NFC)模块,以 促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由装置1100的处理器1120执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1100的处理器执行时,使得装置1100能够执行一种网络接入方法,该方法包括:
接收与终端绑定的网络接入设备发送的状态切换请求,状态切换请求是网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定网络接入设备当前处于禁止设备接入状态后发送的;
根据状态切换请求,生成回复信息;
向网络接入设备发送回复信息,网络接入设备用于在回复信息指示将网络接入设备的状态切换为允许设备接入状态时,将网络接入设备的状态切换为允许设备接入状态。
可选地,状态切换请求包括:第一通信设备的设备标识,接收与终端绑定的网络接入设备发送的状态切换请求,包括:
接收与终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,设备标识列表记录了从接收到第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
可选地,根据状态切换请求,生成回复信息,包括:
根据状态切换请求,显示设备标识列表;
接收用户触发目标设备标识产生的触发指令,目标设备标识为用户在设备标识列表中选择的设备标识;
根据触发指令,生成包括目标设备标识的回复信息。
综上所述,本公开实施例提供的网络接入设备,终端通过接收与终端绑定的网络接入设备发送的状态切换请求,根据状态切换请求,生成回复信息,并向网络接入设备发送回复信息,以便于网络接入设备根据回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过终端接收网络接入设备发送的状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图12是根据再一示例性实施例示出的一种网络接入设备1200的框图。该网络接入设备1200可以是图1所示实施环境中的第一通信设备110,例如,装置1200可以是智能摄像机、智能插座、移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图12,装置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的处理器1220执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置1200的处理器执行时,使得装置1200能够执行一种网络接入方法,该方法包括:
向网络接入设备广播用于请求接入网络的请求报文,网络接入设备用于检测网络接入设备当前的状态,在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求。
可选地,请求报文包括:第一通信设备的设备标识,请求报文还包括:第一通信设备的类型标识和第一通信设备的地址中的至少一种。
综上所述,本公开实施例提供的网络接入设备,第一通信设备通过向网络接入设备广播用于请求接入网络的请求报文,以便于网络接入设备在网络接入设备当前处于禁止设备接入状态时,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送 状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
图13是根据一示例性实施例示出的一种网络接入系统1300的结构示意图。参见图13,该网络接入系统1300可以包括:第一通信设备1310、网络接入设备1320和终端1330。
其中,第一通信设备1310包括图9或图12所示的网络接入设备
网络接入设备1320包括图6、图7或图10所示的网络接入设备;
终端1330包括图8或图11所示的网络接入设备。
综上所述,本公开实施例提供的网络接入系统,第一通信设备向网络接入设备发送请求报文,网络接入设备通过接收第一通信设备广播的请求报文;检测网络接入设备当前的状态;在当前处于禁止设备接入状态,向与网络接入设备绑定的终端发送状态切换请求,并根据终端发送的回复信息将网络接入设备的状态切换为允许设备接入状态,将网络接入设备的状态切换为允许设备接入状态后,第一通信设备即可接入网络。本公开实施例通过网络接入设备向终端发送状态切换请求,解决了相关技术中网络接入过程复杂的问题,达到了简化网络接入过程的有益效果。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (29)

  1. 一种网络接入方法,其特征在于,所述方法包括:
    接收第一通信设备广播的用于请求接入网络的请求报文;
    检测网络接入设备当前的状态;
    若所述网络接入设备当前处于禁止设备接入状态,则向与所述网络接入设备绑定的终端发送状态切换请求,所述终端用于根据所述状态切换请求,生成回复信息;
    接收所述终端发送的所述回复信息;
    在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
  2. 根据权利要求1所述的方法,其特征在于,所述请求报文包括:所述第一通信设备的设备标识,所述状态切换请求包括:所述第一通信设备的设备标识,所述向与所述网络接入设备绑定的终端发送状态切换请求,包括:
    生成设备标识列表,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;
    向所述与所述网络接入设备绑定的终端发送包括所述设备标识列表的状态切换请求。
  3. 根据权利要求2所述的方法,其特征在于,所述回复信息包括:目标设备标识,所述目标设备标识为所述终端的用户在所述设备标识列表中选择的设备标识,所述方法还包括:
    将所述目标设备标识对应的通信设备接入到网络中;
    向所述目标设备标识对应的通信设备发送响应报文,所述响应报文用于指示所述目标设备标识对应的通信设备网络接入成功。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若所述网络接入设备当前处于允许设备接入状态,则判断所述第一通信设备是否为所述网络接入设备允许接入的设备;
    若所述第一通信设备是所述网络接入设备允许接入的设备,则将所述第一通信设备接入到网络中;
    向所述第一通信设备发送响应报文,所述响应报文用于指示所述第一通信设备网络接入成功。
  5. 根据权利要求4所述的方法,其特征在于,所述请求报文包括:所述第一通信设备的类型标识,
    所述判断所述第一通信设备是否为所述网络接入设备允许接入的设备,包括:
    根据所述第一通信设备的类型标识,判断所述第一通信设备的类型是否为所述网络接入设备允许接入的类型;
    若所述第一通信设备的类型是所述网络接入设备允许接入的类型,则确定所述第一通信设备是所述网络接入设备允许接入的设备。
  6. 根据权利要求4所述的方法,其特征在于,所述请求报文包括:所述第一通信设备的地址,
    所述判断所述第一通信设备是否为所述网络接入设备允许接入的设备,包括:
    判断所述第一通信设备的地址是否属于所述网络接入设备允许接入的地址范围;
    若所述第一通信设备的地址属于所述网络接入设备允许接入的地址范围,则确定所述第一通信设备是所述网络接入设备允许接入的设备。
  7. 根据权利要求1所述的方法,其特征在于,所述将所述网络接入设备的状态切换为允许设备接入状态,包括:
    将所述网络接入设备的状态切换为允许设备接入状态,使所述网络接入设备在预设时间窗口内处于所述允许设备接入状态。
  8. 一种网络接入方法,其特征在于,所述方法包括:
    接收与终端绑定的网络接入设备发送的状态切换请求,所述状态切换请求是所述网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定所述网络接入设备当前处于禁止设备接入状态后发送的;
    根据所述状态切换请求,生成回复信息;
    向所述网络接入设备发送所述回复信息,所述网络接入设备用于在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
  9. 根据权利要求8所述的方法,其特征在于,所述状态切换请求包括:所述第一通信设备的设备标识,所述接收与终端绑定的网络接入设备发送的状态切换请求,包括:
    接收与所述终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述状态切换请求,生成回复信息,包括:
    根据所述状态切换请求,显示所述设备标识列表;
    接收用户触发目标设备标识产生的触发指令,所述目标设备标识为所述用户在所述设备标识列表中选择的设备标识;
    根据所述触发指令,生成包括所述目标设备标识的回复信息。
  11. 一种网络接入方法,其特征在于,所述方法包括:
    向网络接入设备广播用于请求接入网络的请求报文,所述网络接入设备用于检测所述网络接入设备当前的状态,在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求。
  12. 根据权利要求11所述的方法,其特征在于,所述请求报文包括:所述第一通信设备的设备标识,所述请求报文还包括:所述第一通信设备的类型标识和所述第一通信设备的地址中的至少一种。
  13. 一种网络接入设备,其特征在于,所述设备包括:
    第一接收模块,被配置为接收第一通信设备广播的用于请求接入网络的请求报文;
    检测模块,被配置为检测网络接入设备当前的状态;
    第一发送模块,被配置为在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求,所述终端用于根据所述状态切换请求,生成回复信息;
    第二接收模块,被配置为接收所述终端发送的所述回复信息;
    切换模块,被配置为在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
  14. 根据权利要求13所述的设备,其特征在于,所述请求报文包括:所述第一通信设备的设备标识,所述状态切换请求包括:所述第一通信设备的设备标识,
    所述第一发送模块,被配置为生成设备标识列表,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识;向所述与所述网络接入设备绑定的终端发送包括所述设备标识列表的状态切换请求。
  15. 根据权利要求14所述的设备,其特征在于,所述回复信息包括:目标设备标识,所述目标设备标识为所述终端的用户在所述设备标识列表中选择的设备标识,所述设备还包括:
    第一接入模块,被配置为将所述目标设备标识对应的通信设备接入到网络中;
    第二发送模块,被配置为向所述目标设备标识对应的通信设备发送响应报文,所述响 应报文用于指示所述目标设备标识对应的通信设备网络接入成功。
  16. 根据权利要求13所述的设备,其特征在于,所述设备还包括:
    判断模块,被配置为在所述网络接入设备当前处于允许设备接入状态时,判断所述第一通信设备是否为所述网络接入设备允许接入的设备;
    第二接入模块,被配置为在所述第一通信设备是所述网络接入设备允许接入的设备时,将所述第一通信设备接入到网络中;
    第三发送模块,被配置为向所述第一通信设备发送响应报文,所述响应报文用于指示所述第一通信设备网络接入成功。
  17. 根据权利要求16所述的设备,其特征在于,所述请求报文包括:所述第一通信设备的类型标识,
    所述判断模块,被配置为根据所述第一通信设备的类型标识,判断所述第一通信设备的类型是否为所述网络接入设备允许接入的类型;在所述第一通信设备的类型是所述网络接入设备允许接入的类型时,确定所述第一通信设备是所述网络接入设备允许接入的设备。
  18. 根据权利要求16所述的设备,其特征在于,所述请求报文包括:所述第一通信设备的地址,
    所述判断模块,被配置为判断所述第一通信设备的地址是否属于所述网络接入设备允许接入的地址范围;在所述第一通信设备的地址属于所述网络接入设备允许接入的地址范围时,确定所述第一通信设备是所述网络接入设备允许接入的设备。
  19. 根据权利要求13所述的设备,其特征在于,
    所述切换模块,被配置为将所述网络接入设备的状态切换为允许设备接入状态,使所述网络接入设备在预设时间窗口内处于所述允许设备接入状态。
  20. 一种网络接入设备,其特征在于,所述设备包括:
    接收模块,被配置为接收与终端绑定的网络接入设备发送的状态切换请求,所述状态切换请求是所述网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定所述网络接入设备当前处于禁止设备接入状态后发送的;
    生成模块,被配置为根据所述状态切换请求,生成回复信息;
    发送模块,被配置为向所述网络接入设备发送所述回复信息,所述网络接入设备用于在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
  21. 根据权利要求20所述的设备,其特征在于,所述状态切换请求包括:所述第一通信设备的设备标识,
    所述接收模块,被配置为接收与所述终端绑定的网络接入设备发送的包括设备标识列表的状态切换请求,所述设备标识列表记录了从接收到所述第一通信设备发送的请求报文的时刻起,预设时间段内接收到的所有发送请求报文的通信设备的设备标识。
  22. 根据权利要求21所述的设备,其特征在于,
    所述生成模块,被配置为根据所述状态切换请求,显示所述设备标识列表;接收用户触发目标设备标识产生的触发指令,所述目标设备标识为所述用户在所述设备标识列表中选择的设备标识;根据所述触发指令,生成包括所述目标设备标识的回复信息。
  23. 一种网络接入设备,其特征在于,所述设备包括:
    广播模块,被配置为向网络接入设备广播用于请求接入网络的请求报文,所述网络接入设备用于检测所述网络接入设备当前的状态,在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求。
  24. 根据权利要求23所述的设备,其特征在于,所述请求报文包括:所述第一通信设备的设备标识,所述请求报文还包括:所述第一通信设备的类型标识和所述第一通信设备的地址中的至少一种。
  25. 一种网络接入设备,其特征在于,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收第一通信设备广播的用于请求接入网络的请求报文;
    检测网络接入设备当前的状态;
    若所述网络接入设备当前处于禁止设备接入状态,则向与所述网络接入设备绑定的终端发送状态切换请求,所述终端用于根据所述状态切换请求,生成回复信息;
    接收所述终端发送的所述回复信息;
    在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
  26. 一种网络接入设备,其特征在于,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    接收与终端绑定的网络接入设备发送的状态切换请求,所述状态切换请求是所述网络接入设备在接收到第一通信设备广播的用于请求接入网络的请求报文,确定所述网络接入设备当前处于禁止设备接入状态后发送的;
    根据所述状态切换请求,生成回复信息;
    向所述网络接入设备发送所述回复信息,所述网络接入设备用于在所述回复信息指示将所述网络接入设备的状态切换为允许设备接入状态时,将所述网络接入设备的状态切换为允许设备接入状态。
  27. 一种网络接入设备,其特征在于,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    向网络接入设备广播用于请求接入网络的请求报文,所述网络接入设备用于检测所述网络接入设备当前的状态,在所述网络接入设备当前处于禁止设备接入状态时,向与所述网络接入设备绑定的终端发送状态切换请求。
  28. 一种网络接入系统,其特征在于,所述系统包括:网络接入设备、终端和第一通信设备,
    所述网络接入设备包括权利要求13至19任一所述的网络接入设备;
    所述终端包括权利要求20至22任一所述的网络接入设备;
    所述第一通信设备包括权利要求23或24所述的网络接入设备。
  29. 一种网络接入系统,其特征在于,所述系统包括:网络接入设备、终端和第一通信设备,
    所述网络接入设备包括权利要求25所述的网络接入设备;
    所述终端包括权利要求26所述的网络接入设备;
    所述第一通信设备包括权利要求27所述的网络接入设备。
PCT/CN2015/090560 2015-07-31 2015-09-24 网络接入方法、设备及系统 WO2017020413A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017531940A JP6383109B2 (ja) 2015-07-31 2015-09-24 ネットワーク接続方法、ネットワーク接続機器、端末、通信機器、ネットワーク接続システム、プログラム及び記録媒体
MX2016002134A MX365740B (es) 2015-07-31 2015-09-24 Metodos, dispositivos y sistema para acceder a red.
RU2016113885A RU2637466C2 (ru) 2015-07-31 2015-09-24 Способ, устройство и система для получения доступа к сети
KR1020157032978A KR101732559B1 (ko) 2015-07-31 2015-09-24 네트워크 접속 방법, 기기, 시스템, 프로그램 및 저장매체

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510463356.3 2015-07-31
CN201510463356.3A CN105162728B (zh) 2015-07-31 2015-07-31 网络接入方法、设备及系统

Publications (1)

Publication Number Publication Date
WO2017020413A1 true WO2017020413A1 (zh) 2017-02-09

Family

ID=54803484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/090560 WO2017020413A1 (zh) 2015-07-31 2015-09-24 网络接入方法、设备及系统

Country Status (8)

Country Link
US (1) US10298513B2 (zh)
EP (1) EP3128774B1 (zh)
JP (1) JP6383109B2 (zh)
KR (1) KR101732559B1 (zh)
CN (1) CN105162728B (zh)
MX (1) MX365740B (zh)
RU (1) RU2637466C2 (zh)
WO (1) WO2017020413A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530683A (zh) * 2015-12-21 2016-04-27 小米科技有限责任公司 网络连接方法和装置
CN106357485B (zh) * 2016-08-16 2019-11-15 北京小米移动软件有限公司 标记设备的方法及装置
US10129255B1 (en) 2017-05-12 2018-11-13 International Business Machines Corporation Device authentication with MAC address and time period
AU2018324134B2 (en) 2017-08-28 2021-05-27 Daikin Industries, Ltd. Air processing device
CN112292874B (zh) * 2018-06-26 2024-04-16 昕诺飞控股有限公司 在ZigBee网络中优化入网初始化
CN109362069A (zh) * 2018-11-16 2019-02-19 深圳绿米联创科技有限公司 基于NFC的ZigBee网关设备入网方法、装置及设备
CN111510892A (zh) * 2019-01-31 2020-08-07 朗德万斯公司 用于将Zigbee设备加入到Zigbee网络的方法和相应的Zigbee设备
CN110022556A (zh) * 2019-03-08 2019-07-16 佛山市云米电器科技有限公司 一种通过识别编号实现家电组网的方法及系统
CN109981660B (zh) * 2019-03-29 2021-04-13 联想(北京)有限公司 一种信息处理方法、电子设备
CN113873612B (zh) * 2021-10-22 2024-03-01 北京小米移动软件有限公司 接入网络的方法及装置、存储介质
CN114265343B (zh) * 2021-11-19 2023-09-15 青岛海尔科技有限公司 目标设备处理方法、装置、设备、存储介质及产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662865A (zh) * 2002-04-22 2005-08-31 斯内勒公司 自动控制计算机与通信网络之间的访问的方法和装置
US20070064606A1 (en) * 2005-09-07 2007-03-22 Rae-Jin Uh Multiple network system and service providing method
US20110199898A1 (en) * 2010-02-16 2011-08-18 Samsung Electronics Co. Ltd. Method and apparatus for controlling network access of ue in wireless communication system
CN102984705A (zh) * 2012-11-13 2013-03-20 广东欧珀移动通信有限公司 一种移动终端控制无线网络状态的方法及系统
CN104780588A (zh) * 2014-01-10 2015-07-15 中国电信股份有限公司 用于控制传感节点加入的方法和汇聚节点

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5970467A (en) * 1997-07-31 1999-10-19 Enviro Ec Ag Accurate market survey collection method
US20100105481A2 (en) * 2003-09-18 2010-04-29 Turbine, Inc. System and method for controlling access to a massively multiplayer on-line role-playing game
CN101346947B (zh) * 2005-12-23 2011-08-03 艾利森电话股份有限公司 用于电信网络中路由优化的方法和设备
US20070180100A1 (en) * 2006-01-31 2007-08-02 Microsoft Corporation Realtime Approval Control
US8099096B2 (en) * 2006-06-07 2012-01-17 Qualcomm Incorporated Method and apparatus for managing a set of communications connection related information
US8611928B1 (en) * 2006-08-23 2013-12-17 Aol Inc. Location-based parental controls
US8364846B2 (en) * 2007-02-02 2013-01-29 Silver Spring Networks, Inc. Method and system of providing IP-based packet communications with in-premisis devices in a utility network
CN101395935B (zh) 2007-04-28 2012-12-19 华为技术有限公司 基于邻近度判别的传输模式改变的降低干扰的方法和系统
CN101990780B (zh) * 2008-04-08 2014-01-15 株式会社Ntt都科摩 移动通信方法、无线基站、无线线路控制站、交换站及集成装置
CN101772130A (zh) 2009-01-07 2010-07-07 中兴通讯股份有限公司 辅助检测信令发送方法
JP5853478B2 (ja) * 2011-08-04 2016-02-09 株式会社バッファロー アクセスポイント装置および通信設定提供方法
US8813194B2 (en) * 2011-10-27 2014-08-19 At&T Intellectual Property I, L.P. Enabling access to a secured wireless local network without user input of a network password
EP2661112A1 (en) * 2012-05-03 2013-11-06 Itron, Inc. Authentication using DHCP Services in Mesh Networks
US8797461B2 (en) * 2012-12-28 2014-08-05 Behavioral Technologies LLC Screen time control device and method
WO2014183098A2 (en) * 2013-05-09 2014-11-13 Amazon Technologies, Inc. Mobile device interfaces
US9560679B2 (en) * 2013-05-24 2017-01-31 Telefonaktiebolaget Lm Ericsson (Publ) Method, apparatus, system, computer program and computer program products for providing a PLMN identifier to a node of a RAN
JP5787418B2 (ja) 2013-05-30 2015-09-30 古野電気株式会社 無線アクセスポイント装置、無線ネットワークシステム、及び無線アクセスポイント装置の制御方法
US20150058168A1 (en) * 2013-08-26 2015-02-26 Fon Wireless Limited Method and system for providing a product identifier enabling smart devices to make a purchase into a third party payment platform
KR102296162B1 (ko) 2013-08-30 2021-09-01 삼성전자주식회사 무선랜 통신 연결 방법 및 그 전자 장치
ES2552675B1 (es) * 2014-05-29 2016-10-10 Tecteco Security Systems, S.L. Método de enrutamiento con seguridad y autentificación a nivel de tramas
CN104812020B (zh) * 2015-03-25 2018-10-26 小米科技有限责任公司 控制智能设备接入网络的方法、装置及系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662865A (zh) * 2002-04-22 2005-08-31 斯内勒公司 自动控制计算机与通信网络之间的访问的方法和装置
US20070064606A1 (en) * 2005-09-07 2007-03-22 Rae-Jin Uh Multiple network system and service providing method
US20110199898A1 (en) * 2010-02-16 2011-08-18 Samsung Electronics Co. Ltd. Method and apparatus for controlling network access of ue in wireless communication system
CN102984705A (zh) * 2012-11-13 2013-03-20 广东欧珀移动通信有限公司 一种移动终端控制无线网络状态的方法及系统
CN104780588A (zh) * 2014-01-10 2015-07-15 中国电信股份有限公司 用于控制传感节点加入的方法和汇聚节点

Also Published As

Publication number Publication date
US20170034072A1 (en) 2017-02-02
RU2016113885A (ru) 2017-10-17
MX365740B (es) 2019-06-12
EP3128774B1 (en) 2019-06-05
CN105162728A (zh) 2015-12-16
EP3128774A1 (en) 2017-02-08
KR20170023701A (ko) 2017-03-06
US10298513B2 (en) 2019-05-21
JP2017531974A (ja) 2017-10-26
MX2016002134A (es) 2017-04-25
JP6383109B2 (ja) 2018-08-29
KR101732559B1 (ko) 2017-05-04
CN105162728B (zh) 2018-07-31
RU2637466C2 (ru) 2017-12-04

Similar Documents

Publication Publication Date Title
WO2017020413A1 (zh) 网络接入方法、设备及系统
US9769667B2 (en) Methods for controlling smart device
US10608988B2 (en) Method and apparatus for bluetooth-based identity recognition
WO2016183992A1 (zh) 对账户与设备的控制关系进行管理的方法、装置和系统
US20170163626A1 (en) Method and device for network access of a smart terminal device
US20170142230A1 (en) Smart device control method and apparatus
WO2016095448A1 (zh) 设备联网方法及装置
WO2017035997A1 (zh) 连接状态提示方法和装置
WO2016192323A1 (zh) 视频通信方法及装置
WO2016086581A1 (zh) 即时通讯的方法和装置
WO2017035989A1 (zh) 唤醒电子设备的方法及装置
WO2016145862A1 (zh) 设备绑定方法及装置
WO2016134600A1 (zh) 智能设备检测方法和装置
WO2017101518A1 (zh) 定位信息提示方法及装置
CN106790043B (zh) 直播应用中发送消息的方法及装置
RU2628478C2 (ru) Способ и устройство для доступа к сети
WO2019084879A1 (zh) 剩余关键系统信息的公共资源集合的查找方法及装置
WO2016015403A1 (zh) 一种接入wi-fi网络的方法及装置
WO2017071074A1 (zh) 建立连接的方法及装置
WO2016155304A1 (zh) 无线访问接入点的控制方法及装置
US20170279898A1 (en) Method for Accessing Virtual Desktop and Mobile Terminal
WO2017016057A1 (zh) 智能设备接入路由器的方法、装置以及系统
WO2017008400A1 (zh) 控制智能设备的方法及装置
WO2016119493A1 (zh) 接入网络的方法及装置
WO2017096973A1 (zh) 设备显示方法及装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20157032978

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017531940

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/002134

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2016113885

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016008057

Country of ref document: BR

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

Ref document number: 15900184

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112016008057

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160412

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15900184

Country of ref document: EP

Kind code of ref document: A1