KR20200028366A - Sever, method of controlling a server and computer program stored in computer readable medium therefor - Google Patents
Sever, method of controlling a server and computer program stored in computer readable medium therefor Download PDFInfo
- Publication number
- KR20200028366A KR20200028366A KR1020200025777A KR20200025777A KR20200028366A KR 20200028366 A KR20200028366 A KR 20200028366A KR 1020200025777 A KR1020200025777 A KR 1020200025777A KR 20200025777 A KR20200025777 A KR 20200025777A KR 20200028366 A KR20200028366 A KR 20200028366A
- Authority
- KR
- South Korea
- Prior art keywords
- transaction
- server
- message
- processor
- error
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/564—Enhancement of application control based on intercepted application data
-
- H04L67/2819—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/16—Threshold monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
본 개시는 서버를 관리하는 프로그램에 관한 것으로서, 구체적으로 서버가 수신한 트랜잭션의 부하를 관리하는 프로그램 및 이를 저장하고 있는 서버에 관한 것이다.The present disclosure relates to a program for managing a server, and specifically, a program for managing a load of a transaction received by the server and a server storing the program.
종래의 기술에 따른 서버에 의하면 많은 트랜잭션을 처리할 때, 트랜잭션들의 처리 시간이 길어질 수 있다. 이와 같이, 트랜잭션들의 처리 시간이 길어지는 경우, 서버의 성능이 저하될 수 있다.According to a server according to the prior art, when processing a large number of transactions, the processing time of the transactions may be long. As such, when the processing time of the transactions is long, performance of the server may be deteriorated.
한편, 최근에는 웹 페이지의 표시와 연동하여 서버 측에서 애플리케이션을 실행 가능하게 하는 각종 기반 기술이 제공되고 있다. 이에 따라, 사용자 인터페이스가 제공하는 웹 기능을 이용하여 정보 시스템을 실현하는 기술에 대한 연구가 지속되고 있다.On the other hand, in recent years, various infrastructure technologies have been provided that enable applications to be executed on the server side in conjunction with the display of web pages. Accordingly, research on technologies for realizing an information system using web functions provided by a user interface is continuing.
한편, 정보 시스템의 부하를 제어하는 기술로는 특허 공개 제2001-160040호 공보에 1대의 컴퓨터 상에서 서버 프로그램을 실행시키고, 서버 프로그램이 상기 컴퓨터의 CPU를 사용하는 사용률이 높은 경우에 서버 프로그램의 다중도를 증가시키는 기술이 개시되어 있다.On the other hand, as a technique for controlling the load of the information system, a server program is executed on one computer in Patent Publication No. 2001-160040, and the server program is multiplied when the usage rate of using the CPU of the computer is high. Techniques for increasing the degree have been disclosed.
또한, 특허 공개 제2000-268012호 공보에 LAN 접속된 부하 분산 장치와 서버 컴퓨터를 구비하는 클라이언트 서버 시스템에 있어서, 서버 컴퓨터의 부하가 할당 값을 초과하는 경우에, 부하 분산 장치가 단말로부터 트랜잭션의 수신을 중단하는 기술이 개시되어 있다.In addition, in a client server system having a load balancer and a server computer connected to LAN in Patent Publication No. 2000-268012, when the load of the server computer exceeds an assigned value, the load balancer receives a transaction from the terminal. A technique for stopping reception is disclosed.
본 개시는 전술한 배경 기술에 대응하여 안출된 것으로, 중요한 트랜잭션의 처리를 보장하고, 시스템의 안정성을 향상시키는 컴퓨터 판독 가능 매체에 저장된 컴퓨터 프로그램을 제공하고자 한다.The present disclosure has been devised in correspondence with the background art described above, and is intended to provide a computer program stored in a computer-readable medium that guarantees processing of an important transaction and improves system stability.
본 개시의 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the following description.
전술한 바와 같은 과제를 해결하기 위한 본 개시의 일 실시예에 따라, 컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램이 개시된다. 상기 컴퓨터 프로그램은 컴퓨터로 하여금 이하의 단계들을 수행하기 위한 명령들을 포함하며, 상기 단계들은: 외부 컴퓨팅 장치로부터 제 1 트랜잭션을 포함하는 메시지를 수신하는 단계; 상기 메시지를 판독(read)하여, 상기 제 1 트랜잭션을 식별하는 단계; 상기 제 1 트랜잭션에 설정된 제 1 TPS(Transaction Per Second) 값을 인식하는 단계; 상기 제 1 트랜잭션과 관련된 현재 부하 값을 모니터링하는 단계; 및 상기 현재 부하 값 및 상기 제 1 TPS 값의 비교 결과에 기초하여, 상기 제 1 트랜잭션의 처리 여부를 결정하는 단계;를 포함할 수 있다.In accordance with one embodiment of the present disclosure for solving the above-described problems, a computer program stored in a computer-readable storage medium is disclosed. The computer program includes instructions for causing the computer to perform the following steps, the steps comprising: receiving a message including a first transaction from an external computing device; Reading the message to identify the first transaction; Recognizing a first transaction per second (TPS) value set in the first transaction; Monitoring a current load value associated with the first transaction; And determining whether to process the first transaction based on the comparison result of the current load value and the first TPS value.
또한, 상기 제 1 트랜잭션의 처리 여부를 결정하는 단계에서, 상기 현재 부하 값이 상기 제 1 TPS 값 미만인 경우, 상기 제 1 트랜잭션을 처리하는 것으로 결정할 수 있다.Also, in determining whether to process the first transaction, when the current load value is less than the first TPS value, it may be determined to process the first transaction.
또한, 상기 제 1 트랜잭션의 처리 여부를 결정하는 단계에서, 상기 현재 부하 값이 상기 제 1 TPS 값 이상인 경우, 상기 제 1 트랜잭션에 에러가 발생하였다고 인식할 수 있다.In addition, in determining whether to process the first transaction, when the current load value is equal to or greater than the first TPS value, it may be recognized that an error has occurred in the first transaction.
또한, 상기 제 1 트랜잭션에 에러가 발생하였다고 인식된 경우, 상기 제 1 트랜잭션에 대하는 에러 트랜잭션을 수행하는 단계;를 더 포함할 수 있다.In addition, when it is recognized that an error has occurred in the first transaction, the method may further include performing an error transaction for the first transaction.
또한, 상기 에러 트랜잭션은, 에러 메시지를 상기 외부 컴퓨팅 장치에 전송하는 트랜잭션일 수 있다.Further, the error transaction may be a transaction that transmits an error message to the external computing device.
또한, 상기 에러 트랜잭션을 수행하는 단계는: 상기 제 1 트랜잭션을 메모리에 저장하는 단계; 및 특정 조건이 만족된 때, 상기 제 1 트랜잭션을 상기 메모리에서 리드(read)하여 처리하는 단계;를 포함할 수 있다.Further, performing the error transaction may include: storing the first transaction in memory; And when a specific condition is satisfied, reading and processing the first transaction in the memory.
또한, 상기 특정 조건은, 기 설정된 시간이 경과된 때 만족될 수 있다.In addition, the specific condition may be satisfied when a preset time has elapsed.
또한, 상기 특정 조건은, 상기 현재 부하 값이 기 설정된 값보다 낮아진 경우 만족될 수 있다.In addition, the specific condition may be satisfied when the current load value is lower than a preset value.
또한, 상기 제 1 트랜잭션에 설정된 제 1 TPS 값을 인식하는 단계에서, 메모리에 저장된 복수의 트랜잭션 각각에 설정된 TPS 값 중 상기 제 1 트랜잭션에 설정된 상기 제 1 TPS 값을 인식할 수 있다.In addition, in the step of recognizing the first TPS value set in the first transaction, the first TPS value set in the first transaction among the TPS values set in each of the plurality of transactions stored in the memory may be recognized.
또한, 상기 제 1 TPS 값은, 상기 제 1 트랜잭션이 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션을 포함하는 경우, 상기 제 1 하위 트랜잭션에 설정된 제 2 TPS 값 및 상기 제 2 하위 트랜잭션에 설정된 제 3 TPS 값의 합산으로 산출된 값일 수 있다.In addition, the first TPS value includes a second TPS value set in the first sub-transaction and a third TPS set in the second sub-transaction when the first transaction includes a first sub-transaction and a second sub-transaction. It may be a value calculated by summing values.
전술한 바와 같은 과제를 해결하기 위한 본 개시의 일 실시예에 따라, 서버가 개시된다. 상기 서버는: 외부 컴퓨팅 장치로부터 제 1 트랜잭션을 포함하는 메시지를 수신하는 송수신 모듈; 상기 제 1 트랜잭션을 포함하는 복수의 트랜잭션 각각에 설정된 TPS(Transaction Per Second) 값을 저장하는 메모리; 상기 메시지를 판독(read)하여, 상기 제 1 트랜잭션을 식별하는 메시지 판단 모듈; 상기 메모리에 저장된 상기 제 1 트랜잭션에 설정된 제 1 TPS 값을 인식하는 TPS 값 인식 모듈; 상기 제 1 트랜잭션과 관련된 현재 부하 값을 모니터링하는 모니터링 모듈; 및 상기 현재 부하 값 및 상기 제 1 TPS 값의 비교 결과에 기초하여, 상기 제 1 트랜잭션의 처리 여부를 결정하는 프로세서;를 포함할 수 있다.According to one embodiment of the present disclosure for solving the above-described problems, the server is started. The server includes: a sending and receiving module for receiving a message including a first transaction from an external computing device; A memory for storing a Transaction Per Second (TPS) value set in each of a plurality of transactions including the first transaction; A message determination module that reads the message and identifies the first transaction; A TPS value recognition module recognizing a first TPS value set in the first transaction stored in the memory; A monitoring module that monitors a current load value associated with the first transaction; And a processor that determines whether to process the first transaction based on a result of comparing the current load value and the first TPS value.
전술한 바와 같은 과제를 해결하기 위한 본 개시의 일 실시예에 따라, 서버를 제어하는 방법이 개시된다. 상기 방법은: 외부 컴퓨팅 장치로부터 제 1 트랜잭션을 포함하는 메시지를 수신하는 단계; 상기 메시지를 판독(read)하여, 상기 제 1 트랜잭션을 식별하는 단계; 상기 제 1 트랜잭션에 설정된 제 1 TPS(Transaction Per Second) 값을 인식하는 단계; 상기 제 1 트랜잭션과 관련된 현재 부하 값을 모니터링하는 단계; 및 상기 현재 부하 값 및 상기 제 1 TPS 값의 비교 결과에 기초하여, 상기 제 1 트랜잭션의 처리 여부를 결정하는 단계;를 포함할 수 있다.According to an embodiment of the present disclosure for solving the above-described problems, a method of controlling a server is disclosed. The method includes: receiving a message including a first transaction from an external computing device; Reading the message to identify the first transaction; Recognizing a first transaction per second (TPS) value set in the first transaction; Monitoring a current load value associated with the first transaction; And determining whether to process the first transaction based on the comparison result of the current load value and the first TPS value.
본 개시에서 얻을 수 있는 기술적 해결 수단은 이상에서 언급한 해결 수단들로 제한되지 않으며, 언급하지 않은 또 다른 해결 수단들은 아래의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical solutions that can be obtained in the present disclosure are not limited to the above-mentioned solutions, and other solutions that are not mentioned are clearly understood by those skilled in the art from the description below. Will be understandable.
본 개시는 서버를 제어하는 컴퓨터 판독 가능 매체에 저장된 컴퓨터 프로그램을 제공함으로써, 중요한 트랜잭션의 처리를 보장하고, 시스템의 안정성을 향상시킬 수 있다.By providing a computer program stored in a computer readable medium that controls the server, the present disclosure can guarantee processing of important transactions and improve system stability.
다양한 양상들이 이제 도면들을 참조로 기재되며, 여기서 유사한 참조 번호들은 총괄적으로 유사한 구성요소들을 지칭하는데 이용된다. 이하의 실시예에서, 설명 목적을 위해, 다수의 특정 세부사항들이 하나 이상의 양상들의 총체적 이해를 제공하기 위해 제시된다. 그러나, 그러한 양상(들)이 이러한 구체적인 세부사항들 없이 실시될 수 있음은 명백할 것이다.
도 1은 본 개시의 몇몇 실시예에 따른 서버 제어 시스템의 개략도이다.
도 2는 본 개시의 몇몇 실시예에 따른 서버의 블록 구성도이다.
도 3은 본 개시의 몇몇 실시예에 따른 외부 컴퓨팅 장치의 블록 구성도이다.
도 4는 본 개시의 몇몇 실시예에 따른 서버가 트랜잭션을 처리하는 방법을 설명하기 위한 흐름도이다.
도 5는 본 개시의 몇몇 실시예에 따른 제 1 TPS 값을 인식하는 방법을 설명하기 위한 흐름도이다.
도 6은 본 개시의 몇몇 실시예에 따른 서버가 외부 서버와 연동하여 트랜잭션을 처리하는 방법을 설명하기 위한 흐름도이다.
도 7은 본 개시의 몇몇 실시예에 따른 서버가 에러 트랜잭션을 수행하는 방법을 설명하기 위한 흐름도이다.
도 8은 본 개시의 몇몇 실시예에 따른 서버가 에러 트랜잭션을 수행하는 방법의 일례를 설명하기 위한 흐름도이다.
도 9는 본 개시의 몇몇 실시예에 따른 서버가 에러 트랜잭션을 수행하는 방법의 다른 일례를 설명하기 위한 흐름도이다.
도 10은 본 개시의 몇몇 실시예에 따른 트랜잭션을 포함하는 메시지를 설명하기 위한 도면이다.
도 11는 본 개시 내용의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.Various aspects are now described with reference to the figures, in which like reference numerals are used collectively to refer to similar elements. In the following embodiments, for illustrative purposes, a number of specific details are presented to provide a holistic understanding of one or more aspects. However, it will be apparent that such aspect (s) may be practiced without these specific details.
1 is a schematic diagram of a server control system in accordance with some embodiments of the present disclosure.
2 is a block diagram of a server in accordance with some embodiments of the present disclosure.
3 is a block diagram of an external computing device according to some embodiments of the present disclosure.
4 is a flowchart illustrating a method for a server to process a transaction according to some embodiments of the present disclosure.
5 is a flowchart illustrating a method of recognizing a first TPS value according to some embodiments of the present disclosure.
6 is a flowchart illustrating a method for a server to process a transaction in cooperation with an external server according to some embodiments of the present disclosure.
7 is a flowchart illustrating a method for a server to perform an error transaction according to some embodiments of the present disclosure.
8 is a flowchart illustrating an example of a method in which a server performs an error transaction according to some embodiments of the present disclosure.
9 is a flowchart illustrating another example of a method in which a server performs an error transaction according to some embodiments of the present disclosure.
10 is a diagram for describing a message including a transaction according to some embodiments of the present disclosure.
11 shows a simplified and general schematic diagram of an example computing environment in which embodiments of the present disclosure can be implemented.
다양한 실시예들 및/또는 양상들이 이제 도면들을 참조하여 개시된다. 하기 설명에서는 설명을 목적으로, 하나 이상의 양상들의 전반적 이해를 돕기 위해 다수의 구체적인 세부사항들이 개시된다. 그러나, 이러한 양상(들)은 이러한 구체적인 세부사항들 없이도 실행될 수 있다는 점 또한 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 감지될 수 있을 것이다. 이후의 기재 및 첨부된 도면들은 하나 이상의 양상들의 특정한 예시적인 양상들을 상세하게 기술한다. 하지만, 이러한 양상들은 예시적인 것이고 다양한 양상들의 원리들에서의 다양한 방법들 중 일부가 이용될 수 있으며, 기술되는 설명들은 그러한 양상들 및 그들의 균등물들을 모두 포함하고자 하는 의도이다.Various embodiments and / or aspects are now disclosed with reference to the drawings. In the following description, for purposes of explanation, a number of specific details are disclosed to assist in the overall understanding of one or more aspects. However, it will also be appreciated by those skilled in the art of this disclosure that this aspect (s) can be practiced without these specific details. The following description and the annexed drawings set forth in detail certain illustrative aspects of the one or more aspects. However, these aspects are exemplary and some of the various methods in the principles of the various aspects may be used, and the descriptions described are intended to include all such aspects and their equivalents.
본 명세서에서 사용되는 "실시예", "예", "양상", "예시" 등은 기술되는 임의의 양상 또는 설계가 다른 양상 또는 설계들보다 양호하다거나, 이점이 있는 것으로 해석되지 않을 수도 있다.As used herein, "an embodiment", "yes", "a good", "an example", etc., may not be construed as any aspect or design described being better or more advantageous than another aspect or designs. .
더불어, 용어 "또는"은 배타적 "또는"이 아니라 내포적 "또는"을 의미하는 것으로 의도된다. 즉, 달리 특정되지 않거나 문맥상 명확하지 않은 경우에, "X는 A 또는 B를 이용한다"는 자연적인 내포적 치환 중 하나를 의미하는 것으로 의도된다. 즉, X가 A를 이용하거나; X가 B를 이용하거나; 또는 X가 A 및 B 모두를 이용하는 경우, "X는 A 또는 B를 이용한다"가 이들 경우들 어느 것으로도 적용될 수 있다. 또한, 본 명세서에 사용된 "및/또는"이라는 용어는 열거된 관련 아이템들 중 하나 이상의 아이템의 가능한 모든 조합을 지칭하고 포함하는 것으로 이해되어야 한다. In addition, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or”. That is, unless specified otherwise or unclear in context, "X uses A or B" is intended to mean one of the natural inclusive substitutions. That is, X uses A; X uses B; Or, if X uses both A and B, "X uses A or B" can be applied in either of these cases. It should also be understood that the term “and / or” as used herein refers to and includes all possible combinations of one or more of the listed related items.
또한, "포함한다" 및/또는 "포함하는"이라는 용어는, 해당 특징 및/또는 구성요소가 존재함을 의미하지만, 하나 이상의 다른 특징, 구성요소 및/또는 이들의 그룹의 존재 또는 추가를 배제하지 않는 것으로 이해되어야 한다. 또한, 달리 특정되지 않거나 단수 형태를 지시하는 것으로 문맥상 명확하지 않은 경우에, 본 명세서와 청구범위에서 단수는 일반적으로 "하나 또는 그 이상"을 의미하는 것으로 해석되어야 한다.Also, the terms “comprises” and / or “comprising” mean that the feature and / or component is present, but excludes the presence or addition of one or more other features, elements, and / or groups thereof. It should be understood as not. In addition, unless otherwise specified or contextually unclear as indicating a singular form, the singular in the specification and claims should generally be construed to mean "one or more."
더불어, 본 명세서에서 사용되는 용어 "정보" 및 "데이터"는 종종 서로 상호교환 가능하도록 사용될 수 있다.In addition, the terms "information" and "data" as used herein can often be used interchangeably with each other.
이하, 도면 부호에 관계 없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략한다. 또한, 본 명세서에 개시된 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않는다.Hereinafter, the same or similar components are assigned the same reference numbers regardless of the reference numerals, and overlapping descriptions thereof are omitted. In addition, in describing the embodiments disclosed in this specification, detailed descriptions of related well-known technologies are omitted when it is determined that the gist of the embodiments disclosed in this specification may be obscured. In addition, the accompanying drawings are only for easy understanding of the embodiments disclosed herein, and the technical spirit disclosed herein is not limited by the accompanying drawings.
비록 제1, 제2 등이 다양한 소자나 구성요소들을 서술하기 위해서 사용되나, 이들 소자나 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 소자나 구성요소를 다른 소자나 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 소자나 구성요소는 본 개시의 기술적 사상 내에서 제2 소자나 구성요소 일 수도 있음은 물론이다.Although the first, second, etc. are used to describe various elements or components, it goes without saying that these elements or components are not limited by these terms. These terms are only used to distinguish one element or component from another element or component. Therefore, it goes without saying that the first element or component mentioned below may be the second element or component within the technical spirit of the present disclosure.
다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used in the present specification may be used as meanings commonly understood by those skilled in the art to which the present disclosure pertains. In addition, terms defined in the commonly used dictionary are not ideally or excessively interpreted unless specifically defined.
어떤 구성 요소가 다른 구성 요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성 요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성 요소가 다른 구성 요소에 "직접 연결되어" 있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성 요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is said to be "connected" or "connected" to another component, it is understood that other components may be directly connected to or connected to the other component, but other components may exist in the middle. It should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that no other component exists in the middle.
이하의 설명에서 사용되는 구성 요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다.The suffixes "modules" and "parts" for components used in the following description are given or mixed only considering the ease of writing the specification, and do not have a meaning or a role distinguished from each other.
본 개시의 목적 및 효과, 그리고 그것들을 달성하기 위한 기술적 구성들은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 본 개시를 설명하는데 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 개시에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다.The objectives and effects of the present disclosure, and technical configurations for achieving them, will be apparent with reference to embodiments described below in detail together with the accompanying drawings. In describing the present disclosure, when it is determined that a detailed description of a known function or configuration may unnecessarily obscure the subject matter of the present disclosure, the detailed description will be omitted. In addition, terms to be described later are terms defined in consideration of functions in the present disclosure, which may vary according to a user's or operator's intention or practice.
그러나 본 개시는 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있다. 단지 본 실시예들은 본 개시가 완전하도록 하고, 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자에게 개시의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 개시는 청구항의 범주에 의해 정의될 뿐이다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.However, the present disclosure is not limited to the embodiments disclosed below, and may be implemented in various different forms. Only the present embodiments are provided to make the present disclosure complete, and to fully inform the person of ordinary skill in the art to which the present disclosure belongs, and the present disclosure is only defined by the scope of the claims. . Therefore, the definition should be made based on the contents throughout this specification.
도 1은 본 개시의 몇몇 실시예에 따른 서버 제어 시스템의 개략도이다.1 is a schematic diagram of a server control system in accordance with some embodiments of the present disclosure.
본 개시의 몇몇 실시예에 따르면, 서버 제어 시스템은 서버(100), 네트워크(200), 외부 컴퓨팅 장치(300) 및 외부 서버(400) 중 적어도 하나를 포함할 수 있다. 다만, 상술한 구성 요소들은 서버 제어 시스템을 구현하는데 있어서 필수적인 것은 아니어서, 서버 제어 시스템은 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있다.According to some embodiments of the present disclosure, the server control system may include at least one of a
본 개시의 실시예들에서, “트랜잭션(transaction)”은 처리되는 특정한 업무, 특정한 거래 등을 의미할 수 있다. 예를 들어, 은행 온라인 시스템에서 트랜잭션은 계좌 조회, 송금 등이 될 수 있고, 항공 좌석 예약 시스템에서는 항공권 검색, 항공권 예약 및 결제 등이 트랜잭션이 될 수 있다.In embodiments of the present disclosure, “transaction” may mean a specific task, a specific transaction, or the like being processed. For example, in a bank online system, a transaction may be an account inquiry, remittance, etc., and in an airline seat reservation system, a ticket search, ticket reservation, and payment may be a transaction.
본 개시의 실시예들에서, TPS(Transaction Per Second) 값은 초당 처리 가능한 트랜잭션 값을 나타내는 수치일 수 있다. 이는, 서버(100)에 프로그램을 세팅할 때 서버(100)의 관리자가 트랜잭션의 중요도에 따라 설정한 값이다. 여기서, 트랜잭션에 중요도가 높을 경우 TPS 값은 높은 값이 설정될 수 있고, 트랜잭션에 중요도가 낮은 경우 TPS 값에 낮은 값이 설정될 수 있다. 구체적인 예를 들어, 제 1 트랜잭션의 TPS 값이 10이고, 제 2 트랜잭션의 TPS 값이 20인 경우, 제 1 트랜잭션의 중요도 보다 제 2 트랜잭션의 중요도가 높은 것을 의미할 수 있다.In embodiments of the present disclosure, a Transaction Per Second (TPS) value may be a value indicating a transaction value that can be processed per second. This is a value set by the administrator of the
본 개시의 몇몇 실시예에 따르면, 서버(100)는 트랜잭션의 중요도에 기초하여 트랜잭션을 처리할 수 있다. 따라서, 서버(100)는 사용자에게 중요 거래를 보장할 수 있다.According to some embodiments of the present disclosure, the
또한, 서버(100)는 서버(100)가 감당할 수 있는 TPS 값을 초과하는 트랜잭션의 처리를 막을 수 있다. 따라서, 서버(100)는 서버(100)의 안정성을 높일 수 있다.Also, the
본 개시의 몇몇 실시예에 따르면, 서버(100)는 수신된 메시지에 포함된 트랜잭션을 직접 수행할 수 있다. 다만, 이에 한정되는 것은 아니고, 서버(100)는 수신된 메시지에 포함된 트랜잭션을 다른 외부 서버(400)에 전송하여 다른 외부 서버(400)가 트랜잭션을 수행하도록 할 수도 있다. According to some embodiments of the present disclosure, the
본 개시의 실시예들에 따른 서버(100), 외부 컴퓨팅 장치(300) 및 외부 서버(400)는 네트워크(200)를 통해, 본 개시의 실시예들에 따른 시스템을 위한 데이터를 상호 송수신할 수 있다.The
몇몇 실시예에 따르면, 서버(100)는 네트워크(200)를 통해 외부 컴퓨팅 장치(300)로부터 트랜잭션을 포함하는 메시지를 수신할 수 있다. 또한, 서버(100)는 수신한 트랜잭션을 기 설정된 TPS 값에 기초하여 처리할지 여부를 결정할 수 있다.According to some embodiments, the
서버(100)는, 메시지에 포함된 트랜잭션을 처리한 경우, 응답 메시지를 외부 컴퓨팅 장치(300)로 전송할 수 있다. 한편, 서버(100)는, 메시지에 포함된 트랜잭션을 처리하지 않는 경우, 에러 메시지를 외부 컴퓨팅 장치(300)로 전송할 수 있다.When processing a transaction included in the message, the
몇몇 실시예에 따르면, 외부 컴퓨팅 장치(300)는 복수의 외부 컴퓨팅 장치를 포함할 수 있다. 예를 들어, 외부 컴퓨팅 장치(300)는 제 1 외부 컴퓨팅 장치(301), 제 2 외부 컴퓨팅 장치(302) 및 제 3 외부 컴퓨팅 장치(303) 등을 포함할 수 있다.According to some embodiments, the
상술한 외부 컴퓨팅 장치(300)는 사용자의 단말기가 될 수 있다. 여기서, 사용자 단말기는 이동 가능여부에 따라 이동 단말기(mobile/portable terminal) 및 고정 단말기(stationary terminal)으로 나뉠 수 있다. 다시 이동 단말기는 사용자의 직접 휴대 가능 여부에 따라 휴대(형) 단말기(handheld terminal) 및 거치형 단말기(vehicle mounted terminal)로 나뉠 수 있다.The above-described
예를 들어, 사용자 단말기는 휴대폰, 스마트 폰(smart phone), 데스크탑 컴퓨터(desktop computer), 개인용 컴퓨터(personal computer) 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, 디지털 TV, 디지털 사이니지, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)) 등을 포함할 수 있다.For example, the user terminal is a mobile phone, a smart phone, a desktop computer, a personal computer, a laptop computer, a digital broadcasting terminal, a digital TV, a digital signage, and a PDA (personal). digital assistants), PMP (portable multimedia player), navigation, slate PC, tablet PC, ultrabook, wearable device (e.g., smartwatch), It may include a glass-type terminal (smart glass), HMD (head mounted display), and the like.
몇몇 실시예에 따르면, 서버(100)는 네트워크(200)를 통해 외부 서버(400)와 연결될 수 있다. 여기서, 외부 서버(400)는 복수의 외부 서버를 포함할 수 있다.According to some embodiments, the
본 개시의 실시예들에 따른 네트워크(200)는 공중전화 교환망(PSTN:Public Switiched Telephone Network), xDSL(x Digital Subscriber Line), RADSL(Rate Adaptive DSL), MDSL(Multi Rate DSL), VDSL(Very High Speed DSL), UADSL(Universal Asymmetric DSL), HDSL(High Bit Rate DSL) 및 근거리 통신망(LAN) 등과 같은 다양한 유선 통신 시스템들을 사용할 수 있다. The
또한, 여기서 제시되는 네트워크(200)는 CDMA(Code Division Multi Access), TDMA(Time Division Multi Access), FDMA(Frequency Division Multi Access), OFDMA(Orthogonal Frequency Division Multi Access), SC-FDMA(Single Carrier-FDMA) 및 다른 시스템들과 같은 다양한 무선 통신 시스템들을 사용할 수 있다.In addition, the
본 개시의 실시예들에 따른 네트워크(200)는 유선 및 무선 등과 같은 그 통신 양태를 가리지 않고 구성될 수 있으며, 단거리 통신망(PAN:Personal Area Network), 근거리 통신망(WAN:Wide Area Network) 등 다양한 통신망으로 구성될 수 있다. 또한, 상기 네트워크는 공지의 월드와이드웹(WWW:World Wide Web)일 수 있으며, 적외선(IrDA:Infrared Data Assoication) 또는 블루투스(Bluetooth)와 같이 단거리 통신에 이용되는 무선 전송 기술을 이용할 수도 있다.The
본 명세서에서 설명된 기술들은 위에서 언급된 네트워크들뿐만 아니라, 다른 네트워크들에서도 사용될 수 있다.The techniques described herein can be used in the networks mentioned above, as well as other networks.
도 2는 본 개시의 몇몇 실시예에 따른 서버의 블록 구성도이다.2 is a block diagram of a server in accordance with some embodiments of the present disclosure.
도 2를 참조하면, 서버(100)는 송수신 모듈(110), 메모리(120), 메시지 판단 모듈(130), TPS 값 인식 모듈(140), 모니터링 모듈(150) 및 프로세서(160)를 포함할 수 있다. 다만, 상술한 구성 요소들은 서버(100)를 구현하는데 있어서 필수적인 것은 아니어서, 서버(100)는 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있다. 여기서, 각각의 구성 요소들은 별개의 칩이나 모듈이나 장치로 구성될 수 있고, 하나의 장치 내에 포함될 수도 있다.Referring to FIG. 2, the
송수신 모듈(110)은, 서버(100)와 통신 시스템 사이, 서버(100)와 외부 컴퓨팅 장치(300) 사이, 또는 서버(100)와 외부 서버(400) 사이의 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 또한, 상기 송수신 모듈(110)은, 서버(100)를 하나 이상의 네트워크에 연결하는 하나 이상의 모듈을 포함할 수 있다.The transmit / receive
이러한 송수신 모듈(110)은, 이동통신 모듈, 무선 인터넷 모듈, 근거리 통신 모듈 중 적어도 하나를 포함할 수 있다.The transmission /
송수신 모듈(110)은 외부 컴퓨팅 장치(300)로부터 트랜잭션이 포함된 메시지를 수신할 수 있다.The transmission /
프로세서(160)는, 메시지를 수신함에 따라, 메시지에 포함된 트랜잭션의 처리 여부를 결정할 수 있다. 프로세서(160)는, 트랜잭션의 처리 여부를 결정한 경우, 송수신 모듈(110)을 제어하여, 응답 메시지 및 에러 메시지 중 적어도 하나를 외부 컴퓨팅 장치(300)로 전송할 수 있다.The
메모리(120)는 서버(100)의 다양한 기능을 지원하는 데이터를 저장한다. 메모리(120)는 서버(100)에서 구동되는 다수의 응용 프로그램(application program 또는 애플리케이션(application)), 서버(100)의 동작을 위한 데이터들, 명령어들을 저장할 수 있다.The
이러한 응용 프로그램 중 적어도 일부는, 유무선 통신을 통해 외부 서버로부터 다운로드 될 수 있다. 또한, 이러한 응용 프로그램 중 적어도 일부는, 서버(100)의 기본적인 기능(예를 들어, 파일 관리, 메인 프레임이나 공중망을 통한 다른 네트워크와의 연결, 장치 공유)을 위하여 출고 당시부터 서버(100)상에 존재할 수 있다.At least some of these applications may be downloaded from external servers through wired or wireless communication. In addition, at least some of these applications, the basic functions of the server 100 (for example, file management, connection to other networks through the mainframe or public network, device sharing) from the time of shipment from the
한편, 응용 프로그램은, 메모리(120)에 저장되고, 서버(100) 상에 설치되어, 프로세서(160)에 의하여 상기 서버(100)의 동작(또는 기능)을 수행하도록 구동될 수 있다.Meanwhile, the application program may be stored in the
본 개시의 몇몇 실시예에 따르면, 메모리(120)는 복수의 트랜잭션 각각에 설정된 TPS 값을 저장하고 있을 수 있다. 또한, 메모리(120)는 복수의 에러에 대응하는 에러 메시지를 저장하고 있을 수 있다.According to some embodiments of the present disclosure, the
여기서, 복수의 트랜잭션 각각에 설정된 TPS 값은 관리자가 서버(100)에 프로그램을 세팅할 때(또는 프로그램을 업데이트할 때) 트랜잭션의 중요도에 따라 설정하여 저장한 값일 수 있다. 따라서, 프로세서(160)는, 트랜잭션을 포함하는 메시지를 수신한 때, 메모리(120)에 저장된 복수의 트랜잭션 각각에 설정된 TPS 값 중 메시지에 포함된 트랜잭션에 대응하는 TPS 값을 검색할 수 있다. 그리고, 프로세서(160)는 상기 검색된 TPS 값을 이용하여 트랜잭션의 처리 여부를 결정할 수 있다. 이에 대한 자세한 설명은, 도 4에서 후술한다.Here, the TPS value set for each of the plurality of transactions may be a value set and stored according to the importance of the transaction when the administrator sets the program in the server 100 (or updates the program). Accordingly, when receiving a message including a transaction, the
상술한 바와 같이, 프로세서(160)는 트랜잭션의 중요도에 기초하여 트랜잭션을 처리할 수 있다. 따라서, 프로세서(160)는 사용자에게 중요 거래를 보장할 수 있다. 또한, 프로세서(160)는 서버(100)가 감당할 수 있는 TPS 값을 초과하는 트랜잭션의 처리를 막을 수 있다. 따라서, 프로세서(160)는 서버(100)의 안정성을 높일 수 있다.As described above, the
한편, 복수의 에러에 대응하는 에러 메시지는, 복수의 트랜잭션 각각에 맵핑되어 메모리(120)에 저장되어 있을 수 있다. 구체적으로, 에러 메시지는 관리자가 서버(100)에 프로그램을 세팅할 때(또는 프로그램을 업데이트할 때), 복수의 트랜잭션 각각에 맵핑되도록 관리자가 설정하여 저장한 메시지일 수 있다. 따라서, 프로세서(160)는 제 1 트랜잭션을 처리할 수 없다고 인식한 경우, 제 1 트랜잭션에 맵핑된 제 1 에러 메시지를 메모리(120)에서 검색한 후 검색된 제 1 에러 메시지를 외부 컴퓨팅 장치(300)에게 전송할 수 있다. 그리고, 프로세서(160)는 상기 제 1 트랜잭션과 다른 제 2 트랜잭션을 처리할 수 없다고 인식한 경우, 제 2 트랜잭션에 맵핑된 제 2 에러 메시지를 메모리(120)에서 검색한 후 검색된 제 2 에러 메시지를 외부 컴퓨팅 장치(300)에게 전송할 수 있다. 만약, 관리자가 제 1 트랜잭션과 제 2 트랜잭션에 동일한 에러 메시지를 맵핑하여 프로그램을 세팅해 놓은 경우, 제 1 에러 메시지와 제 2 에러 메시지는 동일할 수 있다. 다만, 관리자가 제 1 트랜잭션과 제 2 트랜잭션 각각에 상이한 에러 메시지를 맵핑하여 프로그램을 세팅해 놓은 경우, 제 1 에러 메시지와 제 2 에러 메시지는 상이할 수 있다.Meanwhile, error messages corresponding to a plurality of errors may be mapped to each of the plurality of transactions and stored in the
메시지 판단 모듈(130)은 외부 컴퓨팅 장치(300)로부터 수신한 메시지를 판독(read)할 수 있다. 또한, 메시지 판단 모듈(130)은 메시지에 포함된 트랜잭션을 식별할 수 있다.The message determination module 130 may read a message received from the
본 개시의 몇몇 실시예에 따르면, 메시지 판단 모듈(130)은, 메시지가 복수의 트랜잭션을 포함하고 있는 경우, 복수의 트랜잭션 각각을 식별할 수 있다. 메시지 판단 모듈(130)은, 메시지가 복수의 하위 트랜잭션을 포함하고 있는 경우, 복수의 하위 트랜잭션 각각을 식별할 수 있다. 또한, 메시지 판단 모듈(130)은 메시지가 복수의 하위 트랜잭션을 포함하고 있는 경우, 복수의 하위 트랜잭션 각각을 식별하지 않고 복수의 하위 트랜잭션 각각에 대한 상위 트랜잭션만 식별할 수도 있다.According to some embodiments of the present disclosure, the message determination module 130 may identify each of the plurality of transactions when the message includes a plurality of transactions. The message determination module 130 may identify each of a plurality of sub-transactions when the message includes a plurality of sub-transactions. Also, when the message includes a plurality of sub-transactions, the message determination module 130 may not identify each of the plurality of sub-transactions, but may only identify the top transaction for each of the plurality of sub-transactions.
TPS 값 인식 모듈(140)은 외부 컴퓨팅 장치(300)로부터 수신한 메시지에 포함된 트랜잭션에 설정된 TPS 값을 인식하도록 TPS 값 인식 모듈(140)을 제어할 수 있다.The TPS value recognition module 140 may control the TPS value recognition module 140 to recognize the TPS value set in the transaction included in the message received from the
구체적으로, TPS 값 인식 모듈(140)은 외부 컴퓨팅 장치(300)로부터 메시지를 수신한 때, 상기 수신된 메시지에 포함된 제 1 트랜잭션의 TPS 값을 메모리(120)에서 검색하여 인식할 수 있다. 여기서, 메모리(120)는 모든 트랜잭션에 설정된 TPS 값을 저장하고 있을 수 있다.Specifically, when receiving a message from the
예를 들어, 제 1 트랜잭션에 TPS 값이 100으로 설정되어 메모리(120)에 저장되어 있는 경우, TPS 값 인식 모듈(140)은 제 1 트랜잭션을 포함하는 메시지를 수신한 때, 제 1 트랜잭션의 TPS 값이 100이라고 인식할 수 있다.For example, when the TPS value is set to 100 in the first transaction and stored in the
모니터링 모듈(150)은 메시지에 포함된 제 1 트랜잭션과 관련된 현재 부하 값을 모니터링할 수 있다. 여기서, 현재 부하 값은 서버(100)에서 처리하고 있는 제 1 트랜잭션의 부하를 나타내는 값일 수 있다.The
예를 들어, 모니터링 모듈(150)은, 제 1 트랜잭션이 항공 예약과 관련된 트랜잭션인 경우, 제 1 트랜잭션을 수신한 때 항공 예약과 관련된 트랜잭션이 현재 얼마만큼 처리되고 있는지 인식할 수 있다. 만약, 항공 예약과 관련된 제 1 트랜잭션을 100개 처리하고 있는 상태에서 제 1 트랜잭션을 포함하는 메시지를 수신한 경우, 모니터링 모듈(150)은 제 1 트랜잭션과 관련된 현재 부하 값이 100이라고 인식할 수 있다.For example, if the first transaction is a transaction related to airline reservation, the
프로세서(160)는 서버 제어와 관련된 동작 외에도, 통상적으로 서버(100)의 전반적인 동작을 제어한다. 프로세서(160)는 위에서 살펴본 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 정보 등을 처리하거나 메모리(120)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다.In addition to operations related to server control, the
또한, 프로세서(160)는 메모리에 저장된 응용 프로그램을 구동하기 위하여, 도 2과 함께 살펴본 구성요소들 중 적어도 일부를 제어할 수 있다. 나아가, 프로세서(160)는 상기 응용 프로그램의 구동을 위하여, 서버(100)에 포함된 구성요소들 중 적어도 둘 이상을 서로 조합하여 동작시킬 수 있다.In addition, the
상기 각 구성요소들 중 적어도 일부는, 이하에서 설명되는 다양한 실시 예들에 따른 서버(100)의 동작, 제어, 또는 제어 방법을 구현하기 위하여 서로 협력하여 동작할 수 있다. 또한, 상기 서버(100)의 동작, 제어, 또는 제어방법은 상기 메모리(120)에 저장된 적어도 하나의 응용 프로그램의 구동에 의하여 서버(100) 상에서 구현될 수 있다.At least some of the components may operate in cooperation with each other to implement the operation, control, or control method of the
도 3은 본 개시의 몇몇 실시예에 따른 외부 컴퓨팅 장치의 블록 구성도이다.3 is a block diagram of an external computing device according to some embodiments of the present disclosure.
외부 컴퓨팅 장치(300)는 통신부(310), 출력부(320) 및 메모리(330) 등을 포함할 수 있다. 도 3에 도시된 구성요소들은 외부 컴퓨팅 장치(300)를 구현하는데 있어서 필수적인 것은 아니어서, 본 명세서 상에서 설명되는 외부 컴퓨팅 장치(300)는 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있다.The
보다 구체적으로, 상기 구성요소들 중 통신부(310)는, 외부 컴퓨팅 장치(300)와 네트워크(200) 사이, 외부 컴퓨팅 장치(300)와 서버(100) 사이, 또는 외부 컴퓨팅 장치(300)와 외부 서버(400) 사이의 통신을 가능하게 하는 하나 이상의 모듈을 포함할 수 있다. 또한, 상기 통신부(310)는, 외부 컴퓨팅 장치(300)를 하나 이상의 네트워크에 연결하는 하나 이상의 모듈을 포함할 수 있다.More specifically, the
출력부(320)는 시각, 청각 또는 촉각 등과 관련된 출력을 발생시키기 위한 것으로, 디스플레이부 및 음향 출력부 중 적어도 하나를 포함할 수 있다. 디스플레이부는 외부 컴퓨팅 장치(300)와 사용자 사이의 출력 인터페이스를 제공할 수 있다.The
예를 들어, 디스플레이부는 서버(100)로부터 에러 메시지를 수신한 경우, 상기 수신된 에러 메시지에 포함된 에러 전문을 출력할 수 있다. 또한, 디스플레이부는 서버(100)로부터 수신한 응답 메시지를 수신한 경우, 응답 메시지에 대응하는 화면을 출력할 수 있다.For example, when an error message is received from the
메모리(330)는 외부 컴퓨팅 장치(300)의 다양한 기능을 지원하는 데이터를 저장한다. 메모리(330)는 외부 컴퓨팅 장치(300)에서 구동되는 다수의 응용 프로그램(application program 또는 애플리케이션(application)), 외부 컴퓨팅 장치(300)의 동작을 위한 데이터들, 명령어들을 저장할 수 있다. 이러한 응용 프로그램 중 적어도 일부는, 유무선 통신을 통해 외부 서버로부터 다운로드 될 수 있다. 또한 이러한 응용 프로그램 중 적어도 일부는, 외부 컴퓨팅 장치(300)의 기본적인 기능을 위하여 출고 당시부터 외부 컴퓨팅 장치(300)상에 존재할 수 있다. 한편, 응용 프로그램은, 메모리(330)에 저장되고, 외부 컴퓨팅 장치(300) 상에 설치되어, 제어부(340)에 의하여 상기 외부 컴퓨팅 장치(300)의 동작(또는 기능)을 수행하도록 구동될 수 있다.The
제어부(340)는 상기 응용 프로그램과 관련된 동작 외에도, 통상적으로 외부 컴퓨팅 장치(300)의 전반적인 동작을 제어한다. 제어부(340)는 위에서 살펴본 구성요소들을 통해 입력 또는 출력되는 신호, 데이터, 정보 등을 처리하거나 메모리(330)에 저장된 응용 프로그램을 구동함으로써, 사용자에게 적절한 정보 또는 기능을 제공 또는 처리할 수 있다.In addition to the operations related to the application program, the
또한, 제어부(340)는 메모리(330)에 저장된 응용 프로그램을 구동하기 위하여, 도 3과 함께 살펴본 구성요소들 중 적어도 일부를 제어할 수 있다. 나아가, 제어부(340)는 상기 응용 프로그램의 구동을 위하여, 외부 컴퓨팅 장치(300)에 포함된 구성요소들 중 적어도 둘 이상을 서로 조합하여 동작시킬 수 있다.In addition, the
상기 각 구성요소들 중 적어도 일부는, 이하에서 설명되는 다양한 실시 예들에 따른 외부 컴퓨팅 장치(300)의 동작, 제어, 또는 제어 방법을 구현하기 위하여 서로 협력하여 동작할 수 있다. 또한, 상기 외부 컴퓨팅 장치(300)의 동작, 제어, 또는 제어방법은 상기 메모리(330)에 저장된 적어도 하나의 응용 프로그램의 구동에 의하여 외부 컴퓨팅 장치(300) 상에서 구현될 수 있다.At least some of the components may operate in cooperation with each other to implement an operation, control, or control method of the
도 4는 본 개시의 몇몇 실시예에 따른 서버가 트랜잭션을 처리하는 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method for a server to process a transaction according to some embodiments of the present disclosure.
본 개시의 몇몇 실시예에 따르면, 프로세서(160)는 송수신 모듈(110)을 통해 제 1 트랜잭션을 포함하는 메시지를 수신할 수 있다(S110). 여기서, 메시지는, 제 1 트랜잭션을 포함하는 일종의 신호일 수 있다. 다만, 이에 한정되는 것은 아니고, 메시지는 복수의 트랜잭션을 포함할 수도 있다.According to some embodiments of the present disclosure, the
프로세서(160)는 메시지를 판독(Read)하여, 제 1 트랜잭션을 식별하도록 메시지 판단 모듈(130)을 제어 할 수 있다(S120). 구체적으로, 프로세서(160)는 메시지를 수신한 때, 메시지 내에 포함된 제 1 트랜잭션을 추출한 후 제 1 트랜잭션을 식별하도록 메시지 판단 모듈(130)을 제어할 수 있다.The
한편, 몇몇 실시예에 따르면, 제 1 트랜잭션은 복수의 하위 트랜잭션을 포함할 수도 있다. 프로세서(160)는, 복수의 하위 트랜잭션을 포함하는 제 1 트랜잭션을 포함한 메시지를 수신한 경우, 복수의 하위 트랜잭션 각각을 메시지 판단 모듈(130)을 통해 식별할 수 있다. 그리고, 프로세서(160)는 복수의 하위 트랜잭션 각각을 처리할 수 있다. 이는 도 6을 참조하여 자세히 후술한다.Meanwhile, according to some embodiments, the first transaction may include a plurality of sub-transactions. When receiving a message including a first transaction including a plurality of sub-transactions, the
프로세서(160)는, 메시지 판단 모듈(130)을 통해 메시지에서 제 1 트랜잭션을 식별한 경우, 제 1 트랜잭션에 설정된 제 1 TPS 값을 인식할 수 있다(S130). 여기서, 제 1 트랜잭션에 설정된 제 1 TPS 값은 메모리(120)에 기 저장되어 있을 수 있다.When the first transaction is identified in the message through the message determination module 130, the
예를 들어, 메시지 판단 모듈(130)은 제 1 트랜잭션이 항공 예약과 관련된 트랜잭션인 경우, 제 1 트랜잭션을 수신한 때 항공 예약과 관련된 트랜잭션에 설정되어 있는 TPS 값(예를 들어, 50)을 메모리(120)에서 검색하여 제 1 트랜잭션의 TPS 값으로 인식할 수 있다.For example, if the first transaction is a transaction related to airline reservation, the message determination module 130 stores the TPS value (eg, 50) set in the transaction related to the airline reservation when the first transaction is received. Searching at 120, it can be recognized as the TPS value of the first transaction.
구체적으로, 메모리(120)에는 복수의 트랜잭션 각각에 대한 TPS 값이 저장되어 있을 수 있다. 프로세서(160)는 메시지를 수신한 때 메시지 판단 모듈(130)을 통해 메시지에 포함된 트랜잭션을 식별하고, 식별된 트랜잭션에 대해 설정된 TPS 값을 메모리(120)에서 검색할 수 있다. 프로세서(160)는 상기 검색된 TPS 값을 상기 식별된 트랜잭션의 TPS 값으로 인식할 수 있다.Specifically, the TPS values for each of the plurality of transactions may be stored in the
한편, 상술한 바와 같이, 제 1 트랜잭션은 복수의 하위 트랜잭션을 포함할 수도 있다. 이 경우, 프로세서(160)는 복수의 하위 트랜잭션 각각에 설정된 TPS 값을 인식할 수 있다. 이에 대한 자세한 설명은 도 5를 참조하여 후술한다.Meanwhile, as described above, the first transaction may include a plurality of sub-transactions. In this case, the
모니터링 모듈(150)은 제 1 트랜잭션과 관련된 현재 부하 값을 모니터링할 수 있다(S140). 또한, 프로세서(160)는 모니터링한 현재 부하 값과 제 1 TPS 값을 비교 할 수 있다(S150).The
일례로, 모니터링 모듈(150)은, 제 1 트랜잭션이 항공 예약과 관련된 트랜잭션인 경우, 제 1 트랜잭션을 수신한 때 항공 예약과 관련된 트랜잭션이 현재 얼마만큼 처리되고 있는지 인식할 수 있다. 만약, 항공 예약과 관련된 제 1 트랜잭션을 100개 처리하고 있는 상태에서 제 1 트랜잭션을 포함하는 메시지를 수신한 경우, 모니터링 모듈(150)은 제 1 트랜잭션과 관련된 현재 부하 값이 100이라고 인식할 수 있다.For example, if the first transaction is a transaction related to airline reservation, the
다른 일례로, 항공 예약과 관련된 제 1 트랜잭션을 20개 처리하고 있는 상태에서 제 1 트랜잭션을 포함하는 메시지를 수신한 경우, 모니터링 모듈(150)은 제 1 트랜잭션과 관련된 현재 부하 값이 20이라고 인식할 수 있다.As another example, if a message including the first transaction is received while 20 first transactions related to the flight reservation are being processed, the
프로세서(160)는, 현재 부하 값이 제 1 TPS 값 미만인 경우(S150, Yes), 제 1 트랜잭션을 처리할 수 있다(S160).When the current load value is less than the first TPS value (S150, Yes), the
예를 들어, 프로세서(160)는 제 1 트랜잭션의 제 1 TPS 값이 50이라고 인식하고, 제 1 트랜잭션의 현재 부하 값이 20이라고 인식한 경우, 제 1 트랜잭션을 처리할 수 있다.For example, when the
한편, 프로세서(160)는, 현재 부하 값이 제 1 TPS 값 이상인 경우(S150, No), 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다(S170).Meanwhile, when the current load value is equal to or greater than the first TPS value (S150, No), the
예를 들어, 프로세서(160)는 제 1 트랜잭션의 제 1 TPS 값이 50이라고 인식하고, 제 1 트랜잭션의 현재 부하 값이 100이라고 인식한 경우, 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다.For example, when the
프로세서(160)는, 단계(S170)에서 제 1 트랜잭션에 에러가 발생하였다고 인식한 경우, 제 1 트랜잭션에 대응하는 에러 트랜잭션을 수행할 수 있다(S180).The
몇몇 실시예에 따르면, 에러 트랜잭션은 메시지에 포함된 트랜잭션의 종류에 따라 다르게 맵핑되어 메모리(120)에 저장되어 있을 수 있다. 예를 들어, 메모리(120)는 항공권 검색 트랜잭션에 에러가 발생하였다고 인식한 경우, 기 설정된 시간이 경과된 때 다시 항공권 검색을 수행하는 것을 에러 트랜잭션으로 저장하고 있을 수 있다. 그리고, 메모리(120)는 항공권 결제 트랜잭션에 에러가 발생하였다고 인식한 경우, 항공권 결제 트랜잭션을 요청한 외부 컴퓨팅 장치에 에러 메시지를 전송하는 것을 에러 트랜잭션으로 저장하고 있을 수 있다.According to some embodiments, the error transaction may be mapped differently according to the type of transaction included in the message and stored in the
상술한 바와 같이, 트랜잭션의 종류에 따라 에러 트랜잭션이 다르게 맵핑되어 메모리(120)에 저장되어 있는 경우, 프로세서(160)는 제 1 트랜잭션에 에러가 발생하였다고 인식한 때 제 1 트랜잭션에 대응하는 에러 트랜잭션을 메모리(120)에서 검색하고, 검색된 에러 트랜잭션을 수행할 수 있다.As described above, when the error transaction is mapped differently according to the type of the transaction and stored in the
프로세서(160)가 에러 트랜잭션을 수행하는 예시들에 대한 자세한 설명은 도 7 내지 도 9를 참조하여 후술한다.A detailed description of examples in which the
도 5는 본 개시의 몇몇 실시예에 따른 제 1 TPS 값을 인식하는 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method of recognizing a first TPS value according to some embodiments of the present disclosure.
본 개시의 몇몇 실시예에 따르면, 메시지에 포함된 트랜잭션은 복수의 트랜잭션을 포함할 수 있다. 따라서, 프로세서(160)는 제 1 트랜잭션에 설정된 제 1 TPS 값을 인식할 때(도 4의 S130), 제 1 트랜잭션이 복수의 하위 트랜잭션을 포함하는지 여부를 판단할 수 있다(S131).According to some embodiments of the present disclosure, a transaction included in a message may include a plurality of transactions. Accordingly, when recognizing the first TPS value set in the first transaction (S130 in FIG. 4), the
프로세서(160)는, 제 1 트랜잭션이 복수의 하위 트랜잭션을 포함하지 않는다고 인식한 경우(S131, No), 제 1 트랜잭션에 설정된 제 1 TPS 값을 인식할 수 있다(S133). 이 경우, 프로세서(160)는 현재 부하 값과 제 1 트랜잭션에 설정된 TPS 값을 비교하여, 제 1 트랜잭션의 처리 여부를 결정할 수 있다.When it is recognized that the first transaction does not include a plurality of sub-transactions (S131, No), the
한편, 프로세서(160)는, 제 1 트랜잭션이 복수의 하위 트랜잭션을 포함한다고 인식한 경우(S131, Yes), 제 1 트랜잭션에 포함된 복수의 하위 트랜잭션 각각에 설정된 TPS 값들을 인식할 수 있다. 구체적으로, 프로세서(160)는 복수의 하위 트랜잭션 각각에 설정된 TPS 값들의 합산 값을 제 1 TPS 값으로 인식할 수 있다(S132).Meanwhile, when it is recognized that the first transaction includes a plurality of sub-transactions (S131, Yes), the
몇몇 실시예에 따르면, 제 1 트랜잭션은 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션을 포함할 수 있다. 만약, 제 1 트랜잭션이 항공 좌석 예약과 관련된 트랜잭션인 경우, 제 1 트랜잭션은 항공권 조회에 대한 제 1 하위 트랜잭션과 항공권 결제에 대한 제 2 하위 트랜잭션을 포함할 수 있다. 한편, 항공권 조회에 대한 제 1 하위 트랜잭션에 TPS 값(예를 들어, 10)이 설정될 수 있다. 또한, 항공권 결제에 대한 제 2 하위 트랜잭션에 TPS 값(예를 들어, 20)이 설정될 수 있다.According to some embodiments, the first transaction may include a first sub-transaction and a second sub-transaction. If the first transaction is a transaction related to airline seat reservation, the first transaction may include a first sub-transaction for ticket inquiry and a second sub-transaction for ticket payment. Meanwhile, a TPS value (eg, 10) may be set in the first sub-transaction for ticket inquiry. In addition, a TPS value (eg, 20) may be set in the second sub-transaction for ticket payment.
따라서, 프로세서(160)는, 항공권 조회에 대한 제 1 하위 트랜잭션에 설정된 TPS 값인 10과 항공권 결제에 대한 제 2 하위 트랜잭션에 설정된 TPS 값인 20을 합산하여, 제 1 트랜잭션에 설정된 제 1 TPS 값을 30으로 인식할 수 있다.Accordingly, the
한편, 프로세서(160)는 제 1 하위 트랜잭션에 설정된 TPS 값 및 제 2 하위 트랜잭션에 설정된 TPS 값을 합산하여 제 1 트랜잭션에 설정된 TPS 값을 인식한 경우, 다음과 같은 절차를 통해 트랜잭션을 처리할 수 있다.Meanwhile, when the
도 4를 다시 참조하면, 모니터링 모듈(150)은 제 1 트랜잭션과 관련된 현재 부하 값을 모니터링할 수 있다(S140). 또한, 프로세서(160)는 모니터링한 현재 부하 값과 제 1 TPS 값을 비교 할 수 있다(S150).Referring back to FIG. 4, the
프로세서(160)는, 현재 부하 값이 제 1 트랜잭션에 포함된 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션 각각에 설정된 1 TPS 값의 합산 값 미만인 경우(S150, Yes), 제 1 트랜잭션을 처리할 수 있다(S160).The
예를 들어, 프로세서(160)는 제 1 트랜잭션에 설정된 제 1 TPS 값이 30이라고 인식하고, 제 1 트랜잭션의 현재 부하 값이 25이라고 인식한 경우, 제 1 트랜잭션을 처리할 수 있다.For example, when the
한편, 프로세서(160)는, 현재 부하 값이 제 1 트랜잭션에 포함된 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션 각각에 설정된 1 TPS 값의 합산 값 이상인 경우(S150, No), 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다(S170).Meanwhile, when the current load value is equal to or greater than the sum of the 1 TPS value set in each of the first sub-transaction and the second sub-transaction included in the first transaction (S150, No), an error occurs in the first transaction. It can be recognized that it has occurred (S170).
예를 들어, 프로세서(160)는 제 1 트랜잭션의 제 1 TPS 값이 25이라고 인식하고, 제 1 트랜잭션의 현재 부하 값이 30이라고 인식한 경우, 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다.For example, when the
프로세서(160)는, 단계(S170)에서 제 1 트랜잭션에 에러가 발생하였다고 인식한 경우, 제 1 트랜잭션에 대응하는 에러 트랜잭션을 수행할 수 있다(S180).The
프로세서(160)가 에러 트랜잭션을 수행하는 예시들에 대한 자세한 설명은 도 7 내지 도 9를 참조하여 후술한다.A detailed description of examples in which the
도 6은 본 개시의 몇몇 실시예에 따른 서버가 외부 서버와 연동하여 트랜잭션을 처리하는 방법을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a method for a server to process a transaction in cooperation with an external server according to some embodiments of the present disclosure.
몇몇 실시예에 따르면, 서버(100)는 외부 컴퓨팅 장치(300)로부터 트랜잭션이 포함된 메시지를 수신할 수 있다(S201). 이 때, 서버(100)는 수신한 메시지를 판독(read)할 수 있다(S202). 또한, 서버(100)는 메시지에 포함된 트랜잭션을 식별할 수 있다(S203).According to some embodiments, the
서버(100)는, 트랜잭션이 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션을 포함하는 경우, 제 1 하위 트랜잭션을 제 1 외부 서버(401)로 전송할 수 있다(S204). 동시에, 서버(100)는 제 2 하위 트랜잭션을 제 2 외부 서버(402)로 전송할 수 있다(S205).When the transaction includes the first sub-transaction and the second sub-transaction, the
예를 들어, 외부 컴퓨팅 장치(300)는 여행사 고객의 컴퓨팅 장치일 수 있다. 그리고, 서버(100)는 여행사 서버이고, 제 1 하위 트랜잭션은 호텔 예약과 관련된 트랜잭션일 수 있다. 또한, 제 2 하위 트랜잭션은 항공권 예약과 관련된 트랜잭션일 수 있다. 한편, 제 1 외부 서버(401)는 호텔 예약을 관리하는 외부 서버일 수 있다. 또한, 제 2 외부 서버(402)는 항공권 예약을 관리하는 외부 서버일 수 있다.For example, the
구체적으로, 사용자의 컴퓨팅 장치에서 여행 상품의 예약과 관련된 트랜잭션이 포함된 메시지를 여행사 서버로 전송할 수 있다. 이 때, 여행사 서버는 수신한 메시지를 판독하여, 여행 상품의 예약과 관련된 트랜잭션 내에 호텔 예약과 관련된 하위 트랜잭션 및 항공권 예약과 관련된 하위 트랜잭션이 포함되어 있다고 인식할 수 있다. 그리고, 여행사 서버는 여행 상품 예약과 관련된 트랜잭션의 처리 가부에 기초하여, 여행 상품 예약과 관련된 트랜잭션의 처리가 가능하다고 인식한 때 호텔 예약과 관련된 하위 트랜잭션을 호텔 예약을 관리하는 제 1 외부 서버로 전송하고, 항공권 예약과 관련된 하위 트랜잭션을 항공권 예약을 관리하는 제 2 외부 서버로 전송할 수 있다.Specifically, a message including a transaction related to a reservation of a travel product may be transmitted from a user's computing device to a travel agency server. At this time, the travel agency server may read the received message and recognize that a transaction related to hotel reservation and a transaction related to airline ticket reservation are included in the transaction related to the reservation of the travel product. Then, the travel agency server transmits the sub-transaction related to the hotel reservation to the first external server that manages the hotel reservation when it recognizes that the transaction related to the reservation of the travel product is possible, based on whether the transaction related to the reservation of the travel product is possible Then, the sub-transaction related to the ticket reservation may be transmitted to a second external server that manages the ticket reservation.
몇몇 실시예에 따르면, 제 1 외부 서버(401) 및 제 2 외부 서버(402) 각각은 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션 각각을 수신함에 따라, 제 1 하위 트랜잭션 및 제 2 하위 트랜잭션 각각을 처리할 수 있다(S206, S207).According to some embodiments, each of the first external server 401 and the second external server 402 processes each of the first sub-transaction and the second sub-transaction as it receives each of the first sub-transaction and the second sub-transaction, respectively. It can be done (S206, S207).
따라서, 서버(100)는 제 1 외부 서버(401)로부터 제 1 하위 트랜잭션의 처리 결과를 수신할 수 있다(S208). 또한, 서버(100)는 제 2 외부 서버(402)로부터 제 2 하위 트랜잭션의 처리 결과를 수신할 수 있다(S209).Accordingly, the
상술한 예시에 이어서 설명하면, 호텔 예약을 관리하는 제 1 외부 서버는 여행사 고객의 호텔 예약 처리를 완료하고, 처리 결과를 여행사 서버로 전송할 수 있다. 또한, 항공권 예약을 관리하는 제 2 외부 서버는 여행사 고객의 항공권 예약 처리를 완료하고, 처리 결과를 여행사 서버로 전송할 수 있다. 이 때, 처리 결과를 수신한 여행사 서버는 여행사 고객의 컴퓨팅 장치로 처리 결과에 대한 메시지를 전송할 수 있다.Continuing from the above-described example, the first external server managing the hotel reservation may complete the hotel reservation processing of the travel agency customer and transmit the processing result to the travel agency server. In addition, the second external server that manages the ticket reservation may complete the ticket reservation processing of the travel agency customer, and transmit the processing result to the travel agency server. At this time, the travel agency server receiving the processing result may transmit a message regarding the processing result to the computing device of the travel agency customer.
단계(S208) 및 단계(S209)가 수행되는 순서는 바뀔 수 있다. 즉, 서버(100)는 외부 서버(400) 각각의 처리 순서에 따라, 제 2 외부 서버(402)로부터 제 2 하위 트랜잭션의 처리 결과를 먼저 수신하고, 제 1 외부 서버(401)로부터 제 1 하위 트랜잭션의 처리 결과를 수신할 수 있다. 한편, 단계(S208) 및 단계(S209)는 동시에 수행될 수도 있다.The order in which steps S208 and S209 are performed may be changed. That is, the
서버(100)는, 제 1 하위 트랜잭션의 처리 결과 및 제 2 하위 트랜잭션의 처리 결과를 수신한 때, 응답 메시지를 외부 컴퓨팅 장치(300)로 전송할 수 있다(S210).When receiving the processing result of the first sub-transaction and the processing result of the second sub-transaction, the
한편, 서버(100)는, 제 1 하위 트랜잭션의 처리 결과 및 제 2 하위 트랜잭션의 처리 결과 중 적어도 하나를 수신한 때, 수신한 처리 결과에 기초하여, 응답 메시지를 외부 컴퓨팅 장치(300)로 전송할 수도 있다(S210).On the other hand, when receiving at least one of the processing result of the first sub-transaction and the processing result of the second sub-transaction, the
즉, 서버(100)는 제 1 하위 트랜잭션의 처리 결과를 먼저 수신한 경우, 제 1 하위 트랜잭션의 처리 결과에 대한 응답 메시지를 외부 컴퓨팅 장치(300)로 보낼 수 있다. 다만, 이에 한정되는 것은 아니고, 서버(100)는, 제 1 하위 트랜잭션의 처리 결과 및 제 2 하위 트랜잭션의 처리 결과를 모두 수신한 경우, 트랜잭션들의 처리 결과에 대한 응답 메시지를 외부 컴퓨팅 장치(300)로 전송할 수도 있다(S210).That is, when the first sub-transaction processing result is first received, the
도 7은 본 개시의 몇몇 실시예에 따른 서버가 에러 트랜잭션을 수행하는 방법을 설명하기 위한 흐름도이다.7 is a flowchart illustrating a method for a server to perform an error transaction according to some embodiments of the present disclosure.
먼저 도 4를 참조하면, 프로세서(160)는, 현재 부하 값이 제 1 TPS 값 이상인 경우, 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다(S170). 또한, 프로세서(160)는, 에러 트랜잭션을 수행할 수 있다(S180). 이하 프로세서(160)가 에러 트랜잭션을 수행하는 방법의 구체적인 일 실시예를 설명한다.Referring first to FIG. 4, when the current load value is equal to or greater than the first TPS value, the
도 7을 참조하면, 프로세서(160)는 에러가 발생했다고 인식한 제 1 트랜잭션을 메모리에 저장할 수 있다(S181). 예를 들어, 프로세서(160)는, 항공권 예약에 대한 제 1 트랜잭션을 수신하였으나, 제 1 트랜잭션과 관련된 현재 부하 값이 높아 에러가 발생했다고 인식한 경우, 메모리(120)에 제 1 트랜잭션을 저장할 수 있다.Referring to FIG. 7, the
몇몇 실시예에 따르면, 메모리(120)는 복수의 트랜잭션 각각에 설정된 TPS 값을 저장하고 있을 수 있다. 또한, 메모리(120)는 복수의 에러에 대응하는 에러 메시지를 저장하고 있을 수 있다. 추가적으로, 메모리(120)는 에러가 발생한 트랜잭션을 저장하는 공간을 포함할 수도 있다.According to some embodiments, the
프로세서(160)는 특정 조건이 만족했는지 여부를 인식할 수 있다(S182).The
여기서, 특정 조건은 서버(100)에서 에러 트랜잭션을 처리 가능한 조건일 수 있다.Here, the specific condition may be a condition capable of processing an error transaction in the
몇몇 실시예에 따르면, 특정 조건은 기 설정된 시간 경과된 때 만족될 수 있다. 예를 들어, 프로세서(160)는 기 설정된 시간인 5초가 지난 때, 특정 조건이 만족되었다고 인식할 수 있다.According to some embodiments, certain conditions may be satisfied when a predetermined time has elapsed. For example, the
몇몇 다른 실시예에 따르면, 특정 조건은 서버(100)의 부하 값이 기 설정된 값보다 낮아진 경우, 만족될 수 있다. 예를 들어, 프로세서(160)는 기 설정된 부하 값인 100 미만으로 서버(100)의 현재 부하 값이 낮아진 경우, 특정 조건이 만족되었다고 인식할 수 있다.According to some other embodiments, certain conditions may be satisfied when the load value of the
프로세서(160)는, 특정 조건이 만족되지 않았다고 인식하는 경우(S182, No), 일정 시간 간격으로 특정 조건의 만족 여부를 확인할 수 있다. 예를 들어, 프로세서(160)는 5초 간격으로 특정 조건이 만족되었는지 여부를 확인할 수 있다.When it is recognized that the specific condition is not satisfied (S182, No), the
한편, 프로세서(160)는, 특정 조건이 만족되었다고 인식된 경우(S182, Yes), 메모리에 저장했던 제 1 트랜잭션을 메모리에서 리드(read)할 수 있다. 또한, 프로세서(160)는 리드한 제 1 트랜잭션을 처리할 수 있다.Meanwhile, when it is recognized that a specific condition is satisfied (S182, Yes), the
예를 들어, 프로세서(160)는, 기 설정된 시간인 5초가 지난 때, 메모리에 저장된 제 1 트랜잭션을 리드하여 처리할 수 있다.For example, the
다른 예를 들어, 프로세서(160)는, 기 설정된 부하 값(예컨대, 100) 미만인 70으로 서버(100)의 현재 부하 값이 떨어진 경우, 메모리에 저장된 제 1 트랜잭션을 리드하여 처리할 수 있다.For another example, when the current load value of the
결과적으로, 프로세서(160)가 수행하는 에러 트랜잭션은, 프로세서(160)가 에러 처리를 위한 특정 조건이 만족되는지 여부를 모니터링하고, 특정 조건이 만족된 때, 에러로 인식된 트랜잭션을 처리하는 동작 및 프로세서(160)가 에러로 인식된 트랜잭션을 처리한 것에 대한 응답 메시지를 외부 컴퓨팅 장치(300)로 전송하는 동작을 포함할 수 있다.As a result, the error transaction performed by the
도 8은 본 개시의 몇몇 실시예에 따른 서버가 에러 트랜잭션을 수행하는 방법의 일례를 설명하기 위한 흐름도이다. 도 8과 관련하여 도 1 내지 도 7에서 상술한 바와 중복되는 내용은 다시 설명하지 않고, 이하 차이점을 중심으로 설명한다.8 is a flowchart illustrating an example of a method in which a server performs an error transaction according to some embodiments of the present disclosure. 8, the overlapping contents as described above with reference to FIGS. 1 to 7 will not be described again, and description will be focused on differences below.
먼저 도 4를 참조하면, 프로세서(160)는, 현재 부하 값이 제 1 TPS 값 이상인 경우, 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다(S170). 또한, 프로세서(160)는, 에러 트랜잭션을 수행할 수 있다(S180). 이하 프로세서(160)가 에러 트랜잭션을 수행하는 방법의 구체적인 다른 실시예를 설명한다.Referring first to FIG. 4, when the current load value is equal to or greater than the first TPS value, the
도 8을 참조하면, 프로세서(160)는 외부 컴퓨팅 장치(300)로부터 트랜잭션이 포함된 메시지를 수신할 수 있다(S301). 프로세서(160)는 수신한 메시지를 판독(read)할 수 있다(S302). 또한, 프로세서(160)는 판독한 메시지에 포함된 트랜잭션에 에러가 발생했다고 인식할 수 있다(S303). 이 경우, 프로세서(160)는 에러 메시지를 외부 컴퓨팅 장치(300)로 전송할 수 있다(S304). 예를 들어, 에러 메시지는 “잠시 후 다시 시도해주세요.”, “현재 부하량이 많아, 처리할 수 없습니다.” 등과 같은 텍스트를 포함할 수 있다.Referring to FIG. 8, the
상술한 바와 같이, 에러 메시지는, 복수의 트랜잭션 각각에 맵핑되어 메모리(120)에 저장되어 있을 수 있다. 구체적으로, 에러 메시지는 관리자가 서버(100)에 프로그램을 세팅할 때(또는 프로그램을 업데이트할 때), 복수의 트랜잭션 각각에 맵핑되도록 관리자가 설정하여 저장한 메시지일 수 있다.As described above, the error message may be mapped to each of a plurality of transactions and stored in the
결과적으로, 프로세서(160)가 수행하는 에러 트랜잭션은, 프로세서(160)가 트랜잭션을 처리할 수 없다고 인식한 경우, 트랜잭션에 맵핑된 에러 메시지를 메모리(120)에서 검색한 후 검색된 에러 메시지를 외부 컴퓨팅 장치(300)에게 전송하는 동작을 포함할 수 있다.As a result, if the
한편, 몇몇 실시예에 따르면, 외부 컴퓨팅 장치(300)의 제어부(340)는, 에러 메시지를 수신한 때, 에러 메시지에 포함된 텍스트를 출력부(320)에 출력할 수 있다.Meanwhile, according to some embodiments, the
도 9는 본 개시의 몇몇 실시예에 따른 서버가 에러 트랜잭션을 수행하는 방법의 다른 일례를 설명하기 위한 흐름도이다. 도 9과 관련하여 도 1 내지 도 7에서 상술한 바와 중복되는 내용은 다시 설명하지 않고, 이하 차이점을 중심으로 설명한다.9 is a flowchart illustrating another example of a method in which a server performs an error transaction according to some embodiments of the present disclosure. 9 and 7, the content overlapping with the above-described description in FIGS. 1 to 7 will not be described again, and will be described below with reference to differences.
먼저 도 4를 참조하면, 프로세서(160)는, 현재 부하 값이 제 1 TPS 값 이상인 경우, 제 1 트랜잭션에 에러가 발생했다고 인식할 수 있다(S170). 또한, 프로세서(160)는, 에러 트랜잭션을 수행할 수 있다(S180). 이하 프로세서(160)가 에러 트랜잭션을 수행하는 방법의 구체적인 또 다른 실시예를 설명한다.Referring first to FIG. 4, when the current load value is equal to or greater than the first TPS value, the
도 9를 참조하면, 프로세서(160)는 외부 컴퓨팅 장치(300)로부터 트랜잭션이 포함된 메시지를 수신할 수 있다(S401). 프로세서(160)는 수신한 메시지를 판독(read)할 수 있다(S402). 또한, 프로세서(160)는 판독한 메시지에 포함된 트랜잭션에 에러가 발생했다고 인식할 수 있다(S403). 이 경우, 프로세서(160)는 에러 메시지를 외부 컴퓨팅 장치(300)로 전송할 수 있다(S404). 예를 들어, 에러 메시지는 “잠시만 기다려주세요.”, “다시 시도 중 입니다.” 등과 같은 텍스트를 포함할 수 있다.Referring to FIG. 9, the
상술한 바와 같이, 에러 메시지는, 복수의 트랜잭션 각각에 맵핑되어 메모리(120)에 저장되어 있을 수 있다. 구체적으로, 에러 메시지는 관리자가 서버(100)에 프로그램을 세팅할 때(또는 프로그램을 업데이트할 때), 복수의 트랜잭션 각각에 맵핑되도록 관리자가 설정하여 저장한 메시지일 수 있다.As described above, the error message may be mapped to each of a plurality of transactions and stored in the
한편, 몇몇 실시예에 따라, 외부 컴퓨팅 장치(300)의 제어부(340)는, 에러 메시지를 수신한 때, 에러 메시지에 포함된 텍스트를 출력부(320)에 출력할 수 있다.Meanwhile, according to some embodiments, the
프로세서(160)는 에러 처리를 위한 특정 조건이 만족했는지 여부를 인식할 수 있다(S405). 여기서, 특정 조건은 서버(100)에서 에러 트랜잭션을 처리 가능한 조건일 수 있다.The
몇몇 실시예에 따르면, 특정 조건은 기 설정된 시간 경과된 때 만족될 수 있다. 예를 들어, 프로세서(160)는 기 설정된 시간인 5초가 지난 때, 특정 조건이 만족되었다고 인식할 수 있다.According to some embodiments, certain conditions may be satisfied when a predetermined time has elapsed. For example, the
몇몇 다른 실시예에 따르면, 특정 조건은 서버(100)의 부하 값이 기 설정된 값보다 낮아진 경우, 만족될 수 있다. 예를 들어, 프로세서(160)는 기 설정된 부하 값인 100 미만으로 서버(100)의 현재 부하 값이 낮아진 경우, 특정 조건이 만족되었다고 인식할 수 있다.According to some other embodiments, certain conditions may be satisfied when the load value of the
한편, 프로세서(160)는, 특정 조건이 만족되지 않았다고 인식하는 경우, 일정 시간 간격으로 특정 조건의 만족 여부를 확인할 수 있다. 예를 들어, 프로세서(160)는 5초 간격으로 특정 조건이 만족되었는지 여부를 확인할 수 있다.Meanwhile, when it is recognized that a specific condition is not satisfied, the
프로세서(160)는, 특정 조건이 만족되었다고 인식된 경우, 메모리(120)에 저장했던 트랜잭션을 메모리에서 리드(read)할 수 있다(S406). 또한, 프로세서(160)는 리드한 트랜잭션을 처리할 수 있다(S407).When it is recognized that a specific condition is satisfied, the
예를 들어, 프로세서(160)는, 기 설정된 시간인 5초가 지난 때, 메모리(120)에 저장된 트랜잭션을 리드하여 처리할 수 있다. 다른 예를 들어, 프로세서(160)는, 기 설정된 부하 값(예컨대, 100) 미만인 70으로 서버(100)의 현재 부하 값이 떨어진 경우, 메모리(120)에 저장된 트랜잭션을 리드하여 처리할 수 있다.For example, the
프로세서(160)는, 에러가 발생했다고 인식한 트랜잭션의 처리가 완료되면, 트랜잭션의 처리가 완료되었다는 응답 메시지를 외부 컴퓨팅 장치(300)로 전송할 수 있다(S408).When the processing of the transaction recognizing that an error has occurred is completed, the
결과적으로, 프로세서(160)가 수행하는 에러 트랜잭션은, 프로세서(160)가 에러 메시지를 생성 하여 외부 컴퓨팅 장치(300)로 전송하는 동작, 프로세서(160)가 에러 처리를 위한 특정 조건이 만족되는지 여부를 모니터링하고, 특정 조건이 만족된 때, 에러로 인식된 트랜잭션을 처리하는 동작 및 프로세서(160)가 에러로 인식된 트랜잭션을 처리한 것에 대한 응답 메시지를 외부 컴퓨팅 장치(300)로 전송하는 동작을 포함할 수 있다.As a result, in the error transaction performed by the
도 10은 본 개시의 몇몇 실시예에 따른 트랜잭션을 포함하는 메시지를 설명하기 위한 도면이다.10 is a diagram for describing a message including a transaction according to some embodiments of the present disclosure.
본 개시의 몇몇 실시예에 따르면, 메시지(1000)는 트랜잭션(900)을 포함할 수 있다. 또한, 트랜잭션(900)은 복수의 하위 트랜잭션들(910, 920, 930, ..)을 포함할 수 있다.According to some embodiments of the present disclosure, the
다만, 이에 한정되는 것은 아니고, 메시지는 하나의 트랜잭션만 포함할 수도 있다. 여기서, 메시지(1000)는, 트랜잭션을 포함하는 일종의 신호일 수 있다.However, the present invention is not limited thereto, and the message may include only one transaction. Here, the
트랜잭션은 처리되는 특정한 업무, 특정한 거래 등을 의미할 수 있다. 예를 들어, 은행 온라인 시스템에서 트랜잭션은 계좌 조회, 송금 등이 될 수 있고, 항공 좌석 예약 시스템에서는 항공권 검색, 항공권 예약, 결제 등이 트랜잭션이 될 수 있다.A transaction may mean a specific task to be processed, a specific transaction, or the like. For example, in a bank online system, a transaction may be an account inquiry, remittance, etc., and in an airline seat reservation system, a ticket search, ticket reservation, payment, etc. may be a transaction.
일례로, 서버(100)가 여행사 서버인 경우, 메시지(1000)는 여행 상품 계약과 관련된 트랜잭션(900)을 포함할 수 있다. 이 경우, 제 1 하위 트랜잭션은 호텔 예약과 관련된 트랜잭션일 수 있다. 또한, 제 2 하위 트랜잭션은 항공권 예약과 관련된 트랜잭션일 수 있다. 또한, 제 3 하위 트랜잭션은 비용 결제와 관련된 트랜잭션일 수 있다.For example, when the
다른 일례로, 서버(100)가 은행 서버인 경우, 메시지(1000)는 은행 업무와 관련된 트랜잭션(900)을 포함할 수 있다. 구체적으로, 은행 업무 중 사용자가 복수의 계좌로 이체를 하는 것과 관련된 트랜잭션(900)을 예로 들면, 제 1 하위 트랜잭션은 사용자의 계좌에서 제 1 계좌로 특정 금액을 이체하는 것과 관련된 트랜잭션 일 수 있다. 또한, 제 2 하위 트랜잭션은 사용자의 계좌에서 제 2 계좌로 특정 금액을 이체하는 것과 관련된 트랜잭션일 수 있다. 다른 예를 들면, 제 1 하위 트랜잭션은 사용자의 계좌에서 A 은행의 계좌로 이체하는 것과 관련된 트랜잭션일 수 있다. 또한, 제 2 하위 트랜잭션은 사용자의 계좌에서 B 은행의 계좌로 이체하는 것과 관련된 트랜잭션일 수 있다.As another example, when the
본 개시의 다른 실시예에 따르면, 메시지에 포함된 트랜잭션(900)은 하위 트랜잭션을 포함하지 않을 수도 있다.According to another embodiment of the present disclosure, the
일례로, 서버(100)가 호텔 예약과 관련된 서버인 경우, 제 1 메시지는 호텔 예약과 관련된 트랜잭션만 포함할 수 있다.For example, when the
다른 일례로, 서버(100)가 항공권 예약과 관련된 서버인 경우, 제 1 메시지는 항공권 예약과 관련된 트랜잭션만 포함할 수 있다.As another example, when the
또 다른 일례로, 서버(100)가 여행 비용 결제와 관련된 서버인 경우, 제 1 메시지는 여행 비용 결과와 관련된 트랜잭션만 포함할 수 있다.As another example, when the
상술한 바와 같이, 메시지에 포함된 트랜잭션은, 관리자 단말기로부터 수신한 설정 값 또는, 서버(100)가 제공하는 서비스에 따라, 계층 구조에 기초하여 처리될 수 있고, 단일 구조에 기초하여 처리될 수도 있다.As described above, the transaction included in the message may be processed based on a hierarchical structure or based on a single structure, according to a setting value received from the administrator terminal or a service provided by the
도 11은 본 개시 내용의 실시예들이 구현될 수 있는 예시적인 컴퓨팅 환경에 대한 간략하고 일반적인 개략도를 도시한다.11 shows a simplified and general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure can be implemented.
본 개시가 일반적으로 하나 이상의 컴퓨터 상에서 실행될 수 있는 컴퓨터 실행가능 명령어와 관련하여 전술되었지만, 당업자라면 본 개시가 기타 프로그램 모듈들과 결합되어 및/또는 하드웨어와 소프트웨어의 조합으로서 구현될 수 있다는 것을 잘 알 것이다.Although the present disclosure has been described above in general with respect to computer-executable instructions that may be executed on one or more computers, those skilled in the art will appreciate that the present disclosure may be implemented in combination with other program modules and / or as a combination of hardware and software. will be.
일반적으로, 본 명세서에서의 모듈은 특정의 태스크를 수행하거나 특정의 추상 데이터 유형을 구현하는 루틴, 프로시져, 프로그램, 컴포넌트, 데이터 구조, 기타 등등을 포함한다. 또한, 당업자라면 본 개시의 방법이 단일-프로세서 또는 멀티프로세서 컴퓨터 시스템, 미니컴퓨터, 메인프레임 컴퓨터는 물론 퍼스널 컴퓨터, 핸드헬드 컴퓨팅 장치, 마이크로프로세서-기반 또는 프로그램가능 가전 제품, 기타 등등(이들 각각은 하나 이상의 연관된 장치와 연결되어 동작할 수 있음)을 비롯한 다른 컴퓨터 시스템 구성으로 실시될 수 있다는 것을 잘 알 것이다.Generally, modules herein include routines, procedures, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. In addition, those of ordinary skill in the art may find that the methods of the present disclosure include single-processor or multiprocessor computer systems, minicomputers, mainframe computers as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, etc. It will be appreciated that it may be implemented in other computer system configurations, including one that may operate in conjunction with one or more associated devices.
본 개시의 설명된 실시예들은 또한 어떤 태스크들이 통신 네트워크를 통해 연결되어 있는 원격 처리 장치들에 의해 수행되는 분산 컴퓨팅 환경에서 실시될 수 있다. 분산 컴퓨팅 환경에서, 프로그램 모듈은 로컬 및 원격 메모리 저장 장치 둘다에 위치할 수 있다.The described embodiments of the present disclosure may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
컴퓨터는 통상적으로 다양한 컴퓨터 판독가능 매체를 포함한다. 컴퓨터에 의해 액세스 가능한 매체는 그 어떤 것이든지 컴퓨터 판독가능 매체가 될 수 있고, 이러한 컴퓨터 판독가능 매체는 휘발성 및 비휘발성 매체, 일시적(transitory) 및 비일시적(non-transitory) 매체, 이동식 및 비-이동식 매체를 포함한다. 제한이 아닌 예로서, 컴퓨터 판독가능 매체는 컴퓨터 판독가능 저장 매체 및 컴퓨터 판독가능 전송 매체를 포함할 수 있다. Computers typically include a variety of computer readable media. Any computer-accessible medium can be any computer-readable medium, such computer-readable media being volatile and non-volatile media, transitory and non-transitory media, removable and non- Includes removable media. By way of example, and not limitation, computer readable media may include computer readable storage media and computer readable transmission media.
컴퓨터 판독가능 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보를 저장하는 임의의 방법 또는 기술로 구현되는 휘발성 및 비휘발성 매체, 일시적 및 비-일시적 매체, 이동식 및 비이동식 매체를 포함한다. 컴퓨터 판독가능 저장 매체는 RAM, ROM, EEPROM, 플래시 메모리 또는 기타 메모리 기술, CD-ROM, DVD(digital video disk) 또는 기타 광 디스크 저장 장치, 자기 카세트, 자기 테이프, 자기 디스크 저장 장치 또는 기타 자기 저장 장치, 또는 컴퓨터에 의해 액세스될 수 있고 원하는 정보를 저장하는 데 사용될 수 있는 임의의 기타 매체를 포함하지만, 이에 한정되지 않는다.Computer-readable storage media are volatile and non-volatile media, temporary and non-transitory media, removable and non-removable, implemented in any method or technology for storing information such as computer readable instructions, data structures, program modules or other data Includes media. Computer-readable storage media may include RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital video disk (DVD) or other optical disk storage device, magnetic cassette, magnetic tape, magnetic disk storage device or other magnetic storage Device, or any other medium that can be accessed by a computer and used to store desired information.
컴퓨터 판독가능 전송 매체는 통상적으로 반송파(carrier wave) 또는 기타 전송 메커니즘(transport mechanism)과 같은 피변조 데이터 신호(modulated data signal)에 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터등을 구현하고 모든 정보 전달 매체를 포함한다. 피변조 데이터 신호라는 용어는 신호 내에 정보를 인코딩하도록 그 신호의 특성들 중 하나 이상을 설정 또는 변경시킨 신호를 의미한다. 제한이 아닌 예로서, 컴퓨터 판독가능 전송 매체는 유선 네트워크 또는 직접 배선 접속(direct-wired connection)과 같은 유선 매체, 그리고 음향, RF, 적외선, 기타 무선 매체와 같은 무선 매체를 포함한다. 상술된 매체들 중 임의의 것의 조합도 역시 컴퓨터 판독가능 전송 매체의 범위 안에 포함되는 것으로 한다.Computer readable transmission media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and Includes all information delivery media. The term modulated data signal means a signal in which one or more of the characteristics of the signal are set or changed to encode information in the signal. By way of example, and not limitation, computer readable transmission media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above-described media are also intended to be included within the scope of computer-readable transmission media.
컴퓨터(1102)를 포함하는 본 개시의 여러가지 측면들을 구현하는 예시적인 환경(1100)이 나타내어져 있으며, 컴퓨터(1102)는 처리 장치(1104), 시스템 메모리(1106) 및 시스템 버스(1108)를 포함한다. 시스템 버스(1108)는 시스템 메모리(1106)(이에 한정되지 않음)를 비롯한 시스템 컴포넌트들을 처리 장치(1104)에 연결시킨다. 처리 장치(1104)는 다양한 상용 프로세서들 중 임의의 프로세서일 수 있다. 듀얼 프로세서 및 기타 멀티프로세서 아키텍처도 역시 처리 장치(1104)로서 이용될 수 있다.An exemplary environment 1100 is shown that implements various aspects of the present disclosure, including a
시스템 버스(1108)는 메모리 버스, 주변장치 버스, 및 다양한 상용 버스 아키텍처 중 임의의 것을 사용하는 로컬 버스에 추가적으로 상호 연결될 수 있는 몇가지 유형의 버스 구조 중 임의의 것일 수 있다. 시스템 메모리(1106)는 판독 전용 메모리(ROM)(1110) 및 랜덤 액세스 메모리(RAM)(1112)를 포함한다. 기본 입/출력 시스템(BIOS)은 ROM, EPROM, EEPROM 등의 비휘발성 메모리(1110)에 저장되며, 이 BIOS는 시동 중과 같은 때에 컴퓨터(1102) 내의 구성요소들 간에 정보를 전송하는 일을 돕는 기본적인 루틴을 포함한다. RAM(1112)은 또한 데이터를 캐싱하기 위한 정적 RAM 등의 고속 RAM을 포함할 수 있다.The
컴퓨터(1102)는 또한 내장형 하드 디스크 드라이브(HDD)(1114)(예를 들어, EIDE, SATA)―이 내장형 하드 디스크 드라이브(1114)는 또한 적당한 섀시(도시 생략) 내에서 외장형 용도로 구성될 수 있음―, 자기 플로피 디스크 드라이브(FDD)(1116)(예를 들어, 이동식 디스켓(1118)으로부터 판독을 하거나 그에 기록을 하기 위한 것임), 및 광 디스크 드라이브(1120)(예를 들어, CD-ROM 디스크(1122)를 판독하거나 DVD 등의 기타 고용량 광 매체로부터 판독을 하거나 그에 기록을 하기 위한 것임)를 포함한다. 하드 디스크 드라이브(1114), 자기 디스크 드라이브(1116) 및 광 디스크 드라이브(1120)는 각각 하드 디스크 드라이브 인터페이스(1124), 자기 디스크 드라이브 인터페이스(1126) 및 광 드라이브 인터페이스(1128)에 의해 시스템 버스(1108)에 연결될 수 있다. 외장형 드라이브 구현을 위한 인터페이스(1124)는 예를 들어, USB(Universal Serial Bus) 및 IEEE 1394 인터페이스 기술 중 적어도 하나 또는 그 둘다를 포함한다.
이들 드라이브 및 그와 연관된 컴퓨터 판독가능 매체는 데이터, 데이터 구조, 컴퓨터 실행가능 명령어, 기타 등등의 비휘발성 저장을 제공한다. 컴퓨터(1102)의 경우, 드라이브 및 매체는 임의의 데이터를 적당한 디지털 형식으로 저장하는 것에 대응한다. 상기에서의 컴퓨터 판독가능 저장 매체에 대한 설명이 HDD, 이동식 자기 디스크, 및 CD 또는 DVD 등의 이동식 광 매체를 언급하고 있지만, 당업자라면 집 드라이브(zip drive), 자기 카세트, 플래쉬 메모리 카드, 카트리지, 기타 등등의 컴퓨터에 의해 판독가능한 다른 유형의 저장 매체도 역시 예시적인 운영 환경에서 사용될 수 있으며 또 임의의 이러한 매체가 본 개시의 방법들을 수행하기 위한 컴퓨터 실행가능 명령어를 포함할 수 있다는 것을 잘 알 것이다.These drives and their associated computer-readable media provide non-volatile storage of data, data structures, computer-executable instructions, and the like. In the case of
운영 체제(1130), 하나 이상의 애플리케이션 프로그램(1132), 기타 프로그램 모듈(1134) 및 프로그램 데이터(1136)를 비롯한 다수의 프로그램 모듈이 드라이브 및 RAM(1112)에 저장될 수 있다. 운영 체제, 애플리케이션, 모듈 및/또는 데이터의 전부 또는 그 일부분이 또한 RAM(1112)에 캐싱될 수 있다. 본 개시가 여러가지 상업적으로 이용가능한 운영 체제 또는 운영 체제들의 조합에서 구현될 수 있다는 것을 잘 알 것이다.A number of program modules may be stored in the drive and
사용자는 하나 이상의 유선/무선 입력 장치, 예를 들어, 키보드(1138) 및 마우스(1140) 등의 포인팅 장치를 통해 컴퓨터(1102)에 명령 및 정보를 입력할 수 있다. 기타 입력 장치(도시 생략)로는 마이크, IR 리모콘, 조이스틱, 게임 패드, 스타일러스 펜, 터치 스크린, 기타 등등이 있을 수 있다. 이들 및 기타 입력 장치가 종종 시스템 버스(1108)에 연결되어 있는 입력 장치 인터페이스(1142)를 통해 처리 장치(1104)에 연결되지만, 병렬 포트, IEEE 1394 직렬 포트, 게임 포트, USB 포트, IR 인터페이스, 기타 등등의 기타 인터페이스에 의해 연결될 수 있다.The user may input commands and information to the
모니터(1144) 또는 다른 유형의 디스플레이 장치도 역시 비디오 어댑터(1146) 등의 인터페이스를 통해 시스템 버스(1108)에 연결된다. 모니터(1144)에 부가하여, 컴퓨터는 일반적으로 스피커, 프린터, 기타 등등의 기타 주변 출력 장치(도시 생략)를 포함한다.The
컴퓨터(1102)는 유선 및/또는 무선 통신을 통한 원격 컴퓨터(들)(1148) 등의 하나 이상의 원격 컴퓨터로의 논리적 연결을 사용하여 네트워크화된 환경에서 동작할 수 있다. 원격 컴퓨터(들)(1148)는 워크스테이션, 서버 컴퓨터, 라우터, 퍼스널 컴퓨터, 휴대용 컴퓨터, 마이크로프로세서-기반 오락 기기, 피어 장치 또는 기타 통상의 네트워크 노드일 수 있으며, 일반적으로 컴퓨터(1102)에 대해 기술된 구성요소들 중 다수 또는 그 전부를 포함하지만, 간략함을 위해, 메모리 저장 장치(1150)만이 도시되어 있다. 도시되어 있는 논리적 연결은 근거리 통신망(LAN)(1152) 및/또는 더 큰 네트워크, 예를 들어, 원거리 통신망(WAN)(1154)에의 유선/무선 연결을 포함한다. 이러한 LAN 및 WAN 네트워킹 환경은 사무실 및 회사에서 일반적인 것이며, 인트라넷 등의 전사적 컴퓨터 네트워크(enterprise-wide computer network)를 용이하게 해주며, 이들 모두는 전세계 컴퓨터 네트워크, 예를 들어, 인터넷에 연결될 수 있다.The
LAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 유선 및/또는 무선 통신 네트워크 인터페이스 또는 어댑터(1156)를 통해 로컬 네트워크(1152)에 연결된다. 어댑터(1156)는 LAN(1152)에의 유선 또는 무선 통신을 용이하게 해줄 수 있으며, 이 LAN(1152)은 또한 무선 어댑터(1156)와 통신하기 위해 그에 설치되어 있는 무선 액세스 포인트를 포함하고 있다. WAN 네트워킹 환경에서 사용될 때, 컴퓨터(1102)는 모뎀(1158)을 포함할 수 있거나, WAN(1154) 상의 통신 서버에 연결되거나, 또는 인터넷을 통하는 등, WAN(1154)을 통해 통신을 설정하는 기타 수단을 갖는다. 내장형 또는 외장형 및 유선 또는 무선 장치일 수 있는 모뎀(1158)은 직렬 포트 인터페이스(1142)를 통해 시스템 버스(1108)에 연결된다. 네트워크화된 환경에서, 컴퓨터(1102)에 대해 설명된 프로그램 모듈들 또는 그의 일부분이 원격 메모리/저장 장치(1150)에 저장될 수 있다. 도시된 네트워크 연결이 예시적인 것이며 컴퓨터들 사이에 통신 링크를 설정하는 기타 수단이 사용될 수 있다는 것을 잘 알 것이다.When used in a LAN networking environment, the
컴퓨터(1102)는 무선 통신으로 배치되어 동작하는 임의의 무선 장치 또는 개체, 예를 들어, 프린터, 스캐너, 데스크톱 및/또는 휴대용 컴퓨터, PDA(portable data assistant), 통신 위성, 무선 검출가능 태그와 연관된 임의의 장비 또는 장소, 및 전화와 통신을 하는 동작을 한다. 이것은 적어도 Wi-Fi 및 블루투스 무선 기술을 포함한다. 따라서, 통신은 종래의 네트워크에서와 같이 미리 정의된 구조이거나 단순하게 적어도 2개의 장치 사이의 애드혹 통신(ad hoc communication)일 수 있다.The
Wi-Fi(Wireless Fidelity)는 유선 없이도 인터넷 등으로의 연결을 가능하게 해준다. Wi-Fi는 이러한 장치, 예를 들어, 컴퓨터가 실내에서 및 실외에서, 즉 기지국의 통화권 내의 아무 곳에서나 데이터를 전송 및 수신할 수 있게 해주는 셀 전화와 같은 무선 기술이다. Wi-Fi 네트워크는 안전하고 신뢰성 있으며 고속인 무선 연결을 제공하기 위해 IEEE 802.11(a,b,g, 기타)이라고 하는 무선 기술을 사용한다. 컴퓨터를 서로에, 인터넷에 및 유선 네트워크(IEEE 802.3 또는 이더넷을 사용함)에 연결시키기 위해 Wi-Fi가 사용될 수 있다. Wi-Fi 네트워크는 비인가 2.4 및 5 GHz 무선 대역에서, 예를 들어, 11Mbps(802.11a) 또는 54 Mbps(802.11b) 데이터 레이트로 동작하거나, 양 대역(듀얼 대역)을 포함하는 제품에서 동작할 수 있다.Wi-Fi (Wireless Fidelity) enables a connection to the Internet or the like without a wired connection. Wi-Fi is a wireless technology such as a cell phone that allows a device, for example, a computer to transmit and receive data indoors and outdoors, ie anywhere within the base station's coverage area. Wi-Fi networks use a wireless technology called IEEE 802.11 (a, b, g, etc.) to provide a secure, reliable and high-speed wireless connection. Wi-Fi can be used to connect computers to each other, to the Internet, and to a wired network (using IEEE 802.3 or Ethernet). Wi-Fi networks can operate in unlicensed 2.4 and 5 GHz radio bands, for example, at 11 Mbps (802.11a) or 54 Mbps (802.11b) data rates, or in products that include both bands (dual band). have.
본 개시의 기술 분야에서 통상의 지식을 가진 자는 여기에 개시된 실시예들과 관련하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 프로세서들, 수단들, 회로들 및 알고리즘 단계들이 전자 하드웨어, (편의를 위해, 여기에서 "소프트웨어"로 지칭되는) 다양한 형태들의 프로그램 또는 설계 코드 또는 이들 모두의 결합에 의해 구현될 수 있다는 것을 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 호환성을 명확하게 설명하기 위해, 다양한 예시적인 컴포넌트들, 블록들, 모듈들, 회로들 및 단계들이 이들의 기능과 관련하여 위에서 일반적으로 설명되었다. 이러한 기능이 하드웨어 또는 소프트웨어로서 구현되는지 여부는 특정한 애플리케이션 및 전체 시스템에 대하여 부과되는 설계 제약들에 따라 좌우된다. 본 개시의 기술 분야에서 통상의 지식을 가진 자는 각각의 특정한 애플리케이션에 대하여 다양한 방식들로 설명된 기능을 구현할 수 있으나, 이러한 구현 결정들은 본 개시의 범위를 벗어나는 것으로 해석되어서는 안 될 것이다.Those of ordinary skill in the art of the present disclosure may use various examples of logical blocks, modules, processors, means, circuits, and algorithm steps described in connection with the embodiments disclosed herein in electronic hardware, (convenience For the sake of understanding, it may be implemented by various forms of program or design code (referred to herein as “software”) or a combination of both. To clearly illustrate this interoperability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design constraints imposed on the overall system. Those skilled in the art of the present disclosure may implement the functions described in various ways for each particular application, but such implementation decisions should not be interpreted as being outside the scope of the present disclosure.
여기서 제시된 다양한 실시예들은 방법, 장치, 또는 표준 프로그래밍 및/또는 엔지니어링 기술을 사용한 제조 물품(article)으로 구현될 수 있다. 용어 "제조 물품"은 임의의 컴퓨터-판독가능 장치로부터 액세스 가능한 컴퓨터 프로그램, 캐리어, 또는 매체(media)를 포함한다. 예를 들어, 컴퓨터-판독가능 저장 매체는 자기 저장 장치(예를 들면, 하드 디스크, 플로피 디스크, 자기 스트립, 등), 광학 디스크(예를 들면, CD, DVD, 등), 스마트 카드, 및 플래쉬 메모리 장치(예를 들면, EEPROM, 카드, 스틱, 키 드라이브, 등)를 포함하지만, 이들로 제한되는 것은 아니다. 용어 "기계-판독가능 매체"는 명령(들) 및/또는 데이터를 저장, 보유, 및/또는 전달할 수 있는 무선 채널 및 다양한 다른 매체를 포함하지만, 이들로 제한되는 것은 아니다. Various embodiments presented herein may be implemented as a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "manufactured article" includes a computer program, carrier, or media accessible from any computer-readable device. For example, computer-readable storage media include magnetic storage devices (eg, hard disks, floppy disks, magnetic strips, etc.), optical disks (eg, CDs, DVDs, etc.), smart cards, and flashes. Memory devices (eg, EEPROMs, cards, sticks, key drives, etc.), but are not limited to these. The term “machine-readable medium” includes, but is not limited to, wireless channels and various other media capable of storing, retaining, and / or transferring command (s) and / or data.
제시된 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조는 예시적인 접근들의 일례임을 이해하도록 한다. 설계 우선순위들에 기반하여, 본 개시의 범위 내에서 프로세스들에 있는 단계들의 특정한 순서 또는 계층 구조가 재배열될 수 있다는 것을 이해하도록 한다. 첨부된 방법 청구항들은 샘플 순서로 다양한 단계들의 엘리먼트들을 제공하지만 제시된 특정한 순서 또는 계층 구조에 한정되는 것을 의미하지는 않는다.It is understood that the specific order or hierarchy of steps in the processes presented is an example of exemplary approaches. Based on design priorities, it is understood that within the scope of the present disclosure, a specific order or hierarchy of steps in the processes may be rearranged. The accompanying method claims provide elements of the various steps in a sample order, but are not meant to be limited to the specific order or hierarchy presented.
제시된 실시예들에 대한 설명은 임의의 본 개시의 기술 분야에서 통상의 지식을 가진 자가 본 개시를 이용하거나 또는 실시할 수 있도록 제공된다. 이러한 실시예들에 대한 다양한 변형들은 본 개시의 기술 분야에서 통상의 지식을 가진 자에게 명백할 것이며, 여기에 정의된 일반적인 원리들은 본 개시의 범위를 벗어남이 없이 다른 실시예들에 적용될 수 있다. 그리하여, 본 개시는 여기에 제시된 실시예들로 한정되는 것이 아니라, 여기에 제시된 원리들 및 신규한 특징들과 일관되는 최광의의 범위에서 해석되어야 할 것이다.Descriptions of the presented embodiments are provided to enable any person of ordinary skill in the art to use or practice the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art of the present disclosure, and the general principles defined herein can be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure should not be limited to the embodiments presented herein, but should be interpreted in the broadest scope consistent with the principles and novel features presented herein.
Claims (1)
상기 컴퓨터 프로그램은 컴퓨터로 하여금 이하의 단계들을 수행하기 위한 명령들을 포함하며, 상기 단계들은:
제 1 트랜잭션에 설정된 제 1 TPS(Transaction Per Second) 값을 인식하는 단계; 및
상기 제 1 트랜잭션의 처리 여부를 결정하는 단계;
를 포함하는,
컴퓨터 판독가능 저장 매체에 저장된 컴퓨터 프로그램.
A computer program stored in a computer-readable storage medium,
The computer program includes instructions for the computer to perform the following steps, which are:
Recognizing a first transaction per second (TPS) value set in the first transaction; And
Determining whether to process the first transaction;
Containing,
A computer program stored on a computer readable storage medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200025777A KR20200028366A (en) | 2020-03-02 | 2020-03-02 | Sever, method of controlling a server and computer program stored in computer readable medium therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200025777A KR20200028366A (en) | 2020-03-02 | 2020-03-02 | Sever, method of controlling a server and computer program stored in computer readable medium therefor |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180063164A Division KR102088207B1 (en) | 2018-06-01 | 2018-06-01 | Sever, method of controlling a server and computer program stored in computer readable medium therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20200028366A true KR20200028366A (en) | 2020-03-16 |
Family
ID=69948656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200025777A KR20200028366A (en) | 2020-03-02 | 2020-03-02 | Sever, method of controlling a server and computer program stored in computer readable medium therefor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20200028366A (en) |
-
2020
- 2020-03-02 KR KR1020200025777A patent/KR20200028366A/en active Application Filing
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170293633A1 (en) | Distributed file system | |
US20190391899A1 (en) | Computer program stored in computer readable medium, database server and audit performing server | |
US9940042B2 (en) | Distributed storage system, and data-access method therefor | |
EP2284725A1 (en) | Client, brokerage server and method for providing cloud storage | |
US20160306988A1 (en) | Providing secure access to data in mobile devices | |
CN103747084A (en) | Off-line access method and system for advanced enterprise mobile application platform | |
CN108897607A (en) | Message treatment method, device, electronic equipment and storage medium | |
KR102088207B1 (en) | Sever, method of controlling a server and computer program stored in computer readable medium therefor | |
CN110633046A (en) | Storage method and device of distributed system, storage equipment and storage medium | |
CN113961510A (en) | File processing method, device, equipment and storage medium | |
CN111586177B (en) | Cluster session loss prevention method and system | |
KR102351426B1 (en) | A method for recommending a vitual machine suitable for a purpose of use and a virtual machine recommendation system implementing the same | |
KR102247247B1 (en) | Method to manage database | |
KR20200028366A (en) | Sever, method of controlling a server and computer program stored in computer readable medium therefor | |
US10803071B2 (en) | Presenting a data handling method on a graphical user interface | |
KR102085608B1 (en) | Recovery server and computer programs | |
KR20200078426A (en) | Recovery server and computer programs | |
CN101997885A (en) | User data scheduling method, server and data center | |
KR20190143419A (en) | Computer program stored in computer readable medium and database server reallocating an extent | |
US11726882B2 (en) | System control processor data mirroring system | |
KR102057054B1 (en) | Computer program stored in computer readable medium and database server reallocating an extent | |
KR102224771B1 (en) | Method to manage database failure | |
CN111835857B (en) | Method and apparatus for accessing data | |
KR102214696B1 (en) | Optimization techniques for database queries | |
CN116614178A (en) | Method and device for determining cutting-over state, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A107 | Divisional application of patent |