CN105610835A - Bluetooth POS moving prevention networking method and system - Google Patents
Bluetooth POS moving prevention networking method and system Download PDFInfo
- Publication number
- CN105610835A CN105610835A CN201511023118.7A CN201511023118A CN105610835A CN 105610835 A CN105610835 A CN 105610835A CN 201511023118 A CN201511023118 A CN 201511023118A CN 105610835 A CN105610835 A CN 105610835A
- Authority
- CN
- China
- Prior art keywords
- lbs
- password
- bluetooth
- dynamic
- pos
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000006855 networking Effects 0.000 title claims abstract description 25
- 230000002265 prevention Effects 0.000 title claims abstract description 10
- 238000012544 monitoring process Methods 0.000 claims abstract description 7
- 230000004044 response Effects 0.000 claims description 14
- 239000000284 extract Substances 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 241001050985 Disco Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/06—Network architectures or network communication protocols for network security for supporting key management in a packet data network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/18—Self-organising networks, e.g. ad-hoc networks or sensor networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a Bluetooth POS moving prevention networking method and system. The Bluetooth POS moving prevention networking method comprises S11, sending a dynamic LBS (Location Based Service) code to a Bluetooth POS router through a network by an LBS server; S12, after obtaining the dynamic LBS code, broadcasting the dynamic LBS code to the outside by the Bluetooth POS router; and S13, after scanning and monitoring the broadcast by a Bluetooth POS node, extracting the dynamic LBS code and carrying on broadcasting the dynamic LBS code. Through the way above, the Bluetooth POS moving prevention networking method and system can realize relay arrangement of the POS node, and can break through limitation of POS node arrangement and limitation of use positions.
Description
Technical Field
The invention relates to the technical field of payment safety, in particular to a Bluetooth POS machine-moving prevention networking method and system.
Background
With the popularization and application of information technology, electronic money is increasingly used when people pay money settlement in work and life. The electronic currency settlement mode not only has the advantages of convenience and quickness, but also reduces the cash pressure of a central bank.
Since electronic money settlement is based on the medium of electronic money such as debit cards and credit cards of banks, it must be applied to POS machines and various new portable electronic devices with cash register function. At present, financial institutions such as the Unionpay charge different service fees according to different industries when using electronic devices such as POS machines, because different industries have different profit margins in the consumption process, industries with low profit margins, such as the industry of the department of goods, charge a lower proportion of service fees, and industries such as pubs, karaoke halls or restaurants charge a higher service fee, so that at present, a small number of users of electronic devices such as the POS machines adopt cash registering terminals which open the department of goods, and move to the places such as the pubs and discos for consumption settlement, and the purpose of paying less commission fees for the Unionpay is achieved. In addition, some lawless persons carry out illegal behaviors such as cash register after moving the POS machine, and the financial order is seriously damaged. Therefore, how to limit the use position of the POS machine is a problem to be solved urgently in mass popularization, popularization and use of the POS machine.
In order to prevent illegal behaviors such as remote use and cash register of the POS machine in financial business, the mobile behavior needs to be managed and controlled. The following three schemes are available for preventing the mobile phone of the financial POS terminal:
(1) for a telephone POS terminal adopting PSTN, a terminal mobile machine monitoring method and a system with the patent number of CN102737452A and a financial POS mobile machine prevention risk management method with the patent number of CN103218885A, the mobile machine prevention detection is carried out by adopting a method of comparing and checking a calling telephone number and a called telephone number by an external POS front end. The external POS prepositive ends of the two patents mainly aim at the PSTN-accessed telephone POS and have limitation in use.
(2) For a POS terminal carrying or externally connected with a GPS positioning module, the GPS module needs to register and bind machines and tools for the POS terminal, and then the POS terminal acquires GPS longitude and latitude information regularly or irregularly through GPS positioning equipment and reports the GPS longitude and latitude information to a bank position server for judging whether the POS machine is used for illegal transfer. Because the GPS positioning equipment cannot receive signals indoors, the method can work normally only by placing the GPS positioning equipment outdoors or close to a window, and the practicability and the user experience of the method are greatly influenced.
(3) For a POS terminal carrying or externally connected with an 2/3G module, the POS terminal obtains base station information including country Code (MCC), network Code (MNC), mobile network location based service Code (LBS Code), Location Area Code (LAC), current base station number information (CID, CellID), etc. regularly or irregularly through the 2/3G module, and reports the information to an LBS server of an operator to obtain current longitude and latitude information, which is used to determine whether the POS terminal is used for illegal relocation. Which is very limited in the POS and use location.
Meanwhile, the first, second and third schemes need to be equipped with a MODEM module, a GPS module or an 2/3G module, and have certain limitation on the range of usable POS.
For the POS which does not adopt a PSTN access mode and is not provided with a GPS module or an 2/3G wireless module, how to effectively prevent the POS from being transferred to carry out illegal financial activities has important practical significance in the safety field of financial payment. For example, bluetooth POS, which is widely used in near field payment, has no reliable detection scheme for preventing a mobile phone from being moved if the above three modules are not mounted.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: a new networking anti-relocation scheme is provided to prevent the POS terminals from being illegally relocated.
In order to solve the technical problems, the invention adopts the technical scheme that: the networking method for preventing the Bluetooth POS from moving is provided, and comprises the following steps:
s11: the LBS server sends a dynamic LBS password to the Bluetooth POS router through the network;
s12: after the Bluetooth POS router acquires the dynamic LBS password, the Bluetooth POS router broadcasts the dynamic LBS password to the outside;
s13: and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password.
In order to solve the above problem, the present invention further provides a bluetooth POS anti-mobile networking system, including: LBS server, Bluetooth POS router and Bluetooth POS node; wherein,
the LBS server sends a dynamic LBS password to the Bluetooth POS router through the network;
after the Bluetooth POS router acquires the dynamic LBS password, the Bluetooth POS router broadcasts the dynamic LBS password to the outside;
and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password.
The invention has the beneficial effects that: different from the prior art, the Bluetooth POS router of the invention broadcasts the dynamic LBS password to the outside after acquiring the dynamic LBS password sent by the LBS server; and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password. Through the mode, the relay arrangement of the POS nodes can be realized, and the limitation of the POS node arrangement and the limitation of the use position are broken through.
Drawings
FIG. 1 is a schematic flow chart of a first embodiment of the method of the present invention;
FIG. 2 is a Bluetooth POS networking topology diagram in an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a password update procedure for a dynamic LBS in accordance with an embodiment of the present invention;
FIG. 4 is a diagram illustrating an exemplary update LBS location identification process according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating the LBS bluetooth 4.0 broadcast packet format in an embodiment of the present invention.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
The most key idea of the invention is that after the Bluetooth POS router acquires the dynamic LBS password sent by the LBS server, the Bluetooth POS router broadcasts the dynamic LBS password to the outside; the Bluetooth POS node can acquire the LBS password and extract the LBS password, and then relay broadcasting is carried out, so that relay arrangement is realized.
Referring to fig. 1, the invention provides a networking method for preventing a bluetooth POS from moving, comprising:
s11: the LBS server sends a dynamic LBS password to the Bluetooth POS router through the network;
s12: after the Bluetooth POS router acquires the dynamic LBS password, the Bluetooth POS router broadcasts the dynamic LBS password to the outside;
s13: and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password.
In step S12, after the bluetooth POS router obtains the dynamic LBS password, the method further includes:
s120: judging whether the current stored password is equal to the dynamic LBS password or not, or whether the last stored password is equal to the dynamic LBS password or not;
if yes, go to step S121: the Bluetooth POS router does not update the dynamic LBS password and broadcasts the updated dynamic LBS password to the outside;
otherwise, step S122 is executed: and updating the last stored password to the current stored password, updating the current stored password to the dynamic LBS password, and broadcasting the updated dynamic LBS password to the outside.
The last password is compared with the current password respectively, and the passwords cannot be updated as long as one password is the same.
For example, the update password of the bluetooth POS node is as follows:
the password used for the 9 morning hours is 1111, and at 10, it is updated to 2222. There are two storage areas in the machine, one is storing the last password, and the other is storing the current password, then the last password is 1111, and the current password is 2222.
The purpose of keeping the password of the previous time is to prevent the ping-pong effect. That is, the POS node has just updated the current password to 2222, and then since the neighboring POS node has not updated the current password, and the broadcast message is still the old password 1111, the POS node updating 2222 will mistakenly assume that the old password is the new password updated again after receiving the old password broadcast 1111, and thus update 2222 to 1111 again.
Thus, 2 passwords are required to be stored, the current password and the previous password, so that even if an approaching or outdated password broadcast 1111 is received, the just updated 2222 will not be rolled back to 1111 after comparison.
If for the bluetooth POS routing node, although the update password is directly obtained from the LBS server, it is better to store 2 passwords, so that it is ensured that the updated password is different from the current password and the previous password when updating the password, and it is avoided that the LBS server network has delay or error, which causes the old password packet to arrive again.
When the transaction is carried out, the Bluetooth POS node sends an authentication request to an LBS server, wherein the authentication request comprises a local machine MAC address, the dynamic LBS password and MAC addresses of other Bluetooth POS nodes in the network;
the LBS server processes the identification request and judges whether the Bluetooth POS node is in a legal position;
if the Bluetooth POS node is in an illegal position, terminating the subsequent transaction process;
and if the Bluetooth POS node is in a legal position, continuing the subsequent transaction process.
When a Bluetooth POS node is added, the Bluetooth POS node scans and monitors broadcast, extracts a dynamic LBS password and a network ID, and sends a network access request to an LBS server, wherein the network access request comprises the LBS password, the network ID, a local Bluetooth MAC address and the scanned MAC addresses of other Bluetooth POS nodes in the network;
the LBS server processes the network access request and gives a response whether to approve network access;
and the Bluetooth POS node receives the network access response and finishes registering and network access.
Correspondingly, the invention also provides a Bluetooth POS machine-moving prevention networking system, which comprises: LBS server, Bluetooth POS router and Bluetooth POS node; wherein,
the LBS server sends a dynamic LBS password to the Bluetooth POS router through the network;
after the Bluetooth POS router acquires the dynamic LBS password, the Bluetooth POS router broadcasts the dynamic LBS password to the outside;
and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password.
After the Bluetooth POS router acquires the dynamic LBS password, judging whether the current stored password is equal to the dynamic LBS password or not, or whether the last stored password is equal to the dynamic LBS password or not;
if yes, the Bluetooth POS router does not update the dynamic LBS password and broadcasts the updated dynamic LBS password to the outside;
otherwise, the last stored password is updated to the current stored password, the current stored password is updated to the dynamic LBS password, and the updated dynamic LBS password is broadcasted externally.
The Bluetooth POS node updates the LBS password flow to judge whether the LBS password is the same as the current password and the last password, if so, the LBS password is not updated, otherwise, the LBS password is updated. The purpose of this is: the Bluetooth POS node is prevented from receiving an old password (the LBS password is not updated by adjacent nodes and the old password is still used) when monitoring Bluetooth broadcast, so that the updating is mistakenly caused.
During transaction, the Bluetooth POS node sends an authentication request to an LBS server, wherein the authentication request comprises a local machine MAC address, the dynamic LBS password and MAC addresses of other Bluetooth POS nodes in the network;
the LBS server processes the identification request and judges whether the Bluetooth POS node is in a legal position;
if the Bluetooth POS node is in an illegal position, terminating the subsequent transaction process;
and if the Bluetooth POS node is in a legal position, continuing the subsequent transaction process.
When a Bluetooth POS node is added, the Bluetooth POS node scans and monitors broadcast, extracts a dynamic LBS password and a network ID, and sends a network access request to an LBS server, wherein the network access request comprises the LBS password, the network ID, a local Bluetooth MAC address and the scanned MAC addresses of other Bluetooth POS nodes in the network; the LBS server processes the network access request and gives a response whether to approve network access;
and the Bluetooth POS node receives the network access response and finishes registering and network access.
The bluetooth POS router includes: the device comprises a Bluetooth module unit, a password updating unit and a positioning unit;
the bluetooth POS node includes: bluetooth module unit and positioning unit.
The Bluetooth module unit is used for scanning and monitoring the Bluetooth broadcast messages around and playing the broadcast messages carrying the LBS dynamic passwords;
the password updating unit is used for connecting to the LBS server by utilizing a POS network and acquiring an updated LBS password from the LBS server periodically;
the positioning unit extracts the monitored Bluetooth broadcast from the Bluetooth module unit and extracts the password updating unit and the MAC address of the adjacent same-network Bluetooth POS; when in transaction, the network connection of the POS is utilized to report the positioning identification information to the LBS server for identifying whether to move the mobile phone or not;
and the LBS server is used for updating and transmitting the dynamic LBS password to the Bluetooth POS router and judging whether the positioning identification information reported by the positioning unit of the Bluetooth POS node is a legal position.
For the sake of understanding, the following description is made with reference to a specific embodiment and the accompanying drawings.
First, the invention can be oriented to hot spots used by POS in markets, supermarkets, marts and the like, and provides a new networking anti-transfer invention for the POS terminals carrying the Bluetooth modules, so as to prevent the POS terminals from being illegally transferred for use. The Bluetooth POS in the hot spot area forms an MESH ad hoc network in a Bluetooth 4.0 broadcasting mode. Wherein, a bluetooth POS accessing the bank background is designated as an AP (router, the same below) access point, which periodically obtains a dynamic password from the bank background server and broadcasts the dynamic password by using the broadcast function of bluetooth 4.0. And scanning the Bluetooth POS which monitors the broadcast content, extracting the dynamic password, and continuously broadcasting the dynamic password, thereby realizing the purpose of relay transmission and ensuring that the dynamic password covers each Bluetooth POS in the hot spot area. Before financial transaction each time, the Bluetooth POS machine scans the nearby Bluetooth 4.0 equipment, filters out the Bluetooth equipment belonging to the same Bluetooth MESH network, and takes the MAC address of the nearby Bluetooth equipment, the Bluetooth MAC address of the machine and the dynamic password as position identification information to be sent to the bank background. And the bank background allows the subsequent financial transaction process after position confirmation is carried out according to the identification information.
The invention can combine the Bluetooth 4.0 communication technology, and enables the Bluetooth POS of the hot spot areas using the Bluetooth POS in a market, a supermarket, and the like to form the Bluetooth MESH ad hoc network by the broadcasting mode of the Bluetooth 4.0. And (3) designating a Bluetooth POS accessed to the bank background as an AP, and periodically broadcasting the AP by using Bluetooth 4.0 to update the dynamic password acquired from the bank LBS background.
And scanning the Bluetooth POS which monitors the broadcast content, extracting the dynamic password, and continuously broadcasting the dynamic password, thereby realizing the purpose of relay transmission and ensuring that the dynamic password covers each Bluetooth POS in the hot spot area. Before financial transaction each time, the Bluetooth POS machine scans the nearby Bluetooth 4.0 equipment, filters out the Bluetooth equipment belonging to the same Bluetooth MESH network, and sends the MAC address of the nearby Bluetooth equipment, the Bluetooth MAC address of the machine and the dynamic password as position identification information to the LBS background of the bank. And the bank background allows the subsequent financial transaction process after position confirmation according to the identification information, thereby realizing the function of preventing the machine from moving.
The invention can adopt Bluetooth 4.0 broadcast networking Bluetooth POS, so that the mobile phone is provided with the function of preventing mobile phone. The method comprises a Bluetooth POSAP, a password updating unit and a positioning unit, wherein the Bluetooth POSAP comprises a Bluetooth module unit, the password updating unit and the positioning unit; the Bluetooth POS node comprises a Bluetooth module unit and a positioning unit; and the LBS server.
In the Bluetooth POSAP, a Bluetooth module unit is in a hardware form, is an originally carried Bluetooth module and is responsible for scanning and monitoring the peripheral Bluetooth 4.0 broadcast messages and playing the broadcast messages carrying LBS passwords; the password updating unit is in a software form, is connected to the LBS server by using network connection (such as WIFI, Ethernet, Bluetooth and the like) of POS, and acquires an updated LBS password from the LBS server periodically; the positioning unit is in a software form and is responsible for extracting the monitored Bluetooth 4.0 broadcast from the Bluetooth module unit, extracting the password updating unit and the MAC address close to the same-network Bluetooth POS, and uploading positioning identification information to the LBS server for identifying whether to transfer by utilizing the network connection of the POS during financial transaction.
In the Bluetooth POS node, a Bluetooth module unit is in a hardware form, is an originally carried Bluetooth module, and is responsible for scanning and monitoring the peripheral Bluetooth 4.0 broadcast messages and playing the broadcast messages carrying LBS passwords; the positioning unit is in a software form and is responsible for extracting monitored Bluetooth 4.0 broadcast from the Bluetooth module unit, extracting the password updating unit and the MAC address close to the same-network Bluetooth POS, connecting to the LBS server by utilizing network connection (such as WIFI, Ethernet, Bluetooth and the like) of the POS during financial transaction, and uploading positioning identification information to the LBS server for identifying whether to transfer.
And the LBS server is responsible for updating and issuing an LBS password to the Bluetooth POSAP and judging whether the positioning identification information reported by the positioning unit of the Bluetooth POS node is a legal position.
The work of the invention is divided into two types, namely the LBS password updating process and the transaction process.
The LBS password updating process is shown in FIGS. 2 and 3; FIG. 2 is a Bluetooth POS networking topology diagram; fig. 3 is a flow chart of LBS password update. The specific process is as follows:
1) the LBS server sends a current LBS password K (j +1) to a Bluetooth POSAP of a Bluetooth MESH network NETi through a network (connected by Ethernet, WIFI, Bluetooth and the like);
2) after the Bluetooth POSAP obtains K (j +1), comparing whether the current password Kcur is equal to K (j +1) or not and whether the previous password Kprev is equal to K (j +1) or not;
3) if one of the two is equal to the other, the step 11) is carried out; otherwise, entering step 4);
4) kprev to Kcur, Kcur to K (j + 1);
5) updating broadcast by using Bluetooth POSAP, and carrying out Bluetooth 4.0 broadcast on K (j + 1);
6) the Bluetooth POS node scans and monitors Bluetooth 4.0 broadcast, and filters out an LBS password K (j + 1);
7) comparing whether the current password Kcur is equal to K (j +1) and whether the last password Kprev is equal to K (j +1), and if one of the current password Kcur and the last password Kprev is equal to K (j +1), entering a step 11; otherwise, entering step 8);
8) kprev to Kcur, Kcur to K (j + 1);
9) updating broadcast by the Bluetooth POS node, and carrying out Bluetooth 4.0 broadcast on K (j + 1);
10) the other Bluetooth nodes repeat the processes from the step 6) to the step 9);
11) LBS password updating is finished;
and the update LBS location identification process is shown in fig. 4. The specific process is as follows:
1) if the point distribution is carried out for the first time, entering the step 2); otherwise, entering step 6);
2) the Bluetooth POS scans and monitors Bluetooth 4.0 broadcast, and extracts LBS passwords Ki and network IDNETi;
3) sending a network access request consisting of information such as Ki, NETi, a local Bluetooth MAC address and a scanned MAC address of the Bluetooth POS in the NETi network to an LBS server through a network connection of the Bluetooth POS;
4) the LBS server processes the network access request and gives a response whether to approve network access;
5) the Bluetooth POS receives the response and finishes registering and accessing the network;
6) the Bluetooth POS scans and monitors Bluetooth 4.0 broadcast, and extracts LBS passwords Ki and network IDNETi;
7) sending an identification request consisting of Ki, NETi, the MAC address of the Bluetooth POS in the scanned NETi network and other information to an LBS server through the network connection of the Bluetooth POS;
8) the LBS server processes the identification request and gives a response whether the response is in a legal position or not;
9) the Bluetooth POS receives the identification response, and enters a step 11) when the Bluetooth POS is in a legal position, or enters a step 10);
10) the Bluetooth POS displays illegal position use and terminates the transaction flow; the flow ends.
11) The bluetooth POS displays legitimate location use, allowing subsequent transaction flow to continue.
The LBS bluetooth 4.0 broadcast packet format is shown in fig. 5.
In fig. 5, the start flag and the end flag are respectively fixed 2 bytes, and are used to identify that the broadcast packet is the LBS bluetooth 4.0 broadcast packet format;
the network ID is the ID number of the Bluetooth MESH network added by the Bluetooth POS, and the length is 4 bytes;
the operation code is an operation executed by the broadcast packet, can be used for indicating an operation of updating the LBS password and the like, and has the length of 1 byte;
the data length N is bytes and is used for describing the effective data length of a subsequent data segment;
the data segment is used for storing the data part corresponding to the operation code, and if the LBS password is updated, the data segment is used for storing the latest LBS password.
If the current Bluetooth POS is the Bluetooth POS which is distributed for the first time, the broadcast is monitored through Bluetooth 4.0, the broadcast content of the adjacent in-network Bluetooth POS is extracted, and the network ID, the LBS password and the monitored Bluetooth MAC address of the Bluetooth POS which sends the broadcast packet are obtained.
The Bluetooth POS of other stations are about to join the Bluetooth network, and the network ID, the LBS password, the local Bluetooth MAC and the monitored MAC address of the adjacent in-network Bluetooth POS which is broadcasting are taken as network access requests, and the network access requests are sent to the LBS server through the network connection of the Bluetooth POS.
The LBS server identifies whether the MAC address of the POS in the network is reported to belong to the network ID in the network access request, and whether the reported LBS password is the LBS password currently used by the network of the network ID. If the Bluetooth POS passes the verification, adding the Bluetooth MAC address of the Bluetooth POS reporting the network access request into an in-network node MAC address database of the network, and responding to an approved network access request; otherwise, refusing the network access request.
Before transaction, the Bluetooth POS sends an LBS authentication request to an LBS server through a self network, and the authentication request is basically the same as an access request and comprises a network ID, an LBS password, a local Bluetooth MAC and a monitored MAC address of an adjacent in-network Bluetooth POS which is broadcasting.
The LBS server identifies whether the MAC address of the adjacent in-network POS and the Bluetooth MAC address of the local machine belong to the network ID or not in the network access request, and whether the reported LBS password is the LBS password currently used by the network of the network ID or not. If the verification is passed, responding to the authentication request as a legal position; otherwise, the response is an illegal location.
When updating LBS password Kj +1, it needs to be compared with the currently used password Kcur and the previously used password Kprev in order to avoid the following situations:
the machine updates the current password Kcur to Kj +1 and the previous password Kprv to Kj, and because the position distance of a certain nearby Bluetooth POS is a little far away, a new broadcast packet is not received, and the machine broadcasts by adopting the old LBS password Kj. At this time, after the LBS password Kj broadcasted by the adjacent Bluetooth POS is scanned, the LBS password Kj is compared with Kcur and Kprev, if the LBS password Kj is found to be consistent with Kprev, the broadcast is considered as an overtime invalid password, and the local machine Kcur cannot be updated to the Kj by mistake.
In conclusion, the invention realizes Bluetooth 4.0 broadcast relay updating LBS password, and breaks through the regional limitation; using the scanned MAC address of the adjacent same-network Bluetooth equipment and the LBS password updated in real time as a judgment basis for judging whether to move the Bluetooth equipment;
therefore, the present invention can be applied to bluetooth POS currently used in large scale, and is limited to cost reasons, and such a type of POS is often not equipped with 2/3G, GPS or PSTNMODEM or other modules.
In addition, the invention has more accurate positioning, adopts the MAC address close to the Bluetooth POS in the space position category (the Bluetooth MAC address is unique), and combines the LBS password updated in real time, thereby being capable of accurately obtaining the position identification.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.
Claims (10)
1. A networking method for preventing Bluetooth POS machine movement is characterized by comprising the following steps:
s11: the LBS server sends a dynamic LBS password to the Bluetooth POS router through the network;
s12: after the Bluetooth POS router acquires the dynamic LBS password, the Bluetooth POS router broadcasts the dynamic LBS password to the outside;
s13: and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password.
2. The bluetooth POS anti-relocation networking method according to claim 1, wherein in step S12, after the bluetooth POS router obtains the dynamic LBS password, the method further comprises:
s120: judging whether the current stored password is equal to the dynamic LBS password or not, or whether the last stored password is equal to the dynamic LBS password or not;
if yes, go to step S121: the Bluetooth POS router does not update the dynamic LBS password and broadcasts the updated dynamic LBS password to the outside;
otherwise, step S122 is executed: and updating the last stored password to the current stored password, updating the current stored password to the dynamic LBS password, and broadcasting the updated dynamic LBS password to the outside.
3. The networking method for preventing the Bluetooth POS machine from moving according to claim 2, wherein when a transaction is carried out, the Bluetooth POS node sends an authentication request to the LBS server, wherein the authentication request comprises a local MAC address, the dynamic LBS password and MAC addresses of other Bluetooth POS nodes in the network;
the LBS server processes the identification request and judges whether the Bluetooth POS node is in a legal position;
if the Bluetooth POS node is in an illegal position, terminating the subsequent transaction process;
and if the Bluetooth POS node is in a legal position, continuing the subsequent transaction process.
4. The networking method of claim 1, wherein when a bluetooth POS node joins in, the bluetooth POS node scans and monitors a broadcast, extracts a dynamic LBS password and a network ID, and sends a network request to an LBS server, the network request including the LBS password, the network ID, a bluetooth MAC address of the local device and a MAC address of other scanned bluetooth POS nodes in the network;
the LBS server processes the network access request and gives a response whether to approve network access;
and the Bluetooth POS node receives the network access response and finishes registering and network access.
5. The utility model provides a bluetooth POS prevents networking systems that moves machine which characterized in that includes: LBS server, Bluetooth POS router and Bluetooth POS node; wherein,
the LBS server sends a dynamic LBS password to the Bluetooth POS router through the network;
after the Bluetooth POS router acquires the dynamic LBS password, the Bluetooth POS router broadcasts the dynamic LBS password to the outside;
and after the Bluetooth POS node scans and monitors the broadcast, extracting the dynamic LBS password and continuously broadcasting the dynamic LBS password.
6. The bluetooth POS machine-shift prevention networking system according to claim 5, wherein after the bluetooth POS router acquires the dynamic LBS password, it determines whether the current stored password is equal to the dynamic LBS password or whether the previous stored password is equal to the dynamic LBS password;
if yes, the Bluetooth POS router does not update the dynamic LBS password and broadcasts the updated dynamic LBS password to the outside;
otherwise, the last stored password is updated to the current stored password, the current stored password is updated to the dynamic LBS password, and the updated dynamic LBS password is broadcasted externally.
7. The bluetooth POS relocation prevention networking system according to claim 5, wherein at the time of transaction, the bluetooth POS node sends an authentication request to the LBS server, the authentication request including a local MAC address, the dynamic LBS password, and MAC addresses of other bluetooth POS nodes in the network;
the LBS server processes the identification request and judges whether the Bluetooth POS node is in a legal position;
if the Bluetooth POS node is in an illegal position, terminating the subsequent transaction process;
and if the Bluetooth POS node is in a legal position, continuing the subsequent transaction process.
8. The Bluetooth POS machine-movement-prevention networking system according to claim 5,
when a Bluetooth POS node is added, the Bluetooth POS node scans and monitors broadcast, extracts a dynamic LBS password and a network ID, and sends a network access request to an LBS server, wherein the network access request comprises the LBS password, the network ID, a local Bluetooth MAC address and the scanned MAC addresses of other Bluetooth POS nodes in the network; the LBS server processes the network access request and gives a response whether to approve network access;
and the Bluetooth POS node receives the network access response and finishes registering and network access.
9. The Bluetooth POS machine-movement-prevention networking system according to any one of claims 5 to 8,
the bluetooth POS router includes: the device comprises a Bluetooth module unit, a password updating unit and a positioning unit;
the bluetooth POS node includes: bluetooth module unit and positioning unit.
10. The Bluetooth POS machine-movement-prevention networking system according to claim 9,
the Bluetooth module unit is used for scanning and monitoring the Bluetooth broadcast messages around and playing the broadcast messages carrying the LBS dynamic passwords;
the password updating unit is used for connecting to the LBS server by utilizing a POS network and acquiring an updated LBS password from the LBS server periodically;
the positioning unit extracts the monitored Bluetooth broadcast from the Bluetooth module unit and extracts the password updating unit and the MAC address of the adjacent same-network Bluetooth POS; when in transaction, the network connection of the POS is utilized to report the positioning identification information to the LBS server for identifying whether to move the mobile phone or not;
and the LBS server is used for updating and transmitting the dynamic LBS password to the Bluetooth POS router and judging whether the positioning identification information reported by the positioning unit of the Bluetooth POS node is a legal position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511023118.7A CN105610835B (en) | 2015-12-30 | 2015-12-30 | The network-building method and system of the anti-telephone-moving of Bluetooth POS |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511023118.7A CN105610835B (en) | 2015-12-30 | 2015-12-30 | The network-building method and system of the anti-telephone-moving of Bluetooth POS |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105610835A true CN105610835A (en) | 2016-05-25 |
CN105610835B CN105610835B (en) | 2018-11-13 |
Family
ID=55990373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511023118.7A Active CN105610835B (en) | 2015-12-30 | 2015-12-30 | The network-building method and system of the anti-telephone-moving of Bluetooth POS |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105610835B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304739A (en) * | 2017-12-28 | 2018-07-20 | ***股份有限公司 | POS terminal transfer method for detecting and POS terminal transfer detecting system |
CN109600735A (en) * | 2019-01-14 | 2019-04-09 | 广东嘉泰智能技术有限公司 | The network-building method and starting configuration equipment of wireless mesh network based on Bluetooth communication |
CN111144865A (en) * | 2020-04-02 | 2020-05-12 | 支付宝(杭州)信息技术有限公司 | Information processing method, device, equipment and storage medium |
CN113903110A (en) * | 2020-07-06 | 2022-01-07 | 上海庆科信息技术有限公司 | Access control system |
CN116092244A (en) * | 2023-01-12 | 2023-05-09 | 厦门大学 | POS machine supervisory systems based on 5G signal |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011057106A2 (en) * | 2009-11-06 | 2011-05-12 | Line Monkey, Inc. | Systems and methods to implement point of sale (pos) terminals, process orders and manage order fulfillment |
CN102346941A (en) * | 2011-05-23 | 2012-02-08 | 北京播思软件技术有限公司 | Financial transaction detection and prompting system and implementation method thereof |
CN102497645A (en) * | 2011-10-28 | 2012-06-13 | 深圳市新国都技术股份有限公司 | Method for preventing illegal relocation and communication transmission and device utilizing same |
CN102737452A (en) * | 2012-06-28 | 2012-10-17 | 福建联迪商用设备有限公司 | Terminal mobile machine monitoring method and system |
CN102739674A (en) * | 2012-06-28 | 2012-10-17 | 福建联迪商用设备有限公司 | Method, device and system for monitoring moving condition of point of sale (POS) terminal |
CN102750790A (en) * | 2012-06-27 | 2012-10-24 | 福建联迪商用设备有限公司 | Wireless POS (point of sale) location monitoring method |
CN102819798A (en) * | 2012-07-30 | 2012-12-12 | 林少雄 | Method and system for preventing POS (point of sale) machine from being moved to other places to carry out transactions |
CN102831737A (en) * | 2012-08-08 | 2012-12-19 | 福建升腾资讯有限公司 | Method for monitoring illegal relocation of POS (Point-of-Sale) terminal |
CN102855568A (en) * | 2012-08-14 | 2013-01-02 | 广东汇卡商务服务有限公司 | Payment system and method capable of preventing a point of sale (POS) terminal from being illegally relocated |
CN102982626A (en) * | 2012-11-30 | 2013-03-20 | 北京随行付信息技术有限公司 | POS terminal transfer alarming method and device |
CN103700192A (en) * | 2012-09-27 | 2014-04-02 | ***股份有限公司 | Mobile machine monitoring system of mobile POS (point of sale) terminal and mobile machine monitoring method of mobile POS terminal |
-
2015
- 2015-12-30 CN CN201511023118.7A patent/CN105610835B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011057106A2 (en) * | 2009-11-06 | 2011-05-12 | Line Monkey, Inc. | Systems and methods to implement point of sale (pos) terminals, process orders and manage order fulfillment |
CN102346941A (en) * | 2011-05-23 | 2012-02-08 | 北京播思软件技术有限公司 | Financial transaction detection and prompting system and implementation method thereof |
CN102497645A (en) * | 2011-10-28 | 2012-06-13 | 深圳市新国都技术股份有限公司 | Method for preventing illegal relocation and communication transmission and device utilizing same |
CN102750790A (en) * | 2012-06-27 | 2012-10-24 | 福建联迪商用设备有限公司 | Wireless POS (point of sale) location monitoring method |
CN102737452A (en) * | 2012-06-28 | 2012-10-17 | 福建联迪商用设备有限公司 | Terminal mobile machine monitoring method and system |
CN102739674A (en) * | 2012-06-28 | 2012-10-17 | 福建联迪商用设备有限公司 | Method, device and system for monitoring moving condition of point of sale (POS) terminal |
CN102819798A (en) * | 2012-07-30 | 2012-12-12 | 林少雄 | Method and system for preventing POS (point of sale) machine from being moved to other places to carry out transactions |
CN102831737A (en) * | 2012-08-08 | 2012-12-19 | 福建升腾资讯有限公司 | Method for monitoring illegal relocation of POS (Point-of-Sale) terminal |
CN102855568A (en) * | 2012-08-14 | 2013-01-02 | 广东汇卡商务服务有限公司 | Payment system and method capable of preventing a point of sale (POS) terminal from being illegally relocated |
CN103700192A (en) * | 2012-09-27 | 2014-04-02 | ***股份有限公司 | Mobile machine monitoring system of mobile POS (point of sale) terminal and mobile machine monitoring method of mobile POS terminal |
CN102982626A (en) * | 2012-11-30 | 2013-03-20 | 北京随行付信息技术有限公司 | POS terminal transfer alarming method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304739A (en) * | 2017-12-28 | 2018-07-20 | ***股份有限公司 | POS terminal transfer method for detecting and POS terminal transfer detecting system |
CN108304739B (en) * | 2017-12-28 | 2021-08-10 | ***股份有限公司 | POS terminal mobile machine detection method and POS terminal mobile machine detection system |
CN109600735A (en) * | 2019-01-14 | 2019-04-09 | 广东嘉泰智能技术有限公司 | The network-building method and starting configuration equipment of wireless mesh network based on Bluetooth communication |
CN111144865A (en) * | 2020-04-02 | 2020-05-12 | 支付宝(杭州)信息技术有限公司 | Information processing method, device, equipment and storage medium |
CN111144865B (en) * | 2020-04-02 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Information processing method, device, equipment and storage medium |
CN113903110A (en) * | 2020-07-06 | 2022-01-07 | 上海庆科信息技术有限公司 | Access control system |
CN116092244A (en) * | 2023-01-12 | 2023-05-09 | 厦门大学 | POS machine supervisory systems based on 5G signal |
Also Published As
Publication number | Publication date |
---|---|
CN105610835B (en) | 2018-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10354253B2 (en) | System and method for identity protection using mobile device signaling network derived location pattern recognition | |
CN105610835B (en) | The network-building method and system of the anti-telephone-moving of Bluetooth POS | |
CN102982626B (en) | A kind of method of POS terminal transfer alarm and device | |
US20130185166A1 (en) | Cardholder mobile device positioning system and method | |
US8014754B2 (en) | Method and system for location-dependent billing for services | |
CN103700192B (en) | The telephone-moving monitoring system of Mobile POS Terminal and the telephone-moving method for supervising of Mobile POS Terminal | |
US20130030934A1 (en) | System and method for credit card transaction approval based on mobile subscriber terminal location | |
CN101529944B (en) | User-customized mobility method and system in a mobile communication system | |
US9037489B2 (en) | Method and system for collecting access point information in linkage with mobile card payment system, and mobile communication terminal therefor | |
CN104219671A (en) | Base station detection method and device and server | |
WO2016180185A1 (en) | Method and apparatus for determining position of point of sale (pos) | |
US10007902B2 (en) | Communications network, computer system, computer-implemented method, and computer program product for providing a femtocell-based infrastructure for mobile electronic payment | |
CN104363284A (en) | Reservation providing method of mobile application and service base station thereof | |
CN108271156B (en) | Method and device for identifying pseudo base station | |
CN202929762U (en) | Locator judging relocation of POS machine and POS machine | |
CN102819919B (en) | A kind of method, steady arm and machine for punching the card judging machine for punching the card telephone-moving | |
US20240037549A1 (en) | Method for authenticating internet users | |
JP2011039588A (en) | Theft monitoring system for electronic money reload device and electronic money reload device | |
IES85924Y1 (en) | Cardholder mobile device positioning system and method | |
IE20110326U1 (en) | Cardholder mobile device positioning system and method | |
KR20150127784A (en) | Method And Apparatus for Discriminating Entry Specific Zone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |