CN108390783A - A kind of configuration method and device of bluetooth equipment - Google Patents

A kind of configuration method and device of bluetooth equipment Download PDF

Info

Publication number
CN108390783A
CN108390783A CN201810149655.3A CN201810149655A CN108390783A CN 108390783 A CN108390783 A CN 108390783A CN 201810149655 A CN201810149655 A CN 201810149655A CN 108390783 A CN108390783 A CN 108390783A
Authority
CN
China
Prior art keywords
data
bluetooth
facility information
information data
protocol
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
CN201810149655.3A
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.)
Guangdong Jiatai Intelligent Technology Co Ltd
Original Assignee
Guangdong Jiatai Intelligent Technology 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 Guangdong Jiatai Intelligent Technology Co Ltd filed Critical Guangdong Jiatai Intelligent Technology Co Ltd
Priority to CN201810149655.3A priority Critical patent/CN108390783A/en
Publication of CN108390783A publication Critical patent/CN108390783A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • 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/08Protocols for interworking; Protocol conversion
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of configuration method of bluetooth equipment and devices, wherein this method includes:The blue-teeth data from bluetooth equipment is received by Bluetooth transmission protocol;The blue-teeth data is handled, the initial data after being encapsulated and facility information data;By after the encapsulation initial data and facility information data be sent to external server, and pc client is sent to by the external server;The configuration information data from the pc client according to initial data and the generation of facility information data after the encapsulation are received by the external server;Bluetooth protocol conversion is carried out to the configuration information data, obtains transformed configuration information data;The transformed configuration information is sent to the bluetooth equipment.In apparatus of the present invention embodiment, Bluetooth data transfer has been arrived into internet, remote bluetooth configuration may be implemented, and blue-teeth data is enable to transmit on the internet, has realized the conversion of Internet protocol and Bluetooth protocol.

Description

A kind of configuration method and device of bluetooth equipment
Technical field
The present invention relates to blue-teeth data configuration transmission technique field more particularly to the configuration methods and dress of a kind of bluetooth equipment It sets.
Background technology
Bluetooth low energy consumption (BLE) technology one is low cost, short distance, interoperable Radio Transmission Technology.In BLE skills In art, the data communication of equipment room is mainly completed after the connection of BLE equipment by the connection event of intervals.Now In society, the case where electrical equipment information of manufacturing industry and Hotel Service Industry communication, is more and more, and bluetooth is that solve information logical Letter exempts worried one of the effective way of wiring, so in manufacturing industry and Hotel Service Industry, the use of bluetooth is more and more extensive, But the communication distance of bluetooth equipment is always the problem of being difficult to break through now, can not carry out remote control, and bluetooth Set-up mode is relatively complicated, and needs to be configured in certain distance.
In manufacturing industry or Hotel Service Industry application, data transmission is more and more frequent, and needs to connect the situation of data line Also increasing, the cable distribution for connecting various equipment becomes increasingly complex, it not only affects aesthetics, also adds peace The difficulty of dress and the expense of maintenance, Bluetooth technology are one of the effective way to solve the above problems, manufacturing industry or Hotel Service Industry Equipment becomes the data terminal (DT) for being provided with bluetooth connection function as long as installing Bluetooth adapter, each other can be square Just interconnection and interflow is realized.Currently, Bluetooth function application is more and more extensive in the industry, and the communication distance of bluetooth equipment, match It sets cumbersome then at the big bottleneck for restricting its application.
Require industrial equipment that there is Bluetooth function using Bluetooth Communication Technology in industry spot, and can be with existing bluetooth Communication host computer is communicated, and wirelessly carries out data exchange with industrial field device, realize host computer with it is existing The communication and configuration of field device.The application transmitted now using electric appliance wireless, terminal must be near equipment, using with bluetooth And controller, smart mobile phone or the tablet computer matched is connected to industrial equipment, it is miscellaneous so as to avoid wiring difficulty and circuit Random problem, and data are completely output to terminal.
As shown in Figure 1, the operation principle of wireless industrial switch data interaction device is:" bluetooth is matched in signal cover To connection, instruction is sent out by personal computer (Personal Computer, PC) client after successful matching, is passed by bluetooth After defeated, equipment end receives instruction, is communicated with equipment, inquires the data of needs and returns to PC, while PC by bluetooth Equipment can also be configured." in the prior art, it is influenced, is only capable of in bluetooth coverage area by Bluetooth signal coverage area Inside carry out data transmission and configure, and data are only capable of transmitting between Bluetooth terminal and bluetooth equipment, cannot be transferred to internet On.
Invention content
It is an object of the invention to overcome the deficiencies in the prior art, and the present invention provides a kind of configuration methods of bluetooth equipment And device, remote bluetooth configuration may be implemented, and blue-teeth data is enable to transmit on the internet, realize Internet protocol with The conversion of Bluetooth protocol.
To solve the above-mentioned problems, the present invention proposes a kind of configuration method of bluetooth equipment, the method includes:
The blue-teeth data from bluetooth equipment is received by Bluetooth transmission protocol;
The blue-teeth data is handled, the initial data after being encapsulated and facility information data;
By after the encapsulation initial data and facility information data be sent to external server, and by the external service Device is sent to pc client;
It is received from the pc client according to the initial data and equipment after the encapsulation by the external server The configuration information data that information data generates;
Bluetooth protocol conversion is carried out to the configuration information data, obtains transformed configuration information data;
The transformed configuration information is sent to the bluetooth equipment.
Preferably, described that the blue-teeth data is handled, the initial data after being encapsulated and facility information data The step of, including:
Frame processing is carried out to the blue-teeth data, obtains initial data and facility information data;
The initial data and facility information data are ranked up and are changed according to the data format of Ethernet protocol, is obtained Obtain initial data and facility information data after format conversion;
To after the format conversion initial data and facility information data carry out data encapsulation, it is original after being encapsulated Data and facility information data.
Preferably, described the step of frame processing is carried out to the blue-teeth data, obtains initial data and facility information data, Including:
To the blue-teeth data remove the place of frame head data and postamble data according to the data frame structure of Bluetooth protocol Reason obtains initial data and facility information data;Wherein, the frame head data includes:Identification code, slave addresses code, original number It is believed that breath is one or more;The postamble data include check code.
Preferably, the initial data and facility information data to after the format conversion carries out data encapsulation, obtains The step of initial data and facility information data after encapsulation, including:
According to Ethernet protocol to after the format conversion initial data and facility information data carry out data encapsulation, obtain The initial data and facility information data of Ethernet protocol must be met.
Preferably, described that Bluetooth protocol conversion is carried out to the configuration information data, obtain transformed configuration information number According to the step of, including:
Unpacking processing carried out to the configuration information data, obtains the partial data that unpacks that treated;
Subpackage encapsulation is carried out to the partial data, obtains the configuration information for meeting Bluetooth protocol.
Correspondingly, the present invention also provides a kind of configuration device of bluetooth equipment, described device includes:
Bluetooth module, for receiving the blue-teeth data from bluetooth equipment by Bluetooth transmission protocol;By MCU main control modules Transformed configuration information is sent to the bluetooth equipment;
MCU main control modules obtain initial data and facility information data for handling the blue-teeth data;It is right Configuration information data received from the external server carry out Bluetooth protocol conversion, obtain transformed configuration information data;
Ethernet module, for being packaged to the initial data and facility information data, and will be original after encapsulation Data and facility information data are sent to external server, and are sent to pc client by the external server;By described External server receive from the pc client according to after the encapsulation initial data and facility information data generate match Set information data.
Preferably, microcontroller (Microcontroller Unit, the MCU) main control module includes:
Frame processing unit obtains initial data and facility information data for carrying out frame processing to the blue-teeth data;
Format conversion unit, for according to the data format of Ethernet protocol by the initial data and facility information data It is ranked up and changes, obtain initial data and facility information data after format conversion.
Preferably, the frame processing unit is additionally operable to carry out the blue-teeth data according to the data frame structure of Bluetooth protocol Remove the processing of frame head data and postamble data, obtains initial data and facility information data;Wherein, the frame head data packet It includes:Identification code, slave addresses code, primary data information (pdi) it is one or more;The postamble data include check code.
Preferably, the ethernet module be additionally operable to according to Ethernet protocol to after the format conversion initial data and Facility information data carry out data encapsulation, obtain the initial data and facility information data for meeting Ethernet protocol.
Preferably, the MCU main control modules are additionally operable to carry out unpacking processing to the configuration information data, obtain at unpacking Partial data after reason;Subpackage encapsulation is carried out to the partial data, obtains the configuration information for meeting Bluetooth protocol.
In apparatus of the present invention embodiment, by being configured to multiple bluetooth modules, by Bluetooth data transfer to service The data of external server are transmitted to specified bluetooth, realize the connection of bluetooth and internet, and realize that remote bluetooth is matched by device It sets, and blue-teeth data is enable to transmit on the internet, realize the conversion of Internet protocol and Bluetooth protocol.
Meanwhile Bluetooth data transfer has been arrived into internet, Bluetooth signal coverage limitation is breached, internet communication is realized Function is realized the interconnection of blue-teeth data and Ethernet data, can be carried out data transmission in the world;And it can be near Multiple indigo plant device node connections, and multiple Bluetooth signals are integrated, realization configures multiple bluetooths, realizes long-range More controls.Meanwhile face carries out on the internet for the data interaction of bluetooth equipment and terminal, supports multiple terminals to be monitored, i.e., only Need equipment that there is function of surfing the Net can be used as control terminal.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the fundamental diagram of wireless industrial data interaction device in the prior art;
Fig. 2 is the flow diagram of the configuration method of the bluetooth equipment of the embodiment of the present invention;
Fig. 3 is the flow diagram handled blue-teeth data in the embodiment of the present invention;
Fig. 4 is the structure composition schematic diagram of the configuration device of the bluetooth equipment of the embodiment of the present invention;
Fig. 5 is the structure composition schematic diagram of MCU main control modules in the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
Fig. 2 is the flow diagram of the configuration method of the bluetooth equipment of the embodiment of the present invention, as shown in Fig. 2, this method packet It includes:
S1 receives the blue-teeth data from bluetooth equipment by Bluetooth transmission protocol;
S2 handles blue-teeth data, the initial data after being encapsulated and facility information data;
S3, by after encapsulation initial data and facility information data be sent to external server, and sent out by external server Give pc client;
S4, by external server receive from pc client according to after encapsulation initial data and facility information data produce Raw configuration information data;
S5 carries out Bluetooth protocol conversion to configuration information data, obtains transformed configuration information data;
Transformed configuration information is sent to bluetooth equipment by S6.
In specific implementation, as shown in figure 3, S2 further comprises:
S21 carries out frame processing to blue-teeth data, obtains initial data and facility information data;
Initial data and facility information data are ranked up and are changed according to the data format of Ethernet protocol, obtained by S22 Obtain initial data and facility information data after format conversion;
S23 carries out data encapsulation to the transformed initial data of format and facility information data, original after being encapsulated Data and facility information data.
In S21, blue-teeth data is carried out according to the data frame structure of Bluetooth protocol to remove frame head data and postamble data Processing, obtain initial data and facility information data;Wherein, frame head data includes:Identification code, slave addresses code, original number It is believed that breath is one or more;Postamble data include check code.
In S23, data envelope is carried out to the transformed initial data of format and facility information data according to Ethernet protocol Dress obtains the initial data and facility information data for meeting Ethernet protocol.
In Bluetooth communication, data, which need to meet Bluetooth protocol, can just carry out data transmission, and in ethernet networks, data need to expire Sufficient Ethernet protocol can just carry out data transmission, and in embodiments of the present invention, Ethernet protocol includes but is not limited to Internetwork Packet Exchange (NetWare), NetBEUI agreements, ICP/IP protocol etc. are illustrated by taking ICP/IP protocol as an example in the present embodiment.In number According to the conversion in processing, needing realization Bluetooth protocol and ICP/IP protocol.In S22, initial data and facility information number are obtained According to rear, initial data is ranked up and is changed according to TCP/IP data formats with facility information data, and to format conversion after Initial data and facility information data carry out TCP/IP data encapsulation.
Specifically, in S3, by after encapsulation initial data and before facility information data are sent to external server, pass through SOCKET programmings are connected to external server.
S5 further comprises:
Unpacking processing carried out to configuration information data, obtains the partial data that unpacks that treated;
Subpackage encapsulation is carried out to partial data, obtains the configuration information for meeting Bluetooth protocol.
In S6, the configuration information for meeting Bluetooth protocol is sent to bluetooth equipment, wherein configuration information includes but unlimited In baud rate, inquiry setting, data acquiring frequency, device name.
In the method for the present invention embodiment, by being configured to multiple bluetooth modules, by Bluetooth data transfer to service The data of external server are transmitted to specified bluetooth, realize the connection of bluetooth and internet, and realize that remote bluetooth is matched by device It sets, and blue-teeth data is enable to transmit on the internet, realize the conversion of Internet protocol and Bluetooth protocol.
Meanwhile Bluetooth data transfer has been arrived into internet, Bluetooth signal coverage limitation is breached, internet communication is realized Function is realized the interconnection of blue-teeth data and Ethernet data, can be carried out data transmission in the world;And bluetooth equipment It can be connect with neighbouring multiple bluetooth nodes, and multiple Bluetooth signals are integrated, realization configures multiple bluetooths, realizes Long-range more controls.
Correspondingly, the present embodiment also provides a kind of configuration device of bluetooth equipment, as shown in figure 4, the device includes:
Bluetooth module 1, for receiving the blue-teeth data from bluetooth equipment by Bluetooth transmission protocol;By MCU master control moulds 2 transformed configuration information of block is sent to bluetooth equipment;
MCU main control modules 2 obtain initial data and facility information data for handling blue-teeth data;To receiving Bluetooth protocol conversion is carried out from the configuration information data of external server, obtains transformed configuration information data;
Ethernet module 3, for being packaged to initial data and facility information data, and by the initial data after encapsulation It is sent to external server with facility information data, and pc client is sent to by external server;It is connect by external server Receive and dispatch the configuration information data according to initial data and the generation of facility information data after encapsulation from pc client.
Wherein, MCU main control modules 2 include:
Frame processing unit 20 obtains initial data and facility information data for carrying out frame processing to blue-teeth data;
Format conversion unit 21, for according to the data format of Ethernet protocol by institute's initial data and facility information data It is ranked up and changes, obtain initial data and facility information data after format conversion;
Wherein, frame processing unit 20 is additionally operable to be carried out removing frame head to blue-teeth data according to the data frame structure of Bluetooth protocol The processing of data and postamble data obtains initial data and facility information data;Wherein, frame head data includes:Identification code, slave Address code, primary data information (pdi) it is one or more;Postamble data include check code.
Ethernet module 3 be additionally operable to according to Ethernet protocol to the transformed initial data of format and facility information data into Row data encapsulate, and obtain the initial data and facility information data for meeting Ethernet protocol.
In Bluetooth communication, data, which need to meet Bluetooth protocol, can just carry out data transmission, and in ethernet networks, data need to expire Sufficient Ethernet protocol can just carry out data transmission, and in embodiments of the present invention, Ethernet protocol includes but is not limited to Internetwork Packet Exchange (NetWare), NetBEUI agreements, ICP/IP protocol etc. are illustrated by taking ICP/IP protocol as an example in the present embodiment.In number According to the conversion in processing, needing realization Bluetooth protocol and ICP/IP protocol.It, will be former after obtaining initial data and facility information data Beginning data are ranked up and change according to TCP/IP data formats with facility information data, and to the transformed initial data of format TCP/IP data encapsulation is carried out with facility information data.
After the bluetooth module 1 of configuration device receives the blue-teeth data of bluetooth equipment, MCU main control modules 2 are transferred to, MCU main control modules 2 to blue-teeth data remove the place of frame head data and postamble data according to the data frame structure of Bluetooth protocol Reason obtains initial data and facility information data, and frame head data includes identification code, slave addresses code, primary data information (pdi) etc., frame Mantissa's evidence is check code.After MCU main control modules 2 obtain initial data and facility information data, by initial data and facility information Data are ranked up and change according to TCP/IP data formats, are transferred to ethernet module 3, and transfer to 3 plaid matching of ethernet module The transformed initial data of formula and facility information data carry out TCP/IP encapsulation, and MCU main control modules 2 will be with by SOCKET programmings Too net module 3 and external server (internet) unicom transfer data to external server by ethernet module 3, complete blue Data transmission of the tooth equipment to external server.
After data of 3 inquire-receive of ethernet module to external server, ethernet module 3 carries out data to remove frame The processing of head data and postamble data, obtains initial data and facility information data, is transferred to MCU main control modules 2.MCU master controls Module 2 obtains initial data with after facility information data, and initial data and facility information data are carried out Bluetooth protocol encapsulation, added Add frame head data and the postamble data, including identification code, destination address, data structure information etc. of Bluetooth protocol data format, so The data transmission of Bluetooth protocol will be met to bluetooth equipment by bluetooth module 1 afterwards, complete external server and bluetooth equipment Data transmission.
Further, when bluetooth equipment normally starts, the configuration device of bluetooth equipment and the present invention, which are established, to be connected, will be blue The essential information of tooth equipment is transferred to configuration device, and data parsing is carried out by MCU main control modules 2, obtains partial data, and will Data are packaged, and comply with ICP/IP protocol, and arrive the data transmission for meeting ICP/IP protocol by ethernet module 3 External server, since then, blue-teeth data have been transferred to internet.
Further, MCU main control modules 2 are additionally operable to carry out unpacking processing to configuration information data, after obtaining unpacking processing Partial data;Subpackage encapsulation is carried out to partial data, obtains the configuration information for meeting Bluetooth protocol.
After pc client is connected to server, pc client can be from server receiving bluetooth.
Pc client is external according to staying configuration interface that configuration information data are sent to external server by Ethernet After server receives configuration information data, this configuration information data is sent to the ethernet module of configuration device, by MCU master After controlling module reception unpacking, partial data is obtained, then Bluetooth protocol will be complied with after partial data subpackage encapsulation, indigo plant will be met The configuration information of tooth agreement is sent to bluetooth equipment by bluetooth module, and it is made to come into force, wherein configuration information includes but unlimited In baud rate, inquiry setting, data acquiring frequency, device name.
In apparatus of the present invention embodiment, by being configured to multiple bluetooth modules, by Bluetooth data transfer to service The data of external server are transmitted to specified bluetooth, realize the connection of bluetooth and internet, and realize that remote bluetooth is matched by device It sets, and blue-teeth data is enable to transmit on the internet, realize the conversion of Internet protocol and Bluetooth protocol.
Meanwhile Bluetooth data transfer has been arrived into internet, Bluetooth signal coverage limitation is breached, internet communication is realized Function is realized the interconnection of blue-teeth data and Ethernet data, can be carried out data transmission in the world;And bluetooth equipment It can be connect with neighbouring multiple bluetooth nodes, and multiple Bluetooth signals are integrated, realization configures multiple bluetooths, realizes Long-range more controls.Meanwhile face carries out on the internet for the data interaction of bluetooth equipment and terminal, supports that multiple terminals are supervised Control only needs equipment that there is function of surfing the Net can be used as control terminal.
It will appreciated by the skilled person that related hardware can be controlled by program to complete in above-described embodiment The all or part of step of various methods, the program can be stored in a computer readable storage medium, and storage medium can To include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In addition, being provided for the embodiments of the invention the configuration method of bluetooth equipment above and device has carried out detailed Jie It continues, principle and implementation of the present invention are described for specific case used herein, and the explanation of above example is only It is the method and its core concept for being used to help understand the present invention;Meanwhile for those of ordinary skill in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of configuration method of bluetooth equipment, which is characterized in that the method includes:
The blue-teeth data from bluetooth equipment is received by Bluetooth transmission protocol;
The blue-teeth data is handled, the initial data after being encapsulated and facility information data;
By after the encapsulation initial data and facility information data be sent to external server, and sent out by the external server Give pc client;
It is received from the pc client according to the initial data and facility information after the encapsulation by the external server The configuration information data that data generate;
Bluetooth protocol conversion is carried out to the configuration information data, obtains transformed configuration information data;
The transformed configuration information is sent to the bluetooth equipment.
2. the configuration method of bluetooth equipment as described in claim 1, which is characterized in that it is described to the blue-teeth data at The step of reason, initial data and facility information data after being encapsulated, including:
Frame processing is carried out to the blue-teeth data, obtains initial data and facility information data;
The initial data and facility information data are ranked up and are changed according to the data format of Ethernet protocol, obtains lattice The transformed initial data of formula and facility information data;
To after the format conversion initial data and facility information data carry out data encapsulation, the initial data after being encapsulated With facility information data.
3. the configuration method of bluetooth equipment as claimed in claim 2, which is characterized in that described to carry out frame to the blue-teeth data The step of processing, acquisition initial data and facility information data, including:
The processing for the blue-teeth data remove frame head data and postamble data according to the data frame structure of Bluetooth protocol, is obtained Obtain initial data and facility information data;Wherein, the frame head data includes:Identification code, slave addresses code, primary data information (pdi) It is one or more;The postamble data include check code.
4. the configuration method of bluetooth equipment as claimed in claim 2, which is characterized in that the original to after the format conversion The step of beginning data and facility information data carry out data encapsulation, initial data and facility information data after being encapsulated, wraps It includes:
According to Ethernet protocol to after the format conversion initial data and facility information data carry out data encapsulation, accorded with Close the initial data and facility information data of Ethernet protocol.
5. the configuration method of bluetooth equipment as described in claim 1, which is characterized in that it is described to the configuration information data into Row Bluetooth protocol is converted, the step of obtaining transformed configuration information data, including:
Unpacking processing carried out to the configuration information data, obtains the partial data that unpacks that treated;
Subpackage encapsulation is carried out to the partial data, obtains the configuration information for meeting Bluetooth protocol.
6. a kind of configuration device of bluetooth equipment, which is characterized in that described device includes:
Bluetooth module, for receiving the blue-teeth data from bluetooth equipment by Bluetooth transmission protocol;MCU main control modules are converted Configuration information afterwards is sent to the bluetooth equipment;
MCU main control modules obtain initial data and facility information data for handling the blue-teeth data;To receiving Bluetooth protocol conversion is carried out from the configuration information data of the external server, obtains transformed configuration information data;
Ethernet module, for being packaged to the initial data and facility information data, and by the initial data after encapsulation It is sent to external server with facility information data, and pc client is sent to by the external server;Pass through the outside Server receive from the pc client according to after the encapsulation initial data and facility information data generate match confidence Cease data.
7. the configuration device of bluetooth equipment as claimed in claim 6, which is characterized in that the MCU main control modules include:
Frame processing unit obtains initial data and facility information data for carrying out frame processing to the blue-teeth data;
Format conversion unit, for being carried out the initial data and facility information data according to the data format of Ethernet protocol Sequence and change obtain initial data and facility information data after format conversion.
8. the configuration device of bluetooth equipment as claimed in claim 7, which is characterized in that the frame processing unit is additionally operable to basis The data frame structure of Bluetooth protocol to the blue-teeth data remove the processing of frame head data and postamble data, obtains original number According to facility information data;Wherein, the frame head data includes:Identification code, slave addresses code, primary data information (pdi) one kind or It is a variety of;The postamble data include check code.
9. the configuration device of bluetooth equipment as claimed in claim 7, which is characterized in that the ethernet module is additionally operable to basis Ethernet protocol to after the format conversion initial data and facility information data carry out data encapsulation, acquisition meet Ethernet The initial data and facility information data of agreement.
10. the configuration device of bluetooth equipment as claimed in claim 6, which is characterized in that the MCU main control modules are additionally operable to pair The configuration information data carry out unpacking processing, obtain the partial data that unpacks that treated;Subpackage is carried out to the partial data Encapsulation obtains the configuration information for meeting Bluetooth protocol.
CN201810149655.3A 2018-02-13 2018-02-13 A kind of configuration method and device of bluetooth equipment Pending CN108390783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810149655.3A CN108390783A (en) 2018-02-13 2018-02-13 A kind of configuration method and device of bluetooth equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810149655.3A CN108390783A (en) 2018-02-13 2018-02-13 A kind of configuration method and device of bluetooth equipment

Publications (1)

Publication Number Publication Date
CN108390783A true CN108390783A (en) 2018-08-10

Family

ID=63069626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810149655.3A Pending CN108390783A (en) 2018-02-13 2018-02-13 A kind of configuration method and device of bluetooth equipment

Country Status (1)

Country Link
CN (1) CN108390783A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730439A (en) * 2019-09-02 2020-01-24 苏宁智能终端有限公司 Method and device for dynamically connecting Bluetooth equipment
CN111123766A (en) * 2019-12-09 2020-05-08 重庆顺泰铁塔制造有限公司 Bluetooth Mesh-based smart factory data acquisition method and system
WO2021237975A1 (en) * 2020-05-29 2021-12-02 拉卡拉支付股份有限公司 Bluetooth data encapsulation communication method and apparatus
CN115190535A (en) * 2022-09-13 2022-10-14 北京安博通科技股份有限公司 Data transmission method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101185079A (en) * 2005-04-11 2008-05-21 霍夫曼-拉罗奇有限公司 Web-enabled portable medical device
CN102314408A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method, device, equipment and system for acquiring configuration information and configuring
CN107124337A (en) * 2017-04-19 2017-09-01 珠海格力电器股份有限公司 A kind of equipment configuration method, device, system and collection control terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101185079A (en) * 2005-04-11 2008-05-21 霍夫曼-拉罗奇有限公司 Web-enabled portable medical device
CN102314408A (en) * 2011-09-05 2012-01-11 百度在线网络技术(北京)有限公司 Method, device, equipment and system for acquiring configuration information and configuring
CN107124337A (en) * 2017-04-19 2017-09-01 珠海格力电器股份有限公司 A kind of equipment configuration method, device, system and collection control terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110730439A (en) * 2019-09-02 2020-01-24 苏宁智能终端有限公司 Method and device for dynamically connecting Bluetooth equipment
CN110730439B (en) * 2019-09-02 2022-09-20 苏宁智能终端有限公司 Method and device for dynamically connecting Bluetooth equipment
CN111123766A (en) * 2019-12-09 2020-05-08 重庆顺泰铁塔制造有限公司 Bluetooth Mesh-based smart factory data acquisition method and system
WO2021237975A1 (en) * 2020-05-29 2021-12-02 拉卡拉支付股份有限公司 Bluetooth data encapsulation communication method and apparatus
CN115190535A (en) * 2022-09-13 2022-10-14 北京安博通科技股份有限公司 Data transmission method and related equipment
CN115190535B (en) * 2022-09-13 2022-11-22 北京安博通科技股份有限公司 Data transmission method and related equipment

Similar Documents

Publication Publication Date Title
CN108390783A (en) A kind of configuration method and device of bluetooth equipment
CN103973748B (en) Intelligent domestic system and its monitoring method
CN102215263B (en) Data transmission and remote control method for self-organizing wireless internet of things (IoT) system
WO2013127191A1 (en) Internet of things protocol conversion system and conversion method
CN107333265A (en) A kind of zigbee equipment method of network entry
JP6666460B2 (en) Uplink transmission method, related devices and systems
CN108696478A (en) A kind of wireless access control system and method based on multiple transport protocols
CN103618670A (en) Intelligent gateway and intelligent home system
MXPA03005348A (en) Wireless communication networks for providing remote monitoring of devices.
CN103780577A (en) Method, apparatus and terminal for realizing internet of thing application
CN106685774B (en) Smart home management method, device and system
CN110460483B (en) Profinet and Modbus equipment heterogeneous networking method based on SDN
CN103973643A (en) Intelligent protocol converter
CN107204979A (en) A kind of information processing method and gateway device
CN108012305A (en) Smart machine matches somebody with somebody network method, system and smart machine
CN104243198B (en) A kind of network management and system based on network configuration protocol
CN106506306B (en) Method and device for transmitting data message
CN105553838A (en) ARM-based embedded gateway accessing PROFIBUS-DP to Wi-Fi and communication method thereof
EP2725822A1 (en) Electric generator control system and method
KR20190110705A (en) Gateway system for heterogeneous fieldbus network
CN107634862A (en) Wireless modbus systems based on Lora technologies
JP2015119389A (en) Communication adapter
CN110519243A (en) The system and its working method to interconnect between a kind of stage heterogeneous device
CN205265726U (en) PROFIBUS -DP inserts wi -Fi's embedded gateway based on ARM
KR20100034395A (en) A wireless sensor network for industrial control network and a method for structuring it

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: 20180810