CN112788578A - Power terminal Bluetooth communication system and control method thereof - Google Patents

Power terminal Bluetooth communication system and control method thereof Download PDF

Info

Publication number
CN112788578A
CN112788578A CN202011610896.7A CN202011610896A CN112788578A CN 112788578 A CN112788578 A CN 112788578A CN 202011610896 A CN202011610896 A CN 202011610896A CN 112788578 A CN112788578 A CN 112788578A
Authority
CN
China
Prior art keywords
terminal
module
bluetooth
bluetooth module
interface
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.)
Pending
Application number
CN202011610896.7A
Other languages
Chinese (zh)
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.)
Xuji Group Co Ltd
Henan Xuji Instrument Co Ltd
Original Assignee
Xuji Group Co Ltd
Henan Xuji Instrument 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 Xuji Group Co Ltd, Henan Xuji Instrument Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN202011610896.7A priority Critical patent/CN112788578A/en
Publication of CN112788578A publication Critical patent/CN112788578A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
    • 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)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a power terminal Bluetooth communication system and a control method thereof, wherein a power terminal comprises a terminal CPU module and a terminal Bluetooth module; the terminal Bluetooth module is wirelessly connected with the collector Bluetooth module, and the terminal Bluetooth module and the collector Bluetooth module are Bluetooth modules with standardized interfaces; the terminal CPU module and the terminal Bluetooth module exchange data through a data link layer standardized serial port communication protocol so as to adapt to different application layer protocols. Different Bluetooth modules can be interchanged by adopting a communication interface of a standard telephone on hardware; and the universality between the terminal equipment and the Bluetooth module is improved through a data link layer standardized serial port communication protocol, the design and maintenance difficulty of the terminal equipment is reduced, the design efficiency of the power terminal equipment is improved, and the reliability of the data communication of the power terminal is improved.

Description

Power terminal Bluetooth communication system and control method thereof
Technical Field
The invention relates to the technical field of data communication of power equipment, in particular to a power terminal Bluetooth communication system and a control method thereof.
Background
At present, multi-core modularized intelligent electric energy meters, intelligent isolation switches and other terminal devices all require BLE Bluetooth to be calibrated, the BLE Bluetooth is used for replacing RS485 communication, various pulse signals are transmitted, auxiliary terminals of the terminal devices are replaced, BLE Bluetooth manufacturers are numerous, and hardware and software interface definitions are not compatible with each other. In different application scenarios, such as national network and south network multi-core modular intelligent electric energy meters, the used protocol protocols are different. At the moment, the conventional terminal equipment is difficult to configure hardware and software with a Bluetooth module interface in design, so that the standardization and the universality of a communication interface are reduced, and the application of different terminal equipment such as a multi-core modularized intelligent electric energy meter and an intelligent isolating switch cannot be met.
Disclosure of Invention
The embodiment of the invention aims to provide a power terminal Bluetooth communication system and a control method thereof, wherein different Bluetooth modules can be interchanged by adopting a communication interface of a standard telephone on hardware; and the universality between the terminal equipment and the Bluetooth module is improved through a data link layer standardized serial port communication protocol, the design and maintenance difficulty of the terminal equipment is reduced, the design efficiency of the power terminal equipment is improved, and the reliability of the data communication of the power terminal is improved.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention provides a bluetooth communication system for an electric power terminal, where the electric power terminal includes a terminal CPU module and a terminal bluetooth module;
the terminal Bluetooth module is wirelessly connected with the collector Bluetooth module, and the terminal Bluetooth module and the collector Bluetooth module are Bluetooth modules with standardized interfaces;
and the terminal CPU module and the terminal Bluetooth module exchange data through a data link layer standardized serial port communication protocol so as to adapt to different application layer protocols.
Further, the bluetooth module of the standardized interface is a standardized attached bluetooth module or an inserted bluetooth module.
Furthermore, the size of the mounted Bluetooth module is 18.6 × 13.1 × 4.8mm, and the pitch of the mounted interface pins is 1.27 mm;
the size of the plug-in Bluetooth module is 23.5 × 4.8mm, the pitch of the plug-in interface pins is 2.0mm, and the plug-in Bluetooth module is a single row of bent pins.
Further, the interface of the bluetooth module of the standardized interface includes: the system comprises a power supply VCC interface, a power supply ground VSS interface, a serial port signal RXD interface, a serial port signal TXD interface, a reactive Pulse signal Q interface, a standby signal IO interface, a reset signal/RST interface, a state signal STA interface, a MODE signal MODE interface, an active Pulse signal Pulse interface and/or a multifunctional signal M-FUN interface.
Further, the standardized serial port communication protocol data frame includes: a data preamble, a start flag byte, a data field length, a message type, a control command, a transport device address, a frame start, a data field, a check code, and/or an end.
Further, the packet types include: the method comprises the steps of data transparent transmission, Bluetooth module parameter configuration, Bluetooth module parameter reading and Bluetooth active reporting parameters.
Further, the control command includes: setting a pairing parameter instruction of the equipment and each slave equipment, setting an address parameter instruction of the equipment and each slave equipment, setting a Bluetooth working parameter instruction of the equipment, reading or actively reporting a connection state instruction of a Bluetooth link, switching to enter/exit a verification mode instruction, setting or actively reporting an equipment state information instruction, reading a module firmware version number instruction, and enabling or disabling a scanning function instruction, the method comprises the steps of setting a device address parameter instruction for filtering broadcast data, setting a device type parameter instruction for filtering the broadcast data, reading or actively reporting a broadcast filtering information instruction, setting a UART communication related parameter instruction, dynamically updating a broadcast content instruction, dynamically updating a scan response content instruction, enabling or disabling to actively report a broadcast filtering information function instruction, clearing a pairing information instruction of a specified device and/or clearing pairing information instructions of all devices.
Further, the power terminal includes: concentrator, intelligent ammeter or intelligent isolator.
Accordingly, a second aspect of the embodiments of the present invention provides a power terminal bluetooth communication control method, which controls any one of the power terminal bluetooth communication systems described above to connect, and includes the following steps:
the terminal is powered on, and the terminal Bluetooth module is controlled to send a module reset information message to the terminal CPU module;
controlling the terminal Bluetooth module to enter a to-be-configured state;
controlling the terminal CPU module to send a parameter configuration message to the terminal Bluetooth module after receiving the module reset information message, wherein the parameter configuration message comprises: an address configuration message;
and controlling the terminal Bluetooth module to be connected with the corresponding collector Bluetooth module according to the address configuration message.
Further, the power-on of the terminal, after controlling the terminal bluetooth module to send a module reset information message to the terminal CPU module, further includes:
judging whether the terminal Bluetooth module receives a confirmation message which is sent by the terminal CPU module and corresponds to the module reset information message or not within a preset time;
if not, controlling the terminal Bluetooth module to resend the module reset information message;
and if so, controlling the terminal Bluetooth module to enter a to-be-configured state.
Further, the parameter configuration packet further includes: and the equipment pairing message and/or the Bluetooth working parameter message.
The technical scheme of the embodiment of the invention has the following beneficial technical effects:
different Bluetooth modules can be interchanged by adopting a communication interface of a standard telephone on hardware; and the universality between the terminal equipment and the Bluetooth module is improved through a data link layer standardized serial port communication protocol, the design and maintenance difficulty of the terminal equipment is reduced, the design efficiency of the power terminal equipment is improved, and the reliability of the data communication of the power terminal is improved.
Drawings
Fig. 1 is a diagram illustrating a standard bluetooth module size interface definition according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a standardized Bluetooth module size interface definition according to an embodiment of the present invention;
fig. 3 is a flowchart of a bluetooth communication control method for an electric power terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a bluetooth communication structure of the power terminal according to the embodiment of the present invention.
Reference numerals:
101. a terminal Bluetooth module 102, a multi-protocol application layer 103, a standardized link 104, a terminal Bluetooth standardized hardware interface 105, a standardized physical channel 106, a terminal PCB standardized hardware interface 107, a standardized link 108, a multi-protocol application layer 109 and a terminal CPU module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
The first aspect of the embodiment of the invention provides a power terminal Bluetooth communication system, wherein a power terminal comprises a terminal CPU module and a terminal Bluetooth module; the terminal Bluetooth module is wirelessly connected with the collector Bluetooth module, and the terminal Bluetooth module and the collector Bluetooth module are Bluetooth modules with standardized interfaces; the terminal CPU module and the terminal Bluetooth module exchange data through a data link layer standardized serial port communication protocol so as to adapt to different application layer protocols.
Fig. 1 is a diagram illustrating a standardized bluetooth module size interface definition according to an embodiment of the present invention.
Fig. 2 is a diagram illustrating a standardized interface definition of a bluetooth module size interface according to an embodiment of the present invention.
Specifically, referring to fig. 1 and 2, the bluetooth module of the standardized interface is a standardized attached bluetooth module or an attached bluetooth module.
Further, the size of the mounted bluetooth module is 18.6 × 13.1 × 4.8mm, and the pitch of the mounted interface pins is 1.27 mm. The size of the plug-in Bluetooth module is 23.5 × 4.8mm, the pitch of the plug-in interface pins is 2.0mm, and the plug-in Bluetooth module is a single row of bent pins.
Specifically, the interface of the bluetooth module of the standardized interface includes: the system comprises a power supply VCC interface, a power supply ground VSS interface, a serial port signal RXD interface, a serial port signal TXD interface, a reactive Pulse signal Q interface, a standby signal IO interface, a reset signal/RST interface, a state signal STA interface, a MODE signal MODE interface, an active Pulse signal Pulse interface and/or a multifunctional signal M-FUN interface.
Specifically, a standard communication interface for mounting a bluetooth module or for mounting a bluetooth module is shown in table 1.
TABLE 1
Figure BDA0002874556570000051
Figure BDA0002874556570000061
The voltage resistance of the terminal management core and the open drain end of the communication module is 5.5V, the low-level current driving capability of all the output interfaces is more than or equal to 2mA, and the voltage to ground is less than or equal to 0.4V when the load current of 2mA is driven. A signal MODE: bluetooth related parameters such as bluetooth power, connection time interval, etc. may be modified in the factory mode. The signal STA: and the method is used for judging the connection state of the terminal Bluetooth channel.
The serial port communication protocol between the terminal CPU module and the Bluetooth module conforms to the specified content of the following data frame. The data response timeout time cannot be more than 500ms, and the data byte delay per frame cannot be more than 500 ms.
In addition, as shown in table 2, the data frame of the standardized serial communication protocol includes: a data preamble, a start flag byte, a data field length, a message type, a control command, a transport device address, a frame start, a data field, a check code, and/or an end.
TABLE 2
Preamble symbol FE Data preamble
Frame start symbol 68H Data frame start flag byte
Data field sizeDegree of rotation L Double byte data length
Type of message T Single byte message type code
Control command C0-C3 Four-byte control command code
Transmitting device addresses A0-A5 Six byte address
Reservation R0~R3 Four byte spares
Frame start symbol 68H Application data frame flag byte
Data field D0~Dn Application data
Check code CS Check code
Ending symbol 16H Ending symbol
Specifically, before the terminal bluetooth module sends frame information, 4 bytes of FEH are sent first to wake up the receiving party.
Specifically, L is the number of bytes in the data field, and occupies two bytes. The low byte of data precedes the high byte.
Specifically, the message types include: the method comprises the steps of data transparent transmission, Bluetooth module parameter configuration, Bluetooth module parameter reading and Bluetooth active reporting parameters.
When the terminal CPU module transmits the Bluetooth to the terminal, 01H is transparent transmission, 02H is configured Bluetooth module parameters, 03H is read Bluetooth module parameters, and 04H is Bluetooth active reporting parameters.
The format of the reply message is shown in table 3.
TABLE 3
BIT7 BIT6 BIT5-BIT3 BIT2-BIT0
Identification bit of response message Status message identification bit Retention Type of message
Specifically, as shown in table 4, the control command represents an actual control command type of the packet, and occupies four bytes. The low byte of data precedes the high byte. The control commands include: setting a pairing parameter instruction of the equipment and each slave equipment, setting an address parameter instruction of the equipment and each slave equipment, setting a Bluetooth working parameter instruction of the equipment, reading or actively reporting a connection state instruction of a Bluetooth link, switching to enter/exit a verification mode instruction, setting or actively reporting an equipment state information instruction, reading a module firmware version number instruction, and enabling or disabling a scanning function instruction, the method comprises the steps of setting a device address parameter instruction for filtering broadcast data, setting a device type parameter instruction for filtering the broadcast data, reading or actively reporting a broadcast filtering information instruction, setting a UART communication related parameter instruction, dynamically updating a broadcast content instruction, dynamically updating a scan response content instruction, enabling or disabling to actively report a broadcast filtering information function instruction, clearing a pairing information instruction of a specified device and/or clearing pairing information instructions of all devices.
TABLE 4
Figure BDA0002874556570000071
Figure BDA0002874556570000081
Specifically, the transmission device address represents the mac address of the bluetooth device at the opposite end, and is used to distinguish the data channel ID under the bluetooth multilink. Taking six bytes. If the command message is only the command message interacted in the terminal equipment, the address of the transmission equipment is all 0 xFF. The low byte of data precedes the high byte.
Specifically, the data field represents the data packet actually required to be transmitted by the bluetooth link.
The check code is the modulo 256 sum of all bytes starting from the first frame start to the check code, i.e. the binary arithmetic sum of bytes, disregarding overflow values exceeding 256.
The power terminal Bluetooth communication system can be used for adapting power terminal equipment in different scenes to Bluetooth modules of different manufacturers. On hardware, the Bluetooth modules of different manufacturers are configured into standardized mounting interfaces or plug-in interfaces through the standardized mounting interfaces and the plug-in interfaces, and the Bluetooth modules of different manufacturers can be interchanged; in terms of software, a set of communication protocols capable of being configured in a self-adaptive mode is formulated for different protocol protocols, so that terminal equipment, different Bluetooth module manufacturers and different protocols can be communicated in a self-adaptive mode.
In the above technical solution, the power terminal includes: concentrator, intelligent ammeter or intelligent isolator.
Fig. 3 is a flowchart of a bluetooth communication control method for an electric power terminal according to an embodiment of the present invention
Accordingly, referring to fig. 3, a second aspect of the embodiment of the present invention provides a power terminal bluetooth communication control method, which controls any one of the power terminal bluetooth communication systems to connect, and includes the following steps:
and S100, powering on the terminal, and controlling the terminal Bluetooth module to send a module reset information message to the terminal CPU module.
And S200, controlling the terminal Bluetooth module to enter a state to be configured.
S300, after receiving the module reset information message, the control terminal CPU module sends a parameter configuration message to the terminal Bluetooth module, wherein the parameter configuration message comprises: and (5) address configuration messages.
And S400, the control terminal Bluetooth module is connected with the corresponding collector Bluetooth module according to the address configuration message.
Further, after controlling the terminal bluetooth module to send a module reset information message to the terminal CPU module when the terminal is powered on, the method further includes:
s110, judging whether the terminal Bluetooth module receives a confirmation message which is sent by the terminal CPU module and corresponds to the module reset information message or not in the preset time.
And S120, if the module reset message is not received, controlling the terminal Bluetooth module to resend the module reset message.
And S130, if the Bluetooth module is received, controlling the terminal Bluetooth module to enter a state to be configured.
Wherein the preset time is 10 seconds. And after the module reset information message is retransmitted, if the terminal Bluetooth module still does not receive the confirmation message returned by the terminal CPU module, retransmitting the message. Optionally, the terminal bluetooth module will repeatedly send the module reset information message for 3 times. However, the terminal bluetooth module will enter the band configuration state no matter whether the confirmation message is received or not.
In addition, the parameter configuration message further includes: and the equipment pairing message and/or the Bluetooth working parameter message.
Fig. 4 is a block diagram of a bluetooth communication structure of the power terminal according to the embodiment of the present invention.
Referring to fig. 4, an example of the application of the above technical solution is shown below:
when the data frame is transmitted transparently, the Bluetooth channel is only responsible for transmitting the application layer message transparently, and the Bluetooth host (terminal Bluetooth module) or the Bluetooth slave (collector Bluetooth module) does not need to respond. When the terminal Bluetooth module is transmitted to the terminal CPU module, the transmission equipment address is configured to be a Mac address (collector Bluetooth module address) of the paired terminal Bluetooth equipment, and the transmission equipment address in the ammeter response message is also the Mac address.
The terminal bluetooth module 101 receives a bluetooth message sent by the collector bluetooth module with the address of C40000000001 through a bluetooth channel, and analyzes the multi-protocol application layer message 102.
The application layer message 102 may be any protocol, in this example, a DL/T645-2007 multifunctional electric energy meter communication protocol request frame, specifically, the current combined active total electric energy of the terminal with the reading meter address of 01, and the message is FE 6801000000000068110433333333B 216.
The standardized link 103 adopts the data frame structure of the present invention to frame the transparent transmission request frame data, and the message in this case is: frame start 0x68, data field length L: 0x14, 0x00, message type: 0x01 (transparent transmission message), control domain C: 0x00, 0x00, 0x00, 0x00, transport device address: 0x01, 0x00, 0x00, 0x00, 0x00, 0xC4 (collector bluetooth module address), reservation: 00000000, frame start: 0x68, application data field: 645 messages actually transmitted by the Bluetooth link, frame check: 0x1C, terminator 0x 16. The specific message is FE FE FE 68140001000000000100000000C 40000000068 FE FE FE FE 6801000000000068110433333333B 2161C 16.
The request message is processed by the standardized link 103 and then transmitted to the terminal CPU module 109 through the terminal bluetooth standardized hardware interface 104, the standardized physical channel 105, and the terminal PCB standardized hardware interface 106. The terminal bluetooth standardized hardware interface 104 is designed by using the standardized attached or inserted bluetooth module interface definition shown in fig. 1 or fig. 2, and the terminal PCB standardized hardware interface 106 is also designed by using the standardized attached or inserted bluetooth module interface definition shown in fig. 1 or fig. 2, so that the bluetooth modules of different manufacturers can be interchanged.
The terminal CPU module 109 parses the message and responds to the application layer message, specifically, the current combined active total power of the terminal with the table address of 01 is 01, and the response frame message is FE 6801000000000068910833333333343333330316.
The standardized link 107 adopts the data frame structure of the present invention to frame the response frame data, and the message in this case is: frame start 0x68, data field length L: 0x18, 0x00, message type: 0x01 (transparent transmission message), control domain C: 0x00, 0x00, 0x00, 0x00, transport device address: 0x01, 0x00, 0x00, 0x00, 0x00, 0xC4 (collector bluetooth module address), reservation: 00000000, frame start: 0x68, application data field: 645 messages actually transmitted by the Bluetooth link, frame check: 0x1C, terminator 0x 16. The specific message is FE FE FE 68180001000000000100000000C 40000000068 FE FE FE FE 6801000000000068910833333333343333330316C 216.
The response message is processed by the standardized link 107 and then transmitted to the terminal bluetooth module 101 through the terminal PCB standardized hardware interface 106, the standardized physical channel 105, and the terminal bluetooth standardized hardware interface 104.
The terminal bluetooth module 101 analyzes the message, extracts the application layer response frame message, and sends the message to the collector bluetooth module with the address of C40000000001 through the bluetooth channel.
The embodiment of the invention aims to protect a power terminal Bluetooth communication system and a control method thereof, wherein a power terminal comprises a terminal CPU module and a terminal Bluetooth module; the terminal Bluetooth module is wirelessly connected with the collector Bluetooth module, and the terminal Bluetooth module and the collector Bluetooth module are Bluetooth modules with standardized interfaces; the terminal CPU module and the terminal Bluetooth module exchange data through a data link layer standardized serial port communication protocol so as to adapt to different application layer protocols. The technical scheme has the following effects:
different Bluetooth modules can be interchanged by adopting a communication interface of a standard telephone on hardware; and the universality between the terminal equipment and the Bluetooth module is improved through a data link layer standardized serial port communication protocol, the design and maintenance difficulty of the terminal equipment is reduced, the design efficiency of the power terminal equipment is improved, and the reliability of the data communication of the power terminal is improved.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (11)

1. The power terminal Bluetooth communication system is characterized in that the power terminal comprises a terminal CPU module and a terminal Bluetooth module;
the terminal Bluetooth module is wirelessly connected with the collector Bluetooth module, and the terminal Bluetooth module and the collector Bluetooth module are Bluetooth modules with standardized interfaces;
and the terminal CPU module and the terminal Bluetooth module exchange data through a data link layer standardized serial port communication protocol so as to adapt to different application layer protocols.
2. The power terminal Bluetooth communication system of claim 1,
the Bluetooth module of the standardized interface is a standardized mounting Bluetooth module or a standardized plug-in Bluetooth module.
3. The power terminal Bluetooth communication system of claim 2,
the size of the mounted Bluetooth module is 18.6 x 13.1 x 4.8mm, and the pitch of the mounted interface pins is 1.27 mm;
the size of the plug-in Bluetooth module is 23.5 × 4.8mm, the pitch of the plug-in interface pins is 2.0mm, and the plug-in Bluetooth module is a single row of bent pins.
4. The power terminal Bluetooth communication system of claim 1,
the interface of the bluetooth module of the standardized interface includes: the system comprises a power supply VCC interface, a power supply ground VSS interface, a serial port signal RXD interface, a serial port signal TXD interface, a reactive Pulse signal Q interface, a standby signal IO interface, a reset signal/RST interface, a state signal STA interface, a MODE signal MODE interface, an active Pulse signal Pulse interface and/or a multifunctional signal M-FUN interface.
5. The power terminal Bluetooth communication system of claim 1,
the standardized serial port communication protocol data frame comprises: a data preamble, a start flag byte, a data field length, a message type, a control command, a transport device address, a frame start, a data field, a check code, and/or an end.
6. The power terminal Bluetooth communication system of claim 5,
the message types include: the method comprises the steps of data transparent transmission, Bluetooth module parameter configuration, Bluetooth module parameter reading and Bluetooth active reporting parameters.
7. The power terminal Bluetooth communication system of claim 5,
the control command includes: setting a pairing parameter instruction of the equipment and each slave equipment, setting an address parameter instruction of the equipment and each slave equipment, setting a Bluetooth working parameter instruction of the equipment, reading or actively reporting a connection state instruction of a Bluetooth link, switching to enter/exit a verification mode instruction, setting or actively reporting an equipment state information instruction, reading a module firmware version number instruction, and enabling or disabling a scanning function instruction, the method comprises the steps of setting a device address parameter instruction for filtering broadcast data, setting a device type parameter instruction for filtering the broadcast data, reading or actively reporting a broadcast filtering information instruction, setting a UART communication related parameter instruction, dynamically updating a broadcast content instruction, dynamically updating a scan response content instruction, enabling or disabling to actively report a broadcast filtering information function instruction, clearing a pairing information instruction of a specified device and/or clearing pairing information instructions of all devices.
8. The power terminal Bluetooth communication system according to any one of claims 1 to 7,
the power terminal includes: concentrator, intelligent ammeter or intelligent isolator.
9. A power terminal bluetooth communication control method, characterized in that, the power terminal bluetooth communication system according to any one of claims 1-8 is controlled to connect, comprising the following steps:
the terminal is powered on, and the terminal Bluetooth module is controlled to send a module reset information message to the terminal CPU module;
controlling the terminal Bluetooth module to enter a to-be-configured state;
controlling the terminal CPU module to send a parameter configuration message to the terminal Bluetooth module after receiving the module reset information message, wherein the parameter configuration message comprises: an address configuration message;
and controlling the terminal Bluetooth module to be connected with the corresponding collector Bluetooth module according to the address configuration message.
10. The power terminal bluetooth communication control method according to claim 9, wherein after the terminal is powered on and controls the terminal bluetooth module to send a module reset message to the terminal CPU module, the method further comprises:
judging whether the terminal Bluetooth module receives a confirmation message which is sent by the terminal CPU module and corresponds to the module reset information message or not within a preset time;
if not, controlling the terminal Bluetooth module to resend the module reset information message;
and if so, controlling the terminal Bluetooth module to enter a to-be-configured state.
11. The power terminal Bluetooth communication control method according to claim 9,
the parameter configuration packet further includes: and the equipment pairing message and/or the Bluetooth working parameter message.
CN202011610896.7A 2020-12-30 2020-12-30 Power terminal Bluetooth communication system and control method thereof Pending CN112788578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011610896.7A CN112788578A (en) 2020-12-30 2020-12-30 Power terminal Bluetooth communication system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011610896.7A CN112788578A (en) 2020-12-30 2020-12-30 Power terminal Bluetooth communication system and control method thereof

Publications (1)

Publication Number Publication Date
CN112788578A true CN112788578A (en) 2021-05-11

Family

ID=75753912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011610896.7A Pending CN112788578A (en) 2020-12-30 2020-12-30 Power terminal Bluetooth communication system and control method thereof

Country Status (1)

Country Link
CN (1) CN112788578A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518334A (en) * 2021-06-10 2021-10-19 中电海康集团有限公司 Method for realizing Bluetooth beacon and app uart dual services
CN115002941A (en) * 2022-08-08 2022-09-02 浙江正泰仪器仪表有限责任公司 Communication method of Bluetooth electric energy meter

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536776A (en) * 2003-04-08 2004-10-13 ƽ Blue-tooth intelligent module
CN2660794Y (en) * 2003-11-11 2004-12-01 中国科学院沈阳自动化研究所 Bluetooth wireless sensor based on Bluetooth communication protocol
CN1617465A (en) * 2003-11-11 2005-05-18 中国科学院沈阳自动化研究所 Bluetooth wireless sensor
CN1734456A (en) * 2004-08-12 2006-02-15 沈阳东大信息技术有限公司 Integrated management system for wireless data acquisition
CN203039686U (en) * 2013-01-25 2013-07-03 深圳市金博联电力技术有限公司 Hand-held wireless maintenance terminal and wireless maintenance system for high-voltage switch
CN105446223A (en) * 2015-12-22 2016-03-30 镇江恒驰科技有限公司 System and method for optimizing new energy vehicle whole vehicle control parameters based on Internet
US20170046889A1 (en) * 2015-08-14 2017-02-16 Skidata Ag Method and system for access control
CN109802705A (en) * 2019-01-31 2019-05-24 慧翰微电子股份有限公司 Automobile or industrial data transmission system based on BT5

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536776A (en) * 2003-04-08 2004-10-13 ƽ Blue-tooth intelligent module
CN2660794Y (en) * 2003-11-11 2004-12-01 中国科学院沈阳自动化研究所 Bluetooth wireless sensor based on Bluetooth communication protocol
CN1617465A (en) * 2003-11-11 2005-05-18 中国科学院沈阳自动化研究所 Bluetooth wireless sensor
CN1734456A (en) * 2004-08-12 2006-02-15 沈阳东大信息技术有限公司 Integrated management system for wireless data acquisition
CN203039686U (en) * 2013-01-25 2013-07-03 深圳市金博联电力技术有限公司 Hand-held wireless maintenance terminal and wireless maintenance system for high-voltage switch
US20170046889A1 (en) * 2015-08-14 2017-02-16 Skidata Ag Method and system for access control
CN105446223A (en) * 2015-12-22 2016-03-30 镇江恒驰科技有限公司 System and method for optimizing new energy vehicle whole vehicle control parameters based on Internet
CN109802705A (en) * 2019-01-31 2019-05-24 慧翰微电子股份有限公司 Automobile or industrial data transmission system based on BT5

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄伟琦等: "测试系统中点对点蓝牙无线通信方式的实现", 《郑州轻工业学院学报(自然科学版)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518334A (en) * 2021-06-10 2021-10-19 中电海康集团有限公司 Method for realizing Bluetooth beacon and app uart dual services
CN113518334B (en) * 2021-06-10 2023-06-13 中电海康集团有限公司 Method for realizing Bluetooth beacon and app uart dual services
CN115002941A (en) * 2022-08-08 2022-09-02 浙江正泰仪器仪表有限责任公司 Communication method of Bluetooth electric energy meter

Similar Documents

Publication Publication Date Title
CN101167339B (en) Expanding universal plug and play capabilities in power constrained environment
CA2628235A1 (en) Near field communication host controller interface
CN112788578A (en) Power terminal Bluetooth communication system and control method thereof
US20070057663A1 (en) Reduced Power Consumption in a Communication Device
EP1067393A2 (en) Voltage level bus translator and safety interlock system for battery modules
EP2876946B1 (en) Cloud-enabled low power wi-fi sensor
US20120054523A1 (en) Electronic device and data transmission method of the same
CN100466794C (en) System and method for realizing antenna equipment central managing
WO2001082088A3 (en) Electronic communications in intelligent electronic devices
US20130344885A1 (en) Electronic tracking device with wireless communications protocol translation circuitry and associated methods
CN101924667B (en) Modem anomaly detecting and power-off restarting control method based on serial port
CN101841469A (en) Data transmitting method, system and device in Internet of things
CN102290862B (en) Peer to peer communication method and system of power distribution terminals
CN203397483U (en) Automatic GPRS water-level alarming system
CN106658680A (en) Network connection system for reducing power consumption of smart peep hole equipment and network connection method thereof
CN209911799U (en) Data transmission device and automatic control system
KR20080025914A (en) System for transceiving data through zigbee sim card installed in a mobile communication terminal and method therefor
CN117693001B (en) Low-power distribution network and operation monitoring system and method based on BLE protocol
CN209313835U (en) A kind of server with power port and optical port mixing bypass function
CN111083772B (en) Sleep awakening method for mobile communication terminal
CN101374182A (en) Intelligent storage type receiving apparatus for data acquisition unit and system thereof
CN2906777Y (en) Two-way radio remote controller
Ramon et al. Dual-port serial arbiter with GSM modules for simultaneous local/remote control of RS232-based devices
JP2001237985A (en) Communication system
CN113992479A (en) Intelligent gateway and data transmission method thereof

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210511