KR20200119222A - Method and apparatus for executing an application based on dynamically loaded module - Google Patents

Method and apparatus for executing an application based on dynamically loaded module Download PDF

Info

Publication number
KR20200119222A
KR20200119222A KR1020200098498A KR20200098498A KR20200119222A KR 20200119222 A KR20200119222 A KR 20200119222A KR 1020200098498 A KR1020200098498 A KR 1020200098498A KR 20200098498 A KR20200098498 A KR 20200098498A KR 20200119222 A KR20200119222 A KR 20200119222A
Authority
KR
South Korea
Prior art keywords
application
module
user terminal
executing
code
Prior art date
Application number
KR1020200098498A
Other languages
Korean (ko)
Inventor
서일환
심선근
천정필
Original Assignee
넷마블 주식회사
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 넷마블 주식회사 filed Critical 넷마블 주식회사
Priority to KR1020200098498A priority Critical patent/KR20200119222A/en
Publication of KR20200119222A publication Critical patent/KR20200119222A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms

Abstract

The present invention relates to a method and a device for executing an application based on a dynamically loaded module. The method for executing an application based on a dynamically loaded module comprises: determining whether conditions for loading a target module are satisfied when an execution command of an application is received; loading the target module at a runtime of an execution code for executing the application when the conditions are satisfied; and executing the application by executing the execution code.

Description

동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 방법 및 장치{METHOD AND APPARATUS FOR EXECUTING AN APPLICATION BASED ON DYNAMICALLY LOADED MODULE}A method and apparatus for running an application based on dynamically loaded modules {METHOD AND APPARATUS FOR EXECUTING AN APPLICATION BASED ON DYNAMICALLY LOADED MODULE}

아래의 실시예들은 사용자 단말의 어플리케이션을 실행하는 기술에 관한 것이다.The following embodiments relate to a technology for executing an application of a user terminal.

사용자 단말에 설치된 어플리케이션에 문제가 발생한 경우, 문제를 파악하기 위해서 상당한 리소스가 요구되고, 문제를 해결하기 위한 단서를 찾기 위해 추가적인 작업들이 필요하다. 문제를 해결하기 위한 단서는 사용자 단말로부터 생성 또는 출력되는 데이터로부터 획득될 수 있다. 이러한 데이터를 획득하기 위해서는 릴리즈된 어플리케이션의 빌드를 수정하여 새로운 빌드를 생성해야 한다. 어플리케이션의 새로운 빌드를 생성 및 배포하기 위해서는 많은 공수가 요구된다.When a problem occurs in an application installed in the user terminal, considerable resources are required to identify the problem, and additional work is required to find clues to solve the problem. A clue for solving the problem may be obtained from data generated or output from the user terminal. To acquire this data, you need to create a new build by modifying the build of the released application. A lot of work is required to create and distribute a new build of an application.

일 실시예는 동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 방법 및 장치를 제공할 수 있다.An embodiment may provide a method and an apparatus for executing an application based on a dynamically loaded module.

다른 일 실시예는 사용자 단말로 모듈을 동적으로 제공하는 방법 및 장치를 제공할 수 있다.Another embodiment may provide a method and apparatus for dynamically providing a module to a user terminal.

일 측면에 따른, 동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 방법은, 상기 어플리케이션의 실행 명령이 수신된 경우, 타겟 모듈을 로드하기 위해 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계, 상기 적어도 하나의 조건이 만족된 경우, 상기 어플리케이션의 실행을 위한 실행 코드의 런타임(runtime) 시에 상기 타겟 모듈을 로드하는 단계, 및 상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계를 포함하고, 상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계는, 상기 로드된 타겟 모듈에 기초하여 상기 실행 코드를 변경하는 단계, 및 상기 변경된 실행 코드를 실행함으로 상기 어플리케이션을 실행하는 단계를 포함한다.According to an aspect, a method of executing an application based on a dynamically loaded module comprises: determining whether at least one preset condition for loading a target module is satisfied when an execution command of the application is received , When the at least one condition is satisfied, loading the target module at runtime of an execution code for execution of the application, and executing the application by executing the execution code, , Executing the application by executing the execution code includes changing the execution code based on the loaded target module, and executing the application by executing the changed execution code.

상기 어플리케이션 실행 방법은, 상기 적어도 하나의 조건이 만족되지 않은 경우, 일반 모듈을 로드하는 단계를 더 포함하고, 상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계는, 상기 로드된 일반 모듈에 기초하여 상기 실행 코드를 변경하는 단계를 더 포함할 수 있다.The application execution method further includes loading a general module when the at least one condition is not satisfied, and executing the application by executing the execution code comprises: based on the loaded general module It may further include the step of changing the execution code.

상기 타겟 모듈은 상기 일반 모듈에 비해, 상기 어플리케이션이 실행되는 경우 상기 사용자 단말에 대한 추가의 정보를 획득할 수 있다.Compared to the general module, the target module may obtain additional information on the user terminal when the application is executed.

상기 추가의 정보는, 상기 사용자 단말의 실시간 중앙 처리 장치 사용률, 메모리 사용률, 그래픽 처리 장치 사용률 및 네트워크 사용률 중 적어도 하나를 포함할 수 있다.The additional information may include at least one of a real-time CPU usage rate, a memory usage rate, a graphics processing device usage rate, and a network usage rate of the user terminal.

상기 추가의 정보는, 상기 어플리케이션 실행에 의해 발생하는 화면의 프레임 레이트(frame rate) 및 상기 화면의 스크린 샷(screen shot) 중 적어도 하나를 포함할 수 있다.The additional information may include at least one of a frame rate of a screen generated by executing the application and a screen shot of the screen.

상기 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계는, 상기 어플리케이션이 실행되는 사용자 단말의 고유 특징을 검출하는 단계, 및 상기 고유 특징이 미리 설정된 특징에 대응하는 경우, 상기 미리 설정된 적어도 하나의 조건이 만족된 것으로 결정하는 단계를 포함할 수 있다.Determining whether the at least one preset condition is satisfied may include detecting a unique feature of a user terminal on which the application is executed, and when the unique feature corresponds to a preset feature, the preset at least one It may include determining that the condition of is satisfied.

상기 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계는, 상기 어플리케이션이 실행되는 사용자 단말의 인터넷 프로토콜(Internet Protocol: IP) 주소가 미리 설정된 주소들에 포함되는 경우, 상기 미리 설정된 적어도 하나의 조건이 만족된 것으로 결정하는 단계를 포함할 수 있다.Determining whether the at least one preset condition is satisfied may include, when an Internet Protocol (IP) address of a user terminal running the application is included in preset addresses, the at least one preset It may include determining that the condition is satisfied.

상기 타겟 모듈은, 상기 어플리케이션의 품질 보증(quality assurance: QA) 또는 상기 어플리케이션의 테스트를 위한 모듈일 수 있다.The target module may be a module for testing the application or quality assurance (QA) of the application.

다른 일 측면에 따른, 동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 사용자 단말은, 상기 어플리케이션이 기록된 메모리, 및 상기 어플리케이션을 실행시키기 위한 프로그램을 수행하는 프로세서를 포함하고, 상기 프로그램은, 상기 어플리케이션의 실행 명령이 수신된 경우, 타겟 모듈을 로드하기 위해 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계, 상기 적어도 하나의 조건이 만족된 경우, 상기 어플리케이션의 실행을 위한 실행 코드의 런타임(runtime) 시에 상기 타겟 모듈을 로드하는 단계, 및 상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계를 포함하고, 상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계는, 상기 로드된 타겟 모듈에 기초하여 상기 실행 코드를 변경하는 단계, 및 상기 변경된 상기 실행 코드를 실행함으로 상기 어플리케이션을 실행하는 단계를 수행할 수 있다.According to another aspect, a user terminal that executes an application based on a dynamically loaded module includes a memory in which the application is recorded, and a processor that executes a program for executing the application, wherein the program includes: When an execution command of an application is received, determining whether at least one condition set in advance for loading a target module is satisfied, and when the at least one condition is satisfied, a runtime of an execution code for execution of the application Loading the target module at (runtime), and executing the application by executing the execution code, and executing the application by executing the execution code, the loaded target module Based on the changing of the execution code, and executing the application by executing the changed execution code may be performed.

상기 프로그램은, 상기 적어도 하나의 조건이 만족되지 않은 경우, 일반 모듈을 로드하는 단계를 더 수행하고, 상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계는, 상기 로드된 일반 모듈에 기초하여 상기 실행 코드를 변경하는 단계를 더 포함할 수 있다.If the at least one condition is not satisfied, the program further performs the step of loading a general module, and executing the application by executing the execution code, the execution of the application based on the loaded general module It may further include the step of changing the code.

상기 타겟 모듈은 상기 일반 모듈에 비해, 상기 어플리케이션이 실행되는 경우 상기 사용자 단말에 대한 추가의 정보를 획득할 수 있다.Compared to the general module, the target module may obtain additional information on the user terminal when the application is executed.

상기 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계는, 상기 어플리케이션이 실행되는 사용자 단말의 고유 특징을 검출하는 단계, 및 상기 고유 특징이 미리 설정된 특징에 대응하는 경우, 상기 미리 설정된 적어도 하나의 조건이 만족된 것으로 결정하는 단계를 포함할 수 있다.Determining whether the at least one preset condition is satisfied may include detecting a unique feature of a user terminal on which the application is executed, and when the unique feature corresponds to a preset feature, the preset at least one It may include determining that the condition of is satisfied.

상기 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계는, 상기 어플리케이션이 실행되는 사용자 단말의 인터넷 프로토콜(Internet Protocol: IP) 주소가 미리 설정된 주소들에 포함되는 경우, 상기 미리 설정된 적어도 하나의 조건이 만족된 것으로 결정하는 단계를 포함할 수 있다.Determining whether the at least one preset condition is satisfied may include, when an Internet Protocol (IP) address of a user terminal running the application is included in preset addresses, the at least one preset It may include determining that the condition is satisfied.

상기 타겟 모듈은, 상기 어플리케이션의 품질 보증(quality assurance: QA) 또는 상기 어플리케이션의 테스트를 위한 모듈일 수 있다.The target module may be a module for testing the application or quality assurance (QA) of the application.

또 다른 일 측면에 따른, 어플리케이션을 실행하기 위한 모듈을 사용자 단말에 동적으로 제공하는 방법은, 상기 사용자 단말로부터 상기 사용자 단말의 고유 특징 및 인터넷 프로토콜(Internet Protocol: IP) 주소 중 적어도 하나를 타겟 정보로서 수신하는 단계, 상기 타겟 정보가 미리 설정된 적어도 하나의 조건을 만족되었는지 여부를 결정하는 단계, 상기 적어도 하나의 조건이 만족된 경우, 상기 사용자 단말로 타겟 모듈을 전송하는 단계, 및 상기 적어도 하나의 조건이 만족되지 않은 경우, 상기 사용자 단말로 일반 모듈을 전송하는 단계를 포함하고, 상기 타겟 모듈 또는 상기 일반 모듈은, 상기 사용자 단말에서 상기 어플리케이션의 실행을 위한 실행 코드의 런타임(runtime) 시에 로드된다.According to another aspect, a method of dynamically providing a module for executing an application to a user terminal includes target information of at least one of a unique characteristic of the user terminal and an Internet Protocol (IP) address from the user terminal. Receiving as, determining whether the target information satisfies at least one preset condition, transmitting a target module to the user terminal when the at least one condition is satisfied, and the at least one If the condition is not satisfied, it includes transmitting a general module to the user terminal, and the target module or the general module is loaded at runtime of an execution code for execution of the application in the user terminal. do.

상기 타겟 모듈은 상기 일반 모듈에 비해, 상기 사용자 단말에서 상기 어플리케이션이 실행되는 경우 상기 사용자 단말에 대한 추가의 정보가 획득될 수 있다.Compared to the general module, the target module may obtain additional information on the user terminal when the application is executed in the user terminal.

상기 추가의 정보는, 상기 사용자 단말의 실시간 중앙 처리 장치 사용률, 메모리 사용률, 그래픽 처리 장치 사용률 및 네트워크 사용률 중 적어도 하나를 포함할 수 있다.The additional information may include at least one of a real-time CPU usage rate, a memory usage rate, a graphics processing device usage rate, and a network usage rate of the user terminal.

상기 추가의 정보는, 상기 어플리케이션 실행에 의해 발생하는 화면의 프레임 레이트(frame rate) 및 상기 화면의 스크린 샷(screen shot) 중 적어도 하나를 포함할 수 있다.The additional information may include at least one of a frame rate of a screen generated by executing the application and a screen shot of the screen.

또 다른 일 측면에 따르면, 어플리케이션을 실행하기 위한 모듈을 사용자 단말에 동적으로 제공하는 서버는, 상기 모듈을 동적으로 제공하는 프로그램이 기록된 메모리, 및 상기 프로그램을 수행하는 프로세서를 포함하고, 상기 프로그램은, 상기 사용자 단말로부터 상기 사용자 단말의 고유 특징 및 인터넷 프로토콜(Internet Protocol: IP) 주소 중 적어도 하나를 타겟 정보로서 수신하는 단계, 상기 타겟 정보가 미리 설정된 적어도 하나의 조건을 만족되었는지 여부를 결정하는 단계, 상기 적어도 하나의 조건이 만족된 경우, 상기 사용자 단말로 타겟 모듈을 전송하는 단계, 및 상기 적어도 하나의 조건이 만족되지 않은 경우, 상기 사용자 단말로 일반 모듈을 전송하는 단계를 수행하고, 상기 타겟 모듈 또는 상기 일반 모듈은, 상기 사용자 단말에서 상기 어플리케이션의 실행을 위한 실행 코드의 런타임(runtime) 시에 로드된다.According to another aspect, a server for dynamically providing a module for executing an application to a user terminal includes a memory in which a program for dynamically providing the module is recorded, and a processor for executing the program, the program Is, receiving at least one of a unique characteristic of the user terminal and an Internet Protocol (IP) address from the user terminal as target information, determining whether the target information satisfies at least one preset condition Step, when the at least one condition is satisfied, transmitting a target module to the user terminal, and when the at least one condition is not satisfied, performing the step of transmitting a general module to the user terminal, the The target module or the general module is loaded at runtime of an execution code for executing the application in the user terminal.

동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 방법 및 장치가 제공될 수 있다.A method and an apparatus for executing an application based on a dynamically loaded module may be provided.

사용자 단말로 모듈을 동적으로 제공하는 방법 및 장치가 제공될 수 있다.A method and apparatus for dynamically providing a module to a user terminal may be provided.

도 1은 일 예에 따른 사용자 단말로 동적으로 모듈을 제공하는 시스템을 도시한다.
도 2는 일 예에 따른 어플리케이션의 구조를 도시한다.
도 3은 일 실시예에 따른 사용자 단말의 구성도이다.
도 4는 일 실시예에 따른 어플리케이션을 실행하는 방법의 흐름도이다.
도 5는 일 예에 따른 타겟 모듈을 로드하기 위해 미리 설정된 조건이 만족되었는지 여부를 결정하는 방법의 흐름도이다.
도 6은 일 예에 따른 실행 코드를 실행함으로써 어플리케이션을 실행하는 방법의 흐름도이다.
도 7은 일 예에 따른 종래의 실행 코드 및 로드된 모듈에 기초하여 변경된 실행 코드를 도시한다.
도 8은 일 실시예에 따른 서버의 구성도이다.
도 9는 일 예에 따른 사용자 단말로 모듈을 제공하는 방법의 흐름도이다.
1 illustrates a system for dynamically providing a module to a user terminal according to an example.
2 shows a structure of an application according to an example.
3 is a configuration diagram of a user terminal according to an embodiment.
4 is a flowchart of a method of executing an application according to an exemplary embodiment.
5 is a flowchart of a method for determining whether a preset condition is satisfied for loading a target module according to an example.
6 is a flowchart of a method of executing an application by executing an execution code according to an example.
7 shows a conventional execution code and a modified execution code based on a loaded module according to an example.
8 is a configuration diagram of a server according to an embodiment.
9 is a flowchart of a method of providing a module to a user terminal according to an example.

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 그러나, 실시예들에는 다양한 변경이 가해질 수 있어서 특허출원의 권리 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 실시예들에 대한 모든 변경, 균등물 내지 대체물이 권리 범위에 포함되는 것으로 이해되어야 한다.Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings. However, since various changes may be made to the embodiments, the scope of the rights of the patent application is not limited or limited by these embodiments. It should be understood that all changes, equivalents, or substitutes to the embodiments are included in the scope of the rights.

실시예에서 사용한 용어는 단지 설명을 목적으로 사용된 것으로, 한정하려는 의도로 해석되어서는 안된다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the examples are used for illustrative purposes only and should not be interpreted as limiting. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present specification, terms such as "comprise" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, but one or more other features. It is to be understood that the presence or addition of elements or numbers, steps, actions, components, parts, or combinations thereof, does not preclude in advance.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiment belongs. Terms as defined in a commonly used dictionary should be interpreted as having a meaning consistent with the meaning in the context of the related technology, and should not be interpreted as an ideal or excessively formal meaning unless explicitly defined in this application. Does not.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In addition, in the description with reference to the accompanying drawings, the same reference numerals are assigned to the same components regardless of the reference numerals, and redundant descriptions thereof will be omitted. In describing the embodiments, when it is determined that a detailed description of related known technologies may unnecessarily obscure the subject matter of the embodiments, the detailed description thereof will be omitted.

도 1은 일 예에 따른 사용자 단말로 동적으로 모듈을 제공하는 시스템을 도시한다.1 illustrates a system for dynamically providing a module to a user terminal according to an example.

일 측면에 따른, 시스템은 모듈 제공 서버(110), 사용자 단말(120) 및 어플리케이션(130)을 포함한다.According to an aspect, the system includes a module providing server 110, a user terminal 120 and an application 130.

예를 들어, 사용자 단말(120)이 모바일 단말인 경우, 모듈 제공 서버(110)와는 별개의 서버인 어플리케이션 서버(130)로부터 어플리케이션이 제공될 수 있다. 예를 들어, 어플리케이션 서버(130)는 구글 플레이 서버 또는 애플 스토어 서버일 수 있다.For example, when the user terminal 120 is a mobile terminal, an application may be provided from an application server 130 that is a server separate from the module providing server 110. For example, the application server 130 may be a Google Play server or an Apple Store server.

사용자 단말(120)에 어플리케이션이 설치된 경우, 사용자는 어플리케이션을 실행시킬 수 있다. 어플리케이션이 실행됨으로써 사용자에게 컨텐츠가 제공될 수 있다. 예를 들어, 컨텐츠는 게임일 수 있다.When an application is installed in the user terminal 120, the user can execute the application. Content may be provided to the user by executing the application. For example, the content may be a game.

일 측면에 따르면, 어플리케이션에 모듈 또는 모듈을 실행시키기 위한 코드가 미리 포함되어 있는 경우에는 정해진 모듈에 기초하여 컨텐츠가 제공될 수 있다. 이러한 경우, 모듈을 수정해야할 필요가 있는 경우, 모듈을 수정한 어플리케이션이 새롭게 배포 및 설치되어야 한다.According to an aspect, when the application includes a module or a code for executing the module in advance, content may be provided based on a predetermined module. In this case, if it is necessary to modify the module, the application that has modified the module must be newly distributed and installed.

다른 일 측면에 따르면, 어플리케이션에 모듈을 로드할 수 있는 인터페이스 또는 인터페이스를 실행시키기 위한 코드가 미리 포함되어 있는 경우에는 인터페이스를 통해 모듈이 외부로부터 로드될 수 있다. 이러한 경우, 모듈이 수정되더라도 새로운 어플리케이션이 재설치될 필요가 없고, 어플리케이션의 인터페이스를 통해 수정된 모듈이 외부로부터 로드될 수 있다.According to another aspect, when an interface for loading a module or a code for executing the interface is previously included in the application, the module may be loaded from the outside through the interface. In this case, even if the module is modified, a new application does not need to be reinstalled, and the modified module may be loaded from the outside through an interface of the application.

아래에서 도 2 내지 도 7을 참조하여 동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 방법이 설명되고, 도 8 내지 도 10을 참조하여 사용자 단말에 모듈을 동적으로 제공하는 방법이 설명된다.Hereinafter, a method of executing an application based on a dynamically loaded module will be described with reference to FIGS. 2 to 7, and a method of dynamically providing a module to a user terminal will be described with reference to FIGS. 8 to 10.

도 2는 일 예에 따른 어플리케이션의 구조를 도시한다.2 shows a structure of an application according to an example.

일 측면에 따르면, 사용자 단말(120)에 설치되는 어플리케이션은 게임 코드(210), 모듈 인터페이스(220)를 포함할 수 있다. 어플리케이션은 프로그램 자체일 수 있고, 또는 모듈 코드(230)를 로드하기 위한 프로그램을 포함할 수 있다. 어플리케이션이 실행되는 경우, 어플리케이션의 프로그램이 실행되는 것으로 이해될 수 있다.According to an aspect, an application installed in the user terminal 120 may include a game code 210 and a module interface 220. The application may be a program itself, or may include a program for loading the module code 230. When the application is executed, it may be understood that the application program is executed.

게임 코드(210)는 사용자에게 게임을 제공하기 위해 실행되는 코드일 수 있다.The game code 210 may be a code executed to provide a game to a user.

모듈 인터페이스(220)는 모듈 코드(230)(또는 모듈)를 로드하기 위해 실행될 수 있다. 예를 들어, 모듈 인터페이스(220)의 실행 코드의 런타임(runtime) 시에 모듈 코드(230)가 사용자 단말(120)로 로드될 수 있다. 모듈 코드(230)에 기초하여 어플리케이션이 실행될 수 있다.The module interface 220 may be executed to load the module code 230 (or module). For example, the module code 230 may be loaded into the user terminal 120 at runtime of the execution code of the module interface 220. An application may be executed based on the module code 230.

예를 들어, 모듈 코드(230)는 일반 사용자에게 게임을 제공하기 위해 필요한 일반 모듈을 포함할 수 있다. 다른 예로, 모듈 코드(230)는 게임의 품질 보증(quality assurance: QA) 또는 테스트를 위한 테스트에 필요한 타겟 모듈을 포함할 수 있다. 예를 들어, 타겟 모듈은 일반 모듈 이외에, 어플리케이션 실행 시에 예외(exception)가 발생한 코드 라인을 검출하기 위한 명령어, 및 디버깅 용으로 사용되는 명령어 등을 더 포함할 수 있다.For example, the module code 230 may include a general module necessary to provide a game to a general user. As another example, the module code 230 may include a target module required for testing for quality assurance (QA) or testing of a game. For example, the target module may further include a command for detecting a line of code in which an exception occurs when an application is executed, and a command used for debugging, in addition to the general module.

어플리케이션(200)의 재설치 없이 필요에 따라, 모듈 인터페이스(220)를 통해 일반 모듈 또는 타겟 모듈이 사용자 단말(120)이 동적(또는 선택적)으로 로드될 수 있다.The user terminal 120 may dynamically (or selectively) load a general module or a target module through the module interface 220 as necessary without re-installing the application 200.

도 3은 일 실시예에 따른 사용자 단말의 구성도이다.3 is a configuration diagram of a user terminal according to an embodiment.

사용자 단말(300)는 통신부(310), 프로세서(320) 및 메모리(330)를 포함한다. 예를 들어, 사용자 단말(300)은 도 1을 참조하여 전술된 사용자 단말(120)에 대응할 수 있다.The user terminal 300 includes a communication unit 310, a processor 320, and a memory 330. For example, the user terminal 300 may correspond to the user terminal 120 described above with reference to FIG. 1.

통신부(310)는 프로세서(320) 및 메모리(330)와 연결되어 데이터를 송수신한다. 통신부(310)는 외부의 다른 장치와 연결되어 데이터를 송수신할 수 있다. 이하에서 "A"를 송수신한다라는 표현은 "A를 나타내는 정보(information) 또는 데이터"를 송수신하는 것을 나타낼 수 있다.The communication unit 310 is connected to the processor 320 and the memory 330 to transmit and receive data. The communication unit 310 may be connected to other external devices to transmit and receive data. Hereinafter, the expression "transmitting/receiving A" may indicate transmitting/receiving "information or data representing A".

통신부(310)는 사용자 단말(300) 내의 회로망(circuitry)으로 구현될 수 있다. 예를 들어, 통신부(310)는 내부 버스(internal bus) 및 외부 버스(external bus)를 포함할 수 있다. 다른 예로, 통신부(310)는 사용자 단말(300)과 외부의 장치를 연결하는 요소일 수 있다. 통신부(310)는 인터페이스(interface)일 수 있다. 통신부(310)는 외부의 장치로부터 데이터를 수신하여, 프로세서(320) 및 메모리(330)에 데이터를 전송할 수 있다.The communication unit 310 may be implemented as a circuitry in the user terminal 300. For example, the communication unit 310 may include an internal bus and an external bus. As another example, the communication unit 310 may be an element that connects the user terminal 300 and an external device. The communication unit 310 may be an interface. The communication unit 310 may receive data from an external device and transmit the data to the processor 320 and the memory 330.

프로세서(320)는 통신부(310)가 수신한 데이터 및 메모리(330)에 저장된 데이터를 처리한다. "프로세서"는 목적하는 동작들(desired operations)을 실행시키기 위한 물리적인 구조를 갖는 회로를 가지는 하드웨어로 구현된 데이터 처리 장치일 수 있다. 예를 들어, 목적하는 동작들은 프로그램에 포함된 코드(code) 또는 인스트럭션들(instructions)을 포함할 수 있다. 예를 들어, 하드웨어로 구현된 데이터 처리 장치는 마이크로프로세서(microprocessor), 중앙 처리 장치(central processing unit), 프로세서 코어(processor core), 멀티-코어 프로세서(multi-core processor), 멀티프로세서(multiprocessor), ASIC(Application-Specific Integrated Circuit), FPGA(Field Programmable Gate Array)를 포함할 수 있다.The processor 320 processes data received by the communication unit 310 and data stored in the memory 330. The “processor” may be a data processing device implemented in hardware having a circuit having a physical structure for executing desired operations. For example, desired operations may include code or instructions included in a program. For example, a data processing device implemented in hardware is a microprocessor, a central processing unit, a processor core, a multi-core processor, and a multiprocessor. , Application-Specific Integrated Circuit (ASIC), and Field Programmable Gate Array (FPGA).

프로세서(320)는 메모리(예를 들어, 메모리(330))에 저장된 컴퓨터로 읽을 수 있는 코드(예를 들어, 소프트웨어) 및 프로세서(320)에 의해 유발된 인스트럭션들을 실행한다.The processor 320 executes computer-readable code (eg, software) stored in a memory (eg, memory 330) and instructions induced by the processor 320.

메모리(330)는 통신부(310)가 수신한 데이터 및 프로세서(320)가 처리한 데이터를 저장한다. 예를 들어, 메모리(330)는 어플리케이션(또는 소프트웨어)을 저장할 수 있다. 저장되는 어플리케이션 내의 프로그램은 모듈을 동적으로 로드할 수 있도록 코딩되어 프로세서(320)에 의해 실행 가능한 신텍스(syntax)들의 집합일 수 있다.The memory 330 stores data received by the communication unit 310 and data processed by the processor 320. For example, the memory 330 may store an application (or software). A program in the stored application may be a set of syntaxes that are coded to dynamically load a module and executed by the processor 320.

일 측면에 따르면, 메모리(330)는 하나 이상의 휘발성 메모리, 비휘발성 메모리 및 RAM(Random Access Memory), 플래시 메모리, 하드 디스크 드라이브 및 광학 디스크 드라이브를 포함할 수 있다.According to an aspect, the memory 330 may include one or more volatile memories, nonvolatile memories and random access memories (RAM), flash memories, hard disk drives, and optical disk drives.

통신부(310), 프로세서(320) 및 메모리(330)에 대해, 아래에서 도 4 내지 7을 참조하여 상세히 설명된다.The communication unit 310, the processor 320, and the memory 330 will be described in detail with reference to FIGS. 4 to 7 below.

도 4는 일 실시예에 따른 어플리케이션을 실행하는 방법의 흐름도이다.4 is a flowchart of a method of executing an application according to an exemplary embodiment.

일 측면에 따르면, 아래의 단계들(410 내지 440)은 도 3을 참조하여 전술된 사용자 단말(300)에 의해 수행된다.According to one aspect, the steps 410 to 440 below are performed by the user terminal 300 described above with reference to FIG. 3.

단계(410)가 수행되기 전에, 사용자 단말(300)은 어플리케이션 서버(예를 들어, 어플리케이션 서버(130))로부터 어플리케이션을 다운로드하고, 설치할 수 있다.Before step 410 is performed, the user terminal 300 may download and install an application from an application server (eg, application server 130).

단계(410)에서, 사용자 단말(300)은 어플리케이션의 실행 명령이 수신된 경우 타겟 모듈을 로드하기 위해 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정한다. 예를 들어, 사용자는 사용자 단말(300)에 디스플레이된 어플리케이션을 클릭 또는 터치함으로써 실행 명령을 입력할 수 있다.In step 410, when an execution command of an application is received, the user terminal 300 determines whether at least one preset condition for loading a target module is satisfied. For example, the user may input an execution command by clicking or touching an application displayed on the user terminal 300.

미리 설정된 적어도 하나의 조건에 대해, 아래에서 도 5를 참조하여 상세하게 설명된다.At least one preset condition is described in detail with reference to FIG. 5 below.

단계(420)에서, 사용자 단말(300)은 조건이 만족된 경우, 어플리케이션의 실행을 위한 실행 코드의 런타임 시에 타겟 모듈을 로드한다. 예를 들어, 사용자 단말(300)은 모듈 제공 서버(예를 들어, 모듈 제공 서버(110))로 타겟 모듈을 요청하고, 모듈 제공 서버로부터 타겟 모듈을 수신할 수 있다.In step 420, if the condition is satisfied, the user terminal 300 loads the target module at runtime of the execution code for executing the application. For example, the user terminal 300 may request a target module from a module providing server (eg, the module providing server 110) and receive the target module from the module providing server.

단계(430)에서, 사용자 단말(300)은 조건이 만족되지 않은 경우, 어플리케이션의 실행을 위한 실행 코드의 런타임 시에 일반 모듈을 로드한다. 예를 들어, 사용자 단말(300)은 모듈 제공 서버(예를 들어, 모듈 제공 서버(110))로 일반 모듈을 요청하고, 모듈 제공 서버로부터 일반 모듈을 수신할 수 있다.In step 430, if the condition is not satisfied, the user terminal 300 loads a general module at runtime of an execution code for executing an application. For example, the user terminal 300 may request a general module from a module providing server (eg, the module providing server 110) and receive a general module from the module providing server.

단계(440)에서, 사용자 단말(300)은 실행 코드를 실행함으로써 어플리케이션을 실행한다. 예를 들어, 로드된 타겟 모듈에 기초하여 실행 코드가 변경될 수 있다.In step 440, the user terminal 300 executes the application by executing the execution code. For example, the executable code may be changed based on the loaded target module.

도 5는 일 예에 따른 타겟 모듈을 로드하기 위해 미리 설정된 조건이 만족되었는지 여부를 결정하는 방법의 흐름도이다.5 is a flowchart of a method for determining whether a preset condition is satisfied for loading a target module according to an example.

일 측면에 따르면, 도 4를 참조하여 전술된 단계(410)는 아래의 단계들(510 내지 560)을 포함할 수 있다.According to one aspect, the step 410 described above with reference to FIG. 4 may include the following steps 510 to 560.

단계(510)에서, 사용자 단말(300)은 사용자 단말(300)의 고유 특징을 검출한다. 예를 들어, 고유 특징은 사용자 단말(300)이 일반 사용자의 사용자 단말이 아니고, 어플리케이션을 관리하는 임직원의 사용자 단말임을 결정하기 위한 특징일 수 있다. 고유 특징은 사용자 단말(300)의 컴포넌트의 고유 번호일 수 있다.In step 510, the user terminal 300 detects a unique characteristic of the user terminal 300. For example, the unique characteristic may be a characteristic for determining that the user terminal 300 is not a user terminal of a general user, but a user terminal of an employee who manages an application. The unique feature may be a unique number of a component of the user terminal 300.

단계(520)에서, 사용자 단말(300)은 고유 특징이 미리 설정된 특징에 대응하는지 여부를 결정한다. 미리 설정된 특징에 대한 정보는 어플리케이션에 저장되어 있을 수 있다.In step 520, the user terminal 300 determines whether the unique feature corresponds to a preset feature. Information on a preset feature may be stored in an application.

단계(530)에서, 사용자 단말(300)은 고유 특징이 미리 설정된 특징에 대응하는 경우, 조건이 만족된 것으로 결정한다.In step 530, when the unique feature corresponds to a preset feature, the user terminal 300 determines that the condition is satisfied.

단계(540)에서, 사용자 단말(300)은 사용자 단말(300)의 인터넷 프로토콜(Internet Protocol: IP) 주소를 검출한다.In step 540, the user terminal 300 detects an Internet Protocol (IP) address of the user terminal 300.

단계(550)에서, 사용자 단말(300)은 검출된 IP 주소가 미리 설정된 주소에 해당하는지 여부를 결정한다. 미리 설정된 주소에 대한 정보는 어플리케이션에 저장되어 있을 수 있다.In step 550, the user terminal 300 determines whether the detected IP address corresponds to a preset address. Information on a preset address may be stored in an application.

단계(530)에서, 사용자 단말(300)은 검출된 IP 주소가 미리 설정된 주소에 대응하는 경우, 조건이 만족된 것으로 결정한다.In step 530, when the detected IP address corresponds to a preset address, the user terminal 300 determines that the condition is satisfied.

단계(560)에서, 사용자 단말(300)은 검출된 IP 주소가 미리 설정된 주소에 대응하지 않은 경우, 조건이 만족되지 않은 것으로 결정한다.In step 560, if the detected IP address does not correspond to a preset address, the user terminal 300 determines that the condition is not satisfied.

단계들(540 내지 550)이 단계들(510 내지 520)가 수행된 후에 수행되는 것으로 도시 및 설명되었으나, 일 예에 따르면, 단계들(540 내지 550)이 수행된 후에 단계들(510 내지 520)이 수행될 수 있고, 다른 일 예에 따르면, 단계들(510 내지 520) 및 단계들(540 내지 550)이 병렬적으로 수행되거나, 개별적으로 수행될 수 있다.Although steps 540 to 550 are shown and described as being performed after steps 510 to 520 are performed, according to an example, steps 510 to 520 after steps 540 to 550 are performed This may be performed, and according to another example, steps 510 to 520 and steps 540 to 550 may be performed in parallel or may be performed individually.

도 6은 일 예에 따른 실행 코드를 실행함으로써 어플리케이션을 실행하는 방법의 흐름도이다.6 is a flowchart of a method of executing an application by executing an execution code according to an example.

일 측면에 따르면, 도 4를 참조하여 전술된 단계(440)는 아래의 단계들(610 내지 630)을 포함한다.According to one aspect, step 440 described above with reference to FIG. 4 includes the following steps 610 to 630.

단계(610)에서, 사용자 단말(300)은 타겟 모듈에 기초하여 실행 코드를 변경한다. 예를 들어, 타겟 모듈에 포함된 코드를 실행 코드에 추가할 수 있다. 타겟 모듈은 어플리케이션의 품질 보증(quality assurance: QA) 또는 어플리케이션의 테스트를 위한 모듈일 수 있다.In step 610, the user terminal 300 changes the execution code based on the target module. For example, code included in the target module can be added to the executable code. The target module may be a module for application quality assurance (QA) or application testing.

단계(620)에서, 사용자 단말(300)은 일반 모듈에 기초하여 실행 코드를 변경한다. 예를 들어, 일반 모듈에 포함된 코드를 실행 코드에 추가할 수 있다.In step 620, the user terminal 300 changes the execution code based on the general module. For example, you can add code contained in a general module to the executable code.

단계(630)에서, 사용자 단말(300)은 변경된 실행 코드를 실행함으로써 어플리케이션을 실행한다. 타겟 모듈은 일반 모듈에 비해, 어플리케이션이 실행되는 경우 사용자 단말(300)에 대한 추가의 정보를 획득할 수 있다.In step 630, the user terminal 300 executes the application by executing the changed execution code. Compared to the general module, the target module may acquire additional information about the user terminal 300 when the application is executed.

예를 들어, 추가의 정보는 사용자 단말(300)의 실시간 중앙 처리 장치 사용률(Central Processing Unit: CPU), 메모리 사용률, 그래픽 처리 장치(Graphic Processing Unit: GPU) 사용률 및 네트워크 사용률 중 적어도 하나를 포함할 수 있다.For example, the additional information may include at least one of a real-time central processing unit (CPU), memory usage, graphic processing unit (GPU) usage rate, and network usage rate of the user terminal 300. I can.

다른 예로, 추가의 정보는, 어플리케이션 실행에 의해 발생하는 화면의 프레임 레이트(frame rate) 및 화면의 스크린 샷(screen shot) 중 적어도 하나를 포함할 수 있다.As another example, the additional information may include at least one of a frame rate of a screen and a screen shot of a screen generated by execution of an application.

일 측면에 따르면, 타겟 모듈에 의해 실행되는 어플리케이션은 어플리케이션이 실행되는 동안 사용자 단말(300)에 의해 생성되는 일련의 데이터를 획득할 수 있다. 어플리케이션의 관리자(예를 들어, 모듈 제공 서버의 관리자)는 일련의 데이터에 기초하여 어플리케이션의 디버깅을 수행할 수 있다.According to an aspect, the application executed by the target module may acquire a series of data generated by the user terminal 300 while the application is being executed. An application manager (eg, a manager of a module providing server) may debug an application based on a series of data.

추가의 정보를 획득한 어플리케이션의 관리자는 추가의 정보에 기초하여 어플리케이션 또는 어플리케이션의 실행 코드의 문제점을 파악할 수 있다. 만일, 어플리케이션의 실행 코드를 수정하여 모든 문제점이 해결된 경우, 관리자는 어플리케이션을 새롭게 빌드하고, 빌드된 어플리케이션을 배포할 수 있다. 예를 들어, 빌드된 어플리케이션에는 모듈 인터페이스가 포함되지 않고, 게임 코드 및 모듈 코드를 포함할 수 있다.The administrator of the application that has obtained the additional information may identify a problem with the application or an execution code of the application based on the additional information. If all problems are solved by modifying the execution code of the application, the administrator can newly build the application and distribute the built application. For example, the built application does not include a module interface, but may include a game code and a module code.

도 7은 일 예에 따른 종래의 실행 코드 및 로드된 모듈에 기초하여 변경된 실행 코드를 도시한다.7 shows a conventional execution code and a modified execution code based on a loaded module according to an example.

어플리케이션을 구성하는 종래의 실행 코드(710)는 미리 설정된 코드들을 실행함으로써 어플리케이션을 실행한다.The conventional execution code 710 constituting the application executes the application by executing preset codes.

이에 반하여, 일 실시예에 따른 어플리케이션을 구성하는 실행 코드(720)는 코드 내에 포함된 인터페이스를 이용하여 모듈을 로드하고, 로드된 모듈에 기초하여 변경될 수 있다.On the contrary, the execution code 720 constituting the application according to the embodiment loads a module using an interface included in the code, and may be changed based on the loaded module.

예를 들어, 제1 코드(721)는 타겟 모듈의 특정한 함수를 호출하기 위한 정보를 추출타겟 모듈을 로드하기 위해 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 코드일 수 있다.For example, the first code 721 may be a code that extracts information for calling a specific function of the target module and determines whether at least one preset condition is satisfied in order to load the target module.

예를 들어, 제2 코드(722)는 상기에서 추출된 정보에 기초하여 타겟 모듈의 특정한 함수를 호출타겟 모듈을 로드하는 코드일 수 있다. 타겟 모듈이 로드된 경우, 타겟 모듈의 코드가 제2 코드(722)에 추가될 수 있다.For example, the second code 722 may be a code for loading a target module to call a specific function of the target module based on the information extracted above. When the target module is loaded, the code of the target module may be added to the second code 722.

도 8은 일 실시예에 따른 서버의 구성도이다.8 is a configuration diagram of a server according to an embodiment.

서버(800)는 통신부(810), 프로세서(820) 및 메모리(830)를 포함한다. 예를 들어, 서버(800)은 도 1을 참조하여 전술된 모듈 제공 서버(110)에 대응할 수 있다.The server 800 includes a communication unit 810, a processor 820, and a memory 830. For example, the server 800 may correspond to the module providing server 110 described above with reference to FIG. 1.

통신부(810)는 프로세서(820) 및 메모리(830)와 연결되어 데이터를 송수신한다. 통신부(810)는 외부의 다른 장치와 연결되어 데이터를 송수신할 수 있다.The communication unit 810 is connected to the processor 820 and the memory 830 to transmit and receive data. The communication unit 810 may be connected to another external device to transmit and receive data.

통신부(810)는 서버(800) 내의 회로망으로 구현될 수 있다. 예를 들어, 통신부(810)는 내부 버스 및 외부 버스를 포함할 수 있다. 다른 예로, 통신부(810)는 서버(800)와 외부의 장치를 연결하는 요소일 수 있다. 통신부(810)는 인터페이스일 수 있다. 통신부(810)는 외부의 장치로부터 데이터를 수신하여, 프로세서(820) 및 메모리(830)에 데이터를 전송할 수 있다.The communication unit 810 may be implemented as a network in the server 800. For example, the communication unit 810 may include an internal bus and an external bus. As another example, the communication unit 810 may be an element that connects the server 800 and an external device. The communication unit 810 may be an interface. The communication unit 810 may receive data from an external device and transmit the data to the processor 820 and the memory 830.

프로세서(820)는 통신부(810)가 수신한 데이터 및 메모리(830)에 저장된 데이터를 처리한다. 프로세서(820)는 메모리(예를 들어, 메모리(830))에 저장된 컴퓨터로 읽을 수 있는 코드(예를 들어, 소프트웨어) 및 프로세서(820)에 의해 유발된 인스트럭션들을 실행한다.The processor 820 processes data received by the communication unit 810 and data stored in the memory 830. The processor 820 executes computer-readable code (eg, software) stored in a memory (eg, memory 830) and instructions induced by the processor 820.

메모리(830)는 통신부(810)가 수신한 데이터 및 프로세서(820)가 처리한 데이터를 저장한다. 예를 들어, 메모리(830)는 프로그램을 저장할 수 있다. 저장되는 프로그램은 사용자 단말(300)로 모듈을 제공할 수 있도록 코딩되어 프로세서(820)에 의해 실행 가능한 신텍스들의 집합일 수 있다.The memory 830 stores data received by the communication unit 810 and data processed by the processor 820. For example, the memory 830 may store a program. The stored program may be a set of syntaxes that are coded to provide a module to the user terminal 300 and executed by the processor 820.

일 측면에 따르면, 메모리(830)는 하나 이상의 휘발성 메모리, 비휘발성 메모리 및 RAM, 플래시 메모리, 하드 디스크 드라이브 및 광학 디스크 드라이브를 포함할 수 있다.According to one aspect, the memory 830 may include one or more volatile memory, nonvolatile memory and RAM, flash memory, hard disk drive, and optical disk drive.

통신부(810), 프로세서(820) 및 메모리(830)에 대해, 아래에서 도 9를 참조하여 상세히 설명된다.The communication unit 810, the processor 820, and the memory 830 will be described in detail with reference to FIG. 9 below.

도 9는 일 예에 따른 사용자 단말로 모듈을 제공하는 방법의 흐름도이다.9 is a flowchart of a method of providing a module to a user terminal according to an example.

일 측에 따른, 아래의 단계들(910 내지 940)은 도 8을 참조하여 전술된 서버(800)에 의해 수행된다.According to one side, the following steps 910 to 940 are performed by the server 800 described above with reference to FIG. 8.

단계(910)에서, 서버(800)는 사용자 단말(300)로부터 사용자 단말의 고유 특징 및 IP 주소 중 적어도 하나를 타겟 정보로서 수신한다.In step 910, the server 800 receives from the user terminal 300 at least one of a unique characteristic of the user terminal and an IP address as target information.

단계(920)에서, 서버(800)는 사용자 단말(300)로부터 타겟 정보가 미리 설정된 조건을 만족하는지 여부를 결정할 수 있다. 미리 설정된 조건을 만족하는지 여부를 결정하는 방법에 대한 설명은, 도 4 및 5를 참조하여 전술된 단계(410)에 대한 설명으로 대체될 수 있다.In step 920, the server 800 may determine whether the target information from the user terminal 300 satisfies a preset condition. A description of a method of determining whether a preset condition is satisfied may be replaced with a description of the step 410 described above with reference to FIGS. 4 and 5.

도 4를 참조하여 전술된 참조한 단계(410)를 수행하는 실시예는 사용자 단말(300)에 의해 조건이 만족되는지 여부가 결정되지만, 단계들(910 내지 920)을 수행하는 실시예는 사용자 단말(300)로부터 수신된 타겟 정보에 기초하여 서버(300)가 조건이 만족되었는지 여부가 결정된다.In the embodiment of performing the referenced step 410 described above with reference to FIG. 4, whether the condition is satisfied by the user terminal 300 is determined, but the embodiment of performing the steps 910 to 920 is the user terminal ( It is determined whether the condition of the server 300 is satisfied based on the target information received from 300).

단계(930)에서, 서버(800)는 타겟 정보가 미리 설정된 조건을 만족하는 경우, 사용자 단말(800)로 타겟 모듈을 전송한다. 사용자 단말(800)은 사용자 단말(800)에서 어플리케이션의 실행을 위한 실행 코드의 런타임 시에 타겟 모듈을 로드한다.In step 930, when the target information satisfies a preset condition, the server 800 transmits the target module to the user terminal 800. The user terminal 800 loads the target module at runtime of an execution code for executing an application in the user terminal 800.

단계(940)에서, 서버(800)는 타겟 정보가 미리 설정된 조건을 만족하지 않은 경우, 사용자 단말(800)로 일반 모듈을 전송한다. 사용자 단말(800)은 사용자 단말(800)에서 어플리케이션의 실행을 위한 실행 코드의 런타임 시에 일반 모듈을 로드한다.In step 940, when the target information does not satisfy a preset condition, the server 800 transmits a general module to the user terminal 800. The user terminal 800 loads a general module at runtime of an execution code for executing an application in the user terminal 800.

서버(800)의 관리자는 어플리케이션의 실행 코드의 내용을 수정할 필요가 있을 때, 수정된 어플리케이션 자체를 새롭게 배포하지 않고도, 어플리케이션의 실행 코드 내의 인터페이스를 통해 수정된 모듈을 사용자 단말(800)로 제공함으로써 수정된 코드의 내용을 사용자 단말(800)로 제공한다.When the administrator of the server 800 needs to modify the contents of the execution code of the application, the modified module is provided to the user terminal 800 through the interface in the execution code of the application without newly distributing the modified application itself. The contents of the modified code are provided to the user terminal 800.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiment, or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. -A hardware device specially configured to store and execute program instructions such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of the program instructions include not only machine language codes such as those produced by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operation of the embodiment, and vice versa.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of these, configuring the processing unit to behave as desired or processed independently or collectively. You can command the device. Software and/or data may be interpreted by a processing device or to provide instructions or data to a processing device, of any type of machine, component, physical device, virtual equipment, computer storage medium or device. , Or may be permanently or temporarily embodyed in a transmitted signal wave. The software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer-readable recording media.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described by the limited drawings, a person of ordinary skill in the art can apply various technical modifications and variations based on the above. For example, the described techniques are performed in a different order from the described method, and/or components such as a system, structure, device, circuit, etc. described are combined or combined in a form different from the described method, or other components Alternatively, even if substituted or substituted by an equivalent, an appropriate result can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 청구범위의 범위에 속한다.Therefore, other implementations, other embodiments and claims and equivalents fall within the scope of the following claims.

300: 사용자 단말
310: 통신부
320: 프로세서
330: 메모리
800: 서버
810: 통신부
820: 프로세서
830: 메모리
300: user terminal
310: Ministry of Communications
320: processor
330: memory
800: server
810: communication department
820: processor
830: memory

Claims (1)

동적으로 로드되는 모듈에 기초하여 어플리케이션을 실행하는 방법은,
상기 어플리케이션의 실행 명령이 수신된 경우, 타겟 모듈을 로드하기 위해 미리 설정된 적어도 하나의 조건이 만족되었는지 여부를 결정하는 단계;
상기 적어도 하나의 조건이 만족된 경우, 상기 어플리케이션의 실행을 위한 실행 코드의 런타임(runtime) 시에 상기 타겟 모듈을 로드하는 단계; 및
상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계
를 포함하고,
상기 실행 코드를 실행함으로써 상기 어플리케이션을 실행하는 단계는,
상기 로드된 타겟 모듈에 기초하여 상기 실행 코드를 변경하는 단계; 및
상기 변경된 실행 코드를 실행함으로 상기 어플리케이션을 실행하는 단계
를 포함하는,
어플리케이션 실행 방법.
How to run an application based on a dynamically loaded module,
Determining whether at least one preset condition for loading a target module is satisfied when an execution command of the application is received;
If the at least one condition is satisfied, loading the target module at runtime of an execution code for executing the application; And
Executing the application by executing the execution code
Including,
Executing the application by executing the execution code,
Changing the executable code based on the loaded target module; And
Executing the application by executing the changed execution code
Containing,
How to run the application.
KR1020200098498A 2020-08-06 2020-08-06 Method and apparatus for executing an application based on dynamically loaded module KR20200119222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200098498A KR20200119222A (en) 2020-08-06 2020-08-06 Method and apparatus for executing an application based on dynamically loaded module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200098498A KR20200119222A (en) 2020-08-06 2020-08-06 Method and apparatus for executing an application based on dynamically loaded module

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190041210A Division KR102144578B1 (en) 2019-04-09 2019-04-09 Method and apparatus for executing an application based on dynamically loaded module

Publications (1)

Publication Number Publication Date
KR20200119222A true KR20200119222A (en) 2020-10-19

Family

ID=73042598

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200098498A KR20200119222A (en) 2020-08-06 2020-08-06 Method and apparatus for executing an application based on dynamically loaded module

Country Status (1)

Country Link
KR (1) KR20200119222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064153A (en) * 2021-11-26 2022-02-18 中船重工(武汉)凌久电子有限责任公司 Embedded dynamic module loading method and device based on multi-core processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064153A (en) * 2021-11-26 2022-02-18 中船重工(武汉)凌久电子有限责任公司 Embedded dynamic module loading method and device based on multi-core processor
CN114064153B (en) * 2021-11-26 2024-04-05 中船重工(武汉)凌久电子有限责任公司 Method and device for loading embedded dynamic module based on multi-core processor

Similar Documents

Publication Publication Date Title
CN109032706B (en) Intelligent contract execution method, device, equipment and storage medium
US9825908B2 (en) System and method to monitor and manage imperfect or compromised software
US9117079B1 (en) Multiple application versions in a single virtual machine
US20190087212A1 (en) Android simulator and method for implementing android simulator
KR101806090B1 (en) Generic unpacking of applications for malware detection
US20120239987A1 (en) System and Method of Manipulating Virtual Machine Recordings for High-Level Execution and Replay
US20110131329A1 (en) Application processing allocation in a computing system
US11301562B2 (en) Function execution based on data locality and securing integration flows
US8261243B2 (en) Selective execution of trace mechanisms for applications having different bit structures
US8799889B2 (en) Application downloading
US8793688B1 (en) Systems and methods for double hulled virtualization operations
US10338952B2 (en) Program execution without the use of bytecode modification or injection
US10445126B2 (en) Preloading enhanced application startup
US10229037B2 (en) System, method, and computer program product for error code injection
US11726800B2 (en) Remote component loader
US10372908B2 (en) System and method for detecting malware in a stream of bytes
US8645766B2 (en) Serialized error injection into a function under test
US9075601B1 (en) Providing a scripting interface to existing code
US10467078B2 (en) Crash dump extraction of guest failure
US8938608B2 (en) Enabling portions of programs to be executed on system z integrated information processor (zIIP) without requiring programs to be entirely restructured
CN107408053B (en) Method, system, and medium for binary translation to native clients
KR102144578B1 (en) Method and apparatus for executing an application based on dynamically loaded module
KR20200119222A (en) Method and apparatus for executing an application based on dynamically loaded module
US9934204B2 (en) Conditionally reload workarea user interfaces using a flag indicator to balance performance and stability of web applications
CN106802847B (en) Method and apparatus for emulating a slow storage disk