Processing unit
The processing device and method generate transaction information to link multiple RESTful API accesses, enhancing efficiency by processing them as a series of transactions and managing connections effectively, addressing the inefficiencies of traditional RESTful APIs.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- NEC SOLUTION INNOVATORS LTD
- Filing Date
- 2024-10-16
- Publication Date
- 2026-04-28
AI Technical Summary
Existing RESTful API technologies struggle with linking multiple accesses together, particularly when updating based on search results, as they require one-by-one complete access, which is inefficient for certain content types.
A processing device and method that generates transaction information to identify connections for a series of processes, allowing multiple accesses to be linked together, and includes a management hash map to associate TX information with connection objects, enabling efficient transaction management and release under predetermined conditions.
Enables multiple accesses to be processed as one transaction, improving efficiency by allowing series of processes to be executed collectively and ensuring transaction information is released appropriately, even in the event of failures or network issues.
Smart Images

Figure 2026070572000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a processing device, a processing method, and a program.
Background Art
[0002] A technique using a RESTful API, which is an API (Application Programming Interface) constructed according to the concept of REST (Representational State Transfer), is known.
[0003] As a related document, for example, there is Patent Document 1. Patent Document 1 describes a communication device that can communicate with a device capable of accessing a media file existing on a network. According to Patent Document 1, the communication device includes an acquisition unit that acquires resource data indicating an image item and its properties included in the media file from the device, an operation unit that operates the resource data, an editing unit that edits the resource data via a RESTful API based on the operation, and a transmission unit that transmits the editing result of the editing unit to the device together with an edit request.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] When using a RESTful API, it is a principle to perform one-by-one complete access for each request. However, there are cases where, depending on the content to be accessed, such as when wanting to perform an update using search results, it is desired to link multiple accesses together. For such demands, there has been a problem that it is difficult to cope with the technique described in Patent Document 1.
[0006] Therefore, one of the objectives of this disclosure is to provide a processing device, a processing method, and a program that can solve the above-mentioned problems. [Means for solving the problem]
[0007] To achieve this objective, the processing apparatus described herein is A receiving unit that receives requests to execute processing, A generation unit generates transaction information to identify the connection to be used when executing a series of processes, based on the connection information of the connection established with an external device in response to the receipt of the aforementioned request. A return unit that returns the execution result of the request and the transaction information to the sender of the request, has This is the structure it takes.
[0008] Furthermore, the processing method in this disclosure is Information processing device, Upon receiving a request to execute a process, Based on the connection information of the connection established with the external device in response to the receipt of the aforementioned request, transaction information is generated to identify the connection to be used when executing a series of processes. The execution result of the aforementioned request and the transaction information are returned to the sender of the request. This is the structure it takes.
[0009] Furthermore, the program in this disclosure is In an information processing device, Upon receiving a request to execute a process, Based on the connection information of the connection established with the external device in response to the receipt of the aforementioned request, transaction information is generated to identify the connection to be used when executing a series of processes. Return the execution result of the request and the transaction information to the source of the request. It is a program for realizing the processing.
Effect of the Invention
[0010] According to each of the above-described configurations, multiple accesses can be linked together as needed.
Brief Description of the Drawings
[0011] [Figure 1] It is a diagram showing a configuration example of a processing system in the present disclosure. [Figure 2] It is a diagram showing an outline of processing performed by a processing system. [Figure 3] It is a block diagram showing a configuration example of a processing device. [Figure 4] It is a diagram showing an example of a management hash map. [Figure 5] It is a diagram showing an example of TX information. [Figure 6] It is a diagram showing an example of release conditions. [Figure 7] It is a flowchart showing an operation example of a processing device. [Figure 8] It is a flowchart showing an operation example of a processing device at the time of release processing. [Figure 9] It is a diagram showing a hardware configuration example of a second processing device in the present disclosure. [Figure 10] It is a block diagram showing a configuration example of a processing device.
Mode for Carrying Out the Invention
[0012] [First Embodiment] An example configuration of the processing system 100 in this disclosure will be described with reference to Figures 1 to 8. Figure 1 is a diagram showing an example configuration of the processing system 100. Figure 2 is a diagram showing an overview of the processing performed by the processing system 100. Figure 3 is a block diagram showing an example configuration of the processing device 200. Figure 4 is a diagram showing an example of the management hash map 231. Figure 5 is a diagram showing an example of TX information. Figure 6 is a diagram showing an example of the release condition. Figures 7 and 8 are flowcharts showing an example of the operation of the processing device 200. Note that in this disclosure, the drawings may be associated with one or more embodiments.
[0013] In the present disclosure, a processing system 100 that provides access using a RESTful API, which is an API (Application Programming Interface) constructed according to the concept of REST (Representational State Transfer), will be described. As will be described later, the processing system 100 can process a plurality of accesses as one transaction if necessary while providing one-by-one complete question-and-answer-form accesses. For example, as shown in FIG. 1, when the processing system 100 determines that an access is not a target access to be regarded as one transaction according to information included in an HTTP (Hypertext Transfer Protocol) request or the like, the processing system 100 provides one-by-one complete question-and-answer-form accesses. On the other hand, when it is determined that an access is a target access to be regarded as one transaction, as shown in FIG. 2, the processing system 100 generates TX information (transaction information) for specifying a connection used when executing a series of processes corresponding to a plurality of accesses based on connection connection information. Then, the processing system 100 realizes a process of regarding a plurality of accesses as one transaction by passing the generated TX information between the user and the processing device 200. As an example, the processing system 100 has a management hash map 231 which is management information associating TX information with a connection object or the like. The processing system 100 can realize a series of processes using the same connection by, for example, searching the management hash map 231 using the TX information to specify a connection used when executing a process corresponding to an access.
[0014] Furthermore, the processing system 100 can disconnect the connection and release the TX information according to predetermined conditions. For example, when a user of the processing system 100 executes a transaction consisting of multiple HTTP requests, if the user program aborts or a network failure occurs, there is a risk that there will be no opportunity to release the TX information. Therefore, the processing system 100 releases the TX information according to predetermined conditions, such as an HTTP commit / rollback request from the user, or no access for a predetermined period of time.
[0015] Figure 1 shows an example configuration of the processing system 100. Referring to Figure 1, the processing system 100 includes a processing unit 200, which is an information processing device such as a web server that performs processing in response to access such as HTTP requests, and a data access / server 300. As shown in Figure 1, the processing unit 200 is connected to user devices and receives HTTP requests from user devices requesting the execution of processing. Upon receiving an HTTP request, the processing unit 200 establishes a connection with the data access / server 300 as necessary and performs processing according to the received HTTP request. After that, the processing unit 200 returns the processing result to the user device that sent the HTTP request. Furthermore, as described above, the processing unit 200 generates TX information according to predetermined conditions and transmits the generated TX information to the user device. By performing this exchange of TX information, the processing unit 200 realizes a series of processes in response to multiple accesses.
[0016] Figure 3 shows an example of the configuration of the processing unit 200. Referring to Figure 3, the processing unit 200 has the following main components: an operation input unit 210, a communication interface unit 220, a storage unit 230, and an arithmetic processing unit 240.
[0017] Figure 2 illustrates a case where the functions of the processing unit 200 are realized using a single information processing unit. However, at least some of the functions of the processing unit 200 may be realized using multiple information processing units, for example, by being implemented on the cloud. Furthermore, the processing unit 200 does not have to include some of the configurations illustrated above, such as not having an operation input unit 210, and may have configurations other than those illustrated above, such as a screen display device.
[0018] The operation input unit 210 consists of an operation input device such as a keyboard or mouse. The operation input unit 210 detects the operation of the operator operating the processing unit 200 and outputs it to the calculation processing unit 240.
[0019] The communication interface unit 220 consists of data communication circuits and the like. The communication interface unit 220 performs data communication with user devices, data access / server 300, and other arbitrary external devices connected via a communication line.
[0020] The storage unit 230 is a storage device such as a hard disk or memory. The storage unit 230 stores processing information and programs 232 necessary for various processes in the arithmetic processing unit 240. The programs 232 are read into the arithmetic processing unit 240 and executed to realize various processing functions. The programs 232 are pre-read from external devices or recording media via data input / output functions such as the communication interface unit 220 and stored in the storage unit 230. The main information stored in the storage unit 230 is, for example, a management hash map 231.
[0021] The management hash map 231 contains information necessary to execute multiple accesses as a series of processes. The management hash map 231 can be updated in response to the return unit 245 returning an HTTP response containing TX information in response to an HTTP request.
[0022] Figure 4 shows an example of the information contained in the management hash map 231. Referring to Figure 4, the management hash map 231 associates TX information with TX information class objects such as connection objects. For example, in the management hash map 231, TX information can be used as the key to register a TX information class object, described later, as the value. Here, the TX information class object contains information for identifying the associated connection. For example, referring to Figure 4, the TX information class object can contain the following information: • Connection object used to execute transactions (Example: DataAccessJDBCConnection object) • A string specified by the user in the HTTP request (information specified by the user) (Example: The string of the clientinfo parameter specified in an HTTP request) • Date and time when an HTTP response specifying TX information was returned to the user device. Furthermore, the TX information class object may contain only some of the examples mentioned above, such as not including the information specified by the user.
[0023] The arithmetic processing unit 240 has an arithmetic device such as a CPU (Central Processing Unit) and its peripheral circuits. The arithmetic processing unit 240 reads and executes the program 232 from the storage unit 230, thereby realizing various processing units by having the hardware and the program 232 cooperate. The main processing units realized by the arithmetic processing unit 240 include, for example, the request receiving unit 241, the connection unit 242, the TX information generation unit 243, the processing execution unit 244, the return unit 245, and the release unit 246.
[0024] The arithmetic processing unit 240 may have a GPU (Graphic Processing Unit), DSP (Digital Signal Processor), MPU (Micro Processing Unit), FPU (Floating Point Number Processing Unit), PPU (Physics Processing Unit), TPU (Tensor Processing Unit), quantum processor, microcontroller, or a combination thereof, instead of the CPU described above.
[0025] The request receiving unit 241 receives HTTP requests from external devices such as user devices. For example, the request receiving unit 241 can receive HTTP requests that include, as necessary, TX information and information indicating that it is a series of processes.
[0026] The connection unit 242 establishes a connection with the data access / server 300, which is an external device, in response to the reception of an HTTP request by the request receiving unit 241.
[0027] For example, the connection unit 242 establishes a connection when the received HTTP request satisfies predetermined conditions. As an example, the connection unit 242 can establish a connection when the HTTP request does not contain TX information. The connection unit 242 may also establish a connection according to conditions other than those exemplified above.
[0028] The TX information generation unit 243 generates TX information, which is transaction information used to identify the connection to be used when executing a series of processes, based on the connection information of the connection. In other words, the TX information generation unit 243 generates TX information, which is unique identification information for identifying a transaction.
[0029] For example, the TX information generation unit 243 can generate TX information when the received HTTP request satisfies predetermined conditions. As an example, the TX information generation unit 243 generates TX information when the HTTP request does not contain TX information and the HTTP request contains information indicating that it is a series of processes (or information indicating that it is not a question-and-answer session), such as the auto-commit parameter being turned off. The TX information generation unit 243 may also generate TX information according to conditions other than those exemplified above.
[0030] Figure 5 shows an example of the information included in TX information. For example, referring to Figure 5, the TX information generation unit 243 can generate TX information that includes the following three strings based on the connection information of the connection. String A: Hash code value of the connection object (Example: Hash code value of DataAccessJDBCConnection object: displayed in hexadecimal) String B: Date (month and day) the connection object was obtained. Format example: MMDD String C: Time the connection object was acquired (e.g., displaying up to microseconds). Example format: hhmmssmmmmmm
[0031] For example, as described above, the TX information generation unit 243 generates TX information that includes, if necessary, the hash value of the connection object and a value corresponding to the connection date and time of the connection object. The TX information generation unit 243 may also generate TX information that includes information other than the examples given above, as long as it is possible to identify the transaction.
[0032] The processing execution unit 244 executes processing corresponding to the received HTTP request in response to the HTTP request received by the request receiving unit 241. For example, the processing execution unit 244 can send one of the following to the data access / server 300 in response to the received HTTP request: a search request, an update request, a commit request, etc. The processing execution unit 244 may also perform processing in response to HTTP requests other than those exemplified above.
[0033] Furthermore, if the HTTP request contains TX information, the processing execution unit 244 can use the TX information contained in the HTTP request to identify the connection to be used when executing the various processes described above. For example, the processing execution unit 244 can identify the connection object corresponding to the TX information by searching the management hash map 231 using the TX information. Then, the processing execution unit 244 can use the identified connection to execute the processing corresponding to the received HTTP request. If the HTTP request does not contain TX information, the processing execution unit 244 may execute the processing using the connection established by the connection unit 242.
[0034] The return unit 245 receives the results of processing performed by the processing execution unit 244 from the data access / server 300. The return unit 245 then returns information corresponding to the received processing results to the source of the HTTP request, such as a user device. Furthermore, if TX information is generated in response to the HTTP request, or if TX information is included in the HTTP request, the return unit 245 returns the TX information along with the information corresponding to the processing results. In this way, the return unit 245 returns the processing results to the source of the request and, if necessary, sends TX information to the source of the request.
[0035] The release unit 246 determines that a transaction consisting of multiple HTTP requests has ended when the received HTTP requests and the transaction processing status meet predetermined conditions, and releases the TX information. For example, the release unit 246 can disconnect the connection and release the TX information according to predetermined conditions.
[0036] Figure 6 shows an example of the conditions that trigger the release unit 246 to perform the release described above. Referring to Figure 6, the release unit 246 can release TX information if any of the following conditions are met. • HTTP requests for commit / rollback from the user (user device) • When the device itself detects an error. - When the number of transactions currently running meets the condition and the release unit 246 determines that a transaction has not been accessed for a certain period of time. • When the device shuts down The release unit 246 may release TX information according to any conditions other than those exemplified above.
[0037] For example, as described above, the release unit 246 releases TX information in response to receiving an HTTP request indicating the end of a transaction from a user device or the like. The release unit 246 also manages the number of transactions currently running by managing the number of TX information being generated. The release unit 246 can then release TX information according to the number of transactions currently running that it manages. Specifically, for example, if the number of transactions currently running reaches a predetermined upper limit, the release unit 246 checks the date and time when the HTTP response included in the management hash map 231 was returned. The release unit 246 then releases TX information according to the result of comparing the elapsed time from the return date and time to the time of the above check with a predetermined maximum response time. For example, the release unit 246 releases TX information where the elapsed time from the return date and time to the time of the above check exceeds the maximum response time. The release unit 246 may release all TX information that satisfies the above conditions, or it may release only some of the TX information that satisfies the conditions, such as so that the number of transactions currently running falls below a predetermined number. The upper limit of the number of transactions and the thresholds for the maximum response time can be arbitrarily determined.
[0038] The above is an example of the configuration of the processing unit 200. Next, an example of the operation of the processing unit 200 will be described with reference to Figures 7 and 8.
[0039] Figure 7 is a flowchart showing an example of the operation of the processing unit 200. Referring to Figure 7, the request receiving unit 241 receives an HTTP request from an external device such as a user device (step S101).
[0040] If the received HTTP request contains information indicating that it is a series of processes (or not a question-and-answer session) (Step S102, YES), and does not contain TX information (Step S103, NO), the connection unit 242 establishes a connection with the external device, the data access / server 300 (Step S104). The TX information generation unit 243 then generates TX information based on the connection information of the established connection (Step S105).
[0041] After the processing in step S105, the processing execution unit 244 uses the connection established by the connection unit 242 to execute processing corresponding to the received HTTP request (step S106). If the HTTP request contains TX information (step S103, YES), the processing execution unit 244 uses the TX information contained in the HTTP request to identify the corresponding connection object. Then, the processing execution unit 244 uses the identified connection object to execute processing corresponding to the received HTTP request (step S106).
[0042] The return unit 245 returns the processing result in step S106 (step S107). In addition, the return unit 245 returns TX information along with the processing result.
[0043] On the other hand, if the received HTTP request does not contain information indicating that it is a series of processes (or if it contains information indicating that it is a question-and-answer format) (step S102, NO), the processing unit 200 provides access in a question-and-answer format in which each request is completed individually (step S108). For example, the processing unit 200 may perform a series of processes such as establishing a connection, executing the process, returning data, and disconnecting the connection.
[0044] The above is an example of the operation of the processing unit 200. Next, with reference to Figure 8, an example of the operation of the processing unit 200 when TX information is released will be explained.
[0045] Referring to Figure 8, the release unit 246 checks whether the received HTTP request and transaction processing status meet predetermined conditions (step S201).
[0046] If the conditions are met (step S201, YES), the release unit 246 determines that the transaction consisting of multiple HTTP requests has ended and releases the TX information (step S202). For example, the release unit 246 disconnects the connection and releases the TX information according to predetermined conditions. On the other hand, if the conditions are not met (step S201, NO), the release unit 246 does not release the TX information.
[0047] The above is an example of the operation of the processing unit 200 when TX information is released.
[0048] Thus, the processing unit 200 includes a request receiving unit 241, a TX information generation unit 243, and a return unit 245. With this configuration, the TX information generation unit 243 can generate TX information when the HTTP request received by the request receiving unit 241 satisfies predetermined conditions. The return unit 245 can return the TX information along with information corresponding to the processing result. This allows the TX information to be shared between the request source, such as a user device, and the processing unit 200. As a result, transactions using TX information can be shared, and the processing unit 200 can execute a series of processes as needed.
[0049] Furthermore, the processing unit 200 has a processing execution unit 244. With this configuration, when an HTTP request contains TX information, the processing execution unit 244 can identify the connection to be used when executing processing using the TX information.
[0050] Furthermore, the processing unit 200 has a release unit 246. With this configuration, the release unit 246 can release TX information when the status of received HTTP requests and transaction processing meets predetermined conditions. For example, as mentioned above, if an abort or network failure occurs in the user's equipment, there is a risk that the opportunity to release TX information will be lost. By having the release unit 246 release TX information according to predetermined conditions, TX information can be released as needed even when the above-mentioned failures occur.
[0051] [Second Embodiment] Next, with reference to Figures 9 and 10, a modified example of the processing unit 200, the processing unit 400, will be described. Figure 9 is a diagram showing an example of the hardware configuration of the processing unit 400. Figure 10 is a block diagram showing an example of the configuration of the processing unit 400.
[0052] The processing unit 400 is an information processing unit that performs processing in response to access such as HTTP requests. Figure 9 shows an example of the hardware configuration of the processing unit 400. Referring to Figure 9, the processing unit 400 has the following hardware configuration as an example. ·CPU (Central Processing Unit) 401 (computing unit) ROM (Read Only Memory) 402 (Storage Device) • RAM (Random Access Memory) 403 (storage device) • Programs loaded into RAM403 (404) • Storage device 405 for storing the program group 404 • Drive device 406 for reading and writing to recording medium 410 outside the information processing device. • Communication interface 407 connecting to a communication network 411 outside the information processing device. • Input / output interface 408 for data input and output. • Bus 409 connecting each component
[0053] Furthermore, the processing unit 400 can realize the functions of the receiving unit 421, generating unit 422, and return unit 423 shown in Figure 10 by having the CPU 401 acquire the program group 404 and execute it. The program group 404 is, for example, stored in advance in a storage device 405 or ROM 402, and the CPU 401 loads it into RAM 403 or the like and executes it as needed. Alternatively, the program group 404 may be supplied to the CPU 401 via a communication network 411, or it may be stored in advance in a recording medium 410, and the drive device 406 may read the program and supply it to the CPU 401.
[0054] Figure 9 shows an example of the hardware configuration of the processing unit 400. The hardware configuration of the processing unit 400 is not limited to the case described above. For example, the processing unit 400 may consist of only a part of the configuration described above, such as not having a drive device 406. Also, the CPU 401 may be a GPU or the like as exemplified in the first embodiment.
[0055] The receiving unit 421 receives requests that initiate processing. For example, the receiving unit 421 receives HTTP requests and the like.
[0056] The generation unit 422 generates transaction information (TX information) to identify the connection to be used when executing a series of processes, based on the connection information of the connection established with the external device in response to the receipt of a request. The generation unit 422 may be configured to generate transaction information when the request meets predetermined conditions, etc.
[0057] The return unit 423 returns the request execution result and transaction information to the request sender.
[0058] Thus, the processing unit 400 includes a receiving unit 421, a generating unit 422, and a return unit 423. With this configuration, the return unit 423 can return transaction information generated by the generating unit 422 along with the execution result of the request received by the receiving unit 421. As a result, transaction information can be shared with the request sender. This makes it possible to perform a series of processes that link multiple accesses together as needed.
[0059] The processing unit 400 described above can be realized by incorporating a predetermined program into the information processing unit 400 or other information processing unit. Specifically, another form of the program described herein is a program for implementing processing that receives a request to perform processing on the information processing unit 400 or other information processing unit, generates transaction information to identify the connection to be used when executing a series of processes based on the connection information of the connection established with an external device in response to the receipt of the request, and returns the execution result of the request and the transaction information to the sender of the request.
[0060] Furthermore, the processing method executed by the information processing device such as the processing device 400 described above involves the information processing device such as the processing device 400 receiving a request to execute processing, generating transaction information to identify the connection to be used when executing a series of processes based on the connection information of the connection established with the external device in response to the receipt of the request, and returning the execution result of the request and the transaction information to the request sender.
[0061] Even a program having the configuration described above, or a recording medium readable by a computer on which the program is recorded, or a processing method, can achieve the same functions and effects as the processing device 400 described above, and thus the objectives of this disclosure described above can be achieved.
[0062] <Note> Some or all of the above embodiments may also be described as follows. The general outline of the processing apparatus, etc., in this disclosure is described below. However, this disclosure is not limited to the following configurations.
[0063] (Note 1) A receiving unit that receives requests to execute processing, A generation unit generates transaction information to identify the connection to be used when executing a series of processes, based on the connection information of the connection established with an external device in response to the receipt of the aforementioned request. A return unit that returns the execution result of the request and the transaction information to the sender of the request, has Processing device. (Note 2) The system includes an execution unit that executes the request in response to the receipt of the request by the receiving unit, When the receiving unit receives the request containing the transaction information, the execution unit identifies the connection to be used to execute the request using the transaction information contained in the request, and executes the request using the identified connection. The return unit returns the execution result of the request by the execution unit and the transaction information to the sender of the request. The processing apparatus described in Appendix 1. (Note 3) The generation unit generates the transaction information, which includes the hash value of the connection object and a value corresponding to the connection date and time of the connection object, based on the connection information of the connection. The processing apparatus described in Appendix 1 or Appendix 2. (Note 4) It maintains management information that associates the aforementioned transaction information with the connection object. When the receiving unit receives the request containing the transaction information, the execution unit uses the transaction information to search for the management information and then identifies the connection to be used when executing the request. The processing apparatus described in Appendix 2. (Note 5) It has a release unit that disconnects the connection and releases the transaction information according to predetermined conditions, The aforementioned management information includes, along with the connection object, information indicating the date and time when the execution result of the request was returned. The release unit releases the transaction information based on information indicating the date and time the execution result of the request was returned, according to predetermined conditions. The processing apparatus described in Appendix 4. (Note 6) The release unit releases the transaction information when the number of transaction information being generated exceeds a predetermined number by comparing the date and time the execution result of the request was returned with a predetermined threshold. The processing apparatus described in Appendix 5. (Note 7) The generation unit generates the transaction information when the request does not contain the transaction information and the request contains information indicating that it is a series of processes. The processing apparatus described in any one of the items from Appendix 1 to Appendix 6. (Note 8) The aforementioned management information is associated with the connection object along with information specified by the user. The processing apparatus described in Appendix 4. (Note 9) Information processing device, Upon receiving a request to execute a process, Based on the connection information of the connection established with the external device in response to the receipt of the aforementioned request, transaction information is generated to identify the connection to be used when executing a series of processes. The execution result of the aforementioned request and the transaction information are returned to the sender of the request. Processing method. (Note 10) In an information processing device, Upon receiving a request to execute a process, Based on the connection information of the connection established with the external device in response to the receipt of the aforementioned request, transaction information is generated to identify the connection to be used when executing a series of processes. The execution result of the aforementioned request and the transaction information are returned to the sender of the request. A program to perform the processing.
[0064] Furthermore, some or all of the configurations described in Appendices 2 to 8, which are dependent on the processing device described in Appendice 1, may also be dependent on the processing method described in Appendice 9, the program described in Appendice 10, etc., through a similar dependency relationship. Moreover, not limited to Appendices 9 and 10, some or all of the configurations described in the appendices may also be dependent on various hardware, software, various recording means, methods, or systems for recording software, without departing from the embodiments described above.
[0065] The programs described in each of the above embodiments and appendices can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (Random Access Memory)). Programs may also be supplied to a computer using various types of transient computer-readable media. Examples of transient computer-readable media include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable media can be supplied to a computer via wired communication channels such as electric wires and optical fibers, or via wireless communication channels.
[0066] Although the present disclosure has been described above with reference to the embodiments described above, the present disclosure is not limited to the embodiments described above. Various modifications to the structure and details of the present disclosure can be made as can be understood by those skilled in the art within the scope of the present disclosure. Furthermore, each embodiment can be combined with other embodiments as appropriate. [Explanation of Symbols]
[0067] 100 Processing Systems 200 Processing Units 210 Operation Input Section 220 Communication Interface Section 230 Storage section 231 Administrative Hash Map 232 Programs 240 Arithmetic Processing Unit 241 Request Receiving Section 242 Connection part 243 TX information generation section 244 Processing Execution Unit 245 Return Department 246 Liberation Department 300 Data Access / Servers 400 Processing Units 401 CPU 402 ROM 403 RAM 404 Program Group 405 Storage device 406 Drive unit 407 Communication Interface 408 Input / Output Interfaces Bus 409 410 Recording media 411 Communication Network 421 Receiving Unit 422 Generation part 423 Return Department
Claims
1. A receiving unit that receives requests to execute processing, A generation unit generates transaction information to identify the connection to be used when executing a series of processes, based on the connection information of the connection established with an external device in response to the receipt of the aforementioned request. A return unit that returns the execution result of the request and the transaction information to the sender of the request, has Processing device.
2. The system includes an execution unit that executes the request in response to the receipt of the request by the receiving unit, When the receiving unit receives the request containing the transaction information, the execution unit identifies the connection to be used to execute the request using the transaction information contained in the request, and executes the request using the identified connection. The return unit returns the execution result of the request by the execution unit and the transaction information to the sender of the request. The apparatus according to claim 1.
3. The generation unit generates the transaction information, which includes the hash value of the connection object and a value corresponding to the connection date and time of the connection object, based on the connection information of the connection. The apparatus according to claim 1.
4. It maintains management information that associates the aforementioned transaction information with the connection object. When the receiving unit receives the request containing the transaction information, the execution unit uses the transaction information to search for the management information and then identifies the connection to be used when executing the request. The apparatus according to claim 2.
5. It has a release unit that disconnects the connection and releases the transaction information according to predetermined conditions, The aforementioned management information includes, along with the connection object, information indicating the date and time when the execution result of the request was returned. The release unit releases the transaction information based on information indicating the date and time the execution result of the request was returned, according to predetermined conditions. The apparatus according to claim 4.
6. The release unit releases the transaction information when the number of transaction information being generated exceeds a predetermined number by comparing the date and time the execution result of the request was returned with a predetermined threshold. The apparatus according to claim 5.
7. The generation unit generates the transaction information when the request does not contain the transaction information and the request contains information indicating that it is a series of processes. The apparatus according to claim 1.
8. The aforementioned management information is associated with the connection object along with information specified by the user. The apparatus according to claim 4.
9. Information processing device, Upon receiving a request to execute a process, Based on the connection information of the connection established with the external device in response to the receipt of the aforementioned request, transaction information is generated to identify the connection to be used when executing a series of processes. The execution result of the aforementioned request and the transaction information are returned to the sender of the request. Processing method.
10. In an information processing device, Upon receiving a request to execute a process, Based on the connection information of the connection established with the external device in response to the receipt of the aforementioned request, transaction information is generated to identify the connection to be used when executing a series of processes. The execution result of the aforementioned request and the transaction information are returned to the sender of the request. A program to perform the processing.
Citation Information
Patent Citations
Communications device
JP2024073107A