Method of transferring messages between computer programs across a network
    1.
    发明授权
    Method of transferring messages between computer programs across a network 失效
    通过网络在计算机程序之间传送消息的方法

    公开(公告)号:US06817018B1

    公开(公告)日:2004-11-09

    申请号:US08861181

    申请日:1997-05-21

    IPC分类号: G06F946

    摘要: A method of delivering messages between application programs is provided which ensures that no messages are lost and none are delivered more than once. The method uses asynchronous message queuing. One or more queue manager programs (100) is located at each computer of a network for controlling the transmission of messages to and from that computer. Messages to be transmitted to a different queue manager are put onto special transmission queues (120). Transmission to an adjacent queue manager comprises a sending process (130) on the local queue manager (100) getting messages from a transmission queue and sending them as a batch of messages within a syncpoint-manager-controlled unit of work. A receiving process (150) on the receiving queue manager receives the messages and puts them within a second syncpoint-manager-controlled unit of work to queues (180) that are under the control of the receiving queue manager. Commitment of the batch is coordinated by the sender transmitting a request for commitment and for confirmation of commitment with the last message of the batch, commit at the sender then being triggered by the confirmation that is sent by the receiver in response to the request. The invention avoids the additional message flow that is a feature of two-phase commit procedures, avoiding the need for resource managers to synchronise with each other. It further reduces the commit flows by permitting batching of a number of messages.

    摘要翻译: 提供了一种在应用程序之间传递消息的方法,其确保没有消息丢失,并且不再传送消息多于一次。 该方法使用异步消息队列。 一个或多个队列管理器程序(100)位于网络的每个计算机上,用于控制到该计算机的消息的传送。 要发送到不同队列管理器的消息被置于特殊传输队列(120)上。 向相邻队列管理器的传输包括本地队列管理器(100)上的发送进程(130),从发送队列获取消息,并将它们作为同步点 - 管理器控制的工作单元内的一批消息发送。 接收队列管理器上的接收过程(150)接收消息并将它们置于第二同步点 - 管理器控制的工作单元中,以处理在接收队列管理器的控制下的队列(180)。 批量的承诺由发送方发送承诺请求和用于确认批次的最后消息进行协调,在发送方提交,然后由接收方响应请求发送的确认触发。 发明避免了作为两阶段提交过程的特征的附加消息流,避免了资源管理器彼此同步的需要。 它进一步减少提交流量,允许批处理多个消息。

    Monitoring messages in a distributed data processing system
    2.
    发明申请
    Monitoring messages in a distributed data processing system 审中-公开
    在分布式数据处理系统中监视消息

    公开(公告)号:US20060136932A1

    公开(公告)日:2006-06-22

    申请号:US11014059

    申请日:2004-12-16

    IPC分类号: G06F9/46

    CPC分类号: H04L51/34

    摘要: Methods, systems, and products are provided for monitoring messages in a distributed data processing system. Embodiments typically include putting a message containing a monitoring token on a queue on a server; receiving a call to get the message from the queue on the server; determining, with an API exit running on the server, whether the call to get the message is made by a process running on a remote client or by a process running on the server; and if the call to get the message is made by a process running on the server, removing the monitoring token from the message with the API exit. Many embodiments also include removing the monitoring token from the message with a channel exit running on the remote client, if the call to get the message is made by a process on the remote client.

    摘要翻译: 提供方法,系统和产品用于在分布式数据处理系统中监视消息。 实施例通常包括将包含监视令牌的消息放在服务器上的队列上; 接收来自服务器上队列的消息的呼叫; 通过在服务器上运行的API退出来确定是否由在远程客户端上运行的进程或在服务器上运行的进程进行的获取消息的调用; 并且如果通过在服务器上运行的进程来获取消息的调用,则从具有API退出的消息中删除监视令牌。 许多实施例还包括如果通过远程客户端上的进程进行呼叫来获取消息,则从远程客户端上运行通道退出的消息中删除监视令牌。