Re: [core] [SenML] Multiple values in a measurement

Ari Keränen <ari.keranen@ericsson.com> Fri, 09 November 2018 11:58 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F517130DEB for <core@ietfa.amsl.com>; Fri, 9 Nov 2018 03:58:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.771
X-Spam-Level:
X-Spam-Status: No, score=-4.771 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=PcTSc702; dkim=pass (1024-bit key) header.d=ericsson.com header.b=LM4wpRV4
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VDjTr8OUPvQc for <core@ietfa.amsl.com>; Fri, 9 Nov 2018 03:58:30 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7254E130DE9 for <core@ietf.org>; Fri, 9 Nov 2018 03:58:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1541764708; x=1544356708; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+O57/5dI540SIeqCl3ki8un0CZHCJ2bz6EnP2+f4v2g=; b=PcTSc702aActEgADGAtd/Cos0jpURgTwqZeNiSWaWSeWZlDlVNqAIrGRGgDnJHdD Bt6FHUQKjzWc0J8bOM2eIHtHfC1MYMjQ7qkSKKPKSVW62ywLDY6/44J6xh/+LBCp 3SekIo85JBHn8Ia9+uO+t3Fcju3Tx57VoVFvD+hOgWY=;
X-AuditID: c1b4fb3a-45fff70000002747-b3-5be57664d194
Received: from ESESBMB503.ericsson.se (Unknown_Domain [153.88.183.116]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id AF.42.10055.46675EB5; Fri, 9 Nov 2018 12:58:28 +0100 (CET)
Received: from ESESBMB504.ericsson.se (153.88.183.171) by ESESBMB503.ericsson.se (153.88.183.170) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 9 Nov 2018 12:58:28 +0100
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Fri, 9 Nov 2018 12:58:28 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Nv9odwa9nX6ql3ORYuSCi+kxTW+PCniW/Fav7rryqJk=; b=LM4wpRV4jRNlXSk7v8PlHMvD4nGSPjP/agY8NEK7zy3P2ZrCqBNppc6YmppSIZ6KD/R4dIiTl1CxKlEk8Xn1dBmDRMvbdSpZdVh8PtbagLGEjlXR9xPA08AZS+EzSWNG6McR97Wyq+kjTUKvUluVQqdtyqH5vr7rc9EsBp8Pegk=
Received: from HE1PR07MB4236.eurprd07.prod.outlook.com (20.176.166.145) by HE1PR07MB1241.eurprd07.prod.outlook.com (10.164.51.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.14; Fri, 9 Nov 2018 11:58:27 +0000
Received: from HE1PR07MB4236.eurprd07.prod.outlook.com ([fe80::b074:afe2:469c:dd95]) by HE1PR07MB4236.eurprd07.prod.outlook.com ([fe80::b074:afe2:469c:dd95%3]) with mapi id 15.20.1294.034; Fri, 9 Nov 2018 11:58:27 +0000
From: Ari Keränen <ari.keranen@ericsson.com>
To: Christian Amsüss <christian@amsuess.com>, Michael Koster <michaeljohnkoster@gmail.com>
CC: "fluffy@cisco.com" <fluffy@cisco.com>, Shantanoo Desai <des@biba.uni-bremen.de>, "core@ietf.org" <core@ietf.org>
Thread-Topic: [core] [SenML] Multiple values in a measurement
Thread-Index: AdRmu1O0gVkxiXhNQCmF42kugckttw==
Date: Fri, 09 Nov 2018 11:58:26 +0000
Message-ID: <HE1PR07MB4236DFCE18F76CB730476DEB85C60@HE1PR07MB4236.eurprd07.prod.outlook.com>
References: <3643AE5F1967B74C86F1D72E6EB108926367EB@EXCH1.biba.uni-bremen.de> <9315AE8F-0893-4587-8FF3-8EA43BF48D64@gmail.com> <20181108071803.GA4264@hephaistos.amsuess.com> <993797F0-02BB-46C0-94C2-FD62C311635D@gmail.com> <20181108183715.GB26534@hephaistos.amsuess.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ari.keranen@ericsson.com;
x-originating-ip: [89.166.49.243]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB1241; 6:omMvey+7sC1L8UXljlhIEtCRGAqJNM13CjUU5RdwcqLjvBcbIw6IkGJT3X8toJ7SMwoVBwuUiMBxisHizWR2P2uskU3fNW9GrmC2ElOwsASahTpGA9+DutODKPc1yy+ppFqXfI87EyQkPI2KZi1a+jzwU8ItWiJObrIz1ctmXz09kkpW6A9zPcHbtZQX1Ob8X1KrAk6+QBBW3qwhmj5bYMI8gvt7Iytn48haGEqlOMqHMjW1VjQgBJvPvwtdt80/X9ZpctY98pldcb9uymX7jO1fykP+0BLCzVaHnonNyK8X5aYqeIcDKn2bgs5XJH91p4zK331xegbUyM4yvJBz/iow9p7QblNZ6cdmkTi3P54m5i+bdU5yLCTaqNMFo6s99tV43tQkTmWjkYgLT7cVUlmmp4awrWc1xIcBU5R2bW9DuOE4ma3sBJGJ2VOTu/vL24r7rD5GQnZG/xeMIn5sTQ==; 5:Tg8y27BCHDja7Hu+41sqkhg59cip4Gnem6ksqIU4tvONE7Yv3hjPH/q+0J2NL3S3XIsF8uQQVA2+MoeawKp3YiLyCKjbAz5mQTm1Ewd3RqsztG/eYeX+nsinwoNntdhg5kzv5jGc8rB5ejRmbejms9q6MZ2e7T/sVNK/LexLdw0=; 7:rH092udrSqqknEH7YPsiWvkIo4xLfZz+vsltsctkEDKT7i+dhJjnxeguMK2HFx+thWOk37A9XP/zBwDqtqlIhDy5+i2L2e51I+32T6RvIH1bOKa2nwQ8BzAyh/K2akOEiNZ+Y3JU84QVnI0QP2+RKQ==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 845c9be9-3e0e-4067-05ec-08d6463aa897
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB1241;
x-ms-traffictypediagnostic: HE1PR07MB1241:
x-microsoft-antispam-prvs: <HE1PR07MB1241D85DD9C2009215DF81F285C60@HE1PR07MB1241.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105095)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:HE1PR07MB1241; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB1241;
x-forefront-prvs: 08512C5403
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(346002)(39860400002)(136003)(396003)(189003)(199004)(6436002)(7696005)(9686003)(53936002)(6506007)(93886005)(105586002)(68736007)(76176011)(39060400002)(6246003)(106356001)(99286004)(55016002)(2906002)(110136005)(54906003)(6116002)(97736004)(229853002)(14454004)(3846002)(2900100001)(5660300001)(478600001)(8676002)(71190400001)(71200400001)(66066001)(486006)(4326008)(316002)(8936002)(81156014)(81166006)(33656002)(446003)(476003)(256004)(25786009)(26005)(74316002)(86362001)(305945005)(7736002)(102836004)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB1241; H:HE1PR07MB4236.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: eHAC2J81KpJiiLgqjwruyxMPUhPlq5Kdk/MpED+bjZAhi6Rn6Udf30PwOZ/TZvghRilLjL3QMf2Ked/eBjLIpvr6r9ai1RpK4yuDdyDU9KKooFeHSXq2p132bI4XqkCZKeIEGCncUU8IV/lBgk4iQ/fGzvKwgEMcUxE6gZgOHKQuX/J81IqAH/60UpeCXOKfGPsVxxUAPZ77WIaGsEjYVBYNIic9+6V1BlN0hfKACtRRXkDUejluUYlDmkJHmcjNCoxIeby6o5emOXUBYaxUltrLUNUCwBU/jxVF/XHsRmmo6ihtt907YNl58CRNlBKVaWrOzCFE2SsGT5uT2/kOsQ9CIKD911sapPRstyH7qNk=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 845c9be9-3e0e-4067-05ec-08d6463aa897
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2018 11:58:26.8069 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB1241
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrMKsWRmVeSWpSXmKPExsUyM2J7iW5K2dNog/X7FS327ehjsdj3dj2z RfOzc0wWHZPZLKa1n2d3YPXoOviL1aNny1s2jym/N7J67Jx1l91jyZKfTAGsUVw2Kak5mWWp Rfp2CVwZm+aeZSuYwFux79lu9gbGvVxdjJwcEgImEjNvTWPpYuTiEBI4wijxfMd2RgjnK6PE mfevmSGcxUwSJ+ctB3NYBCYwSzRdX8sEkZnMJLFvzlRWCOcho8SGz/cZQSazCdhLTF7zEcwW ESiU2PTpNROIzSxQJrH9SCcLiC0sYCOxZfckoLEcQDW2EhM/FkGU60m0HpsJVs4ioCKx8PJl NhCbVyBG4uust+wQu6YxSRx4958VJMEoICbx/dQaqPniEreezGeC+E5AYsme88wQtqjEy8f/ oOqjJV6dOskOEVeUOPvuIVS9rMSl+d3gAJAQuMYm0XlvFytEQlfiw9SpYIdKCPhKXNgYA1Fz nFFi7eqXLBA1WhIre5+zQtRkS8z6GwERtpZY+eoD1Bg5iVW9D1mgepklJn1ZwTSB0WAWkrsh bD2JG1OnsEHY2hLLFr5mngUOAEGJkzOfsCxgZFnFKFqcWlycm25kpJdalJlcXJyfp5eXWrKJ EZh0Dm75bbWD8eBzx0OMAhyMSjy8DDlPo4VYE8uKK3MPMUpwMCuJ8PoWAYV4UxIrq1KL8uOL SnNSiw8xSnOwKInzOqVZRAkJpCeWpGanphakFsFkmTg4pRoY9XhuPnTxP7dwsZHD7uNzErfy Wi8Syog45R7Svt5VeFXZ4+fbVvW63XVT567TqWCKtNRev7ZX+eC63WVLyxZ5JFurqb2+6t+4 0LYi8P+mO1mzuTM+pbhO2nZ8QoXsc4tzdgsvJM64YpP0fM6xE/W3Vu404p5i4m54scduyc3/ QZsVnMRzXz/PUWIpzkg01GIuKk4EAA2srNo2AwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/k0Uf4ogwTU6foqcGKsw0EfU9k8s>
Subject: Re: [core] [SenML] Multiple values in a measurement
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Nov 2018 11:58:33 -0000

On 09/11/2018 1.37, Christian Amsüss wrote:
> Hi Michael,
> 
> On Thu, Nov 08, 2018 at 10:17:41AM -0800, Michael Koster wrote:
>> I don't believe RFC8428 places any normative constraints on the scope
>> of the identifiers that result from bn+n, either in section 4.5.1
>> names or 4.6 resolved records.
> 
> Quote:
> 
> | Name:  Name of the sensor or parameter.  When appended to the Base
> |      Name field, this must result in a globally unique identifier for
> |      the resource.
> 
> I'm not particularly fond of of that, but remember very clear reasoning
> from the authors that having unique IDs in there is a stronger
> requirement than playing nice with URI references.
> 
>> Specifically, I don't imagine there being a senML validator that would
>> check for the uniqueness of bn+n resolved names. I don't even know how
>> right offhand.
> 
> I figure "We funnel data from all our devices into our Enterprise
> server whose database behaves like a concatenation of all SenML files"
> was one application. That'd get confused quite fast if different devices
> all reported their first accelerometer as "3313/0/".
> 
>> What do the authors say?
> 
> I'd be very happy to be told I'm wrong on this (it would allow more
> elegant core-interfaces), and look forward to a response from them.

Yes, one of the design principles was that SenML names need to be 
globally unique so that they can be used e.g., as data base keys without 
conflicts.


Cheers,
Ari