×

Implementing a web service application on a device with multiple threads

  • US 7,680,877 B2
  • Filed: 12/18/2006
  • Issued: 03/16/2010
  • Est. Priority Date: 12/18/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing SOAP requests at a device, wherein the device comprises at least one service application that provides at least one service, the method comprising:

  • generating, at the service application;

    an external request processing thread that receives the SOAP requests and dispatches the SOAP requests to at least one other thread;

    fast and slow request processing threads that process SOAP requests according to business logic of the service application; and

    an internal communications thread that communicates with a component of the device that is distinct from the service application;

    waiting for and receiving, by the external request processing thread, a SOAP request of the SOAP requests, wherein the SOAP request is for the service and from a client application;

    determining, by the external request processing thread, whether the SOAP request is of a first type or of a second type;

    if the SOAP request is of the first type, then placing, by the external request processing thread, the SOAP request in a first queue for subsequent handling by a fast request processing thread that is dedicated to handling SOAP requests of the first type; and

    if the SOAP request is of the second type, then placing, by the external request processing thread, the SOAP request in a second queue for subsequent handling by a slow request processing thread that is dedicated to handling SOAP requests of the second type;

    processing, by the fast or slow request processing thread, the SOAP request; and

    based on the SOAP request, sending, by the internal communications thread, a request to the component.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×