CN108337668B - A kind of Bluetooth label configurator - Google Patents
A kind of Bluetooth label configurator Download PDFInfo
- Publication number
- CN108337668B CN108337668B CN201810205179.2A CN201810205179A CN108337668B CN 108337668 B CN108337668 B CN 108337668B CN 201810205179 A CN201810205179 A CN 201810205179A CN 108337668 B CN108337668 B CN 108337668B
- Authority
- CN
- China
- Prior art keywords
- configuration
- parameter
- label
- bluetooth label
- bluetooth
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/0723—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/073—Special arrangements for circuits, e.g. for protecting identification code in memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of Bluetooth label configurators, it include: to be connect with Bluetooth label by URAT interface, to carry out the wired connection module of wired configuration to Bluetooth label, it is matched with Bluetooth label by Bluetooth protocol, to carry out the wireless connection module of radio configuration to Bluetooth label, export the parameters for the Bluetooth label being currently configured, and show the output display module of configured Bluetooth label number and configuration result, the electromagnet module of electric power magnetic field coverage area is generated around Bluetooth label configurator and when carrying out wired connection by wired connection module with Bluetooth label, wired connection configuration is carried out to Bluetooth label, or, when in the range of Bluetooth label being placed in and covered by the electric power magnetic field that electromagnet module generates, the processor for being wirelessly connected configuration is carried out to Bluetooth label.It can fast and accurately be realized according to varying environment through the invention and the running parameter of Bluetooth label is configured, improved production efficiency, save human cost.
Description
Technical field
The invention belongs to the communications fields, more particularly, to a kind of Bluetooth label configurator.
Background technique
With information-based and various intelligent terminals deep development, the demand persistently overheating of personnel and assets positioning,
Indexation growth is also presented in the application demand in location-based service field.Bluetooth label is a kind of common positioning labeling apparatus, due to
Its data stability is good, propagation distance is remote and the cruising ability of overlength, the fields such as goods and materials positioning in positioning indoors and bulk storage plant
It is largely used in scape.How fast and accurately to be realized according to varying environment and the running parameter of Bluetooth label is matched
The technical issues of setting, improving production efficiency, save human cost, be current urgent need to resolve.
Summary of the invention
Aiming at the above defects or improvement requirements of the prior art, the present invention provides a kind of Bluetooth label configurators, thus
It solves how fast and accurately to be realized according to varying environment and the running parameter of Bluetooth label is configured, raising production efficiency,
The technical issues of saving human cost.
To achieve the above object, the present invention provides a kind of Bluetooth label configurators, comprising: wired connection module, wireless
Link block, output display module, electromagnet module and processor;
The wired connection module, it is wired to be carried out to Bluetooth label for being connect with Bluetooth label by URAT interface
Configuration;
The wireless connection module, it is wireless to be carried out to Bluetooth label for being matched with Bluetooth label by Bluetooth protocol
Configuration;
The output display module for exporting the parameters for the Bluetooth label being currently configured, and is shown configured
Bluetooth label number and configuration result;
The electromagnet module, for generating electric power magnetic field coverage area around the Bluetooth label configurator;
The processor is used for when carrying out wired connection by the wired connection module with Bluetooth label, to bluetooth
Label carries out wired connection configuration, alternatively, being placed in the electric power magnetic field covering generated by the electromagnet module in Bluetooth label
When in range, the pairing with Bluetooth label is realized by the wireless connection module, wireless connection configuration is carried out to Bluetooth label.
Preferably, the processor carries out the process of wired connection configuration to Bluetooth label are as follows:
From the radio-frequency module in the wireless connection module to Bluetooth label sending device ID configuration-direct, device id parameter
With CRC16 check value, so that Bluetooth label is after receiving configuration-direct and configuration parameter, starting label configuration feature will be configured
Parameter write device ID argument address, after the completion of write-in, Bluetooth label reads device id from device id argument address and returns to
The Bluetooth label configurator judges whether the configuration of Bluetooth label succeeds by the Bluetooth label configurator, if successfully carrying out
It configures in next step, if configuration failure, sending device ID configuration-direct and device parameter is continued by the radio-frequency module, if being more than
Configuration failure several times then determines Bluetooth label configuration error, and terminates to configure;
The radio-frequency module sends identity ID configuration-direct, identity ID parameter and CRC16 check value, so that Bluetooth label exists
After receiving configuration-direct and configuration parameter, identity ID argument address, write-in is written in configuration parameter by starting label configuration feature
After the completion, identity ID is read from identity ID argument address by Bluetooth label and return to the Bluetooth label configurator, by described
Bluetooth label configurator judges whether the configuration of Bluetooth label succeeds, if successfully carrying out next step configuration, if configuration failure, by
The radio-frequency module continues to send identity ID configuration-direct and device parameter, if determining bluetooth more than configuration failure several times
Label configuration error, and terminate to configure;
Broadcast parameter configuration-direct, broadcast configuration parameter and CRC16 check value are sent by the radio-frequency module, so that bluetooth
For label after receiving configuration-direct and configuration parameter, broadcast parameter address is written in configuration parameter by starting label configuration feature,
After the completion of write-in, broadcast parameter is read from broadcast parameter address by Bluetooth label and returns to the Bluetooth label configurator, by
The Bluetooth label configurator judges whether the configuration of Bluetooth label succeeds, if successfully carrying out next step configuration, if configuration failure,
Then continued to send broadcast parameter configuration-direct and broadcast parameter by the radio-frequency module, if sentencing more than configuration failure several times
Fixed Bluetooth label configuration error, and terminate to configure;
Accelerometer disposition instruction, accelerometer disposition parameter and CRC16 check value are sent by the radio-frequency module, so that
Bluetooth label is receiving configuration-direct and configuration parameter, starts label configuration feature for configuration parameter and accelerometer parameter is written
Address after the completion of write-in, reads accelerometer parameter from accelerometer argument address by Bluetooth label and returns to the bluetooth
Label configurator judges whether configuration succeeds by the Bluetooth label configurator, if successfully carrying out next step configuration, if configuration is lost
It loses, is then continued to send the instruction of accelerometer parameter configuration and accelerometer parameter by the radio-frequency module, if being more than to match several times
It sets unsuccessfully, then determines label configuration error, and terminate to configure;
Cipher key configuration instruction, cipher key configuration parameter and CRC16 check value are sent by the radio-frequency module, so that the bluetooth
For label after receiving configuration-direct and configuration parameter, key parameter address is written in configuration parameter by starting label configuration feature,
After the completion of write-in, key parameter is read from key parameter address by Bluetooth label and returns to the Bluetooth label configurator, by
The Bluetooth label configurator judges whether configuration succeeds, and is penetrated if configuration failure by described if successfully carrying out next step configuration
Frequency module continues to send key parameter configuration-direct and accelerometer parameter, if determining the mark more than configuration failure several times
Label configuration error, and terminate to configure.
Preferably, the processor carries out the process for being wirelessly connected configuration to Bluetooth label are as follows:
Bluetooth label is placed into the Bluetooth label configurator magnetic field range, realize the Bluetooth label configurator with
The wireless pairing of Bluetooth label connects;
By the radio-frequency module sending device ID configuration-direct, device id parameter and CRC16 check value, so that Bluetooth label
After receiving configuration-direct and configuration parameter, starts label configuration feature for configuration parameter write device ID argument address, write
After the completion of entering, device id is read from device id argument address by Bluetooth label and returns to the Bluetooth label configurator, by institute
It states Bluetooth label configurator and judges whether configuration succeeds, if next step configuration is successfully carried out, if configuration failure, by the radio frequency
Module continues sending device ID configuration-direct and device parameter, if determining that the label configures more than configuration failure several times
Mistake, and terminate to configure;
Identity ID configuration-direct, identity ID parameter and CRC16 check value are sent by the radio-frequency module, so that the bluetooth
Label is after receiving configuration-direct and configuration parameter, and starting label configuration feature is by configuration parameter write-in identity ID parameter
Location after the completion of write-in, reads identity ID from identity ID argument address by Bluetooth label and returns to the Bluetooth label configurator,
Judge whether configuration succeeds by the Bluetooth label configurator, if next step configuration is successfully carried out, if configuration failure, by described
Radio-frequency module continues to send identity ID configuration-direct and device parameter, if determining that the label is matched more than configuration failure several times
Error is set, and terminates to configure;
Broadcast parameter configuration-direct, broadcast configuration parameter and CRC16 check value are sent by the radio-frequency module, so that described
Bluetooth label is after receiving configuration-direct and configuration parameter, and starting label configuration feature is by configuration parameter write-in broadcast parameter
Location after the completion of write-in, reads broadcast parameter from broadcast parameter address by Bluetooth label and returns to the Bluetooth label configurator,
Judge whether configuration succeeds by the Bluetooth label configurator, if next step configuration is successfully carried out, if configuration failure, by described
Radio-frequency module continues to send broadcast parameter configuration-direct and broadcast parameter, if determining the label more than configuration failure several times
Configuration error, and terminate to configure;
Accelerometer disposition instruction, accelerometer disposition parameter and CRC16 check value are sent by the radio-frequency module, so that
The Bluetooth label starts label configuration feature for configuration parameter and acceleration is written after receiving configuration-direct and configuration parameter
Argument address is counted, after the completion of write-in, accelerometer parameter is read from accelerometer argument address by Bluetooth label and returns to institute
Bluetooth label configurator is stated, judges whether configuration succeeds by the Bluetooth label configurator, if successfully carrying out next step configuration, if
Configuration failure then continues to send the instruction of accelerometer parameter configuration and accelerometer parameter, if more than configuration failure several times,
Determine label configuration error, and terminates to configure;
Cipher key configuration instruction, cipher key configuration parameter and CRC16 check value are sent by the radio-frequency module, so that the bluetooth
For label after receiving configuration-direct and configuration parameter, key parameter address is written in configuration parameter by starting label configuration feature,
After the completion of write-in, key parameter is read from key parameter address by Bluetooth label and returns to the Bluetooth label configurator, by
The Bluetooth label configurator judges whether configuration succeeds, and is penetrated if configuration failure by described if successfully carrying out next step configuration
Frequency module continues to send key parameter configuration-direct and accelerometer parameter, if determining the mark more than configuration failure several times
Label configuration error, and terminate to configure.
Preferably, the configuration mode of the Bluetooth label configurator includes automatically configuring and manual configuration, in manual configuration
When, the specific identity ID of manual configuration, device id, device broadcasts parameter, accelerometer disposition parameter and key parameter, automatic
When configuration, identity ID, device id, device broadcasts parameter, accelerometer disposition are automatically configured by the Bluetooth label configurator and joined
Several and key parameter.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and show
Beneficial effect:
(1) when producing in batches, configurator of the invention can be connect with Bluetooth label by UART interface, and default feature is arranged
Parameter may be selected automatic or manual, be embodied as each label allocating default parameter and distribute fixed device id;
(2) according to the special parameter demand of different application scene, relevant parameter is set on configurator of the invention, is started
The electromagnet module of configurator, selection automatically configure mode, label is placed in the magnetic field of configurator, will to each label into
Row automatically configures, and is embodied as each label distributing equipment ID and identity ID.
Detailed description of the invention
Fig. 1 is the structural schematic diagram that a kind of Bluetooth label disclosed by the embodiments of the present invention automatically configures device.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described below
Not constituting a conflict with each other can be combined with each other.
The present invention provides a kind of Bluetooth labels to automatically configure device, mainly includes bluetooth module, processor, radio frequency mould
The modules compositions such as block, electromagnet module and output display module, wherein the master chip of bluetooth module is DA14583 chip, processing
The main control chip of device is STM32L051 chip, and processor carries UART serial communication unit, and display module uses COG liquid crystal-
JM12864C08, electromagnet module use onboard electromagnet.The present invention passes through UART interface connection or wireless pairing mode and indigo plant
Tooth label is attached, to the various functions parameter of Bluetooth label (device id, identity ID, accelerometer movement threshold parameter plus
Speedometer static threshold parameter, periodic broadcast frequency and duration, sports broadcast frequency and duration, static broadcasting frequency and duration
Etc. parameters) configured.Firstly, the present invention can automatically configure the initiation parameter of label in label batch production.
It is embodied as each label distribution fixed device id and identity ID;Secondly, under different application scene, according to special parameter need
It asks, relevant parameter is set in the present invention.Concrete operations are as follows: starting electromagnet module, selection automatically configures mode, by label
Be placed in the magnetic field of configurator, each label automatically configured, be embodied as the fixed device id of each label distribution with
Identity ID.
It is the structural schematic diagram that a kind of Bluetooth label disclosed by the embodiments of the present invention automatically configures device as shown in Figure 1, comprising:
Wired connection module is wirelessly connected module, output display module, electromagnet module and processor;
Wired connection module, for being connect with Bluetooth label by URAT interface, to carry out wired configuration to Bluetooth label;
It is wirelessly connected module, for matching with Bluetooth label by Bluetooth protocol, to carry out radio configuration to Bluetooth label;
Display module is exported, for exporting the parameters for the Bluetooth label being currently configured, and shows configured bluetooth
Number of tags and configuration result;
Electromagnet module, for generating electric power magnetic field coverage area around Bluetooth label configurator;
Processor, for being carried out to Bluetooth label when carrying out wired connection by wired connection module with Bluetooth label
Wired connection configuration, alternatively, passing through when in the range of Bluetooth label being placed in and covered by the electric power magnetic field that electromagnet module generates
It is wirelessly connected the pairing of module realization and Bluetooth label, wireless connection configuration is carried out to Bluetooth label.
Under wired connection, Bluetooth label configurator is connect with Bluetooth label by UART, is set in Bluetooth label configurator
To determine initial plant ID and identity ID, selects auto configuration mode, Bluetooth label configurator sends label configuration-direct by UART,
Label enters configuration status, when Bluetooth label configurator receive self-test label return configuration sign on, start send match
Set instruction and parameter.
Bluetooth label configurator sends configuration-direct and configuration parameter every time and all carries out CRC16 verification calculating, and will calculate
Inside value write-in configuration parameter, guarantee correctness of the data in communication process, label receives configuration-direct and configuration parameter
First parameter CRC16 is verified afterwards and is calculated, if verification passes through, label starts corresponding configurator:
Specifically, processor carries out the process of wired connection configuration to Bluetooth label are as follows:
It (is wrapped from the radio-frequency module in wireless connection module to Bluetooth label sending device ID configuration-direct, device id parameter
Include broadcast whether encrypted instruction) and CRC16 check value so that Bluetooth label after receiving configuration-direct and configuration parameter, opens
Label configuration feature is moved by configuration parameter write device ID argument address, after the completion of write-in, Bluetooth label is from device id parameter
Location reads device id and simultaneously returns to Bluetooth label configurator, by Bluetooth label configurator judge Bluetooth label configuration whether at
Function, if configuration failure, continues sending device ID configuration-direct by radio-frequency module and equipment is joined if successfully carrying out next step configuration
Number, if determining Bluetooth label configuration error, and terminate to configure more than configuration failure several times;
Identity ID configuration-direct, identity ID parameter and CRC16 check value are sent by radio-frequency module, so that Bluetooth label is connecing
After receiving configuration-direct and configuration parameter, identity ID argument address is written in configuration parameter by starting label configuration feature, has been written
Cheng Hou reads identity ID from identity ID argument address by Bluetooth label and returns to Bluetooth label configurator, matched by Bluetooth label
Set device and judge whether the configuration of Bluetooth label succeeds, if successfully carry out next step configuration, if configuration failure, by radio-frequency module after
Supervention send identity ID configuration-direct and device parameter, if Bluetooth label configuration error is determined more than configuration failure several times, and
Terminate configuration;
Broadcast parameter configuration-direct, broadcast configuration parameter and CRC16 check value are sent by radio-frequency module, so that Bluetooth label
After receiving configuration-direct and configuration parameter, broadcast parameter address, write-in is written in configuration parameter by starting label configuration feature
After the completion, broadcast parameter is read from broadcast parameter address by Bluetooth label and return to Bluetooth label configurator, by Bluetooth label
Configurator judges whether the configuration of Bluetooth label succeeds, if next step configuration is successfully carried out, if configuration failure, by radio-frequency module
Continue to send broadcast parameter configuration-direct and broadcast parameter, if determining that the Bluetooth label configures more than configuration failure several times
Error, and terminate to configure;
Accelerometer disposition instruction, accelerometer disposition parameter and CRC16 check value are sent by radio-frequency module, so that bluetooth
Label is receiving configuration-direct and configuration parameter, and starting label configuration feature is by configuration parameter write-in accelerometer parameter
Location after the completion of write-in, is read accelerometer parameter and returns to Bluetooth label and matched by Bluetooth label from accelerometer argument address
Device is set, judges whether configuration succeeds by Bluetooth label configurator, if next step configuration is successfully carried out, if configuration failure, by penetrating
Frequency module continues to send the instruction of accelerometer parameter configuration and accelerometer parameter, if determining more than configuration failure several times
Label configuration error, and terminate to configure;
Cipher key configuration instruction, cipher key configuration parameter and CRC16 check value are sent by radio-frequency module, so that Bluetooth label is connecing
After receiving configuration-direct and configuration parameter, key parameter address is written in configuration parameter by starting label configuration feature, and write-in is completed
Afterwards, key parameter is read from key parameter address by Bluetooth label and return to Bluetooth label configurator, configured by Bluetooth label
Device judges whether configuration succeeds, if successfully carrying out next step configuration, if configuration failure, is continued to send key ginseng by radio-frequency module
Number configuration-direct and accelerometer parameter, if determining label configuration error, and terminate to match more than configuration failure several times
It sets.
The above configuration step all configuration successfuls, then the inspection label configuration successful, label configurator modify automatically identity ID and
Device id parameter, and keep other parameters constant, label configurator continues through UART and sends label configuration-direct, waits next
The label of a connection returns to configuration sign on, is configured (configuration used time 200ms) automatically;
It, can identity ID specific to some special tag manual configurations, device id, device broadcasts if selecting manual configuration
Parameter, accelerometer disposition parameter and key parameter, after setting parameter, click configuration, label configurator by above-mentioned steps into
Row configuration.
Initial plant ID, identity ID are set on Bluetooth label configurator and other every configuration parameters are configured, it is blue
Tooth label configurator generates magnetic field by electric power magnetic field module, if Bluetooth label is placed into Bluetooth label configurator magnetic field model
In enclosing, Bluetooth label configurator will be connect with Bluetooth label by wireless pairing mode.If selecting auto configuration mode, bluetooth mark
Configurator is signed by wireless transmission label configuration-direct, label enters configuration status, when Bluetooth label configurator receives self-test
The configuration sign on that label returns starts to send configuration-direct and parameter.
Bluetooth label configurator sends configuration-direct and configuration parameter every time and all carries out CRC16 verification calculating, and will calculate
Inside value write-in configuration parameter, guarantee correctness of the data in communication process, label receives configuration-direct and configuration parameter
First parameter CRC16 is verified afterwards and is calculated, if verification passes through, label starts corresponding configurator, and specifically, processor is to bluetooth
Label carries out the process for being wirelessly connected configuration are as follows:
Bluetooth label is placed into the Bluetooth label configurator magnetic field range, realize the Bluetooth label configurator with
The wireless pairing of Bluetooth label connects;
By the radio-frequency module sending device ID configuration-direct, device id parameter (including broadcast whether encrypted instruction) and
CRC16 check value, so that Bluetooth label, after receiving configuration-direct and configuration parameter, starting label configuration feature joins configuration
Number write device ID argument address after the completion of write-in, is read device id from device id argument address by Bluetooth label and is returned to
Bluetooth label configurator judges whether configuration succeeds by Bluetooth label configurator, if successfully carrying out next step configuration, if configuration is lost
It loses, then sending device ID configuration-direct and device parameter is continued by radio-frequency module, if being more than that configuration failure, judgement should several times
Label configuration error, and terminate to configure;
Identity ID configuration-direct, identity ID parameter and CRC16 check value are sent by radio-frequency module, so that Bluetooth label is connecing
After receiving configuration-direct and configuration parameter, identity ID argument address is written in configuration parameter by starting label configuration feature, has been written
Cheng Hou reads identity ID from identity ID argument address by Bluetooth label and returns to Bluetooth label configurator, matched by Bluetooth label
It sets device and judges whether configuration succeeds, if successfully carrying out next step configuration, if configuration failure, continued to send identity by radio-frequency module
ID configuration-direct and device parameter, if determining label configuration error, and terminate to configure more than configuration failure several times;
Broadcast parameter configuration-direct, broadcast configuration parameter and CRC16 check value are sent by radio-frequency module, so that Bluetooth label
After receiving configuration-direct and configuration parameter, broadcast parameter address, write-in is written in configuration parameter by starting label configuration feature
After the completion, broadcast parameter is read from broadcast parameter address by Bluetooth label and return to Bluetooth label configurator, by Bluetooth label
Configurator judges whether configuration succeeds, if successfully carrying out next step configuration, if configuration failure, continues to send by radio-frequency module wide
Parameter configuration instruction and broadcast parameter are broadcast, if determining label configuration error, and terminate to match more than configuration failure several times
It sets;
Accelerometer disposition instruction, accelerometer disposition parameter and CRC16 check value are sent by radio-frequency module, so that bluetooth
Label is after receiving configuration-direct and configuration parameter, and starting label configuration feature is by configuration parameter write-in accelerometer parameter
Location after the completion of write-in, is read accelerometer parameter and returns to Bluetooth label and matched by Bluetooth label from accelerometer argument address
Device is set, judges whether configuration succeeds by Bluetooth label configurator, is continued if successfully carrying out next step configuration if configuration failure
The instruction of accelerometer parameter configuration and accelerometer parameter are sent, if determining that the label configures more than configuration failure several times
Error, and terminate to configure;
Cipher key configuration instruction, cipher key configuration parameter and CRC16 check value are sent by radio-frequency module, so that Bluetooth label is connecing
After receiving configuration-direct and configuration parameter, key parameter address is written in configuration parameter by starting label configuration feature, and write-in is completed
Afterwards, key parameter is read from key parameter address by Bluetooth label and return to Bluetooth label configurator, configured by Bluetooth label
Device judges whether configuration succeeds, if successfully carrying out next step configuration, if configuration failure, is continued to send key ginseng by radio-frequency module
Number configuration-direct and accelerometer parameter, if determining label configuration error, and terminate to match more than configuration failure several times
It sets.
The above configuration step all configuration successfuls, then the Bluetooth label configuration successful, label configurator modify identity ID automatically
With device id parameter, and keep other parameters constant, label configurator continues through UART and sends label configuration-direct, under waiting
The label of one connection returns to configuration sign on, is configured (configuration used time 200ms) automatically;
It, can identity ID specific to some special tag manual configurations, device id, device broadcasts if selecting manual configuration
Parameter, accelerometer disposition parameter and key parameter, after setting parameter, click configuration, label configurator by above-mentioned steps into
Row configuration.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to
The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include
Within protection scope of the present invention.
Claims (3)
1. a kind of Bluetooth label configurator characterized by comprising wired connection module is wirelessly connected module, output display mould
Block, electromagnet module and processor;
The wired connection module, for being connect with Bluetooth label by URAT interface, to carry out wired configuration to Bluetooth label;
The wireless connection module, for being matched with Bluetooth label by Bluetooth protocol, to carry out radio configuration to Bluetooth label;
The output display module for exporting the parameters for the Bluetooth label being currently configured, and shows configured bluetooth
Number of tags and configuration result;
The electromagnet module, for generating electric power magnetic field coverage area around the Bluetooth label configurator;
The processor is used for when carrying out wired connection by the wired connection module with Bluetooth label, to Bluetooth label
Wired connection configuration is carried out, alternatively, being placed in the range of the electric power magnetic field covering generated by the electromagnet module in Bluetooth label
When interior, the pairing with Bluetooth label is realized by the wireless connection module, wireless connection configuration is carried out to Bluetooth label;
The processor carries out the process for being wirelessly connected configuration to Bluetooth label are as follows:
Bluetooth label is placed into the Bluetooth label configurator magnetic field range, realizes the Bluetooth label configurator and bluetooth
The wireless pairing of label connects;
By it is described wireless connection module in radio-frequency module sending device ID configuration-direct, device id parameter and CRC16 check value,
So that Bluetooth label after receiving configuration-direct and configuration parameter, starts label configuration feature for configuration parameter write device ID
Argument address after the completion of write-in, reads device id from device id argument address by Bluetooth label and returns to the Bluetooth label
Configurator judges whether configuration succeeds by the Bluetooth label configurator, if successfully carrying out next step configuration, if configuration failure,
Sending device ID configuration-direct and device parameter are then continued by the radio-frequency module, if determining more than configuration failure several times
Label configuration error, and terminate to configure;
Identity ID configuration-direct, identity ID parameter and CRC16 check value are sent by the radio-frequency module, so that the Bluetooth label
After receiving configuration-direct and configuration parameter, identity ID argument address is written in configuration parameter by starting label configuration feature, is write
After the completion of entering, identity ID is read from identity ID argument address by Bluetooth label and returns to the Bluetooth label configurator, by institute
It states Bluetooth label configurator and judges whether configuration succeeds, if next step configuration is successfully carried out, if configuration failure, by the radio frequency
Module continues to send identity ID configuration-direct and device parameter, if determining that the label configures more than configuration failure several times
Mistake, and terminate to configure;
Broadcast parameter configuration-direct, broadcast configuration parameter and CRC16 check value are sent by the radio-frequency module, so that the bluetooth
For label after receiving configuration-direct and configuration parameter, broadcast parameter address is written in configuration parameter by starting label configuration feature,
After the completion of write-in, broadcast parameter is read from broadcast parameter address by Bluetooth label and returns to the Bluetooth label configurator, by
The Bluetooth label configurator judges whether configuration succeeds, and is penetrated if configuration failure by described if successfully carrying out next step configuration
Frequency module continues to send broadcast parameter configuration-direct and broadcast parameter, if determining that the label is matched more than configuration failure several times
Error is set, and terminates to configure;
Accelerometer disposition instruction, accelerometer disposition parameter and CRC16 check value are sent by the radio-frequency module, so that described
For Bluetooth label after receiving configuration-direct and configuration parameter, starting label configuration feature joins configuration parameter write-in accelerometer
Number address after the completion of write-in, reads accelerometer parameter from accelerometer argument address by Bluetooth label and returns to the indigo plant
Tooth label configurator judges whether configuration succeeds by the Bluetooth label configurator, if successfully carrying out next step configuration, if configuration
Failure then continues to send the instruction of accelerometer parameter configuration and accelerometer parameter, if determining more than configuration failure several times
Label configuration error, and terminate to configure;
Cipher key configuration instruction, cipher key configuration parameter and CRC16 check value are sent by the radio-frequency module, so that the Bluetooth label
After receiving configuration-direct and configuration parameter, key parameter address, write-in is written in configuration parameter by starting label configuration feature
After the completion, key parameter is read from key parameter address by Bluetooth label and return to the Bluetooth label configurator, by described
Bluetooth label configurator judges whether configuration succeeds, if next step configuration is successfully carried out, if configuration failure, by the radio frequency mould
Block continues to send key parameter configuration-direct and accelerometer parameter, if determining that the label is matched more than configuration failure several times
Error is set, and terminates to configure.
2. Bluetooth label configurator according to claim 1, which is characterized in that the processor has Bluetooth label
The process of line connection configuration are as follows:
From it is described wireless connection module in radio-frequency module to Bluetooth label sending device ID configuration-direct, device id parameter and
CRC16 check value, so that Bluetooth label, after receiving configuration-direct and configuration parameter, starting label configuration feature joins configuration
Number write device ID argument address, after the completion of write-in, Bluetooth label reads device id from device id argument address and returns to institute
Bluetooth label configurator is stated, judges whether the configuration of Bluetooth label succeeds by the Bluetooth label configurator, if successfully carrying out down
The configuration of one step continues sending device ID configuration-direct and device parameter by the radio-frequency module if configuration failure, if if being more than
Dry configuration failure then determines Bluetooth label configuration error, and terminates to configure;
Identity ID configuration-direct, identity ID parameter and CRC16 check value are sent by the radio-frequency module, so that Bluetooth label is connecing
After receiving configuration-direct and configuration parameter, identity ID argument address is written in configuration parameter by starting label configuration feature, has been written
Cheng Hou reads identity ID from identity ID argument address by Bluetooth label and returns to the Bluetooth label configurator, by the indigo plant
Tooth label configurator judges whether the configuration of Bluetooth label succeeds, if next step configuration is successfully carried out, if configuration failure, by institute
It states radio-frequency module to continue to send identity ID configuration-direct and device parameter, if determining bluetooth mark more than configuration failure several times
Label configuration error, and terminate to configure;
Broadcast parameter configuration-direct, broadcast configuration parameter and CRC16 check value are sent by the radio-frequency module, so that Bluetooth label
After receiving configuration-direct and configuration parameter, broadcast parameter address, write-in is written in configuration parameter by starting label configuration feature
After the completion, broadcast parameter is read from broadcast parameter address by Bluetooth label and return to the Bluetooth label configurator, by described
Bluetooth label configurator judges whether the configuration of Bluetooth label succeeds, if successfully carrying out next step configuration, if configuration failure, by
The radio-frequency module continues to send broadcast parameter configuration-direct and broadcast parameter, if being more than that configuration failure, judgement should several times
Bluetooth label configuration error, and terminate to configure;
Accelerometer disposition instruction, accelerometer disposition parameter and CRC16 check value are sent by the radio-frequency module, so that bluetooth
Label is receiving configuration-direct and configuration parameter, and starting label configuration feature is by configuration parameter write-in accelerometer parameter
Location after the completion of write-in, reads accelerometer parameter from accelerometer argument address by Bluetooth label and returns to the bluetooth mark
Configurator is signed, judges whether configuration succeeds by the Bluetooth label configurator, if successfully carrying out next step configuration, if configuration is lost
It loses, is then continued to send the instruction of accelerometer parameter configuration and accelerometer parameter by the radio-frequency module, if being more than to match several times
It sets unsuccessfully, then determines label configuration error, and terminate to configure;
Cipher key configuration instruction, cipher key configuration parameter and CRC16 check value are sent by the radio-frequency module, so that the Bluetooth label
After receiving configuration-direct and configuration parameter, key parameter address, write-in is written in configuration parameter by starting label configuration feature
After the completion, key parameter is read from key parameter address by Bluetooth label and return to the Bluetooth label configurator, by described
Bluetooth label configurator judges whether configuration succeeds, if next step configuration is successfully carried out, if configuration failure, by the radio frequency mould
Block continues to send key parameter configuration-direct and accelerometer parameter, if determining that the label is matched more than configuration failure several times
Error is set, and terminates to configure.
3. Bluetooth label configurator according to claim 1 or 2, which is characterized in that the Bluetooth label configurator is matched
Setting mode includes automatically configuring and manual configuration, and in manual configuration, the specific identity ID of manual configuration, device id, equipment are wide
Parameter, accelerometer disposition parameter and key parameter are broadcast, when automatically configuring, body is automatically configured by the Bluetooth label configurator
Part ID, device id, device broadcasts parameter, accelerometer disposition parameter and key parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810205179.2A CN108337668B (en) | 2018-03-13 | 2018-03-13 | A kind of Bluetooth label configurator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810205179.2A CN108337668B (en) | 2018-03-13 | 2018-03-13 | A kind of Bluetooth label configurator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108337668A CN108337668A (en) | 2018-07-27 |
CN108337668B true CN108337668B (en) | 2019-11-12 |
Family
ID=62930731
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810205179.2A Expired - Fee Related CN108337668B (en) | 2018-03-13 | 2018-03-13 | A kind of Bluetooth label configurator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337668B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109606839A (en) * | 2018-11-27 | 2019-04-12 | 广州极飞科技有限公司 | Perfusion machine, medicine-chest, perfusion system, communication device and method |
CN111031494B (en) * | 2019-12-23 | 2022-04-15 | 山东有人物联网股份有限公司 | Bluetooth device parameter batch configuration method |
CN114567547B (en) * | 2021-04-19 | 2024-01-19 | 浙江正泰电器股份有限公司 | Device networking method, system, device, communication management device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1379343A (en) * | 2002-04-30 | 2002-11-13 | 北京信源咨讯信息技术有限公司 | Entrance guard method and system using blue tooth technique in wireless authentication and data transmitting/receiving |
CN1926297A (en) * | 2004-02-20 | 2007-03-07 | 关卡系统股份有限公司 | System and method for authenticated detachment of product tags |
CN102565582A (en) * | 2011-12-29 | 2012-07-11 | 上海集成电路技术与产业促进中心 | Test device of radio frequency identification equipment |
CN202748833U (en) * | 2012-08-01 | 2013-02-20 | 睿芯(大连)股份有限公司 | Bluetooth anti-counterfeiting system based on intelligent terminal |
CN203179025U (en) * | 2013-02-04 | 2013-09-04 | 快车科技有限公司 | Label reading device and label identification system |
CN104463270A (en) * | 2014-11-12 | 2015-03-25 | 惠州Tcl移动通信有限公司 | Intelligent terminal, financial card and financial management system based on RFID |
CN106934431A (en) * | 2017-03-08 | 2017-07-07 | 北京休恩博得科技股份有限公司 | Bluetooth mobile RFID read write line and reading/writing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2005206800A1 (en) * | 2004-01-12 | 2005-08-04 | Symbol Technologies, Inc. | Radio frequency identification tag inlay sortation and assembly |
-
2018
- 2018-03-13 CN CN201810205179.2A patent/CN108337668B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1379343A (en) * | 2002-04-30 | 2002-11-13 | 北京信源咨讯信息技术有限公司 | Entrance guard method and system using blue tooth technique in wireless authentication and data transmitting/receiving |
CN1926297A (en) * | 2004-02-20 | 2007-03-07 | 关卡系统股份有限公司 | System and method for authenticated detachment of product tags |
CN102565582A (en) * | 2011-12-29 | 2012-07-11 | 上海集成电路技术与产业促进中心 | Test device of radio frequency identification equipment |
CN202748833U (en) * | 2012-08-01 | 2013-02-20 | 睿芯(大连)股份有限公司 | Bluetooth anti-counterfeiting system based on intelligent terminal |
CN203179025U (en) * | 2013-02-04 | 2013-09-04 | 快车科技有限公司 | Label reading device and label identification system |
CN104463270A (en) * | 2014-11-12 | 2015-03-25 | 惠州Tcl移动通信有限公司 | Intelligent terminal, financial card and financial management system based on RFID |
CN106934431A (en) * | 2017-03-08 | 2017-07-07 | 北京休恩博得科技股份有限公司 | Bluetooth mobile RFID read write line and reading/writing method |
Also Published As
Publication number | Publication date |
---|---|
CN108337668A (en) | 2018-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337668B (en) | A kind of Bluetooth label configurator | |
CN103905127B (en) | Method and system for detecting proximity of an end device to a vehicle based on signal strength information received over a bluetooth low energy (ble) advertising channel | |
CN103136825B (en) | Information communication system and portable device for vehicle | |
CN103236891B (en) | System and method for testing dedicated short range communication (DSRC) equipment | |
CN109474977A (en) | A kind of monitoring method of equipment, apparatus and system | |
CN106548555A (en) | A kind of method for unlocking and user terminal of intelligent bicycle lock | |
CN110213058A (en) | A kind of block chain all-in-one machine for realizing data cochain | |
CN107104839A (en) | Firmware upgrade method, device, server, Internet of things system and RF tag | |
CN112055082B (en) | Checking method and device of access equipment and computer equipment | |
CN108495323B (en) | A kind of Bluetooth label detector with a variety of detection patterns | |
CN108573609A (en) | Parking facility user bootstrap technique, apparatus and system | |
CN106455980A (en) | Setup synchronization apparatus and methods for end user medical devices | |
CN106453629B (en) | A kind of automobile electronic system remote update system and its method based on mobile network | |
CN106211119A (en) | A kind of flow processing method, Apparatus and system | |
CN109117903A (en) | A kind of positioning device | |
CN109474917A (en) | A kind of roadside device RSU and its ' In System Reconfiguration Method | |
CN106612530A (en) | Control method, device and system for networking equipment | |
CN108733392A (en) | A kind of update method and system of Bluetooth electronic tag program | |
CN205582284U (en) | Traffic sign transmitting terminal and traffic sign identification system | |
CN205621082U (en) | On -vehicle unit secondary of ETC distribution data additional recording system | |
CN112622534B (en) | Self-learning method based on tire pressure monitoring system and tire pressure monitoring system | |
CN204926591U (en) | Intelligence is learned and is driven real analog system entirely | |
CN110428636B (en) | Combined radio frequency electronic license plate and electronic display device | |
CN207039978U (en) | Intelligent lamp and mobile Internet of Things illumination reservation system | |
CN212381244U (en) | Handheld device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191112 Termination date: 20200313 |
|
CF01 | Termination of patent right due to non-payment of annual fee |