CN109151776A - Low-power consumption bluetooth roll calling system - Google Patents
Low-power consumption bluetooth roll calling system Download PDFInfo
- Publication number
- CN109151776A CN109151776A CN201710443453.5A CN201710443453A CN109151776A CN 109151776 A CN109151776 A CN 109151776A CN 201710443453 A CN201710443453 A CN 201710443453A CN 109151776 A CN109151776 A CN 109151776A
- Authority
- CN
- China
- Prior art keywords
- roll
- call
- receiving
- peripheral device
- center fixture
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
It is a kind of to cope with big quantity roll-call object and efficiently implement the low-power consumption bluetooth roll calling system called the roll.The low-power consumption bluetooth roll calling system includes can be to the center fixture that peripheral device is called the roll and the multiple peripheral devices that can be connect by low-power consumption bluetooth with the center fixture, after center fixture detects roll-call object and saves the roll-call data of roll-call finishing device, center fixture and roll-call finishing device establish bluetooth connection, and the instruction gone off the air at the appointed time is sent to roll-call finishing device, when roll-call finishing device receives instruction, stop sending broadcast message within the stipulated time.
Description
Technical field
The present invention relates to the low-power consumption bluetooth roll calling systems for being communicated and being realized based on low-power consumption bluetooth.
Background technique
In recent years, with the development of technology of Internet of things, Wireless LAN, bluetooth (Bluetooth), low-power consumption bluetooth are based on
Communications such as (Bluetooth Low Energy, BLE) are widely spread.Compared with traditional bluetooth, low-power consumption bluetooth
Technology is designed to the wireless technology of super low-power consumption (ULP), reduces power consumption to the maximum extent, and has the quickly characteristics such as connection.
Low-power consumption bluetooth system is usually made of center fixture and peripheral device.The case where carrying out the detection of peripheral device
Under, peripheral device is set as broadcast mode and repeatedly sends broadcast message to surrounding, and at the same time, center fixture is set as scanning
Mode can receive the broadcast message sent from peripheral device under the scan pattern.The process is also referred to as scanning function.This
Low-power consumption bluetooth roll calling system in invention refers to the system called the roll using scanning function to peripheral device in center fixture side.
But, there is a problem of in existing low-power consumption bluetooth roll calling system following.Made in bluetooth technology with low power consumption
Channel includes to be used for transmission 37 data channels (Data channel) of data and for searching for other devices or broadcast
3 broadcast channels (Advertising channel), 37 data channels respectively correspond 0ch~36ch, 3 broadcast channels
Respectively correspond 37ch~39ch.Therefore, the peripheral device in low-power consumption bluetooth roll calling system can only pass through this 3 broadcast channels
Randomly to send broadcast message.Moreover, in the case where center fixture is scanned, center fixture be randomly chosen 37ch~
Any channel in 39ch detects whether to have the broadcast message from peripheral device.
In the case where the quantity of the peripheral device of surrounding is few, repeated between each broadcast message sent by peripheral device
Interval is shorter, then center fixture can more detect peripheral device faster.On the other hand, when the quantity of the peripheral device of surrounding
In the case where more, due to broadcast channel quantity only there are three, if all peripheral devices are simultaneously continuously sent out over extensively
Information is broadcast, then it is possible that two or more broadcast messages overlap on the same channel in synchronization, it is difficult
To be detected by center fixture.In addition, because broadcast message is sent with being continued for, the broadcast of the same peripheral device
Information is possible to be detected repeatedly multiple.These factors can all cause the roll-call time elongated, and the efficiency for processing of calling the roll reduces.
Patent document: CN102693564A
Summary of the invention
The present invention makes in view of the foregoing, and the purpose is to provide a kind of big quantity roll-call object and efficiently of capable of coping with
Implement the low-power consumption bluetooth roll calling system called the roll.
1st technical solution of the invention is related to a kind of low-power consumption bluetooth roll calling system, including can carry out to peripheral device
The center fixture of roll-call and the multiple peripheral devices that can be connect by low-power consumption bluetooth with the center fixture, the low-power consumption are blue
Tooth roll calling system is characterized in that the center fixture has: the first storage unit pre-saves the multiple peripheral device
Identification information and the time carried out needed for once calling the roll to the multiple peripheral device call the roll the period;First receiving and transmitting part, energy
The transmitting-receiving of information is carried out between each peripheral device in enough and the multiple peripheral device;And it can be to the center fixture
Act the first control units controlled, each peripheral device has: the second storage unit has pre-saved the peripheral device certainly
Unique identification information of body;Second receiving and transmitting part can carry out the transmitting-receiving of information between the center fixture;And it can be right
The second control unit that the movement of the peripheral device is controlled, the center fixture first receiving and transmitting part from described more
A peripheral equipment receiver to the identification information comprising some peripheral device broadcast message when, the first control units judges institute
It states the identification information for including in broadcast message and whether some in multiple identification informations in first storage unit is consistent,
In the case where being judged as unanimous circumstances, the first control units completes dress using the peripheral device for sending the broadcast message as calling the roll
It sets, generates and save the roll-call data of the roll-call finishing device, save the roll-call finishing device in the center fixture
After roll-call data, the first control units makes the center fixture and the roll-call finishing device establish bluetooth connection, and
First receiving and transmitting part is sent to second receiving and transmitting part of the roll-call finishing device to stop sending extensively at the appointed time
The instruction for broadcasting information is received in second receiving and transmitting part of the roll-call finishing device from described in first receiving and transmitting part
When instruction, second control unit makes second receiving and transmitting part stop sending the broadcast message within the stipulated time.
The low-power consumption bluetooth roll calling system that 2nd technical solution of the invention is related to, in the quantity of the roll-call finishing device
Equal to the multiple peripheral devices pre-saved in first storage unit quantity when, or in the roll-call end cycle,
The first control units terminates to call the roll and generate roll-call result.
The low-power consumption bluetooth roll calling system that 3rd technical solution of the invention is related to, the stipulated time are from the center
Device and the peripheral device establish connection and start time until roll-call end cycle.
The low-power consumption bluetooth roll calling system that 4th technical solution of the invention is related to, the center fixture also has can be defeated
Enter the input unit of identification information and period of calling the roll, and the output section of roll-call result can be exported.
The low-power consumption bluetooth roll calling system that 5th technical solution of the invention is related to, the first control units also have counting
Function, can count the quantity of the multiple peripheral device and the quantity of the roll-call finishing device, in first storage unit
The count results of the tally function are also preserved, the first control units also has comparing function, fills to the multiple periphery
The quantity of the quantity and the roll-call finishing device set is compared, when the quantity etc. that comparison result is the multiple peripheral device
When the quantity of the roll-call finishing device, the first control units makes first receiving and transmitting part stop receiving broadcast message, raw
At and export and indicate that whole peripheral devices complete the result called the roll.
The low-power consumption bluetooth roll calling system that 6th technical solution of the invention is related to, in roll-call end cycle, and the comparison
When being as a result less than the quantity of the multiple peripheral device for the quantity of the roll-call finishing device, the first control units makes
First receiving and transmitting part stops receiving broadcast message, generates and exports the information comprising the roll-call finishing device and do not call the roll
The result of either one in the information of device.
The low-power consumption bluetooth roll calling system that 7th technical solution of the invention is related to, the packet of the roll-call finishing device
At least one of quantity and the identification information of roll-call finishing device of the finishing device containing roll-call, the information of the non-calling device
At least one of quantity comprising non-calling device and the identification information of non-calling device.
The low-power consumption bluetooth roll calling system that 8th technical solution of the invention is related to, including peripheral device can be carried out a little
The center fixture of name and the multiple peripheral devices that can be connect by low-power consumption bluetooth with the center fixture, the low-power consumption bluetooth
Roll calling system is characterized in that the center fixture has: the first storage unit pre-saves the knowledge of the multiple peripheral device
Other information and the time carried out needed for once calling the roll to the multiple peripheral device call the roll the period;First receiving and transmitting part, can
The transmitting-receiving of information is carried out between each peripheral device in the multiple peripheral device;And the center fixture can be moved
The first control units controlled, each peripheral device have: the second storage unit has pre-saved the peripheral device itself
Unique identification information;Second receiving and transmitting part can carry out the transmitting-receiving of information between the center fixture;And can to institute
The second control unit that the movement of peripheral device is controlled is stated, the first control units is controlled by executing the first program,
First program includes: first receiving and transmitting part in the center fixture from the multiple peripheral equipment receiver to comprising certain
When the broadcast message of the identification information of one peripheral device, the identification information for including in the broadcast message and described first are judged
Some whether consistent step in multiple identification informations in storage unit should by sending in the case where being judged as unanimous circumstances
The peripheral device of broadcast message is as roll-call finishing device, the step of generating and save the roll-call data of the roll-call finishing device,
After the roll-call data that the center fixture saves the roll-call finishing device, the center fixture is made to have called the roll with described
Bluetooth connection is established at device, and sends first receiving and transmitting part to second receiving and transmitting part of the roll-call finishing device
Stop the step of sending the instruction of broadcast message at the appointed time, second control unit is controlled by executing the second program
System, second program include: the roll-call finishing device second receiving and transmitting part receive from it is described first transmitting-receiving
When the described instruction in portion, second receiving and transmitting part is made to stop the step of sending the broadcast message within the stipulated time.
Invention effect
According to the above-mentioned 1st, 8 technical solutions, will stop sending after peripheral device is detected once by center fixture
Broadcast message, to prevent the peripheral device (roll-call finishing device) detected next to other undetected peripheries
The detection process of device is interfered, and it is mutual to reduce multiple broadcast messages transmitted by multiple peripheral devices as roll-call object
The probability mutually to overlap, and the broadcast message for avoiding roll-call finishing device is detected repeatedly out, can be improved roll-call
Efficiency and speed.
According to above-mentioned 2nd technical solution, when retrieving whole peripheral devices, or whole peripheries is not being retrieved
When device but roll-call end cycle, making to call the roll terminates and generates roll-call result.Even if not retrieving whole periphery dresses as a result,
In the case where setting, user can also confirm at once retrieval as a result, and finding the peripheral device do not called the roll.
According to above-mentioned 3rd technical solution, roll-call finishing device is at least not sent further on broadcast message before roll-call terminates,
The detection of other non-calling devices will not be impacted, and automatically restore to send broadcast again again after roll-call terminates
Information can be ready for roll-call next time, and be conducive to call the roll is carried out continuously.
According to above-mentioned 4th technical solution, the information that can be used when setting roll-call according to the needs of users, such as identify
Information and roll-call period etc., and can be to user's output roll-call as a result, improving the ease of use of user.
According to above-mentioned 5th technical solution, filled when the quantity of roll-call finishing device is equal to as multiple peripheries of roll-call object
When the quantity set, i.e., whole roll-call objects have all been completed to call the roll, and can terminate this as soon as possible and call the roll and export expression all
The here roll-call result of peripheral device.
According to above-mentioned 6th technical solution, when roll-call end cycle, the quantity of the roll-call finishing device is less than described more
When the quantity of a peripheral device, terminates this and call the roll and export roll-call result.Dress of not calling the roll can be shown in roll-call result
The case where list set, such user can grasp non-calling device at a glance.
According to above-mentioned 7th technical solution, user can obtain the quantity of roll-call finishing device and/or non-calling device, know
The information such as other information, so as to intuitively grasp the concrete condition of roll-call finishing device and non-calling device.
Detailed description of the invention
Fig. 1 is the schematic diagram for indicating the composition of roll calling system of the present invention.
Fig. 2 is the schematic diagram for indicating the composition of center fixture of the present invention.
Fig. 3 is the schematic diagram for indicating the composition of peripheral device of the present invention.
Fig. 4 is the process flow diagram of the center fixture side during roll-call of the present invention.
Fig. 5 is the process flow diagram of the peripheral device side during roll-call of the present invention.
Symbol description
1 roll calling system
10 center fixtures
11 first storage units
12 first receiving and transmitting parts
13 input units
14 output sections
15 first control units
20 peripheral devices
21 second storage units
22 second receiving and transmitting parts
23 second control units
T calls the roll the period
0ch~36ch data channel
37ch~39ch broadcast channel
Specific embodiment
Hereinafter, being illustrated referring to attached drawing to the preferred embodiment of the present invention.
Fig. 1 is the composition for indicating low-power consumption bluetooth roll calling system of the present invention (hereinafter also referred to " roll calling system ") 1
Schematic diagram.As shown in Figure 1, roll calling system 1 of the present invention includes a center fixture 10 and can be by low-power consumption indigo plant
Multiple peripheral devices 20 that tooth is connect with the center fixture 10.Three 20 (peripheries of peripheral device are schematically shown only in Fig. 1
Device 1, peripheral device 2, peripheral device 3), the quantity of actually peripheral device 20 included in roll calling system 1 can be several
Ten, several hundred, even thousands of.
Fig. 2 is the schematic diagram for indicating the composition of center fixture of the present invention.Fig. 3 is to indicate periphery of the present invention
The schematic diagram of the composition of device.
As shown in Fig. 2, center fixture 10 has the function called the roll to peripheral device 20, have the first storage unit 11,
First receiving and transmitting part 12, input unit 13, output section 14 and first control units 15.Center fixture 10 passes through with low-power consumption bluetooth module
Electronic equipment (such as smart phone etc.) realize.
First storage unit 11 has pre-saved the respective identification information of multiple peripheral devices 20 and to multiple peripheral device
20 carry out primary required time, that is, roll-call cycle T of calling the roll.In addition, the first storage unit 11 can make according to the content actually saved
With at least one of volatile memory and nonvolatile memory.
The identification information of peripheral device 20 is usually unique Bluetooth address possessed by each peripheral device 20.In addition, removing
Except Bluetooth address, identification information can also include the information of model, user name for indicating each peripheral device 20 etc..User name
Etc. information can be set by the user of center fixture 10 is unified, can also be set separately by the user of each peripheral device 20.
In addition, roll-call cycle T is at least more than theoretically all detecting the required time for multiple peripheral devices 20.It calls the roll
Cycle T can be set by the user of center fixture 10 according to the quantity of the peripheral device 20 as roll-call object, can also be by
The time according to needed for one peripheral device 20 of the quantity of the peripheral device 20 of roll-call object and average detected of first control units 15
To determine.
First receiving and transmitting part 12 is the low-power consumption bluetooth module composition by that can carry out data communication based on low-power consumption bluetooth,
The transmitting-receiving of information can be carried out between each peripheral device 20.Specifically, not built in center fixture 10 and peripheral device 20
In the case where vertical low-power consumption bluetooth connection (hereinafter referred to as " bluetooth connection "), the first receiving and transmitting part 12 can be received to be filled from periphery
Set 20 broadcast message.After establishing bluetooth connection between center fixture 10 and peripheral device 20, the first receiving and transmitting part 12 with
The data informations such as control instruction can be received and dispatched by establishing between the peripheral device 20 of bluetooth connection.
In addition, according to the regulation of low-power consumption bluetooth agreement, broadcast message between center fixture 10 and peripheral device 20
Transmitting-receiving is carried out by 3 broadcast channel 37ch~39ch, includes control between center fixture 10 and peripheral device 20
The transmitting-receiving of data information including instruction etc. is carried out by 37 data channel 0ch~36ch.
Input unit 13 is such as the identification information and roll-call cycle T that can input each peripheral device 20.Identification information and
The input mode of the information such as roll-call cycle T can be the mode being manually entered, and can be through other storage mediums and to import
Mode can also be the mode imported from cloud storage equipment via network.
Output section 14 can export roll-call result to user or to other devices.Roll-call object be fully completed roll-call and
In the case where roll-call normal termination, output indicates the information of roll-call normal termination.For example, to user's output, " roll-call object is whole
It is here, call the roll terminate " information.On the other hand, in the case where there is the roll-call object that do not called the roll and roll-call abnormal ending,
Output indicates the information of roll-call abnormal ending.Such as " X roll-call object is completed to call the roll, and there are also Y roll-call objects to user's output
It is not called the roll.The roll-call object that do not called the roll have AAA, BBB ...." information.
First control units 15 is connect with the first storage unit 11, the first receiving and transmitting part 12, input unit 13, output section 14, to roll-call
Process is controlled.First control units 15 is for example made of microprocessor.The microprocessor can be the CPU in such as mobile phone
Processor possessed by (central processing unit) or above-mentioned low-power consumption bluetooth module.The microprocessor is stored in by executing
The center of center device 10 controls program to be acted.Center control program can store in the first storage unit 11, can also be with
Other storage units being stored in other than the first storage unit 11 in center fixture 10.It is moved performed by first control units 15
Make, will be described in detail below in conjunction with Fig. 4.
As shown in figure 3, peripheral device 20 has the second storage unit 21, the second receiving and transmitting part 22 and the second control unit 23.Periphery
Device 20 is by the electronic equipment (such as wearable electronic tag, smart phone etc.) with low-power consumption bluetooth module come real
It is existing.
Second storage unit 21 pre-saves unique identification information of the peripheral device 20 itself.The knowledge of peripheral device 20
Other information includes at least information identical with the identification information saved in center fixture 10, such as Bluetooth address, periphery dress
Set more than one in 20 model and/or user name etc..The identification of each peripheral device 20 pre-saved in center fixture 10
Information can be the information that center fixture 10 obtains respectively from each peripheral device 20 before processing of calling the roll executes.In addition, the
Volatile memory and/or nonvolatile memory can be used according to the content actually saved in two storage units 21.
Second receiving and transmitting part 22 is the low-power consumption bluetooth module composition by that can carry out data communication based on low-power consumption bluetooth,
The transmitting-receiving of information can be carried out between center fixture 10.Specifically, not establishing bluetooth company between center fixture 10
In the case where connecing, the second receiving and transmitting part 22 can send broadcast message to center fixture 10.It is established between center fixture 10
After bluetooth connection, the data informations such as control instruction can be received and dispatched between the second receiving and transmitting part 22 and center fixture 10.
Second control unit 23 is connect with the second storage unit 21, the second receiving and transmitting part 22, corresponding to what is initiated by center fixture 10
Roll-call process itself controls peripheral device 20.Second control unit 23 is for example made of microprocessor.With first control units
12 is same, which can be CPU (central processing unit) in such as mobile phone or above-mentioned low-power consumption bluetooth module is had
Some processors.The microprocessor controls program by the periphery that execution is stored in peripheral device 20 to be acted.The periphery
Control program can store in the second storage unit 21, be stored in its other than the second storage unit 21 in peripheral device 20
His storage unit.About the movement of the second control unit 23, will be described in detail below in conjunction with Fig. 5.
Fig. 4 is the process flow diagram of 10 side of center fixture in roll calling system 1.
In step s101, the first control units 15 of center fixture 10 receives the first receiving and transmitting part 12 from each peripheral device 20
The second receiving and transmitting part 22 issue broadcast message.
In step s 102, whether first control units 15 judges the identification information for including in the broadcast message that receives with the
It is being saved in one storage unit 12, consistent as some in the identification information of multiple peripheral devices 20 of roll-call object.
In the case where being judged as inconsistent (step S102: no), then the peripheral device 20 for sending the broadcast message is not
Roll-call object is back to step S101 and receives broadcast message again.
In the case where being judged as unanimous circumstances (step S102: yes), in step s 103, it is wide that first control units 15 will send this
The peripheral device 20 for broadcasting information is used as roll-call finishing device, generates and save the roll-call data of the roll-call finishing device.Point concrete number
According to the identification information for including at least the roll-call finishing device, time, the roll-call number etc. of calling the roll can also be included.
In addition, as shown in Fig. 2, first control units 15 can count also with tally function as the multiple of roll-call object
The quantity of the quantity of peripheral device 20 and the roll-call finishing device in this roll-call, and count results are stored in the first storage unit
In 11.Whenever generating new roll-call finishing device in step S103, which, which just will be updated, is stored in the first storage unit
The quantity for finishing device of calling the roll is added 1 by the quantity of the roll-call finishing device in 11.The tally function is, for example, to pass through the first control
Portion 15 executes tally function program come what is realized, can also be realized by hardware such as tally function circuits.
In step S104, first control units 15 makes center fixture 10 and is just judged as having called the roll in step s 103
Bluetooth connection is established at the peripheral device 20 of device.Then, in step s105, first control units 15 make the first receiving and transmitting part 12 to
The peripheral device 20 sends the instruction gone off the air at the appointed time.Here stipulated time preferably from center fixture 10 with
The peripheral device 20 establish bluetooth connection start to this call the roll roll-call cycle T terminate until time.As a result, in this point
Before name terminates, the peripheral device 20 for being judged as roll-call finishing device is not sent further on broadcast.First control units 15 is according to this
It is secondary to call the roll at the time of start, the roll-call cycle T that is stored in the first storage unit 11 and establish bluetooth connection in step S104
At the time of, calculate the above-mentioned stipulated time.
+ roll-call cycle T-is at the time of establishing bluetooth connection at the time of stipulated time=this roll-call starts
Then, in step s 106, first control units 15 disconnects the bluetooth between center fixture 10 and peripheral device 20 and connects
It connects.
In step s 107, first control units 15 judges whether this roll-call terminates.
First control units 15 also has comparing function, to the multiple peripheral devices 20 pre-saved in the first storage unit 11
Quantity (that is, total quantity of roll-call object) and the quantity of roll-call finishing device are compared.When the comparison result of the comparing function
When being that the quantity of the multiple peripheral devices 20 pre-saved is equal to the quantity of roll-call finishing device, then it is normal to be judged as that this is called the roll
Terminate.In addition, when above-mentioned comparison result is that the quantity of roll-call finishing device is less than the number of the multiple peripheral devices 20 pre-saved
Amount and roll-call cycle T at the end of, then be judged as this roll-call abnormal ending.The comparing function is, for example, to pass through first control units
15 execution comparing function programs can also be realized come what is realized by comparing hardware such as functional circuits.
In addition, being back in the case that the condition of above-mentioned normal termination and abnormal ending is all invalid (step S107: no)
Step S101, receives broadcast message again.
In step S108, first control units 15 makes the first receiving and transmitting part 12 stop receiving broadcast, and exports roll-call result.
In the case where being judged as YES normal termination in step s 107, first control units 15 generates and exports expression whole weeks
The here roll-call result of side device 20.
In the case where being judged as YES abnormal ending in step s 107, first control units 15 is generated and is exported comprising having called the roll
At the result of either one in the information of device and the information of non-calling device.The information of roll-call finishing device includes point
At least one of quantity and the identification information of roll-call finishing device of name finishing device, the information of non-calling device include non-point
At least one of quantity and the identification information of non-calling device of name device.In the case where abnormal ending, preferably output is wrapped
The result of quantity and respective identification information containing non-calling device.Non- calling device is exactly to protect in advance in the first storage unit 11
A part of peripheral device 20 not having in this roll-call as roll-call finishing device in the multiple peripheral devices 20 deposited.
Fig. 5 is the process flow diagram of 20 side of peripheral device in roll calling system 1.
In step s 201, the second control unit 23 of peripheral device 20 sends the second receiving and transmitting part 22 periodically comprising certainly
The broadcast message of body identification information.Bluetooth low energy device usually has a fixed broadcasting frequency, according to the difference of equipment,
The value of the frequency may be set to different values.Here, suppose that peripheral device 20 is wide to send with 50 frequencies each second
Broadcast information.
Then, in step S202, the second control unit 23 judges whether peripheral device 20 with center fixture 10 establishes indigo plant
Tooth connection.
It is judged as in the case where do not establish bluetooth connection in step S202, is back to step S201 and continues to send broadcast
Information.
It is judged as that in step 203, the second control unit 23 makes in the case where establishing bluetooth connection in step S202
Two receiving and transmitting parts 22 receive the instruction for stopping sending broadcast message at the appointed time sent from center fixture 10.
In step S204, the bluetooth connection between center fixture 10 and peripheral device 20 is disconnected.
Then, in step S205, the second control unit 23 makes the second receiving and transmitting part according to the instruction received in step S203
22 stop sending broadcast message.
In step S206, the second control unit 23 judge stop send broadcast message whether be more than the stipulated time, i.e., from
Center fixture 10 and the peripheral device 20 establish bluetooth connection and start time until the roll-call cycle T that this is called the roll terminates.
In the case where being more than the stipulated time (step S206: yes), it is back to step S201, restarts to send broadcast message.
In the following, being illustrated to present invention technical effect obtained.
Roll calling system 1 according to the present invention will stop after peripheral device 20 is detected once by center fixture 10
Send broadcast message, thus prevent the peripheral device 20 (roll-call finishing device) detected next to it is undetected its
He interferes the detection process of peripheral device 20, reduces multiple transmitted by multiple peripheral devices 20 as roll-call object
The probability that broadcast message overlaps mutually, and the broadcast message for avoiding roll-call finishing device is detected repeatedly out, it can
Improve the efficiency and speed called the roll.
In the following, the time (time slot, slot) needed for being 50 times per second with the broadcasting frequency of peripheral device 20 and broadcasting every time
In case where being 0.625ms, illustrate to send out mutually between broadcast message when calling the roll for the peripheral device 20 of different number
The probability of raw overlapping.
In the case where the broadcasting frequency of peripheral device 20 is 50 times per second, same peripheral device 20 broadcasts it twice in succession
Between interval time be 20ms, 20ms ÷ 0.625ms=32 time slot can be accommodated in this 20ms.Moreover, because every
There are 3 broadcast channels (37ch~39ch) that can use for broadcast message in a time slot, so connecting in same peripheral device 20
Between continuous broadcast twice, 32 × 3=96 broadcast message can be accommodated in 3 broadcast channels altogether.
Table 1: the broadcast message list that can be accommodated in 3 broadcast channels between broadcast twice
Time slot | Broadcast channel 37 | Broadcast channel 38 | Broadcast channel 39 |
0.625ms | Broadcast 1 | Broadcast 2 | Broadcast 3 |
1.250ms | Broadcast 4 | Broadcast 5 | Broadcast 6 |
… | … | … | … |
19.375ms | Broadcast 91 | Broadcast 92 | Broadcast 93 |
20.000ms | Broadcast 94 | Broadcast 95 | Broadcast 96 |
In these cases, it is assumed that have N platform peripheral device 20 while sending broadcast message, then in arbitrary broadcast channel
In occur broadcast overlapping at any time probability (that is, the probability for occurring 2 or more broadcast messages simultaneously) following formula can be passed through
(1) it calculates~(3).
Do not occur the probability of broadcast message at any time in arbitrary broadcast channel:
P0=(95/96) ^N (1)
Occur the probability of 1 broadcast message at any time in arbitrary broadcast channel:
P1=N* (1/96) * ((95/96) ^ (N-1)) (2)
Occur the probability of 2 or more broadcast messages at any time in arbitrary broadcast channel:
P2=1-P0-P1=1- (95/96) ^N-N* (1/96) * ((95/96) ^ (N-1)) (3)
According to above-mentioned formula (3), calculate when the quantity of peripheral device 20 is 50,100,161,200,300,400,500,
Occurs the probability of 2 or more broadcast messages simultaneously at any time in arbitrary broadcast channel, that is, broadcast message overlaps
Probability.From following table 2 as can be seen that broadcast message occurs when the quantity for sending the peripheral device 20 broadcasted reaches 100
The probability of overlapping is more than 25%, and when quantity reaches 161, it is more than 50% that the probability being overlapped, which occurs, in broadcast message, when quantity reaches
When to 400, the probability that being overlapped occurs in broadcast message reaches 90% or more.
Table 2: the relationship of the quantity probability be overlapped with appearance of the peripheral device of broadcast is sent
Equipment number | The probability P 2 (%) of broadcast message overlapping |
50 | 9.58 |
100 | 27.96 |
161 | 50.07 |
200 | 61.76 |
300 | 82.03 |
400 | 92.10 |
500 | 96.67 |
In the case where the quantity of peripheral device 20 more (being greater than 100), if not using technical side of the invention
Case and whole peripheral devices 20 all persistently send broadcast message during entire call the roll, then there is the probability being overlapped in broadcast message
It will not change.In this case, it is difficult to correctly detect out broadcast letter since the overlapping of broadcast message will lead to center fixture 10
Breath, moreover, the broadcast message is it could also be possible that the broadcast that roll-call finishing device issues even if having correctly detected out broadcast message
Information, although as a result, step S101 and step S102 in Fig. 4 are repeatedly executed at predetermined intervals, detect in roll-call object not by
The peripheral device 20 of roll-call it is inefficient.On the contrary, being completed using roll calling system 1 of the invention with calling the roll
The broadcast of the peripheral device 20 of device stops, and the probability that signal overlap occurs gradually decreases, and is eventually down to 0%.
Moreover, the stipulated time for making roll-call finishing device stop sending broadcast message in this roll calling system 1 is filled from center
It sets 10 and establishes connection with peripheral device 20 and start time until roll-call cycle T terminates.Roll-call finishing device at least exists as a result,
Roll-call is not sent further on broadcast message before terminating, and will not impact to the detection of other non-calling devices, and calling the roll
Terminate automatically to restore to send broadcast message later again again, can be ready for roll-call next time, be conducive to roll-call
It is carried out continuously.
< variation >
Above-mentioned preferred embodiment only illustrates, it is not intended to limit the range of invention.The present invention also can be with others
Various modes are implemented, the range that does not depart from present subject matter be able to carry out it is various omit, displacement, change.These embodiment party
Formula and its deformation are similarly contained in the present invention and its equivalent range.
For example, can be carried out continuously after repeatedly calling the roll in order to improve the reliability of roll-call result and export roll-call result again.And
And when continuously being called the roll, it is also contemplated that only using the non-calling device in last roll-call result as roll-call object
It calls the roll, the reliability of roll-call result not only can be improved in this way, but also do not increase the too many roll-call time.
In addition, in the case where the fixed identification information without to roll-call object of roll-call object carries out dynamic editor,
Center fixture 10 may not possess input unit 13.
In addition, the set time also can be set into the stipulated time for making roll-call finishing device go off the air, such as it is arranged to
Fixed tens seconds, or it is arranged to time (such as 0.5 roll-call cycle T, 1 that there is certain multiple relationship with roll-call cycle T
A roll-call cycle T etc.), the operand for calculating the above-mentioned stipulated time can be saved in this way, to reduce the fortune of first control units 15
Calculate load.
Claims (8)
1. a kind of low-power consumption bluetooth roll calling system, including can be to the center fixture that peripheral device is called the roll and can be by low
Multiple peripheral devices that power consumption bluetooth is connect with the center fixture, the low-power consumption bluetooth roll calling system be characterized in that,
The center fixture has: the first storage unit, pre-saves the identification information of the multiple peripheral device and to institute
The time needed for multiple peripheral devices carry out primary call the roll is stated to call the roll the period;First receiving and transmitting part, can be with the multiple periphery
The transmitting-receiving of information is carried out between each peripheral device in device;And the movement of the center fixture can be controlled
One control unit,
Each peripheral device has: the second storage unit pre-saves unique identification information of the peripheral device itself;The
Two receiving and transmitting parts can carry out the transmitting-receiving of information between the center fixture;And can movement to the peripheral device into
Second control unit of row control,
The center fixture first receiving and transmitting part from the multiple peripheral equipment receiver to including some peripheral device
Identification information broadcast message when, the first control units judges the identification information for including in the broadcast message and described the
Whether some in multiple identification informations in one storage unit be consistent,
In the case where being judged as unanimous circumstances, the first control units is completed using the peripheral device for sending the broadcast message as calling the roll
Device generates and saves the roll-call data of the roll-call finishing device,
After the roll-call data that the center fixture saves the roll-call finishing device, the first control units makes in described
Center device and the roll-call finishing device establish bluetooth connection, and make first receiving and transmitting part to the roll-call finishing device
Second receiving and transmitting part sends the instruction for stopping sending broadcast message at the appointed time,
When second receiving and transmitting part of the roll-call finishing device is received from the described instruction of first receiving and transmitting part, institute
Stating the second control unit makes second receiving and transmitting part stop sending the broadcast message within the stipulated time.
2. low-power consumption bluetooth roll calling system as described in claim 1, which is characterized in that
It is equal to the quantity of the multiple peripheral devices pre-saved in first storage unit in the quantity of the roll-call finishing device
When, or in the roll-call end cycle, the first control units terminates to call the roll and generate roll-call result.
3. low-power consumption bluetooth roll calling system as described in claim 1, which is characterized in that
The stipulated time be since the center fixture and the peripheral device establish connection until roll-call end cycle
Time.
4. low-power consumption bluetooth roll calling system as described in claim 1, which is characterized in that
The center fixture also has the input unit that can input identification information and period of calling the roll, and can export roll-call knot
The output section of fruit.
5. low-power consumption bluetooth roll calling system as described in claim 1, which is characterized in that
The first control units also has tally function, and the quantity and the roll-call that can count the multiple peripheral device are completed
The quantity of device,
The count results of the tally function are also preserved in first storage unit,
The first control units also has comparing function, the quantity and the roll-call finishing device to the multiple peripheral device
Quantity is compared, when the quantity that comparison result is the multiple peripheral device is equal to the quantity of the roll-call finishing device,
The first control units makes first receiving and transmitting part stop receiving broadcast message, generates and exports the whole peripheral devices of expression and completes
The result of roll-call.
6. low-power consumption bluetooth roll calling system as claimed in claim 5, which is characterized in that
In roll-call end cycle, and the comparison result is the quantity of the roll-call finishing device less than the multiple peripheral device
Quantity when, the first control units makes first receiving and transmitting part stop receiving broadcast message, generates and exports comprising the point
The result of either one in the information of name finishing device and the information of non-calling device.
7. low-power consumption bluetooth roll calling system as claimed in claim 6, which is characterized in that
The information of the roll-call finishing device includes in the quantity of roll-call finishing device and the identification information of roll-call finishing device
At least one, the information of the non-calling device include in the quantity of non-calling device and the identification information of non-calling device extremely
Few one kind.
8. a kind of low-power consumption bluetooth roll calling system, including can be to the center fixture that peripheral device is called the roll and can be by low
Multiple peripheral devices that power consumption bluetooth is connect with the center fixture, the low-power consumption bluetooth roll calling system be characterized in that,
The center fixture has: the first storage unit, pre-saves the identification information of the multiple peripheral device and to institute
The time needed for multiple peripheral devices carry out primary call the roll is stated to call the roll the period;First receiving and transmitting part, can be with the multiple periphery
The transmitting-receiving of information is carried out between each peripheral device in device;And the movement of the center fixture can be controlled
One control unit,
Each peripheral device has: the second storage unit pre-saves unique identification information of the peripheral device itself;The
Two receiving and transmitting parts can carry out the transmitting-receiving of information between the center fixture;And can movement to the peripheral device into
Second control unit of row control,
The first control units is controlled by executing the first program, and first program includes:
The center fixture first receiving and transmitting part from the multiple peripheral equipment receiver to including some peripheral device
Identification information broadcast message when, judge more in the identification information for including in the broadcast message and first storage unit
Some whether consistent step in a identification information,
In the case where being judged as unanimous circumstances, using the peripheral device for sending the broadcast message as roll-call finishing device, generates and protect
The step of depositing the roll-call data of the roll-call finishing device,
After the roll-call data that the center fixture saves the roll-call finishing device, make the center fixture and the point
Name finishing device establishes bluetooth connection, and makes second receiving and transmitting part of first receiving and transmitting part to the roll-call finishing device
It sends and stops the step of sending the instruction of broadcast message at the appointed time,
Second control unit is controlled by executing the second program, and second program includes:
When second receiving and transmitting part of the roll-call finishing device is received from the described instruction of first receiving and transmitting part, make
Second receiving and transmitting part stops the step of sending the broadcast message within the stipulated time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710443453.5A CN109151776A (en) | 2017-06-13 | 2017-06-13 | Low-power consumption bluetooth roll calling system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710443453.5A CN109151776A (en) | 2017-06-13 | 2017-06-13 | Low-power consumption bluetooth roll calling system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109151776A true CN109151776A (en) | 2019-01-04 |
Family
ID=64829929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710443453.5A Pending CN109151776A (en) | 2017-06-13 | 2017-06-13 | Low-power consumption bluetooth roll calling system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151776A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114025336A (en) * | 2021-10-08 | 2022-02-08 | 湖南简成信息技术有限公司 | Bluetooth communication system |
CN116017391A (en) * | 2022-12-13 | 2023-04-25 | 南京大鱼半导体有限公司 | Online equipment detection method, equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916462A (en) * | 2010-07-21 | 2010-12-15 | 中兴通讯股份有限公司 | Attendance method and system based on wireless interconnection technology |
US20120015696A1 (en) * | 2010-07-14 | 2012-01-19 | Google Inc. | Application Audio Announcements Using Wireless Protocols |
CN102693564A (en) * | 2012-05-23 | 2012-09-26 | 苏州奇可思信息科技有限公司 | Operation method for roll-call system with bluetooth |
CN103955969A (en) * | 2014-05-07 | 2014-07-30 | 天津师范大学 | Student classroom attendance statistical system |
CN104219314A (en) * | 2014-09-10 | 2014-12-17 | 珠海市君天电子科技有限公司 | Electronic device and remote control method and system thereof |
CN104346838A (en) * | 2014-10-22 | 2015-02-11 | 深圳市金立通信设备有限公司 | Terminal and system |
CN104410947A (en) * | 2014-11-27 | 2015-03-11 | 南京邮电大学 | Wireless intelligent terminal name-calling scheduling method |
CN105336013A (en) * | 2015-10-16 | 2016-02-17 | 江苏协信信息科技有限公司 | Method and system used for realizing attendance checking via Beacon broadcast |
CN105447921A (en) * | 2015-11-18 | 2016-03-30 | 浙江广厦建设职业技术学院 | System for automatically checking attendance in class and limiting utilization of cell phones and realization method of system |
-
2017
- 2017-06-13 CN CN201710443453.5A patent/CN109151776A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120015696A1 (en) * | 2010-07-14 | 2012-01-19 | Google Inc. | Application Audio Announcements Using Wireless Protocols |
CN101916462A (en) * | 2010-07-21 | 2010-12-15 | 中兴通讯股份有限公司 | Attendance method and system based on wireless interconnection technology |
CN102693564A (en) * | 2012-05-23 | 2012-09-26 | 苏州奇可思信息科技有限公司 | Operation method for roll-call system with bluetooth |
CN103955969A (en) * | 2014-05-07 | 2014-07-30 | 天津师范大学 | Student classroom attendance statistical system |
CN104219314A (en) * | 2014-09-10 | 2014-12-17 | 珠海市君天电子科技有限公司 | Electronic device and remote control method and system thereof |
CN104346838A (en) * | 2014-10-22 | 2015-02-11 | 深圳市金立通信设备有限公司 | Terminal and system |
CN104410947A (en) * | 2014-11-27 | 2015-03-11 | 南京邮电大学 | Wireless intelligent terminal name-calling scheduling method |
CN105336013A (en) * | 2015-10-16 | 2016-02-17 | 江苏协信信息科技有限公司 | Method and system used for realizing attendance checking via Beacon broadcast |
CN105447921A (en) * | 2015-11-18 | 2016-03-30 | 浙江广厦建设职业技术学院 | System for automatically checking attendance in class and limiting utilization of cell phones and realization method of system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114025336A (en) * | 2021-10-08 | 2022-02-08 | 湖南简成信息技术有限公司 | Bluetooth communication system |
CN114025336B (en) * | 2021-10-08 | 2023-11-14 | 湖南简成信息技术有限公司 | Bluetooth communication system |
CN116017391A (en) * | 2022-12-13 | 2023-04-25 | 南京大鱼半导体有限公司 | Online equipment detection method, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109417758B (en) | Bluetooth connection method and terminal | |
CN101998682A (en) | Device and method for acquiring service content by personal network equipment and related device thereof | |
CN105100330B (en) | The method and mobile terminal of a kind of equipment effects,sound optimization | |
CN104281510A (en) | Method and system for obtaining power consumption degree of application program and energy-saving method and system | |
CN109151212A (en) | Apparatus control method, device and electronic equipment | |
CN103294460A (en) | User interface application layout adjustment method, server-side equipment and terminal equipment | |
CN107733687A (en) | Prompt service abnormal method, terminal, server and computer-readable medium | |
CN112738538B (en) | Live broadcasting room on-hook behavior detection method and device, electronic equipment and computer readable storage medium | |
CN109151776A (en) | Low-power consumption bluetooth roll calling system | |
CN109963325A (en) | Positioning method, device and equipment based on base station | |
CN104936211A (en) | Wireless resource distribution method | |
CN103822433A (en) | Information processing method and refrigerator | |
CN104679791A (en) | Processing method and device for acquiring data packets | |
CN110461006A (en) | Reduce WLAN interference method, device and terminal device | |
CN105049374B (en) | Dispatching method, device and the mobile terminal of downloading task | |
CN114554596B (en) | Paging indication method, paging indication device, terminal and readable storage medium | |
CN106851595B (en) | Ordered broadcast processing method, device and terminal device | |
CN107608723A (en) | One kind application alignment awakening method, terminal and computer-readable recording medium | |
CN104298596B (en) | Random distribution method and device for test scheme and server | |
CN103458507A (en) | Bluetooth network application method and system based on mobile terminals | |
CN118427220A (en) | Data processing method and device, electronic equipment and storage medium | |
CN113676790B (en) | Acquisition scheduling method and device for low-voltage centralized meter reading equipment, concentrator and medium | |
CN110781878B (en) | Target area determination method and device, storage medium and electronic device | |
CN108834204A (en) | Paging method, system and the network equipment | |
CN109194420A (en) | A method of different Bluetooth devices are connected based on signal strength |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190104 |
|
WD01 | Invention patent application deemed withdrawn after publication |