

1. Bluetooth Electronic Fence Seamless Check-in System
Hardware Unit
The main control uses a BLE 5.4 low-power Bluetooth SoC (such as Telink TLSR8258 or Nordic nRF5283), which integrates RF, MCU, and Flash.
Supporting components: vibration motor, status LED, and tactile button.
Implementation Logic
1. The backend predefines the coordinate range of the factory or road segment's Bluetooth fence.
2. The ID badge continuously broadcasts a low-frequency Beacon signal, which is received by the employee's smartphone app or an on-site Bluetooth gateway to determine signal strength (RSSI).
3. When the RSSI threshold indicates that the person has entered the fenced area, the chip automatically triggers a check-in record, storing the time and location data in the local Flash.
4. The system supports both manual check-in via button press and automatic seamless check-in, replacing the single, manual press method of traditional systems.
2. Offline Caching and Re-transmission Without Signal
Hardware Support
The chip contains large-capacity internal Flash (≥256 KB) for non-volatile storage, paired with a BeiDou + GPS dual-mode positioning module.
Process
1. In areas with weak 4G or Bluetooth signals, such as underground, tunnels, or remote construction sites, the positioning chip collects coordinates. The firmware writes the check-in time, coordinates, and device ID into the local Flash for offline caching.
2. Once the ID badge returns to a signal-covered area, it connects to the smartphone or gateway via Bluetooth to automatically upload all offline data to the cloud backend.
3. Ordinary, non-intelligent ID badges lack local storage Flash and cannot retain check-in records when disconnected from the network.
3. One-Button Device Self-check (5-second long press)
Hardware Circuit
A dedicated I/O pin is connected to a reset/self-check multifunctional button, and the MCU houses the self-check firmware program.
Self-check Content
Long-pressing the button for 5 seconds triggers a chip-wide self-diagnosis:
1. Bluetooth RF transmission and reception test
2. GPS/BeiDou positioning module communication verification
3. Battery voltage and charge level measurement
4. Flash memory read-write test
The self-check results are indicated by LED light patterns and vibration counts, allowing administrators to quickly assess device health. Standard ID badges do not have this self-diagnostic capability.
II. Overall Software and Hardware Layered Solution
Hardware Layer
1. Core: BLE + Positioning 2-in-1 SoC main control
2. Peripherals: SOS/Check-in button, LED indicator, vibration motor, 3.7 V ultra-thin lithium battery, LDO power management
3. Optional expansions: NFC access card, temperature sensor, microphone
Firmware Layer
1. Ultra-low power scheduling: Deep sleep mode with periodic wake-ups for broadcasting and positioning to achieve ~30 days of battery life
2. Offline cache queuing mechanism and resume-upload protocol
3. Button logic differentiation (short press for check-in, long press for self-check, extra-long press for SOS alert)
4. RSSI fence distance calibration algorithm
Cloud & Mobile Layer
1. Backend: Electronic fence drawing, check-in reports, offline data parsing, device status monitoring
2. Employee smartphone app: Bluetooth data transfer, personal check-in record viewing
3. Management terminal: Full-employee location tracking, abnormal absence alerts
III. Comparison with Standard, Low-Function ID Badges
1. Standard badges: Simple button activation with no positioning or local storage; useless without a network connection
2. Intelligent version: Combines BLE fence automation, offline caching, and full device self-check, making it highly adaptable for outdoor workers, sanitation crews, and construction site personnel.
