Download presentation
Presentation is loading. Please wait.
Published byWhitney Hancock Modified over 9 years ago
1
Job Messaging Format (JMF) Tutorial Claes Buckwalter, Linköping University Doug Belkofer, EFI Sunday, April 24, 2005 PIA/GATF, Pittsburgh
2
Overview Transport protocols for JMF JMF Message families JMF over HTTP MIME packaging Open issues in JMF
3
What is a JMF Message? An XML document contained in –a file written to a folder –the body of a HTTP request or HTTP response Some usages –Job submission –Snapshots of job and device status –Dynamic job update –Queue support
4
Transport Protocols for JMF File Protocol –JMF is written to and read from a folder in a file system –Unidirectional –Asynchronous HTTP Protocol –JMF is sent in the body of a HTTP request/response –Bidirectional –Synchronous and asynchronous –Required by Base ICS Level 2 and 3 –Optionally secure with HTTPS
5
JMF Message Families Command — requests a state change Query — requests information Response — synchronous reply to a Command or Query Acknowledge — asynchronous reply to Command (and Query in 1.3) Signal — a response to a subscribed Query Registration — tell the receiver to send Commands to a specified URL (new in 1.3)
6
Command ManagerWorker Command / Response ManagerWorker Command / Response Acknowledge
7
Query ManagerWorker Query / Response ManagerWorker Query / Response Acknowledge JDF 1.3
8
Signal ManagerWorker Query / Response Signal
9
Registration ManagerWorker/Manager Registration / Response Command / Response Worker Command / Response
10
Message Types Bootstrapping (still under construction) –Plug & play Pressroom Device Information –Consumable Level –Status –Settings –Currently executing jobs Job Status / Progress Messages –Job Phase –Job Progress –Events –Job Modifications - NewJDF
11
Message Types continued Queue Handling –Set Priority –Reorder / Group jobs –Hold / restart queued jobs –Abort running Job Job Submission –Submission via HTTP JDF + Content in MIME package –File Based JDF submission hot folder URL
12
Message Types continued Device Control –Startup –Shutdown –Resource Modification –Flush Resources
13
Pipes Pipe Interactions –models the phone call from operator to operator –Start Production –Stop Production –High Water / Low Water marks –Individual Resource Requests –Resource Changes for iterative processing
14
Messages vs. Audit Elements JMF Messages –Transports Job information in quasi real time –Methods defined for Unidirectional Signals Bi-directional Query-Response Pairs –Immediate Synchronous Responses –Delayed Asynchronous Responses Audit Objects –Logs actual, post-facto job properties in the JDF Resource Usage and Modifications Process Times Events –Logged in the JDF Job Ticket –Transported inside the Job Ticket
15
Levels of JMF Messaging Base ICS Level 1 –No messaging Base ICS Level 2 –Signal messages — hard wired subscriptions to Queries –Manager requires a HTTP server –Worker requires a HTTP client Base ICS Level 3 –Query, Command, Response and Acknowledge messages –Manager and worker both require a HTTP client and server
16
JMF over HTTP JMF messages are transported in the body of a HTTP POST request or HTTP response JMF Command, Query, Signal and Acknowledge are sent in a the body of a HTTP POST request JMF Response is sent in the body of a HTTP response
17
JMF over HTTP If the HTTP POST body contains a –JMF Query or Command The HTTP response body contains a JMF Response –JMF Signal or Acknowledge The HTTP response body is empty If the HTTP body contains a JMF message the HTTP header Content-type must be set to application/vnd.cip4-jmf+xml
18
JMF Example JMF Query JMF Response ManagerWorker
19
MIME Packaging A JMF message may be bundled in a MIME encoded package together with a JDF job ticket and other digital assets The MIME package is sent in the body of a HTTP POST request The HTTP header Content-type must be multipart/related
20
MIME Packaging The content in the MIME package must be in the following order: JMF and JDF refer to other files in the package using the CID URL scheme: cid:file.pdf@cip4.org PositionContentContent Type 0JMF message application/vnd.cip4-jmf+xml 1JDF job ticket application/vnd.cip4-jdf+xml 2 to NDigital assetsDepends on asset
21
New in JMF for 1.3 Authentication –Standard Client-server authentication with certificates over HTTPS –How should certificates be exchanged and installed? –Proposal in final stages for JDF 1.3, uses new RequestForAuthentication message for exchanging certificates. –KnownMessages message extended to indicate which messages are supported via non-authenticated channels versus those requiring a authenticated channel
22
New in JDF 1.3 New message family “Registration” Allows directing commands to be sent to a particular place Examples: –MIS that is not interested in resource commands indicating availability of plates can direct prepress to send those commands directly to the press control system –Vice-versa – can direct prepress to send them to MIS
23
Open Issues in JMF Discovery –Some discovery is possible, once you know how to contact other controllers/devices –Missing part is auto-discovery of how to contact other controllers/devices –Proposal has been made to use ZEROCONF for this, postponed until we have a champion to lead the effort –Will not make JDF 1.3
24
References JMF messaging –JDF Specification 1.2, Chapter 5 http://www.cip4.org/documents/jdf_specifications/JDF1.2.pdf –Base ICS http://www.cip4.org/document_archive/documents/ICS-Base-1.0.pdf –CIP4's JMF Working Group CIP4's Elk Framework –An open source implementation of JMF messaging with Base ICS Level 3 support –Project homepage: http://elk.itn.liu.se
25
Thank you for listening!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.