semi合集-English.pdf - 第3368页
SEMI E132-0305 © SEMI 2004, 2005 21 rejected. The client’s assigned Privilege s fro m its ACLEntry are read at the ti me the session is establ ished and are assigned to the session. Subsequ ent requests using th e establ…

SEMI E132-0305 © SEMI 2004, 2005 20
Table 29 PersistSession Parameter Definitions
Parameter Description Kind Form
persist Whether or not the session should be persisted IN Boolean. If the value of this
parameter would not change
the session state (e.g.,
persist=‘true’ when the
current session is already
persistent), the equipment
shall silently ignore the
request.
error Unrecognized session. error Text, equal to unrecognized
session error, including the
bad session id.
13.2.4 SessionPing — Upon receiving this request, the equipment shall reply with its id. Ids are preconfigured and
must be the same one as used during the authentication phase. If equipment ids are not used during authentication,
then this is an identifier that shall be configurable at the equipment. See the Session Monitoring state defined in
Section 14.3.2.7, regarding behavior of established authenticated sessions in the event of ping timeouts.
Table 30 SessionPing Parameter Definitions
Parameter Description Kind Form
equipmentId Id of the equipment responding to the ping message. OUT Text, equal to the equipment
Id used in authentication
phase.
error Unrecognized session. error Text, equal to unrecognized
session error, including the
bad session id.
13.2.5 CloseSession — Upon receiving this request, the equipment shall send the SessionClosed notification (see
Section 15.1.3) to the client whose session is being closed, delete all information related to the client’s session, and
close any active connection to the client if one exists.
13.2.5.1 The established equipment security admin has the privilege to terminate or close any active session via the
CloseSession request. This admin function can be used to cleanup sessions where clients are no longer active or to
force termination of any session even when a client is still active.
Table 31 CloseSession Parameter Definitions
Parameter Description Kind Form
sessionId Identifier of the session to terminate. Only the security admin has
the privilege to terminate sessions other than its own.
IN Text, equal to the id of the
session to be terminated.
error Unrecognized session. error Text, equal to unrecognized
session error, including the
bad session id.
error Operation not authorized. Occurs only when the client has
specified a session id other than its own, and the client is not the
security admin.
error Structured data, of type
UnauthorizedOperationError,
Section 12.3.3.1.
13.2.6 EstablishSession — This operation creates a new authenticated session, sets the end point address to be used
for sending notifications to the client and establishes a session identifier. This must be the first request sent after
authentication is complete in order to create a new session, any other request is rejected with operation cannot be
performed error. The session identifier must be unique for each active session and is valid as long as the session is
not closed. The session identifier must be included in all subsequent requests in a special header defined by the
protocol specification. A client must have an ACLEntry defined in order to establish sessions, else request is

SEMI E132-0305 © SEMI 2004, 2005 21
rejected. The client’s assigned Privileges from its ACLEntry are read at the time the session is established and are
assigned to the session. Subsequent requests using the established session will use the session’s Privileges for
access verification even if the client’s Privileges have changed since then.
Table 32 EstablishSession Parameter Definitions
Parameter Description Kind Form
endpoint End point of client where the equipment will send all
notifications.
IN Structured data, of any type
derived from EndPoint,
Section 12.3.3.4.1.
sessionId Unique session identifier generated by equipment after
authentication, this identifier must be used in all subsequent
requests.
OUT Text.
error Max session limit exceeded error Text, equal to session limit
exceeded error.
error Operation not authorized. For example client might not have any
ACLentry defined.
error Structured data, of type
UnauthorizedOperationError,
Section 12.3.3.1.
13.3 Encryption of Data
13.3.1 This standard does not require data transmitted over an established session to be encrypted, encryption is only
required as specified by the authentication protocol.
14 State Model
14.1 This section defines the client’s view of the equipment’s behavior in supporting authentication, session
establishment, session management and communications over an established session. The state models represent
client’s view of the equipment’s state, not necessarily the actual equipment’s internal operations. No transitions in
these state models are to be made available for event reporting.
14.2 Session Establishment State Model — The session establishment state model defines the behavior of the
equipment for establishment of authenticated sessions over this interface. It defines the equipment’s management of
authenticated sessions overall during startup and shutdown. For definition of individual session behaviors, see
Section 14.3.
DISALLOWED
1
ALLOWED
2
Session Establishment
3
Figure 15
Session Establishment State Diagram
14.2.1 Session Establishment States
14.2.1.1 DISALLOWED — This state is active when the equipment is shutting down, either as part of an orderly
shutdown or an emergency power-off. While in this state, any requests for new authenticated sessions (if it is
possible to receive them) are rejected and all active sessions have been closed or FROZEN (Section 14.3.2.9). In the
case of an emergency shutdown, all active sessions may be dropped abruptly and notifications to clients may not be
possible. In this case, persistent sessions shall still be resumed on startup since their state is saved to non-volatile
storage.

SEMI E132-0305 © SEMI 2004, 2005 22
14.2.1.2 ALLOWED — Establishment of authenticated sessions is allowed. Upon entry to this state, all FROZEN
persistent sessions are resumed per the session state model. While in this state, requests for establishment of new
authenticated sessions are accepted, see Section 14.3 Session State Model for behavior on establishment of an
authenticated session.
14.2.2 Session Establishment State Transitions
Table 33 Session Establishment State Transitions Table
# Current State Trigger New State Actions Comments
1 (no state) Completion of system
initializations or the
equipment is in a state
where it can support
authenticated session
communications.
ALLOWED The equipment shall wait for
requests to establish
authenticated sessions. All
FROZEN persistent sessions are
resumed by automatic re-entry to
the ESTABLISHED state.
Any connectivity issues
encountered in attempting
to re-establish persistent
sessions shall be managed
by each session’s
Authenticated Session
state model defined in
Section 14.3 (see, for
example, Section
14.3.2.7).
2 ALLOWED The equipment is
powering down or
emergency down.
DISALLOWED If possible, the equipment shall
close all active non-persistent
sessions, notify all clients with
persistent sessions that their
session is being FROZEN, and
reject any requests for session
establishment.
3 DISALLOWED Equipment shutdown
complete.
(no state)
14.3 Session State Model
14.3.1 The session state model defines behavior of equipment related to establishing an authenticated session,
supporting the services and message exchanges over the established session and to terminating the session.
READY
AUTHENTICATING
CLOSING
1
5
ESTABLISHED
ACTIVE
SESSION
MONITOR
7
9
8
MONITORING
COMMUNICATING
FROZEN
10
11
2
6
12
Authenticated Session
4
3
Figure 16
Authenticated Session State Diagram