KR102758760B1 - Method and apparatus for providing information - Google Patents
Method and apparatus for providing information Download PDFInfo
- Publication number
- KR102758760B1 KR102758760B1 KR1020220079615A KR20220079615A KR102758760B1 KR 102758760 B1 KR102758760 B1 KR 102758760B1 KR 1020220079615 A KR1020220079615 A KR 1020220079615A KR 20220079615 A KR20220079615 A KR 20220079615A KR 102758760 B1 KR102758760 B1 KR 102758760B1
- Authority
- KR
- South Korea
- Prior art keywords
- api
- api request
- outbound
- information
- inbound
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
-
- 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/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- 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
-
- 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/562—Brokering proxy services
-
- 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/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
전자 장치에서 정보를 제공하는 방법이 개시된다. 구체적으로, 전자 장치에서 정보를 제공하는 방법은 제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API(Application Programming Interface)에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트(Inbound API Request)를 확인하는 단계; 인바운드 API 리퀘스트에 제2 식별 정보를 할당하는 단계; 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하는 단계; 인바운드 API 리퀘스트를 기반으로 서비스 서버에 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트(Outbound API Request)를 전송하는 단계; 서비스 서버로부터 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스(API Response)를 수신하는 단계; 및 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 리스트 페이지를 제공하는 단계를 포함할 수 있다.A method for providing information in an electronic device is disclosed. Specifically, the method for providing information in an electronic device may include: a step of verifying an inbound API request including first identification information about a requester and request information for an API (Application Programming Interface) based on information acquired from a first terminal; a step of assigning second identification information to the inbound API request; a step of verifying a service server corresponding to the inbound API request; a step of transmitting an outbound API request including the second identification information to the service server based on the inbound API request; a step of receiving an API response corresponding to the outbound API request from the service server; and a step of providing a list page for the inbound API request, the outbound API request, and the API response.
Description
본 명세서의 실시 예는 정보를 제공하는 방법 및 장치에 관한 것이다. 보다 구체적으로 본 명세서의 실시 예는 단말이 실행한 API 리퀘스트와 이에 대응한 복수의 다른 서버에서 획득한 API 리스펀스를 관리하고 이에 대한 리스트 페이지를 통해 정보를 사용자에게 제공하는 방법 및 장치에 관한 것이다.Embodiments of the present specification relate to a method and device for providing information. More specifically, embodiments of the present specification relate to a method and device for managing API requests executed by a terminal and API responses obtained from multiple other servers in response thereto, and providing information to a user through a list page thereof.
백엔드와 프론트엔드 사이의 정보 교환은 API(Application Programming Interface)에 의해 수행된다. 구체적으로, 프론트엔드에서 백엔드로 API를 요청하면, 백엔드에서 API 리퀘스트에 대응되는 API 리스펀스를 프론트엔드로 전송할 수 있다.Information exchange between the backend and the frontend is performed by the API (Application Programming Interface). Specifically, when the frontend requests an API to the backend, the backend can send an API response corresponding to the API request to the frontend.
한편 사용자가 요청한 API 리퀘스트는 리퀘스트의 특성에 따라 각각 다른 서버에 제공될 수 있으며, 이들을 일괄적으로 파악하기 어려운 경우가 있다. 또한 서버와 연결된 단말에서 기능을 실행함에 따라, 프론트엔드는 해당 기능에 대응되는 복수 개의 API를 요청할 수 있고, 백엔드와 프론트엔드는 기능 실행에 대응되는 복수 개의 API를 통해 정보를 교환하게 된다. 다만, 단말에서의 기능 실행에 오류가 발생하는 등의 경우, 복수 개의 API 리퀘스트 및 복수 개의 API 리스펀스를 디버깅해야 하는데 송수신 주체가 다양한 환경에서 API 리퀘스트와 API 리스펀스를 일괄적으로 확인하기 어려운 문제가 있었다.Meanwhile, API requests requested by users may be provided to different servers depending on the characteristics of the requests, and it may be difficult to collectively identify them. In addition, when a function is executed on a terminal connected to a server, the front end may request multiple APIs corresponding to the function, and the back end and the front end exchange information through multiple APIs corresponding to the execution of the function. However, in cases such as when an error occurs in the execution of a function on a terminal, multiple API requests and multiple API responses must be debugged, and there was a problem that it was difficult to collectively identify API requests and API responses in an environment where the sender and receiver were diverse.
관련하여, KR102163818B1 건 및 KR102230272B1 건 등의 선행문헌들을 참조할 수 있다.In this regard, reference can be made to prior literature such as KR102163818B1 and KR102230272B1.
본 개시는 상술한 문제점을 해결하기 위해 제안된 것으로, 정보를 제공하는 방법 및 이를 장치를 제공하는데 있다.The present disclosure has been proposed to solve the above-described problems, and provides a method for providing information and a device therefor.
보다 구체적으로 본 개시는 특정 단말이 요청하는 API 리퀘스트와 이에 대응한 API 리스펀스를 관리하고, 이를 저장함으로써 특정 단말의 엑션에 따라 생성된 API 리퀘스트와 API 리스펀스를 일괄적으로 확인할 수 있으며, 사용자를 이를 통해 주고받는 정보를 확인하고, 이에 대한 수정을 수행할 수 있는 방법 및 장치를 제공하는 것을 목적으로 한다. More specifically, the present disclosure aims to provide a method and device that can collectively check API requests and API responses generated according to actions of a specific terminal by managing and storing API requests requested by a specific terminal and API responses corresponding thereto, and can check information exchanged between users through the same and perform modifications thereto.
본 실시 예가 이루고자 하는 기술적 과제는 상기된 바와 같은 기술적 과제들로 한정되지 않으며, 이하의 실시 예들로부터 또 다른 기술적 과제들이 유추될 수 있다.The technical problems to be solved by this embodiment are not limited to the technical problems described above, and other technical problems can be inferred from the following embodiments.
상술한 과제를 달성하기 위한 기술적 수단으로서, 본 개시의 제1측면에 따른 전자 장치에서 정보를 제공하는 방법은 제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API(Application Programming Interface)에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트(Inbound API Request)를 확인하는 단계; 인바운드 API 리퀘스트에 제2 식별 정보를 할당하는 단계; 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하는 단계; 인바운드 API 리퀘스트를 기반으로 서비스 서버에 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트(Outbound API Request)를 전송하는 단계; 서비스 서버로부터 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스(API Response)를 수신하는 단계; 및 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 리스트 페이지를 제공하는 단계를 포함할 수 있다.As a technical means for achieving the above-described task, a method for providing information in an electronic device according to the first aspect of the present disclosure may include a step of confirming an inbound API request including first identification information about a requester and request information for an API (Application Programming Interface) based on information acquired from a first terminal; a step of assigning second identification information to the inbound API request; a step of confirming a service server corresponding to the inbound API request; a step of transmitting an outbound API request including the second identification information to the service server based on the inbound API request; a step of receiving an API response corresponding to the outbound API request from the service server; and a step of providing a list page for the inbound API request, the outbound API request, and the API response.
일 실시 예에 따르면, 정보를 제공하는 방법은 제1 식별 정보에 기반하여, 제1 단말에 대응되는 인바운드 API 리퀘스트를 확인하는 단계; 제2 식별 정보에 기반하여 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트 및 API 리스펀스를 확인하는 단계; 및 제1 식별 정보 및 제2 식별 정보를 기반으로 제1 식별 정보, 제2 식별 정보, 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스를 매칭하여 데이터 스토리지에 저장하는 단계를 더 포함할 수 있다.According to one embodiment, a method for providing information may further include: a step of identifying an inbound API request corresponding to a first terminal based on first identification information; a step of identifying an outbound API request and an API response corresponding to the inbound API request based on second identification information; and a step of matching the first identification information, the second identification information, the inbound API request, the outbound API request, and the API response based on the first identification information and the second identification information and storing the same in data storage.
일 실시 예에 따르면, 리스트 페이지를 제공하는 단계는 제1 식별 정보를 이용하여 데이터 스토리지에 저장된 복수 개의 인바운드 API 리퀘스트 중 제1 단말과 대응되는 인바운드 API 리퀘스트를 확인하는 단계; 제2 식별 정보를 이용하여 데이터 스토리지에 저장된 복수 개의 아웃바운드 API 리퀘스트 및 복수 개의 API 리스펀스 중에서 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트 및 API 리스펀스의 세트를 확인하는 단계; 인바운드 API 리퀘스트와 매칭되는 아웃바운드 API 리퀘스트의 세트에 대한 제1 리스트와 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 제2 리스트를 포함하는 리스트 페이지를 제공하는 단계를 포함할 수 있다.According to one embodiment, the step of providing a list page may include: a step of identifying an inbound API request corresponding to a first terminal from among a plurality of inbound API requests stored in a data storage using first identification information; a step of identifying a set of outbound API requests and a set of API responses corresponding to the inbound API request from among a plurality of outbound API requests and a plurality of API responses stored in the data storage using second identification information; and a step of providing a list page including a first list of sets of outbound API requests matching the inbound API request and a second list of outbound API requests and API responses.
일 실시 예에 따르면, 정보를 제공하는 방법은 제1 단말로부터 획득된 제1 페이지 상의 API 아웃바운드 API 리퀘스트에 대응되는 입력의 수신에 대응하여 제2 리스트를 제공하는 것을 특징으로 할 수 있다.According to one embodiment, a method for providing information may be characterized by providing a second list in response to receiving an input corresponding to an API outbound API request on a first page obtained from a first terminal.
일 실시 예에 따르면, 서비스 서버를 확인하는 단계는 인바운드 API 리퀘스트와 동일한 제2 식별 정보를 가지는 아웃바운드 API 리퀘스트를 확인하는 단계; 및 아웃바운드 API 리퀘스트와 대응되는 서비스 서버를 확인하는 단계를 포함할 수 있다.According to one embodiment, the step of verifying the service server may include the step of verifying an outbound API request having the same second identification information as the inbound API request; and the step of verifying a service server corresponding to the outbound API request.
일 실시 예에 따르면, 리스트 페이지를 제공하는 단계는 인바운드 API 리퀘스트를 제1 레벨로 표시하고, 제1 레벨보다 낮은 제2 레벨로 아웃바운드 API 리퀘스트를 표시함으로써, 리스트 페이지를 제공하는 단계를 포함할 수 있다.In one embodiment, the step of providing the list page may include the step of providing the list page by displaying an inbound API request at a first level and displaying an outbound API request at a second level lower than the first level.
일 실시 예에 따르면, 리스트 페이지를 제공하는 단계는 아웃바운드 API 리퀘스트의 파일 사이즈에 대한 정보, 아웃바운드 API 리퀘스트에 대응되는 Method 정보, 아웃바운드 API 리퀘스트에 대응되는 Status 정보, 아웃바운드 API 리퀘스트에 모의 데이터(Mock data) 사용 여부에 대한 정보, 아웃바운드 API 리퀘스트의 전송 시간에 대한 정보, 제2 리스트에 대응되는 아이콘에 대한 정보 및 아웃바운드 API 리퀘스트의 디버깅 아이콘에 대한 정보 중 적어도 하나를 표시하여 리스트 페이지를 제공하는 단계를 포함할 수 있다.According to one embodiment, the step of providing a list page may include the step of providing the list page by displaying at least one of information about a file size of an outbound API request, Method information corresponding to the outbound API request, Status information corresponding to the outbound API request, information about whether mock data is used for the outbound API request, information about a transmission time of the outbound API request, information about an icon corresponding to a second list, and information about a debugging icon of the outbound API request.
일 실시 예에 따르면, API 리스펀스를 수신하는 단계는 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트의 전송에 따른 응답을 대기하는 단계; 및 서비스 서버로부터 아웃바운드 API 리퀘스트에 대한 응답인 API 리스펀스를 수신하는 단계를 포함할 수 있다.According to one embodiment, the step of receiving an API response may include the step of waiting for a response to transmission of an outbound API request including second identification information; and the step of receiving an API response, which is a response to the outbound API request, from the service server.
일 실시 예에 따르면, 정보를 제공하는 방법은 제2 식별 정보에 기반하여, 데이터 스토리지로부터 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트를 확인하는 단계; 세트에 포함되는 아웃바운드 API 리퀘스트 중 중복되는 아웃바운드 API인 제1 아웃바운드 API 리퀘스트를 확인하는 단계; 세트에서 제1 아웃바운드 API 리퀘스트를 삭제하여 수정된 세트를 확인하는 단계; 및 인바운드 API 리퀘스트를 재 확인하면, 수정된 세트에 기반하여 제2 식별 정보를 포함하는 수정된 세트의 아웃바운드 API 리퀘스트를 전송하는 단계를 더 포함할 수 있다.According to one embodiment, a method for providing information may further include: identifying a set of outbound API requests corresponding to an inbound API request from a data storage based on second identification information; identifying a first outbound API request that is a duplicate outbound API among the outbound API requests included in the set; identifying a modified set by deleting the first outbound API request from the set; and, if re-identifying the inbound API request, transmitting an outbound API request of the modified set including the second identification information based on the modified set.
일 실시 예에 따르면, 정보를 제공하는 방법은 제2 식별 정보에 기반하여, 데이터 스토리지로부터 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트를 확인하는 단계; API에 대한 스펙 정보에 기반하여, 세트에 포함되지 않는 제1 아웃바운드 API 리퀘스트를 확인하는 단계; 세트에 제1 아웃바운드 API 리퀘스트를 추가하여 수정된 세트를 확인하는 단계; 및 인바운드 API 리퀘스트를 재 확인하면, 수정된 세트에 기반하여 제2 식별 정보를 포함하는 수정된 세트의 아웃바운드 API 리퀘스트를 전송하는 단계를 더 포함할 수 있다.According to one embodiment, a method for providing information may further include: identifying a set of outbound API requests corresponding to an inbound API request from a data storage based on second identification information; identifying a first outbound API request not included in the set based on specification information about the API; identifying a modified set by adding the first outbound API request to the set; and, when re-identifying the inbound API request, transmitting an outbound API request of the modified set including the second identification information based on the modified set.
일 실시 예에 따르면, 정보를 제공하는 방법은 제1 단말로부터 오류가 있다고 확인된 인바운드 API 리퀘스트에 대한 정보를 수신하는 단계; 인바운드 API 리퀘스트에 대한 정보에 기반하여 제2 식별 정보, 인바운드 API 리퀘스트에 대응되는 URL 정보 및 인바운드 API 리퀘스트에 대응되는 시간 정보를 확인하는 단계; 및 제1 식별 정보, 제2 식별 정보, URL 정보 및 시간 정보를 제2 단말로 전송하는 단계를 더 포함할 수 있다.According to one embodiment, a method for providing information may further include the steps of: receiving information about an inbound API request that is determined to have an error from a first terminal; checking second identification information, URL information corresponding to the inbound API request, and time information corresponding to the inbound API request based on the information about the inbound API request; and transmitting the first identification information, the second identification information, the URL information, and the time information to the second terminal.
일 실시 예에 따르면, 정보를 제공하는 방법은 제2 단말로부터 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스 중 적어도 하나를 수정한 수정 데이터를 수신하는 단계; 및 수정 데이터에 기반하여, 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스 중 적어도 하나를 수정하는 단계를 포함할 수 있다.According to one embodiment, a method of providing information may include: receiving, from a second terminal, modified data that modifies at least one of an inbound API request, an outbound API request, and an API response; and modifying, based on the modified data, at least one of the inbound API request, the outbound API request, and the API response.
본 개시의 제2측면에 따른 정보를 제공하는 전자 장치는 트랜시버; 스토리지; 및 제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트를 확인하고, 인바운드 API 리퀘스트에 제2 식별 정보를 할당하고, 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하고, 인바운드 API 리퀘스트를 기반으로 서비스 서버에 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트를 전송하고, 서비스 서버로부터 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스를 수신하고, 및 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 리스트 페이지를 제공하는 프로세서를 포함할 수 있다.An electronic device providing information according to a second aspect of the present disclosure may include a transceiver; a storage; and a processor configured to identify an inbound API request including first identification information about a requester and request information about an API based on information acquired from a first terminal, assign second identification information to the inbound API request, identify a service server corresponding to the inbound API request, transmit an outbound API request including the second identification information to the service server based on the inbound API request, receive an API response corresponding to the outbound API request from the service server, and provide a list page for the inbound API request, the outbound API request, and the API response.
본 개시의 제3측면에 따른 기록매체는 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 비일시적 기록매체일 수 있다.The recording medium according to the third aspect of the present disclosure may be a non-transitory computer-readable recording medium having recorded thereon a program for execution on a computer.
본 명세서의 실시 예에 따르면, 전자 장치는 특정 단말에 대한 API 리퀘스트 및 대응되는 API 리스펀스를 매칭하여 리스트 페이지로 제공함으로써, 단말의 서비스와 관련된 개선이 필요할 때, 개발자가 리스트 페이지를 통해 오류와 연관된 API 리퀘스트 또는 API 리스펀스를 용이하게 확인하고 이에 대한 테스트를 수행할 수 있도록 할 수 있다.According to an embodiment of the present specification, an electronic device matches an API request and a corresponding API response for a specific terminal and provides them as a list page, so that when an improvement is needed related to a service of the terminal, a developer can easily check an API request or API response associated with an error through the list page and perform a test thereon.
발명의 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 청구범위의 기재로부터 당해 기술 분야의 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by a person skilled in the art from the description of the claims.
도 1은 다양한 실시 예에 따른 전자 장치가 정보를 제공하는 방법이 구현될 수 있는 정보 제공에 관한 시스템을 설명하기 위한 도면이다.
도 2는 일 실시 예에 따르면 정보를 제공하는 방법을 나타낸 흐름도이다.
도 3은 일 실시 예에 따른 정보 제공 시스템(10)을 보다 구체적으로 설명하기 위한 도면이다.
도 4는 제1 단말의 화면을 나타내는 도면이다.
도 5는 인바운드 API 리퀘스트를 표시하는 리스트 페이지를 나타내는 화면이다.
도 6은 인바운드 API 리퀘스트 및 대응되는 아웃바운드 API 리퀘스트를 표시하는 제1 리스트를 포함하는 리스트 페이지를 나타내는 화면이다.
도 7a는 제1 아웃바운드 API 리퀘스트(611)의 리퀘스트 헤더의 소스 코드에 대한 화면을 나타내고 있다.
도 7b는 제1 아웃바운드 API 리퀘스트(611)에 대응되는 API 리스펀스의 소스 코드에 대한 화면을 나타내고 있다.
도 8은 일 실시 예에 따른, 제1 단말 및 제2 단말을 통해 오류가 있다고 확인된 API 리퀘스트 또는 API 리스펀스를 수정하는 실시 예에 관한 도면이다.
도 9는 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트의 세트를 수정하는 실시 예를 설명하기 위한 도면이다.
도 10a, 도 10b 및 도 10c는 API 리퀘스트 및 API 리스펀스를 모의하는 일 실시 예를 나타내는 도면이다.
도 11은 일 실시 예에 따른 정보를 제공하기 위한 전자 장치를 도식화한 블록도이다.FIG. 1 is a drawing for explaining a system for providing information in which a method for providing information by an electronic device according to various embodiments can be implemented.
FIG. 2 is a flowchart illustrating a method for providing information according to one embodiment.
FIG. 3 is a drawing to more specifically explain an information provision system (10) according to one embodiment.
Figure 4 is a drawing showing the screen of the first terminal.
Figure 5 is a screen showing a list page displaying inbound API requests.
FIG. 6 is a screen showing a list page including a first list displaying inbound API requests and corresponding outbound API requests.
Figure 7a shows a screen for the source code of the request header of the first outbound API request (611).
Figure 7b shows a screen for the source code of an API response corresponding to the first outbound API request (611).
FIG. 8 is a diagram illustrating an embodiment of correcting an API request or API response that is identified as having an error through a first terminal and a second terminal according to one embodiment.
FIG. 9 is a diagram for explaining an embodiment of modifying a set of outbound API requests corresponding to inbound API requests.
FIGS. 10a, 10b and 10c are diagrams illustrating an example embodiment of simulating an API request and an API response.
FIG. 11 is a block diagram schematically illustrating an electronic device for providing information according to one embodiment.
실시 예들에서 사용되는 용어는 본 개시에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 개시에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 정의되어야 한다.The terms used in the embodiments are selected from the most widely used general terms possible while considering the functions of the present disclosure, but this may vary depending on the intention of a technician working in the field, precedents, the emergence of new technologies, etc. In addition, in certain cases, there are terms arbitrarily selected by the applicant, and in this case, the meanings thereof will be described in detail in the corresponding description section. Therefore, the terms used in the present disclosure should be defined based on the meanings of the terms and the overall contents of the present disclosure, rather than simply the names of the terms.
명세서 전체에서 어떤 부분이 어떤 구성요소를 “포함”한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. 또한, 명세서에 기재된 “...부”, “...모듈” 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다.When a part of the specification is said to “include” a component, this does not mean that other components are excluded, unless otherwise specifically stated, but rather that other components may be included. In addition, terms such as “part,” “module,” etc., described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware or software, or a combination of hardware and software.
명세서 전체에서 기재된 “a, b, 및 c 중 적어도 하나”의 표현은, ‘a 단독’, ‘b 단독’, ‘c 단독’, ‘a 및 b’, ‘a 및 c’, ‘b 및 c’, 또는 ‘a,b,c 모두’를 포괄할 수 있다.The expression “at least one of a, b, and c” as used throughout the specification can encompass “a alone,” “b alone,” “c alone,” “a and b,” “a and c,” “b and c,” or “all of a, b, and c.”
이하에서 언급되는 "단말"은 네트워크를 통해 서버나 타 단말에 접속할 수 있는 컴퓨터나 휴대용 단말로 구현될 수 있다. 여기서, 컴퓨터는 예를 들어, 웹 브라우저(WEB Browser)가 탑재된 노트북, 데스크톱(desktop), 랩톱(laptop) 등을 포함하고, 휴대용 단말은 예를 들어, 휴대성과 이동성이 보장되는 무선 통신 장치로서, IMT(International Mobile Telecommunication), CDMA(Code Division Multiple Access), W-CDMA(W-Code Division Multiple Access), LTE(Long Term Evolution) 등의 통신 기반 단말, 스마트폰, 태블릿 PC 등과 같은 모든 종류의 핸드헬드(Handheld) 기반의 무선 통신 장치를 포함할 수 있다.The "terminal" mentioned below may be implemented as a computer or portable terminal capable of connecting to a server or other terminal via a network. Here, the computer includes, for example, a notebook, desktop, laptop, etc. equipped with a WEB Browser, and the portable terminal may include, for example, a wireless communication device that ensures portability and mobility, such as a communication-based terminal such as IMT (International Mobile Telecommunication), CDMA (Code Division Multiple Access), W-CDMA (W-Code Division Multiple Access), LTE (Long Term Evolution), and all kinds of handheld-based wireless communication devices such as a smartphone, tablet PC, etc.
아래에서는 첨부한 도면을 참고하여 본 개시의 실시 예에 대하여 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 개시는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다.Below, with reference to the attached drawings, embodiments of the present disclosure are described in detail so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein.
이하, 본 발명의 실시 예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings.
실시 예를 설명함에 있어서 본 발명이 속하는 기술 분야에 익히 알려져 있고 본 발명과 직접적으로 관련이 없는 기술 내용에 대해서는 설명을 생략한다. 이는 불필요한 설명을 생략함으로써 본 발명의 요지를 흐리지 않고 더욱 명확히 전달하기 위함이다.In describing the embodiments, descriptions of technical contents that are well known in the technical field to which the present invention belongs and are not directly related to the present invention will be omitted. This is to convey the gist of the present invention more clearly without obscuring it by omitting unnecessary explanations.
마찬가지 이유로 첨부 도면에 있어서 일부 구성요소는 과장되거나 생략되거나 개략적으로 도시되었다. 또한, 각 구성요소의 크기는 실제 크기를 전적으로 반영하는 것이 아니다. 각 도면에서 동일한 또는 대응하는 구성요소에는 동일한 참조 번호를 부여하였다.For the same reason, some components in the attached drawings are exaggerated, omitted, or schematically illustrated. In addition, the size of each component does not entirely reflect the actual size. The same or corresponding components in each drawing are given the same reference numbers.
본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시 예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시 예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.The advantages and features of the present invention, and the methods for achieving them, will become clear with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms, and the present embodiments are provided only to make the disclosure of the present invention complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the scope of the claims. Like reference numerals refer to like elements throughout the specification.
이 때, 처리 흐름도 도면들의 각 블록과 흐름도 도면들의 조합들은 컴퓨터 프로그램 인스트럭션들에 의해 수행될 수 있음을 이해할 수 있을 것이다. 이들 컴퓨터 프로그램 인스트럭션들은 범용 컴퓨터, 특수용 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서에 탑재될 수 있으므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비의 프로세서를 통해 수행되는 그 인스트럭션들이 흐름도 블록(들)에서 설명된 기능들을 수행하는 수단을 생성하게 된다. 이들 컴퓨터 프로그램 인스트럭션들은 특정 방식으로 기능을 구현하기 위해 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 지향할 수 있는 컴퓨터 이용 가능 또는 컴퓨터 판독 가능 메모리에 저장되는 것도 가능하므로, 그 컴퓨터 이용가능 또는 컴퓨터 판독 가능 메모리에 저장된 인스트럭션들은 흐름도 블록(들)에서 설명된 기능을 수행하는 인스트럭션 수단을 내포하는 제조 품목을 생산하는 것도 가능하다. 컴퓨터 프로그램 인스트럭션들은 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에 탑재되는 것도 가능하므로, 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비 상에서 일련의 동작 단계들이 수행되어 컴퓨터로 실행되는 프로세스를 생성해서 컴퓨터 또는 기타 프로그램 가능한 데이터 프로세싱 장비를 수행하는 인스트럭션들은 흐름도 블록(들)에서 설명된 기능들을 실행하기 위한 단계들을 제공하는 것도 가능하다.At this time, it will be understood that each block of the processing flow diagrams and combinations of the flow diagrams can be performed by computer program instructions. These computer program instructions can be loaded onto a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing equipment, so that the instructions executed by the processor of the computer or other programmable data processing equipment create a means for performing the functions described in the flow diagram block(s). These computer program instructions can also be stored in a computer-available or computer-readable memory that can be directed to a computer or other programmable data processing equipment to implement the function in a specific manner, so that the instructions stored in the computer-available or computer-readable memory can also produce a manufactured article including an instruction means for performing the functions described in the flow diagram block(s). Since the computer program instructions may be installed on a computer or other programmable data processing apparatus, a series of operational steps may be performed on the computer or other programmable data processing apparatus to produce a computer-executable process, so that the instructions executing the computer or other programmable data processing apparatus may also provide steps for executing the functions described in the flowchart block(s).
또한, 각 블록은 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 실행 예들에서는 블록들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.Additionally, each block may represent a module, segment, or portion of code that contains one or more executable instructions for performing a particular logical function(s). It should also be noted that in some alternative implementation examples, the functions mentioned in the blocks may occur out of order. For example, two blocks shown in succession may in fact be performed substantially concurrently, or the blocks may sometimes be performed in reverse order, depending on the functionality they perform.
도 1은 다양한 실시 예에 따른 전자 장치가 정보를 제공하는 방법이 구현될 수 있는 정보 제공에 관한 시스템을 설명하기 위한 도면이다.FIG. 1 is a drawing for explaining a system for providing information in which a method for providing information by an electronic device according to various embodiments can be implemented.
도 1을 참조하면, 다양한 실시 예에 따른 아이템 정보 제공에 관한 시스템(10)은 다양한 종류의 장치들에 의해 구현될 수 있다. 예를 들어, 아이템 정보 제공에 관한 시스템(10)은 전자 장치(100) 및 제1 단말(110) 및 서비스 서버(120)을 포함할 수 있다. 도1에 도시된 아이템 정보 제공에 관한 시스템(10)은 본 실시 예와 관련된 구성요소들만 도시되어 있다. 따라서, 도 1에 도시된 구성요소들 외에 다른 범용적인 구성요소들이 더 포함될 수 있음을 본 실시 예와 관련된 기술분야에서 통상의 지식을 가진 자라면 이해할 수 있다.Referring to FIG. 1, the system (10) for providing item information according to various embodiments may be implemented by various types of devices. For example, the system (10) for providing item information may include an electronic device (100), a first terminal (110), and a service server (120). The system (10) for providing item information illustrated in FIG. 1 only illustrates components related to the present embodiment. Therefore, a person having ordinary skill in the art related to the present embodiment may understand that other general-purpose components may be further included in addition to the components illustrated in FIG. 1.
전자 장치(100), 제1 단말(110) 및 서비스 서버(120) 각각은 트랜시버, 스토리지 및 프로세서를 포함할 수 있다. 또한, 전자 장치(100), 제1 단말(110) 및 서비스 서버(120) 각각은 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어, 또는, 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다. 한편 실시 예 전반에서 전자 장치(100), 제1 단말(110) 각각은 분리된 장치 또는 서버로 언급되나 이는 논리적으로 나누어진 구조일 수 있으며, 이들 중 적어도 일부가 하나의 장치 또는 서버에서 분리된 기능에 의해 구현될 수 있다.Each of the electronic device (100), the first terminal (110), and the service server (120) may include a transceiver, storage, and a processor. In addition, each of the electronic device (100), the first terminal (110), and the service server (120) means a unit that processes at least one function or operation, and this may be implemented by hardware or software, or a combination of hardware and software. Meanwhile, throughout the embodiments, each of the electronic device (100) and the first terminal (110) is referred to as a separate device or server, but this may be a logically divided structure, and at least some of them may be implemented by a separate function in one device or server.
일 실시 예에 따르면, 전자 장치(100), 제1 단말(110) 및 서비스 서버(120)는 네트워크 서버로 구현되는 다수의 컴퓨터 시스템 또는 컴퓨터 소프트웨어를 포함할 수 있다. 예를 들면, 전자 장치(100), 제1 단말(110) 및 서비스 서버(120) 중 적어도 일부는 인트라넷 또는 인터넷과 같은 컴퓨터 네트워크를 통해 다른 네트워크 서버와 통신할 수 있는 하위 장치와 연결되어 작업 수행 요청을 접수하고, 그에 대한 작업을 수행하여 수행 결과를 제공하는 컴퓨터 시스템 및 컴퓨터 소프트웨어를 지칭할 수 있다. 이외에도, 전자 장치(100), 제1 단말(110) 및 서비스 서버(120) 중 적어도 일부는 네트워크 서버 상에서 동작할 수 있는 일련의 응용 프로그램과, 내부 혹은 연결된 다른 노드에 구축되어 있는 각종 데이터베이스를 포함하는 광의의 개념으로 이해될 수 있다. 예컨대, 전자 장치(100), 제1 단말(110) 및 서비스 서버(120) 중 적어도 일부는 도스(DOS), 윈도우(Windows), 리눅스(Linux), 유닉스(UNIX), 또는 맥OS(MacOS) 등의 운영 체제에 따라 다양하게 제공되는 네트워크 서버 프로그램을 이용하여 구현될 수 있다.According to one embodiment, the electronic device (100), the first terminal (110), and the service server (120) may include a plurality of computer systems or computer software implemented as network servers. For example, at least some of the electronic device (100), the first terminal (110), and the service server (120) may refer to a computer system and computer software that are connected to a lower device that can communicate with another network server through a computer network such as an intranet or the Internet, receive a task execution request, perform the task accordingly, and provide the execution result. In addition, at least some of the electronic device (100), the first terminal (110), and the service server (120) may be understood as a broad concept that includes a series of application programs that can operate on a network server, and various databases built on internal or connected other nodes. For example, at least some of the electronic device (100), the first terminal (110), and the service server (120) may be implemented using a network server program provided in various ways according to an operating system such as DOS, Windows, Linux, UNIX, or MacOS.
전자 장치(100), 제1 단말(110) 및 서비스 서버(120)는 네트워크(미도시)를 통해서 서로 통신할 수 있다. 네트워크는 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN), 부가가치 통신망(Value Added Network; VAN), 이동 통신망(mobile radio communication network), 위성 통신망 및 이들의 상호 조합을 포함하며, 도 1에 도시된 각 네트워크 구성 주체가 서로 원활하게 통신을 할 수 있도록 하는 포괄적인 의미의 데이터 통신망이며, 유선 인터넷, 무선 인터넷 및 모바일 무선 통신망을 포함할 수 있다. 무선 통신은 예를 들어, 무선 랜(Wi-Fi), 블루투스, 블루투스 저 에너지(Bluetooth low energy), 지그비, WFD(Wi-Fi Direct), UWB(ultra wideband), 적외선 통신(IrDA, infrared Data Association), NFC(Near Field Communication) 등이 있을 수 있으나, 이에 한정되는 것은 아니다.The electronic device (100), the first terminal (110), and the service server (120) can communicate with each other through a network (not shown). The network includes a Local Area Network (LAN), a Wide Area Network (WAN), a Value Added Network (VAN), a mobile radio communication network, a satellite communication network, and a combination thereof, and is a comprehensive data communication network that allows each network component shown in FIG. 1 to communicate smoothly with each other, and may include wired Internet, wireless Internet, and a mobile radio communication network. The wireless communication may include, but is not limited to, wireless LAN (Wi-Fi), Bluetooth, Bluetooth low energy, Zigbee, WFD (Wi-Fi Direct), UWB (ultra wideband), infrared communication (IrDA, infrared Data Association), NFC (Near Field Communication), etc., for example.
일 실시 예에 따르면, 전자 장치(100)는 제1 단말(110)로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API(Application Programming Interface)에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트(Inbound Request)를 확인하고, 인바운드 API 리퀘스트에 제2 식별 정보를 할당하고, 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하고, 인바운드 API 리퀘스트를 기반으로 서비스 서버에 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트를 전송하고, 서비스 서버로부터 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스를 수신하고 및 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 리스트 페이지를 제공하는 구체적인 실시 예는 하기에서 자세히 살펴보기로 한다.According to one embodiment, a specific embodiment in which the electronic device (100) verifies an inbound API request including first identification information about a requester and request information for an API (Application Programming Interface) based on information acquired from a first terminal (110), assigns second identification information to the inbound API request, verifies a service server corresponding to the inbound API request, transmits an outbound API request including the second identification information to the service server based on the inbound API request, receives an API response corresponding to the outbound API request from the service server, and provides a list page for the inbound API request, the outbound API request, and the API response will be described in detail below.
도 2는 일 실시 예에 따르면 정보를 제공하는 방법을 나타낸 흐름도이다.FIG. 2 is a flowchart illustrating a method for providing information according to one embodiment.
도 2를 참조하면, 전자 장치에서 정보를 제공하는 각 동작은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해되는 범위 내에서 일부 동작이 변경, 치환되거나 동작 간의 일부 순서가 변경될 수 있음은 자명하게 이해될 수 있다.Referring to FIG. 2, it can be clearly understood that some of the operations for providing information in an electronic device may be changed or substituted, or some of the orders between the operations may be changed, within a scope clearly understandable to a person skilled in the art to which the present invention pertains.
단계 S210에서, 전자 장치(100)는 제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트를 확인할 수 있다.In step S210, the electronic device (100) can verify an inbound API request including first identification information about the requester and request information for the API based on information obtained from the first terminal.
일 실시 예에 따르면, 제1 단말(110)은 애플리케이션, 프로그램 등을 통해 다양한 동작을 수행하는 전자 장치일 수 있다. 제1 단말(110)은 모바일 디바이스, 컴퓨터 디바이스일 수 있으나, 어느 것에 한정되는 것은 아니다. 제1 단말(110)은 API에 대한 요청 정보 및 제1 단말을 식별하기 위한 정보를 전자 장치(100)로 전송하고, 본원의 실시 예에 따른 방법에 기반하여 획득된 데이터 등을 통해 해당 기능을 수행할 수 있다. 예를 들어, 전자 상거래 애플리케이션을 통해 특정 상품의 상세 페이지로 접속 요청에 따른 응답으로, 제1 단말(110)은 특정 상품의 이미지, 가격 정보 및 할인 정보 등이 포함된 페이지를 획득함으로써, 특정 상품의 페이지는 표시될 수 있다. 이와 같은 페이지를 표시하기 위해 전자 상거래 서비스 서버는 페이지에 표시되는 정보를 관리하는 데이터 베이스로부터 각 데이터를 수신하여 이를 기반으로 페이지를 생성할 수 있다. 한편 이와 같은 페이지 생성은 전자 상거래 서비스 서버에서 제공한 정보를 기반으로 단말에서도 생성될 수 있다.According to one embodiment, the first terminal (110) may be an electronic device that performs various operations through an application, a program, etc. The first terminal (110) may be a mobile device or a computer device, but is not limited thereto. The first terminal (110) may transmit request information for an API and information for identifying the first terminal to the electronic device (100), and may perform a corresponding function through data obtained based on a method according to an embodiment of the present disclosure. For example, in response to a request to access a detailed page of a specific product through an e-commerce application, the first terminal (110) may obtain a page including an image, price information, discount information, etc. of the specific product, thereby displaying the page of the specific product. In order to display such a page, the e-commerce service server may receive each data from a database that manages information displayed on the page and generate a page based on this. Meanwhile, such page generation may also be generated in the terminal based on information provided by the e-commerce service server.
일 실시 예에 따르면, 전자 장치(100)는 제1 단말(110)로부터 획득된 정보에 기반하여 요청자에 대한 제1 식별 정보를 획득할 수 있다. 여기서, 획득된 정보는 제1 단말(110)에서 수행하고자 하는 기능을 요청한 요청자에 대한 정보를 포함할 수 있다. 예를 들어, 전자 장치(100)는 제1 단말(110)로부터 요청자를 다른 유저와 구별하기 위한 범용 고유 식별자(Universally Unique Identifier, UUID)에 대한 정보를 획득할 수 있다. 이에 따라, 전자 장치는 제1 단말(110)로부터 획득된 범용 고유 식별자에 대한 정보 기반하여 식별 정보를 확인할 수 있다. 제1 식별 정보는 범용 고유 식별자일 수 있으나, 이에 한정되는 것은 아니다. 예를 들어, 제1 식별 정보는 요청자의 아이디 정보일 수도 있다.According to one embodiment, the electronic device (100) may obtain first identification information about the requester based on information obtained from the first terminal (110). Here, the obtained information may include information about the requester who requested the function to be performed by the first terminal (110). For example, the electronic device (100) may obtain information about a universally unique identifier (UUID) for distinguishing the requester from other users from the first terminal (110). Accordingly, the electronic device may verify identification information based on the information about the universally unique identifier obtained from the first terminal (110). The first identification information may be a universally unique identifier, but is not limited thereto. For example, the first identification information may be ID information of the requester.
일 실시 예에 따르면, 전자 장치(100)는 API에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트를 확인할 수 있다. 보다 상세하게는, 전자 장치(100)는 제1 단말(110)에서의 기능을 실행하는데 필요한 적어도 하나의 API에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트를 확인할 수 있다. 또한, 제1 단말(110)에서의 기능에 대응되는 인바운드 API 리퀘스트는 복수 개로 구성될 수 있다. 예를 들어, 1) 제1 단말(110)에서의 기능이 특정 상품에 대한 상세 페이지 요청이면, 2) 인바운드 API 리퀘스트는 GNB(Global Navication bar)와 같이 상품의 종류와 관계없이 모든 상세 페이지에 포함되는 메뉴에 대응되는 리퀘스트와 특정 상품에 대한 정보(예를 들어, 가격 정보, 수량 정보 등의 정보)에 대응되는 리퀘스트를 모두 포함할 수 있다.According to one embodiment, the electronic device (100) can check an inbound API request including request information for an API. More specifically, the electronic device (100) can check an inbound API request including request information for at least one API required to execute a function in the first terminal (110). In addition, a plurality of inbound API requests corresponding to the function in the first terminal (110) may be configured. For example, 1) if the function in the first terminal (110) is a request for a detailed page for a specific product, 2) the inbound API request may include both a request corresponding to a menu included in all detailed pages regardless of the type of product, such as a GNB (Global Navigation bar), and a request corresponding to information on the specific product (e.g., information such as price information and quantity information).
단계 S220에서, 전자 장치(100)는 인바운드 API 리퀘스트에 제2 식별 정보를 할당할 수 있다. 여기서, 제2 식별 정보는 인바운드 API 리퀘스트를 다른 인바운드 API 리퀘스트와 구분하기 위한 정보일 수 있다. 또한, 제2 식별 정보는 인바운드 API 리퀘스트와 동일한 제2 식별 정보를 가지는 적어도 하나의 아웃바운드 API 리퀘스트를 확인하는데 사용될 수 있다. 이에 따라, 전자 장치(100)는 제2 식별 정보에 기반하여, 제1 단말(110)에서의 기능에 대응되는 복수 개의 인바운드 API 리퀘스트 각각과 대응되는 적어도 하나의 아웃바운드 API 리퀘스트를 정렬할 수 있다. 이와 같이 제2 식별 정보를 API 리퀘스트에 할당함으로써 특정 단말 혹은 요청자가 제공한 API 리퀘스트를 추적(trace)할 수 있으며, 이를 통해 API 리퀘스트와 대응되는 API 리스펀스를 일괄적으로 관리할 수 있다.In step S220, the electronic device (100) may assign second identification information to the inbound API request. Here, the second identification information may be information for distinguishing the inbound API request from other inbound API requests. In addition, the second identification information may be used to confirm at least one outbound API request having the same second identification information as the inbound API request. Accordingly, the electronic device (100) may sort at least one outbound API request corresponding to each of a plurality of inbound API requests corresponding to functions in the first terminal (110) based on the second identification information. By assigning the second identification information to the API request in this way, the API request provided by a specific terminal or requester can be traced, and thereby the API response corresponding to the API request can be managed in batches.
단계 S230에서, 전자 장치(100)는 인바운드 API 리퀘스트에 대응되는 서비스 서버를 확인할 수 있다. 보다 상세하게는, 전자 장치(100)는 인바운드 API 리퀘스트와 동일한 제2 식별 정보를 가지는 아웃바운드 API 리퀘스트를 확인할 수 있고, 확인된 아웃바운드 API 리퀘스트에 대응되는 서비스 서버를 확인할 수 있다. 인바운드 API 리퀘스트에 포함되는 적어도 하나의 API 요청 정보에 따른 적어도 하나의 API를 요청하기 위해서는 인바운드 API 리퀘스트 및 아웃바운드 API 리퀘스트의 매칭 정보가 필요할 수 있다. 이와 관련된 일 실시 예로, 전자 장치(100)는 제2 식별 정보를 이용하여, 인바운드 API 리퀘스트와 동일한 제2 식별 정보를 가지는 적어도 하나의 아웃바운드 API 리퀘스트를 식별할 수 있다. 여기서, 적어도 하나의 아웃바운드 API 리퀘스트는 적어도 하나의 API 요청 정보와 각각 대응될 수 있다. 또한, 여기서, 아웃바운드 API 리퀘스트는 전자 장치(100)에서 서비스 서버로 전송되는 리퀘스트로, 인바운드 API 리퀘스트의 일 부분일 수 있다.In step S230, the electronic device (100) can identify a service server corresponding to the inbound API request. More specifically, the electronic device (100) can identify an outbound API request having the same second identification information as the inbound API request, and can identify a service server corresponding to the identified outbound API request. In order to request at least one API according to at least one API request information included in the inbound API request, matching information of the inbound API request and the outbound API request may be required. As an example related to this, the electronic device (100) can identify at least one outbound API request having the same second identification information as the inbound API request by using the second identification information. Here, at least one outbound API request may correspond to at least one API request information, respectively. In addition, here, the outbound API request is a request transmitted from the electronic device (100) to the service server, and may be a part of the inbound API request.
일 실시 예에 따르면, 전자 장치(100)는 적어도 하나의 아웃바운드 API 리퀘스트를 전송할 서비스 서버를 확인할 수 있다. 여기서, 서비스 서버는 전자 장치(100)로부터 수신된 리퀘스트에 대응되는 API 리스펀스를 전송하는 서버로, 서비스 서버는 웹 애플리케이션 서버(Web Application Server), DB 서버일 수 있으나 이에 한정되는 것은 아니다. 또한, 서비스 서버는 복수 개의 서브 서비스 서버를 포함할 수 있다.According to one embodiment, the electronic device (100) can identify a service server to which at least one outbound API request will be transmitted. Here, the service server is a server that transmits an API response corresponding to a request received from the electronic device (100). The service server may be, but is not limited to, a web application server or a DB server. In addition, the service server may include a plurality of sub-service servers.
단계 S240에서, 전자 장치(100)는 인바운드 API 리퀘스트를 기반으로 서비스 서버에 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트를 전송할 수 있다. In step S240, the electronic device (100) can transmit an outbound API request including second identification information to the service server based on the inbound API request.
단계 S250에서, 전자 장치(100)는 서비스 서버로부터 아웃바운드 API 리퀘스트에 대응하는 API 리퀘스트를 수신할 수 있다.In step S250, the electronic device (100) can receive an API request corresponding to an outbound API request from a service server.
송신된 아웃바운드 API 리퀘스트에 대응되는 API 리퀘스트를 확인하기 위한 일 실시 예로, 전자 장치(100)는 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트의 전송에 따른 응답을 대기할 수 있고, 서비스 서버로부터 아웃바운드 API 리퀘스트에 대한 응답인 API 리스펀스를 수신할 수 있다. 이에 따라, 전자 장치(100)는 수신된 API 리스펀스에 별도의 식별자가 없더라도 수신된 API 리스펀스에 대응되는 아웃바운드 API 리퀘스트를 확인할 수 있다. 다만 이에 한정되는 것은 아니고, 전자 장치(100)는 API 리스펀스에 포함되는 제2 식별 정보에 기반하여 동일한 제2 식별 정보를 가지는 아웃바운드 API 리퀘스트를 확인할 수 있다.As an example of an embodiment for verifying an API request corresponding to a transmitted outbound API request, the electronic device (100) may wait for a response to the transmission of an outbound API request including second identification information, and may receive an API response, which is a response to the outbound API request, from a service server. Accordingly, the electronic device (100) may verify an outbound API request corresponding to the received API response even if the received API response does not have a separate identifier. However, the present invention is not limited thereto, and the electronic device (100) may verify an outbound API request having the same second identification information based on the second identification information included in the API response.
단계 S260에서, 전자 장치(100)는 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 리스트 페이지를 제공할 수 있다. 보다 상세하게는, 전자 장치(100)는 제1 식별 정보에 기반하여 제1 단말(110)과 대응되는 인바운드 API 리퀘스트를 확인하고, 제2 식별 정보에 기반하여 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트의 세트 및 AP 리스펀스의 세트를 확인할 수 있다. 이에 따라, 전자 장치(100)는 인바운드 API 리퀘스트와 매칭되는 API 리퀘스트의 세트에 대한 제1 리스트와 API 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 제2 리스트를 포함하는 리스트를 제공할 수 있다. 리스트 페이지를 제공하는 구체적인 실시 예는 하기에서 자세히 살펴보기로 한다.In step S260, the electronic device (100) can provide a list page for an inbound API request, an outbound API request, and an API response. More specifically, the electronic device (100) can identify an inbound API request corresponding to the first terminal (110) based on the first identification information, and can identify a set of outbound API requests and a set of AP responses corresponding to the inbound API request based on the second identification information. Accordingly, the electronic device (100) can provide a list including a first list for a set of API requests matching the inbound API request and a second list for the API outbound API request and the API response. A specific embodiment of providing the list page will be described in detail below.
도 3은 일 실시 예에 따른 정보 제공 시스템(10)을 보다 구체적으로 설명하기 위한 도면이다.FIG. 3 is a drawing to more specifically explain an information provision system (10) according to one embodiment.
도 3을 참조하면, 다양한 실시 예에 따른 아이템 정보 제공에 관한 시스템(10)은 다양한 종류의 장치들에 의해 구현될 수 있다. 예를 들어, 아이템 정보 제공에 관한 시스템(10)은 전자 장치(100) 및 제1 단말(110), 서비스 서버(120) 및 데이터 스토리지(미도시)를 포함할 수 있다. 데이터 스토리지(미도시)는 전자 장치(100) 내의 스토리지일 수도 있고, 전자 장치(100) 외부의 스토리지일 수 있으나 이에 한정되는 것은 아니다. 또한, 데이터 스토리지는 레디스(Remote Dictionary Server)로 오픈 소스 기반의 비관계형 데이터베이스 관리 시스템일 수 있다.Referring to FIG. 3, the system (10) for providing item information according to various embodiments may be implemented by various types of devices. For example, the system (10) for providing item information may include an electronic device (100), a first terminal (110), a service server (120), and a data storage (not shown). The data storage (not shown) may be a storage within the electronic device (100) or a storage external to the electronic device (100), but is not limited thereto. In addition, the data storage may be an open source-based non-relational database management system such as Redis (Remote Dictionary Server).
단계 S310에서, 전자 장치(100)는 제1 단말(110)로부터 API에 대한 요청 정보를 수신할 수 있다. API에 대한 요청 정보를 수신함에 따라, 전자 장치(100)는 API에 대한 요청 정보를 포함하는 인바운드 API 리케스트를 확인할 수 있다. 여기서, API에 대한 요청 정보는 제1 단말(110)에서 수행되는 기능에 대응될 수 있다.In step S310, the electronic device (100) can receive request information for the API from the first terminal (110). Upon receiving the request information for the API, the electronic device (100) can check an inbound API request including the request information for the API. Here, the request information for the API can correspond to a function performed in the first terminal (110).
또한, 전자 장치(100)는 제1 단말(110)로부터 획득된 정보에 기반하여 요청자에 대한 제1 식별 정보를 획득할 수 있다. 1) 예를 들어, 제1 단말(110)이 컴퓨터 디바이스이면, 전자 장치(100)는 제1 단말(110)로부터 획득된 범용 고유 식별자를 요청자에 대한 제1 식별 정보로 획득할 수 있다. 2) 또한 예를 들어, 제1 단말(110)이 모바일 디바이스이면, 전자 장치(100)는 제1 단말(110)로부터 획득된 범용 고유 식별자와 대응되는 사용자 ID(예를 들면, PCID)를 요청자에 대한 제1 식별 정보로 획득할 수 있다.In addition, the electronic device (100) can obtain first identification information about the requester based on the information obtained from the first terminal (110). 1) For example, if the first terminal (110) is a computer device, the electronic device (100) can obtain a universal unique identifier obtained from the first terminal (110) as the first identification information about the requester. 2) In addition, for example, if the first terminal (110) is a mobile device, the electronic device (100) can obtain a user ID (e.g., PCID) corresponding to the universal unique identifier obtained from the first terminal (110) as the first identification information about the requester.
일 실시 예에 따르면, 정보 제공을 위한 전자 장치(100)는 Nginx 및 Java Application을 포함할 수 있다. 1) Nginx는 오픈 소스 웹 서버 프로그램으로, HTTP, 리버스 프록시 등의 서버 구동이 가능한 웹 서버이다. 보다 상세하게는, Nginx는 비동기 이벤트 기반의 구조로 작동하는 웹 서버로, 전자 장치(100)는 Nginx를 통해 적은 리소스로 효율적인 트래픽 처리를 할 수 있다. 또한, 전자 장치(100)는 Nginx를 통해 본원의 API 리퀘스트와 API 리스펀스를 중개하는 전자 장치로 동작할 수 있다. 2) Java는 백엔드에서 주로 사용되는 프로그래밍 언어 중 하나일 수 있다. 전자 장치(100)는 Java Application을 통해 인바운드 API 리퀘스트와 동일한 제2 식별 정보를 가지는 적어도 하나의 아웃바운드 API 리퀘스트를 서비스 서버로 전송할 수 있다.According to one embodiment, the electronic device (100) for providing information may include Nginx and a Java Application. 1) Nginx is an open source web server program, and is a web server capable of operating servers such as HTTP and reverse proxy. More specifically, Nginx is a web server that operates in an asynchronous event-based structure, and the electronic device (100) can efficiently process traffic with fewer resources through Nginx. In addition, the electronic device (100) may operate as an electronic device that mediates the API request and API response of the present invention through Nginx. 2) Java may be one of the programming languages mainly used in the backend. The electronic device (100) may transmit at least one outbound API request having the same second identification information as the inbound API request to the service server through the Java Application.
또한, 전자 장치(100)는 아웃바운드 API 리퀘스트 및 API 리스펀스 중 추가적인 테스트가 필요한 부분을 모의, 수정하기 위한 모의 에이전트(Mock Agent)를 포함할 수 있다. 예를 들어, 제1 단말을 통해 특정 상품의 상세 페이지를 접속하였을 때, 특정 상품의 가격 정보, 할인 정보 등에 에러가 있어 상세 페이지의 특정 상품의 가격에 대한 정보가 표시되지 않을 수 있다. 이때, 전자 장치(100)는 특정 상품의 vendor Item ID에 대한 API 리퀘스트에 대응되는 API 리스펀스를 수정하는 기능을 포함하는 리스트 페이지를 제공할 수 있다. 따라서, 추가 테스트를 하는 경우, 전자 장치(100)는 특정 상품의 vendor Item ID에 대한 API 리퀘스트에 따른 응답으로 수정된 API 리스펀스(Mocked API Response)를 수신할 수 있다. 이에 따라, 제1 단말은 특정 상품의 가격에 대한 정보가 제대로 표시된 상세 페이지를 표시할 수 있다. 이와 관련하여, 도 6 및 도 9에서 자세히 살펴보기로 한다.In addition, the electronic device (100) may include a mock agent to simulate and modify parts of the outbound API request and API response that require additional testing. For example, when accessing the detailed page of a specific product through the first terminal, there may be an error in the price information, discount information, etc. of the specific product, so that information on the price of the specific product on the detailed page may not be displayed. At this time, the electronic device (100) may provide a list page that includes a function for modifying an API response corresponding to an API request for the vendor Item ID of the specific product. Accordingly, when performing an additional test, the electronic device (100) may receive a modified API response (Mocked API Response) as a response to the API request for the vendor Item ID of the specific product. Accordingly, the first terminal may display a detailed page on which information on the price of the specific product is properly displayed. In this regard, this will be examined in detail with reference to FIGS. 6 and 9.
단계 S320에서, 전자 장치(100)는 제1 식별 정보, 제2 식별 정보 및 인바운드 API 리퀘스트를 매칭하여 데이터 스토리지에 저장할 수 있다. 이에 앞서, 전자 장치(100)는 인바운드 API 리퀘스트에 제2 식별 정보를 할당할 수 있다. 이에 따라, 전자 장치(100)는 제2 식별 정보에 기반하여 인바운드 API 리퀘스트를 다른 인바운드 API 리퀘스트와 구별할 수 있다. 전자 장치(100)는 인바운드 API 리퀘스트와 동일한 제2 식별 정보를 가지는 아웃바운드 API 리퀘스트를 구별할 수 있다. 전자 장치(100)는 제1 식별 정보에 기반하여 제1 단말과 대응되는 인바운드 API 리퀘스트를 확인하고, 제2 식별 정보와 인바운드 API 리퀘스트를 매칭할 수 있다. 이런 매칭 관계에 기반하여, 전자 장치(100)는 제1 식별 정보, 제2 식별 정보 및 인바운드 API 리퀘스트를 데이터 스토리지에 저장할 수 있다.In step S320, the electronic device (100) can match the first identification information, the second identification information, and the inbound API request and store them in the data storage. Prior to this, the electronic device (100) can assign the second identification information to the inbound API request. Accordingly, the electronic device (100) can distinguish the inbound API request from other inbound API requests based on the second identification information. The electronic device (100) can distinguish an outbound API request having the same second identification information as the inbound API request. The electronic device (100) can identify the inbound API request corresponding to the first terminal based on the first identification information, and match the second identification information with the inbound API request. Based on this matching relationship, the electronic device (100) can store the first identification information, the second identification information, and the inbound API request in the data storage.
단계 S330에서, 전자 장치(100)는 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하고, 확인된 서비스 서버로 인바운드 API 리퀘스트에 대응되는 적어도 하나의 아웃바운드 API 리퀘스트를 전송할 수 있다. 예를 들면, 도 3을 참조하면, 전자 장치(100)는 제1 서비스에 대한 서비스 서버로 제1 아웃바운드 API 리퀘스트를 전송할 수 있고, 제2 서비스에 대한 서비스 서버로 제2 아웃바운드 API 리퀘스트를 전송할 수 있다. 또한, 전자 장치(100)는 제1 서비스에 대한 서비스 서버로부터 제1 아웃바운드 API 리퀘스트에 대응되는 제1 API 리스펀스를 수신할 수 있고, 제2 서비스에 대한 서비스 서버로부터 제2 아웃바운드 API 리퀘스트에 대응되는 제2 API 리퀘스트를 수신할 수 있다.In step S330, the electronic device (100) can check a service server corresponding to the inbound API request, and transmit at least one outbound API request corresponding to the inbound API request to the checked service server. For example, referring to FIG. 3, the electronic device (100) can transmit a first outbound API request to a service server for a first service, and can transmit a second outbound API request to a service server for a second service. In addition, the electronic device (100) can receive a first API response corresponding to the first outbound API request from the service server for the first service, and can receive a second API request corresponding to the second outbound API request from the service server for the second service.
여기서, 서비스 서버로 전송되는 아웃바운드 API 리퀘스트는 HTTP(HyperText Transfer Protocol) 규약에 따르며, 리퀘스트 라인, 리퀘스트 헤더, 리퀘스트 바디를 포함할 수 있다. 또한, API 리스펀스는 HTTP 규약에 따라, Status 라인, 리스펀스 헤더, 리스펀스 바디를 포함할 수 있다. 또한, 본원에서 API는 Rest(Representational State of Transfer) API일 수 있으나, 이에 한정되는 것은 아니다.Here, the outbound API request transmitted to the service server follows the HTTP (HyperText Transfer Protocol) convention and may include a request line, a request header, and a request body. In addition, the API response may include a Status line, a response header, and a response body in accordance with the HTTP convention. In addition, the API in the present invention may be a Rest (Representational State of Transfer) API, but is not limited thereto.
단계 S340에서, 전자 장치(100)는 서비스 서버(120)로부터 API 리스펀스를 수신할 수 있다. 보다 상세하게는, 전자 장치(100)는 제1 아웃바운드 API 리퀘스트의 전송에 따른 응답을 대기하고, 제1 서비스를 포함하는 서비스 서버로부터 제1 아웃바운드 API 리퀘스트에 대한 응답인 제2 API 리스펀스를 수신할 수 있다. 이에 따라, 전자 장치(100)는 서비스 서버로부터 수신된 API 리스펀스(제1 API 리스펀스 및 제2 API 리스펀스를 포함.) 중 제1 아웃바운드 API 리퀘스트와 대응되는 제1 API 리스펀스를 확인할 수 있다.In step S340, the electronic device (100) can receive an API response from the service server (120). More specifically, the electronic device (100) can wait for a response according to transmission of the first outbound API request, and can receive a second API response, which is a response to the first outbound API request, from the service server including the first service. Accordingly, the electronic device (100) can confirm the first API response corresponding to the first outbound API request among the API responses (including the first API response and the second API response) received from the service server.
단계 S350에서, 전자 장치(100)는 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트 및 대응되는 API 리스펀스를 데이터 스토리지에 저장할 수 있다.In step S350, the electronic device (100) can store an outbound API request including second identification information and a corresponding API response in data storage.
단계 S320 및 단계 S350을 통해, 전자 장치(100)는 제1 식별 정보 및 제2 식별 정보를 기반으로 제1 식별 정보, 제2 식별 정보, 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스를 매칭하여 데이터 스토리지에 저장할 수 있다. 보다 상세하게는, 전자 장치(100)는 제1 아웃 바운드 API 리퀘스트 및 제1 API 리스펀스를 매칭하고, 제2 아웃바운드 API 리퀘스트 및 제2 API 리스펀스를 매칭함으로써, 아웃바운드 API 리퀘스트 및 API 리스펀스를 데이터 스토리지에 저장할 수 있다. 전자 장치(100)는 제1 식별 정보에 기반하여 제1 단말에 대응되는 인바운드 API 리퀘스트를 확인하고, 제2 식별 정보에 기반하여 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트 및 API 리스펀스를 확인할 수 있다.Through steps S320 and S350, the electronic device (100) can match the first identification information, the second identification information, the inbound API request, the outbound API request, and the API response based on the first identification information and the second identification information, and store them in the data storage. More specifically, the electronic device (100) can store the outbound API request and the API response in the data storage by matching the first outbound API request and the first API response, and matching the second outbound API request and the second API response. The electronic device (100) can confirm the inbound API request corresponding to the first terminal based on the first identification information, and confirm the outbound API request and the API response corresponding to the inbound API request based on the second identification information.
단계 S360에서, 전자 장치(100)는 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀츠를 매칭하여 리스트 페이지를 제공할 수 있다. 보다 상세하게는, 리스트 페이지는 제1 단말(110)에 대응되는 제1 식별 정보를 검색함에 따른 제1 단말(110)의 작업 환경에서의 리스트 페이지일 수 있다. 다만, 제1 단말(110)에서만 제1 단말(110)의 작업 환경에서의 리스트 페이지를 확인할 수 있는 것은 아니다.In step S360, the electronic device (100) can provide a list page by matching the inbound API request, the outbound API request, and the API responses. More specifically, the list page can be a list page in the working environment of the first terminal (110) by searching for the first identification information corresponding to the first terminal (110). However, the list page in the working environment of the first terminal (110) is not only confirmed in the first terminal (110).
단계 S370에서, 전자 장치(100)는 리스트 페이지를 제2 단말에도 제공할 수 있다. 보다 상세하게는, 제2 단말로부터 제1 단말(110)의 제1 식별 정보에 대응하는 리스트 페이지에 대한 요청을 수신함에 따라, 전자 장치(100)는 리스트 페이지를 제2 단말에도 제공할 수 있다. 이전에, 제1 단말(110)의 사용자는 제1 단말(100에 대응하는 제1 식별 정보를 제2 단말(110)의 사용자에게 제공할 수 있다.In step S370, the electronic device (100) can also provide the list page to the second terminal. More specifically, upon receiving a request for a list page corresponding to the first identification information of the first terminal (110) from the second terminal, the electronic device (100) can also provide the list page to the second terminal. Previously, the user of the first terminal (110) can provide the first identification information corresponding to the first terminal (100) to the user of the second terminal (110).
단계 S380에서, 전자 장치(100)는 인바운드 API 리퀘스트에 대응되는 기능을 제공할 수 있다. 예를 들어, 전자 장치(100)는 서비스 서버(120)로부터 획득한 정보를 기반으로 API에 대한 요청에 대응되는 전자 상거래 관련 페이지를 생성할 수 있고, 이를 제1 단말(110)에 제공할 수 있다.In step S380, the electronic device (100) can provide a function corresponding to the inbound API request. For example, the electronic device (100) can generate an e-commerce related page corresponding to the request for the API based on information obtained from the service server (120) and provide it to the first terminal (110).
도 4는 제1 단말의 화면을 나타내는 도면이다.Figure 4 is a drawing showing the screen of the first terminal.
일 실시 예에 따르면, 제1 단말(110)은 다양한 기능 및 동작을 수행하는 전자 장치일 수 있다. 보다 상세하게는, 사용자가 제1 단말(110)을 통해 롤 화장지 30m 상품(이하 대상 아이템)의 상세 페이지로 접속하는 것에 관한 기능을 실행시키면, 제1 단말(110)은 페이지(400)와 같은 페이지를 표시할 수 있다. 페이지(400)는 제1 단말(110)의 기능 실행에 따른 복수개의 인바운드 API 리퀘스트와 매칭되는 페이지(400) 상의 복수개의 영역으로 구분될 수 있다.According to one embodiment, the first terminal (110) may be an electronic device that performs various functions and operations. More specifically, when a user executes a function related to accessing a detailed page of a 30m roll toilet paper product (hereinafter, the target item) through the first terminal (110), the first terminal (110) may display a page such as page (400). The page (400) may be divided into a plurality of areas on the page (400) that match a plurality of inbound API requests according to the execution of the function of the first terminal (110).
예를 들면, 페이지(400)의 영역 1(410)은 브레드크럼(breadcrumb)에 관한 영역으로 대상 아이템에 대한 "대 메뉴부터 하위 카테고리"을 표시할 수 있다. 페이지(400)의 영역 2는 영역(421), 영역(422) 및 영역(423)을 포함할 수 있고, 영역 2는 대상 아이템에 대한 이미지, 대상 아이템에 대한 대상 아이템의 이름 정보, 대상 아이템에 대한 평점 정보, 대상 아이템에 대한 평점 수 정보 대상 아이템에 대한 가격 정보를 포함할 수 있다. 페이지(400)의 영역 3(430)은 마이쿠팡 아이콘에 관한 영역으로 요청자(전자 상거래 서비스의 사용자일 수 있다.)의 정보를 표시할 수 있다. 페이지(400)의 영역 4(440)는 할인 정보에 관한 영역을 표시할 수 있다. 페이지(400)의 영역 5(450)는 장바구니에 대한 정보를 표시할 수 있다. 페이지(400)의 영역 6(460)는 페이지(400)의 배너 광고에 대한 영역일 수 있다. 다만 페이지(400)의 영역은 영역 1(410), 영역 2, 영역 3(430), 영역 4(440), 영역 5(450) 및 영역 6(460)뿐만 아니라 배송 정보에 대한 영역도 포함할 수 있다.For example, area 1 (410) of page (400) may be an area related to breadcrumbs and may display "main menu to subcategories" for a target item.
도 2에서 살펴본 바와 같이, 전자 장치(100)는 인바운드 API 리퀘스트와 매칭되는 아웃바운드 API 리퀘스트의 세트에 대한 제1 리스트와 아웃바운드 API 리퀘스트 및 대응되는 API 리스펀스에 대한 제2 리스트를 포함하는 리스트 페이지를 제공할 수 있다. 하기에서는 도 4의 실시 예에 대응되는 리스트 페이지를 제공하는 실시 예에 대해 살펴보기로 한다.As described in FIG. 2, the electronic device (100) can provide a list page including a first list for a set of outbound API requests matching an inbound API request and a second list for the outbound API requests and corresponding API responses. Below, an embodiment that provides a list page corresponding to the embodiment of FIG. 4 will be described.
도 5는 인바운드 API 리퀘스트를 표시하는 리스트 페이지를 나타내는 화면이다.Figure 5 is a screen showing a list page displaying inbound API requests.
일 실시 예에 따르면, 전자 장치(100)는 제1 단말의 기능 실행에 대응되는 복수 개의 인바운드 API 리퀘스트를 확인할 수 있다. 또한, 전자 장치(100)는 제1 단말의 기능 실행에 대응되는 복수 개의 인바운드 API 리퀘스트를 나타내는 리스트 페이지(500)을 제공할 수 있다. 리스트 페이지(500) 및 제1 단말(110)에 표시되는 페이지(400)의 복수 개의 영역 간의 매칭 관계는 하기와 같다.According to one embodiment, the electronic device (100) can check a plurality of inbound API requests corresponding to the execution of a function of the first terminal. In addition, the electronic device (100) can provide a list page (500) indicating a plurality of inbound API requests corresponding to the execution of a function of the first terminal. The matching relationship between the list page (500) and a plurality of areas of the page (400) displayed on the first terminal (110) is as follows.
1) 리스트 페이지(500)의 인바운드 API 리퀘스트(510)는 브레드크럼에 대한 리퀘스트로, 페이지(400)의 영역 1(410)의 "쿠팡 홈, 싱글라이프, 세제/화장지, 화장지, 고급롤화장지(3겹이상)"와 대응될 수 있다. 2) 리스트 페이지(500)의 인바운드 API 리퀘스트(520)는 vendor item ID가 "5077941266"인 아이템에 대한 정보에 관한 리퀘스트로, 페이지(400)의 영역(421), 영역(422) 및 영역(423)에 대응될 수 있다. 3) 리스트 페이지(500)의 인바운드 API 리퀘스트(530)는 사용자 정보에 관한 리퀘스트로, 페이지(400)의 영역(430)과 대응될 수 있다. 4) 리스트 페이지(500)의 인바운드 API 리퀘스트(540)는 vendor item ID가 "5077941266"인 아이템에 할인 정보에 관한 리퀘스트로, 페이지(400)의 영역 4(440)에 대응될 수 있다. 5) 리스트 페이지(500)의 인바운드 API 리퀘스트(550)는 장바구니 카운트에 관한 리퀘스트로, 페이지(400)의 영역 5(450)에 대응될 수 있다. 6) 리스트 페이지(500)의 인바운드 API 리퀘스트(560)는 아이템 "261192458"과 관련된 배너에 대한 리퀘스트로, 페이지(400)의 영역 6(460)에 표시된 롤 화장지 18개에 대한 광고와 대응될 수 있다.1) The inbound API request (510) of the list page (500) is a request for breadcrumbs and may correspond to “Coupang Home, Single Life, Detergent/Toilet Paper, Toilet Paper, Premium Roll Toilet Paper (3 or more layers)” of area 1 (410) of the page (400). 2) The inbound API request (520) of the list page (500) is a request for information on an item whose vendor item ID is “5077941266” and may correspond to areas (421), (422), and (423) of the page (400). 3) The inbound API request (530) of the list page (500) is a request for user information and may correspond to area (430) of the page (400). 4) The inbound API request (540) of the list page (500) is a request for discount information for an item having a vendor item ID of "5077941266" and may correspond to area 4 (440) of the page (400). 5) The inbound API request (550) of the list page (500) is a request for a shopping cart count and may correspond to area 5 (450) of the page (400). 6) The inbound API request (560) of the list page (500) is a request for a banner related to the item "261192458" and may correspond to an advertisement for 18 rolls of toilet paper displayed in area 6 (460) of the page (400).
다만, 리스트 페이지(500)은 전자 장치(100)에만 제공되는 것은 아니다. 다른 사용자는 제1 식별 정보인 "6288215614209259755120"(570)을 입력함으로써, 제1 단말(110)에서의 기능 실행(도 4에 따른 대상 상품의 상세 페이지로의 접속 실행)에 따른 인바운드 API 리퀘스트를 표시한 리스트 페이지(500)를 확인할 수 있다.However, the list page (500) is not only provided to the electronic device (100). Other users can check the list page (500) that displays the inbound API request according to the function execution (execution of access to the detailed page of the target product according to FIG. 4) in the first terminal (110) by entering the first identification information, "6288215614209259755120" (570).
또한, 전자 장치(100)는 제1 식별 정보를 이용하여 데이터 스토리지에 저장된 복수 개의 인바운드 API 리퀘스트 중 제1 단말과 대응되는 인바운드 API 리퀘스트를 확인하고, 제2 식별 정보를 이용하여 데이터 스토리지에 저장된 복수 개의 아웃바운드 API 리퀘스트 및 복수 개의 API 리스펀스 중에서 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트 및 API 리스펀스의 세트를 확인할 수 있다. 이에 따라, 전자 장치(100)는 인바운드 API 리퀘스트와 매칭되는 아웃바운드 API 리퀘스트의 세트에 대한 제1 리스트와 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 제2 리스트를 포함하는 리스트 페이지를 제공할 수 있다. 이와 관련된 구체적인 실시 예를 하기 도 6에서 자세히 살펴본다.In addition, the electronic device (100) can use the first identification information to identify an inbound API request corresponding to the first terminal among a plurality of inbound API requests stored in the data storage, and can use the second identification information to identify a set of outbound API requests and a set of API responses corresponding to the inbound API request among a plurality of outbound API requests and a plurality of API responses stored in the data storage. Accordingly, the electronic device (100) can provide a list page including a first list for a set of outbound API requests matching the inbound API request and a second list for the outbound API requests and API responses. A specific embodiment related thereto will be described in detail with reference to FIG. 6 below.
도 6은 인바운드 API 리퀘스트 및 대응되는 아웃바운드 API 리퀘스트를 표시하는 제1 리스트를 포함하는 리스트 페이지를 나타내는 화면이다.FIG. 6 is a screen showing a list page including a first list displaying inbound API requests and corresponding outbound API requests.
일 실시 예에 따르면, 전자 장치(100)는 인바운드 API 리퀘스트를 제1 레벨로 표시하고, 제1 레벨보다 낮은 제2 레벨로 대응되는 아웃바운드 API 리퀘스트를 표시함으로써, 리스트 페이지(600)를 제공할 수 있다. 예를 들어, 리스트 페이지(600)상의 Index 넘버 12인 "breadcrmb-gnbmenu"에 대한 인바운드 API 리퀘스트(610)을 클릭하면, 전자 장치(100)는 인바운드 API 리퀘스트(610)와 매칭되는 아웃바운드 API 리퀘스트의 세트에 대한 리스트 1을 포함하는 리스트 페이지(600)을 제공할 수 있다. 이와 관련하여, 리스트 페이지(600)는 인바운드 API 리퀘스트와 매칭되는 아웃바운드 API 리퀘스트의 세트의 개수를 인바운드 API 리퀘스트에 대한 행의 Count에 표시할 수 있다. 예를 들어, 인바운드 API 리퀘스트(610)와 매칭되는 아웃바운드 API 리퀘스트의 세트의 개수는 5개일 수 있다. 인바운드 API 리퀘스트(610)와 매칭되는 아웃바운드 API 리퀘스트의 세트는 "hotketword"에 대한 제1 아웃바운드 API 리퀘스트(611), "searchads"에 대한 제2 아웃바운드 API 리퀘스트(612), "member"에 대한 제3 아웃바운드 API 리퀘스트(613), "category-info"에 대한 제4 아웃바운드 API 리퀘스트(614) 및 "document"에 대한 제5 아웃바운드 API 리퀘스트(615)를 포함할 수 있다.According to one embodiment, the electronic device (100) may provide the list page (600) by displaying an inbound API request as a first level and displaying a corresponding outbound API request as a second level lower than the first level. For example, when an inbound API request (610) for "breadcrmb-gnbmenu" having an Index number of 12 on the list page (600) is clicked, the electronic device (100) may provide the list page (600) including
일 실시 예에 따르면, 전자 장치(100)는 아웃 바운드 API 리퀘스트에 대한 정보를 제1 리스트에 표시하여 리스트 페이지(600)에 표시하여 제공할 수 있다. 아웃 바운드 API 리퀘스트에 대한 정보는 아웃바운드 API 리퀘스트의 파일 사이즈에 대한 정보(631), 아웃바운드 API 리퀘스트에 대응되는 Method 정보(632), API 리퀘스트의 성공 여부에 대한 Status 정보(633), 아웃바운드 API 리퀘스트에 모의 데이터(Mock data) 사용 여부에 대한 정보(634), 제2 리스트에 대응되는 아이콘에 대한 정보(635), 아웃바운드 API 리퀘스트의 디버깅 아이콘에 대한 정보(636) 및 아웃바운드 API 리퀘스트의 전송 시간에 대한 정보(637)를 포함할 수 있다.According to one embodiment, the electronic device (100) may display information about an outbound API request in a first list and provide the information by displaying it on a list page (600). The information about the outbound API request may include information about a file size of the outbound API request (631), Method information (632) corresponding to the outbound API request, Status information (633) about whether the API request is successful, Information about whether mock data is used for the outbound API request (634), Information about an icon corresponding to a second list (635), Information about a debugging icon of the outbound API request (636), and Information about a transmission time of the outbound API request (637).
1) 아웃바운드 API 리퀘스트의 파일 사이즈에 대한 정보(636)는 아웃바운드 API 리퀘스트의 파일 사이즈를 나타낼 수 있다. 예를 들어, 제1 아웃바운드 API 리퀘스트(611)의 파일 사이즈는 0.51KB일 수 있다.1) Information (636) about the file size of the outbound API request may indicate the file size of the outbound API request. For example, the file size of the first outbound API request (611) may be 0.51KB.
본원에서의 API는 REST 아키텍처의 제약 조건을 준수하는 REST API(Representational State Transfer)일 수 있다. 구체적으로, API Rest 아키텍처는 HTTP Method를 통해 리소스를 처리하도록 설계된 아키텍처를 의미할 수 있다. 예를 들어, 제3 아웃바운드 API 리퀘스트(613)은 HTTP 규약을 따르며, 리소스인 member를 포함할 수 있다. 하기에서 2) 해당 리소스에 대한 operation을 의미하는 HTTP 프로토콜의 Method인 아웃바운드 API 리퀘스트에 대응되는 Method 정보(632) 및 3) 아웃바운드 API 리퀘스트에의 성공 여부를 나타내는 Status 정보(633)에 대해 자세히 설명하기로 한다.The API in this invention may be a REST API (Representational State Transfer) that complies with the constraints of the REST architecture. Specifically, the API Rest architecture may mean an architecture designed to process resources via HTTP Methods. For example, the third outbound API request (613) complies with the HTTP protocol and may include a member, which is a resource. Below, 2) Method information (632) corresponding to the outbound API request, which is a Method of the HTTP protocol that means an operation on the corresponding resource, and 3) Status information (633) indicating whether the outbound API request is successful will be described in detail.
2) 아웃바운드 API 리퀘스트에 대응되는 Method 정보(632)는 HTTP 프로토콜의 Method에 대한 정보일 수 있다. 예를 들어, ⅰ) Method 정보(632)가 "GET"이면, 서비스 서버(120)는 REST API 리소스에 대한 정보를 검색하여 전자 장치(100)로 API 리스펀스할 수 있다. ⅱ) Method 정보(632)가 "POST"이면, 서비스 서버(120)는 REST API 리소스를 생성하여 전자 장치(100)로 API 리스펀스할 수 있다. ⅲ) Method 정보(632)가 "PUT"이면, 서비스 서버(120)는 REST API 리소스를 업데이트하여 전자 장치(100)로 API 리스펀스할 수 있다. ⅳ) Method 정보(632)가 "DELETE"이면, 서비스 서버(120)는 REST API 리소스 또는 관련 구성을 삭제하여 전자 장치(100)로 API 리스펀스할 수 있다. 다만, Method 정보(632)는 상기 예시에 한정되는 것은 아니다. 도 6을 참조하면, 제1 아웃바운드 API 리퀘스트(610)의 Method 정보는 "POST"인 바, 서비스 서버(120)는 REST API 리소스를 생성하여 전자 장치(100)로 API 리스펀스할 수 있다.2) Method information (632) corresponding to the outbound API request may be information about the Method of the HTTP protocol. For example, i) if the Method information (632) is “GET”, the service server (120) can search for information about a REST API resource and send an API response to the electronic device (100). ii) if the Method information (632) is “POST”, the service server (120) can create a REST API resource and send an API response to the electronic device (100). iii) if the Method information (632) is “PUT”, the service server (120) can update a REST API resource and send an API response to the electronic device (100). iv) if the Method information (632) is “DELETE”, the service server (120) can delete a REST API resource or related configuration and send an API response to the electronic device (100). However, the Method information (632) is not limited to the above example. Referring to FIG. 6, the Method information of the first outbound API request (610) is "POST", so the service server (120) can create a REST API resource and send an API response to the electronic device (100).
3) 아웃바운드 API 리퀘스트에 대응되는 Status 정보(633)는 HTTP 규약에 따른 아웃바운드 API 리퀘스트의 성공 여부에 대한 정보일 수 있다. 예를 들어, ⅰ) Status 정보(633)가 "200"이면, Status 정보(633)는 서비스 서버(120)가 아웃바운드 API 리퀘스트를 정상적으로 처리했다는 정보일 수 있다. ⅱ) Status 정보(633)가 "201"이면, Status 정보(633)는 서비스 서버(120)가 아웃바운드 API 리퀘스트를 정상적으로 처리하고 새로운 리소스가 생겼다는 정보일 수 있다. ⅲ) Status 정보(633)가 "400"이면, Status 정보(633)는 아웃바운드 API 리퀘스트가 유효하지 않아 서비스 서버(120)에서 처리되지 않았다는 정보일 수 있다. 다만, Status 정보(633)는 상기 예시에 한정되는 것은 아니다. 도 6을 참조하면, 제1 아웃바운드 API 리퀘스트(610)의 status 정보는 200인 바, 서비스 서버(120)는 제1 아웃바운드 API 리퀘스트를 정상적으로 처리했음을 알 수 있다.3) Status information (633) corresponding to the outbound API request may be information on whether the outbound API request was successful according to the HTTP protocol. For example, i) if Status information (633) is "200", Status information (633) may be information that the service server (120) normally processed the outbound API request. ii) if Status information (633) is "201", Status information (633) may be information that the service server (120) normally processed the outbound API request and a new resource was created. iii) if Status information (633) is "400", Status information (633) may be information that the outbound API request is invalid and thus was not processed by the service server (120). However, Status information (633) is not limited to the above example. Referring to FIG. 6, the status information of the first outbound API request (610) is 200, indicating that the service server (120) has normally processed the first outbound API request.
4) 아웃바운드 API 리퀘스트에 모의 데이터(Mock data) 사용 여부에 대한 정보(634)는 아웃바운드 API 리퀘스트 및 대응되는 API 리스펀스에 모의 데이터가 사용되었는지 여부를 나타낼 수 있다. 구채적으로, 리스트 페이지는 모의 데이터가 사용되는지 여부에 따라 아웃바운드 API 리퀘스트에 대응되는 슬라이드 버튼을 상이하게 표시하 수 있다. 예를 들면, 도 6을 참조하면, 제1 아웃바운드 API 리퀘스트(610)에 모의 데이터(Mock data) 사용 여부에 대한 정보(634)는 제1 아웃바운드 API 리퀘스트(610) 및 대응되는 API 리스펀스에 모의 데이터가 사용되지 않았음을 나타내고 있다.4) Information (634) on whether mock data is used for the outbound API request may indicate whether mock data is used for the outbound API request and the corresponding API response. Specifically, the list page may display a slide button corresponding to the outbound API request differently depending on whether mock data is used. For example, referring to FIG. 6, information (634) on whether mock data is used for the first outbound API request (610) indicates that mock data is not used for the first outbound API request (610) and the corresponding API response.
5) 제2 리스트에 대응되는 아이콘에 대한 정보(635)는 아웃바운드 API 리퀘스트 및 대응되는 API 리스펀스에 대한 제2 리스트와 대응될 수 있다. 예를 들어, 리스트 페이지(600)에 표시된 제1 아웃바운드 API 리퀘스트(611)의 view 버튼을 통해 입력에 대응하여, 전자 장치(100)는 아웃바운드 API 리퀘스트 및 대응되는 API 리스펀스에 대한 제2 리스트를 제공할 수 있다.5) Information (635) about an icon corresponding to the second list may correspond to a second list for an outbound API request and a corresponding API response. For example, in response to an input through a view button of a first outbound API request (611) displayed on a list page (600), the electronic device (100) may provide a second list for an outbound API request and a corresponding API response.
6) 아웃바운드 API 리퀘스트의 디버깅 아이콘에 대한 정보(636)는 대응되는 아웃바운드 API 리퀘스트를 디버깅할 때 사용될 수 있다. 보다 상세하게는, 전자 장치(100)는 복수 개의 아웃바운드 API 리퀘스트 중 제1 아웃바운드 API 리퀘스트(611)만 curl하여 테스트할 수 있도록 리스트 페이지(600)에 해당 아웃바운드 API 리퀘스트의 디버깅 아이콘을 표시하여 제공할 수 있다.6) Information (636) on the debugging icon of the outbound API request can be used when debugging the corresponding outbound API request. More specifically, the electronic device (100) can display the debugging icon of the corresponding outbound API request on the list page (600) so that only the first outbound API request (611) among multiple outbound API requests can be curled and tested.
7) 아웃바운드 API 리퀘스트의 전송 시간에 대한 정보(637)는 아웃바운드 API 리퀘스트가 전송된 시간에 대한 정보를 포함할 수 있다. 예를 들어, 제1 아웃바운드 API 리퀘스트는 2022.05.13 9시 5분 59초에 전송되었음을 확인할 수 있다.7) Information about the transmission time of the outbound API request (637) may include information about the time the outbound API request was transmitted. For example, it can be confirmed that the first outbound API request was transmitted at 9:05:59 on 2022.05.13.
살펴본 바와 같이, 리스트 페이지(600)의 제2 리스트에 대응되는 아이콘을 통한 입력에 대응하여, 전자 장치(100)는 아웃바운드 API 리퀘스트 및 API 리스펀스를 포함하는 제2 페이지를 제공할 수 있다. 도 7a 및 도 7b에서 리스트 페이지(600)의 제1 아웃바운드 API 리퀘스트(611) 및 대응되는 API 리스펀스를 표시하는 제2 페이지에 대해 설명하기로 한다.As described above, in response to an input via an icon corresponding to the second list of the list page (600), the electronic device (100) can provide a second page including an outbound API request and an API response. The second page displaying the first outbound API request (611) and the corresponding API response of the list page (600) will be described in FIGS. 7A and 7B.
도 7a는 제1 아웃바운드 API 리퀘스트(611)의 리퀘스트 헤더의 소스 코드에 대한 화면을 나타내고 있다.Figure 7a shows a screen for the source code of the request header of the first outbound API request (611).
일 실시 예에 따르면, 전자 장치(100)는 리퀘스트에 대한 아이콘(710), 레퀘스트 헤더에 대한 아이콘(720) 및 리스펀스에 대한 아이콘(730)을 통한 입력에 대응하여, 제1 아웃바운드 API 리퀘스트(611), 제1 아웃바운드 API 리퀘스트(611)의 리퀘스트 헤더 및 제1 아웃바운드 API 리퀘스트(611)에 대응하는 API 리스펀스에 대한 소스 코드를 포함하는 제2 리스트를 제공할 수 있다. According to one embodiment, the electronic device (100) may provide a second list including a first outbound API request (611), a request header of the first outbound API request (611), and source code for an API response corresponding to the first outbound API request (611), in response to inputs via an icon for a request (710), an icon for a request header (720), and an icon for a response (730).
도 7a를 참조하면, 제1 화면(700)은 제1 아웃바운드 API 리퀘스트(611)의 리퀘스트 헤더의 소스 코드에 대한 화면일 수 있다. 제1 아웃바운드 API 리퀘스트(611)은 "hotkeyword"에 대한 리퀘스트일 수 있다.Referring to FIG. 7a, the first screen (700) may be a screen for the source code of the request header of the first outbound API request (611). The first outbound API request (611) may be a request for a “hotkeyword”.
본원에서, 아웃바운드 API 리퀘스트는 HTTP 규약에 따른 리퀘스트일 수 있고, 서비스 서버 호스트 이름 및 포트 번호와 관련된"HOST"에 대한 라인(721), 최근 접속한 웹 페이지의 URL 주소 정보와 관련된 "REFERER"에 대한 라인(722), 서버가 지원 가능한 언어와 관련된 "ACCEPT-LANGUAGE"에 대한 라인(723), 서버가 처리 가능한 미디어 타입 종류와 관련된 "ACCEPT"에 대한 라인(724) 및 서버에서 지원되는 압축 방식에 관련된 "ACCEPT ENCODING"에 대한 라인(725)를 포함할 수 있다.In the present invention, an outbound API request may be a request according to the HTTP protocol, and may include a line (721) for "HOST" related to a service server host name and port number, a line (722) for "REFERER" related to URL address information of a recently accessed web page, a line (723) for "ACCEPT-LANGUAGE" related to a language that the server can support, a line (724) for "ACCEPT" related to a media type type that the server can process, and a line (725) for "ACCEPT ENCODING" related to a compression method supported by the server.
도 7b는 제1 아웃바운드 API 리퀘스트(611)에 대응되는 API 리스펀스의 소스 코드에 대한 화면을 나타내고 있다.Figure 7b shows a screen for the source code of an API response corresponding to the first outbound API request (611).
도 7b를 참조하면, 제2 화면(750)은 제1 아웃바운드 API 리퀘스트(611)에 대응되는 API 리퀘스트에 대한 화면일 수 있다. 전자 장치(100)는 리스펀스에 대한 아이콘(730)을 통한 입력에 대응하여, API 리스펀스에 대한 소스 코드를 포함하는 제2 리스트를 제고할 수 있다. 제2 화면(750)은 제1 아웃바운드 API 리퀘스트(611)에 대응되는 Status 정보(731)인 "200"을 포함할 수 있다. 따라서, 서비스 서버(120)가 제1 아웃바운드 API 리퀘스트(611)를 정상적으로 처리했음을 알 수 있다. Referring to FIG. 7b, the second screen (750) may be a screen for an API request corresponding to the first outbound API request (611). The electronic device (100) may, in response to an input through an icon (730) for a response, provide a second list including a source code for the API response. The second screen (750) may include “200”, which is Status information (731) corresponding to the first outbound API request (611). Accordingly, it may be known that the service server (120) has normally processed the first outbound API request (611).
API 리스펀스는 "hotkeyword"에 대한 제1 아웃바운드 API 리퀘스트(611)에 대응되는 API 리스펀스로, 키워드 및 키워드에 대한 등급에 대한 정보를 포함할 수 있다. 예를 들면, API 리스펀스는 키워드 목록으로 "식용유", "연애고사", "쉬폰핑크", "1번", "카놀라유"을 포함할 수 있고, 대응되는 등급으로 "0", "10", "10", "10", "10"을 포함할 수 있다.The API response is an API response corresponding to the first outbound API request (611) for the "hotkeyword" and may include information about the keyword and the level of the keyword. For example, the API response may include a list of keywords including "cooking oil", "love test", "chiffon pink", "
도 8은 일 실시 예에 따른, 제1 단말 및 제2 단말을 통해 오류가 있다고 API 리퀘스트 또는 API 리스펀스를 수정하는 실시 예에 관한 도면이다.FIG. 8 is a diagram illustrating an example of modifying an API request or API response when an error occurs through a first terminal and a second terminal according to an embodiment of the present invention.
전자 장치(100)가 제공하는 리스트 페이지를 통해, 제1 단말(110)의 기능 수행에 대응되는 API 리퀘스트(여기서, API 리퀘스트는 인바운드 API 리퀘스트 및 아웃바운드 API 리퀘스트를 포함할 수 있다.) 및 API 리스펀스 중 오류가 있다고 확인된 API 리퀘스트 또는 API 리스펀스를 확인할 수 있다. 이에 따라, 하기에서는 오류가 있다고 확인된 API 리퀘스트 또는 API 리스펀스를 수정하는 구체적인 실시 예에 대해 살펴보기로 한다.Through the list page provided by the electronic device (100), an API request corresponding to the performance of a function of the first terminal (110) (here, the API request may include an inbound API request and an outbound API request) and an API request or API response that is determined to have an error among the API responses can be checked. Accordingly, a specific embodiment of correcting an API request or API response that is determined to have an error will be examined below.
일 실시 예에 따르면, 전자 장치(100)는 제1 단말(110)로부터 오류가 있다고 확인된 대상 인바운드 API 리퀘스트(810)에 대한 정보를 확인할 수 있다. 아웃바운드 API 리퀘스트 또는 API 리스펀스에 오류가 있는 것으로 확인되면, 전자 장치(100)는 오류가 있다고 확인된 아웃바운드 API 리퀘스트 또는 API 리스펀스와 대응되는 대상 인바운드 API 리퀘스트(810)에 대한 정보를 수신할 수 있다. According to one embodiment, the electronic device (100) can check information about a target inbound API request (810) that is determined to have an error from the first terminal (110). If an outbound API request or API response is determined to have an error, the electronic device (100) can receive information about a target inbound API request (810) that corresponds to the outbound API request or API response that is determined to have an error.
이에 따라, 전자 장치(100)는 대상 인바운드 API 리퀘스트(810)에 대한 정보를 기반으로 제2 식별 정보, 대상 인바운드 API 리퀘스트에 대응되는 URL 정보 및 대상 인바운드 API 리퀘스트에 대응되는 시간 정보를 확인할 수 있다. 이에 따라, 전자 장치(100)는 제1 식별 정보, 제2 식별 정보, 대상 인바운드 API 리퀘스트(810)에 대응되는 URL 정보 및 대상 인바운드 API 리퀘스트에 대응되는 시간 정보를 포함하는 정보(820)를 제2 단말(800)로 전송할 수 있다. Accordingly, the electronic device (100) can check the second identification information, URL information corresponding to the target inbound API request, and time information corresponding to the target inbound API request based on the information about the target inbound API request (810). Accordingly, the electronic device (100) can transmit information (820) including the first identification information, the second identification information, URL information corresponding to the target inbound API request (810), and time information corresponding to the target inbound API request to the second terminal (800).
다만, 제2 단말(800)은 하기와 같은 다른 실시 예에 따라 정보(820)와 동일한 정보(830)을 수신할 수도 있다. 예를 들어, 리스트 페이지에 제1 단말(110)에 대응되는 제1 식별 정보를 검색함으로써, 다른 단말을 사용하는 사용자도 제1 단말(110)의 기능 실행에 매칭되는 API 리퀘스트 및 API 리스펀스를 표시하는 리스트 페이지를 확인할 수 있다. 이에 따라, 제1 단말(110)의 사용자는 제2 단말(800)의 사용자에게 API 리퀘스트 및 API 리스펀스를 표시하는 리스트 페이지를 공유할 수 있다. 따라서, 서로 다른 단말을 사용하는 복수의 사용자들은 리스트 페이지를 통해, API 리퀘스트 및 API 리스펀스 중 오류가 있는 부분을 함께 수정하여 테스트할 수 있다. 제1 단말(110)의 사용자는 리스트 페이지를 통해 오류가 있는 인바운드 API 리퀘스트를 확인한 후, 제1 식별 정보, 제2 식별 정보, 대상 인바운드 API 리퀘스트(810)에 대응되는 URL 정보 및 대상 인바운드 API 리퀘스트에 대응되는 시간 정보를 포함하는 정보(830)를 제2 단말(800)로 전송할 수 있다.However, the second terminal (800) may also receive the same information (830) as the information (820) according to another embodiment as follows. For example, by searching for the first identification information corresponding to the first terminal (110) in the list page, a user using another terminal can also check the list page displaying the API request and API response matching the function execution of the first terminal (110). Accordingly, the user of the first terminal (110) can share the list page displaying the API request and API response with the user of the second terminal (800). Accordingly, multiple users using different terminals can test and correct an erroneous part among the API request and API response together through the list page. A user of the first terminal (110) can check an inbound API request with an error through a list page, and then transmit information (830) including first identification information, second identification information, URL information corresponding to the target inbound API request (810), and time information corresponding to the target inbound API request to the second terminal (800).
제1 식별 정보, 제2 식별 정보, 대상 인바운드 API 리퀘스트(810)에 대응되는 URL 정보 및 대상 인바운드 API 리퀘스트에 대응되는 시간 정보를 획득한 제2 단말(800)의 사용자는 리스트 페이지에 제1 식별 정보를 검색함으로써, 제1 단말(110)에서 오류가 있다고 확인된 대상 인바운드 API 리퀘스트(810)를 식별할 수 있다. 이에 따라, 제2 단말(800)의 사용자는 대상 인바운드 API 리퀘스트(810), 대상 인바운드 API 리퀘스트(810)에 대응되는 아웃 바운드 API 리퀘스트 및 API 리스펀스 중 오류가 있는 API 리퀘스트 또는 API 리스펀스를 확인할 수 있다.A user of a second terminal (800) who has obtained first identification information, second identification information, URL information corresponding to a target inbound API request (810), and time information corresponding to the target inbound API request can identify a target inbound API request (810) that has been identified as having an error in the first terminal (110) by searching for the first identification information on a list page. Accordingly, the user of the second terminal (800) can check an API request or API response that has an error among the target inbound API request (810), an outbound API request corresponding to the target inbound API request (810), and an API response.
일 실시 예에 따르면, 전자 장치(100)는 제2 단말(110)로부터 인바운드 API 리퀘스트, 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트 및 API 리스펀스 중 적어도 하나를 수정한 수정 데이터(840)를 수신할 수 있다. 예를 들어, 도 8의 수정 데이터(840)는 API 리스펀스에 오류가 있는 요소를 수정한 데이터일 수 있다. 보다 상세하게는, 전자 장치(100)는 수정 데이터(840)에 기반하여, 인바운드 API 리퀘스트, 대응되는 아웃바운드 API 리퀘스트 및 API 리스펀스 중 적어도 하나를 수정할 수 있다. 예를 들어, 수정 전의 API 리스펀스는 무료 배송의 임계 가격과 관련하여 "fresh": 15000, "global": 29800(851)라는 리스펀스를 포함할 수 있다. 또한, 전자 장치(100)는 수정 데이터(840)에 기반하여 fresh": 15000, "global": 29800(851)를 fresh": 29800, "global": 15000(852)로 수정할 수 있다. 이에 따라, 전자 장치(100)는 수정 데이터(840)을 기반으로 수정된 API 리스펀스(860)에 따라, 제1 단말(110)은 제1 단말(110)의 기능을 개선하여 수행할 수 있다.According to one embodiment, the electronic device (100) may receive, from the second terminal (110), modified data (840) that modifies at least one of an inbound API request, an outbound API request corresponding to the inbound API request, and an API response. For example, the modified data (840) of FIG. 8 may be data that modifies an element having an error in the API response. More specifically, the electronic device (100) may modify at least one of the inbound API request, the corresponding outbound API request, and the API response based on the modified data (840). For example, the API response before modification may include a response such as "fresh": 15000, "global": 29800 (851) in relation to a threshold price of free shipping. In addition, the electronic device (100) can modify "fresh": 15000, "global": 29800 (851) to "fresh": 29800, "global": 15000 (852) based on the modification data (840). Accordingly, the electronic device (100) can perform the first terminal (110) by improving the function of the first terminal (110) according to the modified API response (860) based on the modification data (840).
도 9는 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트의 세트를 수정하는 실시 예를 설명하기 위한 도면이다.FIG. 9 is a diagram for explaining an embodiment of modifying a set of outbound API requests corresponding to inbound API requests.
도 9는 Index 넘버 12인 "category-layer"에 대한 인바운드 API 리퀘스트에 대응되는 복수 개의 아웃바운드 API 리퀘스트의 세트에 포함되는 아웃바운드 API 리퀘스트 개수에 따른 제1 리스트 페이지(900), 제2 리스트 페이지(930) 및 제3 리스트 페이지(960)을 나타내고 있다.FIG. 9 illustrates a first list page (900), a second list page (930), and a third list page (960) according to the number of outbound API requests included in a set of multiple outbound API requests corresponding to an inbound API request for “category-layer” having an index number of 12.
1) 일 실시 예에 따르면, 전자 장치(100)는 제2 식별 정보에 기반하여, 데이터 스토리지로부터 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트를 확인하고, 세트에 포함되는 아웃바운드 API 리퀘스트 중 중복되는 아웃바운드 API인 제1 아웃바운드 API 리퀘스트를 확인하고, 세트에서 제1 아웃바운드 API 리퀘스트를 삭제하여 수정된 세트를 확인하고, 및 인바운드 API 리퀘스트를 재 확인하면 수정된 세트에 기반하여 제2 식별 정보를 포함하는 수정된 세트의 아웃바운드 API 리퀘스트를 전송할 수 있다.1) According to one embodiment, the electronic device (100) may verify a set of outbound API requests corresponding to an inbound API request from a data storage based on second identification information, verify a first outbound API request that is a duplicate outbound API among the outbound API requests included in the set, verify a modified set by deleting the first outbound API request from the set, and re-verify the inbound API request, and transmit an outbound API request of the modified set including second identification information based on the modified set.
예를 들어, 제2 리스트 페이지(930)에 표시된 Index 넘버 12인 "category-layer"에 대한 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트의 세트는 4개의 아웃바운드 API 리퀘스트를 포함할 수 있다. 다만, 제1 아웃바운드 API 리퀘스트(931) 및 제2 아웃바운드 API 리퀘스트(932)는 중복될 수 있다. 제1 아웃바운드 API 리퀘스트(931) 및 제2 아웃바운드 API 리퀘스트(932)가 중복되면, 제1 단말(110)에서 동일한 기능을 수행하더라도 API 리퀘스트 및 API 리스펀스 과정에서 더 많은 리소스가 할당되는 문제가 있다. 이에 따라, 전자 장치(100)는 제1 아웃바운드 API 리퀘스트(931) 및 제2 아웃바운드 API 리퀘스트(932) 중 하나를 삭제하여 아웃바운드 API 리퀘스트의 수정된 세트를 확인할 수 있다. 예를 들면, 제1 리스트 페이지(900)에서와 같이 수정된 세트는 중복되지 않는 3개의 아웃바운드 API 리퀘스트로 구성될 수 있다.For example, a set of outbound API requests corresponding to an inbound API request for "category-layer" with an Index number of 12 displayed on the second list page (930) may include four outbound API requests. However, the first outbound API request (931) and the second outbound API request (932) may be duplicated. If the first outbound API request (931) and the second outbound API request (932) are duplicated, there is a problem that more resources are allocated in the API request and API response process even if the same function is performed in the first terminal (110). Accordingly, the electronic device (100) may check a modified set of outbound API requests by deleting one of the first outbound API request (931) and the second outbound API request (932). For example, a modified set, such as in the first list page (900), may consist of three non-duplicate outbound API requests.
2) 일 실시 예에 따르면, 전자 장치(100)는 제2 식별 정보에 기반하여 데이터 스토리지로부터 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트를 확인하고, API에 대한 스펙 정보에 기반하여, 세트에 포함되지 않는 제1 아웃바운드 API 리퀘스트를 확인하고, 세트에 제1 아웃바운드 API 리퀘스트를 추가하여 수정된 세트를 확인하고 및 인바운드 API 리퀘스트를 재 확인하면, 수정된 세트에 기반하여 제2 식별 정보를 포함하는 수정된 세트의 아웃바운드 API 리퀘스트를 전송할 수 있다.2) According to one embodiment, the electronic device (100) may identify a set of outbound API requests corresponding to an inbound API request from a data storage based on second identification information, identify a first outbound API request not included in the set based on specification information about the API, identify a modified set by adding the first outbound API request to the set, and re-verify the inbound API request, and transmit an outbound API request of the modified set including the second identification information based on the modified set.
예를 들어, 제2 리스트 페이지(930)에 표시된 Index 넘버 12인 "category-layer"에 대한 인바운드 API 리퀘스트에 대응되는 아웃바운드 API 리퀘스트의 세트는 2개의 아웃바운드 API 리퀘스트를 포함할 수 있다. 전자 장치(100)는 인바운드 API 리퀘스트에 대응되는 API에 대한 스펙 정보에 기반하여, 아웃바운드 API 리퀘스트의 세트에 포함되지 않은 제3 아웃바운드 API 리퀘스트(903)를 확인할 수 있다. 여기서, 인바운드 API 리퀘스트에 대응되는 API에 대한 스펙 정보는 통상적으로 인바운드 API 리퀘스트에 대응되는 복수 개의 아웃바운드 API 리퀘스트의 세트에 대한 정보일 수 있다. 예를 들어, Index 넘버 12인 "category-layer"에 대한 인바운드 API 리퀘스트에 대응되는 API에 대한 스펙 정보는 제1 아웃바운드 API 리퀘스트(901), 제2 아웃바운드 API 리퀘스트(902) 및 제3 아웃바운드 API 리퀘스트(903)를 포함하는 제1세트에 대한 정보를 포함할 수 있다. 이에 따라, 전자 장치(100)는 아웃바운드 API 리퀘스트의 세트 및 제1 세트를 비교하여, API 리퀘스트의 세트에 포함되지 않는 제3 아웃바운드 API 리퀘스트(903)를 확인할 수 있다. 이에 따라, 전자 장치(100)는 아웃바운드 API 리퀘스트의 세트에서 제3 아웃바운드 API 리퀘스트(903)를 추가함으로써 아웃바운드 API 리퀘스트의 수정된 세트를 확인할 수 있다. 예를 들면, 제1 리스트 페이지(900)에서와 같이 수정된 세트는 3개의 아웃바운드 API 리퀘스트로 구성될 수 있다.For example, a set of outbound API requests corresponding to an inbound API request for "category-layer" with an Index number of 12 displayed on a second list page (930) may include two outbound API requests. The electronic device (100) may identify a third outbound API request (903) that is not included in the set of outbound API requests, based on specification information for an API corresponding to the inbound API request. Here, the specification information for the API corresponding to the inbound API request may typically be information on a set of a plurality of outbound API requests corresponding to the inbound API request. For example, the specification information for an API corresponding to an inbound API request for "category-layer" having an index number of 12 may include information on a first set including a first outbound API request (901), a second outbound API request (902), and a third outbound API request (903). Accordingly, the electronic device (100) can compare the set of outbound API requests and the first set to identify the third outbound API request (903) that is not included in the set of API requests. Accordingly, the electronic device (100) can identify a modified set of outbound API requests by adding the third outbound API request (903) to the set of outbound API requests. For example, the modified set may be composed of three outbound API requests, such as in the first list page (900).
일 실시 예에 따르면, 전자 장치(100)가 제공한 리스트 페이지를 통해 아웃바운드 API 리퀘스트에 모의 데이터(Mock data) 사용 여부에 대한 정보(634)에서 살펴본 바와 같이, API 리퀘스트 및 API 리스펀스를 모의 데이터로 수정할 수 있다. 이에 대한 내용을 하기에서 자세히 살펴보기로 한다.According to one embodiment, as seen in the information (634) on whether mock data is used for an outbound API request through the list page provided by the electronic device (100), API requests and API responses can be modified with mock data. This will be examined in detail below.
도 10a, 도 10b 및 도 10c는 API 리퀘스트 및 API 리스펀스를 모의하는 일 실시 예를 나타내는 도면이다.FIGS. 10a, 10b and 10c are diagrams illustrating an example embodiment of simulating an API request and an API response.
도 10a를 참조하면, 전자 장치(100)가 제공하는 리스트 페이지(1000)이 도시되어 있다. 사용자는 API 리퀘스트 및 API 리스펀스 중 Mocking이 요구되는 대상 API 리퀘스트 또는 대상 API 리스펀스를 확인할 수 있다. 예를 들어, 사용자는 리스트 페이지에서 Mocking이 필요한 제1 아웃바운드 API 리퀘스트(1011) 및 제2 아웃바운드 API 리퀘스트(1012)를 선택하고, "Save as mock data"(1020)를 클릭할 수 있다. 또한, 사용자는 제1 아웃바운드 API 리퀘스트(1011)에 대응되는 API 리스펀스에 Mocking이 필요한 경우에도 제1 아웃바운드 API 리퀘스트(1011)를 선택할 수 있다.Referring to FIG. 10A, a list page (1000) provided by an electronic device (100) is illustrated. A user can check a target API request or target API response that requires mocking among API requests and API responses. For example, a user can select a first outbound API request (1011) and a second outbound API request (1012) that require mocking on the list page and click "Save as mock data" (1020). In addition, a user can select the first outbound API request (1011) even when mocking is required for an API response corresponding to the first outbound API request (1011).
도 10b를 참조하면, "Save as mock data"(1020) 클릭에 대응하여, 전자 장치(100)는 mock data 관한 정보를 입력하는 페이지(1030)을 표시할 수 있다. 예를 들어, 사용자는 페이지(1030)을 통해 프로젝트로 "Test Project"(1031), Scenario로 "A"(1032) 및 Group name을 "test for A"(1033)로 입력 할 수 있고, "Save"(1034)를 클릭하여 mock data에 관한 정보를 저장할 수 있다.Referring to FIG. 10b, in response to clicking “Save as mock data” (1020), the electronic device (100) may display a page (1030) for entering information about the mock data. For example, the user may enter “Test Project” (1031) as the project, “A” (1032) as the scenario, and “test for A” (1033) as the group name through the page (1030), and click “Save” (1034) to save the information about the mock data.
도 10c를 참조하면, 전자 장치(100)는 Mocking이 요구되는 대상 API 리퀘스트 또는 대상 API 리스펀스 를 편집하는 페이지(1040)를 제공할 수 있다. 예를 들어, 사용자는 페이지(1040)을 통해 프로젝트 이름으로 "Test Project"(1041), Scenario로 "A"(1042)를 입력함으로써, "Test Project"프로젝트에 "A"이름으로 저장된 Mock data의 리스트를 확인할 수 있다. 사용자는 페이지(1040)에 표시되는 URL 및 Create Time에 대한 정보에 기반하여, Mock data의 리스트에서 Mocking이 요구되는 대상 API 리퀘스트 또는 대상 API 리스펀스를 확인할 수 있다. 이에 따라, 페이지(1040)의 Edit 아이콘(1043)을 통한 입력에 대응하여 전자 장치(100)는 입력이 수신된 대상 API 리퀘스트 또는 대상 API 리스펀스를 편집하기 위한 인터페이스를 제공할 수 있다.Referring to FIG. 10c, the electronic device (100) may provide a page (1040) for editing a target API request or a target API response for which mocking is required. For example, a user may input “Test Project” (1041) as a project name and “A” (1042) as a scenario through the page (1040), thereby checking a list of mock data saved under the name “A” in the “Test Project” project. Based on the information about the URL and Create Time displayed on the page (1040), the user may check the target API request or the target API response for which mocking is required in the list of mock data. Accordingly, in response to an input through the Edit icon (1043) of the page (1040), the electronic device (100) may provide an interface for editing the target API request or the target API response for which an input has been received.
도 11은 일 실시 예에 따른 정보를 제공하기 위한 전자 장치를 도식화한 블록도이다.FIG. 11 is a block diagram schematically illustrating an electronic device for providing information according to one embodiment.
도 11의 전자 장치(1100)은 본원 명세서의 전자 장치(100)에 대응될 수 있다.The electronic device (1100) of Fig. 11 may correspond to the electronic device (100) of the present specification.
본 개시의 전자 장치(1100)는 일 실시 예에 따라, 트랜시버(1110), 프로세서(1120) 및 스토리지(1130)를 포함할 수 있다. 도 11에 도시된 구성요소들은 전자 장치를 구현하는데 있어서 필수적인 것은 아니어서, 본 명세서 상에서 설명되는 전자 장치(1100)는 위에서 열거된 구성요소들 보다 많거나, 또는 적은 구성요소들을 가질 수 있음을 본 실시 예와 관련된 기술분야에서 통상의 지식을 가진 자라면 이해할 수 있다. 한편 실시 예에서 프로세서(1120)는 적어도 하나의 프로세서를 포함할 수 있다. 또한, 전자 장치(1100)는 서버 또는 프록시 서버(Proxy Server)로 동작할 수도 있다.The electronic device (1100) of the present disclosure may include, according to an embodiment, a transceiver (1110), a processor (1120), and storage (1130). The components illustrated in FIG. 11 are not essential for implementing the electronic device, and thus, it will be understood by those skilled in the art related to the present embodiment that the electronic device (1100) described in the present specification may have more or fewer components than the components listed above. Meanwhile, in the embodiment, the processor (1120) may include at least one processor. In addition, the electronic device (1100) may also operate as a server or a proxy server.
트랜시버(1110)는 유무선 통신 기술을 이용하여 외부의 장치와 통신할 수 있으며 트랜시버(1110)를 포함할 수 있다. 외부의 장치는 개발자, 품질 보증 팀의 단말을 포함하는 단말 또는 서버가 될 수 있다. 또한, 트랜시버(1110)가 이용하는 통신 기술에는 GSM(Global System for Mobile communication), CDMA(Code Division Multi Access), LTE(Long Term Evolution), 5G, WLAN(Wireless LAN), Wi-Fi(Wireless-Fidelity), 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(Infrared Data Association; IrDA), ZigBee, NFC(Near Field Communication) 등이 있을 수 있으며, 이에 한정되는 것은 아니다.The transceiver (1110) can communicate with an external device using wired or wireless communication technology and can include the transceiver (1110). The external device can be a terminal or a server including a terminal of a developer or a quality assurance team. In addition, the communication technology used by the transceiver (1110) can include, but is not limited to, GSM (Global System for Mobile communication), CDMA (Code Division Multi Access), LTE (Long Term Evolution), 5G, WLAN (Wireless LAN), Wi-Fi (Wireless-Fidelity), Bluetooth, RFID (Radio Frequency Identification), Infrared Data Association (IrDA), ZigBee, NFC (Near Field Communication), etc.
일 실시 예에 따라, 트랜시버(1110)는 제1 단말(110) 및 서비스 서버(120)과 통신하여 정보를 주고받을 수 있다. 보다 구체적으로, 트랜시버(1100)는 서비스 서버(120)와 API 리퀘스트 및 API 리스펀스를 송수신할 수 있다. 예를 들어, 트랜시버(1100)는 제1 단말(110)로부터 범용 고유 식별자와 같은 정보를 획득할 수 있다. 트랜시버(1100)는 서비스 서버(120)로 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스를 전송하고, 서비스 서버로부터 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스를 수신할 수 있다.According to one embodiment, the transceiver (1110) may communicate with the first terminal (110) and the service server (120) to exchange information. More specifically, the transceiver (1100) may transmit and receive API requests and API responses with the service server (120). For example, the transceiver (1100) may obtain information such as a universal unique identifier from the first terminal (110). The transceiver (1100) may transmit an outbound API request including second identification information to the service server (120), and receive an API response corresponding to the outbound API request from the service server.
프로세서(1120)는 전자 장치(1100)의 전반적인 동작을 제어하고 데이터 및 신호를 처리할 수 있다. 프로세서(1120)는 도 1 내지 도 11를 통하여 전술한 하나의 방법을 수행할 수 있다. 프로세서(1120)는 트랜시버(1110) 및 스토리지(1130)와, 나아가 전자 장치(1100)가 더 포함할 수 있는 구성요소들과의 상호 작용을 통해 전자 장치(1100)가 수행하는 실시 예들을 제어할 수 있다. 일 실시 예에 따라, 프로세서(1120)는 제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트를 확인하고, 인바운드 API 리퀘스트에 제2 식별 정보를 할당하고, 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하고, 인바운드 API 리퀘스트를 기반으로 서비스 서버(120)에 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트를 전송하고, 서비스 서버(120)로부터 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스를 수신하고, 및 인바운드 API 리퀘스트, 아웃바운드 API 리퀘스트 및 API 리스펀스에 대한 리스트 페이지를 제공할 수 있다.The processor (1120) can control the overall operation of the electronic device (1100) and process data and signals. The processor (1120) can perform one of the methods described above through FIGS. 1 to 11. The processor (1120) can control embodiments performed by the electronic device (1100) through interaction with the transceiver (1110) and the storage (1130), and further components that the electronic device (1100) can include. According to one embodiment, the processor (1120) may verify an inbound API request including first identification information about a requester and request information about an API based on information acquired from a first terminal, assign second identification information to the inbound API request, verify a service server corresponding to the inbound API request, transmit an outbound API request including the second identification information to the service server (120) based on the inbound API request, receive an API response corresponding to the outbound API request from the service server (120), and provide a list page for the inbound API request, the outbound API request, and the API response.
스토리지(1130)는 도 1 내지 도 11를 통하여 전술한 적어도 하나의 방법을 수행하기 위한 정보를 저장할 수 있다. 스토리지(1130)는 메모리로 호칭될 수 있고, 휘발성 메모리 또는 비휘발성 메모리일 수 있다. 예를 들어, 스토리지(1130)은 도 3의 데이터 스토리지를 포함할 수 있다.Storage (1130) can store information for performing at least one of the methods described above through FIGS. 1 to 11. Storage (1130) can be referred to as memory and can be volatile memory or nonvolatile memory. For example, storage (1130) can include data storage of FIG. 3.
한편, 본 명세서와 도면에는 본 발명의 바람직한 실시 예에 대하여 개시하였으며, 비록 특정 용어들이 사용되었으나, 이는 단지 본 발명의 기술 내용을 쉽게 설명하고 발명의 이해를 돕기 위한 일반적인 의미에서 사용된 것이지, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시 예 외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다.Meanwhile, the present specification and drawings have disclosed preferred embodiments of the present invention, and although specific terms have been used, they have been used only in a general sense to easily explain the technical contents of the present invention and to help understand the invention, and are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modified examples based on the technical idea of the present invention can be implemented in addition to the embodiments disclosed herein.
전술한 실시 예들에 따른 전자 장치 또는 단말은, 프로세서, 프로그램 데이터를 저장하고 실행하는 메모리, 디스크 드라이브와 같은 영구 저장부(permanent storage), 외부 장치와 통신하는 통신 포트, 터치 패널, 키(key), 아이콘 등과 같은 사용자 인터페이스 장치 등을 포함할 수 있다. 소프트웨어 모듈 또는 알고리즘으로 구현되는 방법들은 상기 프로세서상에서 실행 가능한 컴퓨터가 읽을 수 있는 코드들 또는 프로그램 명령들로서 컴퓨터가 읽을 수 있는 기록 매체 상에 저장될 수 있다. 여기서 컴퓨터가 읽을 수 있는 기록 매체로 마그네틱 저장 매체(예컨대, ROM(read-only memory), RAM(random-Access memory), 플로피 디스크, 하드 디스크 등) 및 광학적 판독 매체(예컨대, 시디롬(CD-ROM), 디브이디(DVD: Digital Versatile Disc)) 등이 있다. 컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템들에 분산되어, 분산 방식으로 컴퓨터가 판독 가능한 코드가 저장되고 실행될 수 있다. 매체는 컴퓨터에 의해 판독가능하며, 메모리에 저장되고, 프로세서에서 실행될 수 있다. The electronic device or terminal according to the above-described embodiments may include a processor, a memory for storing and executing program data, a permanent storage such as a disk drive, a communication port for communicating with an external device, a user interface device such as a touch panel, a key, an icon, etc. The methods implemented as software modules or algorithms may be stored on a computer-readable recording medium as computer-readable codes or program commands executable on the processor. Here, the computer-readable recording medium includes a magnetic storage medium (e.g., a read-only memory (ROM), a random-access memory (RAM), a floppy disk, a hard disk, etc.) and an optical reading medium (e.g., a CD-ROM, a Digital Versatile Disc (DVD)). The computer-readable recording medium may be distributed to computer systems connected to a network, so that the computer-readable code may be stored and executed in a distributed manner. The medium may be readable by a computer, stored in a memory, and executed by a processor.
본 실시 예는 기능적인 블록 구성들 및 다양한 처리 단계들로 나타내어질 수 있다. 이러한 기능 블록들은 특정 기능들을 실행하는 다양한 개수의 하드웨어 또는/및 소프트웨어 구성들로 구현될 수 있다. 예를 들어, 실시 예는 하나 이상의 마이크로프로세서들의 제어 또는 다른 제어 장치들에 의해서 다양한 기능들을 실행할 수 있는, 메모리, 프로세싱, 로직(logic), 룩 업 테이블(look-up table) 등과 같은 직접 회로 구성들을 채용할 수 있다. 구성 요소들이 소프트웨어 프로그래밍 또는 소프트웨어 요소들로 실행될 수 있는 것과 유사하게, 본 실시 예는 데이터 구조, 프로세스들, 루틴들 또는 다른 프로그래밍 구성들의 조합으로 구현되는 다양한 알고리즘을 포함하여, C, C++, 자바(Java), 어셈블러(assembler), 파이썬(Python) 등과 같은 프로그래밍 또는 스크립팅 언어로 구현될 수 있다. 기능적인 측면들은 하나 이상의 프로세서들에서 실행되는 알고리즘으로 구현될 수 있다. 또한, 본 실시 예는 전자적인 환경 설정, 신호 처리, 및/또는 데이터 처리 등을 위하여 종래 기술을 채용할 수 있다. “매커니즘”, “요소”, “수단”, “구성”과 같은 용어는 넓게 사용될 수 있으며, 기계적이고 물리적인 구성들로서 한정되는 것은 아니다. 상기 용어는 프로세서 등과 연계하여 소프트웨어의 일련의 처리들(routines)의 의미를 포함할 수 있다.The present embodiment may be represented by functional block configurations and various processing steps. These functional blocks may be implemented by various numbers of hardware and/or software configurations that perform specific functions. For example, the embodiment may employ direct circuit configurations such as memory, processing, logic, look-up tables, etc., which may perform various functions under the control of one or more microprocessors or other control devices. Similarly to the fact that the components may be implemented as software programs or software elements, the present embodiment may be implemented in a programming or scripting language such as C, C++, Java, assembler, Python, etc., including various algorithms implemented as a combination of data structures, processes, routines, or other programming configurations. The functional aspects may be implemented as algorithms that are executed on one or more processors. In addition, the present embodiment may employ conventional techniques for electronic environment setting, signal processing, and/or data processing. Terms such as “mechanism,” “element,” “means,” and “configuration” may be used broadly and are not limited to mechanical and physical configurations. The terms may also include the meaning of a series of software processes (routines) in connection with a processor, etc.
전술한 실시 예들은 일 예시일 뿐 후술하는 청구항들의 범위 내에서 다른 실시 예들이 구현될 수 있다.The above-described embodiments are only examples, and other embodiments may be implemented within the scope of the claims set forth herein.
Claims (14)
제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API(Application Programming Interface)에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트(Inbound API Request)를 확인하는 단계;
상기 인바운드 API 리퀘스트에 제2 식별 정보를 할당하는 단계;
상기 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하는 단계;
상기 인바운드 API 리퀘스트를 기반으로 상기 서비스 서버에 상기 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트(Outbound API Request)를 전송하는 단계;
상기 서비스 서버로부터 상기 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스(API Response)를 수신하는 단계; 및
상기 인바운드 API 리퀘스트, 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스에 대한 리스트 페이지를 제공하는 단계를 포함하고,
상기 정보 제공 방법은,
상기 제1 식별 정보에 기반하여, 상기 제1 단말에 대응되는 상기 인바운드 API 리퀘스트를 확인하는 단계;
상기 제2 식별 정보에 기반하여 상기 인바운드 API 리퀘스트에 대응되는 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스를 확인하는 단계; 및
상기 제1 식별 정보 및 상기 제2 식별 정보를 기반으로 상기 제1 식별 정보, 제2 식별 정보, 상기 인바운드 API 리퀘스트, 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스를 매칭하여 데이터 스토리지에 저장하는 단계를 더 포함하고,
상기 리스트 페이지를 제공하는 단계는,
상기 제1 식별 정보를 이용하여 상기 데이터 스토리지에 저장된 복수 개의 인바운드 API 리퀘스트 중 상기 제1 단말과 대응되는 상기 인바운드 API 리퀘스트를 확인하는 단계;
상기 제2 식별 정보를 이용하여 상기 데이터 스토리지에 저장된 복수 개의 아웃바운드 API 리퀘스트 및 복수 개의 API 리스펀스 중에서 상기 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트 및 상기 API 리스펀스의 세트를 확인하는 단계;
상기 인바운드 API 리퀘스트와 매칭되는 상기 아웃바운드 API 리퀘스트의 세트에 대한 제1 리스트와 상기 아웃바운드 API 리퀘스트에 대응하는 상기 API 리스펀스에 대한 제2 리스트를 포함하는 상기 리스트 페이지를 제공하는 단계를 포함하는,
정보 제공 방법.
In a method of providing information on an electronic device,
A step of verifying an inbound API request including first identification information about a requester and request information for an API (Application Programming Interface) based on information acquired from a first terminal;
A step of assigning second identification information to the above inbound API request;
A step for checking a service server responding to the above inbound API request;
A step of transmitting an outbound API request including the second identification information to the service server based on the inbound API request;
A step of receiving an API response corresponding to the outbound API request from the service server; and
Comprising a step of providing a list page for the inbound API request, the outbound API request and the API response,
The above information provision method is:
A step of verifying the inbound API request corresponding to the first terminal based on the first identification information;
A step of verifying the outbound API request and the API response corresponding to the inbound API request based on the second identification information; and
Further comprising a step of matching the first identification information, the second identification information, the inbound API request, the outbound API request and the API response based on the first identification information and the second identification information and storing them in data storage,
The steps for providing the above list page are:
A step of confirming an inbound API request corresponding to the first terminal among a plurality of inbound API requests stored in the data storage using the first identification information;
A step of using the second identification information to identify a set of outbound API requests and a set of API responses corresponding to the inbound API request among a plurality of outbound API requests and a plurality of API responses stored in the data storage;
Providing a list page including a first list of a set of outbound API requests matching the inbound API request and a second list of API responses corresponding to the outbound API request,
How to provide information.
상기 제1 단말로부터 획득된 상기 리스트 페이지 상의 상기 아웃바운드 API 리퀘스트에 대응되는 입력의 수신에 대응하여 상기 제2 리스트를 제공하는 것을 특징으로 하는 정보 제공 방법.
In the first paragraph,
An information providing method characterized in that the second list is provided in response to the reception of an input corresponding to the outbound API request on the list page obtained from the first terminal.
상기 서비스 서버를 확인하는 단계는,
상기 인바운드 API 리퀘스트와 동일한 상기 제2 식별 정보를 가지는 상기 아웃바운드 API 리퀘스트를 확인하는 단계; 및
상기 아웃바운드 API 리퀘스트와 대응되는 상기 서비스 서버를 확인하는 단계를 포함하는 정보 제공 방법.
In the first paragraph,
The steps to check the above service server are:
A step of verifying the outbound API request having the second identification information identical to the inbound API request; and
An information providing method comprising a step of verifying the service server corresponding to the above outbound API request.
상기 리스트 페이지를 제공하는 단계는,
상기 인바운드 API 리퀘스트를 제1 레벨로 표시하고, 상기 제1 레벨보다 낮은 제2 레벨로 상기 아웃바운드 API 리퀘스트를 표시함으로써, 상기 리스트 페이지를 제공하는 단계를 포함하는 정보 제공 방법.
In the first paragraph,
The steps for providing the above list page are:
An information providing method comprising the step of providing the list page by displaying the inbound API request at a first level and displaying the outbound API request at a second level lower than the first level.
상기 리스트 페이지를 제공하는 단계는,
상기 아웃바운드 API 리퀘스트의 파일 사이즈에 대한 정보, 상기 아웃바운드 API 리퀘스트에 대응되는 Method 정보, 상기 아웃바운드 API 리퀘스트에 대응되는 Status 정보, 상기 아웃바운드 API 리퀘스트에 모의 데이터(Mock data) 사용 여부에 대한 정보, 상기 아웃바운드 API 리퀘스트의 전송 시간에 대한 정보, 상기 제2 리스트에 대응되는 아이콘에 대한 정보 및 상기 아웃바운드 API 리퀘스트의 디버깅 아이콘에 대한 정보 중 적어도 하나를 표시하여 상기 리스트 페이지를 제공하는 단계를 포함하는 정보 제공 방법.
In the first paragraph,
The steps for providing the above list page are:
An information providing method comprising the step of providing the list page by displaying at least one of information about the file size of the outbound API request, method information corresponding to the outbound API request, status information corresponding to the outbound API request, information about whether mock data is used for the outbound API request, information about the transmission time of the outbound API request, information about an icon corresponding to the second list, and information about a debugging icon of the outbound API request.
상기 API 리스펀스를 수신하는 단계는,
상기 제2 식별 정보를 포함하는 상기 아웃바운드 API 리퀘스트의 전송에 따른 응답을 대기하는 단계; 및
상기 서비스 서버로부터 상기 아웃바운드 API 리퀘스트에 대한 응답인 상기 API 리스펀스를 수신하는 단계를 포함하는 정보 제공 방법.
In the first paragraph,
The step of receiving the above API response is:
A step of waiting for a response to the transmission of the outbound API request including the second identification information; and
An information providing method comprising a step of receiving an API response, which is a response to the outbound API request, from the service server.
상기 제2 식별 정보에 기반하여, 상기 데이터 스토리지로부터 상기 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트를 확인하는 단계;
상기 세트에 포함되는 아웃바운드 API 리퀘스트 중 중복되는 아웃바운드 API 리퀘스트인 제1 아웃바운드 API 리퀘스트를 확인하는 단계;
상기 세트에서 상기 제1 아웃바운드 API 리퀘스트를 삭제하여 수정된 세트를 확인하는 단계; 및
상기 인바운드 API 리퀘스트를 재 확인하면, 상기 수정된 세트에 기반하여 상기 제2 식별 정보를 포함하는 상기 수정된 세트의 아웃바운드 API 리퀘스트를 전송하는 단계를 더 포함하는 정보 제공 방법.
In the first paragraph,
A step of identifying a set of outbound API requests corresponding to the inbound API request from the data storage based on the second identification information;
A step of checking a first outbound API request, which is a duplicate outbound API request among the outbound API requests included in the above set;
A step of verifying a modified set by deleting the first outbound API request from the set; and
An information providing method further comprising the step of re-verifying said inbound API request, wherein the step comprises transmitting an outbound API request of said modified set including said second identification information based on said modified set.
상기 제2 식별 정보에 기반하여, 상기 데이터 스토리지로부터 상기 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트를 확인하는 단계;
상기 API에 대한 스펙 정보에 기반하여, 상기 세트에 포함되지 않는 제1 아웃바운드 API 리퀘스트를 확인하는 단계;
상기 세트에 상기 제1 아웃바운드 API 리퀘스트를 추가하여 수정된 세트를 확인하는 단계; 및
상기 인바운드 API 리퀘스트를 재 확인하면, 상기 수정된 세트에 기반하여 상기 제2 식별 정보를 포함하는 상기 수정된 세트의 아웃바운드 API 리퀘스트를 전송하는 단계를 더 포함하는 정보 제공 방법.
In the first paragraph,
A step of identifying a set of outbound API requests corresponding to the inbound API request from the data storage based on the second identification information;
A step of identifying a first outbound API request not included in the set based on the specification information for the above API;
A step of adding the first outbound API request to the above set to verify the modified set; and
An information providing method further comprising the step of re-verifying said inbound API request, wherein the step comprises transmitting an outbound API request of said modified set including said second identification information based on said modified set.
상기 제1 단말로부터 오류가 있다고 확인된 상기 인바운드 API 리퀘스트에 대한 정보를 수신하는 단계;
상기 인바운드 API 리퀘스트에 대한 정보에 기반하여 상기 제2 식별 정보, 상기 인바운드 API 리퀘스트에 대응되는 URL 정보 및 상기 인바운드 API 리퀘스트에 대응되는 시간 정보를 확인하는 단계; 및
상기 제1 식별 정보, 상기 제2 식별 정보, 상기 URL 정보 및 상기 시간 정보를 제2 단말로 전송하는 단계를 더 포함하는 정보 제공 방법.
In the first paragraph,
A step of receiving information about the inbound API request that is confirmed to have an error from the first terminal;
A step of verifying the second identification information, URL information corresponding to the inbound API request, and time information corresponding to the inbound API request based on information about the inbound API request; and
An information providing method further comprising the step of transmitting the first identification information, the second identification information, the URL information, and the time information to a second terminal.
상기 제2 단말로부터 상기 인바운드 API 리퀘스트, 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스 중 적어도 하나를 수정한 수정 데이터를 수신하는 단계; 및
상기 수정 데이터에 기반하여, 상기 인바운드 API 리퀘스트, 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스 중 적어도 하나를 수정하는 단계를 더 포함하는 정보 제공 방법.
In Article 11,
A step of receiving modified data that modifies at least one of the inbound API request, the outbound API request and the API response from the second terminal; and
An information providing method further comprising a step of modifying at least one of the inbound API request, the outbound API request and the API response based on the modified data.
트랜시버;
하나 이상의 명령어를 저장하는 스토리지; 및
제1 단말로부터 획득된 정보를 기반으로 요청자에 대한 제1 식별 정보 및 API에 대한 요청 정보를 포함하는 인바운드 API 리퀘스트를 확인하고,
상기 인바운드 API 리퀘스트에 제2 식별 정보를 할당하고,
상기 인바운드 API 리퀘스트에 대응하는 서비스 서버를 확인하고,
상기 인바운드 API 리퀘스트를 기반으로 상기 서비스 서버에 상기 제2 식별 정보를 포함하는 아웃바운드 API 리퀘스트를 전송하고,
상기 서비스 서버로부터 상기 아웃바운드 API 리퀘스트에 대응하는 API 리스펀스를 수신하고, 및
상기 인바운드 API 리퀘스트, 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스에 대한 리스트 페이지를 제공하는 프로세서를 포함하고,
상기 프로세서는,
상기 제1 식별 정보에 기반하여, 상기 제1 단말에 대응되는 상기 인바운드 API 리퀘스트를 확인하고,
상기 제2 식별 정보에 기반하여 상기 인바운드 API 리퀘스트에 대응되는 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스를 확인하고, 및
상기 제1 식별 정보 및 상기 제2 식별 정보를 기반으로 상기 제1 식별 정보, 제2 식별 정보, 상기 인바운드 API 리퀘스트, 상기 아웃바운드 API 리퀘스트 및 상기 API 리스펀스를 매칭하여 데이터 스토리지에 저장하고,
상기 프로세서는,
상기 제1 식별 정보를 이용하여 상기 데이터 스토리지에 저장된 복수 개의 인바운드 API 리퀘스트 중 상기 제1 단말과 대응되는 상기 인바운드 API 리퀘스트를 확인하고,
상기 제2 식별 정보를 이용하여 상기 데이터 스토리지에 저장된 복수 개의 아웃바운드 API 리퀘스트 및 복수 개의 API 리스펀스 중에서 상기 인바운드 API 리퀘스트와 대응되는 아웃바운드 API 리퀘스트의 세트 및 상기 API 리스펀스의 세트를 확인하고, 및
상기 인바운드 API 리퀘스트와 매칭되는 상기 아웃바운드 API 리퀘스트의 세트에 대한 제1 리스트와 상기 아웃바운드 API 리퀘스트에 대응하는 상기 API 리스펀스에 대한 제2 리스트를 포함하는 상기 리스트 페이지를 제공하는,
전자 장치.
In an electronic device for providing information,
transceiver;
Storage for storing one or more instructions; and
Verify an inbound API request including first identification information about the requester and request information for the API based on information obtained from the first terminal,
Assign second identification information to the above inbound API request,
Check the service server that responds to the above inbound API request,
Transmitting an outbound API request including the second identification information to the service server based on the inbound API request;
Receive an API response corresponding to the outbound API request from the service server, and
A processor comprising a processor that provides a list page for the inbound API request, the outbound API request, and the API response,
The above processor,
Based on the first identification information, the inbound API request corresponding to the first terminal is verified,
Verify the outbound API request and the API response corresponding to the inbound API request based on the second identification information, and
Based on the first identification information and the second identification information, the first identification information, the second identification information, the inbound API request, the outbound API request and the API response are matched and stored in data storage,
The above processor,
Using the first identification information, the inbound API request corresponding to the first terminal is identified among the plurality of inbound API requests stored in the data storage,
Using the second identification information, a set of outbound API requests and a set of API responses corresponding to the inbound API request are identified among a plurality of outbound API requests and a plurality of API responses stored in the data storage, and
Providing a list page including a first list of a set of outbound API requests matching the inbound API request and a second list of API responses corresponding to the outbound API request.
Electronic devices.
A non-transitory computer-readable storage medium having recorded thereon a program for executing the method of claim 1 on a computer.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220079615A KR102758760B1 (en) | 2022-06-29 | 2022-06-29 | Method and apparatus for providing information |
PCT/KR2022/009426 WO2024005236A1 (en) | 2022-06-29 | 2022-06-30 | Method and device for providing information |
TW112123560A TWI893402B (en) | 2022-06-29 | 2023-06-26 | Method and apparatus for providing information |
KR1020250007528A KR20250017280A (en) | 2022-06-29 | 2025-01-17 | Method and apparatus for providing information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220079615A KR102758760B1 (en) | 2022-06-29 | 2022-06-29 | Method and apparatus for providing information |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020250007528A Division KR20250017280A (en) | 2022-06-29 | 2025-01-17 | Method and apparatus for providing information |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20240002425A KR20240002425A (en) | 2024-01-05 |
KR102758760B1 true KR102758760B1 (en) | 2025-01-23 |
Family
ID=89380753
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220079615A Active KR102758760B1 (en) | 2022-06-29 | 2022-06-29 | Method and apparatus for providing information |
KR1020250007528A Pending KR20250017280A (en) | 2022-06-29 | 2025-01-17 | Method and apparatus for providing information |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020250007528A Pending KR20250017280A (en) | 2022-06-29 | 2025-01-17 | Method and apparatus for providing information |
Country Status (2)
Country | Link |
---|---|
KR (2) | KR102758760B1 (en) |
WO (1) | WO2024005236A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140215057A1 (en) * | 2013-01-28 | 2014-07-31 | Rackspace Us, Inc. | Methods and Systems of Monitoring Failures in a Distributed Network System |
KR102407334B1 (en) * | 2021-12-24 | 2022-06-10 | 이데아텍(주) | Gateway apparatus and operating method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10664535B1 (en) * | 2015-02-02 | 2020-05-26 | Amazon Technologies, Inc. | Retrieving log data from metric data |
US11048660B2 (en) * | 2017-06-20 | 2021-06-29 | Netflix, Inc. | Acceleration system for facilitating processing of API calls |
KR101996358B1 (en) * | 2017-08-21 | 2019-07-03 | 주식회사 스패로우 | Method and apparatus for providing api call information for dynamic analysis of web application |
KR102005107B1 (en) * | 2019-01-29 | 2019-07-29 | 엘아이지넥스원 주식회사 | Method and Apparatus for Analyzing Malicious Code Using API Call Sequence |
-
2022
- 2022-06-29 KR KR1020220079615A patent/KR102758760B1/en active Active
- 2022-06-30 WO PCT/KR2022/009426 patent/WO2024005236A1/en active Application Filing
-
2025
- 2025-01-17 KR KR1020250007528A patent/KR20250017280A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140215057A1 (en) * | 2013-01-28 | 2014-07-31 | Rackspace Us, Inc. | Methods and Systems of Monitoring Failures in a Distributed Network System |
KR102407334B1 (en) * | 2021-12-24 | 2022-06-10 | 이데아텍(주) | Gateway apparatus and operating method thereof |
Also Published As
Publication number | Publication date |
---|---|
TW202411916A (en) | 2024-03-16 |
KR20250017280A (en) | 2025-02-04 |
WO2024005236A1 (en) | 2024-01-04 |
KR20240002425A (en) | 2024-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10387292B2 (en) | Determining application test results using screenshot metadata | |
CN101877696B (en) | Equipment and method for reconfiguring false response messages under network application environment | |
CN109302461B (en) | Information display method, information processing method, information display medium, information processing system and computing equipment | |
US9280665B2 (en) | Fast and accurate identification of message-based API calls in application binaries | |
US20170357486A1 (en) | Enhancing a crowdsourced integrated development environment application | |
US20180046525A1 (en) | Fast and accurate identification of message-based api calls in application binaries | |
CN112866348A (en) | Database access method and device, computer equipment and storage medium | |
CN115328759A (en) | Form verification method and device | |
US20250245002A1 (en) | Automated developer configuration tool | |
CN111694550B (en) | Page display control method, device and system | |
CN110674426A (en) | Webpage behavior reporting method and device | |
KR102758760B1 (en) | Method and apparatus for providing information | |
US20210248255A1 (en) | File management system and non-transitory computer readable medium | |
WO2021254106A1 (en) | Database design method and apparatus, and related device | |
CN112083982B (en) | Information processing method and device | |
US8874971B1 (en) | Detecting and reporting problems in a distributed resource computing system | |
KR102758733B1 (en) | Method and apparatus for providing information | |
CN115878699A (en) | Method for processing Mock data of front-end equipment and front-end equipment | |
CN114676063A (en) | Micro-front-end-based page debugging method and device, storage medium, and electronic device | |
CN116467156A (en) | Joint debugging test method and device, storage medium and electronic equipment | |
CN114035792A (en) | Page generation method and device, electronic equipment and storage medium | |
CN114416552A (en) | Unit testing method, unit testing device, electronic equipment and storage medium | |
TWI893402B (en) | Method and apparatus for providing information | |
CN119621594B (en) | Method and device for parallel online operation and testing and debugging of authorization process | |
KR102502124B1 (en) | Electronic device for providing user activity information in a platform and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20220629 |
|
PA0201 | Request for examination | ||
PG1501 | Laying open of application | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20240726 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20241017 |
|
PG1601 | Publication of registration |