The present invention relates to an IoT system and a control method therefor.
IoT (Internet of Things) is increasingly common in production and life nowadays. People may use smart phones, tablet computers and other electronic devices to establish a network connection with a production or everyday tool and monitor and control the tool by means of the electronic device, so as to be able to know information of the tool, such as operating state, in a timely manner. Generally, a wireless power supply mode for battery pack power supply and a networking mode of wireless network connections are used, to reduce space restrictions entailed by wired power supply and networking modes. However, each tool being equipped with a wireless communication module also produces a problem of increased costs. Therefore, a common battery pack is provided for different tools, and a wireless communication module is arranged on the battery pack, so that an electronic device establishes a network connection with the tools by means of the battery pack. However, when the tools operate for a long time, and it is necessary to frequently replace the battery pack, each time the battery pack is replaced, it is necessary to re-establish a network connection for the electronic device and tools, with the result that operation is more cumbersome.
Therefore, it is necessary to provide an IoT and control method therefor to mitigate the above problem.
An object of the present invention lies in providing an IoT system and control method therefor, with an electronic device in said system, by means of a frequently replaced battery pack, automatically wirelessly connecting to a terminal device connected to the battery pack, and it is thus possible to reduce unnecessary and cumbersome connecting operations by a user, providing convenience for controlling an IoT.
According to one aspect of the present invention, the IoT system comprises:
In some embodiments, the battery pack is further configured such that a wireless connection between the battery pack and the electronic device is broken at the same time as a connection between the battery pack and the terminal device is broken.
In some embodiments, the electronic device is further configured to be capable, on the basis of a user operation, of breaking, from the electronic device side, a wireless connection with the battery pack.
In some embodiments, the electronic device is further configured such that, when a wireless connection with the battery pack is broken on the basis of the user operation, identity information of the terminal device associated with the disconnected battery pack is deleted in the stored information of the electronic device.
In some embodiments, the electronic device is further configured to be capable of establishing a wireless connection with the battery pack, on the basis of a user operation, when the identity information in received said broadcast information does not match the stored identity information.
In some embodiments, the identity information comprises an ID or MAC address of the terminal device.
In some embodiments, the broadcast information further comprises state information of the terminal device connected to the battery pack, and/or the broadcast information further comprises identity information and/or state information of the battery pack.
In some embodiments, the wireless communication module is configured to send out the broadcast information and establish a wireless connection with the electronic device, by means of a Bluetooth low energy (BLE) protocol.
In some embodiments, the wireless communication module is integrated in the battery pack, or the wireless communication module is detachably mounted to the battery pack.
In some embodiments, the terminal device comprises a power tool, a charger, an adapter or another battery pack.
According to another aspect of the present invention, a control method for an IoT system is further provided, the IoT comprising a battery pack provided with a connecting terminal and wireless communication module, a terminal device and an electronic device, and the control method comprising the following steps:
In some embodiments, a wireless connection between the battery pack and the electronic device is broken when a connection between the battery pack and the terminal device is broken.
In some embodiments, when the identity information in received said broadcast information does not match the stored identity information, a user operation causes the electronic device to establish a wireless connection with the battery pack.
In some embodiments, when a wireless connection with the battery pack is broken from the electronic device side, identity information of the terminal device associated with the disconnected battery pack is deleted in the stored information of the electronic device.
In some embodiments, the identity information comprises an ID or MAC address of the terminal device.
In some embodiments, the battery pack sends out the broadcast information and establishes a wireless connection with the electronic device, by means of a Bluetooth low energy (BLE) protocol.
To better understand the above and other objectives, features, advantages and functions of the present invention, reference may be made to the preferred embodiments shown in the drawings. In the drawings, identical reference symbols denote identical components. Those skilled in the art should understand that the drawings are intended to illustrate preferred embodiments of the present invention schematically and have no limiting effect on the scope of the present invention, and the various components in the drawings are not drawn to scale.
Specific embodiments of the present invention are now described in detail by referring to the drawings. The embodiments described herein are merely preferred embodiments of the present invention. Based on these preferred embodiments, those skilled in the art will be able to think of other ways in which the present invention could be implemented, all of which likewise fall within the scope of the present invention.
The present invention provides an IoT system and a control method therefor. As shown in
The electronic device 400 may be, for example, a smart phone, tablet computer, etc., and can establish a network connection with the battery pack 100 and terminal device. A user may use the electronic device 400 to obtain relevant information of the battery pack 100 and terminal device via a network connection, for example charge level, temperature, etc. of the battery pack 100, and operating state of the terminal device (such as on/off state, rotation speed, temperature), etc. Furthermore, the user further can use the electronic device 400 to control the battery pack 100 and terminal device via a network connection, for example to set operating parameters, change operating mode, etc.
In view of
Continuing to refer to
The electronic device 140 may be pre-installed with a specific application program, which is adapted to a communication protocol used by the wireless communication module 140. As shown in
It will be understood that, when the terminal device is a power consumption apparatus, in a continuous operating state, the battery pack 100 is limited to its own capacity, and it tends to be difficult to continuously supply energy over a long time, and therefore, after the charge in the battery pack 100 is used up, it is necessary to frequently replace it. Regarding the electronic device 400, every time the battery pack 100 is replaced, it is necessary to establish a new wireless connection with the newly replaced battery pack 100. If each connection requires an active operation by a user, this is inconvenient and cumbersome.
The technical solution of the present invention, to a certain extent, mitigates the inconvenience brought about by the above problem, realising a fast and convenient connection between an electronic device and new battery pack, in a scenario in which a terminal device does not change and the battery pack is replaced. According to the technical solution of the present invention, a wireless communication module of the battery pack is configured to be capable of sending out broadcast information in a broadcast mode, wherein the broadcast information may comprise identity information of a terminal device connected thereto; for example, identity information may be an ID or MAC address of said terminal device. In other words, the identity information uniquely corresponds to the terminal device, and may be seen as an identity identifier of said terminal device. The electronic device is further configured to be capable of obtaining and storing, via a battery pack, identity information of the terminal device connected to said battery pack, when a wireless connection is maintained with the battery pack before replacement.
After replacement with a new battery pack, said new battery pack sends out broadcast information. The electronic device can receive the broadcast information, and then reads identity information in the broadcast information, and compares same with already stored identity information. If identity information in the received broadcast information matches identity information already stored in the electronic device, for example if an ID or MAC address in the broadcast information is the same as an ID or MAC address already stored in the electronic device, or correspondence is possible based on a specific encryption algorithm, then it is determined that a terminal device connected to said battery pack was connected to the electronic device before the battery pack was replaced. The electronic device thus automatically establishes a wireless connection with a battery pack which issues broadcast information containing matching identity information, and does not require an active operation of a user. In this way, the electronic device can automatically, via a replacement battery pack, re-establish an IoT connection with a terminal device with which an IoT connection had already been established before battery pack replacement, thereby dispensing with the trouble of requiring a user to frequently perform an active operation, which is highly advantageous in a scenario which requires a terminal device to operate for a long time and a battery pack to be replaced frequently.
For example, multiple IoTs are present in the scenarios shown in
In addition, it will be understood that for an IoT in which identity information in broadcast information does not match identity information stored in an electronic device, if a user desires to cause the electronic device to establish a wireless connection therewith, the user may actively input an operation instruction, search for a wireless signal of a battery pack 100 desired to be connected, and then, by means of a handshake request, authenticate the identity of the battery pack desired to be connected to, thereby realising a connection.
When it is desired to break a wireless connection between an electronic device and another device in an IoT, a user, by means of actively inputting an operation instruction, may break a wireless connection with a battery pack at the electronic device side. Preferably, when the wireless connection with the battery pack is actively broken at the electronic device side, the electronic device may delete stored identity information corresponding to the already disconnected terminal device in the IoT, in order to avoid, when continuing to receive broadcast information issued by the battery pack of said IoT after breaking the wireless connection, still automatically establishing an undesired wireless connection.
Preferably, the battery pack may be configured such that a wireless connection between the battery pack and the electronic device is broken at the same time as a connection between the battery pack and the terminal device is broken. In this way, it is possible to avoid the battery pack, after being removed from the IoT, still maintaining a wireless connection with the electronic device, thereby avoiding taking up processor resources of an electronic device excessively and unnecessarily.
Continuing to refer to
The above description of various embodiments of the present invention is provided for descriptive purposes to a person of ordinary skill in the art. It is not intended that the present invention be exclusive or limited to a single disclosed embodiment. As mentioned above, those skilled in the art will understand various alternatives and variations of the present invention. Thus, although some alternative embodiments have been specifically described, those skilled in the art will understand, or develop with relative ease, other embodiments. The present invention is intended to include all alternatives, modifications and variants of the present invention described here, as well as other embodiments which fall within the spirit and scope of the present invention described above.
Number | Date | Country | Kind |
---|---|---|---|
202310347675.2 | Apr 2023 | CN | national |