Handling Transaction Requests
By classifying and dynamically handling transaction requests based on historical server resource usage and current capacity metrics, the method enhances transaction server efficiency and prevents overloading, optimizing the processing of both resource-intensive and less demanding transactions.
Patent Information
- Application Number
- JP2024519467
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-05
- Filing Date
- 2022-09-06
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional transaction server management schemes face challenges in handling resource-intensive transactions due to static threshold limits, which can lead to inefficient queuing and resource overloading, as they do not dynamically adapt to changing transaction demands and server capabilities.
A method for handling transaction requests at a transaction server that involves analyzing incoming requests based on historical records of server resources and current capacity metrics, classifying transactions as heavyweight or lightweight, and dynamically determining whether to process or queue them accordingly.
This approach improves the efficiency of transaction handling by allowing the server to adapt to current resource availability, preventing overloading, and optimizing the processing of both heavyweight and lightweight transactions.
Smart Images

Figure 2024536199000001_ABST
Abstract
Description
[Technical field]
[0001] TECHNICAL FIELD The technical features of the present invention relate generally to the field of transaction servers, and more specifically to handling transaction requests in a transaction server. [Background technology]
[0002] A transaction server is typically adapted to receive and process incoming transaction requests from any number of clients communicating with the server. Sometimes, such transaction processing servers may face server resource constraint problems when a large volume of heavy resource consuming transactions, also referred to as resource intensive transactions or heavyweight transactions, are executed simultaneously.
[0003] In traditional transaction server management schemes, a maximum threshold may be set to limit the number of transactions that are allowed to run simultaneously on a transaction server. Once the maximum threshold is reached, any new transaction requests received at the transaction server are typically queued until existing transaction requests are completed.
[0004] There are several drawbacks to such transaction server management schemes. For example, it is often difficult to select an appropriate maximum threshold, especially when the maximum threshold is set manually by a user. The maximum threshold selected is often a worst-case scenario limit based on a peak workload scenario. Furthermore, any maximum threshold limit selected is often applied universally across transaction servers, which may cause limits that are inappropriate for certain aspects of the transaction server.
[0005] Furthermore, it would often take serious problems for the transaction server to determine that a transaction has caused the server to exceed its maximum threshold. Additionally, the nature of a given transaction request may change over time, which may not be taken into account by the transaction server.
[0006] Therefore, there is a need for an improved mechanism for handling transaction requests. Summary of the Invention
[0007] Embodiments of the present invention may provide handling for transaction requests received at a Transaction Server. Also, embodiments of the present invention seek to handle requests for heavyweight, i.e. resource intensive, transactions received at a Transaction Server. Such embodiments may be computer implemented, i.e., implemented in a computer infrastructure with computer executable code tangibly embodied on a computer readable storage medium having programming instructions configured to perform the proposed method. Embodiments of the present invention further seek to provide a computer program product including computer program code implementing the proposed concepts when executed on a processor. Embodiments of the present invention further seek to provide a system for handling transaction requests received at a Transaction Server.
[0008] According to one aspect of the present invention, there is provided a method of handling received transaction requests at a transaction server, the transaction request including a request to execute a transaction to the transaction server, the method comprising, in response to receiving the transaction request at the transaction server, analysing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction and current server capability metrics to determine a handling action for handling the transaction request.
[0009] The embodiments may be employed in combination with conventional / existing Transaction Servers. In this manner, the embodiments may be integrated into legacy systems to improve and / or extend their functionality and capabilities. Thus, an improved Transaction Server may be provided by the proposed embodiments.
[0010] According to another embodiment of the present invention there is provided a computer program product for handling a transaction request by a transaction server, the transaction request comprising a request to execute a transaction to a transaction server, the computer program product comprising a computer readable storage medium having program instructions embodied therein, the program instructions being executable by a processing unit to cause the processing unit to perform a method, the method comprising, in response to receiving a transaction request at the transaction server, analysing the transaction request based on a transaction record comprising a historical record of server resources required to execute the transaction and current server capability metrics to determine a handling action for handling the transaction request.
[0011] According to yet another aspect, there is provided a processing system comprising at least one processor and a computer program product in accordance with one or more embodiments, wherein the at least one processor is adapted to execute the computer program code of the computer program product.
[0012] According to another aspect, a processing system is provided for handling transaction requests by a transaction server, the transaction requests including a request to execute a transaction to the transaction server, the system comprising a processor device configured to execute, in response to receiving a transaction request at the transaction server, a step of analyzing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction and current server capability metrics to determine a handling action for handling the transaction request.
[0013] Therefore, there may be a proposed concept for analyzing received transaction requests at a transaction server against transaction records and current server capacity metrics to determine how the transaction request should be handled. For example, embodiments may provide a means for dynamically determining how to handle a transaction request based on the resources required to process the transaction request. Providing such a means for determining how to handle an incoming transaction request may help to improve the number of requests that can be handled at a given time, and may help to prevent the transaction server from being overwhelmed by resource-intensive requests. [Brief description of the drawings]
[0014] The invention is explained in the detailed description that follows with reference to a number of drawings in which are depicted non-limiting examples of exemplary embodiments of the invention.
[0015] [Figure 1] FIG. 2 illustrates a cloud computing node according to an embodiment of the present invention.
[0016] [Diagram 2] FIG. 1 illustrates a cloud computing environment according to an embodiment of the present invention.
[0017] [Diagram 3] FIG. 2 illustrates abstraction model layers according to an embodiment of the present invention.
[0018] [Figure 4] FIG. 2 illustrates a cloud computing node according to another embodiment of the present invention.
[0019] [Diagram 5] FIG. 2 illustrates a schematic representation of a method for handling transaction requests in a transaction server according to an embodiment.
[0020] [Figure 6] FIG. 2 illustrates a method for generating a transaction record according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] It should also be understood that the figures described above are only schematic and are not drawn to scale. The same reference symbols are used throughout the figures to denote the same or similar parts.
[0022] In the context of the present application where an embodiment of the invention constitutes a method, it should be understood that the method may be a process for execution by a computer, i.e. a computer-implementable method. Thus, different steps of the method may reflect different parts of a computer program, e.g. different parts of one or more algorithms.
[0023] Also, in the context of this application, a (processing) system may be a single device or a collection of distributed devices adapted to perform one or more embodiments of the inventive method. For example, the system may be a personal computer (PC), a server or a collection of PCs and / or servers connected via a network, such as a local area network, the Internet, etc., so as to cooperatively perform at least one embodiment of the inventive method.
[0024] Also, in the context of this application, a system can be a single device or a collection of distributed devices adapted to perform one or more embodiments of the method of the present invention. For example, a system can be a personal computer (PC), a portable computing device (such as a tablet computer, laptop, smartphone, etc.), a set-top box, a server, or a collection of PCs and / or servers connected via a network such as a local area network, the Internet, etc. to cooperatively perform at least one embodiment of the method of the present invention.
[0025] Technical features of embodiments of the present invention may generally relate to transaction request management, and more specifically, to handling a received transaction request at a transaction server based on a transaction record and current server capability metrics. More specifically, embodiments of the present invention may provide a concept for handling a received transaction request at a transaction server, where the transaction request may include, but is not limited to, a request to execute a transaction to the transaction server. In response to receiving the transaction request at the transaction server, the transaction request may be analyzed based on the transaction record, which may include, but is not limited to, a historical record of server resources required to execute the transaction, and the current server capability metrics to determine a handling action for handling the transaction request.
[0026] Embodiments of the present invention can provide the ability to dynamically determine whether an incoming transaction request should be processed immediately or queued by the server based on a historical record of the server resources required to process a given transaction and the current processing capabilities of the server. In this way, a transaction server can dynamically adapt to incoming transaction requests based on the current server capabilities and the processing requirements of the request.
[0027] In one embodiment, the method may include, but is not limited to, monitoring a plurality of transactions processed by a transaction server, and generating a transaction record based on server resources required to process the plurality of monitored transactions. In this manner, the transaction server may generate and update the transaction record over time according to a particular implementation of the transaction server, thereby improving the relevance of the transaction record.
[0028] In further embodiments, the transaction record may include, but is not limited to, one or more transaction classifications. In this manner, the transaction record may include one or more predefined transaction classifications for comparison against an incoming transaction request, thereby improving the efficiency of the comparison.
[0029] In a further embodiment, generating the transaction record may include classifying each of the plurality of transactions according to one or more transaction classifications, including, but not limited to, heavyweight transactions and lightweight transactions.
[0030] In a further embodiment, a transaction may be classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold. In this manner, a transaction may be classified as a heavyweight transaction if it is resource intensive. The resource threshold may be manually set by a user.
[0031] In one embodiment, a transaction can be classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold. In this manner, a transaction can be classified as a lightweight transaction if it is not resource intensive. The resource threshold can be manually set by a user.
[0032] In one embodiment, determining a handling action for handling the transaction request may include, but is not limited to, classifying the transaction request based on an analysis of the transaction request, and determining a handling action for handling the transaction request based on the classification of the transaction request. In this way, dynamic adaptation of the transaction server to an incoming transaction request can be performed according to the classification of the transaction based on a historical record of server resources required to process the transaction. Thus, the accuracy of the decision to queue or process a transaction request can be improved and tailored to the implementation of the transaction server.
[0033] In further embodiments, determining a handling action for handling the transaction request based on the classification of the transaction request may include, but is not limited to, processing the transaction request if the transaction request is classified as a lightweight transaction, where the transaction is classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold; and queuing the transaction request if the transaction request is classified as a heavyweight transaction, where the transaction is classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold. In this manner, heavyweight transactions may be queued if the current server capacity is insufficient to process the request, while lightweight transactions may continue processing without interruption.
[0034] In a further embodiment, the method may further include, but is not limited to, monitoring server resources of the transaction server, determining when a heavyweight transaction can be processed by the transaction server based on the monitored server resources, and processing the queued transaction request based on the determination. In this manner, a queued heavyweight transaction can be processed when the server has the capacity to do so.
[0035] In one embodiment, the method may further include, but is not limited to, monitoring server resources of the transaction server, determining whether heavyweight transactions can be processed concurrently with lightweight transactions by the transaction server based on the monitored server resources, and processing the heavyweight transactions concurrently with the lightweight transactions based on the determination.
[0036] In an embodiment where multiple transaction requests may be received at the Transaction Server, the multiple transaction requests may include, but are not limited to, one or more heavyweight transactions and one or more lightweight transactions, and the method may further include, but is not limited to, monitoring server resources of the Transaction Server, determining whether the one or more heavyweight transactions can be processed concurrently with the one or more lightweight transactions by the Transaction Server based on the monitored server resources, and based on the determination, processing the one or more heavyweight transactions concurrently with the one or more lightweight transactions.
[0037] In one embodiment, the server resources may include, but are not limited to, one or more of memory usage metrics, peak memory usage metrics, trusted computing base usage metrics, processing time, and processor usage metrics.
[0038] In one embodiment, the current server performance metrics may include, but are not limited to, one or more current transactions currently being processed, memory usage metrics, processor usage metrics, and one or more transaction requests in the queue.
[0039] In one embodiment, handling actions may include, but are not limited to, queuing one or more transaction requests, processing a transaction request, rejecting a transaction request, validating a transaction request, and routing a transaction request.
[0040] An embodiment of the present invention may further provide a concept for a computer program product for handling a transaction request by a transaction server, the transaction request including a request to execute a transaction to the transaction server, the computer program product comprising a computer readable storage medium having program instructions embodied therein, the program instructions being executable by a processing unit to cause the processing unit to execute a method, the method may include, but is not limited to, in response to receiving the transaction request at the transaction server, analyzing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction, and current server capability metrics to determine a handling action for handling the transaction request.
[0041] In one embodiment, a computer program product may include, but is not limited to, a computer readable storage medium having program instructions embodied therein, the program instructions being executable by a processing unit to cause the processing unit to perform the following steps when determining a handling action for handling a transaction request: classifying the transaction request based on an analysis of the transaction request; and determining a handling action for handling the transaction request based on the classification of the transaction request.
[0042] Embodiments of the present invention may further provide, but are not limited to, concepts for a processing system including at least one processor and a computer program product as described above, wherein the at least one processor is adapted to execute computer program code of the computer program product.
[0043] An embodiment of the present invention may further provide concepts for a system for handling transaction requests by a transaction server, the transaction requests may include, but are not limited to, a request to execute a transaction to the transaction server, and the system may include, but is not limited to, a processor device configured to perform, in response to receiving the transaction request at the transaction server, a step of analyzing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction, and current server capability metrics to determine a handling action for handling the transaction request.
[0044] In one embodiment, determining a handling action for handling the transaction request may include, but is not limited to, classifying the transaction request based on an analysis of the transaction request, and determining a handling action for handling the transaction request based on the classification of the transaction request.
[0045] In one embodiment, determining a handling action for handling the transaction request based on the classification of the transaction request may include, but is not limited to, processing the transaction request if the transaction request is classified as a lightweight transaction, where the transaction is classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold; and queuing the transaction request if the transaction request is classified as a heavyweight transaction, where the transaction is classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold.
[0046] Although this disclosure includes detailed descriptions of cloud computing, it is understood in advance that implementation of the techniques described herein is not limited to a cloud computing environment. Rather, embodiments of the present invention can be implemented in conjunction with any other type of computing environment now known or later developed.
[0047] Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal administrative effort or interaction with a service provider. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
[0048] The characteristics are as follows: On-Demand Self-Service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed, without the need for human interaction with the service provider. Broad network access: The capabilities are available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin or thick client platforms (eg, cell phones, laptops, and PDAs). Resource Pooling: Provider computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically allocated and reallocated according to demand. There is location independence in that consumers generally have no control or knowledge over the exact location of the provided resources, but it may be possible to specify the location at a higher level of abstraction (e.g., country, state, or data center). Rapid Elasticity: This capacity can be rapidly and elastically provisioned, in some cases automatically, to rapidly scale out, and rapidly released to rapidly scale in. To the consumer, the capacity available for provisioning often appears unlimited, and can be purchased in any amount at any point in time. Measured Services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the services utilized.
[0049] The service model is as follows: Software as a Service (SaaS): The ability offered to the consumer is to use a provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings. Platform as a Service (PaaS): The ability offered to a consumer is to deploy applications that the consumer has created or acquired, written using programming languages and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does control the deployed applications and, in some cases, the application hosting environment configuration. Infrastructure as a Service (IaaS): The ability offered to consumers is to provision processing, storage, network and other basic computing resources on which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does control the operating systems, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).
[0050] The deployment model is as follows: Private Cloud: This cloud infrastructure operates exclusively for an organization. It may be managed by the organization or a third party and may exist on-premise or off-premise. Community Cloud: This cloud infrastructure is shared by several organizations and supports a particular community with shared concerns (e.g., mission, security requirements, policies and compliance considerations). It may be managed by those organizations or a third party and may exist on-premise or off-premise. Public Cloud: The cloud infrastructure is made available to the general public or large industry entities and is owned by organizations that sell cloud services. Hybrid Cloud: This cloud infrastructure is a composite of two or more clouds (private, community, or public) that remain separate entities but are bound together by standard or proprietary technologies that allow portability of data and applications (e.g., cloud bursting for load balancing between clouds).
[0051] Cloud computing environments are service-oriented with an emphasis on statelessness, low coupling, modularity, and semantic interoperability. At the core of cloud computing is an infrastructure that includes a network of interconnected nodes.
[0052] 1, a schematic diagram of an example cloud computing node is shown. Cloud computing node 10 is merely one example of a suitable cloud computing node and is not intended to suggest any limitation as to the scope of use or functionality of the embodiments of the invention described herein. Nevertheless, cloud computing node 10 is capable of implementing and / or performing any of the functionality described above.
[0053] In cloud computing node 10, there resides computer system / server 12, which operates in conjunction with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and / or configurations that may be suitable for use with computer system / server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices.
[0054] The computer system / server 12 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform tasks or implement abstract data types. The computer system / server 12 may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.
[0055] 1, computer system / server 12 in cloud computing node 10 is shown in the form of a general-purpose computing device. Components of computer system / server 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including system memory 28 to processing unit 16.
[0056] Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example and not limitation, such architectures include an Industry Standard Architecture (ISA) bus, a MicroChannel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0057] Computer system / server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system / server 12 and includes both volatile and nonvolatile media, removable and non-removable media.
[0058] The system memory 28 may include computer system readable media in the form of volatile memory such as random access memory (RAM) 30 and / or cache memory 32. The computer system / server 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be provided for reading from and writing to a non-removable, non-volatile magnetic medium (not shown, typically referred to as a "hard drive"). Although not shown, a magnetic disk drive may be provided for reading from and writing to a removable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive may be provided for reading from and writing to a removable, non-volatile optical disk, such as a CD-ROM, DVD-ROM, or other optical medium. In such cases, each may be connected to the bus 18 by one or more data media interfaces. As further illustrated and described below, the memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of embodiments of the present invention.
[0059] A program / utility 40 having a set (at least one) of program modules 42 may be stored in memory 28, by way of example and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or any combination thereof, may include an implementation of a networking environment.
[0060] Program modules 42 generally perform the functions and / or methodologies of embodiments of the present invention as described herein. For example, some or all of the functionality of a DHCP client may be implemented as one or more of program modules 42. In addition, the DHCP client may be implemented as a separate dedicated processor or a single or several processors to provide the functionality described herein. In an embodiment, the DHCP client performs one or more of the processes described herein.
[0061] The computer system / server 12 may communicate with one or more external devices 14, such as a keyboard, pointing device, display 24, etc.; one or more devices that allow a user to interact with the computer system / server 12; and / or any devices (e.g., network cards, modems, etc.) that allow the computer system / server 12 to communicate with one or more other computing devices. Such communication may occur via an I / O interface 22. Still further, the computer system / server 12 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), and / or a public network (e.g., the Internet), via a network adapter 20. As shown, the network adapter 20 communicates with other components of the computer system / server 12 via a bus 18. Although not shown, it should be understood that other hardware and / or software components may be used in combination with the computer system / server 12. Examples include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Array of Inexpensive Disks or Redundant Array of Independent Disks) systems, tape drives, and data archive storage systems.
[0062] Referring now to FIG. 2, an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 comprises one or more cloud computing nodes 10 with which local computing devices used by cloud consumers may communicate, such as, for example, a personal digital assistant (PDA) or mobile phone 54A, a desktop computer 54B, a laptop computer 54C, and / or an automobile computer system 54N. The nodes 10 may communicate with each other. They may be physically or virtually grouped in one or more networks, such as a private, community, public, or hybrid cloud as described herein above, or a combination thereof (not shown). This enables the cloud computing environment 50 to provide infrastructure, platform, and / or software as a service for which the cloud consumer does not need to maintain resources on a local computing device. It is understood that the types of computing devices 54A-N shown in FIG. 2 are merely intended to be illustrative, and that the computing nodes 10 and the cloud computing environment 50 may communicate with any type of computerized device over any type of network and / or network addressable connection (e.g., using a web browser).
[0063] Referring now to Figure 3, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 2) is shown. It should be understood in advance that the components, layers, and functions shown in Figure 3 are intended to be illustrative only, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:
[0064] Hardware and software layer 60 comprises hardware and software components. Examples of hardware components include mainframe 61, RISC (reduced instruction set computer) architecture based servers 62, servers 63, blade servers 64, storage devices 65, and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
[0065] The virtualization layer 70 provides an abstraction layer over which the following examples of virtual entities can be provided: virtual servers 71; virtual storage 72; virtual networks, including virtual private networks 73; virtual applications and operating systems 74; and virtual clients 75.
[0066] In one example, management layer 80 may provide the functions described below: Resource provisioning 81 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 provides cost tracking as resources are utilized within the cloud computing environment and billing or invoicing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks, and protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management so that required service levels are met. Service level agreement (SLA) planning and fulfillment 85 provides advance arrangement and procurement of cloud computing resources where future requirements are anticipated according to SLAs.
[0067] Workload tier 90 provides examples of functions for which a cloud computing environment may be utilized. Examples of workloads and functions that may be provided from this tier include mapping and navigation 91; software development and lifecycle management 92; virtual classroom instructional delivery 93; data analytics processing 94; transaction processing 95; and transaction handling processes 96 as described herein. In accordance with aspects of the present invention, the transaction handling processes 96 workload / functions operate to perform one or more of the processes described herein.
[0068] Figure 4 illustrates a cloud computing node according to another embodiment of the present invention. In particular, Figure 4 illustrates another cloud computing node comprising the same cloud computing node 10 as in Figure 1. In Figure 4, computer system / server 12 also comprises or communicates with transaction client 170 and transaction server 160.
[0069] According to an aspect of the invention, the transaction client 170 can be implemented as one or more program codes in the program modules 42 stored in the memory as separate or combined modules. In addition, the transaction client 170 can be implemented as a separate dedicated processor or a single or several processors to provide the functionality of these tools. While executing the computer program code, the processing unit 16 can read and / or write data to the memory, the storage system, and / or the I / O interface 22. The program code can perform the processes of the embodiments of the invention.
[0070] By way of example, the transaction client 170 may be configured to communicate with the transaction server 160 via the cloud computing environment 50. As discussed with reference to FIG. 2, for example, the cloud computing environment 50 may be the Internet, a local area network, a wide area network, and / or a wireless network. In an embodiment of the proposed transaction mechanism, the transaction server 160 may provision data to the transaction client 170. Those skilled in the art will appreciate that the transaction client 170 and the transaction server 160 may communicate directly. Alternatively, a relay agent may be used as an intermediary to relay messages between the transaction client 170 and the transaction server 160 via the cloud computing environment 50.
[0071] The present invention may be a system, a method, and / or a computer program product that may include a computer-readable storage medium (or media) having computer-readable program instructions for causing a processor to perform aspects of the present invention.
[0072] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer readable storage media includes the following: portable computer diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves that record instructions, and any suitable combination of the foregoing. Computer-readable storage medium, as used herein, should not be construed as a transitory signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or an electrical signal transmitted through a wire.
[0073] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to the respective computing / processing device or to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and transfers the computer-readable program instructions to a computer-readable storage medium in the respective computing / processing device for storage.
[0074] The computer readable program instructions for carrying out the operations of the present invention may be either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object oriented programming languages such as Smalltalk, C++, etc., and traditional procedural programming languages such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, as a stand-alone software package, partially on the user's computer, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer readable program instructions to personalize the electronic circuitry by utilizing state information of the computer readable program instructions to perform aspects of the invention.
[0075] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0076] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, whereby the instructions, executed via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable storage medium, whereby the instructions can instruct a computer, programmable data processing apparatus, and / or other device to function in a particular manner, whereby the computer readable storage medium having stored thereon instructions includes an article of manufacture including instructions that implement aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.
[0077] The computer-readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause a sequence of operational steps to be executed on the computer, other programmable apparatus, or other device to generate a computer-implemented process, whereby the instructions executing on the computer, other programmable apparatus, or other device implement the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.
[0078] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions that includes one or more executable instructions that implement the specified logical function. In some alternative implementations, the functions noted in the blocks may occur in an order different from the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in the reverse order depending on the functionality involved.
[0079] FIG. 5 illustrates an example of handling a received transaction request at a transaction server according to an embodiment. The exemplary embodiment of FIG. 5 can be implemented, for example, in the embodiments of FIG. 1 and FIG. 4. As mentioned above, the flow chart illustrates the architecture, functionality, and operation of possible implementations of the system, method, and computer program product as previously described herein according to various embodiments of the present invention. The flow chart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of the system, method, and computer program product according to various embodiments of the present invention. In this regard, each block in the flow chart or block diagram may represent a module, segment, or portion of instructions that includes one or more executable instructions that implement the specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in an order different from that noted in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in the reverse order depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or operations or execute a combination of special purpose hardware and computer instructions.
[0080] Referring to Figure 5, a schematic representation of a computer-implemented method 200 for handling a transaction request 210 received at a Transaction Server 220 is shown. A transaction request includes a request to a Transaction Server to perform a transaction. A transaction request may be a request for any type of transaction to be performed or executed by the Transaction Server. For example, a transaction request may include a read or write from a shared database. Alternatively, a transaction request may be the invocation of a self-contained program executing on the Transaction Server, or a program that proceeds to call other programs to perform various functions.
[0081] In response to receiving a transaction request 210 at a transaction server 220, the transaction request is analyzed 230 based on a transaction record 240 and current server capacity metrics 250. The transaction record contains a historical record of the server resources required to execute the transaction.
[0082] Server resources may include, but are not limited to, one or more memory usage metrics, e.g., the percentage of a server's memory allocation required to process a transaction; peak memory usage metrics, e.g., the maximum amount of memory required to process a transaction across an entire processing action; trusted computing-based usage metrics, processing time, i.e., the time it takes to process a given transaction; and processor usage metrics, e.g., the percentage of a server's processor allocation required to process a transaction.
[0083] Accordingly, the transaction record may be a set of historical records, i.e., one record per transaction ID, where each record may represent the typical server resource consumption of a given transaction. Each record may contain entries for critical resource footprints such as peak virtual storage usage, total CPU usage, transaction duration, TCB usage, etc. The transaction record may be a moving average of resource consumption, which is updated as each transaction is executed. Thus, if the behavior of a given transaction type changes, for example due to changes in the functionality of a client generating transaction requests, these changes will eventually be reflected in the transaction record.
[0084] The current server performance metric may include, but is not limited to, one or more of: a number of current transactions currently being processed; a memory usage metric; a processor usage metric; and a number of transaction requests in the queue. For example, if a large number of transactions are currently being processed at a given time, the current server performance metric may decrease, while if a small number of transactions are currently being processed at a given time, the current server performance metric may increase. In a further example, if a large percentage of the server memory is currently being used, the current server performance metric may decrease, while if a small percentage of the server memory is currently being used, the current server performance metric may increase. In a further example, if a large percentage of the server's processing power is currently being used, the current server performance metric may decrease, while if a small percentage of the server's processing power is currently being used, the current server performance metric may increase. In a further example, if a large number of transactions are currently in the queue, the current server performance metric may decrease, while if a small number of transactions are in the queue, the current server performance metric may increase.
[0085] A handling action for handling the transaction request may then be determined (260). The handling action may include one or more of queuing the transaction request, processing the transaction request, rejecting the transaction request, validating the transaction request, and routing the transaction request. Examples of handling actions and when a given handling action may be selected for handling a received transaction request at a Transaction Server are detailed further below.
[0086] Determining 260 a handling action for handling the transaction request 210 may include, but is not limited to, classifying the transaction request based on the analysis of the transaction request, and determining a handling action for handling the transaction request based on the classification of the transaction request.
[0087] In particular, the transaction request 210 may be classified as a heavyweight transaction or a lightweight transaction. A transaction request may be classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold. A transaction may be classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold. The transaction record 240 may include, but is not limited to, a historical record of previously executed transactions that were classified as lightweight or heavyweight transactions according to the server resources required to process the transaction. An incoming transaction request may then be classified as a heavyweight or lightweight transaction if it is determined that the transaction matches one of the classified transactions in the transaction record.
[0088] The transaction records 240 can be generated over time as the transaction server processes transaction requests. For example, the transaction records can be generated by monitoring a number of transactions processed by the transaction server and generating the transaction records based on the server resources required to process the monitored number of transactions. In other words, the transaction server can be adapted to monitor transactions as they are executed and the server resources required to execute the transactions in order to generate records of transactions executed by the server and classify them as heavyweight or lightweight transactions based on the server resources required to execute the transactions.
[0089] FIG. 6 illustrates a computer-implemented method 300 for generating a transaction record, which includes a historical record of the server resources of a transaction server required to execute a transaction.
[0090] The method may begin at step 310 by monitoring a transaction being processed or executed by a transaction server and at step 320 obtaining measurements of the server resources required to execute the transaction.
[0091] The measured value of the server resources required to execute the transaction may then be compared to a resource threshold in stage 330. The resource threshold may be any suitable threshold depending on the application of the transaction server, and the resource threshold may be manually defined by a user.
[0092] If the server resources required to execute the transaction exceed a resource threshold, the transaction may be classified as a heavyweight transaction (340), and if the server resources required to execute the transaction do not exceed a resource threshold, the transaction may be classified as a lightweight transaction (350).
[0093] In step 360, the classification transaction may then be added to the transaction record.
[0094] When an incoming transaction request is received at a transaction server, the incoming transaction request can be compared to the transaction records to determine whether the incoming transaction request should be classified as a heavyweight transaction or a lightweight transaction based on the transactions executed by the transaction server. If the transaction request is classified as a lightweight transaction, the transaction request can be processed immediately, where the transaction is classified as a lightweight transaction if the server resources required to process the transaction or the server resources expected to be required to process the transaction do not exceed a resource threshold as described above. If the transaction request is classified as a heavyweight transaction, the transaction request can be queued, where the transaction is classified as a heavyweight transaction if the server resources required to process the transaction or the server resources expected to be required to process the transaction exceed a resource threshold.
[0095] It should be noted that a given transaction can be classified differently according to different server resources. For example, a transaction request that requires a large amount of memory to execute, but a small amount of processor power to execute, can be classified as a heavyweight transaction with respect to memory usage, but a lightweight transaction with respect to processor usage. Accordingly, such a transaction can be queued if the current server metrics indicate low memory availability and high processing power, but can be processed immediately if the current server metrics indicate high memory availability and low processing power.
[0096] Accordingly, transaction servers can be adapted to categorize different transaction requests based on their historical resource usage. Transaction servers can automatically place concurrent execution limits on resource-heavy, or heavyweight, transactions while leaving lightweight transactions unaffected. Based on the current system load, as indicated by current server capacity metrics, transaction servers can determine whether new heavyweight transactions should be allowed to execute on the server or should be queued until the load on the system decreases.
[0097] If a transaction request is queued (e.g., because the transaction has been classified as a heavyweight transaction with respect to a given server resource and current server capacity metrics indicate that the heavyweight transaction cannot be immediately processed), the server resources of the transaction server can be monitored to determine when the heavyweight transaction can be processed by the transaction server. For example, if a heavyweight transaction is classified as resource intensive based on memory usage, the transaction server can monitor the currently available memory and process the transaction if the currently available memory is sufficient to process the transaction.
[0098] A queue of transaction requests may include a maximum queue time which, if exceeded by a given transaction, will cause the transaction to time out. In this way, transaction requests may be prevented from occupying the queue indefinitely.
[0099] In some cases, when monitoring server resources of a transaction server, it may be determined that a heavyweight transaction can be processed simultaneously with a lightweight transaction based on the monitored server resources. In this case, the heavyweight transaction may be processed simultaneously with the lightweight transaction. As an example, a heavyweight transaction with respect to memory usage may be processed simultaneously with a lightweight transaction with respect to processor usage or memory usage if the memory capacity of the server allows.
[0100] In practice, a transaction server may receive multiple transaction requests from different clients, where the multiple transaction requests may include one or more heavyweight transactions and one or more lightweight transactions. In this case, the transaction server may analyze the multiple transaction requests to determine whether one or more heavyweight transactions can be processed simultaneously with one or more lightweight transactions. The one or more heavyweight transactions may then be processed simultaneously with one or more lightweight transactions based on the determination. Furthermore, any number of combinations of heavyweight and lightweight transactions may be processed simultaneously based on currently available server resources.
[0101] A transaction server may be adapted to process the maximum number of transactions possible simultaneously. However, to prevent heavyweight transactions from being locked out of processing, a transaction server may be adapted to process a maximum number of heavyweight transactions simultaneously, and the remaining resources may be allocated to lightweight transactions.
[0102] Furthermore, the transaction server may be adapted to queue lightweight transaction requests to reduce the load on the server when the queue length exceeds a predetermined length. By queuing lightweight transactions when the queue length reaches a predetermined length, the transaction server can prevent heavyweight transactions from being rejected by lightweight transaction requests.
[0103] Accordingly, embodiments of the present invention provide automated and dynamic transaction request handling on a transaction server based on a classification of the transaction request. In particular, embodiments can provide handling of incoming transaction requests based on a historical record of server resources required to execute similar transactions in the past and the current capabilities of the transaction server.
[0104] In other words, a transaction server can make on-the-fly decisions about whether to execute a new transaction request or to defer or queue a transaction request based on a combination of historical transaction data and current server capabilities.
[0105] At this point, those skilled in the art should understand that in an embodiment of the present invention, the proposed transaction handling concept provides numerous advantages over traditional transaction handling approaches. These advantages include, but are not limited to, dynamic and accurate determination of how an incoming transaction request should be handled. In an embodiment of the present invention, this technical solution is achieved based on historical records of previously handled transactions and current server performance metrics.
[0106] In yet a further solution to the technical problem, the systems and processes described herein may provide a computer-implemented method of handling a transaction request received at a transaction server on or through a distributed communications network. In this case, a computer infrastructure, such as the computer systems shown in Figures 1 and 4 or the cloud environment shown in Figure 2, may be provided, and one or more systems performing the processes of the invention may be acquired (e.g., created, purchased, used, modified, etc.) and deployed to the computer infrastructure. To this extent, deploying the system may include, but is not limited to, (i) installing the program code from a computer-readable medium onto a computing device, such as the computer system shown in Figure 1; (ii) adding one or more computing devices to the computer infrastructure and more specifically to the cloud environment; and (iii) incorporating and / or modifying one or more existing systems of the computer infrastructure to enable the computer infrastructure to perform the processes of the invention.
[0107] The description of various embodiments of the present invention has been presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will become apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used in this specification has been selected to best explain the principles of the embodiments, practical applications, or technical improvements over the art found in the market, or to enable other skilled in the art to understand the embodiments disclosed herein.
Claims
1. 1. A computer-implemented method for handling received transaction requests at a transaction server, the transaction requests including a request to the transaction server to execute a transaction, the computer-implemented method comprising: In response to receiving a transaction request at the transaction server, analyzing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction and current server performance metrics to determine a handling action for handling the transaction request. A computer-implemented method comprising:
2. The computer-implemented method comprises: monitoring a plurality of transactions processed by the transaction server; and generating a transaction record based on the server resources required to process the plurality of transactions; The computer-implemented method of claim 1 , further comprising:
3. The computer-implemented method of claim 2 , wherein the transaction record includes one or more transaction classifications.
4. Generating the transaction record may include classifying each of the plurality of transactions according to the one or more transaction classifications, the one or more transaction classifications comprising: Heavyweight transactions; and Lightweight Transactions The computer-implemented method of claim 3 , comprising:
5. 5. The computer-implemented method of claim 4, wherein a transaction is classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold.
6. 5. The computer-implemented method of claim 4, wherein a transaction is classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold.
7. The step of determining a handling action for handling the transaction request includes: classifying the transaction request based on the analysis of the transaction request; and determining the handling action for handling the transaction request based on the classification of the transaction request. The computer-implemented method of claim 3 , comprising:
8. determining the handling action for handling the transaction request based on the classification of the transaction request, processing the transaction request if the transaction request is classified as a lightweight transaction, where a transaction is classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold; and queuing the transaction request if the transaction request is classified as a heavyweight transaction, where a transaction is classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold.
8. The computer-implemented method of claim 7, comprising:
9. The computer-implemented method further comprises: monitoring the server resources of the transaction server; determining when a heavyweight transaction can be processed by the transaction server based on the monitoring of the server resources; and processing queued transaction requests based on the step of determining when a heavyweight transaction can be processed. The computer-implemented method of claim 8 , further comprising:
10. The computer-implemented method further comprises: monitoring the server resources of the transaction server; determining whether heavyweight transactions can be processed concurrently with light weight transactions by the transaction server based on the monitoring of the server resources; and processing the heavyweight transaction concurrently with the lightweight transaction based on the step of determining whether the heavyweight transaction can be processed concurrently with the lightweight transaction. The computer-implemented method of claim 8 , further comprising:
11. A plurality of transaction requests is received at the transaction server, the plurality of transaction requests including one or more heavyweight transactions and one or more lightweight transactions, and the computer-implemented method includes: monitoring the server resources of the transaction server; determining whether one or more heavyweight transactions can be processed concurrently with one or more lightweight transactions by the transaction server based on the monitoring of the server resources; and processing the one or more heavyweight transactions concurrently with one or more lightweight transactions based on the step of determining whether the heavyweight transaction can be processed concurrently with the lightweight transaction. The computer-implemented method of claim 8 , further comprising:
12. The server resource includes: Memory usage metrics; Peak memory usage metrics; Trusted Computing Base Usage Metrics; Processing time; and Processor Usage Metrics The computer-implemented method of claim 1 , comprising one or more of:
13. The current server capability metric is: The number of current transactions currently being processed; Memory usage metrics; Processor usage metrics; and The number of transaction requests in the queue. The computer-implemented method of claim 1 , comprising one or more of:
14. The handling action is queuing the transaction request; processing said transaction request; rejecting the transaction request; validating the transaction request; and Routing the transaction request. The computer-implemented method of claim 1 , comprising one or more of:
15. 1. A computer program product for handling transaction requests by a transaction server, the transaction requests including a request to execute a transaction to a transaction server, the computer program product comprising a computer readable storage medium having program instructions embodied thereon, the program instructions being executable by a processing unit to cause the processing unit to perform a method, the method comprising: In response to receiving a transaction request at the transaction server, analyzing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction and current server capability metrics to determine a handling action for handling the transaction request. A computer program product comprising:
16. The computer program product comprises a computer-readable storage medium having program instructions embodied thereon, the program instructions being executable by a processing unit to cause the processing unit to perform the following steps when determining the handling action for handling the transaction request, the steps comprising: classifying the transaction request based on the analysis of the transaction request; and determining the handling action for handling the transaction request based on the classification of the transaction request.
16. The computer program product of claim 15,
17. determining the handling action for handling the transaction request based on the classification of the transaction request, processing the transaction request if the transaction request is classified as a lightweight transaction, where a transaction is classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold; and queuing the transaction request if the transaction request is classified as a heavyweight transaction, where a transaction is classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold.
20. The computer program product of claim 16, comprising:
18. 1. A processing system for handling transaction requests by a transaction server, the transaction requests including a request to the transaction server to execute a transaction, the processing system comprising: In response to receiving a transaction request at the transaction server, analyzing the transaction request based on a transaction record including a historical record of server resources required to execute the transaction and current server performance metrics to determine a handling action for handling the transaction request.
23. A processing system comprising: a processor unit configured to execute
19. The step of determining a handling action for handling the transaction request includes: classifying the transaction request based on the analysis of the transaction request; and determining the handling action for handling the transaction request based on the classification of the transaction request.
20. The processing system of claim 18, comprising:
20. determining the handling action for handling the transaction request based on the classification of the transaction request, processing the transaction request if the transaction request is classified as a lightweight transaction, where a transaction is classified as a lightweight transaction if the server resources required to process the transaction do not exceed a resource threshold; and queuing the transaction request if the transaction request is classified as a heavyweight transaction, where a transaction is classified as a heavyweight transaction if the server resources required to process the transaction exceed a resource threshold.
20. The processing system of claim 19, comprising:
Citation Information
Patent Citations
Computing resource scheduling method and device for RSA computing
CN111190733A
Transaction processing server, method for managing client connections to a transaction processing server, and computer program product
JP2020531956A
