
From pkyzivat@alum.mit.edu  Sun Oct  2 14:20:05 2011
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E69E21F8560 for <salud@ietfa.amsl.com>; Sun,  2 Oct 2011 14:20:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.633
X-Spam-Level: 
X-Spam-Status: No, score=-1.633 tagged_above=-999 required=5 tests=[AWL=-0.834, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, J_CHICKENPOX_83=0.6, J_CHICKENPOX_84=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GlaeDhATgJAD for <salud@ietfa.amsl.com>; Sun,  2 Oct 2011 14:20:04 -0700 (PDT)
Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by ietfa.amsl.com (Postfix) with ESMTP id C83B321F854D for <salud@ietf.org>; Sun,  2 Oct 2011 14:20:03 -0700 (PDT)
Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta12.westchester.pa.mail.comcast.net with comcast id fuuc1h0051ZXKqc5CxP2XJ; Sun, 02 Oct 2011 21:23:02 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([24.62.109.41]) by omta21.westchester.pa.mail.comcast.net with comcast id fxNx1h00D0tdiYw3hxNyC3; Sun, 02 Oct 2011 21:23:01 +0000
Message-ID: <4E88D62E.7050007@alum.mit.edu>
Date: Sun, 02 Oct 2011 17:22:54 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2
MIME-Version: 1.0
To: salud@ietf.org
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com>
In-Reply-To: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Oct 2011 21:20:05 -0000

Dale,

This sounds pretty good. Just to be clear, I assume this is just an 
example of how to do this - presumably its not normative. Right?

A complication we may, or may not, want to explore is when the signals 
could represent different "media". For instance there may be separate 
audio and visual (not necessarily video) signals, and there might be 
combined audio/video signals.

When selecting signals, its probably necessary to do so independently 
for each medium. So for example there might be a complete set of audio 
signals, in the structure you describe, and just a single visual signal 
(e.g. blinking light) assigned to "default". Then the appropriate audio 
alert would be chosen and the light would blink for all cases.

Conversely, there might be a unique visual signal for every known 
feature (perhaps a text rendering of that signal), plus audio signals 
arranged as you show. In that case you would get a suitable audio alert 
plus a text display of the particular chosen text.

	Thanks,
	Paul

On 9/29/11 11:28 AM, Worley, Dale R (Dale) wrote:
> [as individual]
>
> This is a rather rambling discussion of an algorithm for selecting
> ringing signals.  The goal is to be a more formalized and generalized
> version of what Laura described in
> http://www.ietf.org/mail-archive/web/salud/current/msg00151.html, and
> also include the multiple-stage selection I've described previously.
>
> This is the idea:
>
> For each feature, there is a tree of possible values.  For this
> description, we will name each tree by the feature name, and name each
> node by the trailing portion of the URN.  Each URN corresponds to a
> node in a feature tree.  Thus, there is a tree named "source", whose
> root node is also named "source", and which has the children
> source:internal, source:external, source:friend, and source:family
> (according to the -02 draft).
>
> For example, the URN<urn:alert:source:external>  is placed at the node
> "source:external" in the "source" tree.
>
> (Of course, there are an infinite number of potential additional nodes
> in the tree for private values, but we don't have to represent those
> nodes explicitly unless the device has a signal representing the
> private value.)
>
> We assign similar locations to signals, but each signal has a place in
> *every* tree.  If a signal has a simple meaning, such as "external
> source", its place in the "source" tree is source:external, but its
> place in every other feature tree is at the root node, meaning that it
> has no particular meaning for that feature.
>
> A signal that has a complex meaning may have non-root positions in
> more than one feature tree.  For example, an "external, high priority"
> signal would be placed at source:external and priority:high, but be at
> the root in all other feature trees.
>
> In order to assure that the algorithm always selects at least one
> signal, we assume that there is a "default" signal, whose position in
> every feature tree is at the root.  The default signal is set up so
> that it will never be excluded from the set of acceptable signals for
> an indication, but will usually be the least-desirable signal for any
> indication.
>
> The algorithm proceeds by considering each URN in the indication from
> left to right, while revising a set of signals.  The set of signals
> starts as the entire set of signals available to the device.  Each URN
> excludes some signals from the set, and *sorts* the signals that
> remain in the set according to how well they represent the URN.  The
> first URN is the "major sort", and has the most influence on the
> position of a signal in the set.  The second URN is a "minor sort", in
> that it arranges the orders of the signals that are tied within the
> first sort, the third URN arranges the orders of the signals that are
> tied within the first two sorts, etc.
>
> At the end of the algorithm, a final, "most minor" sort is done, which
> orders the signals which have been tied under all the sorts driven by
> the URNs.  This sort places the least specific signal *first*.
>
> Once all the URNs are processed and the sorting is done, the device
> selects the first signal in the set.
>
> Here is how a sort proceeds:
>
> The URN is at a specific node in a specific feature tree.
>
> All signals whose positions are ancestor nodes of the URN are kept;
> all other signals are removed from the set.
>
> Within any group of signals that are tied under previous sorts, place
> first those which are at the node of the URN, place second those which
> are at the parent node of the URN, etc., and place last those which
> are at the root node of the feature tree.
>
> Here are some examples of how the algorithm works:
>
> Example 1 (from Laura)
>
>> Take the following example:
>>
>> The device has a set of alerting signals consisting which are for
>> <urn:alert:source:external>,<urn:alert:source:internal>,
>> <urn:alert:priority:low>,<urn:alert:priority:high>. It receives
>> <urn:alert:source:external>.  The device eliminates
>> <urn:alert:source:internal>  and keeps<urn:alert:source:external>,
>> <urn:alert:priority:low>,<urn:alert:priority:high>.  Could it happen
>> that it chooses to render<urn:alert:priority:high>  or did I miss
>> something in the algorithm description?
>
> There are 4 signals.  We list their primary meanings, and the
> locations that they are placed in the feature trees:
>
> Meaning:<urn:alert:source:external>
> Locations:
> 	source:external
> 	priority (that is, the root node of the priority tree)
>
> Meaning:<urn:alert:source:internal>
> Locations:
> 	source:internal
> 	priority
>
> Meaning:<urn:alert:priority:low>
> Locations:
> 	source
> 	priority:low
>
> Meaning:<urn:alert:priority:high>
> Locations:
> 	source
> 	priority:high
>
> To which we add:
> Meaning: default
> Locations:
> 	source
> 	priority
>
> If the device receives<urn:alert:source:internal>, then the sort is:
>
> Signals at source:internal:
> 	<urn:alert:source:internal>
> Signals at source:
> 	<urn:alert:priority:low>
> 	<urn:alert:priority:high>
> 	default
>
> And these signals are excluded from the set:
> 	<urn:alert:source:external>
>
> So in this example, the sorting algorithm properly gives first place
> to<urn:alert:source:internal>.
>
> Example 2
>
> Let us add to this set of signals ones that express combinations like
> "internal, high priority", but let us specifically exclude the
> combination "internal, low priority" so as to set up some tricky
> examples.  This enlarges our set of signals:
>
>
> Meaning: default
> Locations:
> 	source
> 	priority
>
> Meaning: external
> Locations:
> 	source:external
> 	priority
>
> Meaning: internal
> Locations:
> 	source:internal
> 	priority
>
> Meaning: low
> Locations:
> 	source
> 	priority:low
>
> Meaning: high
> Locations:
> 	source
> 	priority:high
>
> Meaning: external high
> Locations:
> 	source:external
> 	priority:high
>
> Meaning: external low
> Locations:
> 	source:external
> 	priority:low
>
> Meaning: internal high
> Locations:
> 	source:internal
> 	priority:high
>
> If the device receives<urn:alert:source:internal>, then the sort is:
>
> Signals at source:internal: (that is, tied for first place)
> 	internal
> 	internal high
> Signals at source: (tied for second place)
> 	low
> 	high
> 	default
>
> Signals excluded from the set:
> 	external
> 	external low
> 	external high
>
> Two signals are tied for the first place, but the final sort orders
> them:
> 	internal
> 	internal high
> because it puts the least-specific signal first.  So the signal
> "internal" is chosen.
>
> Example 2b
>
> Suppose the same device receives<urn:alert:source:external>,
> <urn:alert:priority:low>.  The first sort (due to
> <urn:alert:source:external>) is:
>
> Signals at source:external:
> 	external
> 	external low
> 	external high
> Signals at source:
> 	low
> 	high
> 	default
>
> Signals excluded:
> 	internal
> 	internal high
>
> The second sort (due to<urn:alert:priority:low>) puts signals at
> priority:low before signals at priority, and excludes signal at
> priority:high:
>
> 	external low
> 	external
> 	low
> 	default
>
> Excluded:
> 	external high
> 	high
> 	internal
> 	internal high
>
> So, as you would expect, we choose "external low".
>
> Example 2c
>
> Suppose the same device receives<urn:alert:source:internal>,
> <urn:alert:priority:low>.  Note that there is no signal that
> corresponds to this combination.
>
> The first sort is based on source:internal, and results in this order:
>
> 	(tied:)
> 	internal
> 	internal high
>
> 	(tied:)
> 	low
> 	high
> 	default
>
> Excluded:
> 	external
> 	external low
> 	external high
>
> The second sort is based on priority:low, and results in this order:
>
> 	internal
> 	low
> 	default
>
> Excluded:
> 	internal high
> 	high
> 	external low
> 	external
> 	external high
>
> So we choose the signal "internal".
>
> Example 2d
>
> Suppose the same device receives<urn:alert:priority:low>,
> <urn:alert:source:internal>.  This is like example 2c, but the URNs
> are in the opposite order.
>
> The first sort is based on priority:low, and results in this order:
>
> 	(tied:)
> 	low
> 	external low
>
> 	(tied:)
> 	internal
> 	external
> 	default
>
> Excluded:
> 	high
> 	external high
> 	internal high
>
> The second sort is based on source:internal, and results in this order:
>
> 	low
> 	internal
> 	default
>
> Excluded:
> 	internal high
> 	high
> 	external low
> 	external
> 	external high
>
> So we choose the signal "low".
>
>
> Example 3
>
> Let us set up a simple set of signals, with three signals giving
> priority:
>
> Meaning: default
> Locations:
> 	priority
>
> Meaning: low
> Locations:
> 	priority:low
>
> Meaning: high
> Locations:
> 	priority:high
>
> Notice that we've used the "default" signal to cover "normal
> priority".  That is so the signal will cover situations where no
> priority URN is present, as well as the ones with
> <urn:alert:priority:normal>.  So we're deliberately failing to
> distinguish "priority:normal" from the default priority.
>
> If the device receives<urn:alert:priority:low>, the sort is:
>
> 	low
> 	default
>
> Excluded:
> 	high
>
> and signal "low" is chosen.
>
> Similarly, if the device receives<urn:alert:priority:high>, signal
> "high" is chosen.
>
> If the device receives<urn:alert:priority:normal>, the sort is:
>
> 	default
>
> Excluded:
> 	low
> 	high
>
> and signal "default" is chosen.
>
> If no "priority" URN is received, "default" will be put before "low"
> and "high" by the final sort, and so it will be chosen.
>
> Dale
> _______________________________________________
> salud mailing list
> salud@ietf.org
> https://www.ietf.org/mailman/listinfo/salud
>


From dworley@avaya.com  Mon Oct  3 12:49:45 2011
Return-Path: <dworley@avaya.com>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3A4D21F8E2D for <salud@ietfa.amsl.com>; Mon,  3 Oct 2011 12:49:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.457
X-Spam-Level: 
X-Spam-Status: No, score=-103.457 tagged_above=-999 required=5 tests=[AWL=0.142, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V7Woj-+mk9hO for <salud@ietfa.amsl.com>; Mon,  3 Oct 2011 12:49:44 -0700 (PDT)
Received: from de307622-de-outbound.net.avaya.com (de307622-de-outbound.net.avaya.com [198.152.71.100]) by ietfa.amsl.com (Postfix) with ESMTP id 42FFD21F8E2E for <salud@ietf.org>; Mon,  3 Oct 2011 12:49:44 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAEgRik7GmAcF/2dsb2JhbABDDqd1gQWBUwEBAQECARIoRAsCAQgNAQchEDIlAQEEARIIGodZnWICmwyGQGEEmSSLQ1M
X-IronPort-AV: E=Sophos;i="4.68,481,1312171200"; d="scan'208";a="270900893"
Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by de307622-de-outbound.net.avaya.com with ESMTP; 03 Oct 2011 15:52:45 -0400
Received: from unknown (HELO DC-US1HCEX4.global.avaya.com) ([135.11.52.35]) by co300216-co-erhwest-out.avaya.com with ESMTP; 03 Oct 2011 15:51:56 -0400
Received: from DC-US1MBEX4.global.avaya.com ([169.254.2.172]) by DC-US1HCEX4.global.avaya.com ([135.11.52.35]) with mapi; Mon, 3 Oct 2011 15:52:44 -0400
From: "Worley, Dale R (Dale)" <dworley@avaya.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "salud@ietf.org" <salud@ietf.org>
Date: Mon, 3 Oct 2011 15:52:45 -0400
Thread-Topic: [salud] Another algorithm for selecting a signal
Thread-Index: AcyBSX67+D4hLhp9QLKp+pESxZ9L5QAuhkAe
Message-ID: <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com>, <4E88D62E.7050007@alum.mit.edu>
In-Reply-To: <4E88D62E.7050007@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Oct 2011 19:49:45 -0000

[as individual]

> From: Paul Kyzivat [pkyzivat@alum.mit.edu]
>=20
> This sounds pretty good. Just to be clear, I assume this is just an
> example of how to do this - presumably its not normative. Right?

At this point, I've been looking at it largely as a proof-of-concept.
I only have a vague idea of what the desired properties are (what the
normative text would be).  That is why it was so important when Laura
provided an example where the previous algorithm did not provide the
desired results.

> A complication we may, or may not, want to explore is when the signals
> could represent different "media". For instance there may be separate
> audio and visual (not necessarily video) signals, and there might be
> combined audio/video signals.

Yeah, it's probably useful to mention possibilities like this.

Dale

From laura.liess.dt@googlemail.com  Fri Oct 14 06:33:18 2011
Return-Path: <laura.liess.dt@googlemail.com>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 33F8821F86DD for <salud@ietfa.amsl.com>; Fri, 14 Oct 2011 06:33:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9M-U4DVgTmdK for <salud@ietfa.amsl.com>; Fri, 14 Oct 2011 06:33:17 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by ietfa.amsl.com (Postfix) with ESMTP id 48CAD21F8B3D for <salud@ietf.org>; Fri, 14 Oct 2011 06:33:17 -0700 (PDT)
Received: by wwf22 with SMTP id 22so2379373wwf.13 for <salud@ietf.org>; Fri, 14 Oct 2011 06:33:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=kG0vcLDTpXtD1g2fq4XG6V00Oeir2fFcM3RkPyH5xCI=; b=lam7WnLB2cykdCDeihQ0vFq4JBMgs4si6vGvs+/OLK85zH3aJnixamQVoRhw6Q+EPZ Af+eKLRvHSEldSR5V2TsQK42t3veOyTCUYmCGRGqoKGGqfWTHuMYl889zoqkt/ZIhcYb 1MRSVy2bWdNuUMartJjG71XE3PO8s13SbBI5I=
MIME-Version: 1.0
Received: by 10.227.61.6 with SMTP id r6mr3033407wbh.37.1318599194749; Fri, 14 Oct 2011 06:33:14 -0700 (PDT)
Received: by 10.227.127.79 with HTTP; Fri, 14 Oct 2011 06:33:13 -0700 (PDT)
In-Reply-To: <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com> <4E88D62E.7050007@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>
Date: Fri, 14 Oct 2011 15:33:13 +0200
Message-ID: <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com>
From: Laura Liess <laura.liess.dt@googlemail.com>
To: "Worley, Dale R (Dale)" <dworley@avaya.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "salud@ietf.org" <salud@ietf.org>
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Oct 2011 13:33:18 -0000

Hi,


2011/10/3 Worley, Dale R (Dale) <dworley@avaya.com>:
> [as individual]
>
>> From: Paul Kyzivat [pkyzivat@alum.mit.edu]
>>
>> This sounds pretty good. Just to be clear, I assume this is just an
>> example of how to do this - presumably its not normative. Right?
>
> At this point, I've been looking at it largely as a proof-of-concept.
> I only have a vague idea of what the desired properties are (what the
> normative text would be).

Looking at the requirements Dale already sent to the list
http://www.ietf.org/mail-archive/web/salud/current/msg00152.html, I
think we just need one more rule, which covers the case when the UA
did not receive any indication for a given signal propriety. This is a
first text proposal:  "In case the UA has more than one signals left
and those signals correspond to different value a propriety for which
no Alert-Info URN was received, the UA must choose the signal (s)
corresponding to the  value which is UA's "default" value for this
propriety."

Maybe you see a better way to describe this requirement?

Thanks a lot
Laura





>=A0That is why it was so important when Laura
> provided an example where the previous algorithm did not provide the
> desired results.
>
>> A complication we may, or may not, want to explore is when the signals
>> could represent different "media". For instance there may be separate
>> audio and visual (not necessarily video) signals, and there might be
>> combined audio/video signals.
>
> Yeah, it's probably useful to mention possibilities like this.
>
> Dale
> _______________________________________________
> salud mailing list
> salud@ietf.org
> https://www.ietf.org/mailman/listinfo/salud
>

From dworley@avaya.com  Thu Oct 27 14:09:31 2011
Return-Path: <dworley@avaya.com>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D92FC21F88A0 for <salud@ietfa.amsl.com>; Thu, 27 Oct 2011 14:09:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.865
X-Spam-Level: 
X-Spam-Status: No, score=-102.865 tagged_above=-999 required=5 tests=[AWL=-0.466, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, J_CHICKENPOX_84=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ltivdQbn10QP for <salud@ietfa.amsl.com>; Thu, 27 Oct 2011 14:09:30 -0700 (PDT)
Received: from co300216-co-outbound.net.avaya.com (co300216-co-outbound.net.avaya.com [198.152.13.100]) by ietfa.amsl.com (Postfix) with ESMTP id 05A9321F85CE for <salud@ietf.org>; Thu, 27 Oct 2011 14:09:26 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EADHIqU6HCzI1/2dsb2JhbABDDqlSgQWBcgEBAQEDEig/EAIBCA0pEDIlAQEEAQ0NGqEam1qIHWEEmVmLXFM
X-IronPort-AV: E=Sophos;i="4.69,414,1315195200"; d="scan'208";a="311468220"
Received: from unknown (HELO p-us1-erheast.us1.avaya.com) ([135.11.50.53]) by co300216-co-outbound.net.avaya.com with ESMTP; 27 Oct 2011 17:09:00 -0400
Received: from unknown (HELO DC-US1HCEX3.global.avaya.com) ([135.11.52.22]) by p-us1-erheast-out.us1.avaya.com with ESMTP; 27 Oct 2011 16:58:18 -0400
Received: from DC-US1MBEX4.global.avaya.com ([169.254.1.55]) by DC-US1HCEX3.global.avaya.com ([135.11.52.22]) with mapi; Thu, 27 Oct 2011 17:08:59 -0400
From: "Worley, Dale R (Dale)" <dworley@avaya.com>
To: Laura Liess <laura.liess.dt@googlemail.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>
Date: Thu, 27 Oct 2011 17:07:50 -0400
Thread-Topic: [salud] Another algorithm for selecting a signal
Thread-Index: AcyKddhSY9DBaFY1Q7CzUTvdCSWdYQKdqOMM
Message-ID: <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com> <4E88D62E.7050007@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>, <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com>
In-Reply-To: <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "salud@ietf.org" <salud@ietf.org>
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Oct 2011 21:09:31 -0000

[as individual]

Rewriting and expanding my message of 19 Aug (msg00152):

This version integrates Laura's suggestion (14 Oct, msg00170) of a
third requirement to prefer signals that mean the default value of a
property if the URNs specify no value for that property.  I've
generalized this to "if you can, select a signal that is no more
specific in any way than was required by the URNs".

This third requirement seems to me to be desirable, and the example
algorithm follows this third requirement.

This version follows this approach:

- Normatively, state a few requirements that the process of interpreting UR=
Ns
  must follow.  I believe that we can keep these principles to a small numb=
er,
  probably five or fewer.

- Non-normatively, provide an algorithm whose results satisfy the
  requirements.  This algorithm would be similar to the one I stated
  previously, with additions to handle situations like the one you
  proposed.  An example algorithm (1) proves that the normative
  requirements can be met, and (2) provides an initial implementation
  for manufacturers.

The proposed requirements are:

- Each alert-info URN has precedence over all URNs that follow it, and
  its interpretation is subordinate to all URNs that precede it.

- If the UA cannot implement the effect of a URN (because it does not
  recognize the URN or the URN's effect is precluded by
  higher-precedence, preceding URNs), the UA removes the final
  "name" of the URN repeatedly until either (1) the resulting URN is
  recognized and can be given effect by some signal (without reducing
  the degree of expression of any preceding URN), or (2) the resulting
  URN is reduced to having no "names".  In case (2), that URN in the
  series cannot be given effect, so it is ignored.

- In case that after processing all the URNs, the UA can generate more
  than one signal that are equally effective at expressing the URNs
  (under the preceding rules), one of those signals is selected.  When
  selecting from the set of equally effective signals, any particular
  signal is preferred over all signals that are more specific (in
  regard to the defined meaning of the signal to the user) than that
  particular signal.  (E.g., if each signal expresses a set of
  alert-indications (values) for a set of alert-categories (per the
  BNF), then a first signal is more specific than a second signal if
  the second signal's alert-indications are (partial or complete)
  initial portions of the first signal's corresponding
  alert-indications.)

The proposed non-normative example implementation is:  (This is copied
with small changes from my message of 29 Sep (msg00164).  The examples
in that message are omitted here.)

  For each feature, there is a tree of possible values.  For this
  description, we will name each tree by the feature name, and name each
  node by the trailing portion of the URN.  Each URN thus corresponds to a
  node in a feature tree.  Thus, there is a tree named "source", whose
  root node is also named "source", and which has the children
  source:internal, source:external, source:friend, and source:family
  (according to the -02 draft).

  For example, the URN <urn:alert:source:external> is placed at the node
  "source:external" in the "source" tree.

  (Of course, there are an infinite number of potential additional nodes
  in the tree for private values, but we don't have to represent those
  nodes explicitly unless the device has a signal representing the
  private value.)

  We assign similar locations to signals, but each signal has a place in
  *every* tree.  If a signal has a simple meaning, such as "external
  source", its place in the "source" tree is source:external, but its
  place in every other feature tree is at the root node, meaning that it
  has no particular meaning for that feature.

  A signal that has a complex meaning may have non-root positions in
  more than one feature tree.  For example, an "external, high
  priority" signal would be placed at source:external and
  priority:high in those trees, but be at the root in all other
  feature trees.

  In order to assure that the algorithm always selects at least one
  signal, we assume that there is a "default" signal, whose position in
  every feature tree is at the root.  The default signal is set up so
  that it will never be excluded from the set of acceptable signals for
  an indication, but will usually be the least-desirable signal for any
  indication.

  The algorithm proceeds by considering each URN in the indication from
  left to right, while revising a set of signals.  The set of signals
  starts as the entire set of signals available to the device.  Each URN
  excludes some signals from the set, and *sorts* the signals that
  remain in the set according to how well they represent the URN.  The
  first URN is the "major sort", and has the most influence on the
  position of a signal in the set.  The second URN is a "minor sort", in
  that it arranges the orders of the signals that are tied within the
  first sort, the third URN arranges the orders of the signals that are
  tied within the first two sorts, etc.

  At the end of the algorithm, a final, "most minor" sort is done, which
  orders the signals which have been tied under all the sorts driven by
  the URNs.  This sort places the least specific signal *first*.

  Once all the URNs are processed and the sorting is done, the device
  selects the first signal in the set.

  Here is how a single sort step proceeds, examining a single URN to
  modify the set of signals (by excluding some signals and further
  sorting the signals that remain):

    The URN is at a specific node in a specific feature tree.

    All signals in the set whose positions are ancestor nodes of the
    URN are kept; all other signals are removed from the set.

    Within any group of signals that are tied under previous sorts, place
    first those which are at the node of the URN, place second those which
    are at the parent node of the URN, etc., and place last those which
    are at the root node of the feature tree.

(The terminology is not consistent.  E.g., I've used "feature",
"property", and "alert-category" for the same thing.)

Dale

From pkyzivat@alum.mit.edu  Thu Oct 27 15:14:05 2011
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4AA11F0C5B for <salud@ietfa.amsl.com>; Thu, 27 Oct 2011 15:14:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.437
X-Spam-Level: 
X-Spam-Status: No, score=-1.437 tagged_above=-999 required=5 tests=[AWL=-0.638, BAYES_00=-2.599, J_CHICKENPOX_55=0.6, J_CHICKENPOX_66=0.6, J_CHICKENPOX_84=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MjcEy0R8hpgQ for <salud@ietfa.amsl.com>; Thu, 27 Oct 2011 15:14:05 -0700 (PDT)
Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by ietfa.amsl.com (Postfix) with ESMTP id E8CA11F0C3D for <salud@ietf.org>; Thu, 27 Oct 2011 15:14:04 -0700 (PDT)
Received: from omta15.westchester.pa.mail.comcast.net ([76.96.62.87]) by QMTA11.westchester.pa.mail.comcast.net with comcast id py6N1h0031swQuc5ByE5tE; Thu, 27 Oct 2011 22:14:05 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([24.62.109.41]) by omta15.westchester.pa.mail.comcast.net with comcast id pyE41h04A0tdiYw3byE55A; Thu, 27 Oct 2011 22:14:05 +0000
Message-ID: <4EA9D7AA.2070802@alum.mit.edu>
Date: Thu, 27 Oct 2011 18:14:02 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: "Worley, Dale R (Dale)" <dworley@avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com> <4E88D62E.7050007@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>, <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com> <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>
In-Reply-To: <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "salud@ietf.org" <salud@ietf.org>
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Oct 2011 22:14:06 -0000

On 10/27/11 5:07 PM, Worley, Dale R (Dale) wrote:
> [as individual]
>
> Rewriting and expanding my message of 19 Aug (msg00152):
>
> This version integrates Laura's suggestion (14 Oct, msg00170) of a
> third requirement to prefer signals that mean the default value of a
> property if the URNs specify no value for that property.  I've
> generalized this to "if you can, select a signal that is no more
> specific in any way than was required by the URNs".

I think this strategy will work.

> This third requirement seems to me to be desirable, and the example
> algorithm follows this third requirement.
>
> This version follows this approach:
>
> - Normatively, state a few requirements that the process of interpreting URNs
>    must follow.  I believe that we can keep these principles to a small number,
>    probably five or fewer.
>
> - Non-normatively, provide an algorithm whose results satisfy the
>    requirements.  This algorithm would be similar to the one I stated
>    previously, with additions to handle situations like the one you
>    proposed.  An example algorithm (1) proves that the normative
>    requirements can be met, and (2) provides an initial implementation
>    for manufacturers.

This seems good.

> The proposed requirements are:
>
> - Each alert-info URN has precedence over all URNs that follow it, and
>    its interpretation is subordinate to all URNs that precede it.
>
> - If the UA cannot implement the effect of a URN (because it does not
>    recognize the URN or the URN's effect is precluded by
>    higher-precedence, preceding URNs), the UA removes the final
>    "name" of the URN repeatedly until either (1) the resulting URN is
>    recognized and can be given effect by some signal (without reducing
>    the degree of expression of any preceding URN), or (2) the resulting
>    URN is reduced to having no "names".  In case (2), that URN in the
>    series cannot be given effect, so it is ignored.
>
> - In case that after processing all the URNs, the UA can generate more
>    than one signal that are equally effective at expressing the URNs
>    (under the preceding rules), one of those signals is selected.  When
>    selecting from the set of equally effective signals, any particular
>    signal is preferred over all signals that are more specific (in
>    regard to the defined meaning of the signal to the user) than that
>    particular signal.  (E.g., if each signal expresses a set of
>    alert-indications (values) for a set of alert-categories (per the
>    BNF), then a first signal is more specific than a second signal if
>    the second signal's alert-indications are (partial or complete)
>    initial portions of the first signal's corresponding
>    alert-indications.)

I think what is missing from here is the possibility that more than one 
signal can be selected. E.g. there may be a set of audio signals, and a 
set of graphic (I hesitate to say video) signals. It could be possible 
to render one of each without conflict. For that matter, it may be 
possible to render more than one of the same type, or not.

(Audio signals that are intended to be played repeatedly are probably 
mutually exclusive. Audio signals that are played once could conceivably 
be rendered in sequence. "Graphic" signals may be mutually exclusive if 
they are rendered to a fixed position and remain displayed. If they are 
sequential data that can be rendered in a larger field they might also 
be rendered in sequence. An audio+video signal may be mutually exclusive 
with other audio signals and graphic signals that render into the same 
space as the video.)

For instance, this would allow having one or a few general purpose audio 
signals together with a much more specific set of graphic (e.g. text) 
signals. Then the audio signal will get your attention, and you can look 
at the graphic for more detail.

> The proposed non-normative example implementation is:  (This is copied
> with small changes from my message of 29 Sep (msg00164).  The examples
> in that message are omitted here.)
>
>    For each feature, there is a tree of possible values.  For this
>    description, we will name each tree by the feature name, and name each
>    node by the trailing portion of the URN.  Each URN thus corresponds to a
>    node in a feature tree.  Thus, there is a tree named "source", whose
>    root node is also named "source", and which has the children
>    source:internal, source:external, source:friend, and source:family
>    (according to the -02 draft).
>
>    For example, the URN<urn:alert:source:external>  is placed at the node
>    "source:external" in the "source" tree.
>
>    (Of course, there are an infinite number of potential additional nodes
>    in the tree for private values, but we don't have to represent those
>    nodes explicitly unless the device has a signal representing the
>    private value.)
>
>    We assign similar locations to signals, but each signal has a place in
>    *every* tree.  If a signal has a simple meaning, such as "external
>    source", its place in the "source" tree is source:external, but its
>    place in every other feature tree is at the root node, meaning that it
>    has no particular meaning for that feature.
>
>    A signal that has a complex meaning may have non-root positions in
>    more than one feature tree.  For example, an "external, high
>    priority" signal would be placed at source:external and
>    priority:high in those trees, but be at the root in all other
>    feature trees.
>
>    In order to assure that the algorithm always selects at least one
>    signal, we assume that there is a "default" signal, whose position in
>    every feature tree is at the root.  The default signal is set up so
>    that it will never be excluded from the set of acceptable signals for
>    an indication, but will usually be the least-desirable signal for any
>    indication.
>
>    The algorithm proceeds by considering each URN in the indication from
>    left to right, while revising a set of signals.  The set of signals
>    starts as the entire set of signals available to the device.  Each URN
>    excludes some signals from the set, and *sorts* the signals that
>    remain in the set according to how well they represent the URN.  The
>    first URN is the "major sort", and has the most influence on the
>    position of a signal in the set.  The second URN is a "minor sort", in
>    that it arranges the orders of the signals that are tied within the
>    first sort, the third URN arranges the orders of the signals that are
>    tied within the first two sorts, etc.
>
>    At the end of the algorithm, a final, "most minor" sort is done, which
>    orders the signals which have been tied under all the sorts driven by
>    the URNs.  This sort places the least specific signal *first*.
>
>    Once all the URNs are processed and the sorting is done, the device
>    selects the first signal in the set.
>
>    Here is how a single sort step proceeds, examining a single URN to
>    modify the set of signals (by excluding some signals and further
>    sorting the signals that remain):
>
>      The URN is at a specific node in a specific feature tree.
>
>      All signals in the set whose positions are ancestor nodes of the
>      URN are kept; all other signals are removed from the set.

All signals in the set positioned at that node, or an ancestor node of 
the URN are kept; ...

>      Within any group of signals that are tied under previous sorts, place

I don't understand the initial sort state. Are all signals initially 
tied? (Except perhaps for the default signal.)

>      first those which are at the node of the URN, place second those which
>      are at the parent node of the URN, etc., and place last those which
>      are at the root node of the feature tree.

This doesn't handle non-conflicting signals. How about the following to 
extend it:

After applying this algorithm and selecting a signal, go back to the 
original tree, and remove all signals that conflict with this one. Then 
repeat the algorithm. If it yields another signal, select that one also, 
and repeat again.

(Obviously this is an inefficient algorithm, but it may be enough as a 
proof of concept. Certainly implementers can find a more optimal one. 
And if they only have audio alerts they don't need to bother.)

	Thanks,
	Paul

> (The terminology is not consistent.  E.g., I've used "feature",
> "property", and "alert-category" for the same thing.)
>
> Dale
>


From laura.liess.dt@googlemail.com  Fri Oct 28 06:16:51 2011
Return-Path: <laura.liess.dt@googlemail.com>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C183D21F8B5D for <salud@ietfa.amsl.com>; Fri, 28 Oct 2011 06:16:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.377
X-Spam-Level: 
X-Spam-Status: No, score=-2.377 tagged_above=-999 required=5 tests=[AWL=-0.600, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_66=0.6, J_CHICKENPOX_84=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SzPmVF-IBC3a for <salud@ietfa.amsl.com>; Fri, 28 Oct 2011 06:16:50 -0700 (PDT)
Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by ietfa.amsl.com (Postfix) with ESMTP id 1C58A21F8A67 for <salud@ietf.org>; Fri, 28 Oct 2011 06:16:49 -0700 (PDT)
Received: by wwn22 with SMTP id 22so2283206wwn.1 for <salud@ietf.org>; Fri, 28 Oct 2011 06:16:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vu3u/RmIv7j7TyC1ZOyBuTiFK7DeH9i1Lii6nzQYfjY=; b=k3VvFc47z3ojV/CiWiJnZn8U18LfCIbItdo+DLct2hr8Sh/fdTBD65Cqt3M6J2ZK/z A9X7gGA94sMIS+zI93drPN+A6Fyut3ZYTWEt1zzIUR9ChEM1iCj/yLCMT1xnYzoeT/bQ KNaD1kLnr0fUmHRU5Z3SL7WmTFAonXsFCoyFo=
MIME-Version: 1.0
Received: by 10.227.202.143 with SMTP id fe15mr3757525wbb.25.1319807809239; Fri, 28 Oct 2011 06:16:49 -0700 (PDT)
Received: by 10.227.37.89 with HTTP; Fri, 28 Oct 2011 06:16:49 -0700 (PDT)
In-Reply-To: <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com> <4E88D62E.7050007@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com> <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com> <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>
Date: Fri, 28 Oct 2011 15:16:49 +0200
Message-ID: <CACWXZj2PdkCcnbmdPk4=5+9AhggT4vGVE+3vGM9D46CTinzXRA@mail.gmail.com>
From: Laura Liess <laura.liess.dt@googlemail.com>
To: "Worley, Dale R (Dale)" <dworley@avaya.com>
Content-Type: multipart/alternative; boundary=0015175923eca43c4b04b05bb3a1
Cc: "salud@ietf.org" <salud@ietf.org>
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Oct 2011 13:16:51 -0000

--0015175923eca43c4b04b05bb3a1
Content-Type: text/plain; charset=ISO-8859-1

2011/10/27 Worley, Dale R (Dale) <dworley@avaya.com>

> [as individual]
>
> Rewriting and expanding my message of 19 Aug (msg00152):
>
> This version integrates Laura's suggestion (14 Oct, msg00170) of a
> third requirement to prefer signals that mean the default value of a
> property if the URNs specify no value for that property.  I've
> generalized this to "if you can, select a signal that is no more
> specific in any way than was required by the URNs".
>

Yes, this seems  much better to me.

Laura


>
> This third requirement seems to me to be desirable, and the example
> algorithm follows this third requirement.
>
> This version follows this approach:
>
> - Normatively, state a few requirements that the process of interpreting
> URNs
>  must follow.  I believe that we can keep these principles to a small
> number,
>  probably five or fewer.
>
> - Non-normatively, provide an algorithm whose results satisfy the
>  requirements.  This algorithm would be similar to the one I stated
>  previously, with additions to handle situations like the one you
>  proposed.  An example algorithm (1) proves that the normative
>  requirements can be met, and (2) provides an initial implementation
>  for manufacturers.
>
> The proposed requirements are:
>
> - Each alert-info URN has precedence over all URNs that follow it, and
>  its interpretation is subordinate to all URNs that precede it.
>
> - If the UA cannot implement the effect of a URN (because it does not
>  recognize the URN or the URN's effect is precluded by
>  higher-precedence, preceding URNs), the UA removes the final
>  "name" of the URN repeatedly until either (1) the resulting URN is
>  recognized and can be given effect by some signal (without reducing
>  the degree of expression of any preceding URN), or (2) the resulting
>  URN is reduced to having no "names".  In case (2), that URN in the
>  series cannot be given effect, so it is ignored.
>
> - In case that after processing all the URNs, the UA can generate more
>  than one signal that are equally effective at expressing the URNs
>  (under the preceding rules), one of those signals is selected.  When
>  selecting from the set of equally effective signals, any particular
>  signal is preferred over all signals that are more specific (in
>  regard to the defined meaning of the signal to the user) than that
>  particular signal.  (E.g., if each signal expresses a set of
>  alert-indications (values) for a set of alert-categories (per the
>  BNF), then a first signal is more specific than a second signal if
>  the second signal's alert-indications are (partial or complete)
>  initial portions of the first signal's corresponding
>  alert-indications.)
>
> The proposed non-normative example implementation is:  (This is copied
> with small changes from my message of 29 Sep (msg00164).  The examples
> in that message are omitted here.)
>
>  For each feature, there is a tree of possible values.  For this
>  description, we will name each tree by the feature name, and name each
>   node by the trailing portion of the URN.  Each URN thus corresponds to a
>   node in a feature tree.  Thus, there is a tree named "source", whose
>  root node is also named "source", and which has the children
>  source:internal, source:external, source:friend, and source:family
>  (according to the -02 draft).
>
>  For example, the URN <urn:alert:source:external> is placed at the node
>  "source:external" in the "source" tree.
>
>  (Of course, there are an infinite number of potential additional nodes
>  in the tree for private values, but we don't have to represent those
>  nodes explicitly unless the device has a signal representing the
>  private value.)
>
>  We assign similar locations to signals, but each signal has a place in
>  *every* tree.  If a signal has a simple meaning, such as "external
>  source", its place in the "source" tree is source:external, but its
>  place in every other feature tree is at the root node, meaning that it
>  has no particular meaning for that feature.
>
>  A signal that has a complex meaning may have non-root positions in
>  more than one feature tree.  For example, an "external, high
>  priority" signal would be placed at source:external and
>   priority:high in those trees, but be at the root in all other
>   feature trees.
>
>  In order to assure that the algorithm always selects at least one
>  signal, we assume that there is a "default" signal, whose position in
>  every feature tree is at the root.  The default signal is set up so
>  that it will never be excluded from the set of acceptable signals for
>  an indication, but will usually be the least-desirable signal for any
>  indication.
>
>  The algorithm proceeds by considering each URN in the indication from
>  left to right, while revising a set of signals.  The set of signals
>  starts as the entire set of signals available to the device.  Each URN
>  excludes some signals from the set, and *sorts* the signals that
>  remain in the set according to how well they represent the URN.  The
>  first URN is the "major sort", and has the most influence on the
>  position of a signal in the set.  The second URN is a "minor sort", in
>  that it arranges the orders of the signals that are tied within the
>  first sort, the third URN arranges the orders of the signals that are
>  tied within the first two sorts, etc.
>
>  At the end of the algorithm, a final, "most minor" sort is done, which
>  orders the signals which have been tied under all the sorts driven by
>  the URNs.  This sort places the least specific signal *first*.
>
>  Once all the URNs are processed and the sorting is done, the device
>  selects the first signal in the set.
>
>   Here is how a single sort step proceeds, examining a single URN to
>  modify the set of signals (by excluding some signals and further
>  sorting the signals that remain):
>
>    The URN is at a specific node in a specific feature tree.
>
>     All signals in the set whose positions are ancestor nodes of the
>     URN are kept; all other signals are removed from the set.
>
>    Within any group of signals that are tied under previous sorts, place
>    first those which are at the node of the URN, place second those which
>    are at the parent node of the URN, etc., and place last those which
>    are at the root node of the feature tree.
>
> (The terminology is not consistent.  E.g., I've used "feature",
> "property", and "alert-category" for the same thing.)
>
> Dale
>

--0015175923eca43c4b04b05bb3a1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">2011/10/27 Worley, Dale R (Dale) <span dir=
=3D"ltr">&lt;<a href=3D"mailto:dworley@avaya.com">dworley@avaya.com</a>&gt;=
</span><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex;">
[as individual]<br>
<br>
Rewriting and expanding my message of 19 Aug (msg00152):<br>
<br>
This version integrates Laura&#39;s suggestion (14 Oct, msg00170) of a<br>
third requirement to prefer signals that mean the default value of a<br>
property if the URNs specify no value for that property. =A0I&#39;ve<br>
generalized this to &quot;if you can, select a signal that is no more<br>
specific in any way than was required by the URNs&quot;.<br></blockquote><d=
iv><br>Yes, this seems=A0 much better to me.<br><br>Laura=A0 <br>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border=
-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
This third requirement seems to me to be desirable, and the example<br>
algorithm follows this third requirement.<br>
<br>
This version follows this approach:<br>
<br>
- Normatively, state a few requirements that the process of interpreting UR=
Ns<br>
 =A0must follow. =A0I believe that we can keep these principles to a small =
number,<br>
 =A0probably five or fewer.<br>
<br>
- Non-normatively, provide an algorithm whose results satisfy the<br>
 =A0requirements. =A0This algorithm would be similar to the one I stated<br=
>
 =A0previously, with additions to handle situations like the one you<br>
 =A0proposed. =A0An example algorithm (1) proves that the normative<br>
 =A0requirements can be met, and (2) provides an initial implementation<br>
 =A0for manufacturers.<br>
<br>
The proposed requirements are:<br>
<br>
- Each alert-info URN has precedence over all URNs that follow it, and<br>
 =A0its interpretation is subordinate to all URNs that precede it.<br>
<br>
- If the UA cannot implement the effect of a URN (because it does not<br>
 =A0recognize the URN or the URN&#39;s effect is precluded by<br>
 =A0higher-precedence, preceding URNs), the UA removes the final<br>
 =A0&quot;name&quot; of the URN repeatedly until either (1) the resulting U=
RN is<br>
 =A0recognized and can be given effect by some signal (without reducing<br>
 =A0the degree of expression of any preceding URN), or (2) the resulting<br=
>
 =A0URN is reduced to having no &quot;names&quot;. =A0In case (2), that URN=
 in the<br>
 =A0series cannot be given effect, so it is ignored.<br>
<br>
- In case that after processing all the URNs, the UA can generate more<br>
 =A0than one signal that are equally effective at expressing the URNs<br>
 =A0(under the preceding rules), one of those signals is selected. =A0When<=
br>
 =A0selecting from the set of equally effective signals, any particular<br>
 =A0signal is preferred over all signals that are more specific (in<br>
 =A0regard to the defined meaning of the signal to the user) than that<br>
 =A0particular signal. =A0(E.g., if each signal expresses a set of<br>
 =A0alert-indications (values) for a set of alert-categories (per the<br>
 =A0BNF), then a first signal is more specific than a second signal if<br>
 =A0the second signal&#39;s alert-indications are (partial or complete)<br>
 =A0initial portions of the first signal&#39;s corresponding<br>
 =A0alert-indications.)<br>
<br>
The proposed non-normative example implementation is: =A0(This is copied<br=
>
with small changes from my message of 29 Sep (msg00164). =A0The examples<br=
>
in that message are omitted here.)<br>
<div class=3D"im"><br>
 =A0For each feature, there is a tree of possible values. =A0For this<br>
 =A0description, we will name each tree by the feature name, and name each<=
br>
</div> =A0node by the trailing portion of the URN. =A0Each URN thus corresp=
onds to a<br>
<div class=3D"im"> =A0node in a feature tree. =A0Thus, there is a tree name=
d &quot;source&quot;, whose<br>
 =A0root node is also named &quot;source&quot;, and which has the children<=
br>
 =A0source:internal, source:external, source:friend, and source:family<br>
 =A0(according to the -02 draft).<br>
<br>
 =A0For example, the URN &lt;urn:alert:source:external&gt; is placed at the=
 node<br>
 =A0&quot;source:external&quot; in the &quot;source&quot; tree.<br>
<br>
 =A0(Of course, there are an infinite number of potential additional nodes<=
br>
 =A0in the tree for private values, but we don&#39;t have to represent thos=
e<br>
 =A0nodes explicitly unless the device has a signal representing the<br>
 =A0private value.)<br>
<br>
 =A0We assign similar locations to signals, but each signal has a place in<=
br>
 =A0*every* tree. =A0If a signal has a simple meaning, such as &quot;extern=
al<br>
 =A0source&quot;, its place in the &quot;source&quot; tree is source:extern=
al, but its<br>
 =A0place in every other feature tree is at the root node, meaning that it<=
br>
 =A0has no particular meaning for that feature.<br>
<br>
 =A0A signal that has a complex meaning may have non-root positions in<br>
 =A0more than one feature tree. =A0For example, an &quot;external, high<br>
 =A0priority&quot; signal would be placed at source:external and<br>
</div> =A0priority:high in those trees, but be at the root in all other<br>
<div class=3D"im"> =A0feature trees.<br>
<br>
 =A0In order to assure that the algorithm always selects at least one<br>
 =A0signal, we assume that there is a &quot;default&quot; signal, whose pos=
ition in<br>
 =A0every feature tree is at the root. =A0The default signal is set up so<b=
r>
 =A0that it will never be excluded from the set of acceptable signals for<b=
r>
 =A0an indication, but will usually be the least-desirable signal for any<b=
r>
 =A0indication.<br>
<br>
 =A0The algorithm proceeds by considering each URN in the indication from<b=
r>
 =A0left to right, while revising a set of signals. =A0The set of signals<b=
r>
 =A0starts as the entire set of signals available to the device. =A0Each UR=
N<br>
 =A0excludes some signals from the set, and *sorts* the signals that<br>
 =A0remain in the set according to how well they represent the URN. =A0The<=
br>
 =A0first URN is the &quot;major sort&quot;, and has the most influence on =
the<br>
 =A0position of a signal in the set. =A0The second URN is a &quot;minor sor=
t&quot;, in<br>
 =A0that it arranges the orders of the signals that are tied within the<br>
 =A0first sort, the third URN arranges the orders of the signals that are<b=
r>
 =A0tied within the first two sorts, etc.<br>
<br>
 =A0At the end of the algorithm, a final, &quot;most minor&quot; sort is do=
ne, which<br>
 =A0orders the signals which have been tied under all the sorts driven by<b=
r>
 =A0the URNs. =A0This sort places the least specific signal *first*.<br>
<br>
 =A0Once all the URNs are processed and the sorting is done, the device<br>
 =A0selects the first signal in the set.<br>
<br>
</div> =A0Here is how a single sort step proceeds, examining a single URN t=
o<br>
 =A0modify the set of signals (by excluding some signals and further<br>
 =A0sorting the signals that remain):<br>
<div class=3D"im"><br>
 =A0 =A0The URN is at a specific node in a specific feature tree.<br>
<br>
</div> =A0 =A0All signals in the set whose positions are ancestor nodes of =
the<br>
<div class=3D"im"> =A0 =A0URN are kept; all other signals are removed from =
the set.<br>
<br>
 =A0 =A0Within any group of signals that are tied under previous sorts, pla=
ce<br>
 =A0 =A0first those which are at the node of the URN, place second those wh=
ich<br>
 =A0 =A0are at the parent node of the URN, etc., and place last those which=
<br>
 =A0 =A0are at the root node of the feature tree.<br>
<br>
</div>(The terminology is not consistent. =A0E.g., I&#39;ve used &quot;feat=
ure&quot;,<br>
&quot;property&quot;, and &quot;alert-category&quot; for the same thing.)<b=
r>
<font color=3D"#888888"><br>
Dale<br>
</font></blockquote></div><br>

--0015175923eca43c4b04b05bb3a1--

From dworley@avaya.com  Fri Oct 28 12:19:05 2011
Return-Path: <dworley@avaya.com>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD4951F0C38 for <salud@ietfa.amsl.com>; Fri, 28 Oct 2011 12:19:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.638
X-Spam-Level: 
X-Spam-Status: No, score=-102.638 tagged_above=-999 required=5 tests=[AWL=-0.639, BAYES_00=-2.599, J_CHICKENPOX_55=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N9GOkDoGG5-O for <salud@ietfa.amsl.com>; Fri, 28 Oct 2011 12:19:05 -0700 (PDT)
Received: from p-us1-iereast-outbound.us1.avaya.com (p-us1-iereast-outbound.us1.avaya.com [135.11.29.13]) by ietfa.amsl.com (Postfix) with ESMTP id BE2481F0C34 for <salud@ietf.org>; Fri, 28 Oct 2011 12:19:04 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAPz+qk7GmAcF/2dsb2JhbABCDqlYgQWBcgEBAQECARIoPwULAgEIDQEHIRAyJQEBBA4FCBqHYAiYX5sriCJhBJlai1xT
X-IronPort-AV: E=Sophos;i="4.69,420,1315195200"; d="scan'208";a="215234600"
Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by p-us1-iereast-outbound.us1.avaya.com with ESMTP; 28 Oct 2011 15:18:53 -0400
Received: from unknown (HELO DC-US1HCEX3.global.avaya.com) ([135.11.52.22]) by co300216-co-erhwest-out.avaya.com with ESMTP; 28 Oct 2011 15:16:39 -0400
Received: from DC-US1MBEX4.global.avaya.com ([169.254.1.55]) by DC-US1HCEX3.global.avaya.com ([135.11.52.22]) with mapi; Fri, 28 Oct 2011 15:18:52 -0400
From: "Worley, Dale R (Dale)" <dworley@avaya.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Date: Fri, 28 Oct 2011 15:18:52 -0400
Thread-Topic: [salud] Another algorithm for selecting a signal
Thread-Index: AcyU9cvOAI0TA0zWQZG62sTT5PjQOQArexnX
Message-ID: <CD5674C3CD99574EBA7432465FC13C1B225CA60109@DC-US1MBEX4.global.avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com> <4E88D62E.7050007@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>, <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com> <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>, <4EA9D7AA.2070802@alum.mit.edu>
In-Reply-To: <4EA9D7AA.2070802@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "salud@ietf.org" <salud@ietf.org>
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Oct 2011 19:19:05 -0000

> From: Paul Kyzivat [pkyzivat@alum.mit.edu]
>=20
> I think what is missing from here is the possibility that more than one
> signal can be selected. E.g. there may be a set of audio signals, and a
> set of graphic (I hesitate to say video) signals. It could be possible
> to render one of each without conflict. For that matter, it may be
> possible to render more than one of the same type, or not.
>=20
> (Audio signals that are intended to be played repeatedly are probably
> mutually exclusive. Audio signals that are played once could conceivably
> be rendered in sequence. "Graphic" signals may be mutually exclusive if
> they are rendered to a fixed position and remain displayed. If they are
> sequential data that can be rendered in a larger field they might also
> be rendered in sequence. An audio+video signal may be mutually exclusive
> with other audio signals and graphic signals that render into the same
> space as the video.)
>=20
> For instance, this would allow having one or a few general purpose audio
> signals together with a much more specific set of graphic (e.g. text)
> signals. Then the audio signal will get your attention, and you can look
> at the graphic for more detail.

This is a good point.  But within the terminology we've been using, if
several different signals can be rendered at once, it isn't a set of
signals, but one signal which has a set of sensory components.

E.g., if the device generates audio signals and visual signals at the
same time, each "signal" (in the sense we've been using the term) is a
combination of one audio and one visual component.

The algorithms as we have been discussing them would work correctly,
within the context that the input set of signals is a set of *pairs*,
each pair containing an audio component and a visual component, and
the input set of pairs contains all possible pairs of audio and visual
components.

Once you trace through an ocean of details, any of the algorithms we
have discussed has this interesting property:  Running the algorithm
on the set of "paired" signals gives the same results as running the
algorithm twice, once on the audio signals and once on the visual
signals.

> > [...]
> >      The URN is at a specific node in a specific feature tree.
> >
> >      All signals in the set whose positions are ancestor nodes of the
> >      URN are kept; all other signals are removed from the set.
>=20
> All signals in the set positioned at that node, or an ancestor node of
> the URN are kept; ...

Yes, that corrects it.

> >      Within any group of signals that are tied under previous sorts, pl=
ace
>=20
> I don't understand the initial sort state. Are all signals initially
> tied?

Yes, because they haven't yet been put into an order by a key.

The concept I am assuming is the idea of sorting by multiple keys, a
major key, a second-major key, etc.,... down to a minor key.  Compare
to several -k options given to the Unix 'sort' program.

Each URN provides one "key" for sorting.  In the result of the overall
sort, the relative order of two items is determined by the first (most
major) of the keys that does not consider the items tied.

In practice, if the sorting algorithm we use is stable (does not
change the ordering of tied items from input to output; see
http://en.wikipedia.org/wiki/Sorting_algorithm#Stability), then one
can implement in this way:

Starting from the *last* sort (the final tie-breaker) and going to the
*first* sort, first execute the selection implied by the URN and then
sort the remaining items as implied by the URN.

(One can also separate the selection and sort steps, as the ordering
of the selection steps does not matter.)

> >      first those which are at the node of the URN, place second those w=
hich
> >      are at the parent node of the URN, etc., and place last those whic=
h
> >      are at the root node of the feature tree.
>=20
> This doesn't handle non-conflicting signals. How about the following to
> extend it:

I'm not sure what you're getting at here.  The algorithm as presented
can handle signals that are non-conflicting in various ways, but the
requirement is to select *one* signal.  I think what you're concerned
about is discussed above regarding combination-signals.

Dale

From pkyzivat@alum.mit.edu  Fri Oct 28 15:34:53 2011
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D1EA1F0C43 for <salud@ietfa.amsl.com>; Fri, 28 Oct 2011 15:34:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.059
X-Spam-Level: 
X-Spam-Status: No, score=-2.059 tagged_above=-999 required=5 tests=[AWL=-0.060, BAYES_00=-2.599, J_CHICKENPOX_55=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FXcjS-5a22NK for <salud@ietfa.amsl.com>; Fri, 28 Oct 2011 15:34:52 -0700 (PDT)
Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by ietfa.amsl.com (Postfix) with ESMTP id 1C2F41F0C34 for <salud@ietf.org>; Fri, 28 Oct 2011 15:34:46 -0700 (PDT)
Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta10.westchester.pa.mail.comcast.net with comcast id qMu61h0011uE5Es5ANanur; Fri, 28 Oct 2011 22:34:47 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([24.62.109.41]) by omta16.westchester.pa.mail.comcast.net with comcast id qNam1h01M0tdiYw3cNanft; Fri, 28 Oct 2011 22:34:47 +0000
Message-ID: <4EAB2E05.1040807@alum.mit.edu>
Date: Fri, 28 Oct 2011 18:34:45 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: "Worley, Dale R (Dale)" <dworley@avaya.com>
References: <CD5674C3CD99574EBA7432465FC13C1B222B1F5918@DC-US1MBEX4.global.avaya.com> <4E88D62E.7050007@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B222B1F5936@DC-US1MBEX4.global.avaya.com>, <CACWXZj0Jr42epHyYsDmEzx=1rG=iCTvD9giJo4VRKhr+Xrsm8Q@mail.gmail.com> <CD5674C3CD99574EBA7432465FC13C1B225CA60105@DC-US1MBEX4.global.avaya.com>, <4EA9D7AA.2070802@alum.mit.edu> <CD5674C3CD99574EBA7432465FC13C1B225CA60109@DC-US1MBEX4.global.avaya.com>
In-Reply-To: <CD5674C3CD99574EBA7432465FC13C1B225CA60109@DC-US1MBEX4.global.avaya.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "salud@ietf.org" <salud@ietf.org>
Subject: Re: [salud] Another algorithm for selecting a signal
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Oct 2011 22:34:53 -0000

On 10/28/11 3:18 PM, Worley, Dale R (Dale) wrote:
>> From: Paul Kyzivat [pkyzivat@alum.mit.edu]
>>
>> I think what is missing from here is the possibility that more than one
>> signal can be selected. E.g. there may be a set of audio signals, and a
>> set of graphic (I hesitate to say video) signals. It could be possible
>> to render one of each without conflict. For that matter, it may be
>> possible to render more than one of the same type, or not.
>>
>> (Audio signals that are intended to be played repeatedly are probably
>> mutually exclusive. Audio signals that are played once could conceivably
>> be rendered in sequence. "Graphic" signals may be mutually exclusive if
>> they are rendered to a fixed position and remain displayed. If they are
>> sequential data that can be rendered in a larger field they might also
>> be rendered in sequence. An audio+video signal may be mutually exclusive
>> with other audio signals and graphic signals that render into the same
>> space as the video.)
>>
>> For instance, this would allow having one or a few general purpose audio
>> signals together with a much more specific set of graphic (e.g. text)
>> signals. Then the audio signal will get your attention, and you can look
>> at the graphic for more detail.
>
> This is a good point.  But within the terminology we've been using, if
> several different signals can be rendered at once, it isn't a set of
> signals, but one signal which has a set of sensory components.
>
> E.g., if the device generates audio signals and visual signals at the
> same time, each "signal" (in the sense we've been using the term) is a
> combination of one audio and one visual component.
>
> The algorithms as we have been discussing them would work correctly,
> within the context that the input set of signals is a set of *pairs*,
> each pair containing an audio component and a visual component, and
> the input set of pairs contains all possible pairs of audio and visual
> components.
>
> Once you trace through an ocean of details, any of the algorithms we
> have discussed has this interesting property:  Running the algorithm
> on the set of "paired" signals gives the same results as running the
> algorithm twice, once on the audio signals and once on the visual
> signals.

Yes, what I am talking about can be handled that way.
It may be convenient to do that, or not. (There is some benefit to 
treating them separately, since the total number that need to be defined 
can be a lot less.

But ultimately it is implementers choice how to do this.
I'm happy if you simply make what you said above (one signal with a set 
of sensory components) explicit.

	Thanks,
	Paul
