WO2023024823A1 - Système de communication, procédé et appareil appliqués à un outil électrique, et outil électrique - Google Patents

Système de communication, procédé et appareil appliqués à un outil électrique, et outil électrique Download PDF

Info

Publication number
WO2023024823A1
WO2023024823A1 PCT/CN2022/108776 CN2022108776W WO2023024823A1 WO 2023024823 A1 WO2023024823 A1 WO 2023024823A1 CN 2022108776 W CN2022108776 W CN 2022108776W WO 2023024823 A1 WO2023024823 A1 WO 2023024823A1
Authority
WO
WIPO (PCT)
Prior art keywords
electric tool
connection
external device
charger
information
Prior art date
Application number
PCT/CN2022/108776
Other languages
English (en)
Chinese (zh)
Inventor
胡云峰
Original Assignee
南京泉峰科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 南京泉峰科技有限公司 filed Critical 南京泉峰科技有限公司
Priority to CN202280011100.7A priority Critical patent/CN117837180A/zh
Publication of WO2023024823A1 publication Critical patent/WO2023024823A1/fr

Links

Images

Classifications

    • 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

Definitions

  • the embodiments of the present application relate to the technical field of communication, for example, to a communication system, a communication method, a device, and an electric tool applied to an electric tool.
  • Electric tools can greatly reduce labor intensity, improve work efficiency, and realize the mechanization of manual operation.
  • Controlling the electric tool through the external device can greatly improve the convenience of operation, but before controlling the electric tool through the external device, it is necessary to establish a communication connection between the electric tool and the external device. Therefore, how to realize the fast connection between the electric tool and the external equipment is an urgent problem to be solved.
  • Embodiments of the present application provide a communication system, a communication method, a device, and an electric tool applied to an electric tool, which can realize quick connection between the electric tool and external equipment.
  • the technical solution is as follows:
  • an embodiment of the present application provides a communication system applied to an electric tool, the system includes: an external device, an electric tool, and the electric tool is provided with a first electronic tag;
  • the first electronic tag is configured to send connection information of the electric tool to the external device in response to the external device approaching the first electronic tag;
  • the external device is configured to send a first connection request to the electric tool based on the connection information of the electric tool;
  • the electric tool is configured to establish a connection with the external device in response to the first connection request.
  • an embodiment of the present application provides a communication system applied to a charger of an electric tool, the system includes: an external device, a charger of the electric tool, and the charger of the electric tool is provided with a second electronic tag ;
  • the second electronic tag is configured to send connection information of the charger to the external device in response to the external device approaching the second electronic tag;
  • the external device is configured to send a second connection request to the charger based on the connection information of the charger;
  • the charger is configured to establish a connection with the external device in response to the second connection request.
  • the embodiment of the present application provides a communication system of a gateway device
  • the system includes: a gateway device and an electric tool, the electric tool is provided with a third electronic tag;
  • the third electronic tag is configured to send connection information of the electric tool to the gateway device in response to the gateway device approaching the third electronic tag;
  • the gateway device is configured to send a third connection request to the electric tool based on the connection information of the electric tool;
  • the electric tool is configured to establish a connection with the gateway device in response to the third connection request.
  • an embodiment of the present application provides a communication method for an electric tool, where the electric tool is provided with a first electronic tag, and the first electronic tag stores connection information of the electric tool, and the method includes:
  • an embodiment of the present application provides a communication method for an external device, the method including:
  • an embodiment of the present application provides a communication method for a charger of an electric tool, the charger of the electric tool is provided with a second electronic tag, and the second electronic tag stores the charger of the electric tool connection information, the method includes:
  • an embodiment of the present application provides a communication method for an external device, the method including:
  • an embodiment of the present application provides a communication method for an electric tool, the electric tool is provided with a third electronic tag, and the third electronic tag stores connection information of the electric tool, and the method includes:
  • an embodiment of the present application provides a communication method for a gateway device, the method including:
  • an embodiment of the present application provides a communication device for an electric tool, the electric tool is provided with a first electronic tag, and the first electronic tag stores connection information of the electric tool, and the device includes:
  • a request receiving unit configured to receive a first connection request sent by an external device based on the connection information of the electric tool
  • a connection establishing unit configured to establish a connection with the external device in response to the first connection request.
  • an embodiment of the present application provides a communication device for an external device, and the device includes:
  • An information acquisition unit configured to be close to the first electronic tag provided on the electric tool, to obtain connection information of the electric tool
  • a request sending unit configured to send a first connection request to the electric tool based on the connection information of the electric tool
  • a connection establishment unit is configured to establish a connection with the electric tool.
  • an embodiment of the present application provides a communication device for a charger of an electric tool, the charger of the electric tool is provided with a second electronic tag, and the second electronic tag stores the charger of the electric tool
  • the connection information for the device includes:
  • a request receiving unit configured to receive a second connection request sent by an external device based on the connection information of the charger
  • a connection establishing unit configured to establish a connection with the external device in response to the second connection request.
  • an embodiment of the present application provides a communication device for an external device, and the device includes:
  • the information acquisition unit is configured to be close to the second electronic label provided on the charger of the electric tool, and acquire the connection information of the charger;
  • a request sending unit configured to send a second connection request to the charger based on the connection information of the charger
  • a connection establishing unit configured to establish a connection with the charger.
  • an embodiment of the present application provides a communication device for an electric tool, the electric tool is provided with a third electronic tag, and the third electronic tag stores connection information of the electric tool, and the device includes:
  • a request receiving unit configured to receive a third connection request sent by the gateway device based on the connection information of the electric tool
  • a connection establishing unit configured to establish a connection with the gateway device in response to the third connection request.
  • an embodiment of the present application provides a communication device for a gateway device, where the device includes:
  • An information acquisition unit configured to be close to the third electronic tag provided on the electric tool, to obtain the connection information of the electric tool
  • a request sending unit configured to send a third connection request to the electric tool based on the connection information of the electric tool
  • a connection establishment unit is configured to establish a connection with the electric tool.
  • an embodiment of the present application provides an electric tool, the electric tool includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the communication method of the electric tool as described in the above aspects.
  • an embodiment of the present application provides an external device, the external device includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the communication method of the external device as described in the above aspects.
  • an embodiment of the present application provides a charger for an electric tool, the charger includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least An instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the communication method for the charger of the electric tool as described in the above aspects.
  • an embodiment of the present application provides an external device, the external device includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the communication method of the external device as described in the above aspects.
  • an embodiment of the present application provides an electric tool, the electric tool includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the communication method of the electric tool as described in the above aspects.
  • an embodiment of the present application provides a gateway device, the gateway device includes a processor and a memory, the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, The at least one program, the code set or the instruction set is loaded and executed by the processor to implement the communication method of the gateway device as described in the above aspects.
  • Fig. 1 is a schematic diagram of a communication system applied to an electric tool provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of a communication system applied to an electric tool provided by another embodiment of the present application;
  • Fig. 3 is a schematic diagram of a communication system applied to an electric tool provided by another embodiment of the present application.
  • Fig. 4 is a schematic diagram of a communication system applied to an electric tool provided by another embodiment of the present application.
  • Fig. 5 is a schematic diagram of a communication system applied to an electric tool provided by another embodiment of the present application.
  • Fig. 6 is a schematic diagram of a communication system applied to a charger of an electric tool provided by an embodiment of the present application;
  • Fig. 7 is a schematic diagram of a communication system applied to a charger of an electric tool provided by another embodiment of the present application.
  • Fig. 8 is a schematic diagram of a communication system applied to a charger of an electric tool provided by another embodiment of the present application.
  • Fig. 9 is a schematic diagram of a communication system applied to a charger of an electric tool provided by another embodiment of the present application.
  • Fig. 10 is a schematic diagram of a communication system applied to a charger of an electric tool provided by another embodiment of the present application.
  • FIG. 11 is a schematic diagram of a communication system of a gateway device provided by an embodiment of the present application.
  • Fig. 12 is a flowchart of a communication method of an electric tool provided by an embodiment of the present application.
  • Fig. 13 is a flowchart of a communication method for an electric tool provided by another embodiment of the present application.
  • Fig. 14 is a flowchart of a communication method for an electric tool provided by another embodiment of the present application.
  • Fig. 15 is a flowchart of a communication method of an electric tool provided by another embodiment of the present application.
  • Fig. 16 is a flowchart of a communication method for an electric tool provided by another embodiment of the present application.
  • Fig. 17 is a flowchart of a communication method for an electric tool provided by another embodiment of the present application.
  • Fig. 18 is a flowchart of a communication method for a charger of an electric tool provided by an embodiment of the present application.
  • Fig. 19 is a flowchart of a communication method for an electric tool provided by another embodiment of the present application.
  • Fig. 20 is a block diagram of a communication device of an electric tool provided by an embodiment of the present application.
  • Fig. 21 is a block diagram of a communication device for an external device provided by an embodiment of the present application.
  • Fig. 22 is a block diagram of a communication device of a charger of an electric tool provided by an embodiment of the present application.
  • Fig. 23 is a block diagram of a communication device of an external device provided by another embodiment of the present application.
  • Fig. 24 is a block diagram of a communication device of an electric tool provided by another embodiment of the present application.
  • Fig. 25 is a block diagram of a communication device of a gateway device provided by an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of a communication system applied to an electric tool provided by an embodiment of the present application.
  • the system 100 includes: an external device 110 , an electric tool 120 , and a first electronic tag 121 is arranged on the electric tool 120 .
  • External device 110 refers to a device connected to electric tool 120 .
  • the external device 110 may be configured to control the electric tool 120 , for example, the external device 110 may be configured to control working parameters of the electric tool 120 (eg, rotation speed, working duration, working depth, working position, etc.).
  • the external device 110 can be a mobile terminal, and the mobile terminal can be a mobile phone, a smart wearable device (for example, a smart watch, a smart bracelet, etc.), a tablet computer or a control terminal (the control terminal refers to a user terminal produced by an electric tool manufacturer).
  • the type of the external device 110 is not limited in this embodiment of the present application.
  • working parameters of different types of electric tools 120 may be different.
  • the working parameters described above are only exemplary and can be set according to actual application scenarios. The application does not limit the type and number of working parameters.
  • the electric tool 120 includes a housing, a motor, an output shaft and a switch system.
  • the housing is formed with an accommodation chamber for setting the motor
  • the motor is disposed in the accommodation chamber formed by the housing
  • the output shaft is configured to rotate to output power
  • the switch system is configured to be operated by the user to control the electric tool, for example, the switch system can control the following At least one item: the start of the motor, the direction of the motor, etc.
  • the structure shown in the embodiment of the present application does not constitute a limitation to the electric tool.
  • the electric tool may also include more or fewer components than those described above, or combine certain components, or split certain components, or arrange different components, which is not made in this embodiment of the present application. limited.
  • Power tools 120 include, but are not limited to: chain saws, electric drills, circular saws, hammer drills, angle grinders, snowplows, lawn trimmers, reciprocating saws, and the like.
  • the electric tool 120 is provided with a first electronic tag 121 .
  • the first electronic tag 121 includes an NFC (Near Field Communication, near field communication) tag or an RFID (Radio Frequency Identification, radio frequency identification) tag.
  • the first electronic label 121 on the electric tool 120 is set on the electric tool 120 before the electric tool 120 leaves the factory.
  • the first electronic label 121 can be affixed in the electric tool 120, for example, the first electronic label 121 can be affixed on the casing of the electric tool 120 (for example, the handle casing, the battery pack casing, the base casing) Body or other casings, etc.), at this time, the outer area of the housing corresponding to the attachment area of the first electronic tag 121 can be provided with a prompt label, and the prompt label is used to remind that the area is provided with the first electronic tag 121, The user can bring the external device 110 close to this area to realize the connection between the power tool 120 and the external device 110 .
  • the first electronic label 121 can be attached outside the electric tool 120 , for example, the first electronic label 121 can be attached outside the casing of the electric tool 120 .
  • the embodiment of the present application does not limit the installation position of the first electronic tag 121 on the electric tool 120 , and the first electronic tag 121 may be installed at any position of the electric tool 120 that is convenient for the external device 110 to approach.
  • the first electronic label 121 on the electric tool 120 is set on the electric tool 120 after the electric tool 120 leaves the factory.
  • the first electronic label 121 can be pasted on the electric tool 120 by a user or a manufacturer.
  • the external device 110 can obtain a tag ID (Identification, identification) of the first electronic tag 121 through the first electronic tag 121, and the tag ID of the first electronic tag 121 is used to uniquely identify the first electronic tag 121.
  • the user can configure the correspondence between the tag ID of the first electronic tag 121 and the connection information of the electric tool 120 , so that the tag ID can correspond to the electric tool 120 .
  • the first electronic tag includes an NFC tag, and there is no communication interface between the first electronic tag 121 and the electric tool 120 , in this case, the first electronic tag may be a passive tag.
  • the external device 110 includes an NFC module.
  • the NFC module of the external device 110 can obtain the connection information of the electric tool 120 , so as to establish a connection with the electric tool 120 based on the connection information.
  • the NFC module of the external device 110 being close to the first electronic tag 121 means that the distance between the NFC module of the external device 110 and the first electronic tag 121 is smaller than a preset threshold.
  • the preset threshold may be 10 cm, 20 cm or other values. The embodiment of the present application does not limit the value of the preset threshold, which may be set by a technician.
  • electronic tags can be divided into three categories: passive tags, semi-active tags and active tags.
  • Passive tags There is no internal power supply in passive tags. When the passive tag is approached by the communication module of the external device, it can receive the electromagnetic wave sent by the communication module. The internal integrated circuit of the passive tag is driven by the received electromagnetic wave signal. When the passive tag receives an electromagnetic wave signal of sufficient strength, it can send the data stored in the passive tag to the communication module.
  • Semi-active tags work in a similar way to passive tags. The difference is that the semi-active tag includes a small battery, and the power of the small battery is enough to drive the internal integrated circuit of the semi-active tag, so that the integrated circuit is in a working state. Due to the aforementioned small battery included in semi-active tags, semi-active tags respond faster than passive tags.
  • Active tags include an internal power supply, which is used to supply the power required by the internal integrated circuits to generate external signals. Generally speaking, active tags allow communication over a longer distance, and active tags have a larger storage space, which can be used to store data transmitted from communication modules of other electronic devices.
  • the first electronic tag 121 in the embodiment of the present application may be any one of the above-mentioned passive tags, semi-active tags or active tags.
  • the first electronic tag 121 is generally a passive tag.
  • the first electronic tag 121 is configured to send connection information of the electric tool 120 to the external device 110 in response to the external device 110 approaching the first electronic tag 121 .
  • the first electronic tag 121 can determine whether the external device 110 is close to itself by sensing the electromagnetic wave intensity of the external device 110, for example, when the first electronic tag 121 senses that the electromagnetic wave intensity of the external device 110 is higher than a preset intensity, The first electronic tag 121 determines that the external device 110 is close to itself.
  • the external device 110 is set close to the first electronic tag 121 to acquire the connection information of the electric tool 120 .
  • the external device 110 approaching the first electronic tag 121 means that the distance between the external device 110 and the first electronic tag 121 is smaller than a preset threshold, which can be set by a technician.
  • the preset threshold can be 10 cm or 20 cm, etc., which is not limited in this embodiment of the present application.
  • the external device 110 may approach the prompt tag, so as to approach the first electronic tag 121 .
  • the external device 110 can touch the first electronic tag 121 to obtain the connection information of the electric tool 120; optionally, the external device 110 can scan the first electronic tag 121 to obtain the connection information of the electric tool 120 information.
  • the external device 110 is configured to send a first connection request to the electric tool 120 based on the connection information of the electric tool 120 .
  • the first electronic tag 121 stores the connection information of the electric tool 120 , and when the external device 110 approaches the first electronic tag 121 , the first electronic tag 121 will send the stored connection information of the electric tool 120 to the external device 110 .
  • the connection information of the electric tool 120 is used to indicate the connection parameters that the electric tool 120 is connected with other devices.
  • the connection information of the electric tool 120 may include at least one of the following: the Bluetooth address of the electric tool 120, the WiFi (Wireless Fidelity , Wi-Fi) information, identification information of the electric tool 120 .
  • the external device 110 may send a first connection request to the electric tool 120 based on the connection information of the electric tool 120 in the first electronic tag 121 , the first connection request is used for the external device 110 to request to establish a connection with the electric tool 120 .
  • the electric tool 120 is configured to establish a connection with the external device 110 in response to the first connection request.
  • the electric tool 120 After receiving the first connection request, the electric tool 120 establishes a connection with the external device 110 in response to the first connection request. Exemplarily, the electric tool 120 sends a first connection response to the electric tool 120 in response to the first connection request, and the external device 110 receives the first connection response and determines to establish a connection with the electric tool 120 .
  • the user only needs to bring the external device 110 close to the first electronic tag 121 to obtain the connection information of the electric tool 120, so as to establish a connection with the electric tool 120 based on the connection information of the electric tool 120.
  • One-button smart connection is realized, and the external device 110 and the first electronic tag 121 are touched or scanned to realize the quick connection between the electric tool 120 and the external device 110, the operation is simple, and the connection speed is fast.
  • This application can quickly bind the electric tool with the user based on the connection information of the electric tool.
  • connection information of the electric tool 120 stored in the first electronic tag 121 is encrypted information, and a decryption key is pre-stored in the external device 110. After obtaining the connection information of the electric tool 120, the decryption key is The key decrypts the connection information of the electric tool 120 to obtain the decrypted connection information of the electric tool 120 ; and then establishes a connection with the electric tool 120 based on the decrypted connection information of the electric tool 120 .
  • the first electronic tag 121 also stores the identification information of the decryption algorithm
  • the external device 110 stores a preset correspondence
  • the preset correspondence includes at least one decryption algorithm identification information and the decryption algorithm Correspondence.
  • the external device 110 obtains the connection information of the encrypted electric tool 120 and the identification information of the decryption algorithm; the external device 110 determines the decryption algorithm according to the preset correspondence; based on the decryption algorithm, the encrypted electric tool 120
  • the connection information is decrypted to obtain the decrypted connection information of the electric tool 120 ; and based on the decrypted connection information of the electric tool 120 , a connection is established with the electric tool 120 .
  • the device information of the electric tool 120 may also be stored in the first electronic tag 121 , and the device information of the electric tool 120 is used to indicate the basic information of the electric tool 120 .
  • the device information of the electric tool 120 includes at least one of the following items: the serial number of the electric tool 120 , the model information of the electric tool 120 , the date of manufacture of the electric tool 120 and the like.
  • the embodiment of the present application does not limit the content of information stored in the first electronic tag 121 , which can be written by technicians according to requirements.
  • the external device 110 can obtain the device information of the electric tool 120 by approaching the first electronic tag 121, thereby adding the electric tool 120 to the device list.
  • the device list can refer to a list of all electric tools connected to the external device 110, and the user The equipment information of a certain electric tool can be obtained by querying the equipment list.
  • the data stored in the first electronic tag 121 can be changed, for example, a technician can change the data in the first electronic tag 121 through a tag data changing device, and the tag data changing device can be installed with Tag data modification program, technicians can modify the data in the first electronic tag 121 through the tag data modification program, the tag data modification device refers to the device used to modify the data stored in the electronic tag, the tag data modification program Refers to the application program used to make changes to the data stored in the transponder.
  • the information stored in the first electronic tag 121 can be written according to data storage rules, and the data storage rules include corresponding rules of field contents, field storage intervals and field sizes of each field.
  • Data storage rules can be set by technicians.
  • the external device 110 if the external device 110 cannot read the data stored in the first electronic tag 121 , the external device 110 displays abnormal information, and the abnormal information is used to prompt that the first electronic tag 121 is abnormal.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the electric tool, and then the external device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the external device, the operation is simple and the connection speed is fast.
  • the external device 110 may directly and automatically establish a connection with the electric tool 120, that is, directly establish a connection with the electric tool 120 without confirmation from the user.
  • the external device 110 may establish a connection with the electric tool 120 after the user confirms.
  • the scheme of establishing connection between the external device 110 and the electric tool 120 after confirmation with the user will be described below.
  • the external device 110 is also set close to the first electronic label 121, and if the first application program is not installed in the external device 110, obtain the download link of the first application program; based on the download link, Download the first app.
  • the first application program can be any application program, and the first application program can be used to control the working parameters of the electric tool 120 .
  • the first application program may be a system-level application program or a third-party application program, which is not limited in this embodiment of the present application.
  • the first electronic tag 121 when the external device 110 is close to the first electronic tag 121, the first electronic tag 121 will send all the data stored inside to the external device 110, the above data includes the connection information of the electric tool 120 and the first application Program download link.
  • the external device 110 determines that the first application program is not installed, it obtains the download link from the above data.
  • the external device 110 automatically downloads the installation package of the first application program through the download link, and automatically installs the first application program after the installation package download is completed, and completes the relevant registration and login of the first application program; in another example Among them, after the external device 110 obtains the download link, it displays the application installation prompt information, and the application installation prompt information is used to prompt whether to install the first application program; in response to receiving a confirmation instruction for the application installation prompt information, the external device 110 downloads the Link to download the installation package of the first application program, and the confirmation instruction refers to the instruction for confirming the installation of the first application program; the external device 110 installs the first application program after the installation package download is completed, and completes the relevant registration and login of the first application program .
  • the first application program will automatically jump to display the user interface of the first application program.
  • the external device 110 is also set close to the first electronic tag 121 , and when the first application program is installed in the external device 110 , displays the user interface of the first application program.
  • the external device 110 when the first application program is installed in the external device 110, after the external device 110 approaches the first electronic tag 121, the external device 110 will display the user interface of the first application program, for example, the external device 110 will Displaying the home page interface of the first application program, the home page interface refers to the interface displayed by the first application program when the user manually opens the first application program.
  • the displayed user interface of the first application program can also be other interfaces, which can be set by technicians according to requirements. Examples are not limited to this.
  • the external device 110 is further configured to send a first connection request to the electric tool 120 based on the connection information of the electric tool 120 in response to a connection instruction triggered by the user interface of the first application program, the connection instruction is Refers to an instruction for establishing a connection between the electric power tool 120 and the external device 110 .
  • a connection control is displayed on the user interface of the first application program, and the connection control refers to a control for establishing a connection between the external device 110 and the electric tool 120; in response to receiving a touch operation on the connection control, The external device 110 determines to receive a connection instruction triggered by the user interface of the first application; the external device 110 sends a first connection request to the electric tool 120 based on the connection information of the electric tool 120 . Then, the electric tool 120 establishes a connection with the external device 110 in response to the first connection request.
  • the external device 110 sends a connection request to the electric tool 120 only after receiving the connection instruction, so as to establish a connection with the electric tool 120, which can effectively prevent the user from accidentally touching the external device 110 and the electric tool 120 This results in a situation where the electric power tool 120 is automatically connected to the external device 110 .
  • the external device 110 is further configured to not send the first connection request to the electric tool 120 in response to the cancel connection instruction triggered by the user interface of the first application program. An instruction for the tool 120 to establish a connection with the external device 110 .
  • the user can trigger a cancel connection command on the user interface of the first application program, thereby effectively preventing the user from connecting the external device 110 with the first electronic tag 121.
  • the first application program can be used to control the electric tool 120 connected with the external device 110 .
  • the external device 110 can establish a connection with multiple electric tools 120, and the tool types of the multiple electric tools 120 can be the same or different, or partly the same or partly inconsistent, which is not limited in this embodiment of the present application.
  • the first application program may control the multiple electric tools at the same time, or control each electric tool independently, or control some electric tools.
  • the user can pre-set the working parameters of each electric tool in the first application program, and when the multiple electric tools are in the working state, the user can touch the first control in the user interface of the first application program,
  • the first control refers to a control for controlling multiple electric tools.
  • the above-mentioned multiple electric tools can work according to their preset working parameters; when only some of the above-mentioned multiple electric tools are in the working state, the user can touch the
  • the second control controls the above-mentioned part of the electric tools.
  • the second control refers to the control used to control some of the electric tools.
  • the above-mentioned part of the electric tools can work according to their preset working parameters.
  • the external device 110 When the trigger command for the second control is received, the external device 110 will first determine some of the electric tools in the working state among the above-mentioned multiple electric tools, and then send the respective working parameters of the above-mentioned partial electric tools to the corresponding electric tools; , when a certain electric tool is in working state, and the user wants to set the working parameters of the electric tool, at this time, the user can set the working parameters of the electric tool in the user interface of the first application program, and click
  • the third control controls the electric tool, and the third control refers to a control used to control a certain electric tool.
  • the server After the connection between the electric tool and the external device is established, the server will store the corresponding relationship between the electric tool and the external device.
  • the corresponding relationship between the electric tool and the external device may include: the identification information (for example, serial number) of the electric tool and the user account corresponding to the external device (That is, the user account logged in by the first application program in the external device).
  • the server may be a background server of the first application program, and the background server of the first application program may be a server used by a manufacturer of the electric tool.
  • the electric tool When the electric tool is paired for the first time (the first pairing refers to establishing a connection with an external device for the first time), the electric tool directly establishes a connection with the external device; when the electric tool is not paired for the first time, the external The device sends a pairing request to the server, which is used to request to establish a connection with the electric tool; in response to the pairing request, the server determines whether the external device has the authority to establish a connection with the electric tool; in response to the external device having the authority to establish a connection with the electric tool , the external device can send the first connection request to the electric tool; in response to the fact that the external device does not have the authority to establish a connection with the electric tool, the external device cannot send the first connection request to the electric tool.
  • the server determines whether the external device has the authority to establish a connection with the electric tool; in response to the external device having the authority to establish a connection with the electric tool , the external device can send the first connection request to the electric tool; in response to the fact
  • the server may determine whether the external device sending the pairing request has the authority to establish a connection with the electric tool based on the wireless network connected to the external device bound to the electric tool and the wireless network connected to the external device sending the pairing request . If the wireless network connected to the external device bound to the electric tool is the same as the wireless network connected to the external device sending the pairing request, it is determined that the external device sending the pairing request has the authority to establish a connection with the electric tool; if the external device bound to the electric tool If the wireless network connected to the device is inconsistent with the wireless network connected to the external device sending the pairing request, it is determined that the external device sending the pairing request does not have the authority to establish a connection with the electric tool.
  • the pairing request carries the identification information of the wireless network, and the identification information of the wireless network is used to uniquely identify the wireless network; the server also stores the identification information of the wireless network when the user registers and logs in using the first application program in the external device. The server can determine whether the wireless networks are consistent by comparing the identification information.
  • the identification information of the wireless network may be SSID (Service Set Identifier, service area identifier).
  • the server receives a pairing request from the first external device, it sends a request to the second external device ( An external device that has established a connection with the electric tool, and is the external device that the electric tool has established a connection for the first time) sends an authorization authentication request, and the authorization authentication request is used to request to confirm whether the first external device has the authorization to establish a connection with the electric tool;
  • the second external device displays permission authentication prompt information in response to the permission authentication request, and the permission authentication prompt information is used to prompt the user to confirm whether the first external device has the permission to establish a connection with the electric tool; in one example, the second external device receives For the confirmation instruction of the authority authentication prompt information, send an authority confirmation message to the server, the confirmation instruction refers to an instruction to determine that the first external device has the authority to establish a connection with the electric tool, and the authority confirmation message is used to indicate that the first external device has the
  • the authority of the tool to establish a connection allows the first external device to establish a connection with the electric tool in response to receiving the authority confirmation message;
  • Sending a permission deny message refers to an instruction for determining that the first external device does not have the permission to establish a connection with the electric tool, and the permission deny message is used to indicate that the first external device does not have the permission to establish a connection with the electric tool;
  • the server responds to receiving Upon receiving a permission deny message, the first external device is not allowed to establish a connection with the electric tool.
  • the electric tool 120 includes a first wireless communication module 122
  • the external device 110 includes a second wireless communication module 111 .
  • the first wireless communication module 122 refers to a module for realizing a wireless communication function
  • the second wireless communication module 111 refers to a module for realizing a wireless communication function.
  • the first wireless communication module 122 may also be called a first wireless communication functional block
  • the second wireless communication module 111 may also be called a second wireless communication functional block.
  • the external device 110 is configured to send a first connection request to the first wireless communication module 122 through the second wireless communication module 111 based on the connection information of the electric tool 120.
  • the electric tool 120 is configured to establish a wireless connection with the second wireless communication module 111 through the first wireless communication module 122 in response to the first connection request.
  • the communication mode corresponding to the first wireless communication module 122 is consistent with the communication mode corresponding to the second wireless communication module 111.
  • the communication mode includes any of the following: Bluetooth communication, WiFi communication, Zigbee communication, UWB ( Ultra Wide Band, ultra-wide band) communication, infrared communication.
  • the communication mode corresponding to the first wireless communication module 122 is Bluetooth communication
  • the communication mode corresponding to the second wireless communication module 111 is also Bluetooth communication.
  • the first wireless communication module 122 and the second wireless communication module 111 are Bluetooth communication module; for another example, when the communication mode corresponding to the first wireless communication module 122 is WiFi communication, the communication mode corresponding to the second wireless communication module 111 is also WiFi communication.
  • the first wireless communication module 122 and the second The wireless communication module 111 is a WiFi communication module.
  • the communication function corresponding to the second wireless communication module 111 in the external device 110 needs to be turned on
  • the communication function corresponding to the first wireless communication module 122 in the electric tool 120 needs to be turned on; if not turned on, the corresponding communication function is automatically turned on.
  • the communication mode corresponding to the first wireless communication module 122 is Bluetooth communication
  • the communication mode corresponding to the second wireless communication module 111 is also Bluetooth communication
  • the external device 110 and the electric tool 120 need to enable the Bluetooth function.
  • the power tool 120 can establish a Bluetooth connection with the external device 110 .
  • the solution of establishing a Bluetooth connection between the electric tool 120 and the external device 110 will be described.
  • the connection information of the power tool 120 includes a Bluetooth address of the power tool 120 .
  • the first wireless communication module 122 includes a first Bluetooth module 122a
  • the second wireless communication module 111 includes a second Bluetooth module 111a.
  • the external device 110 is configured to send a first Bluetooth connection request to the first Bluetooth module 122a through the second Bluetooth module 111a based on the Bluetooth address of the electric tool 120, and the first connection request includes the first Bluetooth connection request.
  • the Bluetooth address of the electric tool 120 is used to uniquely identify the Bluetooth module of the electric tool 120 (ie, the above-mentioned first Bluetooth module).
  • the Bluetooth address of the electric tool 120 may include a Bluetooth MAC (Media Access Control, Media Access Control) address.
  • the external device 110 After the external device 110 acquires the Bluetooth address of the electric tool, it may send a first Bluetooth connection request to the external device 120 based on the Bluetooth address.
  • the first Bluetooth connection request sent by the second Bluetooth module 111 to the first Bluetooth module 122 can be understood as a directional connection request.
  • the electric tool 120 is configured to establish a connection with the second Bluetooth module 111a through the first Bluetooth module 122a in response to the first Bluetooth connection request.
  • the Bluetooth function of the electric tool 120 and the external device 110 needs to be turned on, and the external device 110 and the electric tool 120 can independently detect whether their own Bluetooth function is turned on, If not enabled, the Bluetooth function will be automatically enabled.
  • the electric tool 120 also includes a first WiFi module 123 , therefore, the electric tool 120 can also be networked, that is, establish a connection with a router.
  • the external device 110 is further configured to send networking information to the first Bluetooth module 122a through the second Bluetooth module 111a, where the networking information is used to indicate configuration parameters of the router.
  • the networking information includes at least one of the following: the SSID of the router, the PWD (Pass Word, access password) of the router, the IP (Internet Protocol, Internet Protocol) address of the router, the frequency band identifier of the router, and the like.
  • the band ID of the router is used to indicate the bands supported by the router (2.4G, 2.4G and 5G).
  • the external device 110 After the external device 110 establishes a Bluetooth connection with the electric tool 120, the external device 110 can transmit data to the electric tool 120 through the second Bluetooth module 111a. Therefore, the external device 110 can send networking information to the electric tool 120 through the second Bluetooth module 111a.
  • the electric tool 120 establishes a connection with the router based on the networking information.
  • the first Bluetooth module 122a and the first WiFi module 123 are integrated into one component, and data can be shared between them. After the first Bluetooth module 122a receives the networking information, the first WiFi module 123 establishes a connection with the router based on the networking information.
  • the external device 110 may only have a Bluetooth module instead of a WiFi module, so that the electric tool 120 can establish a connection with the router, but the electric tool 120 needs to have both a Bluetooth module and a WiFi module.
  • the networking information may be plaintext information or encrypted information, and is generally encrypted information.
  • the decryption key can be built in the electric tool 120, or it can be introduced from the outside.
  • a decryption key is stored in the electric tool 120, and after obtaining the networking information from the external device 110, the above-mentioned encrypted networking information is decrypted by the decryption key to obtain the decrypted networking information; based on the decrypted networking information , to establish a connection with the router.
  • the external device 110 sends the networking information (SSID and PWD) of several frequency bands of the router to the electric tool 120 , including the networking information of the 2.4G frequency band.
  • the networking information sent by the external device 110 may identify a corresponding frequency band (frequency band identifier).
  • the electric tool 120 identifies from the networking information, or obtains matching networking information through heuristics, and connects to the router. For example, if the frequency band of the electric tool 120 is 2.4G, the external device 110 can effectively establish a connection by sending the networking information (SSID and PWD) corresponding to 2.4G to the electric tool 120 .
  • the electric tool 120 can communicate with the server.
  • the external device 110 may send a relevant operation instruction to the server through the first application program, so that the server sends the relevant operation instruction to the electric tool 120 .
  • the electric tool 120 can also report the data to the server.
  • the server after the server receives the relevant operation instructions from the external device 110, it encrypts the relevant operation instructions to obtain the encrypted relevant operation instructions; the server sends the encrypted relevant operation instructions to the electric tool 120 ; After receiving the encrypted related operation instruction, the electric tool parses the encrypted related operation instruction through the security key, and executes the related operation instruction.
  • the security key may be pre-stored in the electric tool 120; or, the server sends the ID of the encryption algorithm to the electric tool; the electric tool 120 determines the encryption algorithm according to the stored preset correspondence; the electric tool 120 determines the encryption algorithm based on the encryption algorithm A security key is generated, the ID of the encryption algorithm is used to uniquely identify the encryption algorithm, and the preset correspondence includes at least one correspondence between the ID of the encryption algorithm and the encryption algorithm.
  • the external device 110 can communicate with the server through a wired network or a wireless network. ), WiFi and other networks to communicate with the server.
  • the first application program may display a prompt message, the prompt message is used to prompt that the power tool is online and the remote configuration operation of the power tool can be performed.
  • the decryption algorithm used for the connection information of the above-mentioned electric tool 120 may be the same decryption algorithm, or a different decryption algorithm, which is implemented in this application.
  • This example is not limited, and it can be set by technicians according to actual needs.
  • the power tool 120 can establish a WiFi connection with the external device 110 .
  • the scheme of establishing a WiFi connection between the electric tool 120 and the external device 110 will be described.
  • the connection information of the power tool 120 includes WiFi information of the power tool 120 .
  • the first wireless communication module 122 includes a first WiFi module 123
  • the second wireless communication module 111 includes a second WiFi module 112 .
  • the external device 110 is configured to send a first wireless connection request to the first WiFi module 123 through the second WiFi module 112 based on the WiFi information of the electric tool 120 , where the first connection request includes the first wireless connection request.
  • the electric tool 120 is configured to establish a connection with the second WiFi module 112 through the first WiFi module 123 in response to the first wireless connection request.
  • the WiFi information is information of a hidden WiFi network created by the first WiFi module.
  • the hidden WiFi network will not actively broadcast, the power consumption is small, and the user cannot see the WiFi name.
  • the WiFi information includes at least one of the following information: SSID (Service Set Identifier, service area identifier) of the electric tool 120, PWD (Pass Word, access password) of the electric tool 120, frequency band identifier of the electric tool 120, and the like.
  • the frequency band identification of the electric tool 120 is used to indicate the frequency bands (2.4G, 2.4G and 5G) supported by the electric tool 120 .
  • the first wireless connection request refers to a request from the external device 110 to establish a wireless connection with the electric tool 120 .
  • the external device 110 is further configured to send networking information to the first WiFi module 123 through the second WiFi module 112, where the networking information is used to indicate configuration parameters of the router.
  • the networking information includes at least one of the following: SSID of the router, PWD of the router, IP address of the router, frequency band identifier of the router, and the like.
  • the band ID of the router is used to indicate the bands supported by the router (2.4G, 2.4G and 5G).
  • the electric tool 120 is also configured to establish a connection with the router based on the networking information.
  • the external device 110 cuts off the connection with the router, and switches the connection to the electric tool 120; the external device 110 sends networking information to the electric tool 120, so that the electric tool 120 establishes a connection with the router, and completes network distribution.
  • the first WiFi module 123 after receiving the networking information, performs internal state transition of the module; and then establishes a connection with the router based on the networking information.
  • the external device 110 may disconnect from the electric tool 120 and restore the connection to the router.
  • the external device 110 disconnects the electric tool 120 and restores the connection with the router.
  • the networking information is encrypted information.
  • a decryption key is stored in the electric tool 120. After obtaining the networking information from the external device 110, the electric tool 120 decrypts the above-mentioned encrypted networking information through the decryption key to obtain decrypted networking information; based on the decrypted networking information, Establish a connection with the router.
  • the external device 110 may also send networking information corresponding to the frequency band identifier of the electric tool 120 to the electric tool 120 based on the frequency band identifier of the electric tool 120 .
  • the networking information corresponding to the frequency band identifier of the electric tool 120 refers to the configuration parameters of the router consistent with the frequency band supported by the electric tool.
  • the frequency band identifier of the electric tool 120 indicates that the frequency band supported by the electric tool 120 is 2.4G, and the external device 110 sends the networking information (SSID and PWD) corresponding to 2.4G to the electric tool 120 .
  • the external device 110 only needs to have a WiFi module
  • the electric tool 120 also only needs to have a WiFi module, so that the electric tool 120 can establish a connection with a wireless network.
  • the electric tool 120 can communicate with the server.
  • the external device 110 may send a relevant operation instruction to the server through the first application program, so that the server sends the relevant operation instruction to the electric tool 120 .
  • the server after the server receives the relevant operation instructions from the external device 110, it encrypts the relevant operation instructions to obtain the encrypted relevant operation instructions; the server sends the encrypted relevant operation instructions to the electric tool 120 ; After receiving the encrypted related operation instruction, the electric tool 120 analyzes the encrypted related operation instruction through the security key, and executes the related operation instruction.
  • the security key can be pre-stored in the electric tool 120; or, the server sends the ID of the encryption algorithm to the electric tool 120; the electric tool 120 determines the encryption algorithm according to the stored preset correspondence; The algorithm generates a security key, the ID of the encryption algorithm is used to uniquely identify the encryption algorithm, and the preset correspondence includes the correspondence between the ID of at least one encryption algorithm and the encryption algorithm.
  • the external device 110 can communicate with the server through a wired network or a wireless network. ), WiFi and other networks to communicate with the server.
  • the first application program may display a prompt message, the prompt message is used to prompt that the power tool is online and the remote configuration operation of the power tool can be performed.
  • the decryption algorithm used for the connection information of the above-mentioned electric tool 120 may be the same decryption algorithm, or a different decryption algorithm, which is implemented in this application.
  • This example is not limited, and it can be set by technicians according to actual needs.
  • the connection information of the electric tool 120 includes the Bluetooth address of the electric tool 120 and the WiFi information of the electric tool 120 .
  • the electric tool 120 includes a first Bluetooth module 122 a and a first WiFi module 123
  • the external device 110 includes a second Bluetooth module 111 a and a second WiFi module 112 .
  • the external device 110 is set close to the first electronic tag 121 to obtain the Bluetooth address of the electric tool 120 and the WiFi information of the electric tool 120 .
  • the external device 110 is further configured to send a first Bluetooth connection request to the first Bluetooth module 122a through the second Bluetooth module 111a based on the Bluetooth address of the electric tool 120 .
  • the electric tool 120 is configured to establish a connection with the second Bluetooth module 111a through the first Bluetooth module 122a in response to the first Bluetooth connection request.
  • the external device 110 is further configured to send a first wireless connection request to the first WiFi module 123 through the second WiFi module 112 based on the WiFi information of the electric tool 120 .
  • the electric tool 120 is further configured to establish a connection with the second WiFi module 112 through the first WiFi module 123 in response to the first wireless connection request.
  • the external device 110 can acquire the Bluetooth address and the WiFi information of the electric tool 120 at the same time.
  • the data stored in the first electronic tag 121 is integrated, that is, the external device 110 can obtain all the data stored in the first electronic tag 121 at the same time. After acquiring the data, the external device 110 can analyze the data, so as to obtain the Bluetooth address and WiFi information of the electric tool 120 .
  • the external device 110 may send the first Bluetooth connection request and the first wireless connection request to the electric tool 120 at the same time; the electric tool 120 may establish a Bluetooth connection and a wireless connection with the external device 110 at the same time.
  • the external device 110 can send the networking information to the electric tool 120 through the second Bluetooth module 111a, or can send the networking information to the electric tool 120 through the second WiFi module 112, which can be set by a technician.
  • the electric tool and the external device need to have both the Bluetooth module and the WiFi module, so that the Bluetooth connection and the WiFi connection can be established.
  • connection information of the electric tool 120 includes identification information of the electric tool 120 , and the identification information of the electric tool 120 is used to uniquely identify the electric tool 120 .
  • the identification information of the electric tool may refer to the serial number of the electric tool.
  • the identification information of the electric tool may also be other unique characters bound to the electric tool set by the technician String, which is not limited in the embodiment of this application.
  • the external device 110 is further configured to obtain the Bluetooth address of the electric tool based on the identification information of the electric tool 120 and the first correspondence, and the first correspondence includes the identification information of at least one electric tool and the address of the electric tool. Correspondence between Bluetooth addresses.
  • Each electric tool has its corresponding Bluetooth address, therefore, the first correspondence can be generated based on the correspondence.
  • the first correspondence may be stored on the server, and the external device 110 sends an address acquisition request to the server, where the address acquisition request is used to request the acquisition of the Bluetooth address of the electric tool, and the address acquisition request includes the address of the electric tool.
  • Identification information the server receives the address acquisition request, accesses the first correspondence, finds the Bluetooth address corresponding to the identification information of the electric tool from the external device from the first correspondence, and then sends the Bluetooth address to the external device.
  • the server may be a server used by a manufacturer of the electric tool, or a server of the first application program. The manufacturer of the electric tool may upload the first correspondence to the server.
  • the first correspondence may be stored in the external device, and the external device may determine the Bluetooth address of the electric tool based on the first correspondence and the identification information of the electric tool.
  • the server may send the updated first correspondence to the external device every preset period of time, and the external device stores the updated first correspondence locally.
  • the external device 110 is further configured to send a second Bluetooth connection request to the electric tool 120 based on the Bluetooth address of the electric tool 120 , where the first connection request includes the second Bluetooth connection request.
  • the second Bluetooth connection request is used for the external device to request to establish a Bluetooth connection with the electric tool.
  • the second Bluetooth connection request may be the same as or different from the first Bluetooth connection request.
  • the electric tool 120 is further configured to establish a connection with the external device 110 in response to the second Bluetooth connection request.
  • the external device 110 is further configured to acquire the WiFi information of the electric tool based on the identification information of the electric tool 120 and the second correspondence, and the second correspondence includes at least one identification information of the electric tool and a second correspondence of the electric tool. Correspondence of WiFi information.
  • Each electric tool has its corresponding WiFi address, therefore, the second correspondence can be generated based on the correspondence.
  • the second correspondence can be stored on the server, and the external device sends an information acquisition request to the server, the information acquisition request is used to request the acquisition of the WiFi information of the electric tool, and the information acquisition request includes the identification of the electric tool information; the server receives the above information acquisition request, accesses the second correspondence, finds the WiFi information corresponding to the identification information of the electric tool from the external device from the second correspondence, and then sends the WiFi information to the external device.
  • the manufacturer of the electric tool can upload the second correspondence to the server.
  • the second correspondence may be stored in the external device, and the external device may determine the WiFi information of the electric tool based on the second correspondence and the identification information of the electric tool.
  • the server may send the updated second correspondence to the external device every preset period of time, and the external device stores the updated second correspondence locally.
  • the external device 110 is further configured to send a second wireless connection request to the electric tool 120 based on the WiFi information of the electric tool 120 , where the first connection request includes the second wireless connection request.
  • the second wireless connection request is used for the external device to request to establish a WiFi connection with the electric tool.
  • the electric tool 120 is further configured to establish a connection with the external device 110 in response to the second wireless connection request.
  • the external device 110 is further configured to acquire the Bluetooth address of the electric tool and the WiFi information of the electric tool based on the identification information of the electric tool 120 and the third correspondence, and the third correspondence includes the address of at least one electric tool. Correspondence between the identification information, the Bluetooth address of the electric tool, and the WiFi information of the electric tool.
  • the external device 110 is further configured to send a second Bluetooth connection request to the electric tool 120 based on the Bluetooth address of the electric tool 120 , where the first connection request includes the second Bluetooth connection request.
  • the external device 110 is further configured to send a second wireless connection request to the electric tool 120 based on the WiFi information of the electric tool 120 , where the first connection request includes the second wireless connection request.
  • the electric tool 120 is further configured to establish a Bluetooth connection with the external device 110 in response to the second Bluetooth connection request.
  • the electric tool 120 is further configured to establish a WiFi connection with the external device 110 in response to the second wireless connection request.
  • the third correspondence may include the first correspondence and the second correspondence.
  • the Bluetooth address of the electric tool and the WiFi information of the electric tool need to be queried at the same time for the first correspondence and the second correspondence to obtain
  • the third correspondence includes only one correspondence, and at this time, the Bluetooth address of the electric tool and the WiFi information of the electric tool only need to inquire about one correspondence (the third correspondence) to obtain. This embodiment of the present application does not limit it.
  • the external device 110 may simultaneously send the second Bluetooth connection request and the second wireless connection request to the electric tool 120; or, the external device 110 may first send the second Bluetooth connection request to the electric tool 120, and then send the second Bluetooth connection request to the electric tool 120 The second wireless connection request; or, the external device 110 can first send the second wireless connection request to the electric tool 120, and then send the second Bluetooth connection request to the electric tool 120, and the embodiment of the present application sends the second Bluetooth connection request to the external device 110
  • the sequence with the second wireless connection request is not limited.
  • an embodiment of the present application provides a communication system applied to an electric tool, where the system includes: an external device and an electric tool.
  • the external device is configured to obtain the connection information of the electric tool by using the first communication method
  • the external device is configured to establish a connection with the electric tool by using the second communication method based on the connection information of the electric tool;
  • the communication distance of the first communication method is shorter than the communication distance of the second communication method.
  • the external device uses the first communication method to obtain the connection information of the electric tool, which does not require the user to perform complicated operations, and is easy to operate. For example, the user only needs to bring the external device close to the electric tool to realize the use of the first communication method to obtain the connection information of the electric tool. connection information.
  • the working frequency band of the second communication manner includes 2.4 GHz.
  • the transmission manner of the second communication manner includes a full-duplex transmission manner.
  • the transmission manner of the second communication manner includes a half-duplex transmission manner.
  • the user may implement one-click replacement of the wireless network connected to the electric tool displayed by the first application program through the first application program.
  • the user originally used the first wireless network (the first router), and due to some reasons the user changed the wireless network used, from the first wireless network originally used to the second wireless network (the second router), this , in order to better control the electric tool, the user needs to replace the wireless network to which the electric tool is connected from the first wireless network to the second wireless network.
  • the first application program displays a first network transfer control, and the first network transfer control refers to a control for changing the wireless network to which the power tool is connected.
  • the external device In response to receiving the touch command for the first switch control, the external device sends the networking information of the second wireless network to the electric tool, and the networking information of the second wireless network is used to indicate configuration parameters of the second router.
  • the electric tool receives networking information of the second wireless network; and establishes a connection with the second router based on the networking information of the second wireless network.
  • the external device may obtain the networking information of the second wireless network in the following manner:
  • the user may input the networking information of the second wireless network in the first application program, and trigger the first application program to obtain the second wireless network networking information.
  • Networking information of the wireless network in another example, an NFC tag is provided on the second router or an NFC module is provided in the second router, and an external device approaches the NFC tag or NFC module to obtain the networking information of the second wireless network.
  • the first application program can send the networking information of the second wireless network to all electric tools displayed by the first application program; if the electric tool is in the power-on state, the electric tool can immediately replace the wireless network; state, the networking information of the second wireless network can be temporarily stored on the server, and when the power tool is turned on, the server sends the networking information of the second wireless network to the power tool, so that the power tool can replace the wireless network.
  • the router connected to the electric tool is not changed, but the PWD of the router is changed, and the user can also send the changed PWD to the electric tool through the first application program.
  • the first application is displayed with a fourth control, which refers to a control for sending the replaced PWD to the power tool.
  • the external device sends the replaced PWD to the electric tool in response to receiving the touch command for the fourth control; the electric tool receives the replaced PWD; and establishes a connection with the router based on the replaced PWD.
  • the external device can obtain the replaced PWD in the following manner: in one example, the user can input the replaced PWD in the first application program, and trigger the first application program to obtain the replaced PWD; In an example, an NFC tag is set on the router or an NFC module is set in the router, and an external device approaches the NFC tag or NFC module to obtain the replaced PWD.
  • the first application program can send the replaced PWD to all electric tools connected to the router in the first application program; if the electric tool is powered on, the electric tool can immediately reconnect to the router based on the replaced PWD ; If the power tool is turned off, the replaced PWD can be temporarily stored on the server. When the power tool is turned on, the server will send the replaced PWD to the power tool, so that the power tool can reconnect to the router based on the replaced PWD .
  • the electric tool establishes a connection with an external device through an electronic tag.
  • the electric tool may also establish a connection with an external device through an NFC module.
  • the NFC module can be adapted to different electric tools, and the user can establish connections between different electric tools and external devices through the NFC module.
  • the embodiment of the present application does not limit the setting position of the second interface, and the position on the housing of the electric tool that is convenient for user operation can be provided with a second interface.
  • the second interface for example, the second interface may be provided on the battery pack casing, the handle casing, the host casing or other casings, which is not limited in this embodiment of the present application.
  • the user can make the NFC module acquire the connection information of the electric tool by coupling the first interface with the second interface. After obtaining the connection information of the electric tool, the NFC module sends the connection information of the electric tool to an external device.
  • the user can disengage the first interface of the NFC module from the second interface of the electric tool, and then couple the NFC module with other electric tools to be connected to realize the power tool to establish connection with external equipment.
  • the NFC module further includes a transceiver configured to acquire connection information of the electric tool and send the connection information of the electric tool to an external device.
  • the NFC module can be arranged inside the electric tool, and each electric tool is provided with an NFC module.
  • the electric tool can communicate with the electric tool through the NFC module.
  • the first NFC module of the first electric tool is close to the second NFC module of the second electric tool, and data can be transmitted between the first electric tool and the second electric tool through NFC.
  • the first electric tool has established a connection with the router, and the first electric tool stores networking information, and the user can bring the first NFC module close to the second NFC module, so that the networking information stored by the first electric tool can be passed through the first NFC module.
  • the second NFC module of the second electric tool sends the networking information to the WiFi module of the second electric tool, and the WiFi module of the second electric tool establishes with the router based on the networking information. connect.
  • the NFC module in the embodiment of the present application can communicate with external devices through NFC communication.
  • the NFC module can receive configuration data from an external device through NFC communication, and the configuration data is used to configure the electric tool.
  • FIG. 6 shows a schematic diagram of a communication system applied to a charger of an electric tool provided by an embodiment of the present application.
  • the system 600 includes: an external device 610, a charger 620 of an electric tool, and a second electronic label 621 is arranged on the charger 620 of the electric tool.
  • the external device 610 refers to a device connected to the charger 620 of the electric tool.
  • the external device 610 can be set to control the charger 620 of the electric tool, for example, the external device 610 can be set to control the working parameters of the charger 620 of the electric tool (eg, switch state, charging current, charging duration, etc.).
  • the external device 610 may be a mobile terminal, and the mobile terminal may be a mobile phone, a smart wearable device (for example, a smart watch, a smart bracelet, etc.), a tablet computer or a control terminal (the control terminal refers to a user terminal produced by a manufacturer of an electric tool).
  • the type of the external device 610 is not limited in this embodiment of the present application.
  • the working parameters of the charger 620 of different types of electric tools may be different.
  • the working parameters described above are only exemplary and can be set according to actual application scenarios. limited.
  • a charger of an electric tool refers to a device for supplying power to a battery pack of the electric tool.
  • Power tool chargers include, but are not limited to: chain saw chargers, electric drill chargers, circular saw chargers, hammer drill chargers, angle grinder chargers, snow blower chargers, lawn trimmer chargers Chargers, chargers for reciprocating saws, etc.
  • the charger 620 of the electric tool is provided with a second electronic label 621 .
  • the second electronic tag 621 includes an NFC (Near Field Communication, near field communication) tag or an RFID (Radio Frequency Identification, radio frequency identification) tag.
  • the second electronic label 621 on the charger 620 of the electric tool is set on the charger 620 of the electric tool before the charger 620 of the electric tool leaves the factory.
  • the second electronic tag 621 can be affixed in the charger 620 of the electric tool, for example, the second electronic tag 621 can be affixed in the casing of the charger 620 of the electric tool.
  • the outer area of the shell corresponding to the attachment area of 621 may be provided with a prompt label, which is used to remind that the area is provided with the second electronic label 621, and the user can bring the external device 610 close to this area to realize the charging of the electric tool. 620 and the connection between the external device 610.
  • the second electronic label 621 can be attached outside the charger 620 of the electric tool, for example, the second electronic label 621 can be attached outside the casing of the charger 620 of the electric tool.
  • the embodiment of the present application does not limit the setting position of the second electronic tag 621 on the charger 620 of the electric tool, and the second electronic tag 621 may be set at any position where the charger 620 of the electric tool is convenient for the external device 610 to approach.
  • the second electronic label 621 on the charger 620 of the electric tool is set on the charger 620 of the electric tool after the charger 620 of the electric tool leaves the factory.
  • the user or the manufacturer may stick the second electronic label 621 on the charger 620 of the electric tool.
  • the external device 610 can obtain a tag ID (Identification, identification) of the second electronic tag 621 through the second electronic tag 621, and the tag ID of the second electronic tag 621 is used to uniquely identify the second electronic tag 621.
  • the user can configure the correspondence between the tag ID of the second electronic tag 621 and the connection information of the charger 620 of the electric tool, so that the tag ID can correspond to the charger 620 of the electric tool.
  • the external device 610 includes an NFC module.
  • the NFC module of the external device 610 can obtain the connection information of the charger 620 of the electric tool, so as to establish a connection with the charger 620 of the electric tool based on the connection information.
  • the NFC module of the external device 610 being close to the second electronic tag 621 means that the distance between the NFC module of the external device 610 and the second electronic tag 621 is smaller than a preset threshold.
  • the preset threshold may be 10 cm, 20 cm or other values. The embodiment of the present application does not limit the value of the preset threshold, which may be set by a technician.
  • the second electronic tag 621 in the embodiment of the present application may be any one of a passive tag, a semi-active tag or an active tag.
  • the second electronic tag 621 is generally a passive tag.
  • the second electronic tag 621 is configured to send the connection information of the charger 620 to the external device 610 in response to the external device 610 approaching the second electronic tag 621 .
  • the second electronic tag 621 can determine whether the external device 610 is close to itself by sensing the electromagnetic wave intensity of the external device 610, for example, when the second electronic tag 621 senses that the electromagnetic wave intensity of the external device 610 is higher than the preset intensity, The second electronic tag 621 determines that the external device 610 is close to itself.
  • the external device 610 is set close to the second electronic tag 621 to obtain the connection information of the charger 620 of the electric tool.
  • the proximity of the external device 610 to the second electronic tag 621 means that the distance between the external device 610 and the second electronic tag 621 is smaller than a preset threshold, which can be set by a technician.
  • the preset threshold can be 10 cm or 20 cm, etc., which is not limited in this embodiment of the present application.
  • the external device 610 may approach the prompt tag, so as to approach the second electronic tag 621 .
  • the external device 610 can touch the second electronic tag 621 to obtain the connection information of the charger 620 of the electric tool; optionally, the external device 610 can scan the second electronic tag 621 to obtain the connection information of the electric tool The connection information of the charger 620.
  • the external device 610 is configured to send a second connection request to the charger 620 based on the connection information of the charger 620 .
  • the second electronic tag 621 stores the connection information of the charger 620 of the electric tool.
  • the second electronic tag 621 will send the stored connection information of the charger 620 of the electric tool to external device 610 .
  • the connection information of the charger 620 of the electric tool is used to indicate the connection parameters of the charger 620 of the electric tool connected to other devices.
  • the connection information of the charger 620 of the electric tool may include at least one of the following: the charger 620 of the electric tool Bluetooth address, WiFi (Wireless Fidelity, wireless fidelity) information of the charger 620 of the electric tool, identification information of the charger 620 of the electric tool.
  • the external device 610 may send a second connection request to the charger 620 of the electric tool based on the connection information of the charger 620 of the electric tool in the second electronic tag 621, and the second connection request is used for the external device 610 to request charging with the electric tool
  • the device 620 establishes a connection.
  • the charger 620 is configured to establish a connection with the external device 610 in response to the second connection request.
  • the charger 620 After receiving the second connection request, the charger 620 establishes a connection with the external device 610 in response to the second connection request. Exemplarily, the charger 620 sends a second connection response to the charger 620 in response to the second connection request, and the external device 610 receives the second connection response and determines to establish a connection with the charger 620 .
  • the user only needs to bring the external device 610 close to the second electronic tag 621 to obtain the connection information of the charger 620, so as to establish a connection with the charger 620 based on the connection information of the charger 620.
  • One-key smart connection is realized, and the external device 610 and the second electronic tag 621 are touched or scanned to realize the quick connection between the charger 620 and the external device 610.
  • the operation is simple and the connection speed is fast. Based on the connection information of the charger, quickly bind the charger with the user.
  • connection information of the charger 620 stored in the second electronic tag 621 is encrypted information, and a decryption key is pre-stored in the external device 610. After obtaining the connection information of the charger 620, based on the above decryption encryption The key decrypts the connection information of the charger 620 to obtain the decrypted connection information of the charger 620; and then establishes a connection with the charger 620 based on the decrypted connection information of the charger 620.
  • the second electronic tag 621 also stores the identification information of the decryption algorithm
  • the external device 610 stores a preset correspondence
  • the preset correspondence includes at least one decryption algorithm identification information and the decryption algorithm Correspondence.
  • the external device 610 After the external device 610 approaches the second electronic tag 621, it obtains the connection information of the encrypted charger 620 and the identification information of the decryption algorithm; the external device 610 determines the decryption algorithm according to the preset corresponding relationship; based on the decryption algorithm, the encrypted charger 620 Decrypt the connection information to obtain decrypted connection information of the charger 620 ; and establish a connection with the charger 620 based on the decrypted connection information of the charger 620 .
  • the second electronic label 621 may further store device information of the charger 620 , and the device information of the charger 620 is used to indicate basic information of the charger 620 .
  • the device information of the charger 620 includes at least one of the following items: the serial number of the charger 620 , the model information of the charger 620 , the date of manufacture of the charger 620 and the like.
  • the embodiment of the present application does not limit the content of information stored in the second electronic tag 621, which can be written by technicians according to requirements.
  • the external device 610 can obtain the device information of the charger 620 by approaching the second electronic tag 621, thereby adding the charger 620 to the device list.
  • the device list can refer to a list of all chargers connected to the external device 610.
  • the user The device information of a certain charger can be obtained by querying the device list.
  • the data stored in the second electronic tag 621 can be changed.
  • a technician can change the data in the second electronic tag 621 through a tag data changing device, which can be installed with Tag data modification program, technicians can modify the data in the second electronic tag 621 through the tag data modification program
  • the tag data modification device refers to the device used to modify the data stored in the electronic tag
  • the tag data modification program refers to the application program used to make changes to the data stored in the transponder.
  • the information stored in the second electronic tag 621 can be written according to data storage rules, and the data storage rules include corresponding rules of field contents, field storage intervals and field sizes of each field.
  • Data storage rules can be set by technicians.
  • the external device 610 if the external device 610 cannot read the data stored in the second electronic tag 621 , the external device 610 displays abnormal information, and the abnormal information is used to prompt that the second electronic tag 621 is abnormal.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the charger, and then the external device can establish a connection with the charger based on the connection information of the charger. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the charger and the external device, the operation is simple, and the connection speed is fast.
  • the external device 610 may directly and automatically establish a connection with the charger 620, that is, directly establish a connection with the charger 620 without confirmation from the user.
  • the external device 610 may establish a connection with the charger 620 after the user confirms.
  • the scheme of establishing connection between the external device 610 and the charger 620 after confirmation with the user will be described below.
  • the external device 610 is also set close to the second electronic label 621, and if the second application program is not installed in the external device 620, obtain the download link of the second application program; based on the download link of the second application program, download the second application program Two applications.
  • the second application program can be any application program, and the second application program can be used to control the working parameters of the charger 620 .
  • the second application program may be a system-level application program or a third-party application program, which is not limited in this embodiment of the present application.
  • the second electronic tag 621 when the external device 610 is close to the second electronic tag 621, the second electronic tag 621 will send all the data stored inside to the external device 610.
  • the above data includes the connection information of the charger 620 and the second application Program download link.
  • the external device 610 determines that the second application program is not installed, it obtains the download link from the above data.
  • the external device 610 automatically downloads the installation package of the second application program through the download link, and automatically installs the second application program after the installation package download is completed, and completes the relevant registration and login of the second application program; in another example Among them, after the external device 610 obtains the download link, it displays the application installation prompt information, and the application installation prompt information is used to prompt whether to install the second application program; in response to receiving the confirmation instruction for the application installation prompt information, the external device 610 downloads the Link to download the installation package of the second application program, the confirmation instruction refers to the instruction for confirming the installation of the second application program; the external device 610 installs the second application program after the installation package download is completed, and completes the relevant registration and login of the second application program .
  • the second application program will automatically jump to display the user interface of the second application program.
  • the external device 610 is also set close to the second electronic tag 621 , and when the second application program is installed in the external device 610 , displays the user interface of the second application program.
  • the external device 610 when the second application program is installed in the external device 610, after the external device 610 approaches the second electronic tag 621, the external device 610 will display the user interface of the second application program, for example, the external device 610 will Displaying the homepage interface of the second application program, the homepage interface refers to the interface displayed by the second application program when the user manually opens the second application program.
  • the displayed user interface of the second application program can also be other interfaces, which can be set by technicians according to requirements. Examples are not limited to this.
  • the external device 610 is further configured to send a second connection request to the charger 620 based on the connection information of the charger 620 in response to the second connection instruction triggered by the user interface of the second application program.
  • the second connection instruction refers to an instruction for establishing a connection between the charger and the external device.
  • a connection control is displayed on the user interface of the second application, and the connection control refers to a control for establishing a connection between the external device 610 and the charger 620; in response to receiving a touch operation on the connection control, The external device 610 determines to receive a connection instruction triggered by the user interface of the second application; the external device 610 sends a second connection request to the charger 620 based on the connection information of the charger 620 . Then, the charger 620 establishes a connection with the external device 610 in response to the second connection request.
  • the external device 610 sends a connection request to the charger 620 only after receiving the connection instruction, so as to establish a connection with the charger 620, which can effectively prevent the user from accidentally touching the external device 610 and the charger 620 A situation that results in automatic connection of the charger 620 and the external device 610 .
  • the external device 610 is further configured to not send the second connection request to the charger 620 in response to the cancel connection instruction triggered by the user interface of the second application program, the cancel connection instruction refers to canceling the charging An instruction to establish a connection between the device 620 and the external device 610.
  • the second application program can be used to control the charger 620 connected with the external device 610 .
  • the external device 610 can establish a connection with a plurality of chargers 620 .
  • the second application program may control the multiple chargers at the same time, or control each charger individually, or control some chargers.
  • the user can pre-set the working parameters of each charger in the second application program, and when the multiple chargers are in the working state, the user can touch the first control in the user interface of the second application program,
  • the first control refers to a control for controlling multiple chargers.
  • the above-mentioned multiple chargers can work according to their preset working parameters; when only some of the above-mentioned multiple chargers are in the working state, the user can touch the
  • the second control is to control the above-mentioned part of the chargers.
  • the second control refers to the control for controlling the part of the chargers.
  • the above-mentioned part of the chargers can work according to their preset working parameters.
  • the external device 610 When the external device 610 receives When the trigger instruction for the second control is received, the external device 610 will first determine some chargers in the working state among the above-mentioned multiple chargers, and then send the respective working parameters of the above-mentioned part of the chargers to the corresponding chargers; another example , when a certain charger is in working state, and the user wants to set the working parameters of the charger, at this time, the user can set the working parameters of the charger in the user interface of the second application program, and then click
  • the third control controls the charger, and the third control refers to a control used to control a certain charger.
  • the server After the charger establishes a connection with the external device, the server will store the corresponding relationship between the charger and the external device.
  • the corresponding relationship between the charger and the external device may include: the identification information (for example, serial number) of the charger and the user account corresponding to the external device (That is, the user account logged in by the second application program in the external device).
  • the server may be a background server of the second application program, and the background server of the second application program may be a server used by a charger manufacturer.
  • the charger When the charger is paired for the first time (the first pairing refers to establishing a connection with an external device for the first time), the charger directly establishes a connection with the external device; when the charger is not paired for the first time, the external The device sends a pairing request to the server, which is used to request to establish a connection with the charger; in response to the pairing request, the server determines whether the external device has the permission to establish a connection with the charger; in response to the external device having the permission to establish a connection with the charger , the external device can send the second connection request to the charger; in response to the fact that the external device does not have the authority to establish a connection with the charger, the external device cannot send the second connection request to the charger.
  • the server determines whether the external device has the permission to establish a connection with the charger; in response to the external device having the permission to establish a connection with the charger , the external device can send the second connection request to the charger; in response to the fact that the external device does not have the authority to establish a
  • the server may determine whether the external device that sends the pairing request has permission to establish a connection with the charger based on the wireless network connected to the external device bound to the charger and the wireless network connected to the external device that sent the pairing request . If the wireless network connected to the external device bound to the charger is the same as the wireless network connected to the external device sending the pairing request, it is determined that the external device sending the pairing request has the authority to establish a connection with the charger; if the external device bound to the charger If the wireless network connected to the device is inconsistent with the wireless network connected to the external device sending the pairing request, it is determined that the external device sending the pairing request does not have the authority to establish a connection with the charger.
  • the pairing request carries the identification information of the wireless network, and the identification information of the wireless network is used to uniquely identify the wireless network; the server also stores the identification information of the wireless network when the user registers and logs in with the second application program in the external device. The server can determine whether the wireless networks are consistent by comparing the identification information.
  • the identification information of the wireless network may be an SSID.
  • the server receives a pairing request from the first external device, it sends a request to the second external device ( An external device that has established a connection with the charger, and it is the external device that the charger has established a connection for the first time) sends an authorization authentication request, and the authorization authentication request is used to request to confirm whether the first external device has the authorization to establish a connection with the charger;
  • the second external device displays permission authentication prompt information in response to the permission authentication request, and the permission authentication prompt information is used to prompt the user to confirm whether the first external device has the permission to establish a connection with the charger; in one example, the second external device receives For the confirmation instruction of the authority authentication prompt information, send an authority confirmation message to the server, the confirmation instruction refers to an instruction to determine that the first external device has the authority to establish a connection with the charger, and the authority confirmation message is used to indicate that the first external device has the authority to connect with the
  • the server in response to receiving the permission confirmation message, the server allows the first external device to establish a connection with the charger; in another example, the second external device receives a deny instruction for the permission authentication prompt information, and sends the Sending a permission deny message, the deny instruction refers to an instruction for determining that the first external device does not have the permission to establish a connection with the charger, and the permission deny message is used to indicate that the first external device does not have the permission to establish a connection with the charger; the server responds to receiving If a permission deny message is received, the first external device is not allowed to establish a connection with the charger.
  • the charger 620 includes a third wireless communication module 622
  • the external device 610 includes a fourth wireless communication module 611 .
  • the external device 610 is configured to send a second connection request to the third wireless communication module 622 through the fourth wireless communication module 611 based on the connection information of the charger 620 .
  • the charger 620 is configured to establish a wireless connection with the fourth wireless communication module 611 through the third wireless communication module 622 in response to the second connection request.
  • the communication mode corresponding to the third wireless communication module 622 is consistent with the communication mode corresponding to the fourth wireless communication module 611.
  • the communication mode includes any of the following: Bluetooth communication, WiFi communication, Zigbee communication, UWB ( Ultra Wide Band, ultra-wide band) communication, infrared communication.
  • the communication mode corresponding to the third wireless communication module 622 is Bluetooth communication
  • the communication mode corresponding to the fourth wireless communication module 611 is also Bluetooth communication.
  • the third wireless communication module 622 and the fourth wireless communication module 611 are Bluetooth communication module; for another example, when the communication method corresponding to the third wireless communication module 622 is WiFi communication, the communication method corresponding to the fourth wireless communication module 611 is also WiFi communication.
  • the wireless communication module 611 is a WiFi communication module.
  • the communication function corresponding to the fourth wireless communication module 611 in the external device 610 needs to be turned on
  • the communication function corresponding to the third wireless communication module 622 in the charger 620 needs to be turned on; if not turned on, the corresponding communication function is automatically turned on.
  • the communication mode corresponding to the third wireless communication module 622 is Bluetooth communication
  • the communication mode corresponding to the fourth wireless communication module 611 is also Bluetooth communication
  • the external device 610 and the charger 20 need to enable the Bluetooth function.
  • the connection information of the charger includes the Bluetooth address of the charger.
  • the third wireless communication module 622 includes a third Bluetooth module 622a
  • the fourth wireless communication module 611 includes a fourth Bluetooth module 611a .
  • the external device 610 is configured to send a third Bluetooth connection request to the third Bluetooth module through the fourth Bluetooth module based on the Bluetooth address of the charger, and the second connection request includes the third Bluetooth connection request.
  • the Bluetooth address of the charger 620 is used to uniquely identify the Bluetooth module of the charger 620 (ie, the above-mentioned first Bluetooth module).
  • the Bluetooth address of the charger 620 may include a Bluetooth MAC (Media Access Control, Media Access Control) address.
  • the charger 620 is configured to establish a connection with the fourth Bluetooth module through the third Bluetooth module in response to the third Bluetooth connection request.
  • the Bluetooth function of the charger 620 and the external device 610 needs to be turned on, and the external device 610 and the charger 620 can independently detect whether their own Bluetooth function is turned on. If not enabled, the Bluetooth function will be automatically enabled.
  • the charger 620 further includes a third WiFi module 623 , therefore, the charger 620 can also be networked, that is, establish a connection with a router.
  • the external device 610 is further configured to send networking information to the third Bluetooth module through the fourth Bluetooth module, where the networking information is used to indicate configuration parameters of the router.
  • the charger 620 is also configured to establish a connection with the router based on the networking information.
  • the networking information includes at least one of the following: the SSID of the router, the PWD (Pass Word, access password) of the router, the IP (Internet Protocol, Internet Protocol) address of the router, the frequency band identifier of the router, and the like.
  • the band ID of the router is used to indicate the bands supported by the router (2.4G, 2.4G and 5G).
  • the third Bluetooth module 622a and the third WiFi module 623 are integrated into one component, and data can be shared between them. After the third Bluetooth module 622a receives the networking information, the third WiFi module 623 establishes a connection with the router based on the networking information.
  • the external device 610 may only have a Bluetooth module instead of a WiFi module, so that the charger 620 can establish a connection with the router, but the charger 620 needs to have both a Bluetooth module and a WiFi module.
  • the networking information may be plaintext information or encrypted information, and is generally encrypted information.
  • the decryption key can be built in the charger 620, or can be passed in from outside.
  • a decryption key is stored in the charger 620, and after obtaining the networking information from the external device 610, the above-mentioned encrypted networking information is decrypted by the decryption key to obtain decrypted networking information; based on the decrypted networking information , to establish a connection with the router.
  • the external device 610 sends networking information (SSID and PWD) of several frequency bands of the router to the charger 620, including networking information of the 2.4G frequency band.
  • the networking information sent by the external device 610 may identify a corresponding frequency band (frequency band identifier).
  • the charger 620 identifies from the networking information, or obtains matching networking information through a trial, and connects to the router. For example, if the frequency band of the charger 620 is 2.4G, the external device 610 can effectively establish the connection by sending the networking information (SSID and PWD) corresponding to 2.4G to the charger 620 .
  • the charger 620 can communicate with the server.
  • the external device 610 may send a relevant operation instruction to the server through the second application program, so that the server sends the relevant operation instruction to the charger 620 .
  • the charger 620 can also report the data to the server.
  • the server after the server receives the related operation instructions from the external device 610, it encrypts the related operation instructions to obtain the encrypted related operation instructions; the server sends the encrypted related operation instructions to the charger 620 ; After receiving the encrypted related operation instruction, the charger parses the encrypted related operation instruction through the security key, and executes the related operation instruction.
  • the security key may be pre-stored in the charger 620; or, the server sends the ID of the encryption algorithm to the charger; the charger 620 determines the encryption algorithm according to the stored preset correspondence; the charger 620 determines the encryption algorithm based on the encryption algorithm A security key is generated, the ID of the encryption algorithm is used to uniquely identify the encryption algorithm, and the preset correspondence includes at least one correspondence between the ID of the encryption algorithm and the encryption algorithm.
  • the external device 610 can communicate with the server through a wired network or a wireless network. ), WiFi and other networks to communicate with the server.
  • the second application program may display a prompt message, the prompt message is used to prompt that the charger is online, and a remote configuration operation of the charger can be performed.
  • the decryption algorithm used for the connection information of the above-mentioned charger 620 may be the same decryption algorithm, or a different decryption algorithm, which is implemented in this application. This example is not limited, and it can be set by technicians according to actual needs.
  • the connection information of the charger includes WiFi information of the charger.
  • the third wireless communication module 622 includes a third WiFi module 623
  • the fourth wireless communication module 611 includes a fourth WiFi module 612 .
  • the external device 610 is configured to send a third wireless connection request to the third WiFi module through the fourth WiFi module based on the WiFi information of the charger, and the second connection request includes the third wireless connection request.
  • the charger 620 is configured to establish a connection with the fourth WiFi module through the third WiFi module in response to the third wireless connection request.
  • the WiFi information of the charger is information of a hidden WiFi network created by the third WiFi module.
  • the WiFi information includes at least one of the following information: SSID (Service Set Identifier, service area identifier) of the charger 620, PWD (Pass Word, access password) of the charger 620, frequency band identifier of the charger 620, and the like.
  • the frequency band identifier of the charger 620 is used to indicate the frequency bands (2.4G, 2.4G and 5G) supported by the charger 620 .
  • the external device 610 is further configured to send networking information to the third WiFi module through the fourth WiFi module, where the networking information is used to indicate configuration parameters of the router.
  • the charger 620 is also configured to establish a connection with the router based on the networking information.
  • the networking information includes at least one of the following: SSID of the router, PWD of the router, IP address of the router, frequency band identifier of the router, and the like.
  • the band ID of the router is used to indicate the bands supported by the router (2.4G, 2.4G and 5G).
  • the external device 610 cuts off the connection with the router, and switches to connect to the charger 620; the external device 610 sends networking information to the charger 620, so that the charger 620 establishes a connection with the router, and completes network distribution.
  • the third WiFi module 623 after receiving the networking information, performs internal state transition of the module; and then establishes a connection with the router based on the networking information.
  • the external device 610 may disconnect from the charger 620 and restore the connection to the router.
  • the external device 610 disconnects from the charger 620 and restores the connection to the router.
  • the networking information is encrypted information.
  • a decryption key is stored in the charger 620. After obtaining the networking information from the external device 610, the charger 620 decrypts the encrypted networking information through the decryption key to obtain decrypted networking information; based on the decrypted networking information, Establish a connection with the router.
  • the external device 610 may also send networking information corresponding to the frequency band identifier of the charger 620 to the charger 620 based on the frequency band identifier of the charger 620 .
  • the networking information corresponding to the frequency band identifier of the charger 620 refers to configuration parameters of the router consistent with the frequency band supported by the charger.
  • the frequency band identifier of the charger 620 indicates that the frequency band supported by the charger 620 is 2.4G, and the external device 610 sends the network information (SSID and PWD) corresponding to 2.4G to the charger 620 .
  • the external device 610 only needs to have a WiFi module
  • the charger 620 only needs to have a WiFi module, so that the charger 620 can establish a connection with a wireless network.
  • the charger 620 can communicate with the server.
  • the external device 610 may send a relevant operation instruction to the server through the second application program, so that the server sends the relevant operation instruction to the charger 620 .
  • the server after the server receives the related operation instructions from the external device 610, it encrypts the related operation instructions to obtain the encrypted related operation instructions; the server sends the encrypted related operation instructions to the charger 620 ; After receiving the encrypted related operation instruction, the charger 620 parses the encrypted related operation instruction through the security key, and executes the related operation instruction.
  • the security key can be pre-stored in the charger 620; or, the server sends the ID of the encryption algorithm to the charger 620; the charger 620 determines the encryption algorithm according to the stored preset correspondence; The algorithm generates a security key, the ID of the encryption algorithm is used to uniquely identify the encryption algorithm, and the preset correspondence includes the correspondence between the ID of at least one encryption algorithm and the encryption algorithm.
  • the external device 610 can communicate with the server through a wired network or a wireless network. ), WiFi and other networks to communicate with the server.
  • the second application program may display a prompt message, the prompt message is used to prompt that the charger is online, and a remote configuration operation of the charger can be performed.
  • the decryption algorithm used for the connection information of the above-mentioned charger 620 may be the same decryption algorithm, or a different decryption algorithm, which is implemented in this application. This example is not limited, and it can be set by technicians according to actual needs.
  • the connection information of the charger 620 includes the Bluetooth address of the charger 620 and the WiFi information of the charger 620 .
  • the charger 620 includes a third Bluetooth module 622 a and a third WiFi module 623
  • the external device 610 includes a fourth Bluetooth module 611 a and a fourth WiFi module 612 .
  • the external device 610 is set close to the second electronic tag 621 to obtain the Bluetooth address of the charger 620 and the WiFi information of the charger 620 .
  • the external device 610 is further configured to send a third Bluetooth connection request to the third Bluetooth module 622a through the fourth Bluetooth module 611a based on the Bluetooth address of the charger 620.
  • the charger 620 is configured to establish a connection with the fourth Bluetooth module 611a through the third Bluetooth module 622a in response to the third Bluetooth connection request.
  • the external device 610 is further configured to send a third wireless connection request to the third WiFi module 623 through the fourth WiFi module 612 based on the WiFi information of the charger 620 .
  • the charger 620 is further configured to establish a connection with the fourth WiFi module 612 through the third WiFi module 623 in response to the third wireless connection request.
  • the external device 610 can acquire the Bluetooth address and WiFi information of the charger 620 at the same time.
  • the data stored in the second electronic tag 621 is integrated, that is, the external device 610 can obtain all the data stored in the second electronic tag 621 at the same time.
  • the external device 610 may analyze the data, so as to obtain the Bluetooth address and WiFi information of the charger 620 .
  • the external device 610 may send the third Bluetooth connection request and the third wireless connection request to the charger 620 at the same time; the charger 620 may establish the Bluetooth connection and the wireless connection with the external device 610 at the same time.
  • the external device 610 can send networking information to the charger 620 through the fourth Bluetooth module 611a, or can send networking information to the charger 620 through the fourth WiFi module 612, which can be set by a technician.
  • the charger and the external device need to have both the Bluetooth module and the WiFi module, so that the Bluetooth connection and the WiFi connection can be established.
  • connection information of the charger includes identification information of the charger, and the identification information of the charger is used to uniquely identify the charger.
  • the identification information of the charger may refer to the serial number of the charger, of course, in other possible implementation manners, the identification information of the charger may also be other unique characters bound to the charger set by the technician string, which is not limited in the embodiment of this application.
  • the external device is further configured to obtain the Bluetooth address of the charger based on the identification information of the charger and the third correspondence, and the third correspondence includes at least one correspondence between the identification information of the charger and the Bluetooth address of the charger.
  • the external device is further configured to send a fourth Bluetooth connection request to the charger based on the Bluetooth address of the charger, and the second connection request includes the fourth Bluetooth connection request.
  • the charger is also configured to establish a connection with the external device in response to the fourth Bluetooth connection request.
  • the third correspondence can be stored on the server, and the external device sends an address acquisition request to the server, and the address acquisition request is used to request the acquisition of the Bluetooth address of the charger, and the address acquisition request includes the identifier of the charger information; the server receives the above address acquisition request, and accesses the third correspondence, finds the bluetooth address corresponding to the identification information of the charger from the external device from the third correspondence, and then sends the bluetooth address to the external device.
  • the server may be a server used by the manufacturer of the charger, or a server of the second application program. The manufacturer of the charger can upload the third correspondence to the server.
  • the third correspondence may be stored on the external device, and the external device may determine the Bluetooth address of the charger based on the third correspondence and the identification information of the charger.
  • the server may send the updated third correspondence to the external device every preset period of time, and the external device stores the updated third correspondence locally.
  • the external device is further configured to obtain the WiFi information of the charger based on the identification information of the charger and the fourth corresponding relationship, and the fourth corresponding relationship includes at least one identification information of the charger and the WiFi information of the charger corresponding relationship.
  • the external device is further configured to send a fourth wireless connection request to the charger based on the WiFi information of the charger, and the second connection request includes the fourth wireless connection request.
  • the charger is also configured to establish a connection with the external device in response to the fourth wireless connection request.
  • the external device is further configured to acquire the Bluetooth address of the charger and the WiFi information of the charger based on the identification information of the charger and the fifth correspondence, and the fifth correspondence includes identification information of at least one charger The corresponding relationship with the Bluetooth address of the charger and the WiFi information of the charger.
  • the external device is further configured to send a fourth Bluetooth connection request to the charger based on the Bluetooth address of the charger, and the second connection request includes the fourth Bluetooth connection request.
  • the external device is further configured to send a fourth wireless connection request to the charger based on the WiFi information of the charger, and the second connection request includes the fourth wireless connection request.
  • the charger is also configured to establish a Bluetooth connection with the external device in response to the fourth Bluetooth connection request.
  • the charger is also configured to establish a WiFi connection with the external device in response to the fourth wireless connection request.
  • the user can implement one-click replacement of the wireless network connected to the charger displayed by the second application program through the second application program.
  • the user originally used the first wireless network (the first router), and due to some reasons the user changed the wireless network used, from the first wireless network originally used to the second wireless network (the second router), this , in order to better control the charger, the user needs to replace the wireless network connected to the charger from the first wireless network to the second wireless network.
  • the second application program displays a second network transfer control, and the second network transfer control refers to a control for changing the wireless network to which the charger is connected.
  • the external device In response to receiving the touch instruction for the second network switching control, the external device sends the networking information of the second wireless network to the charger, and the networking information of the second wireless network is used to indicate configuration parameters of the second router.
  • the charger receives networking information of the second wireless network; and establishes a connection with the second router based on the networking information of the second wireless network.
  • the external device may acquire the networking information of the second wireless network in the following manner:
  • the user may input the networking information of the second wireless network in the second application program, and trigger the second application program to acquire the second wireless network information.
  • Networking information of the wireless network in another example, an NFC tag is provided on the second router or an NFC module is provided in the second router, and an external device approaches the NFC tag or NFC module to obtain the networking information of the second wireless network.
  • the second application program can send the networking information of the second wireless network to all the chargers displayed by the second application program; if the charger is on, the charger can replace the wireless network immediately; if the charger is off status, the networking information of the second wireless network can be temporarily stored on the server, and when the charger is turned on, the server sends the networking information of the second wireless network to the charger, so that the charger can replace the wireless network.
  • the router connected to the charger is not changed, but the PWD of the router is changed, and the user can also send the changed PWD to the charger through the second application program.
  • the second application is displayed with a fifth control, which refers to a control for sending the replaced PWD to the charger.
  • the external device sends the replaced PWD to the charger; the charger receives the replaced PWD; and establishes a connection with the router based on the replaced PWD.
  • the external device can obtain the replaced PWD in the following manner: in one example, the user can input the replaced PWD in the second application program, and trigger the second application program to obtain the replaced PWD; in another In an example, an NFC tag is set on the router or an NFC module is set in the router, and an external device approaches the NFC tag or NFC module to obtain the replaced PWD.
  • the second application program can send the replaced PWD to all chargers connected to the router in the second application program; if the charger is powered on, the charger can immediately reconnect to the router based on the replaced PWD ; If the charger is turned off, the replaced PWD can be temporarily stored on the server. When the charger is turned on, the server will send the replaced PWD to the charger, so that the charger can reconnect to the router based on the replaced PWD .
  • the charger establishes a connection with an external device through an electronic tag.
  • the charger may also establish a connection with an external device through an NFC module.
  • the NFC module can be adapted to different chargers, and the user can establish connections between different chargers and external devices through the NFC module.
  • the embodiment of the present application does not limit the setting position of the fourth interface.
  • the user can make the NFC module acquire the connection information of the charger by coupling the third interface with the fourth interface. After obtaining the connection information of the charger, the NFC module sends the connection information of the charger to the external device. When the charger is connected to the external device, the user can disconnect the third interface of the NFC module from the fourth interface of the charger, and then couple the NFC module with other chargers to be connected to realize the The charger establishes a connection with an external device.
  • the NFC module further includes a transceiver configured to obtain connection information of the charger and send the connection information of the charger to an external device.
  • the NFC module can be arranged inside the charger, and each charger is provided with an NFC module.
  • the charger can communicate with the charger through the NFC module.
  • the first NFC module of the first charger is close to the second NFC module of the second charger, and data can be transmitted between the first charger and the second charger through NFC.
  • the first charger has established a connection with the router, and the first charger stores networking information, and the user can bring the first NFC module close to the second NFC module, so that the networking information stored in the first charger can be passed through the first NFC module.
  • the second NFC module of the second charger sends the networking information to the WiFi module of the second charger, and the WiFi module of the second charger establishes a network connection with the router based on the networking information. connect.
  • the NFC module in the embodiment of the present application can communicate with external devices through NFC communication.
  • the NFC module can receive configuration data from an external device through NFC communication, and the configuration data is used to configure the charger.
  • the process of establishing a connection between a charger and an external device is similar to the process of establishing a connection between an electric tool and an external device.
  • the process of establishing a connection between a charger and an external device please refer to The relevant introduction to the process of establishing a connection; the process of establishing a connection between a charger and a router is similar to the process of establishing a connection between an electric tool and a router.
  • the battery pack is provided with a wireless communication module, therefore, the battery pack can also establish a connection with an external device, and further establish a connection with a router.
  • the process of establishing the connection between the battery pack and the external device is similar to the process of establishing the connection between the electric tool and the external device.
  • the technical staff can refer to the introduction of the connection between the electric tool and the external device in this application to realize the connection between the battery pack and the external device;
  • the process of establishing a connection between the battery pack and the router is similar to the process of establishing a connection between the electric tool and the router.
  • Technicians can refer to the introduction about the establishment of the connection between the electric tool and the router in this application to realize the establishment of the connection between the battery pack and the router.
  • FIG. 11 shows a schematic diagram of a communication system of a gateway device provided by an embodiment of the present application.
  • the system 1000 includes: a gateway device 1010 and an electric tool 1020 , and a third electronic tag 1021 is arranged on the electric tool 1020 .
  • the third electronic tag 1021 is configured to send the connection information of the electric tool to the gateway device in response to the gateway device approaching the third electronic tag.
  • the gateway device 1010 is configured to send a third connection request to the electric tool based on the connection information of the electric tool.
  • the electric tool 1020 is configured to establish a connection with the gateway device in response to the third connection request.
  • the process of establishing a connection between the gateway device and the electric tool is similar to the process of establishing a connection between the external device and the electric tool.
  • the connection between the gateway device and the electric tool please refer to the introduction to the connection between the external device and the electric tool above. I won't repeat them here.
  • the gateway device is provided with a fourth electronic label, and the fourth electronic label includes the connection information of the gateway device; the external device approaches the fourth electronic label to obtain the connection information of the gateway device; based on the connection information of the gateway device , the external device sends a connection request to the gateway device; the gateway device establishes a connection with the external device in response to the connection request; the external device sends networking information to the gateway device; the gateway device establishes a connection with the router based on the networking information.
  • the gateway device can communicate with the external network through the router, and because the electric tool has established a connection with the gateway device, the electric tool can also access the external network.
  • the gateway device by bringing the gateway device close to the electronic tag, the gateway device can obtain the connection information of the electric tool, and then the gateway device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the gateway device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the gateway device, the operation is simple and the connection speed is fast.
  • FIG. 12 shows a flow chart of a communication method for an electric tool provided by an embodiment of the present application.
  • the electric tool is provided with a first electronic tag, and the first electronic tag stores connection information of the electric tool.
  • the method may include the steps of:
  • Step 1101 the external device gets close to the first electronic tag set on the electric tool, and obtains the connection information of the electric tool.
  • Step 1102 the external device sends a first connection request to the electric tool based on the connection information of the electric tool.
  • the electric tool receives the first connection request sent by the external device based on the connection information of the electric tool.
  • Step 1103 the electric tool establishes a connection with the external device in response to the first connection request.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the electric tool, and then the external device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the external device, the operation is simple and the connection speed is fast.
  • a power tool includes a first wireless communication module, and the external device includes a second wireless communication module.
  • FIG. 13 shows a flowchart of a communication method for an electric tool provided by another embodiment of the present application. The method may include the following steps:
  • Step 1201 the external device approaches the first electronic tag set on the electric tool to obtain the connection information of the electric tool.
  • Step 1202 based on the connection information of the electric tool, the external device sends a first connection request to the first wireless communication module through the second wireless communication module.
  • Step 1203 the electric tool establishes a wireless connection with the second wireless communication module through the first wireless communication module in response to the first connection request.
  • connection information of the electric tool includes a Bluetooth address of the electric tool
  • the first wireless communication module includes a first Bluetooth module
  • the second wireless communication module includes a second Bluetooth module.
  • FIG. 14 shows a flowchart of a communication method for an electric tool provided by another embodiment of the present application. The method may include the following steps:
  • Step 1301 the external device approaches the first electronic tag set on the electric tool, and obtains the bluetooth address of the electric tool.
  • Step 1302 based on the Bluetooth address of the electric tool, the external device sends a first Bluetooth connection request to the first Bluetooth module through the second Bluetooth module, where the first connection request includes the first Bluetooth connection request.
  • Step 1303 the electric tool establishes a connection with the second Bluetooth module through the first Bluetooth module in response to the first Bluetooth connection request.
  • the method also includes the following steps:
  • Step 1304 the external device sends networking information to the first Bluetooth module through the second Bluetooth module, and the networking information is used to indicate configuration parameters of the router.
  • Step 1305 the electric tool establishes a connection with the router based on the networking information.
  • connection information of the electric tool includes WiFi information of the electric tool
  • the first wireless communication module includes a first WiFi module
  • the second wireless communication module includes a second WiFi module.
  • FIG. 15 shows a flowchart of a communication method for an electric tool provided by another embodiment of the present application. The method may include the following steps:
  • Step 1401 the external device approaches the first electronic tag set on the electric tool to obtain the WiFi information of the electric tool.
  • Step 1402 based on the WiFi information of the electric tool, the external device sends a first wireless connection request to the first WiFi module through the second WiFi module, where the first connection request includes the first wireless connection request.
  • Step 1403 the electric tool establishes a connection with the second WiFi module through the first WiFi module in response to the first wireless connection request.
  • the above method may also include the following steps:
  • Step 1404 the external device sends networking information to the first WiFi module through the second WiFi module, where the networking information is used to indicate configuration parameters of the router.
  • Step 1405 the electric tool establishes a connection with the router based on the networking information.
  • the WiFi information is information of a hidden WiFi network created by the first WiFi module.
  • connection information of the electric tool includes identification information of the electric tool, and the identification information of the electric tool is used to uniquely identify the electric tool.
  • FIG. 16 shows a flowchart of a communication method for an electric tool provided by another embodiment of the present application. The method may include the following steps:
  • Step 1501 the external device approaches the first electronic tag set on the electric tool, and acquires the identification information of the electric tool.
  • Step 1502 the external device obtains the Bluetooth address of the electric tool based on the identification information of the electric tool and a first correspondence, and the first correspondence includes a correspondence between at least one identification information of the electric tool and the Bluetooth address of the electric tool.
  • Step 1503 the external device sends a second Bluetooth connection request to the electric tool based on the Bluetooth address of the electric tool, and the first connection request includes the second Bluetooth connection request;
  • Step 1504 the electric tool establishes a connection with the external device in response to the second Bluetooth connection request.
  • FIG. 17 shows a flowchart of a communication method for an electric tool provided by another embodiment of the present application.
  • the method may include the following steps:
  • Step 1601 the external device approaches the first electronic tag set on the electric tool to obtain the identification information of the electric tool.
  • Step 1602 the external device acquires the WiFi information of the electric tool based on the identification information of the electric tool and a second correspondence, the second correspondence includes a correspondence between at least one identification information of the electric tool and the WiFi information of the electric tool.
  • Step 1603 the external device sends a second wireless connection request to the electric tool based on the WiFi information of the electric tool, and the first connection request includes the second wireless connection request.
  • Step 1604 the electric tool establishes a connection with the external device in response to the second wireless connection request.
  • the external device is close to the first electronic tag, and if the first application program is not installed in the external device, the download link of the first application program is obtained; based on the download link of the first application program, the second application program is downloaded. an application.
  • the external device approaches the first electronic tag, and if the first application program is installed in the external device, the user interface of the first application program is displayed.
  • the external device sends a first connection request to the electric tool based on the connection information of the electric tool in response to the first connection instruction triggered by the user interface of the first application program, the first connection instruction refers to Instructions for establishing a connection between a power tool and an external device.
  • the equipment information of the electric tool is also stored in the first electronic tag, and the equipment information of the electric tool includes at least one of the following: the serial number of the electric tool, the model information of the electric tool, and the date of manufacture of the electric tool.
  • the first electronic tag includes an NFC tag, and there is no communication interface between the NFC tag and the electric tool.
  • the above-mentioned embodiments are described with the electric tool and the external equipment as the main body.
  • the steps performed by the electric tool can be independently realized as the communication method of the electric tool on the electric tool side, and the steps performed by the external equipment can be independently implemented. Realize the communication method of the external device on the external device side.
  • FIG. 18 shows a flow chart of a communication method for a charger of an electric tool provided by an embodiment of the present application.
  • the charger of the electric tool is provided with a second electronic tag, and the second electronic tag stores electric
  • the connection information of the charger of the tool may include the following steps:
  • Step 1701 the external device approaches the second electronic label set on the charger of the electric tool, and obtains the connection information of the charger.
  • Step 1702 the external device sends a second connection request to the charger based on the connection information of the charger.
  • the charger receives the second connection request sent by the external device based on the connection information of the charger.
  • Step 1703 the charger establishes a connection with the external device in response to the second connection request.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the charger, and then the external device can establish a connection with the charger based on the connection information of the charger. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the charger and the external device, the operation is simple, and the connection speed is fast.
  • the above-mentioned embodiments are described with the charger of the electric tool and the external equipment as the main body, and the steps performed by the charger of the electric tool can be independently implemented as the charger of the electric tool on the charger side of the electric tool
  • the steps performed by the external device can be independently implemented as the communication method of the external device on the external device side.
  • FIG. 19 shows a flow chart of a communication method for an electric tool provided by another embodiment of the present application.
  • the electric tool is provided with a third electronic tag, and the third electronic tag stores connection information of the electric tool.
  • the above method may include the following steps:
  • Step 1801 the gateway device gets close to the third electronic tag set on the electric tool, and obtains the connection information of the electric tool.
  • Step 1802 the gateway device sends a third connection request to the electric tool based on the connection information of the electric tool.
  • the electric tool receives the third connection request sent by the gateway device based on the connection information of the electric tool.
  • Step 1803 the electric tool establishes a connection with the gateway device in response to the third connection request.
  • the gateway device establishes a connection with the electric tool.
  • the gateway device by bringing the gateway device close to the electronic tag, the gateway device can obtain the connection information of the electric tool, and then the gateway device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the gateway device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the gateway device, the operation is simple and the connection speed is fast.
  • the above-mentioned embodiments are described with the electric tool and the gateway device as the main body.
  • the steps performed by the relevant electric tool can be independently implemented as a communication method for the electric tool on the electric tool side, and the steps performed by the relevant gateway device can be independently implemented. Realize the communication method of the gateway device that becomes the gateway device side.
  • FIG. 20 shows a block diagram of a communication device of an electric tool provided by an embodiment of the present application.
  • the electric tool is provided with a first electronic tag, and the first electronic tag stores connection information of the electric tool.
  • the device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware.
  • the device 1900 may include:
  • the request receiving unit 1910 is configured to receive a first connection request sent by an external device based on the connection information of the electric tool;
  • the connection establishing unit 1920 is configured to establish a connection with the external device in response to the first connection request.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the electric tool, and then the external device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the external device, the operation is simple and the connection speed is fast.
  • the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs.
  • the content structure of the electric tool is divided into different functional modules to complete all or part of the functions described above.
  • the device provided by the above embodiment and the system embodiment belong to the same idea, and the implementation process thereof is detailed in the system embodiment, and will not be repeated here.
  • FIG. 21 shows a block diagram of a communication device for an external device provided by an embodiment of the present application.
  • the device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware.
  • the device 2000 may include:
  • the information acquiring unit 2010 is configured to be close to the first electronic tag set on the electric tool, and acquire the connection information of the electric tool;
  • the request sending unit 2020 is configured to send a first connection request to the electric tool based on the connection information of the electric tool;
  • the connection establishment unit 2030 is configured to establish a connection with the electric tool.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the electric tool, and then the external device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the external device, the operation is simple and the connection speed is fast.
  • the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs.
  • the content structure of the external device is divided into different functional modules to complete all or part of the functions described above.
  • the device provided by the above embodiment and the system embodiment belong to the same idea, and its implementation process is detailed in the system embodiment, and will not be repeated here.
  • FIG. 22 shows a block diagram of a communication device for a charger of an electric tool provided by an embodiment of the present application.
  • the charger of the electric tool is provided with a second electronic label, and the second electronic label stores connection information of the charger of the electric tool.
  • the device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware.
  • the device 2100 may include:
  • the request receiving unit 2110 is configured to receive a second connection request sent by an external device based on the connection information of the charger;
  • the connection establishing unit 2120 is configured to establish a connection with the external device in response to the second connection request.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the charger, and then the external device can establish a connection with the charger based on the connection information of the charger. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the charger and the external device, the operation is simple, and the connection speed is fast.
  • the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs.
  • the content structure of the charger of the electric tool is divided into different functional modules to complete all or part of the functions described above.
  • the device provided by the above embodiment and the system embodiment belong to the same idea, and the implementation process thereof is detailed in the system embodiment, and will not be repeated here.
  • FIG. 23 shows a block diagram of a communication device for an external device provided in another embodiment of the present application.
  • the device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware.
  • the device 2200 may include:
  • the information obtaining unit 2210 is configured to be close to the second electronic label provided on the charger of the electric tool, and obtain the connection information of the charger;
  • the request sending unit 2220 is configured to send a second connection request to the charger based on the connection information of the charger;
  • the connection establishment unit 2230 is configured to establish a connection with the charger.
  • the external device by bringing the external device close to the electronic tag, the external device can obtain the connection information of the charger, and then the external device can establish a connection with the charger based on the connection information of the charger. Connection, this application only needs to bring the external device and the electronic tag close to realize the one-key intelligent connection between the charger and the external device, the operation is simple, and the connection speed is fast.
  • the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs.
  • the content structure of the external device is divided into different functional modules to complete all or part of the functions described above.
  • the device provided by the above embodiment and the system embodiment belong to the same idea, and the implementation process thereof is detailed in the system embodiment, and will not be repeated here.
  • FIG. 24 shows a block diagram of a communication device of an electric tool provided by another embodiment of the present application.
  • the electric tool is provided with a third electronic tag, and the third electronic tag stores connection information of the electric tool.
  • the device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware.
  • the device 2300 may include:
  • the request receiving unit 2310 is configured to receive a third connection request sent by the gateway device based on the connection information of the electric tool;
  • the connection establishing unit 2320 is configured to establish a connection with the gateway device in response to the third connection request.
  • the gateway device by bringing the gateway device close to the electronic tag, the gateway device can obtain the connection information of the electric tool, and then the gateway device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the gateway device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the gateway device, the operation is simple and the connection speed is fast.
  • the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs.
  • the content structure of the electric tool is divided into different functional modules to complete all or part of the functions described above.
  • the device provided by the above embodiment and the system embodiment belong to the same idea, and the implementation process thereof is detailed in the system embodiment, and will not be repeated here.
  • FIG. 25 shows a block diagram of a communication device of a gateway device provided by an embodiment of the present application.
  • the device has the function of realizing the above-mentioned method example, and the function may be realized by hardware, or may be realized by executing corresponding software by the hardware.
  • the device 2400 may include:
  • the information obtaining unit 2410 is configured to be close to the third electronic tag provided on the electric tool, and obtain the connection information of the electric tool;
  • the request sending unit 2420 is configured to send a third connection request to the electric tool based on the connection information of the electric tool;
  • the connection establishment unit 2430 is configured to establish a connection with the electric tool.
  • the gateway device by bringing the gateway device close to the electronic tag, the gateway device can obtain the connection information of the electric tool, and then the gateway device can establish a connection with the electric tool based on the connection information of the electric tool. Connection, this application only needs to bring the gateway device and the electronic tag close to realize the one-key intelligent connection between the electric tool and the gateway device, the operation is simple and the connection speed is fast.
  • the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to the needs.
  • the content structure of the gateway device is divided into different functional modules to complete all or part of the functions described above.
  • the device provided by the above embodiment and the system embodiment belong to the same idea, and the implementation process thereof is detailed in the system embodiment, and will not be repeated here.
  • an electric tool is also provided, and the electric tool includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, at least one program, code set or instruction set is configured to be executed by at least one processor, so as to realize the communication method of the electric tool mentioned above.
  • an external device the external device includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, at least one section of program, code set or instruction set is configured to be executed by at least one processor, so as to realize the communication method of the above-mentioned external device.
  • a charger for an electric tool includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, at least one section of program, code set or instruction set is configured to be executed by at least one processor, so as to realize the above-mentioned communication method of the charger of the electric tool.
  • an external device the external device includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, at least one section of program, code set or instruction set is configured to be executed by at least one processor, so as to realize the communication method of the above-mentioned external device.
  • an electric tool is also provided, and the electric tool includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, at least one program, code set or instruction set is configured to be executed by at least one processor, so as to realize the communication method of the electric tool mentioned above.
  • a gateway device in an exemplary embodiment, includes a processor and a memory, and the memory stores at least one instruction, at least one program, a code set or an instruction set.
  • the at least one instruction, at least one section of program, code set or instruction set is configured to be executed by at least one processor, so as to realize the above-mentioned communication method of the gateway device.
  • the "plurality” mentioned herein means at least two.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently.
  • the character "/” generally indicates that the contextual objects are an "or” relationship.
  • the numbering of the steps described herein only exemplarily shows a possible sequence of execution among the steps. In some other embodiments, the above-mentioned steps may not be executed according to the order of the numbers, such as two different numbers The steps are executed at the same time, or two steps with different numbers are executed in the reverse order as shown in the illustration, which is not limited in this embodiment of the present application.
  • the program can be stored in a computer-readable storage medium.
  • the above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

Les modes de réalisation de la présente demande se rapportent au domaine technique des communications. Sont divulgués un système, un procédé et un appareil de communication appliqués à un outil électrique, ainsi qu'un outil électrique. Le système comprend un dispositif externe et un outil électrique, une première étiquette électronique étant disposée sur l'outil électrique ; la première étiquette électronique est configurée pour envoyer des informations de connexion de l'outil électrique au dispositif externe en réponse à l'approche du dispositif externe de la première étiquette électronique ; le dispositif externe est configuré pour envoyer une première demande de connexion à l'outil électrique d'après les informations de connexion de l'outil électrique ; et l'outil électrique est configuré pour établir une connexion avec le dispositif externe en réponse à la première demande de connexion.
PCT/CN2022/108776 2021-08-27 2022-07-29 Système de communication, procédé et appareil appliqués à un outil électrique, et outil électrique WO2023024823A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280011100.7A CN117837180A (zh) 2021-08-27 2022-07-29 应用于电动工具的通信系统、通信方法、装置及电动工具

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110993356 2021-08-27
CN202110993356.X 2021-08-27

Publications (1)

Publication Number Publication Date
WO2023024823A1 true WO2023024823A1 (fr) 2023-03-02

Family

ID=85322423

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108776 WO2023024823A1 (fr) 2021-08-27 2022-07-29 Système de communication, procédé et appareil appliqués à un outil électrique, et outil électrique

Country Status (2)

Country Link
CN (1) CN117837180A (fr)
WO (1) WO2023024823A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150091508A1 (en) * 2013-10-01 2015-04-02 Blackberry Limited Bi-directional communication with a device under charge
CN105498167A (zh) * 2014-12-09 2016-04-20 山东汇祥健身器材有限公司 一种电动运动器材与移动终端的快速通讯配对方法
CN106580502A (zh) * 2016-07-14 2017-04-26 舒可士(深圳)科技有限公司 一种带电子标签的电动牙刷及其控制方法
CN110712558A (zh) * 2019-11-05 2020-01-21 北京华商三优新能源科技有限公司 电动车充电方法、装置及系统
WO2020062344A1 (fr) * 2018-09-30 2020-04-02 华为技术有限公司 Procédé de transmission de données et dispositif électronique

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150091508A1 (en) * 2013-10-01 2015-04-02 Blackberry Limited Bi-directional communication with a device under charge
CN105498167A (zh) * 2014-12-09 2016-04-20 山东汇祥健身器材有限公司 一种电动运动器材与移动终端的快速通讯配对方法
CN106580502A (zh) * 2016-07-14 2017-04-26 舒可士(深圳)科技有限公司 一种带电子标签的电动牙刷及其控制方法
WO2020062344A1 (fr) * 2018-09-30 2020-04-02 华为技术有限公司 Procédé de transmission de données et dispositif électronique
CN110712558A (zh) * 2019-11-05 2020-01-21 北京华商三优新能源科技有限公司 电动车充电方法、装置及系统

Also Published As

Publication number Publication date
CN117837180A (zh) 2024-04-05

Similar Documents

Publication Publication Date Title
US20200213101A1 (en) System and method for securely configuring a new device with network credentials
US10721208B2 (en) System and method for automatic wireless network authentication in an internet of things (IOT) system
US10454152B2 (en) Modular antenna for integration with an internet of things (IoT) hub and associated systems and methods
US10248407B2 (en) Integrated development tool with preview functionality for an internet of things (IoT) system
US11330473B2 (en) System and method for flow control in an internet of things (IoT) system
JP6993973B2 (ja) モノのインターネット(IoT)システムのための統合開発ツール
US10223101B2 (en) Integrated development tool with preview functionality for an internet of things (IoT) system
CN108028770B (zh) 用于配置嵌入式设备的系统、方法和装置
US20180338280A1 (en) Embedded internet of things (iot) hub for integration with an appliance and associated systems and methods
US20200169460A1 (en) System and method for pre-enrollment and network pre-configuration of internet of things (iot) devices
US20180048710A1 (en) Internet of things (iot) storage device, system and method
EP1850255B1 (fr) Système et procédé de gestion des sessions de carte intelligente multiples
US20170171728A1 (en) System and method for reducing wireless traffic when connecting an iot hub to an iot device
US20200154448A1 (en) System and method for intelligent communication channel selection for an internet of things (iot) device
US11469957B2 (en) System and method for managing and configuring attributes of internet of things (IoT) devices
US11576040B2 (en) Simplified Wi-Fi and/or cloud enrollment for Wi-Fi devices
US10805344B2 (en) Apparatus and method for obscuring wireless communication patterns
WO2023024823A1 (fr) Système de communication, procédé et appareil appliqués à un outil électrique, et outil électrique
CN113726585B (zh) 智能家居设备、设备入网方法及系统
CN100596144C (zh) 微域无线网数字设备遥控接口通讯方法
KR102723973B1 (ko) 사물 인터넷(IoT) 시스템에서 보안 통신 채널을 설정하기 위한 장치 및 방법

Legal Events

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

Ref document number: 22860169

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202280011100.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22860169

Country of ref document: EP

Kind code of ref document: A1