CN108696367B - Internet of things gateway device and reset and restart method thereof - Google Patents

Internet of things gateway device and reset and restart method thereof Download PDF

Info

Publication number
CN108696367B
CN108696367B CN201710142233.9A CN201710142233A CN108696367B CN 108696367 B CN108696367 B CN 108696367B CN 201710142233 A CN201710142233 A CN 201710142233A CN 108696367 B CN108696367 B CN 108696367B
Authority
CN
China
Prior art keywords
wireless module
reset
pin
configuration
internet
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
CN201710142233.9A
Other languages
Chinese (zh)
Other versions
CN108696367A (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.)
Sun Yat Sen University
SYSU CMU Shunde International Joint Research Institute
Original Assignee
Sun Yat Sen University
SYSU CMU Shunde International Joint Research Institute
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 Sun Yat Sen University, SYSU CMU Shunde International Joint Research Institute filed Critical Sun Yat Sen University
Priority to CN201710142233.9A priority Critical patent/CN108696367B/en
Publication of CN108696367A publication Critical patent/CN108696367A/en
Application granted granted Critical
Publication of CN108696367B publication Critical patent/CN108696367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Abstract

The invention relates to an Internet of things gateway device and a reset restarting method thereof, wherein the Internet of things gateway device comprises a gateway controller and a wireless module, the gateway controller is provided with a reset pin and a starting mode configuration pin, and the wireless module is connected with the reset pin and the starting mode configuration pin; the wireless module establishes wireless connection with external equipment, detects whether a configuration instruction sent by the external equipment is received, and outputs corresponding level signals to a reset pin and a start mode configuration pin according to the configuration instruction when the configuration instruction is received, so as to control the gateway controller to reset and restart. On one hand, when a user needs to reset and restart the gateway device of the internet of things, the wireless control reset and restart can be realized only by adopting external equipment to send a configuration instruction, and the convenience of user operation is high; on the other hand, the wireless module adopts the soft start mode to control the reset restart, and power failure is not needed, so that the internet of things gateway device can be suitable for the areas which can not be powered off, and the application range is wide and the practicability is strong.

Description

Internet of things gateway device and reset and restart method thereof
Technical Field
The invention relates to the technical field of Internet of things, in particular to an Internet of things gateway device and a reset restarting method thereof.
Background
The gateway equipment of the Internet of things can sense the protocol conversion between the network and the communication network and between different types of sensing networks, and can realize wide area interconnection and local area interconnection. As a link to connect a sensing network with a conventional communication network, gateway devices play an increasingly important role in the internet of things. However, the gateway device is always in a high-load working state, and it is difficult to avoid the situation that some dead halt is caused by human or non-human factors, and at this time, some simple and convenient modes need to be adopted to perform reset and restart operations on the gateway device.
The conventional method for resetting and restarting the gateway device is to reset and restart the gateway device by operating a button on the gateway device or to power off and restart the gateway device by a power switch. However, the gateway device is usually placed in a place which is not easy to contact, and when the gateway device fails, the gateway device needs to be operated with great effort, which is inconvenient to operate, and the gateway device is inconvenient to restart under the condition that the power cannot be cut off.
Disclosure of Invention
Therefore, in order to solve the above problems, it is necessary to provide an internet of things gateway device and a reset and restart method thereof, which are convenient to operate and have strong practicability.
An Internet of things gateway device comprises a gateway controller and a wireless module, wherein the gateway controller is provided with a reset pin and a starting mode configuration pin, and the wireless module is connected with the reset pin and the starting mode configuration pin;
the wireless module is used for establishing wireless connection with external equipment and detecting whether a configuration instruction sent by the external equipment is received or not, and when the wireless module receives the configuration instruction, the wireless module outputs corresponding level signals to a reset pin and a start mode configuration pin according to the configuration instruction to control the gateway controller to reset and restart.
According to the Internet of things gateway device, the wireless module is connected with the reset pin and the starting mode configuration pin of the gateway controller, and the wireless module can control the level states of the reset pin and the starting mode configuration pin according to the configuration instruction sent by the external equipment, so that the gateway controller is controlled to reset and restart. On one hand, the wireless module and the external equipment are in wireless connection, so that a user can conveniently carry the external equipment, when the user needs to reset and restart the gateway device of the internet of things, the wireless control reset and restart can be realized only by sending a configuration instruction by the external equipment, the gateway device of the internet of things does not need to be subjected to hardware operation in a large-cost and week-stamp manner, and the convenience in user operation is high; on the other hand, the wireless module controls the level states of the reset pin and the start mode configuration pin to control the gateway controller to reset and restart, the wireless module can work independently of the gateway controller, the reset and restart is controlled in a soft start mode, power failure is not needed, the internet of things gateway device can be suitable for areas which cannot be powered off, the application range is wide, and the practicability is high.
A reset restarting method of an Internet of things gateway device comprises the following steps:
the wireless module sends a broadcast signal after being electrified and controls the gateway controller to be in a state to be started or an initial starting state;
the wireless module judges whether a connection request sent by the external equipment according to the broadcast signal is received;
if so, the wireless module establishes wireless connection with the external equipment according to the connection request;
the wireless module detects whether a configuration instruction sent by the external equipment is received;
when the wireless module receives the configuration instruction, the wireless module outputs a corresponding level signal to a reset pin and a start mode configuration pin of the gateway controller according to the configuration instruction, and controls the gateway controller to reset and restart;
the wireless module detects whether the connection with the external equipment is disconnected;
when the wireless module is disconnected with the external equipment, repeatedly sending the broadcast signal and returning the broadcast signal to the wireless module to judge whether a connection request sent by the external equipment according to the broadcast signal is received;
and when the wireless module is connected with the external equipment, returning to the step that the wireless module detects whether the configuration instruction sent by the external equipment is received.
The reset restarting method of the internet of things gateway device has the characteristics of high user operation convenience, wide application range and strong practicability.
Drawings
Fig. 1 is a block diagram of an internet of things gateway device in an embodiment;
fig. 2 is a schematic structural diagram of an internet of things gateway device in an embodiment;
fig. 3 is a flowchart of a reset restart method of an internet of things gateway device in an embodiment;
fig. 4 is a schematic structural diagram of an internet of things gateway device in an application example;
FIG. 5 is a schematic interface diagram of nRF Master Control Panel software in an application example.
Detailed Description
Referring to fig. 1, an internet of things gateway apparatus in an embodiment includes a gateway controller 110 and a wireless module 120, where the gateway controller 110 is provided with a reset pin and a start mode configuration pin, and the wireless module 120 is connected to the reset pin and the start mode configuration pin. The wireless module 120 is configured to establish a wireless connection with the external device 200, and detect whether a configuration instruction sent by the external device 200 is received, and when receiving the configuration instruction, the wireless module 120 outputs a corresponding level signal to the reset pin and the start mode configuration pin according to the configuration instruction, so as to control the gateway controller 110 to reset and restart.
The gateway controller 110 is a core control part of the internet of things gateway device, and specifically, the gateway controller 110 may be started in various ways, such as starting from an SD Card (Secure Digital Memory Card), starting from a NAND Flash (Flash Memory), and the like; the start mode configuration pin is a pin for controlling a start mode of the gateway controller 110.
The configuration instruction is an instruction for instructing the wireless module 120 to control the gateway controller 110 to reset and restart, and is transmitted by the external device 200 in a wireless manner. Specifically, there are multiple configuration instructions, and the different configuration instructions correspond to different starting manners, that is, the wireless module 120 may control the gateway controller 110 to adopt different starting manners when performing reset and restart according to different configuration instructions.
In the internet of things gateway device, the wireless module 120 is connected to the reset pin and the start mode configuration pin of the gateway controller 110, and the wireless module 120 can control the level states of the reset pin and the start mode configuration pin according to the configuration instruction sent by the external device 200, so as to control the gateway controller 110 to reset and restart. On one hand, the wireless module 120 and the external device 200 are in wireless connection, so that the user can conveniently carry the external device 200, when the user needs to reset and restart the internet of things gateway device, the wireless control reset and restart can be realized only by sending a configuration instruction by the external device 200, the internet of things gateway device does not need to be subjected to hardware operation with great expense, and the user operation convenience is high; on the other hand, the wireless module 120 controls the level states of the reset pin and the start mode configuration pin to control the gateway controller 110 to perform reset restart, the wireless module 120 can work independently of the gateway controller 110, and the reset restart is controlled in a soft start mode without power failure, so that the internet of things gateway device can be applicable to areas which cannot be powered off, and has a wide application range and strong practicability.
For example, the internet of things gateway device is applied to smart homes, when some small faults occur at night, a user can send a configuration instruction through the external device 200 such as a mobile phone and a tablet, the wireless module 120 receives the configuration instruction and controls the gateway controller 110 to reset and restart, and the internet of things gateway device is simple, fast and high in practicability.
In one embodiment, the gateway controller 110 includes an ARM and an FPGA, both the ARM and the FPGA have a reset pin, and the ARM further has a start mode configuration pin; ARM connects FPGA, and the reset pin and the start mode configuration pin of ARM all connect wireless module 120, and the reset pin of FPGA connects wireless module 120.
The ARM is used as a master device, the FPGA is used as a slave device, and the FPGA is equivalent to a peripheral device with reconfigurable characteristics of the ARM. The gateway controller 110 with the master-slave structure formed by the ARM and the FPGA has strong functionality. Specifically, the ARM and the FPGA are connected through a bus.
Alternatively, the gateway controller 110 may employ a separate chip with ARM and FPGA, such as ZYNQ 7000 series chip, Straitx 10 series chip; gateway controller 110 may also be in the form of a combination of two chips, ARM and FPGA. Referring to fig. 2, which is a schematic structural diagram of the gateway device of the internet of things in an embodiment, an ARM and an FPGA are embedded in the gateway controller 110, and a reset pin RST and a BOOT mode configuration pin BOOT of the gateway controller 110 are connected to a GPIO pin of the wireless module 120.
In one embodiment, the wireless module 120 is a bluetooth low energy module.
On one hand, by adopting the low-power-consumption Bluetooth module, the external device 200 only needs to start the Bluetooth function without networking, thereby improving the convenience of wireless operation reset and restart. BLE (Bluetooth Low Energy) technology, on the other hand, is a Low-cost, short-range, interoperable wireless technology operating in the unlicensed ISM radio frequency band of 2.4 GHz. BLE is designed as ULP (Ultra-Low Power) wireless technology from the beginning, and the ULP performance of the BLE is achieved by utilizing three characteristics of maximum intelligent means for reducing Power consumption, maximum standby time, fast connection and Low peak value transmitting/receiving Power consumption. While BLE technology employs a variable connection time interval, this interval may vary from milliseconds to seconds depending on the particular application. In addition, because BLE technology employs a very fast connection mode, it can be in a "non-connected" state (energy saving) at ordinary times, and both ends of the link only know each other, and the link is opened only when necessary, and then closed in as short a time as possible. The operating mode of BLE technology is well suited for transferring data from micro wireless sensors (exchanging data every half second) or other peripherals such as remote controls using fully asynchronous communication. These devices transmit very small amounts of data (typically a few bytes) and also transmit very small numbers of times (e.g., a few times per second to once per minute, or even less). Therefore, the low-power-consumption Bluetooth module is adopted, so that the working performance of the gateway device of the Internet of things can be improved, and the power consumption is reduced. It is understood that in other embodiments, wireless module 120 may also be other types of modules, such as a WIFI module.
Further, the bluetooth low energy module has two channel types: broadcast channel 3, data channel 37, total 40 channels. Because the Bluetooth and the WiFi work in the frequency band of 2.4GHz and mutual influence is possibly generated in the same use environment, the low-power-consumption Bluetooth makes system compatibility consideration, the working channel of the WiFi is avoided as much as possible when the channel list of the low-power-consumption Bluetooth module is designed, 3 broadcast channels of the low-power-consumption Bluetooth module are all outside the WiFi channel list, 9 data channels are still outside the WiFi channel except the overlapped data channel part, the reliability of the low-power-consumption Bluetooth module and the compatibility with the WiFi system are ensured, and the anti-interference characteristic in application is enhanced.
In an embodiment, the internet of things gateway device further includes any one of a WiFi module, a Zigbee module, and a GSM module, and the WiFi module, the Zigbee module, and the GSM module are in communication connection with the gateway controller 110.
The WiFi module, the Zigbee module, and the GSM module are equivalent to a data transmission channel of the gateway controller 110, and are used to connect with the gateway controller 110 to implement different functions, thereby improving the functional diversity of the internet of things gateway device. For example, when the gateway controller 110 is connected through a WiFi module, the gateway device of the internet of things is configured as a router to provide external network connection or other data transmission; if the Zigbee module is connected to the gateway controller 110, the gateway device of the internet of things is configured as a coordinator to receive data sent by other Zigbee; the gateway controller 110 is connected through the GSM module, and the gateway device of the internet of things is configured as a small-sized mobile phone base station. It is understood that in other embodiments, the internet of things gateway apparatus may further include other functional modules to implement other functions.
Specifically, the WIFI module and the Zigbee module are connected to the gateway controller 110 through a USB interface. Further, the WiFi module, the Zigbee module, and the GSM module are all connected to the ARM of the gateway controller 110.
In an embodiment, the internet of things gateway device further includes a mobile terminal, and the mobile terminal is wirelessly connected to the wireless module 120 and configured to send a configuration instruction to the wireless module 120. The mobile terminal is convenient for a user to carry, and the convenience of wireless control reset and restart is improved.
In one embodiment, the wireless module 120 establishes a wireless connection with the external device 200, including: the wireless module 120 sends a broadcast signal after being powered on, detects whether a connection request sent by the external device 200 according to the broadcast signal is received, and if so, establishes a wireless connection with the external device 200 according to the connection request.
The wireless module 120 transmits a broadcast signal so that the external device 200 can search for the wireless module 120 according to the broadcast signal to transmit a connection request to the wireless module 120. For example, the bluetooth low energy module transmits a broadcast signal after being powered on, and the user can search for the bluetooth low energy module by using the external device 200 to perform bluetooth search within a bluetooth searchable range.
In one embodiment, before the wireless module 120 establishes the wireless connection with the external device 200 according to the connection request, it is further configured to control the gateway controller 110 to be in a standby state or an initial startup state. Gateway controller 110 is initialized by controlling gateway controller 110 to be in a standby state or an initialization state.
The to-be-started state refers to a preparation state that is not yet started, and corresponds to a state to be started after the gateway controller 110 is powered on; the initialization start state refers to a state of performing initialization, configuration of adding a start mode, and starting, and corresponds to starting after the gateway controller 110 is powered on. Optionally, the wireless module 120 specifically controls which state the gateway controller 110 is, and is set by actual needs. For example, when the gateway controller 110 needs to be powered on and then does not work, and needs to be restarted, the gateway controller is initialized to a state to be started through the wireless module 120; if it is desired that the gateway controller 110 can begin operating upon power up, the gateway controller is initialized to an initialization start state by the wireless module 120.
Specifically, the wireless module 120 may set the gateway controller 110 to a standby state or to initialize a startup state by controlling the level states of the reset pin and the startup mode configuration pin. For example, when the wireless module 120 does not configure the start mode configuration pin during initialization, the gateway controller 110 enters a state to be started; if the wireless module 120 stores an initialization start-up mode in advance, the wireless module 120 outputs a level signal corresponding to the initialization start-up mode to the start-up mode configuration pin for configuration during initialization, and the gateway controller 110 enters the initialization start-up state and starts up in the initialization start-up mode.
Further, the wireless module 120 and the gateway controller 110 are powered by the same power supply device, and the gateway controller 110 is powered on while the wireless module 120 is powered on; the wireless module 120 may control the gateway controller 110 to be in a standby state or an initialization state while transmitting a broadcast signal after power-on.
In one embodiment, the plurality of start mode configuration pins are provided, and the wireless module 120 outputs corresponding level signals to the reset pin and the start mode configuration pin according to the configuration instruction to control the gateway controller 110 to reset and restart, including: the wireless module 120 outputs a reset level to the reset pin; the wireless module 120 obtains the start configuration information corresponding to the configuration instruction, and outputs a corresponding level signal to each start mode configuration pin according to the configuration information, so that the gateway controller 110 starts according to the start mode corresponding to the start configuration information.
The wireless module 120 outputs a reset level to the reset pin, thereby controlling the gateway controller 110 to reset; the wireless module 120 outputs a level signal to the start mode configuration pin, thereby controlling the gateway controller 110 to restart. There are various combinations of the level states of the plurality of start mode configuration pins. Through setting up a plurality of start mode configuration pins, support to set up multiple start-up mode, improve the functional diversity.
Alternatively, a low level may be used as the reset level, and a high level may be used as the reset level. Specifically, the wireless module 120 may pre-store a corresponding relationship table between the configuration instruction and the start configuration information, and obtain the corresponding configuration information by looking up the table after analyzing the configuration instruction; the configuration information is used to indicate the level state of each boot mode configuration pin, for example, there are 4 boot mode configuration pins, the configuration information includes 1000, 1010, 1011, etc., the boot mode corresponding to 1000 is boot from SD card, and the boot mode corresponding to 1010 is boot from NAND Flash.
In an embodiment, the wireless module 120 outputs a corresponding level signal to the reset pin and the start mode configuration pin according to the configuration instruction, controls the gateway controller 110 to reset and restart, and is further configured to detect whether to disconnect from the external device 200, and the wireless module 120 repeatedly sends the broadcast signal when disconnecting from the external device 200; while maintaining the connection with the external device 200, the wireless module 120 repeatedly detects whether or not a configuration instruction transmitted from the external device 200 is received. In this way, the wireless module 120 can automatically detect the wireless connection state with the external device 200, and when the wireless module is disconnected, the broadcast signal is continuously transmitted so that the external device 200 is connected again, which is convenient for use.
In an embodiment, the wireless module 120 is further configured to send a prompt message to the receiving end when receiving an invalid instruction after detecting whether the configuration instruction sent by the external device 200 is received. The prompt is used to indicate that the wireless module 120 is not working properly when receiving the invalid command. In this way, the wireless module 120 can be queried for proper operation at the time of testing or maintenance, so that the user can know.
The receiving end refers to a computer connected to the wireless module 120 through a serial port of the wireless module 120. It is understood that in other embodiments, wireless module 120 may also send a hint information to gateway controller 110.
Referring to fig. 3, a reset restart method of an internet of things gateway device in an embodiment includes:
s110: the wireless module sends a broadcast signal after being electrified and controls the gateway controller to be in a state to be started or an initial starting state.
S120: the wireless module judges whether a connection request sent by the external equipment according to the broadcast signal is received. If yes, go to step S130.
S130: and the wireless module establishes wireless connection with the external equipment according to the connection request.
S140: the wireless module judges whether a configuration instruction sent by external equipment is received.
S150: when the wireless module receives the configuration instruction, the wireless module outputs a corresponding level signal to a reset pin and a start mode configuration pin of the gateway controller according to the configuration instruction, and controls the gateway controller to reset and restart.
S160: the wireless module judges whether to disconnect from the external device.
S170: when the wireless module is disconnected from the external device, the wireless module repeatedly transmits the broadcast signal and returns to step S120.
S180: the wireless module returns to step S140 while maintaining the connection with the external device.
Specifically, the wireless module controls the gateway controller to be in a standby state or an initial start state in step S110, and outputs a corresponding level signal to the reset pin and the start mode configuration pin of the gateway controller according to the configuration instruction in step S150, and the specific implementation manner for controlling the reset and restart of the gateway controller may adopt the aforementioned manner, which is not described herein again.
The reset restarting method of the internet of things gateway device has the characteristics of high user operation convenience, wide application range and strong practicability.
The specific use of the internet of things gateway device is described by a specific application example. Referring to fig. 4, the gateway controller 110 employs a ZYNQ 7000-series chip, and the wireless module 120 employs a low power bluetooth module of an nRF51xxx chip. The ZYNQ 7000 series chip comprises an ARM part and an FPGA part, core work is completed in a Linux system in which the ARM part runs, a reset pin RST and a start mode configuration pin BOOT of the ARM part and the FPGA part in the chip are both connected to a GPIO pin of an nRF51xxx chip, the low-power-consumption Bluetooth module can work independently, and the reset restart of the gateway controller 110 can be conveniently controlled through the low-power-consumption Bluetooth module.
1. The method comprises the steps of programming a low-power-consumption Bluetooth module, firstly downloading an S110 software slave protocol stack in an nRF51xxx chip, then starting a low-power-consumption Bluetooth serial port service in an application program part, and simultaneously defining a low-power-consumption Bluetooth serial port instruction for controlling a gateway to work in a program.
2. Downloading or compiling a low-power consumption Bluetooth serial port mobile phone software such as nRF Master Control Panel software on the internet according to needs, and then installing the nRF Master Control Panel software into a smart phone for standby, wherein the interface of the nRF Master Control Panel software is shown in FIG. 5.
3. The antenna is added to the low-power-consumption Bluetooth module, then the whole gateway device of the internet of things is powered on, and the low-power-consumption Bluetooth module initializes the gateway controller 110 to be in an initialization starting state, so that the gateway controller 110 starts to work normally after initialization, and the low-power-consumption Bluetooth module is also in a normal working state, starts to broadcast and waits for connection of the smart phone. The smartphone can then be used to perform the operations described below.
1) And starting the Bluetooth of the mobile phone, starting nRF Master Control Panel software, searching the device name of the low-power Bluetooth module, such as R7_ UART, and connecting.
2) After the nRF Master Control Panel software on the smart phone is connected with the low-power-consumption Bluetooth module, the software sends a configuration instruction to the low-power-consumption Bluetooth module.
3) After receiving the correct configuration command, the bluetooth low energy module resets and restarts the gateway controller 110. After the reset restart operation is finished, the low-power-consumption Bluetooth module restores to a connection state and waits for receiving an instruction sent by the smart phone.
4) If the low-power-consumption Bluetooth module is disconnected with the smart phone, the low-power-consumption Bluetooth module restores to a broadcasting state to send a broadcasting signal and waits for the next connection.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. The gateway device of the Internet of things is characterized by comprising a gateway controller and a wireless module, wherein the gateway controller is provided with a reset pin and a plurality of starting mode configuration pins, and the wireless module is connected with the reset pin and each starting mode configuration pin;
the wireless module is used for establishing wireless connection with external equipment and detecting whether a configuration instruction sent by the external equipment is received or not, wherein the configuration instruction has multiple types;
when the wireless module receives the configuration instruction, the wireless module outputs a reset level to the reset pin; the wireless module acquires starting configuration information corresponding to the configuration instruction, and outputs corresponding level signals to each starting mode configuration pin according to the starting configuration information, so that the gateway controller is started according to a starting mode corresponding to the starting configuration information;
the gateway controller comprises a master device and a slave device, wherein the master device and the slave device are both provided with reset pins, the master device is also provided with a starting mode configuration pin, the reset pin and the starting mode configuration pin of the master device are both connected with the wireless module, and the reset pin of the slave device is connected with the wireless module.
2. The internet of things gateway device of claim 1, further comprising at least one of:
the wireless module is a low-power Bluetooth module;
the wireless module comprises a main device, a slave device and a wireless module, wherein the main device is an ARM, the slave device is an FPGA, the ARM and the FPGA are both provided with reset pins, the ARM is also provided with a starting mode configuration pin, the ARM is connected with the FPGA, the reset pin and the starting mode configuration pin of the ARM are both connected with the wireless module, and the reset pin of the FPGA is connected with the wireless module.
3. The gateway device of internet of things of claim 1, further comprising any one of a WiFi module, a Zigbee module, and a GSM module, wherein the WiFi module, the Zigbee module, and the GSM module are in communication connection with the gateway controller.
4. The gateway device of the internet of things of claim 1, further comprising a mobile terminal, wherein the mobile terminal is wirelessly connected with the wireless module and is configured to send the configuration command to the wireless module.
5. The gateway device of the internet of things of any one of claims 1 to 4, wherein the wireless module establishes a wireless connection with the external device, and comprises:
the wireless module sends a broadcast signal after being electrified, whether a connection request sent by the external equipment according to the broadcast signal is received or not is detected, and if yes, wireless connection is established with the external equipment according to the connection request.
6. The gateway device of the internet of things of claim 5, wherein before the wireless module establishes the wireless connection with the external device according to the connection request, the wireless module is further configured to control the gateway controller to be in a standby state or an initial startup state.
7. The gateway device of the internet of things of claim 5, wherein the wireless module outputs corresponding level signals to a reset pin and a start mode configuration pin according to the configuration instruction, controls the gateway controller to reset and restart, and is further configured to detect whether to disconnect from the external device, and when the wireless module disconnects from the external device, the wireless module repeatedly sends the broadcast signal; and the wireless module repeatedly detects whether a configuration instruction sent by the external equipment is received or not when the wireless module is connected with the external equipment.
8. The gateway device of the internet of things of claim 1 or 7, wherein the wireless module is further configured to send a prompt message to a receiving end when receiving an invalid instruction after detecting whether a configuration instruction sent by the external device is received.
9. A reset restart method of an Internet of things gateway device is characterized by comprising the following steps:
the wireless module sends a broadcast signal after being electrified and controls the gateway controller to be in a state to be started or an initial starting state;
the gateway controller comprises a master device and a slave device, wherein the master device and the slave device are both provided with reset pins, the master device is also provided with a plurality of start mode configuration pins, the reset pin of the master device and each start mode configuration pin are both connected with the wireless module, and the reset pin of the slave device is connected with the wireless module;
the wireless module judges whether a connection request sent by an external device according to the broadcast signal is received;
if so, the wireless module establishes wireless connection with the external equipment according to the connection request;
the wireless module judges whether a configuration instruction sent by the external equipment is received; wherein, the configuration instructions are various;
when the wireless module receives the configuration instruction, the wireless module outputs a reset level to the reset pin; the wireless module acquires starting configuration information corresponding to the configuration instruction, and outputs corresponding level signals to each starting mode configuration pin according to the starting configuration information, so that the gateway controller is started according to a starting mode corresponding to the starting configuration information;
the wireless module judges whether to disconnect the external equipment;
when the wireless module is disconnected with the external equipment, repeatedly sending the broadcast signal and returning the broadcast signal to the wireless module to judge whether a connection request sent by the external equipment according to the broadcast signal is received;
and returning to the step that the wireless module judges whether the configuration instruction sent by the external equipment is received or not when the wireless module is connected with the external equipment.
CN201710142233.9A 2017-03-10 2017-03-10 Internet of things gateway device and reset and restart method thereof Active CN108696367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710142233.9A CN108696367B (en) 2017-03-10 2017-03-10 Internet of things gateway device and reset and restart method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710142233.9A CN108696367B (en) 2017-03-10 2017-03-10 Internet of things gateway device and reset and restart method thereof

Publications (2)

Publication Number Publication Date
CN108696367A CN108696367A (en) 2018-10-23
CN108696367B true CN108696367B (en) 2021-10-26

Family

ID=63841979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710142233.9A Active CN108696367B (en) 2017-03-10 2017-03-10 Internet of things gateway device and reset and restart method thereof

Country Status (1)

Country Link
CN (1) CN108696367B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220057096A1 (en) * 2018-12-11 2022-02-24 Gd Midea Air-Conditioning Equipment Co., Ltd. Wireless communication device and air conditioner

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202663561U (en) * 2012-03-11 2013-01-09 上海宜云物联科技有限公司 Internet of Things gateway capable of long-term operation without electricity

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508533B (en) * 2011-09-21 2014-07-09 迈普通信技术股份有限公司 Reset control device and method
CN104035403B (en) * 2014-05-23 2017-01-18 四川长虹电器股份有限公司 Ibeacon technology based intelligent home control system and method
CN104411003A (en) * 2014-11-06 2015-03-11 深圳市广和通无线通信软件有限公司 Dormancy wakeup control method and system of wireless communication equipment
CN205725812U (en) * 2016-04-12 2016-11-23 郑州能通网络技术有限公司 A kind of smart cloud gateway apparatus with remote reboot

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202663561U (en) * 2012-03-11 2013-01-09 上海宜云物联科技有限公司 Internet of Things gateway capable of long-term operation without electricity

Also Published As

Publication number Publication date
CN108696367A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
US9589459B2 (en) Modular wireless power, light and automation control
CN103458399B (en) Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network
TWI481213B (en) System and method for facilitating wireless communication
CN103916166B (en) A kind of Bluetooth data transfer method and blue-tooth device
ES2561433T3 (en) Procedure and terminal that provide Bluetooth functionality to a computer
US8028111B2 (en) Radio communication apparatus, communication control method, and computer-readable program
JP2007306201A (en) Information terminal device, and radio communication system
CN104584677A (en) Processor-independent communication of network availability
KR102482670B1 (en) An electronic device for transmitting and receiving data in a wireless communication system and a method thereof
JP2002261879A (en) Wireless headset capable of automatic link connection and method for controlling the same
JP5960558B2 (en) Wireless router device
CN103684500A (en) Pairing method of wireless transmitting terminal and wireless receiving terminal and related device
WO2015042574A1 (en) Device auto pairing without touch and tap
CN113007874A (en) Air conditioner, air conditioner operation method and electric appliance system
CN102215550A (en) Wireless communication device and wireless communication method
CN106416196B (en) Mobile terminal, power adapter and upgrading method thereof
CN108696367B (en) Internet of things gateway device and reset and restart method thereof
CN106971525B (en) Bluetooth signal conversion device and Bluetooth signal conversion method
CN105099836A (en) BLE intelligent node control method and system
CN110661147B (en) Multimode expansion connector and multimode micro base station system
JP2011035760A (en) Network unit
CN101557652A (en) Device and method for enhancing wireless transmission rate of cell phone
CN104618653A (en) Novel Bluetooth self shooting control device
CN105786534A (en) Information acquisition method and device
CN211480953U (en) Wireless charging system with many-to-many recognition function

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