KR102618465B1 - Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof - Google Patents
Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof Download PDFInfo
- Publication number
- KR102618465B1 KR102618465B1 KR1020220159056A KR20220159056A KR102618465B1 KR 102618465 B1 KR102618465 B1 KR 102618465B1 KR 1020220159056 A KR1020220159056 A KR 1020220159056A KR 20220159056 A KR20220159056 A KR 20220159056A KR 102618465 B1 KR102618465 B1 KR 102618465B1
- Authority
- KR
- South Korea
- Prior art keywords
- error
- information
- server
- service
- backend
- Prior art date
Links
- 238000011017 operating method Methods 0.000 title 1
- 238000000034 method Methods 0.000 claims abstract description 43
- 238000012360 testing method Methods 0.000 claims description 51
- 230000004044 response Effects 0.000 claims description 19
- 230000015654 memory Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 20
- 238000004891 communication Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000033001 locomotion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3457—Performance evaluation by simulation
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/81—Threshold
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Computer And Data Communications (AREA)
Abstract
본 개시에 따르면, 전자 장치가 정보를 제공하는 방법에 있어서, 상기 전자 장치가 제공하는 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하는 단계; 상기 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 상기 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하는 단계; 및 상기 에러 발생 정보를 기반으로 구현되는 상기 에러 상황에 대한 에러 구현 결과 정보를 제공하는 단계를 포함하는 방법이 개시된다.According to the present disclosure, a method for providing information by an electronic device includes the steps of checking error type information including a plurality of error types corresponding to a backend service of a service provided by the electronic device; Setting error occurrence information to implement an error situation corresponding to a specific error type among the plurality of error types on a first backend server included in one or more backend servers corresponding to the backend service; and providing error implementation result information for the error situation implemented based on the error occurrence information.
Description
본 발명은 정보를 제공하는 방법 및 장치에 관한 것으로서, 더욱 상세하게는 전자 장치가 에러 상황을 구현하고 에러 상황에 대응하는 결과 정보를 제공하는 방법 및 이의 전자 장치에 관한 것이다.The present invention relates to a method and device for providing information, and more specifically, to a method and electronic device for enabling an electronic device to implement an error situation and provide result information corresponding to the error situation.
전자기술의 발달에 따라 전자상거래는 쇼핑의 한 분야로 자리잡았다. 고객은 직접 쇼핑몰이나 시장에 가지 않고도 온라인 상에서 물품을 구매할 수 있으며, 온라인 상에서 구매한 물품은 고객이 요청한 배송지로 배송된다. With the development of electronic technology, e-commerce has become a field of shopping. Customers can purchase items online without having to go to a shopping mall or market in person, and items purchased online are delivered to the delivery address requested by the customer.
전자상거래의 경우 상품에 대한 자세하고 정확한 정보의 처리가 서비스 만족도에 상당한 영향을 미치기 때문에 보다 자세하고 정확하게 정보를 처리하기 위한 다양한 방안에 대한 논의가 이루어지고 있다.In the case of e-commerce, the processing of detailed and accurate information about products has a significant impact on service satisfaction, so discussions are taking place on various methods to process information in more detail and accurately.
관련하여, KR101756594B1 건 또는 KR101500849B1 건 등의 선행문헌들을 참조할 수 있다.In relation to this, prior literature such as KR101756594B1 or KR101500849B1 may be referred to.
본 발명의 방법에 따르면, 전자 장치가 에러 상황을 구현하고 에러 상황에 대응하는 결과 정보를 제공할 수 있다.According to the method of the present invention, an electronic device can implement an error situation and provide result information corresponding to the error situation.
본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention 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 description below. You will be able to.
다양한 실시예들은, 정보 제공을 위한 전자 장치의 동작 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments may provide a method of operating an electronic device to provide information and an electronic device that supports the same.
다양한 실시예들에 따른 전자 장치가 정보를 제공하는 방법에 있어서, 상기 전자 장치가 제공하는 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하는 단계; 상기 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 상기 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하는 단계; 및 상기 에러 발생 정보를 기반으로 구현되는 상기 에러 상황에 대한 에러 구현 결과 정보를 제공하는 단계를 포함할 수 있다. A method of providing information by an electronic device according to various embodiments, comprising: checking error type information including a plurality of error types corresponding to a backend service of a service provided by the electronic device; Setting error occurrence information to implement an error situation corresponding to a specific error type among the plurality of error types on a first backend server included in one or more backend servers corresponding to the backend service; And it may include providing error implementation result information for the error situation implemented based on the error occurrence information.
예시적 실시예에서, 상기 에러 유형 정보를 확인하는 단계는, 상기 서비스 상에서 상기 백엔드 서비스와 관련하여 발생한 복수의 에러 상황에 대한 정보를 수집하는 단계; 및 상기 복수의 에러 상황을 상기 복수의 에러 유형으로 분류하는 단계를 포함할 수 있다.In an exemplary embodiment, the checking the error type information includes collecting information about a plurality of error situations that occur in relation to the backend service on the service; and classifying the plurality of error situations into the plurality of error types.
예시적 실시예에서, 상기 복수의 에러 유형은, 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출이 누락되는 제1 에러 유형, 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출을 위한 소요 시간이 임계 시간을 초과하는 제2 에러 유형, 및 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출에 대응하여 잘못된 응답 데이터가 호출되는 제3 에러 유형을 포함할 수 있다. In an exemplary embodiment, the plurality of error types include: a first error type in which a data call of the backend server to a counterpart backend server is missed, and a time required for a data call to the counterpart backend server of the backend server exceeds a threshold time. A second error type may include a second error type, and a third error type in which incorrect response data is called in response to a data call from a backend server to a counterpart backend server.
예시적 실시예에서, 상기 에러 발생 정보를 설정하는 단계는, 상기 특정 에러 유형이 상기 제1 에러 유형에 대응하는 경우, 데이터 호출의 누락을 알리는 메시지를 설정하는 단계를 포함할 수 있다.In an exemplary embodiment, setting the error occurrence information may include setting a message notifying missing data call when the specific error type corresponds to the first error type.
예시적 실시예에서, 상기 에러 발생 정보를 설정하는 단계는, 상기 특정 에러 유형이 상기 제2 에러 유형에 대응하는 경우, 상기 임계 시간을 설정하는 단계를 포함할 수 있다.In an exemplary embodiment, setting the error occurrence information may include setting the threshold time when the specific error type corresponds to the second error type.
예시적 실시예에서, 상기 에러 발생 정보를 설정하는 단계는, 상기 특정 에러 유형이 상기 제3 에러 유형에 대응하는 경우, 상기 잘못된 응답 데이터로써 포함될 정보를 설정하는 단계를 포함할 수 있다.In an exemplary embodiment, setting the error occurrence information may include setting information to be included as the incorrect response data when the specific error type corresponds to the third error type.
예시적 실시예에서, 상기 에러 발생 정보는, 상기 제1 백엔드 서버에 대한 정보, 상기 서비스의 프론트엔드(Frontend) 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보, 및 상기 하나 이상의 백엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 정보를 포함할 수 있다.In an exemplary embodiment, the error occurrence information includes information about the first backend server, the first backend to implement the error situation among one or more frontend servers corresponding to the frontend service of the service. Information about a first front-end server set as a counterpart front-end server of the server, and information about a second back-end server set as a counterpart back-end server of the first back-end server to implement the error situation among the one or more back-end servers. May contain information.
예시적 실시예에서, 상기 에러 발생 정보는, 상기 에러 상황을 구현하도록 관리되는 기간에 대한 정보를 포함할 수 있다.In an exemplary embodiment, the error occurrence information may include information about a period managed to implement the error situation.
예시적 실시예에서, 상기 에러 발생 정보는, 상기 에러 상황의 구현을 관리하는 관리자에 대한 정보를 포함할 수 있다.In an exemplary embodiment, the error occurrence information may include information about a manager who manages implementation of the error situation.
예시적 실시예에서, 상기 에러 발생 정보는, 상기 에러 상황의 구현이 가능하도록 설정되는 사용자 단말을 제한하기 위한 조건 정보를 포함하고, 상기 조건 정보를 충족하는 사용자 단말에 한하여 상기 에러 상황의 구현이 가능하도록 설정될 수 있다.In an exemplary embodiment, the error occurrence information includes condition information for limiting user terminals that are set to enable implementation of the error situation, and implementation of the error situation is limited to user terminals that meet the condition information. It can be set to enable.
예시적 실시예에서, 상기 정보 제공 방법은, 상기 에러 구현 결과 정보를 통해 표시될 메시지를 설정하는 단계를 더 포함하고, 상기 에러 상황의 구현에 대한 결과로 상기 메시지가 표시될 경우, 상기 에러 상황의 구현이 성공적으로 수행된 것으로 관리될 수 있다.In an exemplary embodiment, the information providing method further includes setting a message to be displayed through the error implementation result information, and when the message is displayed as a result of the implementation of the error situation, the error situation The implementation can be managed as having been performed successfully.
예시적 실시예에서, 상기 정보 제공 방법은, 상기 서비스에 대응하는 테스트 서버를 구축하는 단계를 더 포함하고, 상기 에러 상황의 구현 및 상기 에러 구현 결과 정보의 제공은 상기 테스트 서버에서 상기 에러 발생 정보를 적용하여 수행될 수 있다.In an exemplary embodiment, the information provision method further includes the step of building a test server corresponding to the service, and the implementation of the error situation and provision of the error implementation result information are performed by using the error occurrence information in the test server. It can be performed by applying .
예시적 실시예에서, 상기 정보 제공 방법은, 상기 테스트 서버에 상기 에러 발생 정보를 적용하기 위해 사용될 어댑터(adapter)를 설정하는 단계; 및 상기 어댑터를 상기 테스트 서버에 등록하는 단계를 더 포함할 수 있다. In an exemplary embodiment, the information providing method includes setting an adapter to be used to apply the error occurrence information to the test server; and registering the adapter with the test server.
예시적 실시예에서, 상기 등록된 어댑터가 활성화 된 점에 기반하여 상기 테스트 서버에서 상기 에러 상황의 구현이 가능하도록 설정될 수 있다.In an exemplary embodiment, the test server may be configured to enable implementation of the error situation based on the fact that the registered adapter is activated.
예시적 실시예에서, 상기 어댑터의 활성화를 위한 시도가 일정 횟수 이상 실패한 경우, 상기 어댑터는 비활성화 될 수 있다.In an exemplary embodiment, if attempts to activate the adapter fail a certain number of times, the adapter may be deactivated.
예시적 실시예에서, 상기 정보 제공 방법은, 상기 서비스의 프론트엔드 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 프론트엔드 서버로 설정된 제1 프론트엔드 서버에 대한 정보를 확인하는 단계; 및 상기 에러 구현 결과 정보에 기반하여, 상기 제1 프론트엔드 서버를 통해 상기 서비스의 사용자에게 상기 에러 상황과 관련하여 제공될 에러 안내 메시지를 설정하는 단계를 더 포함할 수 있다.In an exemplary embodiment, the information providing method includes: a first front-end configured as a counterpart front-end server of the first back-end server to implement the error situation among one or more front-end servers corresponding to the front-end service of the service; Checking information about the server; And based on the error implementation result information, it may further include setting an error information message to be provided in relation to the error situation to the user of the service through the first front-end server.
다양한 실시예들에 따른 정보를 제공하는 전자 장치에 있어서, 프로세서 (processor); 및 하나 이상의 인스트럭션 (instruction) 을 저장하는 하나 이상의 메모리 (memory) 를 포함하고, 상기 하나 이상의 인스트럭션은, 실행 시에, 상기 프로세서가: 상기 전자 장치가 제공하는 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하는 단계; 상기 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 상기 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하는 단계; 및 상기 에러 발생 정보를 기반으로 구현되는 상기 에러 상황에 대한 에러 구현 결과 정보를 제공하는 단계를 수행하도록 상기 프로세서를 제어할 수 있다.An electronic device that provides information according to various embodiments includes: a processor; and one or more memories storing one or more instructions, wherein the one or more instructions, when executed, cause the processor to: correspond to a backend service of a service provided by the electronic device. Checking error type information including a plurality of error types; Setting error occurrence information to implement an error situation corresponding to a specific error type among the plurality of error types on a first backend server included in one or more backend servers corresponding to the backend service; And the processor may be controlled to perform a step of providing error implementation result information for the error situation implemented based on the error occurrence information.
상술한 본 개시의 다양한 실시예들은 본 개시의 바람직한 실시예들 중 일부에 불과하며, 본 개시의 다양한 실시예들의 기술적 특징들이 반영된 여러 가지 실시예들이 당해 기술분야의 통상적인 지식을 가진 자에 의해 이하 상술할 상세한 설명을 기반으로 도출되고 이해될 수 있다.The various embodiments of the present disclosure described above are only some of the preferred embodiments of the present disclosure, and various embodiments reflecting the technical features of the various embodiments of the present disclosure can be understood by those skilled in the art. It can be derived and understood based on the detailed description described below.
본 발명은 전자 장치가 에러 상황을 구현하고 에러 상황에 대응하는 결과 정보를 제공하는 방법을 제시하여, 에러 상황에 효과적으로 대응 방안을 모색할 수 있는 측면에서 기술적인 효과를 갖는다.The present invention has a technical effect in that it provides a method for an electronic device to implement an error situation and provide result information in response to the error situation, allowing an effective way to respond to the error situation.
본 발명에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects that can be obtained from the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those skilled in the art from the description below. will be.
도 1은 다양한 실시예들에 따른 정보 제공을 위한 전자 장치의 동작 방법이 구현될 수 있는 정보 제공 시스템을 설명하기 위한 도면이다.
도 2는 다양한 실시예들에 따른 서버 디바이스(100) 및 사용자 디바이스(200)의 구성을 도시한 도면이다.
도 3은 다양한 실시예들에 따른 정보 제공을 위한 서버 디바이스(100)의 동작 방법을 도시한 도면이다.
도 4는 프론트엔드 서비스 및 백엔드 서비스의 개요를 도시한 도면이다.
도 5는 제1 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보의 일 예시를 도시한 도면이다.
도 6은 제2 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보의 일 예시를 도시한 도면이다.
도 7은 제3 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보의 일 예시를 도시한 도면이다.
도 8은 다양한 실시예들에 따른 서버 디바이스(100)가 에러 발생 정보의 적용을 위한 어댑터를 실행하는 방법을 도시한 도면이다.
도 9는 에러 발생 정보를 적용하기 위한 어댑터가 등록되고 활성화 되는 흐름도를 도시한 도면이다.
도 10은 어댑터를 기반으로 에러 발생 정보가 적용되어 에러 상황이 구현되는 흐름도를 도시한 도면이다.
도 11은 테스트 서버에 대하여 다양한 에러 발생 정보가 적용되는 모습을 도시한 도면이다.FIG. 1 is a diagram illustrating an information provision system in which a method of operating an electronic device for providing information according to various embodiments can be implemented.
FIG. 2 is a diagram illustrating the configuration of a
FIG. 3 is a diagram illustrating a method of operating the
Figure 4 is a diagram showing an outline of front-end services and back-end services.
FIG. 5 is a diagram illustrating an example of error occurrence information for implementing an error situation corresponding to the first error type.
FIG. 6 is a diagram illustrating an example of error occurrence information for implementing an error situation corresponding to the second error type.
FIG. 7 is a diagram illustrating an example of error occurrence information for implementing an error situation corresponding to a third error type.
FIG. 8 is a diagram illustrating a method by which the
Figure 9 is a diagram illustrating a flow chart in which an adapter for applying error occurrence information is registered and activated.
FIG. 10 is a flowchart showing how an error situation is implemented by applying error occurrence information based on an adapter.
Figure 11 is a diagram showing how various error occurrence information is applied to the test server.
이하의 실시예들은 다양한 실시예들의 구성요소들과 특징들을 소정 형태로 결합한 것들이다. 각 구성요소 또는 특징은 별도의 명시적 언급이 없는 한 선택적인 것으로 고려될 수 있다. 각 구성요소 또는 특징은 다른 구성요소나 특징과 결합되지 않은 형태로 실시될 수 있다. 또한, 일부 구성요소들 및 특징들을 결합하여 다양한 실시예들을 구성할 수도 있다. 다양한 실시예들에서 설명되는 동작들의 순서는 변경될 수 있다. 어느 실시예의 일부 구성이나 특징은 다른 실시예에 포함될 수 있고, 또는 다른 실시예의 대응하는 구성 또는 특징과 교체될 수 있다.The following embodiments combine components and features of various embodiments in a predetermined form. Each component or feature may be considered optional unless explicitly stated otherwise. Each component or feature may be implemented in a form that is not combined with other components or features. Additionally, various embodiments may be configured by combining some components and features. The order of operations described in various embodiments may change. Some features or features of one embodiment may be included in other embodiments or may be replaced with corresponding features or features of other embodiments.
도면에 대한 설명에서, 다양한 실시예들의 요지를 흐릴 수 있는 절차 또는 단계 등은 기술하지 않았으며, 당해 기술분야에서 통상의 지식을 가진 자의 수준에서 이해할 수 있을 정도의 절차 또는 단계는 또한 기술하지 아니하였다.In the description of the drawings, procedures or steps that may obscure the gist of the various embodiments are not described, and procedures or steps that can be understood at the level of a person with ordinary knowledge in the relevant technical field are not described. did.
명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함(comprising 또는 including)"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "...부", "...기", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다. 또한, "일(a 또는 an)", "하나(one)", "그(the)" 및 유사 관련어는 다양한 실시예들을 기술하는 문맥에 있어서(특히, 이하의 청구항의 문맥에서) 본 명세서에 달리 지시되거나 문맥에 의해 분명하게 반박되지 않는 한, 단수 및 복수 모두를 포함하는 의미로 사용될 수 있다.Throughout the specification, when a part is said to “comprise or include” a certain element, this means that it does not exclude other elements but may further include other elements, unless specifically stated to the contrary. do. In addition, terms such as "... unit", "... unit", and "module" used in the specification refer to a unit that processes at least one function or operation, which refers to hardware, software, or a combination of hardware and software. It can be implemented as: Additionally, the terms “a or an,” “one,” “the,” and similar related terms are used herein in the context of describing various embodiments (particularly in the context of the claims below). Unless otherwise indicated or clearly contradicted by context, it may be used in both singular and plural terms.
이하, 다양한 실시예들에 따른 바람직한 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 다양한 실시예들의 예시적인 실시형태를 설명하고자 하는 것이며, 유일한 실시형태를 나타내고자 하는 것이 아니다.Hereinafter, preferred embodiments according to various embodiments will be described in detail with reference to the attached drawings. The detailed description set forth below in conjunction with the accompanying drawings is intended to illustrate exemplary embodiments of various embodiments and is not intended to represent the only embodiment.
또한, 다양한 실시예들에서 사용되는 특정(特定) 용어들은 다양한 실시예들의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 다양한 실시예들의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다.In addition, specific terms used in various embodiments are provided to aid understanding of the various embodiments, and the use of such specific terms may be changed to other forms without departing from the technical spirit of the various embodiments. .
도 1은 다양한 실시예들에 따른 정보 제공을 위한 전자 장치의 동작 방법이 구현될 수 있는 정보 제공 시스템을 설명하기 위한 도면이다.FIG. 1 is a diagram illustrating an information provision system in which a method of operating an electronic device for providing information according to various embodiments can be implemented.
도 1을 참조하면, 다양한 실시예들에 따른 정보 제공 시스템은 다양한 종류의 전자 장치들에 구현될 수 있다. 예를 들어, 정보 제공 시스템은 서버 디바이스(100) 및 사용자 디바이스(200)에 구현될 수 있다. 달리 말해, 서버 디바이스(100) 및 사용자 디바이스(200)는 각각의 장치에 구현된 정보 제공 시스템을 기반으로, 본 개시의 다양한 실시예들에 따른 동작을 수행할 수 있다. 한편, 다양한 실시예들에 따른 정보 제공 시스템은, 상기 도 1에 도시된 바에 국한되지 않고, 더 다양한 전자 장치와 서버들에 구현될 수도 있을 것이다.Referring to FIG. 1, information providing systems according to various embodiments may be implemented in various types of electronic devices. For example, the information provision system may be implemented in the
다양한 실시예들에 따른 서버 디바이스(100)는, 복수 개의 사용자 디바이스(200)들과 무선 및 유선 통신을 수행하며, 대단위의 저장 용량을 갖는 스토리지를 포함하는 장치일 수 있다. 예를 들어, 서버 디바이스(100)는 복수 개의 사용자 디바이스(200)들과 연동되는 클라우드 디바이스(Cloud device)일 수 있다. 본 개시에서 후술하는 서버 디바이스(100)는 서버로써 기능하는 것 이외에도, 서비스를 위한 프론트엔드 서비스 상의 다양한 프론트엔드 서버와 서비스를 위한 백엔드 서비스 상의 다양한 백엔드 서버를 관리 및 제어하도록 기능할 수 있다.The
다양한 실시예들에 따른 사용자 디바이스(200)는, 데스크탑 피시, 태블릿 피시, 모바일 단말 등의 개인 사용자에 의해 이용될 수 있는 장치일 수 있다. 이외에도 유사한 기능을 수행하는 다른 전자 장치들이 사용자 디바이스(200)로 이용될 수 있다.The
다양한 실시예들에 따른 정보 제공 시스템은 동작을 위한 다양한 모듈들을 포함할 수 있다. 정보 제공 시스템에 포함된 모듈들은 정보 제공 시스템이 구현되는(또는, 물리적 장치에 포함되는) 물리적 장치(예: 서버 디바이스(100) 및 사용자 디바이스(200))가 지정된 동작을 수행할 수 있도록 구현된 컴퓨터 코드 내지는 하나 이상의 인스트럭션 (instruction) 일 수 있다. 다시 말해, 정보 제공 시스템이 구현되는 물리적 장치는 복수 개의 모듈들을 컴퓨터 코드 형태로 메모리에 저장하고, 메모리에 저장된 복수 개의 모듈들이 실행되는 경우 복수 개의 모듈들은 물리적 장치가 복수 개의 모듈들에 대응하는 지정된 동작들을 수행하도록 할 수 있다.An information provision system according to various embodiments may include various modules for operation. Modules included in the information provision system are implemented so that the physical device (e.g.,
도 2는 다양한 실시예들에 따른 서버 디바이스(100) 및 사용자 디바이스(200)의 구성을 도시한 도면이다.FIG. 2 is a diagram illustrating the configuration of a
도 2를 참조하면, 서버 디바이스(100) 및 사용자 디바이스(200)는 입/출력부(210), 통신부(220), 스토리지(230) 및 프로세서(240)를 포함할 수 있다. Referring to FIG. 2 , the
입/출력부(210)는 사용자 입력을 받거나 또는 사용자에게 정보를 출력하는 각종 인터페이스나 연결 포트 등일 수 있다. 입/출력부(210)는 입력 모듈과 출력 모듈을 포함할 수 있는데, 입력 모듈은 사용자로부터 사용자 입력을 수신한다. 사용자 입력은 키 입력, 터치 입력, 음성 입력을 비롯한 다양한 형태로 이루어질 수 있다. 이러한 사용자 입력을 받을 수 있는 입력 모듈의 예로는 전통적인 형태의 키패드나 키보드, 마우스는 물론, 사용자의 터치를 감지하는 터치 센서, 음성 신호를 입력받는 마이크, 영상 인식을 통해 제스처 등을 인식하는 카메라, 사용자 접근을 감지하는 조도 센서나 적외선 센서 중 적어도 하나를 포함하는 근접 센서, 가속도 센서나 자이로 센서 등을 통해 사용자 동작을 인식하는 모션 센서 및 그 외의 다양한 형태의 사용자 입력을 감지하거나 입력받는 다양한 형태의 입력 수단이 있으며, 본 개시의 실시예에 따른 입력 모듈은 위에 나열한 장치 중 적어도 하나를 포함할 수 있다. 여기서, 터치 센서는 디스플레이 패널에 부착되는 터치 패널이나 터치 필름을 통해 터치를 감지하는 압전식 또는 정전식 터치 센서, 광학적인 방식에 의해 터치를 감지하는 광학식 터치 센서 등으로 구현될 수 있다. 이외에도 입력 모듈은 자체적으로 사용자 입력을 감지하는 장치 대신 사용자 입력을 입력받는 외부의 입력 장치를 연결시키는 입력 인터페이스(USB 포트, PS/2 포트 등)의 형태로 구현될 수도 있다. 또 출력 모듈은 각종 정보를 출력할 수 있다. 출력 모듈은 영상을 출력하는 디스플레이, 소리를 출력하는 스피커, 진동을 발생시키는 햅틱 장치 및 그 외의 다양한 형태의 출력 수단 중 적어도 하나를 포함할 수 있다. 이외에도 출력 모듈은 상술한 개별 출력 수단을 연결시키는 포트 타입의 출력 인터페이스의 형태로 구현될 수도 있다.The input/
일 예로, 디스플레이 형태의 출력 모듈은 텍스트, 정지 영상, 동영상을 디스플레이 할 수 있다. 디스플레이는 액정 디스플레이(LCD: Liquid Crystal Display), 발광 다이오드(LED: light emitting diode) 디스플레이, 유기 발광 다이오드(OLED: Organic Light Emitting Diode) 디스플레이, 평판 디스플레이(FPD: Flat Panel Display), 투명 디스플레이(transparent display), 곡면 디스플레이(Curved Display), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 홀로그래픽 디스플레이(holographic display), 프로젝터 및 그 외의 영상 출력 기능을 수행할 수 있는 다양한 형태의 장치 중 적어도 하나를 포함할 수 있다. 이러한 디스플레이는 입력 모듈의 터치 센서와 일체로 구성된 터치 디스플레이의 형태일 수도 있다.As an example, a display-type output module can display text, still images, and moving images. Displays include liquid crystal display (LCD), light emitting diode (LED) display, organic light emitting diode (OLED) display, flat panel display (FPD), and transparent display. Among various types of devices that can perform image output functions such as display, curved display, flexible display, 3D display, holographic display, projector, and other It can contain at least one. This display may be in the form of a touch display integrated with the touch sensor of the input module.
통신부(220)는 다른 장치와 통신할 수 있다. 따라서, 서버 디바이스(100) 및 사용자 디바이스(200)는 통신부를 통해 다른 장치와 정보를 송수신할 수 있다. 예를 들어, 서버 디바이스(100) 및 사용자 디바이스(200)는 통신부를 이용해 상호 간 통신을 수행하거나, 기타 다른 장치와 통신을 수행할 수 있다.The
여기서, 통신, 즉 데이터의 송수신은 유선 또는 무선으로 이루어질 수 있다. 이를 위해 통신부는 LAN(Local Area Network)를 통해 인터넷 등에 접속하는 유선 통신 모듈, 이동 통신 기지국을 거쳐 이동 통신 네트워크에 접속하여 데이터를 송수신하는 이동 통신 모듈, 와이파이(Wi-Fi) 같은 WLAN(Wireless Local Area Network) 계열의 통신 방식이나 블루투스(Bluetooth), 직비(Zigbee)와 같은 WPAN(Wireless Personal Area Network) 계열의 통신 방식을 이용하는 근거리 통신 모듈, GPS(Global Positioning System)과 같은 GNSS(Global Navigation Satellite System)을 이용하는 위성 통신 모듈 또는 이들의 조합을 포함할 수 있다.Here, communication, that is, transmission and reception of data, can be accomplished wired or wirelessly. To this end, the communication department includes a wired communication module that connects to the Internet, etc. through a LAN (Local Area Network), a mobile communication module that transmits and receives data by connecting to a mobile communication network through a mobile communication base station, and a WLAN (Wireless Local Area Network) such as Wi-Fi. A short-distance communication module using an Area Network-type communication method or a WPAN (Wireless Personal Area Network)-type communication method such as Bluetooth or Zigbee, and a GNSS (Global Navigation Satellite System) such as a GPS (Global Positioning System) ) may include a satellite communication module using a satellite communication module or a combination thereof.
스토리지(230)는 각종 정보를 저장할 수 있다. 스토리지(230)는 데이터를 임시적으로 또는 반영구적으로 저장할 수 있다. 예를 들어, 서버 디바이스(100)의 스토리지(230)에는 서버 디바이스(100)를 구동하기 위한 운용 프로그램(OS: Operating System), 웹 사이트를 호스팅하기 위한 데이터나 점자 생성을 위한 프로그램 내지는 어플리케이션(예를 들어, 웹 어플리케이션)에 관한 데이터 등이 저장될 수 있다. 또, 스토리지(230)는 상술한 바와 같이 모듈들을 컴퓨터 코드 형태로 저장할 수 있다.
스토리지(230)의 예로는 하드 디스크(HDD: Hard Disk Drive), SSD(Solid State Drive), 플래쉬 메모리(flash memory), 롬(ROM: Read-Only Memory), 램(RAM: Random Access Memory) 등이 있을 수 있다. 이러한 스토리지(230)는 내장 타입 또는 탈부착 가능한 타입으로 제공될 수 있다.Examples of
프로세서(240)는 서버 디바이스(100) 및 사용자 디바이스(200)의 전반적인 동작을 제어한다. 이를 위해 프로세서(240)는 각종 정보의 연산 및 처리를 수행하고 서버 디바이스(100)의 구성요소들의 동작을 제어할 수 있다. 예를 들어, 프로세서(240)는 정보 제공을 위한 프로그램 내지 어플리케이션을 실행시킬 수 있을 것이다. 프로세서(240)는 하드웨어, 소프트웨어 또는 이들의 조합에 따라 컴퓨터나 이와 유사한 장치로 구현될 수 있다. 하드웨어적으로 프로세서(240)는 전기적인 신호를 처리하여 제어 기능을 수행하는 전자 회로 형태로 구현될 수 있으며, 소프트웨어적으로는 하드웨어적인 프로세서(240)를 구동시키는 프로그램 형태로 구현될 수 있다. 한편, 이하의 설명에서 특별한 언급이 없는 경우에는 서버 디바이스(100) 및 사용자 디바이스(200)의 동작은 프로세서(240)의 제어에 의해 수행되는 것으로 해석될 수 있다. 즉, 상술한 정보 제공 시스템에 구현되는 모듈들이 실행되는 경우, 모듈들은 프로세서(240)가 서버 디바이스(100) 및 사용자 디바이스(200)를 이하의 동작들을 수행하도록 제어하는 것으로 해석될 수 있다.The
요약하면, 다양한 실시예들은 다양한 수단을 통해 구현될 수 있다. 예를 들어, 다양한 실시예들은 하드웨어, 펌웨어(firmware), 소프트웨어 또는 그것들의 결합 등에 의해 구현될 수 있다.In summary, various embodiments may be implemented through various means. For example, various embodiments may be implemented by hardware, firmware, software, or a combination thereof.
하드웨어에 의한 구현의 경우, 다양한 실시예들에 따른 방법은 하나 또는 그 이상의 ASICs(application specific integrated circuits), DSPs(digital signal processors), DSPDs(digital signal processing devices), PLDs(programmable logic devices), FPGAs(field programmable gate arrays), 프로세서, 콘트롤러, 마이크로 콘트롤러, 마이크로 프로세서 등에 의해 구현될 수 있다.In the case of hardware implementation, methods according to various embodiments include one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), and FPGAs. It can be implemented by (field programmable gate arrays), processor, controller, microcontroller, microprocessor, etc.
펌웨어나 소프트웨어에 의한 구현의 경우, 다양한 실시예들에 따른 방법은 이하에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차 또는 함수 등의 형태로 구현될 수 있다. 예를 들어, 소프트웨어 코드는 메모리에 저장되어 프로세서에 의해 구동될 수 있다. 상기 메모리는 상기 프로세서 내부 또는 외부에 위치할 수 있으며, 이미 공지된 다양한 수단에 의해 상기 프로세서와 데이터를 주고받을 수 있다.In the case of implementation by firmware or software, methods according to various embodiments may be implemented in the form of modules, procedures, or functions that perform the functions or operations described below. For example, software code can be stored in memory and run by a processor. The memory may be located inside or outside the processor, and may exchange data with the processor through various known means.
이하에서는, 상기와 같은 기술적 사상에 기반하여 다양한 실시예들에 대해 보다 상세히 설명한다. 이하에서 설명되는 다양한 실시예들에 대해서는 앞서 설명한 내용들이 적용될 수 있다. 예를 들어, 이하에서 설명되는 다양한 실시예들에서 정의되지 않은 동작, 기능, 용어 등은 앞서 설명한 내용들에 기반하여 수행되고 설명될 수 있다.Below, various embodiments will be described in more detail based on the above technical idea. The contents described above may be applied to various embodiments described below. For example, operations, functions, terms, etc. that are not defined in various embodiments described below may be performed and explained based on the contents described above.
이하의 설명에서는 전자 장치가 정보 제공 동작을 수행함을 전제로 다양한 실시예들에 대하여 설명한다. In the following description, various embodiments will be described on the premise that the electronic device performs an information provision operation.
도 3은 다양한 실시예들에 따른 정보 제공을 위한 서버 디바이스(100)의 동작 방법을 도시한 도면이다.FIG. 3 is a diagram illustrating a method of operating the
도 3에 따를 때 서버 디바이스(100)는 에러 상황에 대한 에러 구현 결과 정보를 제공하며, 에러 구현 결과 정보를 제공하는 동작을 수행하기 위해, 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하고(301), 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하며(303), 에러 발생 정보를 기반으로 구현되는 에러 상황에 대한 에러 구현 결과 정보를 제공할 수 있다(305).According to FIG. 3, the
도 3에 따라 서버 디바이스(100)가 에러 구현 결과 정보를 제공하는 동작은 서버 디바이스(100)가 제공하는 서비스 또는 서버 디바이스(100)와 관련된 서비스를 위해 수행될 수 있으며, 상기 서비스는 서비스에서 판매되는 복수의 아이템들을 서비스를 이용하는 복수의 사용자가 주문 및 구매할 수 있는 서비스에 해당할 수 있다. 서비스에서 판매되는 복수의 아이템들은 아이템의 종류 또는 타입 등에 제한되지 않고 판매자가 아이템을 판매하기 위해 등록하는 다양한 종류 또는 타입의 아이템을 포함할 수 있다. 이 때, 서버 디바이스(100)가 제공하는 서비스 또는 서버 디바이스(100)와 관련된 서비스는 도 4와 같이 프론트엔드(Frontend) 서비스와 백엔드(Backend) 서비스로 구분될 수 있다.According to FIG. 3, the operation of the
도 4는 프론트엔드 서비스 및 백엔드 서비스의 개요를 도시한 도면이다.Figure 4 is a diagram showing an outline of front-end services and back-end services.
식별번호 401을 참고하면, 프론트엔드 서비스는 서버 디바이스(100)가 제공하는 서비스를 위한 다양한 고객(Customer) 도메인을 포함할 수 있으며, 상기 다양한 고객 도메인에 대응하는 다양한 프론트엔드 서버가 상기 프론트엔드 서비스에 대응할 수 있다. 여기서, 고객 도메인은 서버 디바이스(100)가 제공하는 서비스의 UI/UX (user interface/user experience) 상에서 사용자가 접할 수 있는 다양한 서비스 페이지에 대응하는 도메인을 의미할 수 있다. 프론트엔드 서비스는 사용자의 UI/UX 접속 및 이용에 따라 각 고객 도메인에서 요청되는 데이터를 관리할 수 있도록 설정되는 사용자 측 관리 단으로 이해될 수 있다.Referring to
식별번호 403을 참고하면, 백엔드 서비스는 서버 디바이스(100)가 제공하는 서비스를 위한 데이터베이스(database)와 관련된 다양한 데이터베이스 도메인을 포함할 수 있으며, 상기 다양한 데이터베이스 도메인에 대응하는 다양한 백엔드 서버가 상기 백엔드 서비스에 대응할 수 있다. 여기서, 데이터베이스 도메인은 서버 디바이스(100)가 저장하여 관리하는 각 데이터에 대하여 데이터의 타입 또는 종류를 기반으로 각 데이터를 저장 및 관리하도록 설정된 데이터베이스에 대응하는 도메인을 의미할 수 있다. 백엔드 서비스는, 서버 디바이스(100)가 제공하는 서비스와 관련하여 획득되는 데이터를 저장, 확인 및/또는 호출할 수 있도록 설정되는 데이터베이스 측 관리 단으로 이해될 수 있다.Referring to
UI/UX를 통한 사용자의 데이터 요청에 대응하여 서버 디바이스(100)가 호출하고자 하는 데이터가 백엔드 서비스로부터 프론트엔드 서비스로 서빙될 수 있으며, 일 예로, 사용자가 이용한 특정의 고객 도메인에 대응하는 제1 프론트엔드 서버가 상기 특정의 고객 도메인과 관련된 특정 데이터베이스에 대응하는 제1 백엔드 서버로부터 서버 디바이스(100)가 호출하고자 하는 데이터를 서빙(serving) 받을 수 있다. 또한, 필요한 경우 제1 백엔드 서버는 다른 제2 백엔드 서버로부터 데이터를 호출할 수도 있으며 이와 같이 호출된 데이터를 제1 프론트엔드 서버로 서빙하도록 동작할 수 있다.In response to a user's data request through UI/UX, data that the
다양한 실시예들에 따르면, 동작 301에서, 서버 디바이스(100)는 서비스의 백엔드 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인할 수 있다.According to various embodiments, in
예를 들어, 서버 디바이스(100)가 에러 유형 정보를 확인하는 동작 301은, 백엔드 서비스와 관련하여 발생하거나 인지된 다양한 에러 상황을 수집하고, 수집된 에러 상황들을 일정한 기준에 따라 분류한 동작에 기반하여 수행되는 것일 수 있다. 즉, 서버 디바이스(100)가 제공하는 서비스 상에서, 서버 디바이스(100)는 백엔드 서비스와 관련하여 발생한 복수의 에러 상황에 대한 정보를 수집하고, 수집된 복수의 에러 상황을 복수의 에러 유형을 분류할 수 있으며, 동작 301은 이와 같이 분류된 복수의 에러 유형에 대한 정보를 확인하는 동작에 해당할 수 있다.For example,
예를 들어, 서버 디바이스(100)가 동작 301에 따라 확인하는 에러 유형 정보에 포함된 복수의 에러 유형은 백엔드 서버가 상대 백엔드 서버로부터 데이터를 호출하고자 할 때 발생하는 다양한 에러 상황에 대응하는 에러 유형을 포함할 수 있다. 구체적으로 상기 복수의 에러 유형은, 1) 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출이 누락되는 제1 에러 유형, 2) 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출을 위한 소요 시간이 임계 시간을 초과하는 제2 에러 유형, 및 3) 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출에 대응하여 잘못된 응답 데이터가 호출되는 제3 에러 유형을 포함할 수 있다.For example, the plurality of error types included in the error type information that the
다양한 실시예들에 따르면, 동작 303에서, 서버 디바이스(100)는 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버에 포함된 제1 백엔드 서버에 대하여, 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정할 수 있다.According to various embodiments, in
예를 들어, 서버 디바이스(100)가 동작 303에 따라 설정하는 에러 발생 정보는, 동작 301에서 전술한 다양한 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 테스트 서버에서 구현하여 시뮬레이션 시키기 위한 정보를 포함할 수 있다.For example, the error occurrence information that the
구체적으로, 서버 디바이스(100)가 구현하고자 하는 에러 상황에 대응하는 상기 특정 에러 유형이 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출이 누락되는 제1 에러 유형에 대응하는 경우, 서버 디바이스(100)는 데이터 호출이 누락되는 에러 상황을 구현하고 데이터 호출이 누락됨을 알리는 메시지가 표시되도록 설정하여, 에러를 시뮬레이션 할 수 있다. 이 경우 서버 디바이스(100)는 원하는 대로 에러 상황을 구현하고 에러를 시뮬레이션 하기 위해, 동작 303에 따라 에러 발생 정보를 설정할 때 데이터 호출의 누락을 알리는 메시지를 별도 설정할 수 있다.Specifically, if the specific error type corresponding to the error situation that the
서버 디바이스(100)가 구현하고자 하는 에러 상황에 대응하는 상기 특정 에러 유형이 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출을 위한 소요 시간이 임계 시간을 초과하는 제2 에러 유형에 대응하는 경우, 서버 디바이스(100)는 데이터 호출이 임계 시간을 초과하여 지연되거나 데이터 호출에 대응하는 응답 데이터가 상기 임계 시간 이내에 수신되지 않는 에러 상황을 구현하여, 에러를 시뮬레이션 할 수 있다. 이 경우 서버 디바이스(100)는 원하는 대로 에러 상황을 구현하고 에러를 시뮬레이션 하기 위해, 동작 303에 따라 에러 발생 정보를 설정할 때 데이터 호출 지연의 기준이 될 임계 시간을 별도 설정할 수 있다.If the specific error type corresponding to the error situation that the
또한, 서버 디바이스(100)가 구현하고자 하는 에러 상황에 대응하는 상기 특정 에러 유형이 백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출에 대응하여 잘못된 응답 데이터가 호출되는 제3 에러 유형에 대응하는 경우, 서버 디바이스(100)는 데이터 호출에 대응하는 적절한 데이터가 아닌, 그와 무관한 잘못된 데이터가 호출되는 에러 상황을 구현하여, 에러를 시뮬레이션 할 수 있다. 이 경우 서버 디바이스(100)는 원하는 대로 에러 상황을 구현하고 에러를 시뮬레이션 하기 위해, 동작 303에 따라 에러 발생 정보를 설정할 때 잘못된 응답 데이터로써 포함될 정보를 별도 설정할 수 있다.In addition, if the specific error type corresponding to the error situation that the
예를 들어, 서버 디바이스(100)가 동작 303에 따라 설정하는 에러 발생 정보는, 에러 상황을 구현하기 위해 지정하는 제1 백엔드 서버에 대한 정보와, 프론트엔드 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보, 및 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 정보를 포함할 수 있다. 즉, 에러 상황이 구현될 데이터 호출 경로 혹은 데이터 서빙 경로에 해당하는 프론트엔드 서버 및/또는 백엔드 서버에 대한 정보가 에러 발생 정보에 포함될 수 있다.For example, the error occurrence information that the
예를 들어, 서버 디바이스(100)가 동작 303에 따라 설정하는 에러 발생 정보는, 에러 상황을 구현하도록 관리되는 기간에 대한 정보를 포함할 수 있다. 즉, 테스트 서버에서 서버 디바이스(100)가 구현하고자 하는 에러 상황을 관리 및 감독하고 이와 같은 에러 상황이 에러 시뮬레이션 의도와 무관하게 지속되는 문제를 방지하기 위해, 에러 상황을 구현하도록 관리되는 기간에 대한 정보가 에러 발생 정보에 포함될 수 있다.For example, error occurrence information that the
예를 들어, 서버 디바이스(100)가 동작 303에 따라 설정하는 에러 발생 정보는, 에러 상황의 구현을 관리하는 관리자에 대한 정보를 포함할 수 있다. 즉, 테스트 서버에서 서버 디바이스(100)가 구현하고자 하는 에러 상황을 어느 관리자가 시뮬레이션 하고자 하는 것인지에 대한 정보를 나타내 에러 상황을 관리 및 감독할 수 있도록, 에러 상황의 구현을 관리하는 관리자에 대한 정보가 에러 발생 정보에 포함될 수 있다.For example, the error occurrence information that the
예를 들어, 서버 디바이스(100)가 동작 303에 따라 설정하는 에러 발생 정보는, 에러 상황의 구현이 가능하도록 설정되는 사용자 단말을 제한하기 위한 조건 정보를 포함할 수 있다. 테스트 서버에 접속하는 모든 사용자 단말에 대하여 아무런 제한 없이 에러 상황의 구현이 가능하도록 설정된다면, 테스트 서버 내 에러 상황의 구현과 무관한 사용자 혹은 테스트 서버에서 일정한 에러 상황이 구현되도록 시뮬레이션 중이라는 사실을 모르는 사용자가 테스트 서버에 접속하여 다른 업무를 수행할 때 문제가 발생할 수 있다. 따라서, 서버 디바이스(100)가 동작 303에 따라 설정하는 에러 발생 정보에 에러 상황의 구현이 일정한 사용자 단말에서만 가능하도록 제한하는 조건 정보가 포함될 수 있으며, 조건 정보를 충족하는 사용자 단말에 한하여 테스트 서버에서 에러 상황의 구현이 가능하도록 설정될 수 있다. 이와 같은 조건 정보는 관리자의 입력에 따라 결정되는 조건을 포함할 수 있으며, 일 예로, 관리자는 일정한 식별 정보를 가진 사용자 단말만이 에러 상황의 구현이 가능하도록 제한하는 조건을 입력할 수 있다.For example, the error occurrence information that the
도 5는 제1 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보의 일 예시를 도시한 도면이다.FIG. 5 is a diagram illustrating an example of error occurrence information for implementing an error situation corresponding to the first error type.
도 5에 도시된 에러 발생 정보는, 1) 백엔드 서비스 상에서 제1 에러 유형에 대응하는 에러 상황을 구현하기 위한 제1 백엔드 서버에 대한 정보(501), 2) 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보(503), 및 3) 에러 상황을 구현하도록 관리되는 기간에 대한 정보와 에러 상황의 구현을 관리하는 관리자에 대한 정보(505)를 포함할 수 있다.The error occurrence information shown in FIG. 5 includes 1) information about the first backend server to implement an error situation corresponding to the first error type on the backend service (501), 2) the first backend server to implement the error situation. Information about the first front-end server that is set as the counterpart front-end server of the server (503), and 3) information about the period managed to implement the error situation and information about the manager who manages the implementation of the error situation (505) may include.
또한 상기 에러 발생 정보는, 4) 제1 에러 유형의 정보(507), 5) 제1 에러 유형에 대응하는 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 명칭, 호스트, 경로 등의 정보(509), 및 6) 제1 에러 유형에 대응하여 데이터 호출의 누락을 알리도록 설정되는 메시지 등에 대한 정보(511) 또한 포함할 수 있다.In addition, the error occurrence information is 4) first
마지막으로, 상기 에러 발생 정보에는 에러 상황의 구현이 가능하도록 설정되는 사용자 단말을 제한하기 위한 조건 정보(513)가 포함될 수 있으며, 이를 통해 제한된 단말에서만 도 5의 에러 발생 정보가 적용되어 에러 상황이 구현될 수 있다.Lastly, the error occurrence information may include
도 6은 제2 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보의 일 예시를 도시한 도면이다.FIG. 6 is a diagram illustrating an example of error occurrence information for implementing an error situation corresponding to the second error type.
도 6에 도시된 에러 발생 정보는, 1) 백엔드 서비스 상에서 제2 에러 유형에 대응하는 에러 상황을 구현하기 위한 제1 백엔드 서버에 대한 정보(601), 2) 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보(603), 및 3) 에러 상황을 구현하도록 관리되는 기간에 대한 정보와 에러 상황의 구현을 관리하는 관리자에 대한 정보(605)를 포함할 수 있다.The error occurrence information shown in FIG. 6 includes 1)
또한 상기 에러 발생 정보는, 4) 제2 에러 유형의 정보(607), 5) 제2 에러 유형에 대응하는 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 경로 등의 정보(609), 및 6) 제2 에러 유형에 대응하여 설정되는 임계 시간 등에 대한 정보(611) 또한 포함할 수 있다.In addition, the error occurrence information is 4) second
마지막으로, 상기 에러 발생 정보에는 에러 상황의 구현이 가능하도록 설정되는 사용자 단말을 제한하기 위한 조건 정보(613)가 포함될 수 있으며, 이를 통해 제한된 단말에서만 도 6의 에러 발생 정보가 적용되어 에러 상황이 구현될 수 있다.Lastly, the error occurrence information may include
도 7은 제3 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보의 일 예시를 도시한 도면이다.FIG. 7 is a diagram illustrating an example of error occurrence information for implementing an error situation corresponding to a third error type.
도 7에 도시된 에러 발생 정보는, 1) 백엔드 서비스 상에서 제3 에러 유형에 대응하는 에러 상황을 구현하기 위한 제1 백엔드 서버에 대한 정보(701), 2) 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보(703), 및 3) 에러 상황을 구현하도록 관리되는 기간에 대한 정보와 에러 상황의 구현을 관리하는 관리자에 대한 정보(705)를 포함할 수 있다.The error occurrence information shown in FIG. 7 includes 1) information about the first backend server to implement an error situation corresponding to the third error type on the backend service (701), 2) the first backend server to implement the error situation. Information about the first front-end server that is set as the counterpart front-end server of the server (703), and 3) information about the period managed to implement the error situation and information about the manager who manages the implementation of the error situation (705) may include.
또한 상기 에러 발생 정보는, 4) 제3 에러 유형의 정보(707), 5) 제3 에러 유형에 대응하는 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 명칭, 호스트, 경로 등의 정보(709), 및 6) 제3 에러 유형에 대응하여 잘못된 응답 데이터로써 포함될 데이터의 내용 등에 대한 정보(711) 또한 포함할 수 있다.In addition, the error occurrence information is 4) third
마지막으로, 상기 에러 발생 정보에는 에러 상황의 구현이 가능하도록 설정되는 사용자 단말을 제한하기 위한 조건 정보(713)가 포함될 수 있으며, 이를 통해 제한된 단말에서만 도 7의 에러 발생 정보가 적용되어 에러 상황이 구현될 수 있다.Lastly, the error occurrence information may include
다양한 실시예들에 따르면, 동작 305에서, 서버 디바이스(100)는 에러 발생 정보를 기반으로 구현되는 에러 상황에 대한 에러 구현 결과 정보를 제공할 수 있다.According to various embodiments, in
예를 들어, 동작 305에 따라 서버 디바이스(100)가 제공하는 에러 구현 결과 정보는, 에러 상황을 구현하고 에러를 시뮬레이션 한 경우 프론트엔드 서비스 및 백엔드 서비스 상에서 나타내는 결과에 대한 정보를 포함할 수 있다. 즉, 에러 시뮬레이션의 결과로 어떠한 상황이 나타났는지, 어떠한 메시지가 표시됐는지, 프론트엔드 서비스 및 백엔드 서비스 상에서 어떠한 반응이 나타났는지 등에 대한 정보가 동작 305의 에러 구현 결과 정보에 포함될 수 있다.For example, the error implementation result information provided by the
예를 들어, 동작 305에 따라 서버 디바이스(100)가 제공하는 에러 구현 결과 정보는 서비스를 관리하는 관리자를 위한 정보에 해당할 수 있으며, 이와 같은 에러 구현 결과 정보에 기반하여 서버 디바이스(100)가 제공하는 서비스의 사용자에게 제공될 메시지가 설정될 수 있다. 이 때, 서버 디바이스(100)가 제공하는 서비스의 사용자에게 에러와 관련된 메시지가 제공되려면 사용자가 사용했던 고객 도메인을 확인할 수 있어야 하므로, 서버 디바이스(100)는 프론트엔드 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 에러 상황을 구현하기 위해 제1 백엔드 서버의 상대 프론트엔드 서버로 설정된 제1 프론트엔드 서버에 대한 정보를 확인하고, 에러 구현 결과 정보에 기반하여 상기 제1 프론트엔드 서버를 통해 사용자에게 에러 상황과 관련하여 제공될 에러 안내 메시지를 설정할 수 있다.For example, the error implementation result information provided by the
예를 들어, 동작 305에 따라 서버 디바이스(100)가 제공하는 에러 구현 결과 정보는, 에러 상황이 구현되어 에러가 발생한 것으로 시뮬레이션 됐을 시에 그 결과로써 관리자에게 표시되거나 제공되는 메시지를 포함할 수 있다. 이 때 서버 디바이스(100)는 에러 구현 결과 정보를 통해 표시될 메시지를 설정할 수 있으며, 이와 같이 설정한 메시지가 에러 발생 정보를 기반으로 구현되는 에러 상황의 시뮬레이션에 대한 결과로 표시될 경우, 에러 상황의 구현이 성공적으로 수행된 것으로 관리할 수 있다.For example, the error implementation result information provided by the
예를 들어, 전술한 것과 같이 서버 디바이스(100)의 에러 상황의 구현은 서버 디바이스(100)가 제공하는 서비스에 대응하는 테스트 서버에서 수행될 수 있다. 서버 디바이스(100)는 서버 디바이스(100)가 제공하는 특정 서비스에 대응하여 특정의 테스트 서버를 구축할 수 있으며, 특정의 테스트 서버에 동작 303에 따라 설정한 에러 발생 정보를 적용하여, 에러 상황의 구현 및 에러 구현 결과 정보의 제공을 위한 동작 305를 수행하는 것일 수 있다.For example, as described above, the implementation of an error situation of the
만약 서버 디바이스(100)가 복수의 서비스를 제공하는 경우 서버 디바이스(100)는 복수의 서비스에 포함된 각 서비스를 위한 각 테스트 서버를 구축할 수 있으며, 에러 상황을 구현해 에러를 시뮬레이션 하고자 하는 특정의 서비스를 확인하여, 상기 특정의 서비스에 대응하는 특정의 테스트 서버에 동작 303에 따라 설정한 에러 발생 정보를 적용하고 에러 상황의 구현 및 에러 구현 결과 정보의 제공을 위한 동작 305를 수행할 수 있다.If the
서버 디바이스(100)가 제공하는 복수의 서비스에 에러 발생 정보를 적용하기 위해, 상기 복수의 서비스에 대응하는 복수의 테스트 서버 각각에 대해 호환될 수 있는 어댑터(adapter)가 별도 설정될 수 있다. 즉, 동작 303에 따라 서버 디바이스(100)가 설정한 에러 발생 정보가 추가적인 호환 절차를 거치지 않고 서버 디바이스(100)가 제공하는 복수의 서비스에 포함된 각 서비스에 대응하는 각 테스트 서버에 바로 적용될 수 있도록, 서버 디바이스(100)는 에러 발생 정보의 적용을 위해 사용될 어댑터를 설정할 수 있다. 이와 같이 설정된 어댑터는, 서버 디바이스(100)가 제공하는 복수의 서비스에 포함된 각 서비스에 대응하는 각 테스트 서버에 등록하여 사용할 수 있다. 일 예로, 서버 디바이스(100)가 제공하는 복수의 서비스에 포함된 특정의 서비스에 대응하는 특정의 테스트 서버에 대해, 서버 디바이스(100)는 에러 발생 정보의 적용을 위해 설정한 어댑터를 등록할 수 있으며, 어댑터를 통해 등록된 특정의 테스트 서버에 에러 발생 정보를 적용하면 상기 특정의 테스트 서버에서 에러 상황을 구현할 수 있다.In order to apply error occurrence information to the plurality of services provided by the
예를 들어, 테스트 서버에 등록된 어댑터는 활성화 또는 비활성화 되도록 관리될 수 있으며, 어댑터가 활성화 된 경우에 테스트 서버에서 에러 상황의 구현이 가능하도록 설정될 수 있다. 즉, 테스트 서버에 어댑터를 등록하더라도 에러 상황의 구현을 원할 때에만 어댑터가 활성화 되어 동작하도록 서버 디바이스(100)가 관리할 수 있다. For example, an adapter registered on a test server can be managed to be activated or deactivated, and when the adapter is activated, it can be set to enable the implementation of an error situation on the test server. That is, even if the adapter is registered on the test server, the
예를 들어, 테스트 서버에 등록된 어댑터의 활성화를 위한 시도가 일정 횟수 이상 실패한 경우 어댑터는 자동으로 비활성화 되도록 설정될 수 있다. 즉 에러 상황의 구현을 시도하고자 하더라도, 일정 횟수 이상의 활성화 시도에도 불구하고 어댑터가 활성화 되지 않는다면 불필요한 활성화 시도 과부하를 방지할 필요가 있으므로, 어댑터의 활성화를 위한 시도가 일정 횟수 이상 실패한 경우 등록된 어댑터가 비활성화 되도록 설정될 수 있다.For example, if attempts to activate an adapter registered on a test server fail more than a certain number of times, the adapter may be set to be automatically deactivated. In other words, even if an attempt is made to implement an error situation, if the adapter is not activated despite a certain number of activation attempts, it is necessary to prevent unnecessary activation attempt overload. Therefore, if a certain number of attempts to activate the adapter fail, the registered adapter is not activated. It can be set to be disabled.
도 8은 다양한 실시예들에 따른 서버 디바이스(100)가 에러 발생 정보의 적용을 위한 어댑터를 실행하는 방법을 도시한 도면이다.FIG. 8 is a diagram illustrating a method by which the
도 8에서, 서버 디바이스(100)는 테스트 서버에 에러 발생 정보를 적용하기 위해 사용될 어댑터를 설정하고(801), 설정된 어댑터를 에러 상황을 구현할 서비스에 대응하는 테스트 서버에 등록하며(803), 등록된 어댑터를 실행하여(805), 서비스에 대응하는 테스트 서버에서 에러 상황을 구현할 수 있다. 이 때 도 8에 따른 어댑터의 등록과 실행, 및 그에 따른 에러 상황의 구현을 나타내는 흐름도는 도 9 내지 도 10과 같을 수 있다.In FIG. 8, the
도 9는 에러 발생 정보를 적용하기 위한 어댑터가 등록되고 활성화 되는 흐름도를 도시한 도면이다.Figure 9 is a diagram illustrating a flow chart in which an adapter for applying error occurrence information is registered and activated.
에러 발생 정보의 적용을 위한 어댑터(drill_adapter)가 설정되는 경우, 서버 디바이스(100)가 제공하는 서비스(service_role)가 실행되고 해당 서비스(service_role)에 대응하는 테스트 서버(service_assists)에 어댑터가 등록될 수 있다(901). 테스트 서버(service_assists)에 등록된 어댑터(drill_adapter)는 주기적인 상태 확인(healthy check) 절차를 거치며 관리자가 에러 발생 정보를 적용하고자 하는 과정에서 활성화 될 수 있는데, 만약 어댑터(drill_adapter)의 활성화를 위한 시도가 사전에 설정된 최대 임계 시도 횟수까지 실패한 경우 어댑터는 자동으로 비활성화 될 수 있다(903).When an adapter (drill_adapter) for application of error occurrence information is set, the service (service_role) provided by the
도 10은 어댑터를 기반으로 에러 발생 정보가 적용되어 에러 상황이 구현되는 흐름도를 도시한 도면이다.FIG. 10 is a flowchart showing how an error situation is implemented by applying error occurrence information based on an adapter.
도 10에서 서버 디바이스(100)가 제공하는 서비스(service_role)와 해당 서비스(service_role)에 대응하는 테스트 서버(service_assists)에 접근 가능한 관리자(user)는, 특정 에러 유형에 대응하는 에러 상황을 발생시킬 일정한 에러 구현 계획 및 전략에 기반하여 어댑터를 통해 테스트 서버에 원하는 에러 발생 정보를 적용할 수 있다(1001). In FIG. 10, an administrator (user) who can access the service (service_role) provided by the
관리자(user)는 서버 디바이스(100)가 제공하는 서비스(service_role)를 일반적으로 이용하여 특정 트래픽에 대응하는 결과를 얻거나, 테스트 서버(service_assists)에 대한 인위적 주입 트래픽에 기반한 에러 상황의 구현과 연계하여 서비스(service_role)를 이용해 인위적 주입 트래픽에 대응하는 결과를 얻을 수도 있다(1003). 또한 관리자(manager)는 테스트 서버(service_assists)에 대한 에러 상황의 구현을 중단할 수 있으며, 이 경우 에러 상황의 구현에 따라 생성되었던 데이터는 삭제하되(1005), 에러 상황의 구현 및 중단에 따른 로그 기록을 남기도록 설정될 수 있다(1007).The administrator (user) generally uses the service (service_role) provided by the
도 11은 테스트 서버에 대하여 다양한 에러 발생 정보가 적용되는 모습을 도시한 도면이다.Figure 11 is a diagram showing how various error occurrence information is applied to the test server.
도 11에서는, 테스트 서버에 대하여, 여러 관리자에 의해 다양한 에러 발생 정보를 적용시키고자 하는 다양한 에러 구현 계획 및 전략(Drill Plan & Strategy)이 확인될 수 있으며(1101), 각 에러 구현 계획 및 전략에 대응하는 각 에러 발생 정보가 각 관리자의 관리 하에 어댑터를 통해 테스트 서버에 적용될 수 있다(1103). 일 예로, 하나의 서비스에 대응하는 테스트 서버에 대해, 제1 관리자는 제1 어댑터를 테스트 서버에 등록하여 제1 에러 유형에 대응하는 에러 상황이 제1 사용자 단말에서 구현되도록 할 수 있으며, 제2 관리자는 제2 어댑터를 테스트 서버에 등록하여 제2 에러 유형에 대응하는 에러 상황이 제2 사용자 단말에서 구현되도록 할 수 있으며, 각 관리자의 동작은 개별적으로 수행될 수 있다.In Figure 11, various error implementation plans and strategies (Drill Plan & Strategy) for applying various error occurrence information by various managers to the test server can be confirmed (1101), and each error implementation plan and strategy can be confirmed. Each corresponding error occurrence information can be applied to the test server through an adapter under the management of each manager (1103). As an example, for a test server corresponding to one service, the first manager may register a first adapter with the test server so that an error situation corresponding to the first error type is implemented in the first user terminal, and the second The administrator may register the second adapter with the test server so that an error situation corresponding to the second error type is implemented in the second user terminal, and each administrator's actions may be performed individually.
이 때 테스트 서버에서 에러를 시뮬레이션 하기 위해, 테스트 서버에는 일반적인 트래픽(Normal Traffic)과는 구분될 수 있는 에러 상황의 구현을 위한 인위적 주입 트래픽(Injected Traffic)이 이용될 수 있다(1105).At this time, in order to simulate an error in the test server, artificially injected traffic can be used in the test server to implement an error situation that can be distinguished from normal traffic (1105).
도 3 내지 도 11에 따라 서버 디바이스(100)가 정보 제공을 위한 동작 방법을 수행하는 과정에서 활용되는 각 정보들이 다양한 형태로 결합될 수 있음은 자명하다.It is obvious that each piece of information used in the process of the
본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 즉 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명의 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다. 또한 상기 각각의 실시 예는 필요에 따라 서로 조합되어 운용할 수 있다. 예컨대, 본 발명의 모든 실시 예는 일부분들이 서로 조합되어 시스템에 의해 구현될 수 있다.The embodiments of the present invention disclosed in the specification and drawings are merely provided as specific examples to easily explain the technical content of the present invention and to facilitate understanding of the present invention, and are not intended to limit the scope of the present invention. In other words, it is obvious to those skilled in the art that other modifications based on the technical idea of the present invention can be implemented. Additionally, each of the above embodiments can be operated in combination with each other as needed. For example, all embodiments of the present invention can be implemented by a system by combining parts with each other.
또한, 본 발명에 따른 시스템 등에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다.Additionally, the method according to the system according to the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer-readable medium.
이와 같이, 본 발명의 다양한 실시예들은 특정 관점에서 컴퓨터 리드 가능 기록 매체(computer readable recording medium)에서 컴퓨터 리드 가능 코드(computer readable code)로서 구현될 수 있다. 컴퓨터 리드 가능 기록 매체는 컴퓨터 시스템에 의해 리드될 수 있는 데이터를 저장할 수 있는 임의의 데이터 저장 디바이스이다. 컴퓨터 리드 가능 기록 매체의 예들은 읽기 전용 메모리(read only memory: ROM)와, 랜덤-접속 메모리(random access memory: RAM)와, 컴팩트 디스크- 리드 온니 메모리(compact disk-read only memory: CD-ROM)들과, 마그네틱 테이프(magnetic tape)들과, 플로피 디스크(floppy disk)들과, 광 데이터 저장 디바이스들, 및 캐리어 웨이브(carrier wave)들(인터넷을 통한 데이터 송신 등)을 포함할 수 있다. 컴퓨터 리드 가능 기록 매체는 또한 네트워크 연결된 컴퓨터 시스템들을 통해 분산될 수 있고, 따라서 컴퓨터 리드 가능 코드는 분산 방식으로 저장 및 실행된다. 또한, 본 발명의 다양한 실시예들을 성취하기 위한 기능적 프로그램들, 코드, 및 코드 세그먼트(segment)들은 본 발명이 적용되는 분야에서 숙련된 프로그래머들에 의해 쉽게 해석될 수 있다.As such, various embodiments of the present invention may be implemented as computer readable code on a computer readable recording medium in certain respects. A computer-readable recording medium is any data storage device capable of storing data that can be read by a computer system. Examples of computer readable recording media include read only memory (ROM), random access memory (RAM), and compact disk-read only memory (CD-ROM). ), magnetic tapes, floppy disks, optical data storage devices, and carrier waves (data transmission over the Internet, etc.). Computer-readable recording media may also be distributed across networked computer systems, such that computer-readable code is stored and executed in a distributed manner. Additionally, functional programs, codes, and code segments for achieving various embodiments of the present invention can be easily interpreted by programmers skilled in the field to which the present invention is applied.
또한 본 발명의 다양한 실시예들에 따른 장치 및 방법은 하드웨어, 소프트웨어 또는 하드웨어 및 소프트웨어의 조합의 형태로 실현 가능하다는 것을 알 수 있을 것이다. 이러한 소프트웨어는 예를 들어, 삭제 가능 또는 재 기록 가능 여부와 상관없이, ROM 등의 저장 장치와 같은 휘발성 또는 비 휘발성 저장 장치, 또는 예를 들어, RAM, 메모리 칩, 장치 또는 집적 회로와 같은 메모리, 또는 예를 들어 콤팩트 디스크(compact disk: CD), DVD, 자기 디스크 또는 자기 테이프 등과 같은 광학 또는 자기적으로 기록 가능함과 동시에 기계(예를 들어, 컴퓨터)로 읽을 수 있는 저장 매체에 저장될 수 있다. 본 발명의 다양한 실시예들에 따른 방법은 제어부 및 메모리를 포함하는 컴퓨터 또는 이와 같은 메모리 또는 컴퓨터를 포함한 차량 등에 의해 구현될 수 있고, 이러한 메모리는 본 발명의 실시예들을 구현하는 명령들을 포함하는 프로그램 또는 프로그램들을 저장하기에 적합한 기계로 읽을 수 있는 저장 매체의 한 예임을 알 수 있을 것이다. Additionally, it will be appreciated that the devices and methods according to various embodiments of the present invention can be implemented in the form of hardware, software, or a combination of hardware and software. Such software may, for example, use any storage device, volatile or non-volatile, such as ROM, whether erasable or rewritable, or memory such as, for example, RAM, memory chips, devices or integrated circuits; Alternatively, it may be stored on a storage medium that is optically or magnetically recordable and readable by a machine (e.g., a computer), for example, a compact disk (CD), DVD, magnetic disk, or magnetic tape. . Methods according to various embodiments of the present invention may be implemented by a computer including a control unit and a memory, or a vehicle including such memory or a computer, and such memory is a program containing instructions that implement the embodiments of the present invention. Alternatively, you can see that it is an example of a machine-readable storage medium suitable for storing programs.
따라서, 본 발명은 본 명세서의 청구항에 기재된 장치 또는 방법을 구현하기 위한 코드를 포함하는 프로그램 및 이러한 프로그램을 저장하는 기계(컴퓨터 등)로 읽을 수 있는 저장 매체를 포함한다. 또한, 이러한 프로그램은 유선 또는 무선 연결을 통해 전달되는 통신 신호와 같은 임의의 매체를 통해 전자적으로 이송될 수 있고, 본 발명은 이와 균등한 것을 적절하게 포함한다.Accordingly, the present invention includes a program containing code for implementing the device or method described in the claims of this specification and a machine-readable storage medium (such as a computer) storing such a program. Additionally, such programs may be transmitted electronically through any medium, such as communication signals transmitted over a wired or wireless connection, and the present invention includes equivalents thereof as appropriate.
상기에서는 본 발명의 실시예들을 참조하여 설명하였지만, 본 명세서와 도면에 개시된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며 본 발명의 범위를 한정하고자 하는 것은 아니다. 또한 앞서 설명된 본 발명에 따른 실시예들은 예시적인 것에 불과하며, 당해 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 범위의 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 다음의 특허청구범위에 의해서 정해져야 할 것이다.Although the present invention has been described above with reference to embodiments of the present invention, the embodiments of the present invention disclosed in the specification and drawings are merely presented as specific examples to easily explain the technical content of the present invention and to aid understanding of the present invention. It is not intended to limit the scope. In addition, the embodiments according to the present invention described above are merely illustrative, and those skilled in the art will understand that various modifications and equivalent scope of embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be determined by the following patent claims.
Claims (17)
상기 전자 장치가 제공하는 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하는 단계;
상기 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 상기 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하는 단계; 및
상기 에러 발생 정보를 기반으로 구현되는 상기 에러 상황에 대한 에러 구현 결과 정보를 제공하는 단계를 포함하고,
상기 에러 발생 정보는,
상기 제1 백엔드 서버에 대한 정보,
상기 서비스의 프론트엔드(Frontend) 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보, 및
상기 하나 이상의 백엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 정보를 포함하는,
정보 제공 방법.In a method for an electronic device to provide information,
Confirming error type information including a plurality of error types corresponding to a backend service of the service provided by the electronic device;
Setting error occurrence information to implement an error situation corresponding to a specific error type among the plurality of error types on a first backend server included in one or more backend servers corresponding to the backend service; and
Comprising the step of providing error implementation result information for the error situation implemented based on the error occurrence information,
The error occurrence information is,
Information about the first backend server,
Information about a first front-end server that is set as a counterpart front-end server of the first back-end server to implement the error situation among one or more front-end servers corresponding to the front-end service of the service, and
Containing information about a second back-end server among the one or more back-end servers that is set as a counterpart back-end server of the first back-end server to implement the error situation,
How to provide information.
상기 에러 유형 정보를 확인하는 단계는,
상기 서비스 상에서 상기 백엔드 서비스와 관련하여 발생한 복수의 에러 상황에 대한 정보를 수집하는 단계; 및
상기 복수의 에러 상황을 상기 복수의 에러 유형으로 분류하는 단계를 포함하는,
정보 제공 방법.According to claim 1,
The step of checking the error type information is,
collecting information about a plurality of error situations occurring in relation to the backend service on the service; and
Comprising classifying the plurality of error situations into the plurality of error types,
How to provide information.
상기 복수의 에러 유형은,
백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출이 누락되는 제1 에러 유형,
백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출을 위한 소요 시간이 임계 시간을 초과하는 제2 에러 유형, 및
백엔드 서버의 상대 백엔드 서버에 대한 데이터 호출에 대응하여 잘못된 응답 데이터가 호출되는 제3 에러 유형을 포함하는,
정보 제공 방법.According to claim 1,
The plurality of error types are:
The first type of error is missing data calls from a backend server to a counterpart backend server,
A second error type in which the time taken for a data call of a backend server to a counterpart backend server exceeds a threshold time, and
Including a third error type in which incorrect response data is called in response to a data call from a backend server to a counterpart backend server,
How to provide information.
상기 에러 발생 정보를 설정하는 단계는,
상기 특정 에러 유형이 상기 제1 에러 유형에 대응하는 경우, 데이터 호출의 누락을 알리는 메시지를 설정하는 단계를 포함하는,
정보 제공 방법.According to claim 3,
The step of setting the error occurrence information is,
When the specific error type corresponds to the first error type, setting a message notifying missing data call,
How to provide information.
상기 에러 발생 정보를 설정하는 단계는,
상기 특정 에러 유형이 상기 제2 에러 유형에 대응하는 경우, 상기 임계 시간을 설정하는 단계를 포함하는,
정보 제공 방법.According to claim 3,
The step of setting the error occurrence information is,
If the specific error type corresponds to the second error type, setting the threshold time,
How to provide information.
상기 에러 발생 정보를 설정하는 단계는,
상기 특정 에러 유형이 상기 제3 에러 유형에 대응하는 경우, 상기 잘못된 응답 데이터로써 포함될 정보를 설정하는 단계를 포함하는,
정보 제공 방법.According to claim 3,
The step of setting the error occurrence information is,
When the specific error type corresponds to the third error type, setting information to be included as the incorrect response data,
How to provide information.
상기 에러 발생 정보는, 상기 에러 상황을 구현하도록 관리되는 기간에 대한 정보를 포함하는,
정보 제공 방법.According to claim 1,
The error occurrence information includes information about a period managed to implement the error situation,
How to provide information.
상기 에러 발생 정보는, 상기 에러 상황의 구현을 관리하는 관리자에 대한 정보를 포함하는,
정보 제공 방법.According to claim 1,
The error occurrence information includes information about the manager who manages the implementation of the error situation,
How to provide information.
상기 에러 발생 정보는, 상기 에러 상황의 구현이 가능하도록 설정되는 사용자 단말을 제한하기 위한 조건 정보를 포함하고,
상기 조건 정보를 충족하는 사용자 단말에 한하여 상기 에러 상황의 구현이 가능하도록 설정되는,
정보 제공 방법.According to claim 1,
The error occurrence information includes condition information for limiting user terminals that are set to enable implementation of the error situation,
Set to enable implementation of the error situation only in user terminals that meet the condition information,
How to provide information.
상기 정보 제공 방법은,
상기 에러 구현 결과 정보를 통해 표시될 메시지를 설정하는 단계를 더 포함하고,
상기 에러 상황의 구현에 대한 결과로 상기 메시지가 표시될 경우, 상기 에러 상황의 구현이 성공적으로 수행된 것으로 관리되는,
정보 제공 방법.According to claim 1,
The method of providing the above information is:
Further comprising setting a message to be displayed through the error implementation result information,
If the message is displayed as a result of the implementation of the error situation, the implementation of the error situation is managed as successfully performed,
How to provide information.
상기 정보 제공 방법은,
상기 서비스에 대응하는 테스트 서버를 구축하는 단계를 더 포함하고,
상기 에러 상황의 구현 및 상기 에러 구현 결과 정보의 제공은 상기 테스트 서버에서 상기 에러 발생 정보를 적용하여 수행되는,
정보 제공 방법.According to claim 1,
The method of providing the above information is:
Further comprising the step of building a test server corresponding to the service,
Implementation of the error situation and provision of the error implementation result information are performed by applying the error occurrence information in the test server,
How to provide information.
상기 정보 제공 방법은,
상기 테스트 서버에 상기 에러 발생 정보를 적용하기 위해 사용될 어댑터(adapter)를 설정하는 단계; 및
상기 어댑터를 상기 테스트 서버에 등록하는 단계를 더 포함하는,
정보 제공 방법.According to claim 12,
The method of providing the above information is:
Setting up an adapter to be used to apply the error occurrence information to the test server; and
Further comprising registering the adapter with the test server,
How to provide information.
상기 등록된 어댑터가 활성화 된 점에 기반하여 상기 테스트 서버에서 상기 에러 상황의 구현이 가능하도록 설정되는,
정보 제공 방법.According to claim 13,
Set to enable implementation of the error situation in the test server based on the fact that the registered adapter is activated,
How to provide information.
상기 어댑터의 활성화를 위한 시도가 일정 횟수 이상 실패한 경우, 상기 어댑터는 비활성화 되는,
정보 제공 방법.According to claim 14,
If attempts to activate the adapter fail a certain number of times, the adapter is deactivated.
How to provide information.
상기 전자 장치가 제공하는 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하는 단계;
상기 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 상기 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하는 단계; 및
상기 에러 발생 정보를 기반으로 구현되는 상기 에러 상황에 대한 에러 구현 결과 정보를 제공하는 단계를 포함하고,
상기 정보 제공 방법은,
상기 서비스의 프론트엔드 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 프론트엔드 서버로 설정된 제1 프론트엔드 서버에 대한 정보를 확인하는 단계; 및
상기 에러 구현 결과 정보에 기반하여, 상기 제1 프론트엔드 서버를 통해 상기 서비스의 사용자에게 상기 에러 상황과 관련하여 제공될 에러 안내 메시지를 설정하는 단계를 더 포함하는,
정보 제공 방법.In a method for an electronic device to provide information,
Confirming error type information including a plurality of error types corresponding to a backend service of the service provided by the electronic device;
Setting error occurrence information to implement an error situation corresponding to a specific error type among the plurality of error types on a first backend server included in one or more backend servers corresponding to the backend service; and
Comprising the step of providing error implementation result information for the error situation implemented based on the error occurrence information,
The method of providing the above information is:
Confirming information about a first front-end server among one or more front-end servers corresponding to the front-end service of the service that is set as a counterpart front-end server of the first back-end server to implement the error situation; and
Based on the error implementation result information, further comprising setting an error information message to be provided in relation to the error situation to the user of the service through the first front-end server,
How to provide information.
프로세서 (processor); 및
하나 이상의 인스트럭션 (instruction) 을 저장하는 하나 이상의 메모리 (memory) 를 포함하고,
상기 하나 이상의 인스트럭션은, 실행 시에, 상기 프로세서가:
상기 전자 장치가 제공하는 서비스의 백엔드(Backend) 서비스에 대응하는 복수의 에러 유형을 포함한 에러 유형 정보를 확인하는 단계;
상기 백엔드 서비스에 대응하는 하나 이상의 백엔드 서버(server)에 포함된 제1 백엔드 서버에 대하여, 상기 복수의 에러 유형 중 특정 에러 유형에 대응하는 에러 상황을 구현하기 위한 에러 발생 정보를 설정하는 단계; 및
상기 에러 발생 정보를 기반으로 구현되는 상기 에러 상황에 대한 에러 구현 결과 정보를 제공하는 단계를 수행하도록 상기 프로세서를 제어하고,
상기 에러 발생 정보는,
상기 제1 백엔드 서버에 대한 정보,
상기 서비스의 프론트엔드(Frontend) 서비스에 대응하는 하나 이상의 프론트엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 프론트엔드 서버로 설정되는 제1 프론트엔드 서버에 대한 정보, 및
상기 하나 이상의 백엔드 서버 중 상기 에러 상황을 구현하기 위해 상기 제1 백엔드 서버의 상대 백엔드 서버로 설정되는 제2 백엔드 서버에 대한 정보를 포함하는,
전자 장치.In an electronic device that provides information,
processor; and
Contains one or more memories that store one or more instructions,
The one or more instructions, when executed, cause the processor to:
Confirming error type information including a plurality of error types corresponding to a backend service of the service provided by the electronic device;
Setting error occurrence information to implement an error situation corresponding to a specific error type among the plurality of error types on a first backend server included in one or more backend servers corresponding to the backend service; and
Controlling the processor to perform the step of providing error implementation result information for the error situation implemented based on the error occurrence information,
The error occurrence information is,
Information about the first backend server,
Information about a first front-end server that is set as a counterpart front-end server of the first back-end server to implement the error situation among one or more front-end servers corresponding to the front-end service of the service, and
Containing information about a second back-end server among the one or more back-end servers that is set as a counterpart back-end server of the first back-end server to implement the error situation,
Electronic devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220159056A KR102618465B1 (en) | 2022-11-24 | 2022-11-24 | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220159056A KR102618465B1 (en) | 2022-11-24 | 2022-11-24 | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020230188457A Division KR20240077465A (en) | 2023-12-21 | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR102618465B1 true KR102618465B1 (en) | 2023-12-28 |
Family
ID=89384862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220159056A KR102618465B1 (en) | 2022-11-24 | 2022-11-24 | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102618465B1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100803889B1 (en) * | 2006-02-07 | 2008-02-14 | 주식회사 케이티프리텔 | Method and system for analyzing performance of providing services to client terminal |
JP2010205011A (en) * | 2009-03-04 | 2010-09-16 | Mitsubishi Electric Corp | Failure reproduction system, failure reproduction method and communication reproduction device |
US20110314335A1 (en) * | 2009-02-27 | 2011-12-22 | Fujitsu Limited | Failure reproducing apparatus and failure reproducing method |
KR101346835B1 (en) * | 2011-12-15 | 2014-01-06 | 이지케어텍(주) | Method and appratus for processing error of application |
JP6382610B2 (en) * | 2014-07-15 | 2018-08-29 | 株式会社日立製作所 | Simulator system, gateway system test apparatus, and gateway system test method |
-
2022
- 2022-11-24 KR KR1020220159056A patent/KR102618465B1/en active IP Right Grant
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100803889B1 (en) * | 2006-02-07 | 2008-02-14 | 주식회사 케이티프리텔 | Method and system for analyzing performance of providing services to client terminal |
US20110314335A1 (en) * | 2009-02-27 | 2011-12-22 | Fujitsu Limited | Failure reproducing apparatus and failure reproducing method |
JP2010205011A (en) * | 2009-03-04 | 2010-09-16 | Mitsubishi Electric Corp | Failure reproduction system, failure reproduction method and communication reproduction device |
KR101346835B1 (en) * | 2011-12-15 | 2014-01-06 | 이지케어텍(주) | Method and appratus for processing error of application |
JP6382610B2 (en) * | 2014-07-15 | 2018-08-29 | 株式会社日立製作所 | Simulator system, gateway system test apparatus, and gateway system test method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9807155B1 (en) | Device capability filtering | |
CN104137062A (en) | Dynamic injection of code into running process | |
KR102616183B1 (en) | Method for managing test information and electronic apparatus supporting thereof | |
KR102618465B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR20240077465A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102403609B1 (en) | Operating method for configuring data serving structure and electronic apparatus supporting thereof | |
KR102646283B1 (en) | Operating method for electronic apparatus for managing order information and electronic apparatus supporting thereof | |
KR102618518B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102609583B1 (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof | |
KR102630673B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102618417B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102630699B1 (en) | Operating method for electronic apparatus for transmitting data and electronic apparatus supporting thereof | |
KR20230154591A (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof | |
WO2024111750A1 (en) | Operation method of electronic device for providing information, and electronic device supporting same | |
KR102640115B1 (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR20240000767A (en) | Operating method for electronic apparatus for providing information and electronic apparatus supporting thereof | |
KR102407253B1 (en) | Operating method for providing payment process information and electronic apparatus supporting thereof | |
KR102369857B1 (en) | Operating method for electronic apparatus for providing advertisement message and electronic apparatus supporting thereof | |
KR102620686B1 (en) | Method for managing account information and electronic device supporting thereof | |
KR102630629B1 (en) | Operating method for providing item group information and electronic apparatus supporting thereof | |
KR20230140785A (en) | Operating method for electronic apparatus for configuring information and electronic apparatus supporting thereof | |
KR102626373B1 (en) | Method for detecting abnormal users and electronic apparatus supporting thereof | |
KR102400877B1 (en) | Operating method for providing page information and electronic apparatus supporting thereof | |
KR20230034872A (en) | Operating method for providing information related to service and electronic apparatus supporting thereof | |
KR20230028119A (en) | Operating method for providing information related to item and electronic apparatus supporting thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
A107 | Divisional application of patent | ||
GRNT | Written decision to grant |