Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

obsp-sensing (draft OIP-0011, NETWORK-SENSING, provisional)

REFERENCE Source reference/python/obsp_sensing/README.md

On this page
  1. The three simulations (simulate.py)
  2. Privacy rules (privacy.py)
  3. Worked example
  4. Standards named
FieldValue
StatusReference code written against draft proposals (DRAFT); accepts no proposal; no conformance claim
Packageobsp_sensing
SourcePython reference tools

Simulates three kinds of network sensing, turns them into sensing-observation records (origin NETWORK_DERIVED, pseudonymous issuing function, KPIs) and enforces the draft’s privacy rules before any record leaves the pipeline. Synthetic data only; the numbers below come from the simulation’s own truth and say nothing about real equipment.

The three simulations (simulate.py)

Kind What is simulated Record
Rain on microwave links A storm cell over four links. Each link reports an attenuation (noise, 0.1 dB steps). Inversion of the power law gamma = k * R^alpha gives a path-averaged rain rate; a Monte Carlo propagation of reading noise, quantisation and baseline error gives its standard uncertainty. The power-law form is that of ITU-R P.838 (checked: not checked); the coefficients are illustrative and were not read from it. one QUANTITY (mm/h) record per link, target ENVIRONMENT, subject NONE, uncertainty in the refimpl.rain extension
UAV track, multistatic One transmitter, four receivers, bistatic ranges with noise, Gauss-Newton position fit, a detection probability and a false alarm probability per scan, an alpha-beta track with a distance gate one DETECTIONS record, target UAV, subject OBJECTS, KPIs: detection probability, false alarm rate, position and velocity accuracy, latency, refresh rate
Wi-Fi-sensing-like occupancy De-identified presence events (time, local position, count) in a hall, aggregated per grid cell one COUNT record per cell, target PERSON, subject PERSONS, consent and policy references, k, privacy floor, cell edge

Two gaps in the draft schema show up here and are open questions for the draft proposal (OIP-0011): the record has no uncertainty field (the rain uncertainty rides in a namespaced extension), and detections carry no per-point time.

Privacy rules (privacy.py)

records.emit is the only way a record leaves the pipeline: privacy rules first, then the draft schema.

Rule Draft What is refused
Person targets only as aggregated counts or presence SNS-2 a PERSON target not declared PERSONS; detections or any result other than count or presence for persons; an object target declared NONE
k at or above the floor SNS-3 aggregation.k below the floor; a record whose own floor is weaker than the declared policy’s; a count from 1 to k - 1 not suppressed
Coarsened location SNS-3 locationResolutionM below the declared minimum cell; a point area. Positions are dropped at the cell: only the cell is published
Consent and policy present SNS-2 a missing or non-URI consentRef or policyRef; refs that are not the declared policy’s
Identifier scanner SNS-4 any field name or value shaped like an IMSI, SUPI, SUCI, GPSI/MSISDN, IMEI/PEI or MAC address (colon, hyphen, dotted forms), 14 to 16 digit runs; digests are exempt. Applied to emitted records and to raw input events (events_from_dicts)

The scanner tests shapes: it refuses what looks like an identifier and does not prove that a record identifies no one. Identifier formats are cited from 3GPP TS 23.003 and IEEE 802 EUI-48 (checked: not checked).

tests/test_sensing.py has one test per rule that feeds a violating input and sees it refused, besides the baseline that passes.

Worked example

$ make sensing
...
Ran 31 tests in 0.1s
OK

dist/sensing/report.json (seed 7):

rain:  4 links, RMSE against the simulation's truth 0.06 mm/h
       link 01: truth 16.159, retrieved 16.165 mm/h, standard uncertainty 0.294
uav:   36 track points; positionAccuracyM 9.03, velocityAccuracyMs 4.51,
       detectionProbability 0.9, falseAlarmRate 0.025
occupancy: 4 cells of 30 m, k = 5 (policy floor 5 and 30 m): 2 cells suppressed, 2 published (counts 8 and 7)
draftProfileRun: CT-SENSING-001 to -004 PASS, CT-SENSING-005 MANUAL (no attestation here)

A violation, from Python:

from obsp_sensing import records, simulate
docs = records.occupancy_records(simulate.simulate_presence_events(5, mean_people=26), POLICY, AT, cell_m=10.0)
records.emit(docs[0][1], schemas)   # PrivacyViolation: SNS-3 location resolution 10.0 m is finer than the declared minimum cell 30.0 m

Files: dist/sensing/evidence/sensing-observation.<name>.json (the records, in the layout the conformance runner reads), dist/sensing/report.json, dist/sensing/OBSP-NETWORK-SENSING.report.json (the draft runner’s report).

Standards named

ITU-R P.838 (rain specific attenuation), 3GPP TS 22.137 (sensing requirements), 3GPP TS 23.003, IEEE 802.11bf-2025, IEEE 802 MAC address formats: all checked: not checked. The protocol text of the draft is in oips/drafts/OIP-0011/OIP-0011.md.