Message matching for opaque service virtualization

US9965300B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9965300-B2
Application numberUS-201414223607-A
CountryUS
Kind codeB2
Filing dateMar 24, 2014
Priority dateMar 24, 2014
Publication dateMay 8, 2018
Grant dateMay 8, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In a service emulation method, a transaction library storing a plurality of messages communicated between a system under test and a target system upon which the system under test depends is accessed responsive to receiving a request from the system under test. One of the messages stored in the transaction library is identified as corresponding to the received request based on a distance measure therebetween, and a response to the received request is generated using the one of the messages that was identified. Related systems and computer program products are also discussed.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method in an enterprise environment emulator providing service emulation, the method comprising: receiving, by a processor of the enterprise environment emulator, a request from a system under test over a network and through a data port of the enterprise environment emulator; accessing, by a processor of the enterprise environment emulator, a transaction library located in a storage system of the enterprise environment emulator, the transaction library storing a plurality of messages communicated between the system under test and a target system for emulation, responsive to receiving the request; determining, by a processor of the enterprise environment emulator, a distance measure for one or more stored messages of the plurality of messages, the distance measure indicating a minimum number of modifications to the one or more stored messages required to create the received request; identifying, by a processor of the enterprise environment emulator, one of the messages of the one or more stored messages as corresponding to the request based on the distance measure; generating, by a processor of the enterprise environment emulator, a response to the request using the one of the messages that was identified by modifying the one of the messages utilizing the distance measure; transmitting, by a processor of the enterprise environment emulator, the generated response through the data port over the network to the enterprise system under test; and wherein the receiving, the accessing, the identifying, the generating, and the transmitting comprise run-time operations performed by the processor in real time during service emulation. 2. The method of claim 1 , wherein determining the distance measure comprises identifying a sequence of one of characters and bytes of the request for matching a sequence of one of characters and bytes of the one or more stored messages, the identified sequence being independent of a message structure of the request. 3. The method of claim 2 , wherein the one or more stored messages in the transaction library comprise respective requests and responses thereto communicated between the system under test and the target system, and wherein identifying the one of the messages of the one or more stored messages as corresponding to the request comprises: calculating a similarity of the received request to the respective requests stored in the transaction library based on the sequence matching; and identifying one of the respective requests stored in the transaction library as corresponding to the received request based on the similarity of the received request thereto. 4. The method of claim 3 , wherein calculating the similarity comprises: comparing the identified sequence of characters in the request with a sequence of characters in the respective requests stored in the transaction library; aligning the received request with one or more of the respective requests stored in the transaction library based on the comparison; and computing the minimum number of modifications to the one or more stored messages required to create the received request based on the aligning. 5. The method of claim 3 , wherein generating the response comprises: generating the response from one of the respective responses stored in the transaction library that is associated with the one of the respective requests that was identified. 6. The method of claim 5 , wherein generating the response further comprises: identifying respective fields in the one of the respective requests and in the associated one of the respective responses stored in the transaction library as comprising a common subsequence; and populating a field in the response with a subsequence from the received request based on the respective fields that were identified. 7. The method of claim 2 , further comprising: monitoring, by a processor of the enterprise environment emulator, the system under test and the target system to obtain the messages communicated therebetween, wherein the target system provides a service upon which the system under test depends; and storing the messages communicated therebetween in the transaction library independent of respective message structures thereof. 8. The method of claim 2 , further comprising the following prior to receiving the request: distinguishing, by a processor of the enterprise environment emulator, respective sections of the one or more stored messages in the transaction library as containing respective information types independent of respective message structures thereof, wherein the identifying the one of the one or more stored messages as corresponding to the request is performed based on the respective information types of the sections thereof. 9. The method of claim 8 , wherein distinguishing comprises: identifying the respective sections of the one or more stored messages as containing respective information types based on relative lengths thereof. 10. The method of claim 8 , wherein identifying the sequence of one of characters and bytes of the request for matching a sequence of one of characters and bytes of the one or more stored messages comprises selecting the sequence of one of characters and bytes of the request based on the distinguished respective sections of the one or more stored messages. 11. An enterprise environment emulator computer system providing service emulation, comprising: a processor; and a memory coupled to the processor, the memory comprising computer readable program code embodied therein that, when executed by the processor, causes the processor to: receive a request from a system under test over a network and through a data port of the enterprise environment emulator; access a transaction library located in a storage system of the enterprise environment emulator, the transaction library storing a plurality of messages communicated between a system under test and a target system for emulation responsive to receiving a request from the system under test; determine a distance measure for one or more stored messages of the plurality of messages, the distance measure indicating a minimum number of modifications to the one or more stored messages required to create the received request; identify one of the messages of the one or more stored messages as corresponding to the received request based on the distance measure therebetween; generate a response to the request using the one of the messages that was identified by modifying the one of the messages utilizing the distance measure; and transmit the generated response through the data port over the network to the enterprise system under test. 12. The computer system of claim 11 , wherein the computer readable program code further causes the processor to: identify a sequence of one of characters and bytes of the request for matching a sequence of one of characters and bytes of the one or more stored messages, the identified sequence independent of a message structure of the request to determine the distance measure. 13. The computer system of claim 12 , wherein the one or more messages stored in the transaction library comprise respective requests and responses thereto communicated between the system under test and the target system, and wherein the computer readable program code further causes the processor to: calculate a similarity of the received request to the respective requests stored in the transaction library based on the sequence matching; and identify one of the respective requests stored in the transaction library as corresponding to the received request based on the similarity of the received request thereto.

Assignees

Inventors

Classifications

  • G06F9/455Primary

    Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines · CPC title

  • Physics · mapped topic

  • Environments for analysis, debugging or testing of software · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9965300B2 cover?
In a service emulation method, a transaction library storing a plurality of messages communicated between a system under test and a target system upon which the system under test depends is accessed responsive to receiving a request from the system under test. One of the messages stored in the transaction library is identified as corresponding to the received request based on a distance measure…
Who is the assignee on this patent?
Ca Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/455. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 08 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).