CN116456286A - Bluetooth gateway card punching method and system - Google Patents

Bluetooth gateway card punching method and system Download PDF

Info

Publication number
CN116456286A
CN116456286A CN202310375498.9A CN202310375498A CN116456286A CN 116456286 A CN116456286 A CN 116456286A CN 202310375498 A CN202310375498 A CN 202310375498A CN 116456286 A CN116456286 A CN 116456286A
Authority
CN
China
Prior art keywords
bluetooth gateway
card punching
beacon
server
mobile phone
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
CN202310375498.9A
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.)
Shenzhen Yanwei Communication Technology Co ltd
Original Assignee
Shenzhen Yanwei Communication Technology 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 Shenzhen Yanwei Communication Technology Co ltd filed Critical Shenzhen Yanwei Communication Technology Co ltd
Priority to CN202310375498.9A priority Critical patent/CN116456286A/en
Publication of CN116456286A publication Critical patent/CN116456286A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/037Protecting confidentiality, e.g. by encryption of the control plane, e.g. signalling traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a Bluetooth gateway card punching method, which comprises a card punching beacon pairing method and comprises the following steps: the Bluetooth gateway starts pairing; the Bluetooth gateway starts scanning and searches corresponding MAC equipment; the card punching beacon sends a broadcast to the Bluetooth gateway; the Bluetooth gateway sends a broadcast scanning request to a card punching beacon; the card punching beacon sends a scanning response to the Bluetooth gateway; after the Bluetooth gateway discovers that the broadcast MAC is equal to the equipment matched with the MAC, the Bluetooth gateway and the card punching beacon are connected and interacted; the Bluetooth gateway establishes connection with the card punching beacon; the Bluetooth gateway is successfully connected with the server; the server requests the SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway requests the SE ciphertext to the card punching beacon; the card punching beacon replies the SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway replies the SE ciphertext to the server; the invention also provides a Bluetooth gateway card punching system, which has the advantages of realizing card punching action and returning to the server end without wire insertion, contact and taking out of card punching equipment.

Description

Bluetooth gateway card punching method and system
Technical Field
The invention relates to the field of broadcast collection of Bluetooth gateways, in particular to a Bluetooth gateway card punching method and a Bluetooth gateway card punching system.
Background
Most of the existing card punching in the market is fingerprint, password and mechanical card inserting, the operation is complex, resources are wasted, the card punching is completed by needing to go to statistical information, time is accumulated and tired, unnecessary time waste is caused, the gateway card punching system can save time for personnel maintenance, unnecessary operation is omitted, the installation is convenient (the gateway card punching system is not required to be installed in a door or a designated area), the scheme system is deployed, the card punching function can be limited in a noninductive area, the card punching can be completed only by carrying a mobile phone by a card punching person, and a card punching terminal is close to a gateway.
Disclosure of Invention
The invention provides a Bluetooth gateway card punching method and a Bluetooth gateway card punching system, which are capable of realizing card punching action and returning to a server side without wire insertion, contact and taking out of card punching equipment. Avoid jamming and physical contact complicated operation and the like.
According to the Bluetooth gateway card punching method provided by the embodiment of the application, the method comprises the following steps of:
the Bluetooth gateway starts pairing;
the Bluetooth gateway starts scanning and searches corresponding MAC equipment;
the card punching beacon sends a broadcast to the Bluetooth gateway;
the Bluetooth gateway sends a broadcast scanning request to a card punching beacon;
the card punching beacon sends a scanning response to the Bluetooth gateway;
after the Bluetooth gateway discovers that the broadcast MAC is equal to the equipment matched with the MAC, the Bluetooth gateway and the card punching beacon are connected and interacted;
the Bluetooth gateway establishes connection with the card punching beacon;
the Bluetooth gateway is successfully connected with the server;
the server generates an SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway forwards the SE ciphertext to the card punching beacon;
the card punching beacon replies the SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway replies the SE ciphertext to the server;
the server successfully sends the SE identification to the Bluetooth gateway, and the Bluetooth gateway successfully sends the SE identification to the card punching beacon;
the card punching beacon stores pairing information, the Bluetooth gateway stores pairing information, and the Bluetooth gateway and the server are successfully paired;
pairing is completed.
Preferably, the method for pairing mobile phones comprises the following steps:
the Bluetooth gateway sends a broadcast to the mobile phone;
the mobile phone sends a broadcast scanning request to the Bluetooth gateway;
the Bluetooth gateway sends a scanning response to the mobile phone;
the mobile phone analyzes the manufacturer identifier, confirms the gateway equipment and acquires the gateway MAC;
the mobile phone sends the registration ID, registration information and gateway MAC to the server;
the server generates a specific key to the mobile phone according to the information;
the mobile phone starts broadcasting to the Bluetooth gateway; the server starts gateway scanning and monitors the returned broadcast content;
the server analyzes the returned broadcast content and acquires specific key content;
the server compares the generated specific key with the analysis key;
the server successfully compares and stores information;
the server returns the mobile phone information to the Bluetooth gateway, and the Bluetooth gateway stores the information;
the server returns a registration success message to the mobile phone, and the mobile phone stores the information;
registration is successful.
Preferably, the identification method comprising paired punch beacons comprises the following steps:
the Bluetooth gateway starts scanning and a card punching beacon starts broadcasting;
the Bluetooth network requests to broadcast the packet to the card punching beacon;
the card punching beacon sends a broadcast to the Bluetooth gateway;
the Bluetooth gateway sends a broadcast scanning request to a card punching beacon;
the card punching beacon sends a scanning response to the Bluetooth gateway;
the Bluetooth gateway enters an identification flow, and extracts broadcast content;
the Bluetooth gateway judges whether RSSI is in the range, if the RSSI is in the range, whether the RSSI is paired is judged, if the RSSI is paired, the Bluetooth gateway and the server interact card punching success information, and meanwhile, the flow is completed; if the Bluetooth gateway and the card punching beacon are not matched, returning to the Bluetooth gateway and the card punching beacon to start scanning;
if the RSSI is out of range, returning to the Bluetooth gateway and the punching beacon to start scanning.
Preferably, the identification method of the registered mobile phone comprises the following steps:
the server acquires a current key from the mobile phone;
the server requests the current Key of the Bluetooth gateway;
generating keys by Bluetooth gateway time, encrypted random codes and pairing information;
the Bluetooth gateway returns a generating key to the server; the server returns the current key to the mobile phone;
the Bluetooth gateway starts card punching identification;
the Bluetooth gateway starts scanning mobile phone broadcasting, and the mobile phone generates broadcasting carrying key and sends the broadcasting to the Bluetooth gateway;
the Bluetooth gateway acquires scanning data from the mobile phone; the mobile phone sends response scanning data to the Bluetooth gateway;
the Bluetooth gateway judges whether the current key is equal to the analyzed key, if the current key is equal to the analyzed key, the RSSI is judged to be in the range, if the RSSI is in the range, the card punching is successful, meanwhile, the card punching information is uploaded to the server, the server returns a card punching success message to the mobile phone, the Bluetooth gateway updates the key, and the flow is completed;
if the current key is not equal to the parsed key, returning to the Bluetooth gateway to start card punching identification;
if the RSSI is not in the range, returning to the Bluetooth gateway to start card punching identification.
Preferably, the method comprises the following steps:
the Bluetooth gateway periodically updates key contents, and the mobile phone acquires key files according to a certain period and then updates broadcast contents; the mobile phone acquires the broadcasting content carrying the key, compares the broadcasting content with the key generated at present locally, reports the background to the user if the broadcasting content is consistent with the key, and the background server receives information to inform the mobile phone of the card punching result.
The invention provides a Bluetooth gateway card punching system, which comprises a server, a Bluetooth gateway, a mobile phone and a card punching beacon, wherein the server, the Bluetooth gateway, the mobile phone and the card punching beacon execute computer programs to realize the method steps of the Bluetooth gateway card punching.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
aiming at the Bluetooth gateway, the invention can realize the card punching action and return to the server without wire insertion, contact and taking out of the card punching equipment. The defects of jamming, physical contact, complex operation and the like of card punching are avoided. Simultaneously, two modes of mobile phone and card punching equipment are supported for card punching application, and the mobile phone has a mobile phone scene, only an app is installed and matched, and no mobile phone scene exists, and only equipment is matched (the problem of clean card punching in a corridor and the problem of using obstacle of a senior mobile phone are solved).
The interactive contents of punching card are updated in real time, the Bluetooth gateway updates according to time in real time, the same punching card contents cannot exist, malicious copying of punching card equipment is prevented, copying, cracking and the like of the malicious punching card equipment are avoided, and compared with a general beacon punching card scene, the risk that a punching card beacon is copied can be avoided.
The Bluetooth gateway can limit the distance according to the RSSI of the card punching equipment, the card punching equipment exceeding the distance directly filters the distance, and the equipment in the range carries out card punching according to the card punching content.
In the asset positioning scene, the real-time condition of the asset can be realized by only monitoring the state of the equipment in real time without excessive calculation of a server. In the area positioning scene, calculation of information such as actual distance of a server end and whether an area exists is not needed, the distance information can be calibrated and set in a preliminary calibration part, an area identification gateway is automatically set, and the server only needs to monitor whether equipment crosses a border or not in real time and record and display tracks. In a personnel card punching scene, distance card punching can be limited, and the information return function of the recording card punching terminal in a specified range is limited. In the triangle accurate positioning scene, the server can accurately triangulate the terminal Bluetooth equipment according to the layout (triangle positioning layout) of the gateway, so as to realize the application of the positioning scene with higher requirements. In a vehicle-mounted PEPS scene, vehicle-mounted key positioning can be realized according to a gateway positioning function, and the functions of welcome lamp, keyless door opening and trunk opening are realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for pairing a punch-card beacon according to the present invention;
FIG. 2 is a flow chart of the mobile phone pairing method according to the invention;
FIG. 3 is a flow chart of a method for identifying paired punch beacons in accordance with the present invention;
fig. 4 is a flow chart of a method for identifying registered mobile phones according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, a first embodiment of the present invention provides a method for punching a card in a bluetooth gateway, including a method for pairing a card punching beacon, including the following steps:
the Bluetooth gateway starts pairing;
the Bluetooth gateway starts scanning and searches corresponding MAC equipment;
the card punching beacon sends a broadcast to the Bluetooth gateway;
the Bluetooth gateway sends a broadcast scanning request to a card punching beacon;
the card punching beacon sends a scanning response to the Bluetooth gateway;
after the Bluetooth gateway discovers that the broadcast MAC is equal to the equipment matched with the MAC, the Bluetooth gateway and the card punching beacon are connected and interacted;
the Bluetooth gateway establishes connection with the card punching beacon;
the Bluetooth gateway is successfully connected with the server;
the server generates an SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway forwards the SE ciphertext to the card punching beacon;
the card punching beacon replies the SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway replies the SE ciphertext to the server;
the server successfully sends the SE identification to the Bluetooth gateway, and the Bluetooth gateway successfully sends the SE identification to the card punching beacon;
the card punching beacon stores pairing information, the Bluetooth gateway stores pairing information, and the Bluetooth gateway and the server are successfully paired;
pairing is completed.
Referring to fig. 2, the method for punching a card by using a bluetooth gateway of the present invention further includes a mobile phone pairing method, including the following steps:
the Bluetooth gateway sends a broadcast to the mobile phone;
the mobile phone sends a broadcast scanning request to the Bluetooth gateway;
the Bluetooth gateway sends a scanning response to the mobile phone;
the mobile phone analyzes the manufacturer identifier, confirms the gateway equipment and acquires the gateway MAC;
the mobile phone sends the registration ID, registration information and gateway MAC to the server;
the server generates a specific key to the mobile phone according to the information;
the mobile phone starts broadcasting to the Bluetooth gateway; the server starts gateway scanning and monitors the returned broadcast content;
the server analyzes the returned broadcast content and acquires specific key content;
the server compares the generated specific key with the analysis key;
the server successfully compares and stores information;
the server returns the mobile phone information to the Bluetooth gateway, and the Bluetooth gateway stores the information;
the server returns a registration success message to the mobile phone, and the mobile phone stores the information;
registration is successful.
Referring to fig. 3, the method for punching a bluetooth gateway according to the present invention further includes a method for identifying paired punching beacons, including the following steps:
the Bluetooth gateway starts scanning and a card punching beacon starts broadcasting;
the Bluetooth network requests to broadcast the packet to the card punching beacon;
the card punching beacon sends a broadcast to the Bluetooth gateway;
the Bluetooth gateway sends a broadcast scanning request to a card punching beacon;
the card punching beacon sends a scanning response to the Bluetooth gateway;
the Bluetooth gateway enters an identification flow, and extracts broadcast content;
the Bluetooth gateway judges whether RSSI is in the range, if the RSSI is in the range, whether the RSSI is paired is judged, if the RSSI is paired, the Bluetooth gateway and the server are successful in interactive card punching, and meanwhile, the flow is completed; if the Bluetooth gateway and the card punching beacon are not matched, returning to the Bluetooth gateway and the card punching beacon to start scanning;
if the RSSI is out of range, returning to the Bluetooth gateway and the punching beacon to start scanning.
Referring to fig. 4, the method for punching a card by using a bluetooth gateway of the present invention further includes a method for identifying registered mobile phones, including the following steps:
the server acquires a current key from the mobile phone;
the server requests the current Key of the Bluetooth gateway;
generating keys by Bluetooth gateway time, encrypted random codes and pairing information;
the Bluetooth gateway returns a generating key to the server; the server returns the current key to the mobile phone;
the Bluetooth gateway starts card punching identification;
the Bluetooth gateway starts scanning mobile phone broadcasting, and the mobile phone generates broadcasting carrying key and sends the broadcasting to the Bluetooth gateway;
the Bluetooth gateway acquires scanning data from the mobile phone; the mobile phone sends response scanning data to the Bluetooth gateway;
the Bluetooth gateway judges whether the current key is equal to the analyzed key, if the current key is equal to the analyzed key, the RSSI is judged to be in the range, if the RSSI is in the range, the card punching is successful, meanwhile, the card punching information is uploaded to the server, the server returns a card punching success message to the mobile phone, the Bluetooth gateway updates the key, and the flow is completed;
if the current key is not equal to the parsed key, returning to the Bluetooth gateway to start card punching identification;
if the RSSI is not in the range, returning to the Bluetooth gateway to start card punching identification.
The operation flow can realize the effect of directly punching cards without picking out the mobile phone (APP background execution), and the mechanism can effectively protect the risk of replay attack. Meanwhile, since the key is periodic, for example, updated once a minute (according to the situation of important occasions), even if the broadcast in the current time period is intercepted illegally, the key is only the use right in one period, and in the period (one minute), the copying is meaningless.
It can be appreciated that the method for identifying registered mobile phones comprises the following steps:
the Bluetooth gateway periodically updates key contents, and the mobile phone acquires key files according to a certain period and then updates broadcast contents; the mobile phone acquires the broadcasting content carrying the key, compares the broadcasting content with the key generated at present locally, reports the background to the user if the broadcasting content is consistent with the key, and the background server receives information to inform the mobile phone of the card punching result.
The second embodiment of the invention provides a Bluetooth gateway card punching system, which comprises a server, a Bluetooth gateway, a mobile phone and a card punching beacon, wherein the server, the Bluetooth gateway, the mobile phone and the card punching beacon execute computer programs to realize the steps of the Bluetooth gateway card punching method.
In fig. 1 to 4, solid arrows represent bluetooth communication, and broken arrows represent network communication.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
aiming at the Bluetooth gateway, the invention can realize the card punching action and return to the server without wire insertion, contact and taking out of the card punching equipment. The defects of jamming, physical contact, complex operation and the like of card punching are avoided. Simultaneously, two modes of mobile phone and card punching equipment are supported for card punching application, and the mobile phone has a mobile phone scene, only an app is installed and matched, and no mobile phone scene exists, and only equipment is matched (the problem of clean card punching in a corridor and the problem of using obstacle of a senior mobile phone are solved).
The interactive contents of punching card are updated in real time, the Bluetooth gateway rolls and updates the final secret key in real time according to the time and the paired encryption information, no matter whether the mobile phone or the beacon can not have the same punching card content in each punching card broadcasting content, malicious copying of punching card equipment is prevented, copying and cracking of the malicious punching card equipment are avoided, and compared with a general beacon punching card scene, the risk that the punching card beacon is copied can be avoided.
The Bluetooth gateway can limit the distance according to the RSSI of the card punching equipment, the card punching equipment exceeding the distance directly filters the distance, and the equipment in the range carries out card punching according to the card punching content.
In the asset positioning scene, the real-time condition of the asset can be realized by only monitoring the state of the equipment in real time without excessive calculation of a server. In the area positioning scene, calculation of information such as actual distance of a server end and whether an area exists is not needed, the distance information can be calibrated and set in a preliminary calibration part, an area identification gateway is automatically set, and the server only needs to monitor whether equipment crosses a border or not in real time and record and display tracks. In a personnel card punching scene, distance card punching can be limited, and the information return function of the recording card punching terminal in a specified range is limited. In the triangle accurate positioning scene, the server can accurately triangulate the terminal Bluetooth equipment according to the layout (triangle positioning layout) of the gateway, so as to realize the application of the positioning scene with higher requirements. In a vehicle-mounted PEPS scene, vehicle-mounted key positioning can be realized according to a gateway positioning function, and the functions of welcome lamp, keyless door opening and trunk opening are realized.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (6)

1. The Bluetooth gateway card punching method is characterized by comprising a card punching beacon pairing method and comprises the following steps of:
the Bluetooth gateway starts pairing;
the Bluetooth gateway starts scanning and searches corresponding MAC equipment;
the card punching beacon sends a broadcast to the Bluetooth gateway;
the Bluetooth gateway sends a broadcast scanning request to a card punching beacon;
the card punching beacon sends a scanning response to the Bluetooth gateway;
after the Bluetooth gateway discovers that the broadcast MAC is equal to the equipment matched with the MAC, the Bluetooth gateway and the card punching beacon are connected and interacted;
the Bluetooth gateway establishes connection with the card punching beacon;
the Bluetooth gateway is successfully connected with the server;
the server generates an SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway forwards the SE ciphertext to the card punching beacon;
the card punching beacon replies the SE ciphertext to the Bluetooth gateway, and the Bluetooth gateway replies the SE ciphertext to the server;
the server successfully sends the SE identification to the Bluetooth gateway, and the Bluetooth gateway successfully sends the SE identification to the card punching beacon;
the card punching beacon stores pairing information, the Bluetooth gateway stores pairing information, and the Bluetooth gateway and the server are successfully paired;
pairing is completed.
2. The method for punching a card on a bluetooth gateway according to claim 1, comprising a method for pairing mobile phones, comprising the steps of:
the Bluetooth gateway sends a broadcast to the mobile phone;
the mobile phone sends a broadcast scanning request to the Bluetooth gateway;
the Bluetooth gateway sends a scanning response to the mobile phone;
the mobile phone analyzes the manufacturer identifier, confirms the gateway equipment and acquires the gateway MAC;
the mobile phone sends the registration ID, registration information and gateway MAC to the server;
the server generates a specific key to the mobile phone according to the information;
the mobile phone starts broadcasting to the Bluetooth gateway; the server starts gateway scanning and monitors the returned broadcast content;
the server analyzes the returned broadcast content and acquires specific key content;
the server compares the generated specific key with the analysis key;
the server successfully compares and stores information;
the server returns the mobile phone information to the Bluetooth gateway, and the Bluetooth gateway stores the information;
the server returns a registration success message to the mobile phone, and the mobile phone stores the information;
registration is successful.
3. A bluetooth gateway card punching method according to claim 1, characterized by comprising a matched card punching beacon identification method comprising the steps of:
the Bluetooth gateway and the card punching beacon start scanning;
the Bluetooth network requests to broadcast the packet to the card punching beacon;
the card punching beacon sends a broadcast to the Bluetooth gateway;
the Bluetooth gateway sends a broadcast scanning request to a card punching beacon;
the card punching beacon sends a scanning response to the Bluetooth gateway;
the Bluetooth gateway enters an identification flow, and extracts broadcast content;
the Bluetooth gateway judges whether RSSI is in the range, if the RSSI is in the range, whether the RSSI is paired is judged, if the RSSI is paired, the Bluetooth gateway and the server interact card punching success information, and meanwhile, the flow is completed; if the Bluetooth gateway and the card punching beacon are not matched, returning to the Bluetooth gateway and the card punching beacon to start scanning;
if the RSSI is out of range, returning to the Bluetooth gateway and the punching beacon to start scanning.
4. The method for punching a card on a bluetooth gateway according to claim 2, comprising the steps of:
the server acquires a current key from the mobile phone;
the server requests the current Key of the Bluetooth gateway;
generating keys by Bluetooth gateway time, encrypted random codes and pairing information;
the Bluetooth gateway returns a generating key to the server; the server returns the current key to the mobile phone;
the Bluetooth gateway starts card punching identification;
the Bluetooth gateway starts scanning mobile phone broadcasting, and the mobile phone generates broadcasting carrying key and sends the broadcasting to the Bluetooth gateway;
the Bluetooth gateway acquires scanning data from the mobile phone; the mobile phone sends response scanning data to the Bluetooth gateway;
the Bluetooth gateway judges whether the current key is equal to the analyzed key, if the current key is equal to the analyzed key, the RSSI is judged to be in the range, if the RSSI is in the range, the card punching is successful, meanwhile, the card punching information is uploaded to the server, the server returns a card punching success message to the mobile phone, the Bluetooth gateway updates the key, and the flow is completed;
if the current key is not equal to the parsed key, returning to the Bluetooth gateway to start card punching identification;
if the RSSI is not in the range, returning to the Bluetooth gateway to start card punching identification.
5. The method for punching a card on a bluetooth gateway according to claim 2, comprising the steps of:
the Bluetooth gateway periodically updates key contents, and the mobile phone acquires key files according to a certain period and then updates broadcast contents; the mobile phone acquires the broadcasting content carrying the key, compares the broadcasting content with the key generated at present locally, reports the background to the user if the broadcasting content is consistent with the key, and the background server receives information to inform the mobile phone of the card punching result.
6. A bluetooth gateway card punching system, comprising a server, a bluetooth gateway, a mobile phone and a card punching beacon, wherein the server, the bluetooth gateway, the mobile phone and the card punching beacon execute computer programs to realize the steps of the method for punching the bluetooth gateway according to any one of claims 1-5.
CN202310375498.9A 2023-03-30 2023-03-30 Bluetooth gateway card punching method and system Pending CN116456286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310375498.9A CN116456286A (en) 2023-03-30 2023-03-30 Bluetooth gateway card punching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310375498.9A CN116456286A (en) 2023-03-30 2023-03-30 Bluetooth gateway card punching method and system

Publications (1)

Publication Number Publication Date
CN116456286A true CN116456286A (en) 2023-07-18

Family

ID=87127065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310375498.9A Pending CN116456286A (en) 2023-03-30 2023-03-30 Bluetooth gateway card punching method and system

Country Status (1)

Country Link
CN (1) CN116456286A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118038575A (en) * 2024-04-15 2024-05-14 建信金融科技有限责任公司 Sign-in method and device for online conference

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118038575A (en) * 2024-04-15 2024-05-14 建信金融科技有限责任公司 Sign-in method and device for online conference

Similar Documents

Publication Publication Date Title
CN104486835B (en) A kind of positioner based on WAP and video monitoring
CN1783810B (en) Method used for determining
CN105516986B (en) A kind of method, terminal, data processor and system detecting pseudo-base station
CN102204170B (en) Method and apparatus for network intrusion detection
CN109302434B (en) Prompt message pushing method and device, service platform and storage medium
CN111343577B (en) Method for infectious patient tracking and infection risk detection
CN107094293A (en) A kind of device and method for obtaining WiFi terminal real MAC address
CN101631302B (en) Method and device for acquiring international mobile subscriber identity of mobile communication terminal by base station
CN107623754B (en) WiFi acquisition system and method based on authenticity MAC identification
JP4665814B2 (en) Manner violation management system
CN103891332A (en) Detection of suspect wireless access points
US7974602B2 (en) Fraud detection techniques for wireless network operators
US20060153189A1 (en) Ad hoc communication system, mobile terminal, center, ad hoc communication method and ad hoc communication program
CN105939521A (en) Detection alarm method and device for pseudo access point
CN112469044B (en) Edge access control method and controller for heterogeneous terminal
CN111105528A (en) Intelligent door lock system based on Bluetooth broadcast
CN116456286A (en) Bluetooth gateway card punching method and system
CN100502300C (en) Method for detecting illegally cut-in point in radio local network
CN104363262A (en) Wireless access device, server, service information push system and service information push method
US20220369095A1 (en) System and method of tracking a mobile device
CN111798664A (en) Illegal data identification method and device and electronic equipment
US20080059476A1 (en) Method For Protecting User Privacy in Short Range Communication
CN109495894B (en) Method and system for preventing pseudo base station
KR20020004534A (en) Apparatus and Method for tracing of terminal-position
CN112788587A (en) System for acquiring and managing cloud SIM card data and processing method thereof

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