1460881832-30b8aecc-9704-4e98-a9a3-1c81bc244e55

1. A computer-enabled system to support the communication within a distributed network, comprising:
one or more microprocessors;
an agent running on the one or more microprocessors, wherein the agent includes
an agent facade that enables the agent to communicate with other applications;
an agent core that manages one or more messages that are distributed to one or more destinations by the agent using different transports, wherein each said transport is a combination of a network socket and a transport protocol, and wherein the agent core includes a service level assurance manager that prioritizes the one or more messages according to a priority model; and
a network layer that handles low-level network operations, wherein the network layer is capable of
determining a value for a cost associated with each said transport for distributing the one or more messages to the one or more destinations, based on a cost function that describes behavior of underline resources, wherein the cost function for each said transport contains a setup cost and a message cost, wherein the setup cost includes at least a cost to create a network socket in said transport and a cost to initialize a protocol stack for a transport protocol in said transport, and wherein the message cost includes at least a cost to send the one or more messages to the one or more destinations via said transport; and
finding a least expensive way to send the one or more messages to the one or more destinations.
2. The system according to claim 1, wherein:
the agent core features a core logic that includes an outgoing message logic for sending a message out from the agent and a message consumer for handling an incoming message to the agent.
3. The system according to claim 2, wherein:
each of the outgoing message logic and the message consumer features a service level assurance (SLA) manager to determine and maintain service levels.
4. The system according to claim 1, wherein:
the agent core features a flow manager with a plurality of processing modules to manage the flow of message handling.
5. The system according to claim 1, wherein:
the agent core features a distributed queue manager to manage messages and information that are distributed between a plurality of agents using a distributed queue.
6. The system according to claim 5, wherein:
the distributed queue manager performs synchronization task between messages, handles the distributed queue and maintains order of messages sent by a particular agent.
7. The system according to claim 1, wherein:
the agent core features at least one of:
a timeout monitor;
a message mapper module;
a message sending listener;
a resending manager;
an alias resolution manager;
a performance housekeeper;
a cache;
a security manager; and
a XML management module that includes a validation manager, a template matcher, a XML parser and a transformation manager.
8. The system according to claim 1, wherein:
the agent core features a world modeler that enable the agent to determine destinations of messages, wherein the world modeler receives information about other agents through a discovery mechanism such as an automatic discovery mechanism.
9. The system according to claim 1, further comprising:
an infrastructure layer that includes an initialization manager and a configuration center.
10. The system according to claim 1, wherein:
the network layer interfaces with a protocol layer.
11. The system according to claim 1, wherein:
the network layer uses an agent table, wherein the agent table includes one or more records, wherein each record includes at least an address of an agent and a transport list that describes one or more transports associated with the agent.
12. The system according to claim 1, wherein:
the network layer includes a transport director to determine and locate a cheapest route to send a message.
13. A method for supporting an agent to communicate within a distributed network, comprising:
using an agent facade to enable the agent to communicate with other applications;
using an agent core that runs one or more microprocessors to manage one or more messages that are distributed to one or more destinations by the agent using different transports, wherein each said transport is a combination of a network socket and a transport protocol, and wherein the agent core includes a service level assurance manager that prioritizes the one or more messages according to a priority model; and
using a network layer to handle low-level network operations, wherein the network layer is capable of
determining a value for a cost associated with each said transport for distributing the one or more messages to the one or more destinations, based on a cost function that describes behavior of underline resources, wherein the cost function for each said transport contains a setup cost and a message cost, wherein the setup cost includes at least a cost to create a network socket in said transport and a cost to initialize a protocol stack for a transport protocol in said transport, and wherein the message cost includes at least a cost to send the one or more messages to the one or more destinations via said transport; and
finding a least expensive way to send the one or more messages to the one or more destinations.
14. The method according to claim 13, further comprising:
sending a message out from the agent and a message consumer for handling an incoming message to the agent.
15. The method according to claim 13, further comprising:
handling the determination and maintenance of service levels.
16. The method according to claim 13, further comprising:
managing the flow of message handling.
17. The method according to claim 13, further comprising:
managing messages and information that are distributed between a plurality of agents using a distributed queue.
18. The method according to claim 13, further comprising:
performing synchronization task between messages, handling the distributed queue and maintaining order of messages sent by a particular agent.
19. The method according to claim 13, further comprising:
determining the destination of messages via a world modeler, wherein the world modeler receives information about other agents through a discovery mechanism such as an automatic discovery mechanism.
20. The method according to claim 13, further comprising:
interfacing the network layer with a protocol layer.
21. The method according to claim 13, wherein:
including in the network layer a transport director to determine and locate a cheapest route to send a message.
22. A non-transitory machine readable storage medium having instructions stored thereon that when executed by a processor cause a system to:
provide an agent, running on one or more processors, that can communicate within a distributed network;
use an agent facade to enable the agent to communicate with other applications;
use an agent core to manage one or more messages that are distributed to one or more destinations by the agent using different transports, wherein each said transport is a combination of a network socket and a transport protocol, and wherein the agent core includes a service level assurance manager that prioritizes the one or more messages according to a priority model; and
use a network layer to handle low-level network operations, wherein the network layer is capable of
determining a value for a cost associated with each said transport for distributing the one or more messages to the one or more destinations, based on a cost function that describes behavior of underline resources, wherein the cost function for each said transport contains a setup cost and a message cost, wherein the setup cost includes at least a cost to create a network socket in said transport and a cost to initialize a protocol stack for a transport protocol in said transport, and wherein the message cost includes at least a cost to send the one or more messages to the one or more destinations via said transport; and
finding a least expensive way to send the one or more messages to the one or more destinations.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

What is claimed is:

1. A device for processing two or more optical WDM channels, comprising:
an optical fiber having an optic axis along said fiber to guide two or more WDM channels;
a fiber grating formed in said fiber to have a spatial grating pattern that has a Bragg reflection band that spectrally covers at least two adjacent WDM channels and reflects received optical spectral components within said Bragg reflection band to produce time delays in different reflected optical spectral components in said two adjacent WDM channels as a nonlinear function of wavelength; and
a grating control unit coupled to interact with said fiber grating to tune at least dispersion of said different reflected optical spectral components.
2. The device as in claim 1, wherein said fiber grating is a nonlinearly-chirped fiber grating in which a product of an effective refractive index and a grating period of said fiber grating varies nonlinearly along said optic axis.
3. The device as in claim 2, wherein said grating period changes nonlinearly along said optic axis.
4. The device as in claim 2, wherein said fiber has a refractive index that changes nonlinearly along said optic axis.
5. The device as in claim 2, wherein said nonlinear function includes a cubic dependence on wavelength to produce a tunable dispersion slope.
6. The device as in claim 1, wherein said spatial grating pattern is configured to produce a spatial-varying grating strength to produce said nonlinear function.
7. The device as in claim 1, wherein said spatial grating pattern includes spatial-varying phase shifts to produce said nonlinear function.
8. The device as in claim 1, wherein said spatial grating pattern includes a quadratic dependence on wavelength in said nonlinear function-.
9. The device as in claim 8, wherein said spatial grating pattern has a constant grating period and spatial-varying phase shifts to produce said quadratic dependence.
10. The device as in claim 1, wherein said grating control unit includes a fiber stretcher that controls and adjusts at least a length of said fiber grating to tune said dispersion.
11. The device as in claim 10, wherein said fiber stretcher includes a piezoelectric element.
12. The device as in claim 10 wherein said fiber stretcher includes a magnetostrictive element that operates in response to a control magnetic field.
13. The device as in claim 1, wherein said grating control unit controls and adjusts a temperature of said fiber grating for tuning.
14. The device as in claim 13, wherein said grating control unit includes a thermal controller that controls an overall temperature of said fiber grating for tuning.
15. The device as in claim 13, wherein said grating control unit controls and adjusts a spatial temperature gradient along said fiber.
16. The device as in claim 1, wherein said grating control unit controls and adjusts a refractive index of said fiber grating for tuning.
17. The device as in claim 16, wherein said refractive index changes in response to an electrical field, and wherein said grating control unit is configured to generate and adjust a varying control electrical field along said optic axis for tuning.
18. The device as in as in claim 16, wherein said refractive index changes in response to an electromagnetic radiation field, and wherein said grating control unit is configured to generate a varying control electromagnetic radiation field along said optic axis for tuning.
19. The device as in claim 1, wherein said grating control unit includes an acoustic wave generator configured and coupled to produce a frequency-tunable acoustic wave along said optic axis so that said acoustic wave alters a frequency response of said fiber grating for tuning.
20. The device as in claim 1, wherein said grating control unit is configured to control both a length and a refractive index of said fiber along said optic axis.
21. The device as in claim 1, wherein said fiber is formed of an optical birefringent material to have two orthogonal principal polarization axes that are substantially perpendicular to said optic axis.
22. A device for processing two or more optical WDM channels, comprising:
an optical fiber having an optic axis along said fiber to guide two or more WDM channels;
a fiber grating formed in said fiber and configured to have a spatial grating pattern that has a Bragg reflection band spectrally covering at least two adjacent WDM channels and is configured to produce a time delay in a reflected signal which depends nonlinearly on wavelength and includes at least a cubic function of the wavelength; and
a grating control unit coupled to interact with said fiber grating to tune both dispersion and dispersion slope produced by said fiber grating in each reflected optical spectral component.
23. The device as in claim 22, wherein said fiber grating is a nonlinearly-chirped fiber grating in which said spatial grating pattern changes nonlinearly along said optic axis.
24. The device as in claim 23, wherein said spatial grating pattern includes a spatial-varying amplitude pattern along said optic axis.
25. The device as in claim 23, wherein said spatial grating pattern includes discrete phase shifts along said optic axis.
26. The device as in claim 22, wherein said time delay further includes a quadratic dependence on – the wavelength.
27. The device as in claim 22, wherein said grating control unit controls and adjusts a length of said fiber grating for tuning.
28. The device as in claim 22, wherein said grating control unit controls and adjusts a refractive index of said fiber grating for tuning.
29. The device as in claim 22, wherein said grating control unit controls and adjusts both a length and a refractive index of said fiber grating for tuning.
30. The device as in claim 22, wherein said grating control unit includes a thermal controlled housing to control an overall temperature of said fiber grating for tuning.
31. The device as in claim 22, wherein said grating control unit controls and adjusts a spatial temperature gradient along said fiber grating for tuning.
32. A device, comprising:
a first fiber Bragg grating having a first spatial grating pattern with a first Bragg reflection band covering at least two adjacent WDM channels to produce a group delay in each reflected optical signal as a nonlinear function of a detuning in wavelength from a center wavelength of said first Bragg reflection band, said first fiber Bragg grating reflecting at least a portion of input light to produce a first optical output;
a second fiber Bragg grating coupled to receive said first optical output from said first fiber Bragg grating to reflect at least a portion to produce a second optical output, said second fiber Bragg grating configured to have a second spatial grating pattern with a second Bragg reflection band covering at least said two adjacent WDM channels to produce a group delay in each reflected optical signal as a nonlinear function of a detuning in wavelength from a center wavelength of said second Bragg reflection band; and
a grating control unit coupled to at least one of said first and said second fiber Bragg gratings to control said one fiber Bragg grating to tune at least a net grating dispersion in each of said two adjacent WDM channels in said second optical output.
33. The device as in claim 32, wherein said first and said second grating patterns are designed to produce time delays with a quadratic dependence on wavelength with opposite signs but equal amplitude with respect to each other so as to produce a tunable net grating dispersion in said second optical output that is independent of the wavelength.
34. The device as in claim 33, wherein said grating control unit operates to cause one fiber Bragg grating to be stretched while compressing the other fiber Bragg grating in tuning said net grating dispersion.
35. The device as in claim 32, wherein each of said first and said second grating patterns is designed to produce a time delay with a cubic dependence on wavelength which has a sign opposite to a sign of a cubic dependence produced by the other gratingso as to produce a tunable net grating dispersion and a tunable net grating dispersion slope.
36. The device as in claim 35, wherein said grating control unit operates to cause one fiber Bragg grating to be stretched while compressing the other fiber Bragg grating in tuning said net grating dispersion.
37. The device as in claim 35, wherein said grating control is engaged to stretch or compress both of said first and said second fiber Bragg gratings to tune said net grating dispersion.
38. The device as in claim 32, wherein each of said first and said second grating patterns is designed to produce a time delay with both a quadratic dependence on wavelength and a cubic dependence on wavelength and the said cubic dependence of the two said grating time delays have opposite signs but equal amplitude with respect to each other so as to produce a tunable net grating dispersion and a tunable net grating dispersion slope and the said dispersion slope is independent of wavelength in said second optical output.
39. The device as in claim 38, wherein the said quadratic dependence in said first fiber Bragg grating has a sign opposite to the said quadratic dependence in said second fiber Bragg grating.
40. The device as in claim 38, wherein the said quadratic dependence in said first fiber Bragg grating has a sign which is the same as a sign of the said quadratic dependence in said second fiber Bragg grating.
41. The device as in claim 38, wherein said grating control is engaged to both of said first and said second fiber Bragg gratings to stretch one while compressing the other to tune said net grating dispersion slope.
42. The device as in claim 38, wherein said grating control is engaged to stretch or compress both of said first and said second fiber Bragg gratings to tune said net grating dispersion.
43. The device as in claim 32, wherein at least one fiber Bragg grating of said first and said second fiber Bragg gratings is a nonlinearly-chirped fiber grating in which a respective spatial grating pattern changes nonlinearly along said one fiber Bragg grating.
44. The device as in claim 43, wherein at least one fiber Bragg grating of said first and said second fiber Bragg gratings has a spatial-varying grating strength along said one fiber Bragg grating.
45. The device as in claim 43, wherein at least one fiber Bragg grating of said first and said second fiber Bragg gratings has discrete phase shifts along said one fiber Bragg grating.
46. A method for processing two or more optical WDM channels, comprising:
causing at least two adjacent optical WDM channels to be directed into a fiber grating to reflect said two optical WDM channels, said fiber grating configured to have a spatial grating pattern that has a Bragg reflection band spectrally covering at least said two adjacent WDM channels to produce time delays in different reflected optical spectral components in said two adjacent WDM channels as a nonlinear function of the wavelength; and
causing said fiber grating to be adjusted to tune at least a dispersion in each of said two WDM channels reflected from said fiber grating.
47. The method as in claim 46, wherein said fiber grating is configured to produce a time delay with a cubic dependence on the wavelength, said method further comprising controlling adjustment of said fiber grating to tune a dispersion slope, in addition to the dispersion, produced by said fiber grating in each of said two WDM channels.
48. The method as in claim 46, further comprising:
causing said two WDM channels reflected from said fiber grating to be directed into a second fiber grating that has a spatial grating pattern that has a Bragg reflection band spectrally covering at least said two adjacent WDM channels to produce time delays in different reflected optical spectral components in said two adjacent WDM channels as a nonlinear function of the wavelength.
49. The method as in claim 48, wherein said fiber grating and said second fiber grating are designed to produce time delays with a cubic dependence on wavelength with opposite signs but equal amplitudes with respect to each other, said method further comprising stretching one fiber grating while compressing the other fiber grating to tune a net grating dispersion that is independent of the wavelength in each of said two WDM channels reflected by said second fiber grating.
50. The method as in claim 48, wherein each fiber grating is designed to produce a time delay with both a quadratic dependence on wavelength and a cubic dependence on wavelength so as to produce a tunable net grating dispersion and a tunable net grating dispersion slope in said second output signal, said method further comprising causing said second fiber grating to be adjusted in a relationship with respect to the adjustment in said fiber grating to tune a net dispersion and a net dispersion slope in each of said two WDM channels reflected by said second fiber grating.
51. The method as in claim 50, wherein said adjustments of said fiber grating and said second fiber gratings include:
stretching one fiber grating while compressing the other fiber grating to tune a net grating dispersion slope in each of said two WDM channels.
52. The method as in claim 50, wherein said adjustments of said first fiber grating and said second fiber gratings include:
compressing or stretching both fiber gratings to tune a net grating dispersion in each of said two WDM channels.