CN113873483B - Bluetooth module setting, checking and managing method of energy controller - Google Patents

Bluetooth module setting, checking and managing method of energy controller Download PDF

Info

Publication number
CN113873483B
CN113873483B CN202111001760.0A CN202111001760A CN113873483B CN 113873483 B CN113873483 B CN 113873483B CN 202111001760 A CN202111001760 A CN 202111001760A CN 113873483 B CN113873483 B CN 113873483B
Authority
CN
China
Prior art keywords
bluetooth
energy controller
bluetooth module
external test
test terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111001760.0A
Other languages
Chinese (zh)
Other versions
CN113873483A (en
Inventor
邬科科
刘宁
冯丹荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN202111001760.0A priority Critical patent/CN113873483B/en
Publication of CN113873483A publication Critical patent/CN113873483A/en
Application granted granted Critical
Publication of CN113873483B publication Critical patent/CN113873483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a Bluetooth module setting inspection management method of an energy controller, which is characterized in that by establishing Bluetooth connection between a Bluetooth module in the energy controller and an external test terminal, connection between the external test terminal and an RS232 interface of the energy controller and bridging between the energy controller and the Bluetooth module, closed communication among the energy controller, the Bluetooth module and the external test terminal is realized, the external test terminal conveniently sends Bluetooth parameter setting instructions to the RS232 interface of the energy controller, and then the Bluetooth parameter setting instructions are transferred to the Bluetooth module through bridging in closed-loop communication so as to facilitate the Bluetooth module to execute Bluetooth parameter setting operation, which is equivalent to the external test terminal directly sending the Bluetooth parameter setting instructions to the Bluetooth module in the energy controller, and Bluetooth parameter setting can be conveniently and rapidly realized without using serial ports of the Bluetooth module.

Description

Bluetooth module setting, checking and managing method of energy controller
Technical Field
The invention relates to the field of electric power, in particular to a Bluetooth module setting, checking and managing method of an energy controller.
Background
In order to meet the diversified demands of the market for the electricity consumption information acquisition terminals, corresponding module combinations can be configured in each region according to actual demands, so that terminals with different functions are formed, and the energy controllers based on the modules are generated.
As a new terminal form in the electric power field, a bluetooth module is usually arranged on the energy controller to replace the original infrared communication module, so as to meet the data communication requirement of the energy controller and the outside based on the bluetooth connection mode. Since the bluetooth module is mounted to the energy controller as a separate module, data interaction with the relevant components on the energy controller occurs. In actual situations, the bluetooth module itself has independent software, and the software version in the bluetooth module will be updated based on the actual demand scenario of the function update or problem repair. Before the energy controller leaves the factory, the producer of the energy controller needs to make independent setting detection management on the Bluetooth module of the energy controller, and even sometimes needs to upgrade the Bluetooth software version in time so as to ensure that the set Bluetooth module can work normally on the energy controller.
However, the bluetooth module setting inspection management method of the existing energy controller has the following defects: the setting process of the Bluetooth module is usually carried out by adopting a mobile phone with a display function or other test terminal equipment, the test terminal equipment is provided with a Bluetooth module for testing, and the test terminal equipment is also required to be provided with corresponding Bluetooth test software so as to ensure that the Bluetooth module on the energy controller can establish Bluetooth connection with the Bluetooth module of the test terminal equipment to complete Bluetooth communication test work. Once the parameters of the Bluetooth module of the energy controller are required to be set, the Bluetooth parameter setting operation is complicated and the efficiency is low because the Bluetooth parameter setting operation is required to be carried out through the serial port of the Bluetooth module.
Disclosure of Invention
The invention aims to provide a Bluetooth module setting, checking and managing method of an energy controller aiming at the prior art.
The technical scheme adopted for solving the technical problems is as follows: the Bluetooth module setting, checking and managing method of the energy controller is characterized by comprising the following steps:
step 1, establishing serial port connection between a Bluetooth module and a processor in an energy controller and Bluetooth communication connection between the Bluetooth module and an external test terminal; the Bluetooth module in the energy controller is provided with a serial port, and the external test terminal is provided with Bluetooth setting test software;
step 2, the Bluetooth module of the energy controller is reset in an initialization stage of the processor, and the Bluetooth module enters an AT instruction mode;
step 3, switching serial port connection between the Bluetooth module in the energy controller and the processor into a transmission mode, acquiring a version of the Bluetooth module in the energy controller through an AT instruction and setting an MAC address of the Bluetooth module;
step 4, establishing software bridging between an RS232 interface of the energy controller and a serial port channel of a Bluetooth module in the energy controller;
and 5, the external test terminal performs Bluetooth setting inspection test on the Bluetooth module through Bluetooth setting test software installed by the external test terminal.
Further, in the bluetooth module setting check management method of the energy controller, in step 3, the setting process for the MAC address of the bluetooth module in the energy controller includes the following steps:
step 31, the energy controller obtains the Bluetooth version of the Bluetooth module through an AT instruction and stores the obtained Bluetooth version;
step 32, the energy controller obtains the MAC address of the Bluetooth module and the terminal address of the energy controller;
step 33, the energy controller judges whether the MAC address of the bluetooth module needs to be reset according to the acquired MAC address and terminal address:
when the MAC address needs to be reset, the terminal address is used as the MAC address after the Bluetooth module is reset; otherwise, no reset is made for the MAC address.
In the bluetooth module setting check management method of the energy controller, in step 4, the software bridge establishment process includes the following steps:
step 41, the energy controller records the original mode of the RS232 interface of the energy controller, and switches the RS232 interface and the Bluetooth serial port of the Bluetooth module in the energy controller into a transmission mode;
step 42, the energy controller sets the baud rate of the RS232 interface and the baud rate of the Bluetooth serial port of the Bluetooth module respectively;
step 43, the energy controller resets the bluetooth module to an AT instruction mode;
step 44, the energy controller makes a judgment process on whether the communication connection occurs in a preset time period:
when communication connection occurs, the RS232 interface and the Bluetooth serial port of the Bluetooth module are closed, and the step 45 is carried out; otherwise, go to step 46;
step 45, the energy controller restores the mode of the RS232 interface and switches the Bluetooth serial port to a Bluetooth communication mode;
step 46, the energy controller makes a judgment on whether the data is read by the RS232 interface:
when the data is read, forwarding the read data to a Bluetooth serial port of a Bluetooth module; otherwise, go to step 47;
step 47, the energy controller makes a judgment on whether the bluetooth serial port reads data:
when the data is read, forwarding the read data to an RS232 interface of the data; otherwise, go to step 44.
In the bluetooth module setting inspection management method of the energy controller, in step 5, the process of performing bluetooth setting inspection on the bluetooth module by the external test terminal through the bluetooth setting test software installed by the external test terminal comprises the following steps:
step 51, the external test terminal obtains the bluetooth version and the MAC address of the bluetooth module stored by the energy controller on the RS232 interface of the energy controller;
step 52, the external test terminal makes judgment processing according to the acquired Bluetooth version:
when the Bluetooth version is legal, the energy controller is enabled to switch the RS232 interface to be in a bridging mode, and the step 53 is carried out; otherwise, the external test terminal ends the Bluetooth setting test;
step 53, the external test terminal establishes bluetooth communication with the energy controller based on the bluetooth module, and sends a test command to the energy controller;
step 54, the energy controller processes according to the receiving condition of the test command:
when a test command is received through the RS232 channel, the energy controller sends test response information aiming at the test command to an external test terminal, and the step 55 is carried out; otherwise, the energy controller ends the Bluetooth setting inspection;
step 55, the external test terminal processes according to the receiving condition of the test response information:
when test response information is received through the Bluetooth channel, judging that the Bluetooth setting and testing are successful; otherwise, the external test terminal ends the Bluetooth setting test.
Further, in the bluetooth module setting check management method of the energy controller, the version legal in step 52 is whether the bluetooth version of the bluetooth module is the latest bluetooth version set by the external test terminal.
In the Bluetooth module setting inspection management method of the energy controller, the external test terminal is connected with an RS232 interface of the energy controller through a USB R232 conversion device; and the external test terminal is connected with the Bluetooth module in the energy controller through the USB-to-Bluetooth device.
In a further improvement, in the bluetooth module setting inspection management method of the energy controller, the external test terminal is provided with a plurality of devices for converting USB into R232 and a plurality of devices for converting USB into bluetooth.
Optionally, in the bluetooth module setting inspection management method of the energy controller, the external test terminal is a mobile terminal or a PC terminal.
Still further, in the bluetooth module setting check management method of the energy controller, the energy controller performs an upgrade management processing operation on a bluetooth software version of a built-in bluetooth module thereof.
In this invention, the bluetooth module setting inspection management method of the energy controller further comprises: and the energy controller and the master station perform synchronous operation processing aiming at the Bluetooth software version information of the energy controller.
Compared with the prior art, the invention has the advantages that: the invention realizes the software bridging between the RS232 interface of the energy controller and the serial port channel of the Bluetooth module in the energy controller by establishing the Bluetooth connection between the Bluetooth module in the energy controller and the external test terminal and the connection between the external test terminal and the RS232 interface of the energy controller, thereby achieving the closed communication among the energy controller, the Bluetooth module and the external test terminal, facilitating the instruction sent by the external test terminal to the RS232 interface of the energy controller to be equivalent to the instruction directly sent to the Bluetooth module in the energy controller, thereby not needing to specially utilize the serial port of the Bluetooth module to set Bluetooth parameters, but directly sending the Bluetooth parameter setting instruction to the energy controller by the external test terminal through the RS232 channel, and then transferring the Bluetooth parameter setting instruction to the Bluetooth module through the bridging in the closed-loop communication, and facilitating the Bluetooth module to execute the Bluetooth parameter setting operation.
Drawings
Fig. 1 is a schematic diagram of a bluetooth module setting inspection management method of an energy controller according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating connection among an energy controller, a bluetooth module and an external test terminal in an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the embodiments of the drawings.
The embodiment provides a Bluetooth module setting, checking and managing method of an energy controller. Specifically, referring to fig. 1, the bluetooth module setting inspection management method of the energy controller of this embodiment includes the steps of:
step 1, establishing serial port connection between a Bluetooth module and a processor in an energy controller and Bluetooth communication connection between the Bluetooth module and an external test terminal; the Bluetooth module in the energy controller is provided with a serial port, and the external test terminal is provided with Bluetooth setting test software; the external test terminal may be a mobile terminal or a PC terminal, wherein the external test terminal of this embodiment adopts the PC terminal; referring to fig. 2, an external test terminal is connected with an RS232 interface of an energy controller through a USB to R232 device; the external test terminal is connected with a Bluetooth module in the energy controller through a USB-to-Bluetooth device;
step 2, the Bluetooth module of the energy controller is reset in an initialization stage of the processor, and the Bluetooth module enters an AT instruction mode;
step 3, switching serial port connection between the Bluetooth module in the energy controller and the processor into a transmission mode, acquiring a version of the Bluetooth module in the energy controller through an AT instruction and setting an MAC address of the Bluetooth module; the setting process of the MAC address of the bluetooth module in the energy controller includes the following steps 31 to 33:
step 31, the energy controller obtains the Bluetooth version of the Bluetooth module through an AT instruction and stores the obtained Bluetooth version;
step 32, the energy controller obtains the MAC address of the Bluetooth module and the terminal address of the energy controller;
step 33, the energy controller judges whether the MAC address of the bluetooth module needs to be reset according to the acquired MAC address and terminal address:
when the MAC address needs to be reset, the terminal address is used as the MAC address after the Bluetooth module is reset; otherwise, the MAC address is not reset;
step 4, establishing software bridging between an RS232 interface of the energy controller and a serial port channel of a Bluetooth module in the energy controller; in this step 4, the establishment procedure of the software bridge here includes the following steps 41 to 47:
step 41, the energy controller records the original mode of the RS232 interface of the energy controller, and switches the RS232 interface and the Bluetooth serial port of the Bluetooth module in the energy controller into a transmission mode;
step 42, the energy controller sets the baud rate of the RS232 interface and the baud rate of the Bluetooth serial port of the Bluetooth module respectively;
step 43, the energy controller resets the bluetooth module to an AT instruction mode;
step 44, the energy controller makes a judgment process on whether the communication connection occurs in a preset time period:
when communication connection occurs, the RS232 interface and the Bluetooth serial port of the Bluetooth module are closed, and the step 45 is carried out; otherwise, go to step 46; wherein, in this embodiment, the preset time period herein is set to 10 seconds;
step 45, the energy controller restores the mode of the RS232 interface and switches the Bluetooth serial port to a Bluetooth communication mode;
step 46, the energy controller makes a judgment on whether the data is read by the RS232 interface:
when the data is read, forwarding the read data to a Bluetooth serial port of a Bluetooth module; otherwise, go to step 47;
step 47, the energy controller makes a judgment on whether the bluetooth serial port reads data:
when the data is read, forwarding the read data to an RS232 interface of the data; otherwise, go to step 44;
and 5, the external test terminal performs Bluetooth setting inspection test on the Bluetooth module through Bluetooth setting test software installed by the external test terminal. Specifically, in this embodiment, the process of the external test terminal performing bluetooth setting inspection on the bluetooth module through the bluetooth setting test software installed therein includes the following steps 51 to 55:
step 51, the external test terminal obtains the bluetooth version and the MAC address of the bluetooth module stored by the energy controller on the RS232 interface of the energy controller;
step 52, the external test terminal makes judgment processing according to the acquired Bluetooth version:
when the Bluetooth version is legal, the energy controller is enabled to switch the RS232 interface to be in a bridging mode, and the step 53 is carried out; otherwise, the external test terminal ends the Bluetooth setting test; the version legitimacy is whether the Bluetooth version of the Bluetooth module is the latest Bluetooth version set by the external test terminal and corresponding to the Bluetooth module, and if the acquired Bluetooth version is the latest Bluetooth version, the Bluetooth version is determined to be legal;
step 53, the external test terminal establishes bluetooth communication with the energy controller based on the bluetooth module, and sends a test command to the energy controller;
step 54, the energy controller processes according to the receiving condition of the test command:
when a test command is received through the RS232 channel, the energy controller sends test response information aiming at the test command to an external test terminal, and the step 55 is carried out; otherwise, the energy controller ends the Bluetooth setting inspection;
step 55, the external test terminal processes according to the receiving condition of the test response information:
when test response information is received through the Bluetooth channel, the Bluetooth module in the external test terminal, the energy controller and the energy controller form closed-loop communication through the Bluetooth channel and the RS232 channel, and the Bluetooth setting test is judged to be successful; otherwise, the external test terminal ends the Bluetooth setting test.
Of course, according to the actual test requirements, the external test terminal of this embodiment, i.e. the PC terminal, may be provided with a plurality of USB to R232 devices and a plurality of USB to bluetooth devices. Therefore, the method can utilize one external test terminal to respectively complete the setting, checking and management of the Bluetooth modules in the plurality of energy controllers.
Because the bluetooth module of the energy controller is provided with the bluetooth software of the corresponding version, when the energy controller is not connected with the external test terminal, the energy controller can also execute upgrade management processing operation on the bluetooth software version of the built-in bluetooth module in the embodiment because of the need of ensuring normal permission of the bluetooth module. Specifically, the upgrade management processing operation for the bluetooth software version of the bluetooth module herein includes the following steps S1 to S6:
step S1, a Bluetooth software supporting version database is stored in an energy controller in advance; the Bluetooth software support version database comprises at least one Bluetooth software version information of the adaptive support energy controller;
step S2, the energy controller detects the state of the Bluetooth software support version database after starting:
when the Bluetooth software supporting version database is in a normal state, turning to step S3; otherwise, the energy controller acquires Bluetooth software version information adaptive to the energy controller from the remote server, stores the acquired Bluetooth software version information into a Bluetooth software supporting version database, and transfers to step S3; wherein, the remote server is a server for managing the energy controller;
step S3, the energy controller acquires the Bluetooth software version information of the current Bluetooth module, and performs interpretation processing according to the acquired result of the Bluetooth software version information:
when the Bluetooth software version information is acquired, the Bluetooth module is already installed in the energy controller, and the step S4 is performed; otherwise, the energy controller is not informed of acquiring the Bluetooth software version information, namely, the Bluetooth module is not installed in the energy controller, the energy controller sends alarm information to the master station at the moment, and the display screen of the energy controller is controlled to display the prompt information of the current Bluetooth module according to the requirement;
step S4, the energy controller performs interpretation processing according to the acquired Bluetooth software version information and the Bluetooth software support version database:
when the Bluetooth software version information is located in the Bluetooth software supporting version database, the Bluetooth software version is indicated to support the Bluetooth module in the energy controller, and the step S5 is carried out; otherwise, the Bluetooth software version is not supported by the Bluetooth module in the energy controller, and the step S6 is carried out;
step S5, the energy controller judges whether the Bluetooth software version information of the current Bluetooth module needs to be updated or not:
when the Bluetooth software version needs to be updated, the energy controller upgrades the Bluetooth software version of the current Bluetooth module by utilizing the preset Bluetooth software version of the energy controller; otherwise, the energy controller does not upgrade the Bluetooth software version of the current Bluetooth module; in the step S5, the energy controller also performs a software version upgrade record on the bluetooth software version upgrade information of the current bluetooth module according to the need;
step S6, the energy controller judges whether the current Bluetooth module supports the necessary AT instruction or not:
when the necessary AT instruction is supported, the energy controller adds the Bluetooth software version information of the current Bluetooth module into a Bluetooth software supporting version database as the Bluetooth software version information of the adaptive supporting energy controller; otherwise, the current Bluetooth module is not supported by the necessary AT instruction, the energy controller sends alarm information to the master station, and the display screen is controlled to display prompt information of the Bluetooth software version information of the current Bluetooth module according to the requirement. Among other things, the requisite AT instructions herein include a standard AT instruction set and an extended AT instruction set. Specifically, in step S6, the process of determining whether the current bluetooth module supports the necessary AT instruction by the energy controller includes steps S61 to S62:
step S61, the energy controller makes a test judgment on whether the current bluetooth module supports the standard AT instruction set:
when the standard AT instruction set is supported, recording standard AT instruction support information, and proceeding to step S62; otherwise, judging that the current Bluetooth module does not support the necessary AT instruction;
step S62, the energy controller makes a test judgment on whether the current bluetooth module supports the extended AT instruction set:
when the extended AT instruction set is supported, judging that the current Bluetooth module supports a necessary AT instruction, and recording extended AT instruction support information; otherwise, it is determined that the current bluetooth module does not support the requisite AT command.
In order to enable the master station to timely acquire the Bluetooth software version information of the current Bluetooth module in the energy controller, in the embodiment, the energy controller and the master station in the embodiment can perform synchronous operation processing on the Bluetooth software version information supporting the energy controller according to requirements.
In addition, the serial number of the bluetooth module of the energy controller, the bluetooth software version information, and the necessary AT instructions supported by the bluetooth software version information may be stored in advance in the energy controller before executing step S2, as needed.
While the preferred embodiments of the present invention have been described in detail, it is to be clearly understood that the same may be varied in many ways by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The Bluetooth module setting, checking and managing method of the energy controller is characterized by comprising the following steps:
step 1, establishing serial port connection between a Bluetooth module and a processor in an energy controller and Bluetooth communication connection between the Bluetooth module and an external test terminal; the Bluetooth module in the energy controller is provided with a serial port, and the external test terminal is provided with Bluetooth setting test software;
step 2, the Bluetooth module of the energy controller is reset in an initialization stage of the processor, and the Bluetooth module enters an AT instruction mode;
step 3, switching serial port connection between the Bluetooth module in the energy controller and the processor into a transmission mode, acquiring a version of the Bluetooth module in the energy controller through an AT instruction and setting an MAC address of the Bluetooth module;
step 4, establishing software bridging between an RS232 interface of the energy controller and a serial port channel of a Bluetooth module in the energy controller;
and 5, the external test terminal performs Bluetooth setting inspection test on the Bluetooth module through Bluetooth setting test software installed by the external test terminal.
2. The bluetooth module setting check management method for an energy controller according to claim 1, wherein in step 3, the setting process for the MAC address of the bluetooth module in the energy controller comprises the steps of:
step 31, the energy controller obtains the Bluetooth version of the Bluetooth module through an AT instruction and stores the obtained Bluetooth version;
step 32, the energy controller obtains the MAC address of the Bluetooth module and the terminal address of the energy controller;
step 33, the energy controller judges whether the MAC address of the bluetooth module needs to be reset according to the acquired MAC address and terminal address:
when the MAC address needs to be reset, the terminal address is used as the MAC address after the Bluetooth module is reset; otherwise, no reset is made for the MAC address.
3. The bluetooth module setting check management method of an energy controller according to claim 1, wherein in step 4, the software bridge establishment process includes the steps of:
step 41, the energy controller records the original mode of the RS232 interface of the energy controller, and switches the RS232 interface and the Bluetooth serial port of the Bluetooth module in the energy controller into a transmission mode;
step 42, the energy controller sets the baud rate of the RS232 interface and the baud rate of the Bluetooth serial port of the Bluetooth module respectively;
step 43, the energy controller resets the bluetooth module to an AT instruction mode;
step 44, the energy controller makes a judgment process on whether the communication connection occurs in a preset time period:
when communication connection occurs, the RS232 interface and the Bluetooth serial port of the Bluetooth module are closed, and the step 45 is carried out; otherwise, go to step 46;
step 45, the energy controller restores the mode of the RS232 interface and switches the Bluetooth serial port to a Bluetooth communication mode;
step 46, the energy controller makes a judgment on whether the data is read by the RS232 interface:
when the data is read, forwarding the read data to a Bluetooth serial port of a Bluetooth module; otherwise, go to step 47;
step 47, the energy controller makes a judgment on whether the bluetooth serial port reads data:
when the data is read, forwarding the read data to an RS232 interface of the data; otherwise, go to step 44.
4. The bluetooth module setting check management method of an energy controller according to claim 1, wherein in step 5, the process of the external test terminal performing bluetooth setting check on the bluetooth module through bluetooth setting test software installed therein comprises the steps of:
step 51, the external test terminal obtains the bluetooth version and the MAC address of the bluetooth module stored by the energy controller on the RS232 interface of the energy controller;
step 52, the external test terminal makes judgment processing according to the acquired Bluetooth version:
when the Bluetooth version is legal, the energy controller is enabled to switch the RS232 interface to be in a bridging mode, and the step 53 is carried out; otherwise, the external test terminal ends the Bluetooth setting test;
step 53, the external test terminal establishes bluetooth communication with the energy controller based on the bluetooth module, and sends a test command to the energy controller;
step 54, the energy controller processes according to the receiving condition of the test command:
when a test command is received through the RS232 channel, the energy controller sends test response information aiming at the test command to an external test terminal, and the step 55 is carried out; otherwise, the energy controller ends the Bluetooth setting inspection;
step 55, the external test terminal processes according to the receiving condition of the test response information:
when test response information is received through the Bluetooth channel, judging that the Bluetooth setting and testing are successful; otherwise, the external test terminal ends the Bluetooth setting test.
5. The method of claim 4, wherein the version legitimacy in step 52 is whether the bluetooth version of the bluetooth module is the latest bluetooth version set by the external test terminal.
6. The method for checking and managing bluetooth module settings of an energy controller according to claim 1, wherein the external test terminal is connected with an RS232 interface of the energy controller through a USB-to-R232 device; and the external test terminal is connected with the Bluetooth module in the energy controller through the USB-to-Bluetooth device.
7. The method for bluetooth module configuration check management of an energy controller according to claim 6, wherein the external test terminal is provided with a plurality of USB-to-R232 devices and a plurality of USB-to-bluetooth devices.
8. The bluetooth module setting inspection management method of an energy controller according to any one of claims 1 to 7, wherein the external test terminal is a mobile terminal or a PC terminal.
9. The bluetooth module setting check management method of an energy controller according to any one of claims 1 to 7, wherein the energy controller performs an upgrade management processing operation on a bluetooth software version of its built-in bluetooth module.
10. The bluetooth module setting check management method of an energy controller according to claim 8, further comprising: the energy controller and the master station perform synchronous operation processing aiming at the Bluetooth software version information of the energy controller.
CN202111001760.0A 2021-08-30 2021-08-30 Bluetooth module setting, checking and managing method of energy controller Active CN113873483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111001760.0A CN113873483B (en) 2021-08-30 2021-08-30 Bluetooth module setting, checking and managing method of energy controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111001760.0A CN113873483B (en) 2021-08-30 2021-08-30 Bluetooth module setting, checking and managing method of energy controller

Publications (2)

Publication Number Publication Date
CN113873483A CN113873483A (en) 2021-12-31
CN113873483B true CN113873483B (en) 2023-04-28

Family

ID=78988812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111001760.0A Active CN113873483B (en) 2021-08-30 2021-08-30 Bluetooth module setting, checking and managing method of energy controller

Country Status (1)

Country Link
CN (1) CN113873483B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184495A (en) * 2013-05-21 2014-12-03 北京神州泰岳软件股份有限公司 Bluetooth-GPS communication device and Bluetooth-GPS communication method
CN105005540A (en) * 2015-05-22 2015-10-28 飞天诚信科技股份有限公司 CCID equipment with Bluetooth interface and working method of CCID equipment
CN105101061A (en) * 2015-08-07 2015-11-25 深圳市广和通无线股份有限公司 Bluetooth communication realization method by means of AT command
CN105891764A (en) * 2016-03-31 2016-08-24 惠州中城电子科技有限公司 Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication
CN107980233A (en) * 2017-03-06 2018-05-01 深圳大趋智能科技有限公司 Automatic test approach, the apparatus and system of Bluetooth POS terminal
WO2021088276A1 (en) * 2019-11-07 2021-05-14 上海驰亚信息技术有限公司 Intelligent induction type multimedia shopping guide device and application system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9344185B2 (en) * 2013-03-27 2016-05-17 BBPOS Limited System and method for secure pairing of bluetooth devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184495A (en) * 2013-05-21 2014-12-03 北京神州泰岳软件股份有限公司 Bluetooth-GPS communication device and Bluetooth-GPS communication method
CN105005540A (en) * 2015-05-22 2015-10-28 飞天诚信科技股份有限公司 CCID equipment with Bluetooth interface and working method of CCID equipment
CN105101061A (en) * 2015-08-07 2015-11-25 深圳市广和通无线股份有限公司 Bluetooth communication realization method by means of AT command
CN105891764A (en) * 2016-03-31 2016-08-24 惠州中城电子科技有限公司 Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication
CN107980233A (en) * 2017-03-06 2018-05-01 深圳大趋智能科技有限公司 Automatic test approach, the apparatus and system of Bluetooth POS terminal
WO2021088276A1 (en) * 2019-11-07 2021-05-14 上海驰亚信息技术有限公司 Intelligent induction type multimedia shopping guide device and application system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭方勇 ; 瞿伟 ; 刘子宁 ; 王昂 ; .基于蓝牙透传模式的NB-IoT信号检测系统设计.现代计算机.2020,(13),全文. *

Also Published As

Publication number Publication date
CN113873483A (en) 2021-12-31

Similar Documents

Publication Publication Date Title
CN105897860B (en) Network device and information processing method
CN103023681B (en) Smart home control device, update method
KR20170112937A (en) Smart factory system, factory management information providing method and computer readable recording medium based on collecting machine operating information automatically
CN105135615A (en) Debugging method and device of air conditioner
CN104753130A (en) Mobile equipment charging device and software mounting method thereof
CN107707405A (en) The method and its remote control that intelligent closestool firmware remotely updates are realized by remote control
WO2019007232A1 (en) Battery charging and swapping station monitoring system based on b/s architecture, and battery charging and swapping station
CN104579752A (en) Remote automatic upgrading system and remote automatic upgrading method
CN204424942U (en) Charging of mobile devices device
JP2007288579A (en) Base station log collection apparatus, collection method of log of base station, and computer program
CN111246546A (en) Networking working method of off-line electric embedded equipment
CN110602768B (en) Intelligent Internet of things gateway method and device fusing multiple types of data transmission protocols
CN102063321A (en) Installation method, device and system of terminal software
CN113873483B (en) Bluetooth module setting, checking and managing method of energy controller
CN112866980B (en) Pre-authentication 4G communication module and firmware upgrading method thereof
US10797978B2 (en) Communication adapter and connection test run method therefor
CN203261357U (en) Novel universal Internet-of-things gateway
KR101770588B1 (en) Sensor controller and sensor assembly for collecting a variety of operating data of machine
CN111918317B (en) AP control method and device, wireless controller and storage medium
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
CN105242938B (en) Automated procedures download system and method
CN105529738A (en) Power quality monitoring device and method for distributed power supply
CN114125010A (en) MQTT protocol-based centralized controller control method, system and equipment
CN101527951B (en) Method for registering network at mobile terminal and mobile terminal
US20210149665A1 (en) Communication adapter and program update method for communication adapter

Legal Events

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