CN109548116B - ZigBee gateway equipment batch network access method, device and equipment based on NFC - Google Patents

ZigBee gateway equipment batch network access method, device and equipment based on NFC Download PDF

Info

Publication number
CN109548116B
CN109548116B CN201811369460.6A CN201811369460A CN109548116B CN 109548116 B CN109548116 B CN 109548116B CN 201811369460 A CN201811369460 A CN 201811369460A CN 109548116 B CN109548116 B CN 109548116B
Authority
CN
China
Prior art keywords
zigbee gateway
information
network
network access
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811369460.6A
Other languages
Chinese (zh)
Other versions
CN109548116A (en
Inventor
吴哲
游延筠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lutuo Technology Co Ltd
Original Assignee
Shenzhen Lutuo Technology Co Ltd
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 Shenzhen Lutuo Technology Co Ltd filed Critical Shenzhen Lutuo Technology Co Ltd
Priority to CN201811369460.6A priority Critical patent/CN109548116B/en
Publication of CN109548116A publication Critical patent/CN109548116A/en
Application granted granted Critical
Publication of CN109548116B publication Critical patent/CN109548116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the application provides a Zigbee gateway device batch network access method, device and system based on NFC, a mobile terminal, a Zigbee gateway device and a storage medium. The method comprises the following steps: in a device network access interface, a mobile terminal receives Near Field Communication (NFC) signals of ZigBee gateway devices within a preset distance through an NFC module; identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing the information required for network access into the ZigBee gateway equipment, and establishing network connection by the ZigBee gateway equipment according to the information required for network access. The method can realize that the user configures a plurality of ZigBee gateway devices for network access at one time, simplify the network access process of the devices and improve the user experience.

Description

ZigBee gateway equipment batch network access method, device and equipment based on NFC
Technical Field
The application relates to the technical field of smart home, in particular to a ZigBee gateway device batch networking method, device, system, mobile terminal, ZigBee gateway device and storage medium based on NFC.
Background
The ZigBee gateway is used as a core device for establishing the ZigBee network and is an important basis for popularization of a ZigBee network protocol all the time, and the ZigBee sub-devices are connected with the gateway to form the ZigBee network. Because the ZigBee network belongs to a local area network, in order to expand application scenes, the ZigBee gateway is mostly matched with the Internet access function at present. Based on internet access, the user can use cell-phone APP through internet remote operation zigBee equipment, realizes intelligent management, like intelligent home, intelligent official working, intelligent factory etc.. However, when the existing industrial and construction environment, the installation environment of the service provider, and the personal user need to configure a plurality of devices to access the network at one time, the procedure of accessing the ZigBee gateway device to the internet is complicated.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a method, an apparatus, a system, a mobile terminal, ZigBee gateway devices, and a storage medium for batch network access of ZigBee gateway devices based on NFC, which can enable a user to configure a plurality of ZigBee gateway devices for network access at one time, simplify a device network access process, and improve user experience.
In a first aspect, an embodiment of the present application provides a ZigBee gateway device batch network access method based on NFC, including: on a device network access interface, a mobile terminal receives an Near Field Communication (NFC) signal of ZigBee gateway equipment through an NFC module; identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing information required by network access into the ZigBee gateway equipment.
In a second aspect, an embodiment of the present application provides a ZigBee gateway device batch network access method based on NFC, including: the ZigBee gateway equipment receives network access information sent by the mobile terminal through a Near Field Communication (NFC) module; and establishing network connection according to the network access information.
In a third aspect, an embodiment of the present application provides a ZigBee gateway device batch network access method based on NFC, including: in the device network access interface, the mobile terminal receives an Near Field Communication (NFC) signal of the ZigBee gateway device through an NFC module; the mobile terminal identifies network state information of the ZigBee gateway equipment according to the received NFC signal; if the ZigBee gateway equipment is in a non-network-access state, the mobile terminal writes information required by network access into the ZigBee gateway equipment; the ZigBee gateway equipment receives network access information sent by the mobile terminal through a Near Field Communication (NFC) module; and the ZigBee gateway equipment establishes network connection according to the network access information.
In a fourth aspect, an embodiment of the present application provides a ZigBee gateway device batch network access device based on NFC, operating in a mobile terminal, the device including: the signal receiving module is used for receiving an NFC signal of the ZigBee gateway equipment through a Near Field Communication (NFC) module in a device network access interface of the mobile terminal; the information identification module is used for identifying the network state information of the ZigBee gateway equipment by the mobile terminal according to the received NFC signal; and the information writing module is used for writing the information required by the mobile terminal to access the network into the ZigBee gateway equipment if the ZigBee gateway equipment is in the non-network access state.
In a fifth aspect, an embodiment of the present application provides a ZigBee gateway device batch network access device based on NFC, operating in a ZigBee gateway device, the device including: the information receiving module is used for receiving the network access information sent by the mobile terminal through a Near Field Communication (NFC) module by the ZigBee gateway equipment; and the network connection module is used for establishing network connection by the ZigBee gateway equipment according to the network access information.
In a sixth aspect, an embodiment of the present application provides a network system, including a mobile terminal and a ZigBee gateway device: the mobile terminal is used for receiving an NFC signal of the ZigBee gateway equipment through a Near Field Communication (NFC) module in an equipment network access interface; the mobile terminal is also used for identifying the network state information of the ZigBee gateway equipment according to the received NFC signal; the mobile terminal is also used for writing information required by network access into the ZigBee gateway equipment if the ZigBee gateway equipment is in a non-network access state; the ZigBee gateway equipment is used for receiving network access information sent by the mobile terminal through a Near Field Communication (NFC) module; the ZigBee gateway equipment is also used for establishing network connection according to the network access information.
In a seventh aspect, an embodiment of the present application provides a mobile terminal, including a memory and one or more processors; one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured for the NFC-based ZigBee gateway device batch networking method according to the first aspect.
In an eighth aspect, an embodiment of the present application provides a ZigBee gateway device, where the ZigBee gateway device includes a storage unit and one or more processing units; one or more programs are stored in the storage unit and configured to be executed by the one or more processing units, and the one or more programs are configured to execute the NFC-based ZigBee gateway device batch networking method according to the second aspect.
In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program codes are stored, and when the program codes are loaded and executed by a processor, the method for batched network entry of the NFC-based ZigBee gateway device is performed.
Compared with the prior art, the ZigBee gateway equipment batch network access method, the device, the system, the mobile terminal, the ZigBee gateway equipment and the storage medium based on NFC provided by the embodiments of the application receive NFC signals of the ZigBee gateway equipment through a Near Field Communication (NFC) module by the mobile terminal; then, the network state information of the ZigBee gateway equipment can be identified according to the received NFC signal; if the ZigBee gateway equipment is in a non-network-access state, the information required for network access is written into the ZigBee gateway equipment, and then the ZigBee gateway equipment can establish network connection according to the information required for network access. The method can realize that the user configures a plurality of ZigBee gateway devices for network access at one time, simplify the network access process of the devices and improve the user experience.
In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of a network system provided in an embodiment of the present application.
Fig. 2 shows a flowchart of a batch network access method for ZigBee gateway devices based on NFC according to an embodiment of the present application.
Fig. 3 shows a method flowchart of step S120 in fig. 2.
Fig. 4 shows a method flowchart of step S130 in fig. 2.
Fig. 5 is a flowchart illustrating a specific example of a bulk network access method for a ZigBee gateway device based on NFC according to an embodiment of the present application.
Fig. 6 shows a flowchart of a batch network access method for ZigBee gateway devices based on NFC according to another embodiment of the present application.
Fig. 7 shows a flowchart of the method of step S220 in fig. 6.
Fig. 8 shows a flowchart of a specific example of a batch network access method for a ZigBee gateway device based on NFC according to another embodiment of the present application.
Fig. 9 shows a flowchart of a batch network access method for ZigBee gateway devices based on NFC according to another embodiment of the present application.
Fig. 10 shows a structural block diagram of a batch network access device of a ZigBee gateway device based on NFC according to an embodiment of the present application.
Fig. 11 shows a block diagram of a device for batch network entry of a ZigBee gateway device based on NFC according to another embodiment of the present application.
Fig. 12 shows a block diagram of a mobile terminal according to an embodiment of the present application.
Fig. 13 shows a structural block diagram of a ZigBee gateway device provided in an embodiment of the present application.
Fig. 14 shows a storage unit for storing or carrying program codes for implementing the batch network access method of the ZigBee gateway device based on NFC according to the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Zigbee technology (Zigbee technology ) is an emerging short-range, low-rate, low-power consumption two-way wireless communication technology, which is a technical proposal between wireless tag technology and bluetooth, and is mainly used for short-range wireless connection. With the continuous development of the internet of things, the ZigBee communication technology is gradually applied to the aspect of intelligent home.
The ZigBee gateway is a core device for establishing the ZigBee network, and the ZigBee sub-devices are connected with the gateway to form the ZigBee network. Because the ZigBee network belongs to a local area network, in order to expand application scenarios, the ZigBee gateway is mostly matched with an internet access function at present, and the prior art can be generally implemented by a mobile terminal such as a mobile phone. When the gateway does not access the network, the mobile phone needs to disconnect the currently connected Wi-Fi router, then connect to the gateway AP (Access Point, AP) through Wi-Fi, and transmit the information required for network access input by the user to the gateway. The gateway uses the information needed by network access, connects to the router and switches to Station, accesses to internet, and the mobile phone is connected back to the Wi-Fi router. However, a plurality of gateway devices to be accessed exist in the intelligent home system of a public building or a large residential area, names and appearances of the gateway devices to be accessed are similar and difficult to distinguish, when a public building or a service provider installs the devices in batches or a user needs to configure a plurality of devices for accessing the network once, the correct gateway devices to be accessed are difficult to select, and when the gateway devices access the network, the connection network needs to be switched repeatedly, so that the interaction is complex, and the network access flow of the gateway devices to be accessed is complicated.
Based on the current situation that the batch network access of ZigBee gateway devices is complicated at present, the inventor provides a method, a device, a system, a mobile terminal, ZigBee gateway devices, and a storage medium for batch network access of ZigBee gateway devices based on NFC in the embodiment of the present application. The scheme provided by the embodiment of the application applies a Near Field Communication (NFC) technology. Near Field Communication (NFC) is an emerging technology, and devices (such as mobile phones) using NFC technology can exchange data in close proximity to each other. The NFC technology is a short-range wireless communication technology integrated and evolved from Radio Frequency Identification (RFID) and interconnection technologies, and can perform Identification and data exchange with compatible devices in a short distance by combining functions of an inductive card reader, an inductive card, and a point-to-point on a single chip.
For the convenience of describing the scheme of the present application in detail, the following description will first describe an application environment in the embodiments of the present application with reference to the drawings.
Referring to fig. 1, a network system 10 according to an embodiment of the present application is provided, where the network system 10 includes: mobile terminal 11, server 12, gateway 13, device 14, and router 15. The mobile terminal 11 may be any device with communication and storage functions, such as: the smart phone, the desktop computer, the notebook computer, the tablet computer or other smart communication devices with network connection functions. The server 12 may be a network access server, a database server, a cloud server, or the like.
Optionally, the gateway 13 is built based on a ZigBee protocol, and the device 14 may be a device added in the gateway 13 in advance, for example, the device 14 may be a device in a suite to which the gateway belongs when the gateway leaves a factory; or a device subsequently connected to the gateway 13 by a user operation. The device 14 may be an entity smart device, such as an electricity meter, a door sensor, a body sensor, a door/window sensor, a temperature/humidity sensor, a water sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a smart socket, a wireless switch, a wireless wall switch, a magic cube controller, a curtain motor, a multifunctional gateway, an air conditioner partner, a camera, or a virtual sensor device, such as a virtual body sensor device, which is not limited herein.
Optionally, a client capable of managing the smart home device is installed in the mobile terminal 11, where the client may be an application client (such as a mobile phone APP) or a web page client, and is not limited herein.
Alternatively, one or more devices 14 may establish a network connection with the gateway 13 based on the ZigBee protocol, thereby joining the ZigBee network. Both the gateway 13 and the mobile terminal 11 may be connected to a router 15, and may be connected to the ethernet via the router 15, and the router 15 may be connected to the server 12 via 2G/3G/4G/5G, WIFI, etc. For example, the gateway 13 and the mobile terminal 11 may store the acquired information in the server 12. Optionally, the mobile terminal 11 may also establish a network connection with the server 12 through 2G/3G/4G/5G, WIFI, so as to obtain data sent by the server 12.
Alternatively, the local area network path as shown in fig. 1 indicates that the mobile terminal 11 is in the same local area network as the router 15 and the gateway 13, and the wide area network path indicates that the mobile terminal 11 is in the same local area network as the router 15 and the gateway 13. Wherein, when the mobile terminal 11 is in the same local area network as the router 15 and the gateway 13, the mobile terminal 11 can interact with the gateway 13 and the device 14 connected to the gateway 13 through the local area network path as shown in fig. 1; it is also possible to interact with the gateway 13 and the devices 14 connected to the gateway 13 via a wide area network path as shown in fig. 1. When the mobile terminal 11 is not in the same local area network as the router 15 and the gateway 13, the mobile terminal 11 may interact with the gateway 13 and the device 14 connected to the gateway 13 through a wide area network path as shown in fig. 1.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a flowchart of a ZigBee gateway device batch network access method based on NFC according to an embodiment of the present application is shown, where the embodiment provides a ZigBee gateway device batch network access method based on NFC, and the embodiment mainly describes a processing flow of a mobile terminal, where the method includes:
and step S110, in the device network access interface, the mobile terminal receives an NFC signal of the ZigBee gateway device through a Near Field Communication (NFC) module.
As an implementation manner, in the embodiment of the present application, the mobile terminal includes a network access information storage area and an NFC storage area, and it can be understood that the network access information storage area is an internal cache area of the mobile terminal, and information required for network access can be cached in this area. Optionally, the network access information storage area may store a plurality of sets of information required for network access in different configurations, it should be noted that the actual storage amount of the network access information storage area depends on the space specification of the hardware storage, and the display interface of the network access information storage area may display the latest information data for one time use.
In the embodiment of the application, the NFC storage area of the mobile terminal has a read-write function, data in the NFC storage area is used for NFC transmission, and optionally, the NFC storage area only stores a set of information required for network access.
In the embodiment of the application, the ZigBee gateway device includes ZigBee gateway firmware, the gateway firmware may be used to represent a network access state of the ZigBee gateway device, the ZigBee gateway firmware is in a non-network access state by default, and may be represented by a network state flag bit (e.g., NetStatus), and the network state flag bit may be read by the mobile terminal through an NFC function. Meanwhile, the ZigBee gateway firmware may indicate the model of the ZigBee gateway device through a device flag bit (e.g., DeviceModel), it should be noted that, as an embodiment, NetStatus and DeviceModel are only used for illustration, and other names may be used instead of actual implementation, which is not limited herein.
As an implementation manner, before the mobile terminal receives an Near Field Communication (NFC) signal of a ZigBee gateway device within a preset distance through an NFC module, the method further includes: acquiring information required for network access of the ZigBee gateway device, optionally, the information required for network access includes information of the ZigBee gateway device (such as a name and a password of the ZigBee gateway device) and/or access information of the internet WiFi router (such as a name, an SSID, a password of the WiFi router). Optionally, the obtaining of the information required by the ZigBee gateway device for network access may include: the mobile terminal responds to a batch network access mode starting instruction and skips to a device network access interface; and receiving information of the ZigBee gateway equipment and/or access information of the Internet WiFi router.
As one mode, the acquiring information required for network entry of the ZigBee gateway device may include: receiving access information of an internet WiFi router which is input by a user or used for the last time in a network access information storage area of a read mobile terminal; as another mode, the acquiring information required for network access of the ZigBee gateway device may include: and receiving information input by a user or reading the information of the ZigBee gateway device used for the last time in the network access information storage area of the mobile terminal.
Optionally, when receiving information of the ZigBee gateway device and/or access information of the internet WiFi router input or read by the user, the mobile terminal caches the information of the ZigBee gateway device and/or the access information of the internet WiFi router in the network access information storage area.
Optionally, if the information of the last used ZigBee gateway device and/or the access information of the internet WiFi router in the network access information storage area from the mobile terminal is read, the name of the ZigBee gateway device in the information of the ZigBee gateway device may be renamed according to a preset rule, and the information of the ZigBee gateway device stored in the network access information storage area of the mobile terminal is updated according to the renamed name of the ZigBee gateway device.
As a mode, the mobile terminal may write the updated information of the ZigBee gateway device and/or the access information of the internet WiFi router into the ZigBee gateway device.
When the mobile terminal starts the wireless communication NFC function, the NFC broadcast of the mobile terminal system can be monitored through the NFC function. When the mobile terminal is close to the ZigBee gateway device to be accessed to the network, a Near Field Communication (NFC) signal of the ZigBee gateway device within a preset distance can be received through an NFC module, optionally, the preset distance represents an actual spatial distance between the ZigBee gateway device and the mobile terminal, and generally is not more than 10 centimeters.
And step S120, identifying the network state information of the ZigBee gateway equipment according to the received NFC signal.
Optionally, the NFC signal of the ZigBee gateway device generally includes a network status flag bit and a device flag bit, and the network status information of the ZigBee gateway device may be identified according to the received information of the network status flag bit and the information of the device flag bit.
Referring to fig. 3, as an embodiment, step S120 may include:
and step S121, determining whether the ZigBee gateway equipment is a supported equipment or not according to the equipment zone bit.
In the embodiment of the application, the ZigBee gateway devices all follow a ZigBee communication protocol, when the mobile terminal is close to the ZigBee gateway device to be connected, the device zone bit of the ZigBee gateway device can be read through the NFC module, if the device zone bit is read, the ZigBee gateway device can be determined to be a supported device, and if the information of the device zone bit is not read, the ZigBee gateway device is determined to be an unsupported device.
And step S122, if yes, identifying the network state information of the ZigBee gateway equipment according to the network state zone bit.
Optionally, if the ZigBee gateway device is a supported device, the NFC module of the mobile terminal may further read a network status flag bit of the ZigBee gateway device, and may identify the network status information of the ZigBee gateway device according to the network status flag bit, which specifically includes: if the network state flag bit is null, the ZigBee gateway device is in a non-network-accessing state, otherwise, the ZigBee gateway device is in a network-accessing state.
And step S130, if the ZigBee gateway equipment is in a non-network-access state, writing the information required for network access into the ZigBee gateway equipment.
Optionally, when the ZigBee gateway device does not access the network, the mobile terminal writes information required for network access into the designated network access information area of the ZigBee gateway device NFC.
Referring to fig. 4, as an embodiment, step S130 may include:
step S131, reading the information needed for network access stored in the network access information storage area.
Optionally, when the mobile terminal needs to transmit the information required for network access to other ZigBee gateway devices through NFC, the information required for network access stored in the network access information storage area of the mobile terminal needs to be read first. As an embodiment, when the relevant registered account information in the network access information storage area is never used or deleted by reset, the mobile terminal reads the network access required information input by the user; when the information required for network access is stored in the network access information storage area, the mobile terminal reads the information which is used for the last time in the network access information storage area.
And step S132, writing the information required for network access into the NFC storage area.
And after the mobile terminal reads the acquired information required for network access, writing the read information required for network access into the NFC storage area of the mobile terminal.
Step S133, the NFC storage area writes the information required for network access into the ZigBee gateway device.
Optionally, writing information required for network access into the ZigBee gateway device in the NFC storage area of the mobile terminal may specifically include: if the mobile terminal and the ZigBee gateway device are still within a preset distance range, the mobile terminal NFC module writes the acquired information required for network access into a specified network access information area of the ZigBee gateway device NFC module; if the distance between the mobile terminal and the ZigBee gateway device exceeds the preset distance range, the mobile terminal receives the prompt message, and when the mobile terminal approaches the ZigBee gateway device again and is within the preset distance range, the mobile terminal writes the acquired information required for network access into the designated network access information area of the NFC module of the ZigBee gateway device.
Optionally, if the ZigBee gateway device is in a non-network access state, writing the information required for network access into the ZigBee gateway device further includes: when the mobile terminal receives a successful network access feedback signal of the ZigBee gateway equipment, jumping back to a network access interface of the equipment, and receiving information required by network access of new ZigBee gateway equipment; and identifying the network state information of the new ZigBee gateway device according to the network access required information of the new ZigBee gateway device, optionally, when the mobile terminal receives a network access success feedback signal of the ZigBee gateway device, the mobile terminal sets the NFC success flag bit to 1, otherwise, the NFC success flag bit is set to 0, and the value of the success flag bit can be used for judging whether the ZigBee gateway device successfully accesses the network.
As an embodiment, the receiving information required for network entry of the new ZigBee gateway device specifically includes: the mobile terminal can automatically identify the name and position of the new ZigBee gateway device to be networked, an internet WiFi router and other information, and fills the information into a device networking interface, wherein if the type of the new ZigBee gateway device to be networked is the same as that of the ZigBee gateway device already networked, the mobile terminal can automatically increase the number of the new ZigBee gateway device to be networked in an increasing mode, and otherwise, automatic filling is carried out according to the identified content. Optionally, the network access information storage area of the mobile terminal may automatically update the data information.
Optionally, after receiving the information required for network access of the new ZigBee gateway device, the mobile terminal may be further configured to modify the information required for network access of the new ZigBee gateway device, such as modifying the name and the position of the ZigBee gateway device or the name and the password of the WiFi router, and if the information is not required to be changed, the mobile terminal is brought close to the new ZigBee gateway device to be networked, so that the ZigBee gateway device is connected to the internet in batch.
As an implementation manner, the mobile terminal may exit the batch network access mode in response to the return key triggering instruction.
The following takes fig. 5 as an example to explain the present embodiment:
referring to fig. 5, as an implementation manner, it is assumed that a mobile terminal is a mobile phone, a ZigBee gateway device is a gateway, the gateway includes a gateway firmware program, an APP for managing an intelligent home gateway device is installed on the mobile phone, and both the mobile phone and the gateway follow a ZigBee communication protocol. The specific implementation flow is as follows:
and step 141, the mobile phone starts the NFC and opens the APP, and selects a batch network access mode.
When the NFC function is opened to the cell-phone and the APP is opened, the APP can monitor the NFC broadcast of the cell-phone system, if the gateway equipment needs to be connected to the network in batches, the cell-phone can be utilized to click the batch network access mode button, and optionally, the batch network access mode can be used for configuring a plurality of devices to be connected to the network in sequence at one time.
And 142, the mobile phone APP skips to the equipment network access interface, and receives information (cached in the network access information storage area) such as the equipment name, the position, the SSID and the password of the WiFi and the like.
After the batch network access mode is clicked by the mobile phone, the mobile phone APP can automatically jump to a network access interface of the equipment, information such as the name and the position of the equipment and the SSID and the password of WiFi is received, and the mobile phone caches the information to a network access information storage area. Optionally, the name and the location of the receiving device, and the SSID, the password, and other information of the WiFi specifically include: when the mobile phone APP is unregistered or reset and does not store information required for network access, the mobile phone APP receives information such as a name and a position of equipment input by a user, an SSID (service set identifier) and a password of WiFi (wireless fidelity), and caches related information in a network access information storage area.
Optionally, when the mobile phone APP stores information required for network access, the mobile phone APP may automatically read information used last time in the network access information storage area. As an implementation manner, the mobile phone APP may automatically identify whether the storage information of the network access device is repeated with the name of the current network access device, if so, the mobile phone APP may automatically add a name incremental number, update a latest piece of information in the network access information storage area as the network access information of the current network access device, and if not, the mobile phone APP directly reads the information used for the last time in the network access information storage area.
Step 143, the handset approaches the gateway.
Optionally, after the mobile phone APP receives the information required by the network access, the mobile phone APP receives 'if the information is correct, the mobile phone can be directly close to the equipment to start batch network access' and the like, after the message confirmation button triggers the event, the APP can remind the user to close the mobile phone to the gateway, and the mobile phone APP is convenient to read the information of the gateway to be accessed through the NFC function.
And step 144, the APP judges the network access state of the gateway through the NFC information.
When the mobile phone is close to the gateway to be accessed to the network, the mobile phone NFC can read information of the network state flag bit and the device flag bit of the gateway, optionally, the network state flag bit can be represented by NetStatus, the device flag bit can be represented by DeviceModel, and when the gateway is an unsupported device, the mobile phone NFC cannot read information of the network state flag bit, the device flag bit, and the like of the gateway. Further, the mobile phone NFC reports the read information to the APP.
The APP identifies the information and judges the network access state of the gateway through the NFC information. When the network status flag bit of the gateway is null (NetStatus ═ None), it indicates that the gateway has not accessed the network, otherwise, it has accessed the network.
And step 145, performing corresponding operation on the mobile phone APP.
Optionally, when the gateway device has accessed to the network, operations such as intelligent management on the gateway device can be directly implemented through the APP.
Step 146, the mobile phone APP reads the stored information such as the name and the position of the device, the SSID of the WiFi, the password, and the like from the network access information storage area, and writes the information into the mobile phone NFC storage area.
As an embodiment, when the gateway device is not networked, the mobile phone APP may write information, such as a device name, a location, and an SSID and a password of WiFi, stored in the network access information storage area into the mobile phone NFC storage area.
And 147, writing the name and the position of the device and information such as the SSID and the password of the WiFi into the device to be accessed through the NFC function by the mobile phone, and jumping back to the device access interface after the prompt is finished.
And the NFC storage area of the mobile phone writes the received information such as the name and the position of the equipment, the SSID and the password of WiFi into the NFC storage area of the gateway equipment to be accessed, and the mobile phone APP skips back to the equipment access interface after receiving a signal for prompting the completion of writing. Optionally, the prompt completion signal may be a message pop-up box prompt or a message flashing prompt, or may be another prompt signal, which is not limited in this case.
In step 148, the mobile phone APP automatically fills in the information (cached in the network access information storage area) such as the device name (incremental number), the location, and the SSID and password of the WiFi, and the mobile phone approaches the gateway.
Optionally, after the mobile phone APP skips back to the device network access interface, the name and the position of the new gateway device to be networked, and the SSID and the password of the WiFi may be automatically filled in, and cached in the network access information storage area, and the mobile phone is close to the new gateway device to be networked again.
Step 149, receiving the judgment information of whether to continue network access.
When the gateway device needs to continue to access the network, the mobile phone APP receives a judgment message from the user-triggered continuous or batch network access mode exit.
And 150, the mobile phone APP exits the batch network access mode.
Optionally, if the gateway device needs to continue to access the network, the mobile phone is close to the gateway again, and the mobile phone APP writes the information required for network access of the new device to be accessed into the NFC storage area of the gateway device.
Optionally, if the gateway device does not need to continue to access the network, the mobile phone APP clicks a return button, and the batch network access mode can be exited.
According to the ZigBee gateway device batch network access method based on NFC, a mobile terminal is used for receiving NFC signals of ZigBee gateway devices through a Near Field Communication (NFC) module; then, identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing information required for network access into the ZigBee gateway equipment, and establishing network connection by the ZigBee gateway equipment according to the information required for network access. The method can realize that the user configures a plurality of ZigBee gateway devices for network access at one time, simplify the network access process of the devices and improve the user experience.
Referring to fig. 6, a flowchart of a method for ZigBee gateway device batch network access based on NFC according to another embodiment of the present application is shown, where this embodiment provides a method for ZigBee gateway device batch network access based on NFC, and this embodiment mainly describes a processing flow of a ZigBee gateway device, where the method includes:
step S210, the ZigBee gateway device receives the network access information sent by the mobile terminal through a Near Field Communication (NFC) module.
As an implementation manner, a Near Field Communication (NFC) module is built in the ZigBee gateway device in the embodiment of the present application, and optionally, the Near Field Communication (NFC) module of the ZigBee gateway device is in an on state by default, so that the mobile terminal can perform intelligent management on the ZigBee gateway device. Optionally, in this embodiment of the application, the ZigBee gateway device is in a non-access state by default, and the ZigBee gateway device may receive access information sent by the mobile terminal through a Near Field Communication (NFC) module, where the access information is information of an internet WiFi router to be accessed by the ZigBee gateway device, such as a name, an SSID, a password, and the like of the WiFi router.
And step S220, establishing network connection according to the network access information.
Referring to fig. 7, as an embodiment, step S220 may include:
step S221, detecting and identifying information of the Internet WiFi router by gateway firmware in the ZigBee gateway equipment.
After receiving the network access information sent by the mobile terminal, the ZigBee gateway device can establish network connection according to the network access information, and gateway firmware in the ZigBee gateway device detects and identifies information such as the name, SSID (service set identifier), password and the like of an Internet WiFi (wireless fidelity) router to be accessed.
Step S222, establishing network connection according to the information of the Internet WiFi router.
And the ZigBee gateway equipment establishes network connection according to the name, SSID, password and other information of the Internet WiFi router, so that the ZigBee gateway equipment is accessed into the Internet.
Optionally, if the ZigBee gateway device successfully accesses the network, the gateway firmware may modify the network status bit to be in an online status, and optionally, when the ZigBee gateway device does not access the network, the network status bit in the gateway firmware program is null. At the moment, the ZigBee gateway equipment can be remotely operated, configured or intelligently managed through the mobile terminal; if the ZigBee gateway device fails to access the network, the device access interface of the mobile terminal feeds back that the connection cannot be performed, and prompts a user to check whether the WiFi router is normal.
The following takes fig. 8 as an example to explain the present embodiment:
referring to fig. 8, it is assumed that the mobile terminal is a mobile phone, the ZigBee gateway device is a gateway, the gateway includes a gateway firmware program, the mobile phone is installed with an APP for managing the smart home gateway device, and both the mobile phone and the gateway follow the ZigBee communication protocol. The specific implementation flow is as follows:
at step 201, gateway firmware information is read. When the handset is close to the gateway, the network state information of the gateway firmware in the gateway can be read.
Step 202, the gateway firmware receives information such as WiFi names and passwords and stores the information in the network access information area. Optionally, the gateway is in a non-network-access state, when the mobile phone is close to the gateway, the gateway firmware receives information such as a name, a password, and an SSID of the WiFi router, which can be automatically written in by the NFC of the mobile phone, and stores the written-in related information in a designated network access information area of the NFC of the gateway.
Step 203, the gateway firmware detects that the network access information area is written, and reads the relevant information for network access connection. The designated network access information area of the gateway NFC is located in the gateway firmware, when the gateway firmware detects that data are written in the network access information area, the gateway firmware can automatically recognize and read related data, network connection is established according to the read data, and the gateway is accessed to the Internet.
And step 204, receiving a message for judging whether the network access is successful. The gateway firmware can receive a message returned by the mobile phone APP for judging whether the gateway is successfully accessed to the Internet. As an embodiment, the network status flag bit of the gateway firmware may be used to determine whether the gateway successfully accesses the network, and optionally, the initial network status flag bit in the gateway firmware is generally set to be null, and may be represented by NetStatus — None.
Step 205, the gateway firmware state changes, and the gateway feeds back a successful network access signal to the mobile phone. Optionally, when the gateway successfully accesses the internet WiFi router, the state of the gateway firmware changes, the gateway firmware may modify the network state bit to an online state, and optionally, the gateway feeds back a successful network access signal to the mobile phone.
At step 206, the gateway firmware does not change state. Optionally, when the gateway fails to access the internet WiFi router successfully, the state of the gateway firmware remains unchanged, the network state bit also remains unchanged, the mobile phone APP can receive feedback information and error prompt information that cannot be connected, and if the APP end can prompt the user overtime to check whether the WiFi router is normal, the user can be prompted to do so.
In the method for accessing the ZigBee gateway device based on NFC provided by this embodiment, a mobile terminal is used to receive an NFC signal of the ZigBee gateway device through a Near Field Communication (NFC) module; then, identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing information required for network access into the ZigBee gateway equipment, and establishing network connection by the ZigBee gateway equipment according to the information required for network access. The method can realize that the user configures a plurality of ZigBee gateway devices for network access at one time, simplify the network access process of the devices and improve the user experience.
Referring to fig. 9, a flowchart of a method for batched network access by ZigBee gateway devices based on NFC according to another embodiment of the present application is shown, where this embodiment provides a method for batched network access by ZigBee gateway devices based on NFC, and the method includes:
step S310: in the device network access interface, the mobile terminal receives an Near Field Communication (NFC) signal of the ZigBee gateway device through an NFC module.
Step S320: and the mobile terminal identifies the network state information of the ZigBee gateway equipment according to the received NFC signal.
Step S330: and if the ZigBee gateway equipment is in a non-network-access state, the mobile terminal writes information required by network access into the ZigBee gateway equipment.
Step S340: the ZigBee gateway equipment receives the network access information sent by the mobile terminal through a Near Field Communication (NFC) module.
Step S350: and the ZigBee gateway equipment establishes network connection according to the network access information.
In the method for accessing the ZigBee gateway device based on NFC provided by this embodiment, a mobile terminal is used to receive an NFC signal of the ZigBee gateway device through a Near Field Communication (NFC) module; then, identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing information required for network access into the ZigBee gateway equipment, and establishing network connection by the ZigBee gateway equipment according to the information required for network access. The method can realize that the user configures a plurality of ZigBee gateway devices for network access at one time, simplify the network access process of the devices and improve the user experience.
Referring to fig. 10, a structural block diagram of a device for batched network entry of ZigBee gateway devices based on NFC according to an embodiment of the present application is provided, where this embodiment provides a device 400 for batched network entry of ZigBee gateway devices based on NFC according to an embodiment, and the mobile terminal includes the device 400, where the device 400 includes: a signal receiving module 410, an information identifying module 420 and an information writing module 430.
And a signal receiving module 410, configured to receive, by the mobile terminal, an Near Field Communication (NFC) signal of the ZigBee gateway device through an NFC module.
Optionally, the NFC signal of the ZigBee gateway device includes a network status flag bit and a device flag bit of the ZigBee gateway device.
And the information identification module 420 is used for identifying the network state information of the ZigBee gateway device by the mobile terminal according to the received NFC signal.
Optionally, the information identifying module 420 is specifically configured to identify, by the mobile terminal, network state information of the ZigBee gateway device according to a received network state flag bit and a device flag bit of the ZigBee gateway device, where the network state flag bit is used to determine a network access state of the ZigBee gateway device, and an initial value of the network state flag bit is null, which indicates that the ZigBee gateway device is in a non-network access state by default; the device flag bit is used for determining whether the ZigBee gateway device is a supported device, if the device flag bit can be inquired, the ZigBee gateway device is represented as a supported device, and if the device flag bit cannot be inquired, the ZigBee gateway device is represented as an unsupported device.
And an information writing module 430, configured to write the information required for network access of the mobile terminal into the ZigBee gateway device if the ZigBee gateway device is in a non-network access state.
Optionally, the network access information acquiring module 430 is specifically configured to, if the ZigBee gateway device is in a non-network access state, write the access information of the internet WiFi router into the NFC storage area of the ZigBee gateway device by the mobile terminal.
Optionally, the apparatus 400 further includes a receiving and identifying module, configured to jump back to the device network access interface when the mobile terminal receives a network access success feedback signal of the ZigBee gateway device, and receive information required for network access of a new ZigBee gateway device; and identifying the network state information of the new ZigBee gateway equipment according to the network access required information of the new ZigBee gateway equipment. Optionally, when the mobile terminal receives a network access success feedback signal of the ZigBee gateway device, the network access success identifier may be set to 1, and otherwise, the network access success identifier is set to 0.
According to the ZigBee gateway equipment batch network access device based on NFC provided by the embodiment, a mobile terminal is used for receiving NFC signals of ZigBee gateway equipment through a Near Field Communication (NFC) module; identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing information required for network access into the ZigBee gateway equipment, and establishing network connection by the ZigBee gateway equipment according to the information required for network access. The method and the device have the advantages that the user can configure a plurality of ZigBee gateway devices to access the network at one time, the network access process of the devices is simplified, and the user experience is improved.
Referring to fig. 11, a structural block diagram of a device for batched network entry of ZigBee gateway devices based on NFC according to another embodiment of the present application is provided, where this embodiment provides a device 500 for batched network entry of ZigBee gateway devices based on NFC, where the ZigBee gateway device includes the device 500, and the device 500 includes: an information receiving module 510 and a network connection module 520.
And an information receiving module 510, configured to receive, by the ZigBee gateway device through a Near Field Communication (NFC) module, information required for network access sent by the mobile terminal.
Optionally, the information required for network access sent by the mobile terminal is information of an internet WiFi router to be accessed by the ZigBee gateway device.
And the network connection module 420 is used for establishing network connection by the ZigBee gateway device according to the information required by network access.
Optionally, the network connection module 420 is specifically configured to detect, by the gateway firmware in the ZigBee gateway device, information identifying the internet WiFi router; and establishing network connection according to the information of the Internet WiFi router. The ZigBee gateway equipment is in a non-network-accessing state by default.
Optionally, the apparatus 500 further includes a state change module, configured to change the state of the gateway firmware if the ZigBee gateway device successfully accesses the network, and otherwise, not change the state of the gateway firmware.
Optionally, if the ZigBee gateway device successfully accesses the network, the ZigBee gateway may send a network access success feedback signal to the mobile terminal, otherwise send an error prompt message.
According to the ZigBee gateway device batch network access device based on NFC provided by the embodiment, a mobile terminal is used for receiving NFC signals of ZigBee gateway devices through a Near Field Communication (NFC) module; identifying network state information of the ZigBee gateway equipment according to the received NFC signal; and if the ZigBee gateway equipment is in a non-network-access state, writing information required for network access into the ZigBee gateway equipment, and establishing network connection by the ZigBee gateway equipment according to the information required for network access. The method and the device have the advantages that the user can configure a plurality of ZigBee gateway devices to access the network at one time, the network access process of the devices is simplified, and the user experience is improved.
Referring to fig. 12, a block diagram of a mobile terminal 100 applicable to the embodiment of the present application is shown, where the mobile terminal 100 includes an NFC module 101, a memory 103, and one or more processors 105 (only one of which is shown in the figure), and the memory 103 and the processor 105 are connected by a communication line.
The memory 103 may be configured to store software programs and modules, such as the NFC-based ZigBee gateway device batch network access method in this embodiment, the NFC module 101, and program instructions/modules corresponding to the apparatus, and the processor 105 executes various functional applications and data processing by running the software programs and modules stored in the memory 103, such as the NFC-based ZigBee gateway device batch network access method provided in this embodiment.
The memory 103 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. It is to be understood that the structure shown in fig. 12 is merely illustrative, and that the mobile terminal 100 may include more or fewer components than shown in fig. 12, or have a different configuration than shown in fig. 12. The components shown in fig. 12 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 13, a block diagram of a ZigBee gateway device 200 applicable in an embodiment of the present application is shown, where the ZigBee gateway device 200 includes an NFC module 201, a storage unit 203, and a processing unit 205, where the processing unit 205 may be a microprocessor or another processor, but is not limited thereto, and the processing unit 205 implements the NFC-based ZigBee gateway device batch networking method in each embodiment when executing program data.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (21)

1. A ZigBee gateway device batch network access method based on NFC is characterized by comprising the following steps:
in the device network access interface, the mobile terminal receives an Near Field Communication (NFC) signal of the ZigBee gateway device through an NFC module;
identifying network state information of the ZigBee gateway equipment according to the received NFC signal;
if the ZigBee gateway equipment is in a non-network-access state, writing information required for network access into the ZigBee gateway equipment;
the method further comprises the following steps:
and when the information of the used ZigBee gateway equipment which is stored in the mobile terminal for the last time is read, renaming the name of the ZigBee gateway equipment according to a preset rule, and updating the information of the ZigBee gateway equipment which is stored in the mobile terminal according to the renamed ZigBee gateway equipment name.
2. The method of claim 1, wherein the mobile terminal receives a Near Field Communication (NFC) signal of a ZigBee gateway device through an NFC module, and further comprising:
and acquiring information required by the network access of the ZigBee gateway equipment.
3. The method of claim 2, wherein the information required for network entry comprises access information of an internet WiFi router, and the obtaining information required for network entry of the ZigBee gateway device comprises:
responding to a batch network access mode starting instruction, and jumping to a device network access interface;
and receiving access information input by a user or reading the internet WiFi router which is stored in the mobile terminal and used for the last time.
4. The method of claim 3, wherein the information required for network entry further includes information of the ZigBee gateway device, and the acquiring the information required for network entry of the ZigBee gateway device further includes:
responding to a batch network access mode starting instruction, and jumping to a device network access interface;
and receiving information input by a user or reading the information of the ZigBee gateway device which is stored in the mobile terminal and used for the last time.
5. The method of any one of claims 3-4, further comprising:
and when receiving the information of the ZigBee gateway equipment and/or the access information of the Internet WiFi router input by a user, storing the information of the ZigBee gateway equipment and/or the access information of the Internet WiFi router.
6. The method of claim 5, wherein writing the information required for network entry into a ZigBee gateway device comprises:
and writing the updated information of the ZigBee gateway equipment into the ZigBee gateway equipment.
7. The method of any one of claims 1 to 6, wherein the NFC signal of the ZigBee gateway device comprises a network status flag bit and a device flag bit of the ZigBee gateway device, and the identifying the network status information of the ZigBee gateway device according to the received NFC signal comprises:
determining whether the ZigBee gateway equipment is a supported equipment or not according to the equipment zone bit;
and if so, identifying the network state information of the ZigBee gateway equipment according to the network state zone bit.
8. The method of claim 7, wherein said determining whether the ZigBee gateway device is a supported device according to the device flag bit comprises:
and inquiring the equipment zone bit, if the equipment zone bit is inquired, determining that the ZigBee gateway equipment is a supported equipment, and if the equipment zone bit is not inquired, determining that the ZigBee gateway equipment is an unsupported equipment.
9. The method according to any one of claims 1 to 6, wherein the mobile terminal comprises a network access information storage area and an NFC storage area, and the writing of the information required for network access into a ZigBee gateway device comprises:
reading the information required for network access stored in the network access information storage area;
writing the information required by network access into the NFC storage area;
and the NFC storage area writes the information required by network access into ZigBee gateway equipment.
10. The method according to any one of claims 1 to 6, wherein if the ZigBee gateway device is in a non-network-access state, writing the information required for network access into the ZigBee gateway device, and then further comprising:
when the mobile terminal receives a successful network access feedback signal of the ZigBee gateway equipment, jumping back to a network access interface of the equipment to acquire a new NFC signal of the ZigBee gateway equipment;
and identifying the network state information of the new ZigBee gateway equipment according to the NFC signal of the new ZigBee gateway equipment.
11. The method of claim 10, wherein said identifying network status information of the new ZigBee gateway device from its NFC signal comprises:
and if the new ZigBee gateway equipment is in a non-network-access state, writing the information required for network access into the new ZigBee gateway equipment, otherwise, exiting the equipment network access interface.
12. A ZigBee gateway device batch network access method based on NFC is characterized by comprising the following steps:
the ZigBee gateway equipment receives network access information sent by the mobile terminal through a Near Field Communication (NFC) module;
establishing network connection according to the network access information;
before the ZigBee gateway device receives network access information sent by the mobile terminal through a Near Field Communication (NFC) module, the method further includes:
when the mobile terminal reads the information of the ZigBee gateway device which is stored in the mobile terminal and used for the last time, the name of the ZigBee gateway device is renamed according to a preset rule, and the information of the ZigBee gateway device stored in the mobile terminal is updated according to the renamed ZigBee gateway device name.
13. The method of claim 12, wherein the ZigBee gateway device is in a non-network-accessing state, the network-accessing information includes information of an internet WiFi router to be accessed by the ZigBee gateway device, and the establishing a network connection according to the network-accessing information includes:
detecting and identifying information of the Internet WiFi router by gateway firmware in ZigBee gateway equipment;
and establishing network connection according to the information of the Internet WiFi router.
14. The method of claim 13, wherein the establishing a network connection based on the information of the internet WiFi router comprises:
if the ZigBee gateway equipment successfully accesses the network, a network access success signal is sent to the mobile terminal, the state of the gateway firmware is changed, and otherwise, the state of the gateway firmware is not changed.
15. A ZigBee gateway device batch network access method based on NFC is characterized by comprising the following steps:
in the device network access interface, the mobile terminal receives an Near Field Communication (NFC) signal of the ZigBee gateway device through an NFC module;
the mobile terminal identifies network state information of the ZigBee gateway equipment according to the received NFC signal;
if the ZigBee gateway equipment is in a non-network-access state, the mobile terminal writes information required by network access into the ZigBee gateway equipment;
the ZigBee gateway equipment receives network access information sent by a mobile terminal through a Near Field Communication (NFC) module;
the ZigBee gateway equipment establishes network connection according to the network access information;
the method further comprises the following steps:
when the mobile terminal reads the information of the ZigBee gateway device which is stored in the mobile terminal and used for the last time, the name of the ZigBee gateway device is renamed according to a preset rule, and the information of the ZigBee gateway device stored in the mobile terminal is updated according to the renamed ZigBee gateway device name.
16. The utility model provides a zigBee gateway equipment is network access device in batches based on NFC, moves in mobile terminal, the device includes:
the signal receiving module is used for receiving an NFC signal of the ZigBee gateway equipment through a Near Field Communication (NFC) module in a device network access interface of the mobile terminal;
the information identification module is used for identifying the network state information of the ZigBee gateway equipment by the mobile terminal according to the received NFC signal;
the information writing module is used for writing the information required by the network access of the mobile terminal into the ZigBee gateway equipment if the ZigBee gateway equipment is in a non-network-access state;
the apparatus further comprises a receive identification module configured to:
and when the information of the used ZigBee gateway equipment which is stored in the mobile terminal for the last time is read, renaming the name of the ZigBee gateway equipment according to a preset rule, and updating the information of the ZigBee gateway equipment which is stored in the mobile terminal according to the renamed ZigBee gateway equipment name.
17. The utility model provides a zigBee gateway equipment is network access device in batches based on NFC, operates in zigBee gateway equipment which characterized in that, the device includes:
the information receiving module is used for receiving the network access information sent by the mobile terminal through a Near Field Communication (NFC) module by the ZigBee gateway equipment;
the network connection module is used for establishing network connection by the ZigBee gateway equipment according to the network access information;
before the ZigBee gateway device receives network access information sent by the mobile terminal through a Near Field Communication (NFC) module, the mobile terminal is further configured to:
when the mobile terminal reads the information of the ZigBee gateway device which is stored in the mobile terminal and used for the last time, the name of the ZigBee gateway device is renamed according to a preset rule, and the information of the ZigBee gateway device stored in the mobile terminal is updated according to the renamed ZigBee gateway device name.
18. The network system is characterized by comprising a mobile terminal and a ZigBee gateway device:
the mobile terminal is used for receiving an NFC signal of the ZigBee gateway equipment through a Near Field Communication (NFC) module in an equipment network access interface;
the mobile terminal is further used for identifying the network state information of the ZigBee gateway equipment according to the received NFC signal;
the mobile terminal is further used for writing the information required for network access into the ZigBee gateway equipment if the ZigBee gateway equipment is in a non-network access state;
the ZigBee gateway equipment is used for receiving network access information sent by the mobile terminal through a Near Field Communication (NFC) module;
the ZigBee gateway equipment is also used for establishing network connection according to the network access information;
the mobile terminal is further configured to:
when the mobile terminal reads the information of the ZigBee gateway device which is stored in the mobile terminal and used for the last time, the name of the ZigBee gateway device is renamed according to a preset rule, and the information of the ZigBee gateway device stored in the mobile terminal is updated according to the renamed ZigBee gateway device name.
19. A mobile terminal comprising a memory, and one or more processors; one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-11.
20. The ZigBee gateway device is characterized by comprising a storage unit and one or more processing units;
one or more programs stored in the storage unit and configured for execution by the one or more processing units, the one or more programs configured to perform the methods of any of claims 12-14.
21. A computer-readable storage medium, having program code stored therein, wherein the program code when loaded and executed by a processor performs the method of any of claims 1-11 or 12-14 or 15.
CN201811369460.6A 2018-11-16 2018-11-16 ZigBee gateway equipment batch network access method, device and equipment based on NFC Active CN109548116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811369460.6A CN109548116B (en) 2018-11-16 2018-11-16 ZigBee gateway equipment batch network access method, device and equipment based on NFC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811369460.6A CN109548116B (en) 2018-11-16 2018-11-16 ZigBee gateway equipment batch network access method, device and equipment based on NFC

Publications (2)

Publication Number Publication Date
CN109548116A CN109548116A (en) 2019-03-29
CN109548116B true CN109548116B (en) 2021-06-29

Family

ID=65848146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811369460.6A Active CN109548116B (en) 2018-11-16 2018-11-16 ZigBee gateway equipment batch network access method, device and equipment based on NFC

Country Status (1)

Country Link
CN (1) CN109548116B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862561A (en) * 2017-11-30 2019-06-07 西门子(中国)有限公司 Method, apparatus, system and the computer readable storage medium of ZigBee network is added
CN110190986A (en) * 2019-05-07 2019-08-30 深圳绿米联创科技有限公司 Method, apparatus, system, electronic equipment and the storage medium of device configuration
CN111092794B (en) * 2019-11-11 2021-07-20 珠海格力电器股份有限公司 Network distribution method and system for intelligent terminal equipment
CN111399392B (en) * 2020-04-02 2022-02-01 深圳创维-Rgb电子有限公司 Smart home interaction control method and device based on smart screen and smart screen
CN111654895B (en) * 2020-06-12 2021-06-11 上海顺舟智能科技股份有限公司 Internet of things smart home ZigBee fast networking method
CN111885561B (en) * 2020-06-30 2024-02-13 北京小米移动软件有限公司 Wireless network connection, NFC information writing method, device and storage medium
CN111787515B (en) * 2020-07-13 2023-03-24 太仓市同维电子有限公司 Method for establishing and managing home wireless network in NFC non-contact mode
CN114143129B (en) * 2020-08-12 2023-05-23 深圳绿米联创科技有限公司 Gateway batch networking method, device, equipment and storage medium
CN112165727B (en) * 2020-09-09 2022-11-15 杭州涂鸦信息技术有限公司 Parallel network distribution system and method and mobile terminal
CN113259920B (en) * 2021-03-16 2021-11-30 浙江绍兴苏泊尔生活电器有限公司 Household appliance product
CN113033226A (en) * 2021-03-17 2021-06-25 北京金朗维科技有限公司 Control method and system for association of wireless code scanning gun and server
CN113225715A (en) * 2021-04-20 2021-08-06 广州朗国电子科技有限公司 Wireless module setting method, electronic equipment and storage medium
CN117240895A (en) * 2022-06-06 2023-12-15 中移物联网有限公司 Information processing method, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320863A (en) * 2014-11-07 2015-01-28 广东欧珀移动通信有限公司 Wireless network access method applied to mobile terminal and mobile terminal
CN105049416A (en) * 2015-06-15 2015-11-11 小米科技有限责任公司 Method and apparatus for accessing to wifi network
CN105916142A (en) * 2015-12-16 2016-08-31 美的集团股份有限公司 Intelligent household electrical appliance equipment, terminal and intelligent household electrical appliance equipment network distribution system
CN106358147A (en) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 Method and system for connecting wireless network, household electric appliance and user terminal
CN106817671A (en) * 2017-02-14 2017-06-09 腾讯科技(深圳)有限公司 A kind of networked information sharing method, first terminal and system
CN106879049A (en) * 2017-02-13 2017-06-20 上海雍敏信息科技有限公司 The method that many equipment of intelligent home device, smart home network simultaneously
CN107529124A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of wireless direct-connected method for building up, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9602172B2 (en) * 2012-09-05 2017-03-21 Crestron Electronics, Inc. User identification and location determination in control applications
JP6333032B2 (en) * 2014-04-09 2018-05-30 キヤノン株式会社 Communication method, communication terminal, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320863A (en) * 2014-11-07 2015-01-28 广东欧珀移动通信有限公司 Wireless network access method applied to mobile terminal and mobile terminal
CN105049416A (en) * 2015-06-15 2015-11-11 小米科技有限责任公司 Method and apparatus for accessing to wifi network
CN105916142A (en) * 2015-12-16 2016-08-31 美的集团股份有限公司 Intelligent household electrical appliance equipment, terminal and intelligent household electrical appliance equipment network distribution system
CN107529124A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of wireless direct-connected method for building up, device and system
CN106358147A (en) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 Method and system for connecting wireless network, household electric appliance and user terminal
CN106879049A (en) * 2017-02-13 2017-06-20 上海雍敏信息科技有限公司 The method that many equipment of intelligent home device, smart home network simultaneously
CN106817671A (en) * 2017-02-14 2017-06-09 腾讯科技(深圳)有限公司 A kind of networked information sharing method, first terminal and system

Also Published As

Publication number Publication date
CN109548116A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109548116B (en) ZigBee gateway equipment batch network access method, device and equipment based on NFC
US9954968B2 (en) Remote access gateway configurable control system
CN109413515B (en) Equipment control method and device, mobile terminal and server
KR101397471B1 (en) IoT Device and IoT Adapter with Device Platform
CN109362069A (en) ZigBee gateway method of network entry, device and equipment based on NFC
CN109640326B (en) Authority management method, device and system and mobile terminal
EP3799321B1 (en) Method and device for activating near field communication card
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
KR20150028008A (en) Method and apparatus for controlling a home device remotely in a home network system
CN112135274B (en) Bluetooth scanning method, device, electronic equipment and readable storage medium
CN109918273B (en) Data display method and device, terminal equipment and storage medium
JP2016504641A (en) System and method for exchanging support data with a device without a physical user interface
CN109167711B (en) Household appliance control method and device, storage medium and server
CN109753034A (en) A kind of control method, device, electronic equipment and storage medium
CN105681181A (en) Home gateway system suitable for smart home
CN110045629A (en) A kind of intelligent security guard house control system
CN103744384A (en) Method for realizing smart homes, associated device and system
JP2016063415A (en) Network system, audio output method, server, device and audio output program
CN110084923B (en) Door lock control method, device, system, electronic equipment and storage medium
CN109714195B (en) Equipment control method and device, electronic equipment and Internet of things system
US11455164B2 (en) Security system with smart connection module
CN113691935A (en) Network optimization method and device and electronic equipment
KR20180054157A (en) New IOT(Internet Of Things) device management apparatus and method
JP2020017922A (en) Radio communication system
KR101599905B1 (en) Wireless communication module and method for providing automatic configuration of network

Legal Events

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