For the data guard method of the base stations iBeacon, equipment and system
Technical field
It is the present invention relates to the communications field, more particularly to a kind of for the data guard method of the base stations iBeacon, equipment and to be
System.
Background technology
IBeacon is the new function that configures in the mobile device (IOS7) of Apple Inc. in September, 2013 publication.Its work side
Formula is, by BLE can create a signal area equipped with the equipment of low-power consumption bluetooth (BLE) communication function and in the signal
Oneself distinctive id information is sent in region, when equipment enters the region, corresponding application software can root after receiving the ID
It takes some actions according to ID.For example, if iBeacon communication modules are arranged in shop, it can allow on iPhone and iPad and transport
Customer is entered this information of shop by mobile communication notification server by capable application software, or is sent out from server to customer
It send coupons and is integrated into shop.Additionally iBeacon can be used to application software when household electrical appliances break down or are stopped
Send information, notice man electric fault.
BLE (Bluetooth Low Energy, low-power consumption bluetooth) technology be usually said Bluetooth4.0 or
Person Bluetooth Smart.Its maximum feature is exactly low-power consumption, to make equipment possess longer cruise duration, in addition,
Bluetooth4.0 is also promoted the transmission range of bluetooth to 100 meters or more (under low-power consumption modes).
IBeacon utilizes the broadcast frame of entitled " announcement frame " (Advertising) in BLE.Announcement frame is by being equipped with setting for BLE
It is standby periodically to send out, as long as supporting the terminal of BLE, signal can be received.The payload portions of announcement frame, be written with by
The data that apple defines.
The data of iBeacon are mainly made of four kinds of information, are UUID, Major, Minor, Measured respectively
Power, wherein
UUID (Universally Unique Identifier, universal unique identifier) is to use " ISO/
IEC11578:128 bit identifiers for being used for identifying Beacon modules of 1996 " standards, UUID is as one iBeacon or one group
The unique mark of iBeacons equipment, commonly used in indicating top layer mark, for identifying enterprise and tissue.
Major and Minor is 16 identifiers, can self-defining, can be identified for that each individual iBeacon.For example,
When chain store uses iBeacon, UUID may be the same, and Major can be identified in Minor with identified areas information
The ID etc. of shops, in household appliances when embedded Beacon modules, if using Major as the serial number linked up with product type,
Using Minor as error code, so that it may with to external notification fault condition.
Reference received signal strength when Measured Power are by between iBeacon modules and receiver at a distance of 1m
(RSSI:Received Singnal Strength Indicator).Receiver refers to RSSI according to this and receives the strong of signal
It spends to push sending module at a distance from receiver, distance is used close to (Immidiate) (proximity distance is about 10 centimetre), 1m
Within (Far) three kinds of distance states other than (Near), 1m.For example, representing commodity just in eye when for Immidiate in shop
Before, Near is represented near positive place's shelf, and Far representatives are near shop door or outside etc..
Due to iBeacon or the energy consumption of other beacons technologies less, wide coverage, communicator par and ios device or
Other support Beacon equipment interconnection facility the features such as so that iBeacon+ bluetooths in the service currently based on position much
It is better than the combination of GPS+WiFi.And in navigating indoors, iBeacon also has incomparable advantage, each due to having indoors
The blocking of kind barrier, therefore GPS signal is very faint, cannot achieve navigation.And it is arranged by periphery different location indoors
Multiple iBeacon transceivers can exchange id information as soon as a mesh network can be formed between each Beacon, and pass through 3
Or 3 or more Beacon are very easy to carry out triangulation location, therefore, can accurately be positioned by Beacon networks
The position of user, to realize the purpose of navigation.
Currently, some large-scale sales fields, chain store and some companies of offer based on location-based service have begun to use this
Technology, by inside sales field different location dispose multiple beacons (i.e. the base stations iBeacon) based on iBeacon, formation one
A information service network, when mobile phone user enters the signal area of sales field iBeacon beacons layout, corresponding APP on mobile phone
This signal network will be prompted the user whether to need to access, user selects access, just will receive businessman sales promotion information or
See navigation map inside sales field in APP, and show the information such as user current location and periphery retail shop, when user close to some
When iBeacon, the retail shop near the iBeacon or merchandise promotion information can also be pushed, passes through this portion based on iBeacon
Administration, great convenience is both provided to user and businessman.
But due to the opening of iBeacon agreements, specification is easy to be known by people, in the iBeacon actually sent
Including data be also easy to obtain, therefore, oneself deployment iBeacon beaconing nodes be easy to by competitive enterprise or other bases
It obtains in the provider of location-based service, forge or freely uses, and purchase and deployment Beacon equipment also have certain cost,
Once the iBeacon beaconing nodes data of oneself deployment are obtained or freely used by other people, this undoubtedly compromises the profit of deployer
Benefit.
Invention content
In view of this, the present invention is intended to provide a kind of data guard method, equipment and system for the base stations iBeacon,
To solve the problems, such as that iBeacon data are falsely used.
An aspect of of the present present invention provides a kind of data guard method for the base stations iBeacon, the data protection side
Method includes:
After control device establishes communication connection with the base stations iBeacon, the identification letter of the base stations iBeacon is changed
Breath, and the modification information including the modified identification information is uploaded to server;
The server updates storage location information and the identification of the base stations iBeacon according to the modification information
The mapping table of correspondence between information.
Preferably, the identification information of the modification base stations iBeacon can specifically include:
The control device is changed described according to the change directive received from the server with specified fresh information
The identification information of the base stations iBeacon, the specified fresh information are selected from any one of following information:In the change directive
Including fresh information, asked for the server based on the change directive fresh information, update input by user letter
The fresh information of breath, the control device storage inside, and believed by the update that pre-defined algorithm generates by the control device
Breath.
Preferably, the identification information of the modification base stations iBeacon can specifically include:
The control device actively changes the identification information of the base stations iBeacon with specified fresh information, described
Specified fresh information is selected from any one of following information:Actively asked for the server fresh information, user input
Fresh information, the fresh information of the control device storage inside and generated by pre-defined algorithm by the control device
Fresh information.
Preferably, further include the former identification information of the base stations iBeacon in the modification information, the server according to
The original identification information searches the mapping table to carry out the update.
Alternatively, further include the unique identification information of the base stations iBeacon, the mapping table in the modification information
Store the correspondence between the unique identification information, location information and identification information of the base stations iBeacon, the service
Device searches the mapping table according to the unique identification information to carry out the update.
Preferably, the unique identification information is selected from any one of following:
The unique sequence numbers of the Bluetooth chip of the base stations iBeacon;
One in UUID, MajorID and MinorID of the base stations iBeacon or in which multinomial combination;
The identification information generated by random algorithm.
Preferably, the identification information of the base stations iBeacon includes the UUID and/or MajorID of the base stations iBeacon
And/or MinorID.
Preferably, the location information of the base stations iBeacon is three-dimensional coordinate letter of the base stations iBeacon on map
Breath.
Preferably, the communication connection connects for the wireless communication established by bluetooth.
Alternatively, the communication connection is the wire communication connection established by interface, the interface be include that USB connects
The one of which interface in physical interface including mouth and serial ports.
Another aspect of the present invention provides a kind of control device of the data protection for the base stations iBeacon, the control
Equipment includes:
Communication module establishes communication connection respectively with the base stations iBeacon and server;
Operation module is configured to change the identification information of the base stations iBeacon,
Wherein, be further configured to will be in the modification information including the modified identification information for the communication module
The server is reached, the modification information updates storage the position of the base stations iBeacon for the server according to this
The mapping table of correspondence between information and identification information.
Preferably, the operation module concrete configuration is actively to change or according to the communication module received from the service
The change directive of device changes the identification information of the base stations iBeacon.
Alternatively, the operation module can take concrete configuration as automatic modification or be changed based on instruction input by user
The identification information of the base stations iBeacon.
Preferably, the control device further includes:
First memory module is stored with the first update list for changing iBeacon base station identification informations;And/or
Computing module is configured to be generated for changing the iBeacon base station identification informations more according to pre-defined algorithm
New information.
Preferably, the control device is PC machine, or the mobile communication equipment with bluetooth communication.
Preferably, the identification information of the base stations iBeacon includes the UUID and/or MajorID of the base stations iBeacon
And/or MinorID.
The present invention also provides a kind of data protection system for the base stations iBeacon, the data protection system includes
Server, above-mentioned control device and at least one base stations iBeacon, wherein the server includes:
Second memory module, the storage location information for being stored with the base stations iBeacon and identification information it
Between correspondence mapping table;
Processing module is configured to update the mapping table according to from the modification information of the control device.
Preferably, the processing module be additionally configured to periodically or non-periodically to be automatically, or based on instruction input by user and to
The control device issues change directive.
Preferably, the change directive includes the fresh information for changing iBeacon base station identification informations.
Preferably, second memory module is also stored with the second update for changing iBeacon base station identification informations
List, the processing module are additionally configured to be sent to the second update list described according to the request of the control device
Control device.
Preferably, the location information of the base stations iBeacon is three-dimensional coordinate letter of the base stations iBeacon on map
Breath.
Preferably, further include the former identification information of the base stations iBeacon in the modification information, the processing module is matched
It is set to and the mapping table is searched to carry out the update according to the former identification information.
Alternatively, it can also include the unique identification information of the base stations iBeacon in the modification information, described
Two memory modules are stored between the unique identification information, location information and identification information for storing the base stations iBeacon
The mapping table of correspondence, the processing module are configured to search the mapping table according to the unique identification information to carry out
The update.
The beneficial effects of the present invention are:By identification information and the server update storage of changing the base stations iBeacon
There is the mapping table of the correspondence between the location information and identification information of the base stations iBeacon so that the base stations iBeacon number
It is believed that breath is in regular/irregular variable condition, the risk that Beacon data are falsely used is reduced, improves safety, is ensured
Deployer's interests.
Description of the drawings
Fig. 1 is a kind of flow diagram of data guard method for the base stations iBeacon according to the invention.
Fig. 2 is a kind of structural schematic diagram of the control device of data protection for the base stations iBeacon according to the invention.
Fig. 3 is an a kind of preferred implementation of the control device of data protection for the base stations iBeacon according to the invention
The structural schematic diagram of mode.
Fig. 4 is the structural representation of server in a kind of data protection system for the base stations iBeacon according to the invention
Figure.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, develop simultaneously embodiment referring to the drawings, right
The present invention is further described.
Embodiment 1
The application scenarios of the present embodiment are assumed to, and the different location in large-scale sales field disposes 10 iBeacon equipment, clothes
Store the sales field map drawn according to outdoor scene inside sales field in business device, the base stations iBeacon placement location after measurement
Corresponding position is identified with three-dimensional coordinate in map.Location information of the base stations iBeacon in map and the base stations iBeacon
Correspondence between identification information (UUID, MajorID, MinorID identification information of such as base stations iBeacon), which is stored in, to be reflected
In firing table.
The correspondence stored in mapping table is without being limited thereto, in other embodiments, can also be stored in mapping table
Corresponding pass between iBeacon base station locations coordinate, the base stations iBeacon unique mark and the identification information of the base stations iBeacon
System.
In the present embodiment, 4.0 chip of iBeacon embedded in base station bluetooth, 32 ARM CPU and 256KB flash memories, by miniature
Button cell is powered.It is in the present embodiment, the Bluetooth chip unique sequence numbers of the base stations iBeacon are unique as the base stations iBeacon
Mark.Control device is the smart mobile phone with function of Bluetooth communication, has the APP of the base stations control iBeacon in mobile phone.
In the present embodiment, the fresh information list of iBeacon Base Station Identifications is stored in the server, server is with fixation
Frequency (such as two months) issues automatically updates the change directive of list to control device including iBeacon Base Station Identifications.
According to one embodiment of present invention, iBeacon base station position informations and the identification of base stations are stored with by change
The above-mentioned mapping table of the correspondence of information includes to realize the protection of iBeacon data, specific steps:
1, server issues the base stations iBeacon change directive with preset fixed frequency to cell phone application;
2, cell phone application receives the change directive that server issues, and is established with the base stations iBeacon by bluetooth approach and is wirelessly connected
It connects;
3, cell phone application obtains the base stations the iBeacon update list in the change directive that server issues and changes corresponding
The identification information of the base stations iBeacon;
Here, the mode of the fresh information of identification information for changing the base stations iBeacon is obtained in addition to from change directive
Other than middle acquisition, it can also use and read the fresh information of storage inside the cell phone application, based on the change directive and from service
Device asks for fresh information or inputs fresh information or cell phone application by user automatically generates the base stations iBeacon by related algorithm
Fresh information.
The identification information of modification can be one or more in UUID, MajorID, MinorID.
4, modification is completed, and modification information is uploaded to server by cell phone application;
The modification information may include the unique identification information of the base stations iBeacon and modified identification information.
5, server receives the modification information that cell phone application uploads, and is looked into according to the unique identification information in modification information
It looks for mapping table and updates the corresponding identification information in mapping table.
In one alternate embodiment, in modification information can only include the base stations iBeacon former identification information and repair
Identification information after changing after server receives modification information, can be reflected according to the former identification information of the base stations iBeacon to search
Firing table is to be updated.
In the present embodiment, server, which issues the update list of the base stations iBeacon in change directive, can also pass through correlation
Algorithm automatically generates.
Embodiment 2
Difference lies in mobile phone actively connect with the base stations iBeacon and changes iBeacon bases the present embodiment with embodiment 1
The identification information stood, modification are completed, and modification information are uploaded to server, server synchronizes update.
As shown in Figure 1, the method protected for iBeacon base station datas described in the present embodiment, specific steps packet
It includes:
1, mobile phone is actively wirelessly connected with the base stations iBeacon by bluetooth approach;
Cell phone application can be periodically or non-periodically automatic or manual mode actively connect with iBeacon base station radios.
2, the identification information of the base stations cell phone application modification iBeacon;
Cell phone application can read inside the APP storage fresh information or actively from server ask for fresh information or
The fresh information of the base stations iBeacon is automatically generated by related algorithm.
Cell phone application can also change the identification information of the base stations iBeacon by the input of user.
3, modification is completed, and modification information is uploaded to server by cell phone application;
4, server receives modification information, and is repaiied according to the unique identification information of the base stations iBeacon in modification information
In the mapping table for changing the correspondence between the unique identification information, location information and identification information for being stored with the base stations iBeacon
Corresponding identification record, wherein location information can be the three-dimensional coordinate on map.
Wherein, the unique identification information of the base stations iBeacon can be selected from any one of following:
The unique sequence numbers of the Bluetooth chip of the base stations iBeacon;
One in UUID, MajorID and MinorID of the base stations iBeacon or in which multinomial combination;
The identification information generated by random algorithm.
Embodiment 3
Difference lies in the control device of the present embodiment is PC computers to the present embodiment, is had in PC computers with embodiment 1
There are the control software of the base stations control iBeacon, the base stations iBeacon to be calculated by USB interface, serial ports or other physical interfaces and PC
Mechatronics.IBeacon base station data guard method specific steps in the present embodiment include:
1, the base stations iBeacon are electrically connected with PC computers by interface;
2, the identification information of the base stations iBeacon is changed by the control software in PC computers;
3, modification is completed, and modification information is sent to server by PC computers;
4, server receive modification information, and according to modification information come updated storage iBeacon base station position informations and
Corresponding identification information in the mapping table of correspondence between the identification information of the base stations iBeacon.
The present invention can be periodically or non-periodically by automatic or manual mode change the base stations iBeacon location information and
Correspondence between the identification information of the base stations iBeacon so that the knowledge of iBeacon base station position informations and the base stations iBeacon
Other information is in variable condition periodically or non-periodically, and iBeacon data can be effectively prevent to be falsely used, and improves safety, protects
Hinder the interests of deployer.
Embodiment 4
The present embodiment provides a kind of data protection system for the base stations iBeacon, which includes service
Device, control device and at least one base stations iBeacon.
As shown in Fig. 2, in the data protection system of the present embodiment, control device includes:Communication module, with
The base stations iBeacon and server establish communication connection respectively;Operation module is configured to the identification letter of the base stations modification iBeacon
Breath;And wherein, communication module is further configured to the modification information including the modified identification information being uploaded to
Server, modification information are updated storage for server according to this between the location information and identification information of the base stations iBeacon
The mapping table of correspondence.
The identification information of the above-mentioned base stations iBeacon may include the base stations iBeacon UUID and/or MajorID and/or
MinorID.In addition, the location information of the above-mentioned base stations iBeacon can be three-dimensional coordinate letter of the base stations iBeacon on map
Breath.
Specifically, operation module is configurable to actively change the identification information of the base stations iBeacon, or according to communication mould
Change directive of the block received from server changes the identification information of the base stations iBeacon.
Whether in the case of being changed according further to change directive in the case where actively modifying, operation module is all
It is configurable to change the identification information of iBeacon base stations automatically, or the base stations iBeacon are changed based on instruction input by user
Identification information.
As shown in figure 3, as a preferred embodiment, control device can also include:First memory module, is deposited
Contain the first update list for changing iBeacon base station identification informations;And computing module, it is configured to according to pre-defined algorithm
Generate the fresh information for changing iBeacon base station identification informations.Control device can also only include the first memory module or
Computing module is only included, to obtain the fresh information of the identification information for changing the base stations iBeacon according to different modes.
As shown in figure 4, in the data protection system, server includes:Second memory module stores above-mentioned storage
There is the mapping table of the correspondence between the location information and identification information of the base stations iBeacon;And processing module, it is configured to
Mapping table is updated according to the modification information from control device.
As one embodiment, processing module is configurable to periodically or non-periodically issue to above-mentioned control device automatically
Change directive, or change directive is issued to above-mentioned control device based on instruction input by user, to realize a variety of update moulds
Formula.
In various embodiments, it can be included in more for changing the fresh information of iBeacon base station identification informations
Change in instruction, can also be stored in the second memory module so that the processing module will be deposited according to the request of control device
The fresh information of storage is sent to control device.
In one embodiment, processing module the modification information received from control device may include the base stations iBeacon
Former identification information, processing module searches mapping table to carry out corresponding update according to the original identification information.
In another embodiment, processing module may include iBeacon in the modification information received from control device
The unique identification information of base station, and the second memory module is stored with the unique identification information for storing the base stations iBeacon, position
The mapping table of correspondence between information and identification information, processing module can search mapping table according to the unique identification information
To carry out corresponding update.
The above is merely preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.It is all in this hair
Within bright spirit and principle, made by any modification, equivalent replacement and improvement etc., should be included in the protection model of the present invention
Within enclosing.