CN112235766A - POS terminal positioning and data transmission method based on Bluetooth BENP system - Google Patents

POS terminal positioning and data transmission method based on Bluetooth BENP system Download PDF

Info

Publication number
CN112235766A
CN112235766A CN202010939165.0A CN202010939165A CN112235766A CN 112235766 A CN112235766 A CN 112235766A CN 202010939165 A CN202010939165 A CN 202010939165A CN 112235766 A CN112235766 A CN 112235766A
Authority
CN
China
Prior art keywords
data
pos terminal
background server
module
bluetooth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010939165.0A
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.)
Yizhao Micro Electronics Hangzhou Co Ltd
Original Assignee
Yizhao Micro Electronics Hangzhou Co Ltd
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 Yizhao Micro Electronics Hangzhou Co Ltd filed Critical Yizhao Micro Electronics Hangzhou Co Ltd
Priority to CN202010939165.0A priority Critical patent/CN112235766A/en
Publication of CN112235766A publication Critical patent/CN112235766A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/0036Checkout procedures
    • G07G1/0045Checkout procedures with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The invention provides a POS terminal positioning and data transmission method based on a Bluetooth BENP system, wherein the Bluetooth BENP system comprises a POS terminal, a mobile device end and a background server, the POS terminal comprises a data input component, an MCU (microprogrammed control Unit) security chip, a POS terminal Bluetooth module, a display screen and a positioning module, the mobile device end comprises a mobile device end Bluetooth module and a mobile device end network module, and the background server comprises a background server Bluetooth module, a background server network module, a data verification module and a data processing module. Based on the system, the invention also provides a POS terminal positioning and data transmission method based on the Bluetooth BENP system.

Description

POS terminal positioning and data transmission method based on Bluetooth BENP system
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a POS terminal positioning and data transmission method based on a Bluetooth BENP system.
Background
In the prior art, a traditional POS terminal acquires mobile phone positioning data by connecting to a mobile phone app, and transmits the mobile phone positioning data to a POS terminal background server through the mobile phone app. 2) POS terminal product embeds communication module includes: wifi, 2G/3G/4G, cat1, NBIoT and the like, through data communication with the network base station, the position information of the base station is obtained, and then the position information is reported and transmitted to the server side of the POS.
The defects of the prior art are as follows: 1) the App mode has complex operation steps, requires user authorization, and requires the mutual switching and use of the mobile phone and the pos, which is troublesome; 2) the positioning function is realized by a built-in network module mode, and the cost of the network module is high.
Disclosure of Invention
The invention aims to solve the technical problems and provides a POS terminal positioning and data transmission method based on a Bluetooth BENP system.
In order to achieve the purpose, the invention adopts the following technical scheme:
the Bluetooth BENP system based POS terminal positioning and data transmission method comprises a POS terminal, a mobile device end and a background server, wherein the POS terminal comprises a data input assembly, an MCU (microprogrammed control unit) security chip, a POS terminal Bluetooth module, a display screen and a positioning module;
the data input component acquires external data by the following method: recognizing the two-dimensional code through a camera, reading a payment card supporting an NFC function through an NFC module, reading a magnetic stripe payment card through a magnetic stripe card reading module, and reading a payment card supporting an IC function through an IC card reading module; the MCU safety chip is used for being connected with the data reading module to receive and process the acquired external data, driving the display screen and transmitting the data to the display screen for confirmation by a user, and the MCU safety chip encrypts the data to be transmitted and transmits the data to the mobile equipment end Bluetooth module through the POS terminal Bluetooth module or transmits the data to the background server through the network module of the mobile equipment end; the POS terminal Bluetooth module is connected with the mobile equipment terminal Bluetooth module through BNEP, and sends data transmitted by the MCU security chip to the background server and transmits data returned by the background server to the MCU security chip for processing in a BNEP protocol mode, or is connected with Bluetooth through a mobile phone App to realize data transparent transmission; the display screen is used for displaying data information of the transaction, allowing a user to compare the confirmation information and simultaneously using the data information of the transaction for signature of the transaction; the positioning module is used for acquiring the current position information data of the POS terminal;
the mobile equipment end Bluetooth module is connected with the POS terminal Bluetooth module in a BNEP mode, the POS terminal realizes data transmission through the mobile equipment end Bluetooth module and the mobile equipment end network module, and network access is realized through a network of the mobile equipment end and a background server;
the background server network module is connected with a network, and is used for receiving data transmitted by the mobile equipment end through the network and transmitting the data to the mobile equipment end through the network; the data checking module is responsible for verifying the received data and transmitting the data to the data processing module; the data processing module is used for processing the received data information and sending data to the mobile equipment end through the background server network module according to requirements;
the POS terminal positioning and data transmission method comprises the following steps: the POS terminal is in butt joint with a background server of a payment manufacturer by a Bluetooth BNEP mode through a POS terminal Bluetooth module and by utilizing a network of a mobile equipment end, so that interaction of data streams between the POS terminal and the background server is realized; when a user needs to pay for a transaction, the background server acquires the position information of the POS terminal for verification, and the POS terminal reads the position information data reported by the positioning module and transmits the position information data to the background server through Bluetooth BNEP.
Preferably, the method further comprises a GPS drift processing method, wherein although the POS terminal is in a relatively stationary state due to the state of the user in practical application, when the POS terminal is located on a vehicle, a drift situation of the GPS position may occur, and the GPS drift processing method comprises the following steps:
a1. when the detected state is static, the forced speed is 0;
a2. when the speed is 0, the forced direction is 0;
a3. when the speed value in the data is 0, the longitude and latitude on the map are not updated;
a4. whether slow movement exists is judged by comparing the absolute value of the longitude and latitude difference of the last positioning data, and time data is included when the absolute value of the longitude and latitude difference of the last positioning data is compared.
Preferably, the method further comprises a TLS/SSL dynamic encryption method, wherein TLS/SSL encryption is adopted in the TCP/IP protocol communication process used by bluetooth BNEP based on the security requirement of the payment product, so as to ensure the data security during the user transaction process, and the TLS/SSL dynamic encryption method comprises the following steps:
the method comprises the steps that a POS terminal sends a client hello message to a background server to send a handshake request, wherein the message comprises a TLS version and a password combination supported by the POS terminal for the background server to select, and a client random character string is also arranged;
b2. the background server sends a 'server hello' message to respond to the POS terminal, wherein the message comprises a digital certificate, a password combination selected by the background server and a 'server random' random character string;
b3, the POS terminal verifies the certificate sent by the background server to ensure the legal identity of the opposite side;
the POS terminal sends another random character string to the background server, namely a premaster secret key, wherein the character string is encrypted by the public key of the background server and can be decrypted only by the corresponding private key;
b5. the background server decrypts the "premaster secret" using the private key;
the POS terminal and the background server use client random, server random and premaster secret, and generate the same shared KEY KEY through the same algorithm;
the POS terminal sends a 'finished' signal encrypted by the shared KEY KEY;
b8. the background server sends a 'finished' signal encrypted by a shared KEY KEY;
b9. after the handshake is completed, the two parties use symmetric encryption to carry out secure communication;
after the TLS/SSL handshake is completed, the POS terminal and the background server enter into encrypted communication, and perform network data exchange using the normal HTTP protocol, but encrypt the content using the "session key".
Preferably, the step b3 specifically includes the following steps:
b31. checking the digital signature;
b32. verifying the certificate chain;
b33. checking the validity period of the certificate;
b34. the revocation status of the certificate is checked, and revocation represents that the certificate has expired.
Preferably, the method further comprises a display screen signature method, the signature algorithm is realized by using a DSA algorithm based on requirements on the security aspect and the application of the signature, the security of the DSA algorithm is based on the difficulty of dissociation logarithm of dispersion, and the signature standard has greater compatibility and applicability, and the display screen signature method comprises the following steps:
c1. encrypting the transmission file by using SHA coding to generate a 128-bit digital digest;
c2. the sender encrypts the abstract again by using the own private key to form a digital signature;
c3. simultaneously transmitting the original text and the encrypted abstract to the other side;
c4. the receiver decrypts the abstract by using the public key of the sender, and encrypts the received file by using the SHA code to generate the same abstract;
c5. and comparing the decrypted digest with the digest generated by re-encrypting the received file at the receiver, wherein if the decrypted digest is consistent with the digest generated by re-encrypting the received file at the receiver, the information is not damaged or tampered in the transmission process, and otherwise, the information loses the security and confidentiality.
Preferably, the connection network of the mobile device side network module and the background server network module is 3G, 4G, 5G, WIFI, cat1 or NBIoT.
After the technical scheme is adopted, the invention has the following advantages:
under the condition that the POS terminal is not provided with a built-in network communication module and is not suitable for mobile app, or equipment which cannot acquire the position information of the POS terminal can acquire the position information of the POS terminal in a mode that a positioning module is built in the POS terminal. Then, through the Bluetooth BNEP protocol, the position data of the POS terminal can be transmitted to the background server when the POS terminal is communicated with the background server. The method can realize that the POS terminal acquires and transmits the real-time position data of the POS terminal on the POS terminal which does not support positioning.
Drawings
FIG. 1 is a diagram of data transmission relationship of a Bluetooth BENP system;
FIG. 2 is a schematic diagram of a Bluetooth BENP system;
FIG. 3 is a flow chart of the display screen signature algorithm.
Detailed Description
The present invention will be described in further detail with reference to the following drawings and specific examples.
The invention provides a POS terminal positioning and data transmission method based on a Bluetooth BENP system, as shown in figure 1-2, the Bluetooth BENP system comprises a POS terminal, a mobile device end and a background server, the POS terminal comprises a data input component, an MCU safety chip, a POS terminal Bluetooth module, a display screen and a positioning module, the mobile device end comprises a mobile device end Bluetooth module and a mobile device end network module, and the background server comprises a background server Bluetooth module, a background server network module, a data verification module and a data processing module;
the data input component acquires external data by the following method: recognizing the two-dimensional code through a camera, reading a payment card supporting an NFC function through an NFC module, reading a magnetic stripe payment card through a magnetic stripe card reading module, and reading a payment card supporting an IC function through an IC card reading module; the MCU safety chip is used for being connected with the data reading module to receive and process the acquired external data, driving the display screen and transmitting the data to the display screen for confirmation by a user, and the MCU safety chip encrypts the data to be transmitted and transmits the data to the mobile equipment end Bluetooth module through the POS terminal Bluetooth module or transmits the data to the background server through the network module of the mobile equipment end; the POS terminal Bluetooth module is connected with the mobile equipment terminal Bluetooth module through BNEP, and sends data transmitted by the MCU security chip to the background server and transmits data returned by the background server to the MCU security chip for processing in a BNEP protocol mode, or is connected with Bluetooth through a mobile phone App to realize data transparent transmission; the display screen is used for displaying data information of the transaction, allowing a user to compare the confirmation information and simultaneously using the data information of the transaction for signature of the transaction; the positioning module is used for acquiring the current position information data of the POS terminal;
the mobile equipment end Bluetooth module is connected with the POS terminal Bluetooth module in a BNEP mode, the POS terminal realizes data transmission through the mobile equipment end Bluetooth module and the mobile equipment end network module, and network access is realized through a network of the mobile equipment end and a background server;
the background server network module is connected with a network, and is used for receiving data transmitted by the mobile equipment end through the network and transmitting the data to the mobile equipment end through the network; the data checking module is responsible for verifying the received data and transmitting the data to the data processing module; the data processing module is used for processing the received data information and sending data to the mobile equipment end through the background server network module according to requirements;
the POS terminal positioning and data transmission method comprises the following steps: the POS terminal is in butt joint with a background server of a payment manufacturer by a Bluetooth BNEP mode through a POS terminal Bluetooth module and by utilizing a network of a mobile equipment end, so that interaction of data streams between the POS terminal and the background server is realized; when a user needs to pay for a transaction, the background server acquires the position information of the POS terminal for verification, and the POS terminal reads the position information data reported by the positioning module and transmits the position information data to the background server through Bluetooth BNEP.
The invention also comprises a GPS drift processing method, wherein the drift condition of the GPS position can occur when the POS terminal is positioned on a vehicle although the POS terminal is in a relatively static state due to the state of a user in practical application, and the GPS drift processing method comprises the following steps:
a1. when the detected state is static, the forced speed is 0;
a2. when the speed is 0, the forced direction is 0;
a3. when the speed value in the data is 0, the longitude and latitude on the map are not updated;
a4. whether slow movement exists is judged by comparing the absolute value of the longitude and latitude difference of the last positioning data, and time data is included when the absolute value of the longitude and latitude difference of the last positioning data is compared.
The specific algorithm is as follows: class test { private location point preLocation, < private List > nowLocation, < private Long Pretime; (List < LocatoPojo > not, locationPojo pre) { this. nowLocation = not, < this. President = pre;. double distance = 0;. point distance of// two points coordinate point tmp = 40;. accuracy ascending initial threshold (fixed) int accuracythresholdUp = tmp;. accuracy ascending threshold// accuracy ascending threshold Threshold = 30;. accuracy descending threshold/. stop = 0;. In/static state coordinate count/down = 0;. The/coordinate count outside the fence M = 0. The accuracy count/zero count (/ zero count) 0; count of coordinates in the fence M = 0; count of coordinates outside the fence M = 0; count of GPS data in the fence M, if there is no GPS data exceeding one time count per time, then the GPS data of this time is returned directly.
**/
if (this.preLocation() == null){
this.preLocation(this.nowLocation.get(0));
this. PreTime = this. Prelocation (). getAddTime (),/time of last recording
return true;
}
LocationPojo b = null;
V/cycle count (cycle interval is 1 second for each positioning, calculation after 10 positioning data are obtained)
Using 10 current GPS data and the last GPS data to calculate data.
for (LocationPojo pojo:this.nowLocation){
if (b == null){
b = pojo;
}
If not, changing the upper and lower values of the threshold value
if (pojo.getProvider().equals(GPS.GPS)) {
Accuracy ThresholdUp = (int) (tmp 1.5);/network location is commonly over 40, so the threshold of accuracy needs to be changed.
}else{
Accuracy ThresholdUp = tmp// because it is cyclic, it needs to be reassigned each time.
}
if (pojo.getSpeed() <= 0 || (pojo.getSpeed() > 0 && pojo.getAccuracy() > AccuracyThresholdDown)){
stopCount++;
}
// measuring and calculating distance
distance = CommUtils.getLocationDistance(pojo.getLatitude(),pojo.getLongitude(),preLocation.getLatitude(),preLocation.getLongitude());
// optimizing speed accuracy
if(pojo.getSpeed() > 0 && distance > 0){
3.6 = speed (KM) distance/time
// float speed = CommUtils.fromatNumber(distance / ((pojo.getAddTime() - this.preTime) / 1000) * 3.6,null);
// pojo.setSpeed(speed); pojo.setSpeed(CommUtils.formatNumber(pojo.getSpeed().doubleValue(),"#0.00").floatValue());
}
// latlnt electronic fence 30-100m
// out of fence (provided that lat or lnt matches the last coordinate more than [100m ] and accuracy is within 30m, condition holds)
if (distance > 100){
notCheckUpCount++;
// high accuracy (GPS data should be reliable)
if(pojo.getAccuracy() < AccuracyThresholdUp){
rectCountUp++;
If the last GPS accuracy was greater than this, then the number of times GPS data is valid.
if(pojo.getAccuracy() <= preLocation.getAccuracy()){
b = pojo;
}
}
}else if (distance > 30 && pojo.getAccuracy() < AccuracyThresholdUp){
If inside the electronic fence and the accuracy is within 30m, the condition holds
rectCountDown++;
if(pojo.getAccuracy() <= preLocation.getAccuracy()){
b = pojo;
}
}
}
// a there must be a velocity value in the 30M fence and beyond the small fence count > =5, the condition is moving (30M diameter square)
// a1 data for 8 bars in a 100m fence are exceeded, and the condition holds regardless of speed
double a = getNowLocation().size() * 0.5;
double a1 = getNowLocation().size() * 0.8;
if ((stopCount <= 5 && rectCountDown >= a) || rectCountUp >= a1 || (notCheckUpCount == getNowLocation().size() && rectCountUp >= a) || (stopCount >= a && rectCountUp >= a)){
this.setPreLocation(b);
this.setPreTime(b.getAddTime());
return true;
}
return false;
}
}
The invention also includes TLS/SSL dynamic encryption method, based on the safety requirement of the payment product, in the process of TCP/IP protocol communication used by Bluetooth BNEP, TLS/SSL encryption is adopted to ensure the data safety in the user transaction process, the TLS/SSL dynamic encryption method includes the following steps:
the method comprises the steps that a POS terminal sends a client hello message to a background server to send a handshake request, wherein the message comprises a TLS version and a password combination supported by the POS terminal for the background server to select, and a client random character string is also arranged;
b2. the background server sends a 'server hello' message to respond to the POS terminal, wherein the message comprises a digital certificate, a password combination selected by the background server and a 'server random' random character string;
b3, the POS terminal verifies the certificate sent by the background server to ensure the legal identity of the opposite side;
the POS terminal sends another random character string to the background server, namely a premaster secret key, wherein the character string is encrypted by the public key of the background server and can be decrypted only by the corresponding private key;
b5. the background server decrypts the "premaster secret" using the private key;
the POS terminal and the background server use client random, server random and premaster secret, and generate the same shared KEY KEY through the same algorithm;
the POS terminal sends a 'finished' signal encrypted by the shared KEY KEY;
b8. the background server sends a 'finished' signal encrypted by a shared KEY KEY;
b9. after the handshake is completed, the two parties use symmetric encryption to carry out secure communication;
after the TLS/SSL handshake is completed, the POS terminal and the background server enter into encrypted communication, and perform network data exchange using the normal HTTP protocol, but encrypt the content using the "session key".
In step b3, the method specifically comprises the following steps:
b31. checking the digital signature;
b32. verifying the certificate chain;
b33. checking the validity period of the certificate;
b34. the revocation status of the certificate is checked, and revocation represents that the certificate has expired.
As shown in fig. 3, the present invention further includes a display screen signature method, based on the requirements on the security of the signature and the application, the signature algorithm is implemented by using a DSA algorithm, the security of the DSA algorithm is based on the difficulty of dissociation logarithm of dispersion, such signature standards have greater compatibility and applicability, and the display screen signature method includes the following steps:
c1. encrypting the transmission file by using SHA coding to generate a 128-bit digital digest;
c2. the sender encrypts the abstract again by using the own private key to form a digital signature;
c3. simultaneously transmitting the original text and the encrypted abstract to the other side;
c4. the receiver decrypts the abstract by using the public key of the sender, and encrypts the received file by using the SHA code to generate the same abstract;
c5. and comparing the decrypted digest with the digest generated by re-encrypting the received file at the receiver, wherein if the decrypted digest is consistent with the digest generated by re-encrypting the received file at the receiver, the information is not damaged or tampered in the transmission process, and otherwise, the information loses the security and confidentiality.
DSA encryption algorithm signature verification process:
p: l prime numbers of bits length. L is a multiple of 64, ranging from 512 to 1024;
q: a prime factor of 160bits for p-1;
g: g = h ^ ((p-1)/q) mod p, h satisfies h < p-1, h ^ ((p-1)/q) mod p > 1;
x: x < q, x being a private key;
y: y = g ^ x mod p, (p, q, g, y) is a public key;
h (x): One-Way Hash function. SHA (secure Hash Algorithm) is selected from DSS.
p, q, g may be shared by a group of users,
the signature and verification protocol is as follows:
1.p generates a random number k, k < q;
2. p calculates r = (g ^ k mod P) mod q
s = ( k^(-1) (H(m) + xr)) mod q
The signature result is (m, r, s).
3. Calculating w = s ^ (-1) mod q at verification
u1 = ( H( m ) * w ) mod q
u2 = ( r * w ) mod q
v = (( g^u1 * y^u2 ) mod p ) mod q
If v = r, the signature is considered valid.
The connection network of the mobile device side network module and the background server network module is 3G, 4G, 5G, WIFI, cat1 or NBIoT.
The positioning module may be: and various module derivative products supporting the functions of the positioning system, such as GPS, Beidou, GNSS, Glonass, Galileo, GNSS and the like.
After the technical scheme is adopted, the invention has the following advantages:
under the condition that the POS terminal is not provided with a built-in network communication module and is not suitable for mobile app, or equipment which cannot acquire the position information of the POS terminal can acquire the position information of the POS terminal in a mode that a positioning module is built in the POS terminal. Then, through the Bluetooth BNEP protocol, the position data of the POS terminal can be transmitted to the background server when the POS terminal is communicated with the background server. The method can realize that the POS terminal acquires and transmits the real-time position data of the POS terminal on the POS terminal which does not support positioning.
Other embodiments of the present invention than the preferred embodiments described above will be apparent to those skilled in the art from the present invention, and various changes and modifications can be made therein without departing from the spirit of the present invention as defined in the appended claims.

Claims (6)

1. A POS terminal positioning and data transmission method based on a Bluetooth BENP system, which is characterized in that,
the Bluetooth BENP system comprises a POS terminal, a mobile device end and a background server, wherein the POS terminal comprises a data input component, an MCU (microprogrammed control unit) security chip, a POS terminal Bluetooth module, a display screen and a positioning module;
the data input component acquires external data by the following method: recognizing the two-dimensional code through a camera, reading a payment card supporting an NFC function through an NFC module, reading a magnetic stripe payment card through a magnetic stripe card reading module, and reading a payment card supporting an IC function through an IC card reading module; the MCU safety chip is used for being connected with the data reading module to receive and process the acquired external data, driving the display screen and transmitting the data to the display screen for confirmation by a user, and the MCU safety chip encrypts the data to be transmitted and transmits the data to the mobile equipment end Bluetooth module through the POS terminal Bluetooth module or transmits the data to the background server through the network module of the mobile equipment end; the POS terminal Bluetooth module is connected with the mobile equipment terminal Bluetooth module through BNEP, and sends data transmitted by the MCU security chip to the background server and transmits data returned by the background server to the MCU security chip for processing in a BNEP protocol mode, or is connected with Bluetooth through a mobile phone App to realize data transparent transmission; the display screen is used for displaying data information of the transaction, allowing a user to compare the confirmation information and simultaneously using the data information of the transaction for signature of the transaction; the positioning module is used for acquiring the current position information data of the POS terminal;
the mobile equipment end Bluetooth module is connected with the POS terminal Bluetooth module in a BNEP mode, the POS terminal realizes data transmission through the mobile equipment end Bluetooth module and the mobile equipment end network module, and network access is realized through a network of the mobile equipment end and a background server;
the background server network module is connected with a network, and is used for receiving data transmitted by the mobile equipment end through the network and transmitting the data to the mobile equipment end through the network; the data checking module is responsible for verifying the received data and transmitting the data to the data processing module; the data processing module is used for processing the received data information and sending data to the mobile equipment end through the background server network module according to requirements;
the POS terminal positioning and data transmission method comprises the following steps: the POS terminal is in butt joint with a background server of a payment manufacturer by a Bluetooth BNEP mode through a POS terminal Bluetooth module and by utilizing a network of a mobile equipment end, so that interaction of data streams between the POS terminal and the background server is realized; when a user needs to pay for a transaction, the background server acquires the position information of the POS terminal for verification, and the POS terminal reads the position information data reported by the positioning module and transmits the position information data to the background server through Bluetooth BNEP.
2. The method as claimed in claim 1, further comprising a GPS drift processing method, wherein the POS terminal is in a relatively static state due to the user status in practical application, but when the POS terminal is located on a vehicle, the GPS drift processing method may cause a GPS position drift, and the GPS drift processing method comprises the following steps:
a1. when the detected state is static, the forced speed is 0;
a2. when the speed is 0, the forced direction is 0;
a3. when the speed value in the data is 0, the longitude and latitude on the map are not updated;
a4. whether slow movement exists is judged by comparing the absolute value of the longitude and latitude difference of the last positioning data, and time data is included when the absolute value of the longitude and latitude difference of the last positioning data is compared.
3. The method for POS terminal location and data transmission based on Bluetooth BENP system as claimed in claim 1, further comprising TLS/SSL dynamic encryption method, wherein TLS/SSL encryption is used in the TCP/IP protocol communication process used by Bluetooth BNEP based on the security requirement of the payment product to ensure the data security in the user transaction process, the TLS/SSL dynamic encryption method comprises the following steps:
the method comprises the steps that a POS terminal sends a client hello message to a background server to send a handshake request, wherein the message comprises a TLS version and a password combination supported by the POS terminal for the background server to select, and a client random character string is also arranged;
b2. the background server sends a 'server hello' message to respond to the POS terminal, wherein the message comprises a digital certificate, a password combination selected by the background server and a 'server random' random character string;
b3, the POS terminal verifies the certificate sent by the background server to ensure the legal identity of the opposite side;
the POS terminal sends another random character string to the background server, namely a premaster secret key, wherein the character string is encrypted by the public key of the background server and can be decrypted only by the corresponding private key;
b5. the background server decrypts the "premaster secret" using the private key;
the POS terminal and the background server use client random, server random and premaster secret, and generate the same shared KEY KEY through the same algorithm;
the POS terminal sends a 'finished' signal encrypted by the shared KEY KEY;
b8. the background server sends a 'finished' signal encrypted by a shared KEY KEY;
b9. after the handshake is completed, the two parties use symmetric encryption to carry out secure communication;
after the TLS/SSL handshake is completed, the POS terminal and the background server enter into encrypted communication, and perform network data exchange using the normal HTTP protocol, but encrypt the content using the "session key".
4. The method according to claim 3, wherein the step b3 comprises the following steps:
b31. checking the digital signature;
b32. verifying the certificate chain;
b33. checking the validity period of the certificate;
b34. the revocation status of the certificate is checked, and revocation represents that the certificate has expired.
5. The method for POS terminal location and data transmission based on Bluetooth BENP system as claimed in claim 1, further comprising a display screen signature method, based on the requirements of signature security and application, the signature algorithm is implemented by DSA algorithm, the security of DSA algorithm is based on the difficulty of dissociation logarithm of dispersion, such signature standard has greater compatibility and applicability, said display screen signature method comprises the following steps:
c1. encrypting the transmission file by using SHA coding to generate a 128-bit digital digest;
c2. the sender encrypts the abstract again by using the own private key to form a digital signature;
c3. simultaneously transmitting the original text and the encrypted abstract to the other side;
c4. the receiver decrypts the abstract by using the public key of the sender, and encrypts the received file by using the SHA code to generate the same abstract;
c5. and comparing the decrypted digest with the digest generated by re-encrypting the received file at the receiver, wherein if the decrypted digest is consistent with the digest generated by re-encrypting the received file at the receiver, the information is not damaged or tampered in the transmission process, and otherwise, the information loses the security and confidentiality.
6. The method of claim 1, wherein the connection network of the mobile device side network module and the backend server network module is 3G, 4G, 5G, WIFI, cat1 or NBIoT.
CN202010939165.0A 2020-09-09 2020-09-09 POS terminal positioning and data transmission method based on Bluetooth BENP system Pending CN112235766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010939165.0A CN112235766A (en) 2020-09-09 2020-09-09 POS terminal positioning and data transmission method based on Bluetooth BENP system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010939165.0A CN112235766A (en) 2020-09-09 2020-09-09 POS terminal positioning and data transmission method based on Bluetooth BENP system

Publications (1)

Publication Number Publication Date
CN112235766A true CN112235766A (en) 2021-01-15

Family

ID=74116349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010939165.0A Pending CN112235766A (en) 2020-09-09 2020-09-09 POS terminal positioning and data transmission method based on Bluetooth BENP system

Country Status (1)

Country Link
CN (1) CN112235766A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391578A (en) * 2021-03-09 2021-09-14 浙江利尔达物联网技术有限公司 Internet of things test terminal based on LTE-Cat1 technology OpenCPU scheme

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040098350A1 (en) * 2002-08-08 2004-05-20 Fujitsu Limited Framework and system for purchasing of goods and srvices
CN102944886A (en) * 2012-10-11 2013-02-27 厦门雅迅网络股份有限公司 Method for filtering speed drift of GPS (Global Positioning System)
US20140025516A1 (en) * 2012-07-23 2014-01-23 Wal-Mart Stores, Inc. Transferring digital receipt data to mobile devices
CN104616407A (en) * 2014-12-23 2015-05-13 北京钱袋网智能技术有限责任公司 Method for communicating POS machine with remote server, POS machine and mobile terminal
CN105991622A (en) * 2015-03-05 2016-10-05 阿里巴巴集团控股有限公司 Message authentication method and device
CN206711289U (en) * 2016-12-05 2017-12-05 深圳盒子支付信息技术有限公司 A kind of Multifunctional mobile POS
CN111049879A (en) * 2019-10-24 2020-04-21 艾体威尔电子技术(北京)有限公司 Application upgrading management system for intelligent POS equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040098350A1 (en) * 2002-08-08 2004-05-20 Fujitsu Limited Framework and system for purchasing of goods and srvices
US20140025516A1 (en) * 2012-07-23 2014-01-23 Wal-Mart Stores, Inc. Transferring digital receipt data to mobile devices
CN102944886A (en) * 2012-10-11 2013-02-27 厦门雅迅网络股份有限公司 Method for filtering speed drift of GPS (Global Positioning System)
CN104616407A (en) * 2014-12-23 2015-05-13 北京钱袋网智能技术有限责任公司 Method for communicating POS machine with remote server, POS machine and mobile terminal
CN105991622A (en) * 2015-03-05 2016-10-05 阿里巴巴集团控股有限公司 Message authentication method and device
CN206711289U (en) * 2016-12-05 2017-12-05 深圳盒子支付信息技术有限公司 A kind of Multifunctional mobile POS
CN111049879A (en) * 2019-10-24 2020-04-21 艾体威尔电子技术(北京)有限公司 Application upgrading management system for intelligent POS equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
深蓝的BLOG: "简单处理GPS漂移计算方法", 《HTTP://WWW.LANXINBASE.COM/?P=1866》 *
莫北健: "蓝牙无线网络中的移动通讯解决方案研究", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391578A (en) * 2021-03-09 2021-09-14 浙江利尔达物联网技术有限公司 Internet of things test terminal based on LTE-Cat1 technology OpenCPU scheme

Similar Documents

Publication Publication Date Title
CN103039035B (en) Close-distance safety data communication method based on sound wave or audio frequency
CN104918237B (en) The method, communication master device, communication of wireless communication connection are established from equipment, server and system
CN101789865B (en) Dedicated server used for encryption and encryption method
JP6370407B2 (en) O2O secure settlement method and O2O secure settlement system
CN101720071B (en) Short message two-stage encryption transmission and secure storage method based on safety SIM card
CN112469003B (en) Traffic sensor network data transmission method, system and medium based on hybrid encryption
KR100547855B1 (en) Secure communication system and method of a composite mobile communication terminal having a local area communication device
US20120197806A1 (en) Sonic based digital networking
CA3010336A1 (en) Secure information transmitting system and method for personal identity authentication
CN103686589A (en) Safe check-in method and system facing mobile terminal
TWM271327U (en) Transmit/receive unit using tokens/keys for wireless communications
CN101466079A (en) Method, system and WAPI terminal for transmitting e-mail
CN101742508A (en) System and method for transmitting files between WAPI terminal and application server
CN101662458A (en) Authentication method
CN103037306A (en) Privacy protection method based on location service in scene of Internet of Things (IOT)
CN106603496A (en) Data transmission protection method, intelligent card, server, and communication system
KR101677249B1 (en) Security Apparatus and Method for Controlling Internet of Things Device Using User Token
CN109618313B (en) Vehicle-mounted Bluetooth device and connection method and system thereof
CN105024813A (en) Server, user equipment and interactive method of the user equipment and the server
CN112235766A (en) POS terminal positioning and data transmission method based on Bluetooth BENP system
WO2012110897A2 (en) Verifying the location of a mobile communication device
CN106911659A (en) One seed account information processing system, method and device
CN104683355A (en) Anti-repudiation dynamic password generating method and dynamic password verification system
CN102264069B (en) Authentication control method, device and system based on universal guide architecture
JP2022179713A (en) Authenticated device, authentication device, authentication request transmission method, authentication method, and program

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: 20210115

RJ01 Rejection of invention patent application after publication