CN108684027A - A kind of implementation method and device of multi-functional iBeacon beacons - Google Patents

A kind of implementation method and device of multi-functional iBeacon beacons Download PDF

Info

Publication number
CN108684027A
CN108684027A CN201810460824.5A CN201810460824A CN108684027A CN 108684027 A CN108684027 A CN 108684027A CN 201810460824 A CN201810460824 A CN 201810460824A CN 108684027 A CN108684027 A CN 108684027A
Authority
CN
China
Prior art keywords
service
information
broadcast
suspend mode
service information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810460824.5A
Other languages
Chinese (zh)
Inventor
孙岩
罗红
唐煜
黄俊飞
林昭文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201810460824.5A priority Critical patent/CN108684027A/en
Publication of CN108684027A publication Critical patent/CN108684027A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order
    • H04L47/6225Fixed service order, e.g. Round Robin
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage

Landscapes

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

Abstract

An embodiment of the present invention provides a kind of implementation methods of multi-functional iBeacon beacons, are related to wireless communication technology field, when can solve iBeacon beacons will provide multiple services for terminal device, caused by the wasting of resources the phenomenon that.The solution of the present invention includes:Broadcast first service information, when the duration for broadcasting first service information reaches the corresponding rotational cycle of first service, pause broadcast first service information, start to broadcast second service information, when the duration for broadcasting second service information reaches the corresponding rotational cycle of second service, pause broadcast second service information, the information each serviced in broadcast service queue in turn according to the method described above, until the information of the last one service in service queue is broadcasted, and broadcast the last one service information duration reach the last one service corresponding rotational cycle when, cycle executes above-mentioned steps.

Description

A kind of implementation method and device of multi-functional iBeacon beacons
Technical field
The present invention relates to wireless communication technology fields, more particularly to a kind of implementation method of multi-functional iBeacon beacons And device.
Background technology
IBeacon technologies are formally proposed on worldwide developer conference in 2013, have been widely used at present.Foundation The iBeacon beacons of iBeacon agreements research and development can send out broadcast singal, support the terminal device of bluetooth can be monitored to come from The broadcast singal of iBeacon beacons, and make a response, and then realize iBeacon equipment and provide service for terminal device.
Currently, when iBeacon beacons need to provide service for terminal device, the broadcast letter for carrying service ID can be transmitted Number, and when iBeacon beacons will provide multiple services for terminal device, the broadcast letter for carrying each service ID can be broadcasted simultaneously Number, however terminal device can only receive and identify a broadcast singal from the iBeacon beacons a moment, Other broadcast singals that iBeacon beacons are sent cannot be responded by terminal device, and iBeacon beacons send these broadcast singals When also can the resources such as occupied bandwidth, can result in waste of resources.
Invention content
The embodiment of the present invention is designed to provide a kind of implementation method and device of multi-functional iBeacon beacons, with solution When certainly iBeacon beacons will provide multiple services for terminal device in the prior art, caused by the wasting of resources the phenomenon that.
Specific technical solution is as follows:
In a first aspect, the embodiment of the present invention provides a kind of implementation method of multi-functional iBeacon beacons, this method packet It includes:
First service information is broadcasted, the first service information is the information of first service in service queue;
When the duration for broadcasting first service information reaches the corresponding rotational cycle of the first service, described in pause broadcast First service information;
Second service information is broadcasted, the second service information is the information of second service in service queue;
When the duration for broadcasting second service information reaches the corresponding rotational cycle of the second service, described in pause broadcast Second service information;
The information each serviced in service queue described in streaming is taken turns according to the method described above, until in the service queue The information of the last one service is broadcasted, and the duration for broadcasting the information of the last one service reaches the last one described clothes Be engaged in corresponding rotational cycle when, cycle execute above-mentioned steps.
In a kind of possible design, after the first service information is broadcasted in the pause, the method further includes:
Broadcasted content is revised as the second service information by the first service information;
Rotational cycle is revised as the second service corresponding rotation week by the corresponding rotational cycle of the first service Phase;
Received signal strength indicator RSSI calibration values are revised as by the corresponding RSSI calibration values of the first service described The corresponding RSSI calibration values of second service.
In a kind of possible design, the method further includes:
If it is determined that connection disconnected event occurs, then current system parameter is preserved.
In a kind of possible design, the method further includes:
If it is determined that writing suspend mode attribute event, then suspend mode attribute value is obtained;
If the suspend mode attribute value is not the first preset value, current system conditions parameter is preserved, and switch to suspend mode shape State;
If the suspend mode attribute value is the first preset value, the system status parameters preserved before suspend mode are read, according to suspend mode The system status parameters of preceding preservation switch to the state before suspend mode.
In a kind of possible design, the method further includes:
If it is determined that writing RSSI calibration value attribute events, then the RSSI calibration values of write-in are obtained;
If the RSSI calibrations value attribute is the second preset value, buzzer vibration is controlled;
If the RSSI calibrations value attribute is third preset value, controls buzzer and stop vibration.
Second aspect, the embodiment of the present invention provide a kind of realization device of multi-functional iBeacon beacons, this method packet It includes:
Broadcast module, for broadcasting first service information, the first service information is first clothes in service queue The information of business;
Processing module, the duration for broadcasting first service information when the broadcast module reach the first service and correspond to Rotational cycle when, control broadcast module pause and broadcast the first service information;
The broadcast module, is additionally operable to broadcast second service information, and the second service information is the in service queue The information of two services;
The processing module is additionally operable to reach second clothes when the duration of broadcast module broadcast second service information Be engaged in corresponding rotational cycle when, control broadcast module pause and broadcast the second service information;
The processing module is additionally operable to control the letter each serviced in service queue described in the broadcast module wheel streaming Breath, until information of the last one service in the service queue is broadcasted, and broadcast module broadcast it is described last The duration of the information of a service reach it is described the last one when servicing corresponding rotational cycle, control the broadcast module from described First service information in service queue starts, the information that each of service queue described in broadcast (sites) in turn services.
In a kind of possible design, the processing module is additionally operable to repair broadcasted content by the first service information It is changed to the second service information;Rotational cycle is revised as the second service by the corresponding rotational cycle of the first service Corresponding rotational cycle;Received signal strength indicator RSSI calibration values are changed by the corresponding RSSI calibration values of the first service For the corresponding RSSI calibration values of the second service.
In a kind of possible design, the processing module is additionally operable to if it is determined that occurring to connect disconnected event, then preservation is worked as Preceding systematic parameter.
In a kind of possible design, the processing module is additionally operable to if it is determined that write suspend mode attribute event, then obtain Suspend mode attribute value;If the suspend mode attribute value is not the first preset value, current system conditions parameter is preserved, and switch to suspend mode State;If the suspend mode attribute value is the first preset value, the system status parameters preserved before suspend mode are read, according to being protected before suspend mode The system status parameters deposited switch to the state before suspend mode.
In a kind of possible design, the processing module is additionally operable to if it is determined that write RSSI calibration value attribute events, Then obtain the RSSI calibration values of write-in;If the RSSI calibrations value attribute is the second preset value, buzzer vibration is controlled;If institute It is third preset value to state RSSI calibration value attributes, then controls buzzer and stop vibration.
The third aspect, the embodiment of the present invention additionally provides a kind of computer program product including instruction, when it is being calculated When being run on machine so that computer executes the implementation method of the multi-functional iBeacon beacons described in above-mentioned first aspect.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit Computer program is stored in storage media, the computer program is executed by processor multi-functional described in above-mentioned first aspect The implementation method of iBeacon beacons.
The embodiment of the present invention additionally provides a kind of iBeacon beacons, including processor and machine readable storage medium, The machine readable storage medium is stored with the machine-executable instruction that can be executed by the processor, and the processor is by institute Machine-executable instruction is stated to promote:Realize the method and step described in above-mentioned first aspect.
The implementation method and device for the multi-functional iBeacon beacons that the embodiment of the present invention provides, when iBeacon beacons are , can be by increasing the rotation function of ID number when terminal device provides multiple services, the information that wheel streaming each services is each to take The information of business will not clash, and may be implemented in a period of time while providing a variety of services, without repeating deployment beacon, Also it can avoid the case where iBeacon beacon broadcasts the wasting of resources caused by the broadcast number for carrying each service ID simultaneously.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent Point.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart of the implementation method for multi-functional iBeacon beacons that the embodiment of the present invention provides;
Fig. 2 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 3 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 4 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 5 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 6 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 7 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 8 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Fig. 9 is the flow chart of the implementation method for the multi-functional iBeacon beacons of another kind that the embodiment of the present invention provides;
Figure 10 is a kind of structural representation of the realization device for multi-functional iBeacon beacons that the embodiment of the present invention provides Figure;
A kind of structural schematic diagram for iBeacon beacons that Figure 11 the embodiment of the present invention provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to realize that iBeacon beacons provide multiple services for terminal device, the embodiment of the present invention provides a kind of more work( The implementation method of energy iBeacon beacons, as shown in Figure 1, method flow shown in FIG. 1 is executed by iBeacon beacons, with service team It only exists in row and illustrates for first service and second service, this method includes:
S101, broadcast first service information.
Wherein, first service information is the information of first service in service queue.
When there are the services that when at least two services, iBeacon beacons can be in rotation broadcast service queue in service queue Corresponding information, it is assumed that the corresponding ID of first service is ID1, then broadcasted content can be initialized as to the corresponding information of ID1, at this time Broadcasted content (it can be appreciated that first service information) includes:The corresponding Universally Unique Identifier of first service (Universally Unique Identifier, UUID) 1, MAJOR1 and MINOR1, after the completion of initialization, you can start wide Broadcast first service information.
S102, when the duration for broadcasting first service information reaches the corresponding rotational cycle of first service, pause broadcast the One information on services.
Wherein, the corresponding rotational cycle of each service is starting the first clothes of broadcast in one possible implementation While information of being engaged in, a timer can be started, and set the duration of the rotational cycle of first service to the timer Timeout value, when the timer expires, you can pause broadcast first service information.
S103, broadcast second service information.
Wherein, second service information is the information of second service in service queue.
Before iBeacon beacon broadcast second service information, broadcasted content is revised as second by first service information Information on services, and rotational cycle is revised as the corresponding rotational cycle of second service by the corresponding rotational cycle of first service, and By received signal strength indicator (Received Signal Strength Indicator, RSSI) calibration value by first service pair The RSSI calibration values answered are revised as the corresponding RSSI calibration values of second service.
The method of modification broadcasted content can refer to Fig. 2, in the case where iBeacon beacons are in connection status, can determine whether Whether the event of writing ID is had, it is false if obtaining the ID of write-in if otherwise continuing to monitor whether to write the event of ID If the corresponding ID of second service information is ID2, then the ID being written is ID2, and then iBeacon beacons are according in ID2 update broadcast Hold, updated broadcasted content (it can be appreciated that second service information) includes:The corresponding UUID2 of second service, MAJOR1 and MINOR1 can start to broadcast second service information after initialization broadcast, and continue to monitor whether to write the thing of ID Part occurs.
The method of modification broadcast RSSI calibration values can refer to Fig. 3, in the case where iBeacon beacons are in connection status, Write-in RSSI calibration value events are judged whether there is, if it is not, then continuing the event for monitoring whether that RSSI calibration values are written, if then It obtains RSSI and calibrates value attribute, and more new system RSSI calibrates value parameter, continue to have monitored whether to write after initialization broadcast later Enter RSSI calibration value events.
S104, when the duration for broadcasting second service information reaches the corresponding rotational cycle of second service, pause broadcast the Two information on services.
Wherein, before broadcasting second service information, the corresponding rotational cycle of first service can be revised as second service Corresponding rotational cycle optionally while starting to broadcast second service information, can start timer, and second is taken The be engaged in duration of corresponding volume rotational cycle is set as the timeout value of the timer, when the timer expires, you can pause broadcast the Two information on services.
It, can after pause broadcast second service information for only including first service and second service in service queue S101 is returned, restarts to broadcast the first information.
It is understood that before re-broadcasting the first information, broadcasted content can be revised as by second service information First service information, and rotational cycle is revised as first service corresponding rotation week by the corresponding rotational cycle of second service Phase, and RSSI calibration values are revised as the corresponding RSSI calibration values of first service by the corresponding RSSI calibration values of second service.
The implementation method for the multi-functional iBeacon beacons that the embodiment of the present invention provides, when iBeacon beacons set for terminal It is standby when multiple services are provided, it can be by increasing the rotation function of ID number, the information that wheel streaming each services, the letter respectively serviced Breath will not clash, and may be implemented in a period of time while providing a variety of services, without repeating deployment beacon, can also keep away Exempt from an iBeacon beacon and meanwhile broadcast carry it is each service ID broadcast number caused by the wasting of resources the case where.
The iBeacon beacons of the embodiment of the present invention can also realize that power down preserves function, as shown in figure 4, first, by system Default parameters is written in flash, and then iBeacon beacons power on, and read flash, obtains systematic parameter, judges whether later There is the event that connection disconnects;If it is not, then continuing to monitor whether the event that connection disconnects;If so, by current Systematic parameter is written in flash, and continues to monitor whether the event that connection disconnects.
In addition, the iBeacon beacons of the embodiment of the present invention can also realize that power down preserves function, if iBeacon beacons are true Suspend mode attribute event is write calmly, then obtains suspend mode attribute value, if suspend mode attribute value is not the first preset value, preserves current system System state parameter, and switch to dormant state;If suspend mode attribute value is the first preset value, the system shape preserved before suspend mode is read State parameter switches to the state before suspend mode according to the system status parameters preserved before suspend mode.
Wherein, current system conditions parameter includes No. UUID of current service, No. MAJOR, No. MINOR, broadcast rotation week Phase attribute, RSSI calibrations value attribute, transmission power attribute, broadcasting frequency attribute, rotational cycle etc..Illustratively, first is default Value can be 0.
The function of dormancy awakening can refer to Fig. 5, it is first determined whether suspend mode attribute event is write, if it is not, then continuing to monitor Whether suspend mode attribute event is write;If so, obtaining suspend mode attribute, then judge whether suspend mode attribute is 0, if suspend mode attribute is not It is 0, then by current system conditions parameter read-in flash, and switches to dormant state, i.e., sets transmission power to -20db, wide It broadcasts set of frequency and is both configured to 0 for 2s, No. MAJOR and No. MINOR;If suspend mode attribute is 0, illustrate to cut from dormant state at this time Working condition is shifted to, then the system status parameters before reading suspend mode in flash, restore system mode.
The iBeacon beacons of the embodiment of the present invention can also realize that position finds work(by the way that RSSI calibration value attributes are written Can, for iBeacon beacons if it is determined that writing RSSI calibration value attribute events, then the RSSI for obtaining write-in calibrates value attribute, if It is the second preset value that RSSI, which calibrates value attribute, then controls buzzer vibration;If it is third preset value that RSSI, which calibrates value attribute, control Buzzer processed stops vibration.Illustratively, the second preset value can be 1, and third preset value can be 0.Detailed process can refer to Fig. 6, after iBeacon beacons enter connection status, it can be determined that RSSI calibration value attribute events whether are write, if it is not, then Continue to monitor whether to write RSSI calibration value attribute events;If so, the RSSI for obtaining write-in calibrates value attribute, then judge Whether the RSSI calibration values attribute value is 1, if 1, then controls buzzer vibration;If not 1, then judge that the RSSI attribute values are No is 0, if 0, then controls buzzer and stops vibration, if not 0, then continue to monitor whether to write RSSI calibration value attribute things Part.
Other than the function of foregoing description, the iBeacon beacons of the embodiment of the present invention also have the function of authentication-access, hair Power attributes configuration feature and broadcasting frequency power configuration function are penetrated, will be introduced respectively below.
The method of authentication-access can refer to Fig. 7, can create two attributes, be original code and new password respectively, optionally, Original code and new password may be configured as 6, and user can change original code by the way that new password is arranged, and modification process can refer to figure 1, after iBeacon beacons enter connection status, it can determine whether there is original code input in preset time, optionally, when presetting Between can be 2 seconds, user can pass through the terminal with the permission configured to iBeacon beacons input new password.Then, if It determines in preset time and is inputted without original code, then disconnect;If it is determined that there is original code input in preset time, then original is judged Whether password inputs correctly, if correctly, judging whether there is new password input, continuing to have monitored whether if inputting without new password New password inputs;If there is new password input, new password is obtained, and original code is updated to new password.
The method of transmission power attribute configuration can refer to Fig. 8, and iBeacon beacons have 7 kinds of transmission powers, be respectively- 20db, -16db, -12db, -8db, -4db, 0db and 4db.There is the application for directly changing iBeacon beacon emissions power at present Programming interface (Application Programming Interface, API), but the parameter inputted by the API must be negative Number only supports the data of 8 unsigned types and in the corresponding attribute configuration agreement of transmission power, for example, -20dB be can not It writes direct in attribute, is based on this, an embodiment of the present invention provides the mapping tables of transmission power, as shown in table 1.
Table 1
Intelligent terminal transmission power parameter 30 26 22 18 14 0 4
Transmission power attribute -20 -16 -12 -8 -4 0 4
Transmission power actual value -20db -16dB -12dB -8dB -4dB 0dB 4dB
Based on table 1, the configuration method of transmission power attribute as shown in figure 8, after iBeacon beacons enter connection status, It can decide whether that the event for writing transmission power attribute continues if not having to write the event of transmission power attribute Monitor whether to write the event of transmission power attribute;If there is the event for writing transmission power attribute, write-in is obtained Transmission power attribute value is converted to transmission power attribute value then according to the mapping table of transmission power (i.e. above-mentioned table 1) Then transmission power actual value updates system emission power parameter according to transmission power actual value, and then changes transmission power, After modification is completed, continue the event for monitoring whether to write transmission power attribute.
The configuration method of broadcasting frequency attribute can refer to Fig. 9, have 6 kinds of common broadcasting frequencys, be respectively 100ms, 300ms, 500ms, 750ms, 1s and 2s have the API of the directly broadcasting frequency of modification iBeacon beacons, but pass through this at present The parameter of API inputs must be negative, and the corresponding attribute configuration agreement of broadcasting frequency only supports the number of 8 unsigned types According to, and for change broadcasting frequency API receive parameter be as unit of 0.625ms, such as 100ms be can not be direct It is written in attribute, is based on this, an embodiment of the present invention provides the mapping tables of broadcasting frequency, can be the two of attribute agreement End uses, and specifically refers to table 2.
Table 2
The broadcasting frequency parameter of intelligent terminal 10 30 50 75 100 200
Broadcasting frequency attribute value 160 480 800 1200 1600 3200
Broadcasting frequency actual value 100ms 300ms 500ms 750ms 1s 2s
Based on table 2, the configuration method of broadcasting frequency attribute as shown in figure 9, after iBeacon beacons enter connection status, It can decide whether the event of write broadcast frequency attribute, if there is no the event of write broadcast frequency attribute, continue Monitor whether the event of write broadcast frequency attribute;If there is the event of write broadcast frequency attribute, write-in is obtained Broadcasting frequency attribute value is converted to broadcasting frequency attribute value then according to the mapping table of broadcasting frequency (i.e. above-mentioned table 2) Then broadcasting frequency actual value updates system broadcasts frequency parameter according to broadcasting frequency actual value, and then initializes broadcast, later Continue to monitor whether the event of write broadcast frequency attribute.
Corresponding to above method embodiment, an embodiment of the present invention provides a kind of realization of multi-functional iBeacon beacons dresses It sets, as shown in Figure 10, which includes:Broadcast module 1001 and processing module 1002;Optionally, device 100 can also wrap Memory module 1003 is included, memory module 1003 can be used for storing computer program.
Broadcast module 101, for broadcasting first service information, first service information is first service in service queue Information;
Processing module 102, it is corresponding that the duration for broadcasting first service information when broadcast module 101 reaches first service When rotational cycle, the control pause broadcast first service information of broadcast module 101;
Broadcast module 101, is additionally operable to broadcast second service information, and second service information is second clothes in service queue The information of business;
Processing module 102, the duration for being additionally operable to broadcast second service information when broadcast module 101 reach second service correspondence Rotational cycle when, control broadcast module 101 pause broadcast second service information;
Processing module 102 is additionally operable to the information that control broadcast module 101 each services in broadcast service queue in turn, directly Information to the last one service in service queue is broadcasted, and broadcast module 101 broadcasts the information of the last one service When duration reaches the last one service corresponding rotational cycle, control broadcast module 101 is believed from the first service in service queue Breath starts, the information that each of broadcast (sites) in turn service queue services.
In one possible implementation, processing module 102, for broadcasted content to be revised as by first service information Second service information;Rotational cycle is revised as the corresponding rotational cycle of second service by the corresponding rotational cycle of first service; It is corresponding that received signal strength indicator RSSI calibration values by the corresponding RSSI calibration values of first service are revised as second service RSSI calibration values.
In one possible implementation, processing module 102, be additionally operable to if it is determined that occur connect disconnected event, then protect Deposit current system parameter.
In one possible implementation, processing module 102 are additionally operable to if it is determined that writing suspend mode attribute event, then Obtain suspend mode attribute value;If suspend mode attribute value is not the first preset value, current system conditions parameter is preserved, and switch to suspend mode State;If suspend mode attribute value is the first preset value, the system status parameters preserved before suspend mode are read, according to what is preserved before suspend mode System status parameters switch to the state before suspend mode.
In one possible implementation, processing module 102 are additionally operable to if it is determined that writing RSSI calibration value attribute things Part then obtains the RSSI calibration values of write-in;If it is the second preset value that RSSI, which calibrates value attribute, buzzer vibration is controlled;If It is third preset value that RSSI, which calibrates value attribute, then controls buzzer and stop vibration.
The embodiment of the present invention additionally provides a kind of iBeacon beacons, and as shown in figure 11, including processor 1101, communication connect Mouth 1102, memory 1103 and communication bus 1104, wherein processor 1101, communication interface 1102, memory 1103 pass through logical Letter bus 1104 completes mutual communication,
Memory 1103, for storing computer program;
Processor 1101 when for executing the program stored on memory 1103, realizes the side in above-mentioned Fig. 1 to Fig. 9 Method step.
Communication bus mentioned above can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned iBeacon beacons and other equipment.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program is realized any of the above-described multi-functional when being executed by processor The step of implementation method of iBeacon beacons.
In another embodiment provided by the invention, a kind of computer program product including instruction is additionally provided, when it When running on computers so that computer executes the implementation method side of any multi-functional iBeacon beacons in above-described embodiment Method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of implementation method of multi-functional iBeacon beacons, which is characterized in that including:
First service information is broadcasted, the first service information is the information of first service in service queue;
When the duration for broadcasting first service information reaches the corresponding rotational cycle of the first service, pause broadcast described first Information on services;
Second service information is broadcasted, the second service information is the information of second service in service queue;
When the duration for broadcasting second service information reaches the corresponding rotational cycle of the second service, pause broadcast described second Information on services;
The information each serviced in service queue described in streaming is taken turns according to the method described above, until last in the service queue The information of one service is broadcasted, and the duration for broadcasting the information of the last one service reaches the last one described service pair When the rotational cycle answered, cycle executes above-mentioned steps.
2. according to the method described in claim 1, it is characterized in that, after the first service information is broadcasted in the pause, The method further includes:
Broadcasted content is revised as the second service information by the first service information;
Rotational cycle is revised as the corresponding rotational cycle of the second service by the corresponding rotational cycle of the first service;
Received signal strength indicator RSSI calibration values are revised as described second by the corresponding RSSI calibration values of the first service Service corresponding RSSI calibration values.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
If it is determined that connection disconnected event occurs, then current system parameter is preserved.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
If it is determined that writing suspend mode attribute event, then suspend mode attribute value is obtained;
If the suspend mode attribute value is not the first preset value, current system conditions parameter is preserved, and switch to dormant state;
If the suspend mode attribute value is the first preset value, the system status parameters preserved before suspend mode are read, according to being protected before suspend mode The system status parameters deposited switch to the state before suspend mode.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
If it is determined that writing RSSI calibration value attribute events, then the RSSI calibration values of write-in are obtained;
If the RSSI calibrations value attribute is the second preset value, buzzer vibration is controlled;
If the RSSI calibrations value attribute is third preset value, controls buzzer and stop vibration.
6. a kind of realization device of multi-functional iBeacon beacons, which is characterized in that including:
Broadcast module, for broadcasting first service information, the first service information is first service in service queue Information;
Processing module, the duration for broadcasting first service information when the broadcast module reach the corresponding wheel of the first service When changing the period, controls the broadcast module pause and broadcast the first service information;
The broadcast module, is additionally operable to broadcast second service information, and the second service information is second in service queue The information of service;
The processing module is additionally operable to reach the second service pair when the duration of broadcast module broadcast second service information When the rotational cycle answered, controls the broadcast module pause and broadcast the second service information;
The processing module is additionally operable to control the information each serviced in service queue described in the broadcast module wheel streaming, Until the information of the last one service in the service queue is broadcasted, and the last one described clothes of broadcast module broadcast When the duration of the information of business reaches the last one described service corresponding rotational cycle, the broadcast module is controlled from the service First service information in queue starts, the information that each of service queue described in broadcast (sites) in turn services.
7. device according to claim 6, which is characterized in that
The processing module, for broadcasted content to be revised as the second service information by the first service information;It will wheel Change the period is revised as the corresponding rotational cycle of the second service by the corresponding rotational cycle of the first service;Signal will be received Intensity instruction RSSI calibration values are revised as the corresponding RSSI of the second service by the corresponding RSSI calibration values of the first service Calibration value.
8. the device described according to claim 6 or 7, which is characterized in that
The processing module, be additionally operable to if it is determined that occur connect disconnected event, then preserve current system parameter.
9. device according to claim 8, which is characterized in that
The processing module is additionally operable to if it is determined that write suspend mode attribute event, then obtain suspend mode attribute value;If the suspend mode category Property value be the first preset value, then preserve current system conditions parameter, and switch to dormant state;If the suspend mode attribute value is First preset value then reads the system status parameters preserved before suspend mode, is switched to according to the system status parameters preserved before suspend mode State before suspend mode.
10. device according to claim 9, which is characterized in that
The processing module is additionally operable to if it is determined that write RSSI calibration value attribute events, then obtain the RSSI calibration values of write-in; If the RSSI calibrations value attribute is the second preset value, buzzer vibration is controlled;If the RSSI calibrations value attribute is third Preset value then controls buzzer and stops vibration.
CN201810460824.5A 2018-05-15 2018-05-15 A kind of implementation method and device of multi-functional iBeacon beacons Pending CN108684027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810460824.5A CN108684027A (en) 2018-05-15 2018-05-15 A kind of implementation method and device of multi-functional iBeacon beacons

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810460824.5A CN108684027A (en) 2018-05-15 2018-05-15 A kind of implementation method and device of multi-functional iBeacon beacons

Publications (1)

Publication Number Publication Date
CN108684027A true CN108684027A (en) 2018-10-19

Family

ID=63806117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810460824.5A Pending CN108684027A (en) 2018-05-15 2018-05-15 A kind of implementation method and device of multi-functional iBeacon beacons

Country Status (1)

Country Link
CN (1) CN108684027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113015101A (en) * 2021-02-18 2021-06-22 上海慧寻网络科技有限公司 Safe Bluetooth beacon data sending method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441559A (en) * 2002-01-30 2003-09-10 株式会社Ntt都科摩 Communication terminal, server, relay device, broadcast communication system, method and program
CN102123495A (en) * 2011-01-13 2011-07-13 山东大学 Centroid location algorithm based on RSSI (Received Signal Strength Indication) correction for wireless sensor network
CN104066148A (en) * 2013-03-19 2014-09-24 华为技术有限公司 Service discovery method, access point and station point
CN107251508A (en) * 2014-10-14 2017-10-13 瑞迪厄思网络公司 Interweave multiple Bluetooth Low Energy bulletins

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1441559A (en) * 2002-01-30 2003-09-10 株式会社Ntt都科摩 Communication terminal, server, relay device, broadcast communication system, method and program
CN102123495A (en) * 2011-01-13 2011-07-13 山东大学 Centroid location algorithm based on RSSI (Received Signal Strength Indication) correction for wireless sensor network
CN104066148A (en) * 2013-03-19 2014-09-24 华为技术有限公司 Service discovery method, access point and station point
CN107251508A (en) * 2014-10-14 2017-10-13 瑞迪厄思网络公司 Interweave multiple Bluetooth Low Energy bulletins

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113015101A (en) * 2021-02-18 2021-06-22 上海慧寻网络科技有限公司 Safe Bluetooth beacon data sending method
CN113015101B (en) * 2021-02-18 2022-04-12 上海慧寻网络科技有限公司 Safe Bluetooth beacon data sending method

Similar Documents

Publication Publication Date Title
EP3972329A1 (en) Network connection method, electronic device, and storage medium
CN110913504B (en) Network connection method, terminal device and storage medium
US9769743B2 (en) Method and apparatus for determining access point service capabilities
US11218451B2 (en) Device bootstrap method, terminal, and server
CN110324193B (en) Terminal upgrade management method and device
US20170374690A1 (en) Indication of Attributes of Backhaul Connections of Access Points
EP3226481A1 (en) Method for heartbeat packet processing by using proxy, apparatus, and communications system
CN107409270B (en) Method and apparatus for establishing a connection between devices
WO2020237548A1 (en) Resource subscription method, device and server, and computer storage medium
CN106909081B (en) Household electrical appliance and expansion platform based on same
EP3806394A1 (en) Configuration method and device
US20220312517A1 (en) D2d communication method, apparatus, and system
CN113115331A (en) Control method and communication device
EP3637829A1 (en) Method for determining establishment reason, and terminal
CN111277505B (en) Multi-terminal joint control method, device, equipment and storage medium based on local area network
JP7008674B2 (en) Nodes and methods for managing packet data network connections
WO2019080719A1 (en) Data processing method and device, storage medium, processor, and system
CN113965993A (en) Direct communication starting control method and related equipment
CN108684027A (en) A kind of implementation method and device of multi-functional iBeacon beacons
EP3934286B1 (en) Charging method and device
WO2021064286A1 (en) Method, apparatus and computer program product for adaptive paging of user equipment supporting multiple subscriber identification modules
CN113965994A (en) Direct communication starting control method and related equipment
CN108702663B (en) Method for managing network resources and wireless communication equipment
WO2020006763A1 (en) Indication method and apparatus for control signaling, and terminal, base station and storage medium
CN111787552B (en) Control method and device for network operation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181019

RJ01 Rejection of invention patent application after publication