KR102329939B1 - VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service - Google Patents

VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service Download PDF

Info

Publication number
KR102329939B1
KR102329939B1 KR1020200037298A KR20200037298A KR102329939B1 KR 102329939 B1 KR102329939 B1 KR 102329939B1 KR 1020200037298 A KR1020200037298 A KR 1020200037298A KR 20200037298 A KR20200037298 A KR 20200037298A KR 102329939 B1 KR102329939 B1 KR 102329939B1
Authority
KR
South Korea
Prior art keywords
service
scenario
wot
virtual reality
test
Prior art date
Application number
KR1020200037298A
Other languages
Korean (ko)
Other versions
KR20210120507A (en
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 KR1020200037298A priority Critical patent/KR102329939B1/en
Publication of KR20210120507A publication Critical patent/KR20210120507A/en
Application granted granted Critical
Publication of KR102329939B1 publication Critical patent/KR102329939B1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Debugging And Monitoring (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

시각 및 음향 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법 및 장치가 제시된다. 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치가 수행하는 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법은, 다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계; 및 상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 단계를 포함하여 이루어질 수 있다. A virtual reality-based scenario testing method and apparatus for visual and acoustic web services are presented. A method for testing a virtual reality-based scenario of a web service performed by an apparatus for testing a virtual reality-based scenario of a web of things according to an embodiment is a method for performing a Web of Things (WoT) service in order to provide a test environment for various test scenarios. constructing a scenario-based test framework; and testing the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality).

Figure R1020200037298
Figure R1020200037298

Description

시각 및 음향 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법 및 장치{VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service}VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service

아래의 실시예들은 시각 및 음향 사물 웹(Web of Things, WoT) 서비스의 가상 현실(Virtual Reality, VR) 기반 시나리오 테스팅 방법 및 장치에 관한 것이다. The following embodiments relate to a virtual reality (VR)-based scenario testing method and apparatus of a visual and acoustic Web of Things (WoT) service.

최근 네트워킹 시스템의 발전은 전통적인 웹의 경계를 사물 웹(Web of Things, WoT)으로 확장시켰다. WoT는 WoT 서비스라고 불리는 웹 상의 서비스가 환경의 물리적 사물들과 적극적으로 상호작용을 할 수 있도록 한다. 특히, 물리적 장치를 통해 각각 빛과 소리를 내는 시각(visual) 및 음향(acoustic) WoT 서비스는 WoT 서비스의 가장 보편적인 유형이다. Recent developments in networking systems have extended the boundaries of the traditional web to the Web of Things (WoT). WoT enables services on the web, called WoT services, to actively interact with physical objects in the environment. In particular, a visual and acoustic WoT service that emits light and sound through a physical device, respectively, is the most common type of WoT service.

이러한 WoT 서비스의 작동 또는 감지 기능을 테스트하기 위해 다양한 물리적 장치로 구성된 실제 테스트베드를 구축하여 시나리오 기반 테스트를 수행할 수 있다. 시나리오 기반 테스트는 일반적으로 제한된 테스트 집합을 사용하여 테스트할 수 없는 다양한 인적 요인을 고려하면서 소프트웨어를 테스트하는 효과적인 기법으로 간주된다. 한편, 실제 테스트베드를 구축하려면 수많은 물리적 장치를 설치하거나 구성을 변경하는 비용이 많이 든다.In order to test the operation or detection function of these WoT services, scenario-based tests can be performed by building a real test bed composed of various physical devices. Scenario-based testing is generally considered an effective technique for testing software while taking into account various human factors that cannot be tested using a limited set of tests. On the other hand, building a real testbed is expensive to install a number of physical devices or change configurations.

최근 연구에서 가상현실(Virtual Reality, VR) 기법은 심리 실험을 모방하는 데 사용되어 왔다(비특허문헌 1). 또한, 또 다른 최근의 연구는 시력이 나쁜 노인들의 관점을 경험하기 위해 VR을 사용자 연구에 활용하는 것을 제안했다. In recent studies, virtual reality (VR) techniques have been used to imitate psychological experiments (Non-Patent Document 1). In addition, another recent study suggested the use of VR in user research to experience the perspectives of the elderly with poor eyesight.

Ma, X., Cackett, M., Park, L., Chien, E., Naaman, M.: Web-based VR experiments powered by the crowd. In: Proceedings of the 2018 World Wide Web Conference on World Wide Web, pp. 33-43. International World Wide Web Conferences Steering Committee (2018). Ma, X., Packett, M., Park, L., Chien, E., Naaman, M.: Web-based VR experiments powered by the crowd. In: Proceedings of the 2018 World Wide Web Conference on World Wide Web, pp. 33-43. International World Wide Web Conferences Steering Committee (2018).

실시예들은 시각 및 음향 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법 및 장치에 관하여 기술하며, 보다 구체적으로 가상 현실 기술을 활용하여 가상 환경 속에서 사물인터넷 서비스의 기능을 테스트함으로써 비용 효율적으로 다양한 환경에서 사물인터넷 서비스를 테스트할 수 있는 기술을 제공한다. Embodiments describe a virtual reality-based scenario testing method and apparatus of a visual and acoustic web service of things, and more specifically, by using virtual reality technology to test the function of an Internet of Things service in a virtual environment, cost-effectively in various environments It provides technology to test IoT services.

실시예들은 시각 및 음향 WoT 서비스에 대한 시나리오 기반의 테스트 프레임워크를 물리적 환경에 인식하는 것을 제안하고, 프레임워크의 VR 기반 구현을 통해 복수의 테스트 시나리오를 효율적으로 개발할 수 있는, 시각 및 음향 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법 및 장치를 제공하는데 있다. The embodiments propose to recognize a scenario-based test framework for a visual and acoustic WoT service in a physical environment, and a visual and acoustic web of things that can efficiently develop a plurality of test scenarios through VR-based implementation of the framework An object of the present invention is to provide a method and apparatus for testing a virtual reality-based scenario of a service.

일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치가 수행하는 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법은, 다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계; 및 상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 단계를 포함하여 이루어질 수 있다. A method for testing a virtual reality-based scenario of a web service performed by an apparatus for testing a virtual reality-based scenario of a web of things according to an embodiment is a method for performing a Web of Things (WoT) service in order to provide a test environment for various test scenarios. constructing a scenario-based test framework; and testing the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality).

상기 WoT 서비스는, 웹 상의 서비스가 환경의 물리적 사물들과 적극적으로 상호작용을 하며, 물리적 장치를 통해 각각 빛과 소리를 생산하는 시각(visual) 및 음향(acoustic) WoT 서비스일 수 있다. The WoT service may be a visual and acoustic WoT service in which a web service actively interacts with physical objects in the environment and produces light and sound through a physical device, respectively.

상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는, 상기 테스트 프레임워크의 시나리오는 사용자 패턴(user pattern), 환경(environment) 및 서비스 간섭(service Interference)을 반영하도록 구성될 수 있다. In the configuring a scenario-based test framework for the WoT service, the scenario of the test framework may be configured to reflect a user pattern, an environment, and a service interference.

상기 테스트 프레임워크의 시나리오는 사용자가 이동하는 상기 사용자 패턴을 반영하며, 상기 WoT 서비스는 상기 사용자의 위치를 추적하고 상기 사용자에게 공간적으로 가장 가까운 디스플레이 또는 스피커를 찾아 서비스를 제공할 수 있다. The scenario of the test framework reflects the user pattern in which the user moves, and the WoT service may track the user's location and provide the service by finding a display or speaker that is spatially closest to the user.

상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는, 상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 수학식 1에 적용하여 구성할 수 있다. The configuring of the scenario-based test framework for the WoT service may include applying a scenario of the scenario-based test framework for the WoT service to Equation (1).

[수학식 1] [Equation 1]

c = {U, env, I}c = {U, env, I}

여기서, U는 사용자 패턴(user pattern)이고, env은 환경(environment)이며, I는 서비스 간섭(service Interference)이다.Here, U is a user pattern, env is an environment, and I is a service interference.

상기 환경은 상기 시나리오의 모든 개체에 대한 구성을 포함하며, 미리 정해진 사용자 패턴이나 방해 서비스가 없는 경우 상기 사용자 패턴 또는 상기 서비스 간섭을 공집합으로 표현할 수 있다. The environment includes configurations for all entities in the scenario, and when there is no predetermined user pattern or interference service, the user pattern or service interference can be expressed as an empty set.

상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는, 상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 확장하여 상기 사용자의 특정 이동 경로가 포함된 시나리오를 수학식 2에 적용하여 구성할 수 있다. The step of configuring the scenario-based test framework for the WoT service may include extending the scenario of the scenario-based test framework for the WoT service and applying a scenario including the specific movement path of the user to Equation 2 to configure. can

[수학식 2] [Equation 2]

cmobility = {{mobilityu}, envc,

Figure 112020032146620-pat00001
} c mobility = {{mobility u }, env c ,
Figure 112020032146620-pat00001
}

여기서, {mobilityu}는 특정 이동 경로가 포함된 사용자 패턴이고, envc은 환경이며,

Figure 112020032146620-pat00002
는 서비스 간섭이 없는 것이다.where {mobility u } is a user pattern including a specific movement path, env c is an environment,
Figure 112020032146620-pat00002
is no service interference.

상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는, 상기 사용자의 특정 이동 경로가 포함된 시나리오에 다른 서비스가 빛 또는 소리를 발생시키는 간섭 상황을 테스트하기 위해 간섭 모델을 삽입하여 시나리오를 확장하며 수학식 3에 적용하여 구성할 수 있다. In the step of configuring the scenario-based test framework for the WoT service, the scenario is expanded by inserting an interference model to test the interference situation in which another service generates light or sound in the scenario including the user's specific movement path. and can be configured by applying Equation (3).

[수학식 3][Equation 3]

ci = {{mobilityu}, envc, {noise, glare}}c i = {{mobility u }, env c , {noise, glare}}

여기서, {noise, glare}는 다른 서비스가 빛 또는 소리를 발생시키는 서비스 간섭이다.Here, {noise, glare} is service interference in which another service generates light or sound.

다른 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치는, 다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 테스트 프레임워크부; 및 상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 VR 구현부를 포함하여 이루어질 수 있다. A virtual reality-based scenario testing apparatus of a web service according to another embodiment includes: a test framework unit configured to configure a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and a VR implementation unit that tests the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality).

상기 WoT 서비스는, 웹 상의 서비스가 환경의 물리적 사물들과 적극적으로 상호작용을 하며, 물리적 장치를 통해 각각 빛과 소리를 생산하는 시각(visual) 및 음향(acoustic) WoT 서비스일 수 있다. The WoT service may be a visual and acoustic WoT service in which a web service actively interacts with physical objects in the environment and produces light and sound through a physical device, respectively.

상기 테스트 프레임워크부는, 상기 테스트 프레임워크의 시나리오는 사용자 패턴(user pattern), 환경(environment) 및 서비스 간섭(service Interference)을 반영하도록 구성될 수 있다. The test framework unit, the scenario of the test framework may be configured to reflect a user pattern (user pattern), environment (environment) and service interference (service interference).

상기 테스트 프레임워크부는, 상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 수학식 1에 적용하여 구성할 수 있다. The test framework unit may be configured by applying a scenario of a scenario-based test framework for the WoT service to Equation (1).

[수학식 1] [Equation 1]

c = {U, env, I}c = {U, env, I}

여기서, U는 사용자 패턴(user pattern)이고, env은 환경(environment)이며, I는 서비스 간섭(service Interference)이다.Here, U is a user pattern, env is an environment, and I is a service interference.

상기 환경은 상기 시나리오의 모든 개체에 대한 구성을 포함하며, 미리 정해진 사용자 패턴이나 방해 서비스가 없는 경우 상기 사용자 패턴 또는 상기 서비스 간섭을 공집합으로 표현할 수 있다. The environment includes configurations for all entities in the scenario, and when there is no predetermined user pattern or interference service, the user pattern or service interference can be expressed as an empty set.

상기 테스트 프레임워크부는, 상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 확장하여 상기 사용자의 특정 이동 경로가 포함된 시나리오를 수학식 2에 적용하여 구성할 수 있다. The test framework unit may extend a scenario of a scenario-based test framework for the WoT service and configure a scenario including the user's specific movement path by applying Equation 2 to Equation (2).

[수학식 2] [Equation 2]

cmobility = {{mobilityu}, envc,

Figure 112020032146620-pat00003
} c mobility = {{mobility u }, env c ,
Figure 112020032146620-pat00003
}

여기서, {mobilityu}는 특정 이동 경로가 포함된 사용자 패턴이고, envc은 환경이며,

Figure 112020032146620-pat00004
는 서비스 간섭이 없는 것이다.where {mobility u } is a user pattern including a specific movement path, env c is an environment,
Figure 112020032146620-pat00004
is no service interference.

상기 테스트 프레임워크부는, 상기 사용자의 특정 이동 경로가 포함된 시나리오에 다른 서비스가 빛 또는 소리를 발생시키는 간섭 상황을 테스트하기 위해 간섭 모델을 삽입하여 시나리오를 확장하며 수학식 3에 적용하여 구성할 수 있다. The test framework unit extends the scenario by inserting an interference model to test an interference situation in which another service generates light or sound in a scenario including the user's specific movement path, and can be configured by applying Equation 3 have.

[수학식 3][Equation 3]

ci = {{mobilityu}, envc, {noise, glare}}c i = {{mobility u }, env c , {noise, glare}}

여기서, {noise, glare}는 다른 서비스가 빛 또는 소리를 발생시키는 서비스 간섭이다. Here, {noise, glare} is service interference in which another service generates light or sound.

실시예들에 따르면 가상 현실 기술을 활용하여 가상 환경 속에서 사물인터넷 서비스의 기능을 테스트함으로써 비용 효율적으로 다양한 환경에서 사물인터넷 서비스를 테스트할 수 있는, 시각 및 음향 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법 및 장치를 제공할 수 있다.According to embodiments, virtual reality-based scenario testing of a visual and acoustic web service of things that can cost-effectively test the Internet of Things service in various environments by using virtual reality technology to test the function of the Internet of Things service in a virtual environment Methods and apparatus can be provided.

실시예들에 따르면 시각 및 음향 WoT 서비스에 대한 시나리오 기반의 테스트 프레임워크를 물리적 환경에 인식하는 것을 제안하고, 프레임워크의 VR 기반 구현을 통해 복수의 테스트 시나리오를 효율적으로 개발할 수 있는, 시각 및 음향 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법 및 장치를 제공할 수 있다. According to embodiments, it is proposed to recognize a scenario-based test framework for a visual and acoustic WoT service in a physical environment, and a plurality of test scenarios can be efficiently developed through VR-based implementation of the framework. It is possible to provide a virtual reality-based scenario testing method and apparatus of a web of things.

도 1은 일 실시예에 따른 WoT 서비스를 위한 시나리오 기반 테스트 프레임워크의 예비 모델을 나타내는 도면이다.
도 2는 일 실시예에 따른 뉴스 전달 서비스의 예를 설명하기 위한 도면이다.
도 3은 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법을 나타내는 흐름도이다.
도 4는 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치를 나타내는 블록도이다.
도 5a는 일 실시예에 따른 VR 기반 시뮬레이션의 환경의 예를 설명하기 위한 도면이다.
도 5b는 일 실시예에 따른 VR 기반 시뮬레이션의 사용자의 예를 설명하기 위한 도면이다.
1 is a diagram illustrating a preliminary model of a scenario-based test framework for a WoT service according to an embodiment.
2 is a diagram for explaining an example of a news delivery service according to an embodiment.
3 is a flowchart illustrating a virtual reality-based scenario testing method of a web service according to an embodiment.
4 is a block diagram illustrating an apparatus for testing a virtual reality-based scenario of a web service according to an embodiment.
5A is a diagram for explaining an example of an environment of a VR-based simulation according to an embodiment.
5B is a diagram for explaining an example of a user of a VR-based simulation according to an embodiment.

이하, 첨부된 도면을 참조하여 실시예들을 설명한다. 그러나, 기술되는 실시예들은 여러 가지 다른 형태로 변형될 수 있으며, 본 발명의 범위가 이하 설명되는 실시예들에 의하여 한정되는 것은 아니다. 또한, 여러 실시예들은 당해 기술분야에서 평균적인 지식을 가진 자에게 본 발명을 더욱 완전하게 설명하기 위해서 제공되는 것이다. 도면에서 요소들의 형상 및 크기 등은 보다 명확한 설명을 위해 과장될 수 있다.Hereinafter, embodiments will be described with reference to the accompanying drawings. However, the described embodiments may be modified in various other forms, and the scope of the present invention is not limited by the embodiments described below. In addition, various embodiments are provided in order to more completely explain the present invention to those of ordinary skill in the art. The shapes and sizes of elements in the drawings may be exaggerated for clearer description.

사물 웹(Web of Things, WoT) 서비스는 환경의 물리적 사물들과 상호 작용하는 웹 서비스이다. WoT 서비스의 품질에 영향을 미치는 물리적 및 인적 요인을 고려하여 WoT 서비스를 테스트해야 한다. 시나리오 기반 테스트는 다양한 실제 시나리오를 고려하면서 소프트웨어를 테스트할 수 있는 가장 효과적인 테스트 기법 중 하나로 알려져 있다. 그러나 실제 WoT 테스트베드 환경에 시나리오 기반 테스트를 적용하는 것은 비용과 재구성 측면에서 실용적이지 않다. 이 작업에서는 가상 현실(VR) 기술을 사용하여 다양한 시나리오에 대한 비용 효율적인 테스트를 위해 실제 WoT 환경을 모방한다.A Web of Things (WoT) service is a web service that interacts with physical objects in an environment. WoT services should be tested taking into account physical and human factors that affect the quality of WoT services. Scenario-based testing is known as one of the most effective testing techniques for testing software while considering a variety of real-world scenarios. However, applying scenario-based tests to actual WoT testbed environments is not practical in terms of cost and reconfiguration. In this work, virtual reality (VR) technology is used to mimic real-world WoT environments for cost-effective testing of various scenarios.

본 실시예에서는 다양한 테스트 시나리오에 대한 테스트 환경의 체계적인 개발을 가능하게 하기 위해 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 먼저 제안한다. 다음으로, 다양한 시나리오의 테스트 비용을 줄이기 위해 시나리오 기반 테스트를 위한 가상 WoT 환경과 같은 프레임워크의 VR 기반 구현에 대해 설명한다. 확실히, 물리적 환경을 개발하는 것이 실제 테스트베드를 구축하는 것보다 비용이 적게 들며, 구성을 변경하는 것이 상대적으로 쉽다. 데모에서는, 프레임워크의 구현을 보여주고, 사용자들이 WoT 서비스에 대한 시나리오 기반 테스트가 어떻게 제안된 프레임워크에 기초하여 수행될 수 있는지를 경험하게 한다.In this embodiment, a scenario-based test framework for WoT service is first proposed to enable systematic development of a test environment for various test scenarios. Next, we describe a VR-based implementation of a framework such as a virtual WoT environment for scenario-based testing to reduce the testing cost of various scenarios. Clearly, developing a physical environment is less expensive than building a real testbed, and changing the configuration is relatively easy. In the demonstration, the implementation of the framework is shown, and users experience how scenario-based tests for WoT services can be performed based on the proposed framework.

도 1은 일 실시예에 따른 WoT 서비스를 위한 시나리오 기반 테스트 프레임워크의 예비 모델을 나타내는 도면이다.1 is a diagram illustrating a preliminary model of a scenario-based test framework for a WoT service according to an embodiment.

도 1을 참조하면, 일 실시예에 따른 WoT 서비스를 위한 시나리오 기반 테스트 프레임워크의 예비 모델을 나타내며, 테스트 대상 WoT 서비스는 다음과 같이 표현될 수 있다. Referring to FIG. 1 , a preliminary model of a scenario-based test framework for a WoT service according to an embodiment is shown, and the WoT service to be tested may be expressed as follows.

s = {E, R}s = {E, R}

테스트 대상 WoT 서비스(target WoT service)는 서비스에 의해 생성되는 효과(effect) E와 필요한 기능(required capability) R로 구성될 수 있다. 서비스는 테스터(tester)의 집합(set) T에 의해 시나리오의 집합 C를 테스트할 수 있다. A target WoT service may be composed of an effect E generated by the service and a required capability R. A service may test a set C of scenarios by a set T of testers.

시나리오는 다음과 같이 표현될 수 있다. The scenario can be expressed as follows.

c = {U, env, I}c = {U, env, I}

시나리오 c는 사용자 패턴(user pattern) U, 환경(environment) env 및 서비스 간섭(service Interference) I로 구성될 수 있다. 일 실시예에 따른 프레임워크에서는 이동성과 같은 사용자의 일부 역학관계에 대한 패턴을 삽입할 수 있으므로 테스터는 미리 정해진 이동성 패턴을 따르거나 단순히 자유롭게 움직일 수 있다. Scenario c may consist of user pattern U, environment env, and service interference I. The framework according to an embodiment may insert a pattern for some dynamics of the user, such as mobility, so that the tester may follow a predetermined mobility pattern or simply move freely.

환경 env은 서비스 S, 장치 D 및 물리적 객체인 O로 구성될 수 있다. 여기서, 서비스는 웹 또는 WoT 서비스일 수 있다. 서비스의 요구 능력에 따라 적절한 장치가 발견되어 서비스에 의해 획득될 수 있다. 환경은 물리적 영향 측면에서 대상 서비스 내에서 간섭을 일으키는 다른 서비스를 포함할 수 있으며, 그러한 간섭 모델은 시나리오 정의에 포함되어야 한다.Environment env may consist of service S, device D and physical object O. Here, the service may be a web or WoT service. An appropriate device may be found and obtained by the service according to the required capability of the service. The environment may contain other services that cause interference within the target service in terms of physical impact, and such interference models should be included in the scenario definition.

도 2는 일 실시예에 따른 뉴스 전달 서비스의 예를 설명하기 위한 도면이다.2 is a diagram for explaining an example of a news delivery service according to an embodiment.

동기부여(motivating)의 일례로, 도 2에 도시된 바와 같이, 아침에 사용자에게 헤드라인 뉴스를 전달하는 간단한 서비스, 이른바 뉴스 전달 서비스(210)를 생각할 수 있다. 뉴스는 각각 디스플레이나 스피커와 같은 물리적 장치(220)를 사용하여 시각 텍스트 또는 음성 형식으로 표현하고 사용자에게 전달할 수 있다. As an example of motivating, as shown in FIG. 2 , a simple service for delivering headline news to a user in the morning, a so-called news delivery service 210 can be considered. The news may be expressed in visual text or audio format and delivered to the user using a physical device 220 such as a display or speaker, respectively.

사용자는 이동성이 있으므로, 뉴스 전달 서비스(210)는 사용자의 이동 패턴(230)을 확인해야 한다. 이에, 뉴스 전달 서비스(210)는 사용자의 위치를 추적하고 사용자에게 공간적으로 더 가까운 미디어를 찾아 사용자에게 뉴스를 전달해야 한다. 뉴스 전달 서비스(210)의 목적은 사용자에게 뉴스를 전달하는 것이지만, 그러한 뉴스 전달 서비스(210)의 평가는 이용자가 뉴스를 얼마나 잘 전달하고 인지하는지를 검토하여 수행할 수 있다. 뉴스 전달 서비스(210)의 개발자가 구현을 완료한 후, 다양한 환경(240)에서 시나리오 기반 테스트를 실시하여 뉴스 전달 서비스(210)의 기능이 일반적으로 작동하는지 여부를 평가해야 한다.Since the user is mobile, the news delivery service 210 must check the user's movement pattern 230 . Accordingly, the news delivery service 210 needs to track the location of the user and find media spatially closer to the user to deliver the news to the user. Although the purpose of the news delivery service 210 is to deliver news to the user, evaluation of the news delivery service 210 may be performed by examining how well the user delivers and perceives the news. After the developer of the news delivery service 210 completes implementation, it is necessary to evaluate whether the functionality of the news delivery service 210 generally works by performing scenario-based tests in various environments 240 .

프레임워크에 따라 뉴스 전달 서비스(210)는 다음과 같이 정의할 수 있다. According to the framework, the news delivery service 210 may be defined as follows.

snews = {{light, sound}, {display, speaker}}s news = {{light, sound}, {display, speaker}}

뉴스 전달 서비스(210)를 테스트하기 위해 기본 시나리오는 다음과 같이 설계될 수 있다. To test the news delivery service 210, a basic scenario may be designed as follows.

c = {

Figure 112020032146620-pat00005
, envc,
Figure 112020032146620-pat00006
}c = {
Figure 112020032146620-pat00005
, env c ,
Figure 112020032146620-pat00006
}

여기서, 환경 envc는 시나리오의 모든 개체에 대한 구성을 포함할 수 있다. 사용자 패턴과 간섭의 공집합 {

Figure 112020032146620-pat00007
}은 미리 정해진 사용자 패턴이나 방해 서비스가 없다는 것을 의미한다. Here, the environment env c may contain configurations for all objects in the scenario. The empty set of user patterns and interferences {
Figure 112020032146620-pat00007
} means that there is no predefined user pattern or interfering service.

확장 시나리오는 다음과 같이 기본 시나리오에 기초하여 설계할 수 있다. 사용자 이동 패턴(230)인 특정 이동 경로는 시나리오에 포함될 것이고, 다음과 같이 표현될 수 있다. The extended scenario can be designed based on the basic scenario as follows. A specific movement path that is the user movement pattern 230 will be included in the scenario, and may be expressed as follows.

cmobility = {{mobilityu}, envc,

Figure 112020032146620-pat00008
} c mobility = {{mobility u }, env c ,
Figure 112020032146620-pat00008
}

다른 서비스가 빛이나 소리를 발생시키는 상황, 즉 간섭(250)이 발생하는 상황에서도 사용자에게 뉴스가 전달되는지 여부를 테스트하기 위해 간섭 모델을 삽입하여 기본 시나리오를 확장할 수 있으며, 다음과 같이 표현될 수 있다.The basic scenario can be extended by inserting an interference model to test whether news is delivered to the user even in a situation where other services generate light or sound, that is, in a situation where interference 250 occurs. can

ci = {{mobilityu}, envc, {noise, glare}}c i = {{mobility u }, env c , {noise, glare}}

다른 환경에서 뉴스 전달 서비스(210)를 테스트하기 위해 시나리오의 환경(240)은 간단히 다른 환경으로 대체될 수 있으며, 다음과 같이 표현될 수 있다.In order to test the news delivery service 210 in another environment, the environment 240 of the scenario may be simply replaced with another environment, and may be expressed as follows.

env'c: cenv = {{mobilityu}, env'c, {noise, glare}}env' c : c env = {{mobility u }, env' c , {noise, glare}}

도 3은 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법을 나타내는 흐름도이다. 3 is a flowchart illustrating a virtual reality-based scenario testing method of a web service according to an embodiment.

도 3을 참조하면, 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치가 수행하는 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법은, 다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계(310), 및 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 WoT 서비스의 작동 또는 감지 기능을 테스트하는 단계(320)를 포함하여 이루어질 수 있다. Referring to FIG. 3 , a method for testing a virtual reality-based scenario of a web service performed by an apparatus for testing a virtual reality-based scenario of a web of things according to an embodiment is applied to a WoT service in order to provide a test environment for various test scenarios. A step 310 of configuring a scenario-based test framework for can

실시예들은 사물인터넷 기기들은 시각 및/또는 음향으로 사용자 또는 환경에 영향을 미치는데, 기기들을 제어하여 어떠한 서비스를 제공하는 소프트웨어를 테스팅하는 것이 필요하다. 그런데 실제 환경에서 테스팅 시 비용 문제가 발생하며 다양한 환경에서 테스팅하는 것이 어려우므로, 본 실시예에서는 가상 현실 기술을 활용해 가상 환경 속에서 사물인터넷 서비스의 기능을 테스팅함으로써, 비용 효율적으로 다양한 환경에서 사물인터넷 서비스를 테스팅할 수 있게 된다.In embodiments, IoT devices affect a user or environment visually and/or acoustically, and it is necessary to test software that controls the devices to provide a certain service. However, since it is difficult to test in various environments due to the cost problem occurring during testing in the real environment, in this embodiment, by using the virtual reality technology to test the function of the Internet of Things service in the virtual environment, Internet services can be tested.

아래에서 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법의 각 단계를 설명한다. Hereinafter, each step of the virtual reality-based scenario testing method of the web of things according to an embodiment will be described.

일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법은 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치를 통해 보다 구체적으로 설명할 수 있다. 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법은 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치를 통해 수행될 수 있고, 여기서 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치는 컴퓨터로 구현될 수 있다. The virtual reality-based scenario testing method of the web of things service according to an embodiment may be described in more detail through the virtual reality-based scenario testing apparatus of the web service of things. The virtual reality-based scenario testing method of the web service according to an embodiment may be performed through a virtual reality-based scenario testing device of the web service, wherein the virtual reality-based scenario testing device of the web service may be implemented with a computer. have.

도 4는 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치를 나타내는 블록도이다. 4 is a block diagram illustrating an apparatus for testing a virtual reality-based scenario of a web service according to an embodiment.

도 4를 참조하면, 일 실시예에 따른 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치(400)는 테스트 프레임워크부(410) 및 VR 구현부(420)를 포함하여 이루어질 수 있다. 여기서, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치(400)는 컴퓨터로 구현될 수 있으며, 예를 들어 컴퓨터 시스템의 프로세서로 구현될 수 있다. 예를 들어 프로세서는 테스트 프레임워크부(410) 및 VR 구현부(420)를 포함할 수 있다. 이러한 프로세서의 구성요소들은 적어도 하나의 프로그램 코드에 의해 제공되는 제어 명령에 따라 프로세)에 의해 수행되는 서로 다른 기능들(different functions)의 표현들일 수 있다.Referring to FIG. 4 , a virtual reality-based scenario testing apparatus 400 of a web service according to an embodiment may include a test framework unit 410 and a VR implementation unit 420 . Here, the virtual reality-based scenario testing apparatus 400 of the web service may be implemented as a computer, for example, as a processor of a computer system. For example, the processor may include a test framework unit 410 and a VR implementation unit 420 . These processor components may be representations of different functions performed by the processor in accordance with control instructions provided by at least one program code.

단계(310)에서, 테스트 프레임워크부(410)는 다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성할 수 있다. 여기서, WoT 서비스는 웹 상의 서비스가 환경의 물리적 사물들과 적극적으로 상호작용을 하며, 물리적 장치를 통해 각각 빛과 소리를 생산하는 시각(visual) 및 음향(acoustic) WoT 서비스일 수 있다. In step 310 , the test framework unit 410 may configure a scenario-based test framework for the WoT service to provide a test environment for various test scenarios. Here, the WoT service may be a visual and acoustic WoT service in which a web service actively interacts with physical objects in the environment and produces light and sound through a physical device, respectively.

테스트 프레임워크부(410)는 테스트 프레임워크의 시나리오는 사용자 패턴, 환경 및 서비스 간섭을 반영하도록 구성될 수 있다. The test framework unit 410 may be configured such that a scenario of the test framework reflects a user pattern, environment, and service interference.

일례로, 테스트 프레임워크의 시나리오는 사용자가 이동하는 사용자 패턴을 반영할 수 있다. 이 경우, WoT 서비스는 사용자가 이동하는 사용자 패턴을 반영하기 위해 사용자의 위치를 추적하고 사용자에게 공간적으로 가장 가까운 디스플레이 또는 스피커를 찾아 서비스를 제공할 수 있다. WoT 서비스는 적어도 하나 이상의 컴퓨터, 서버 등을 통해 제공될 수 있다. 예를 들어 WoT 서비스는 사용자가 소지하는 사용자 단말의 GPS(Global Positioning System)를 통해 위치를 추적하여 사용자의 위치를 추적할 수 있고, 미리 설정된 외부의 디스플레이 및 스피커 등의 물리적 장치 중 사용자의 위치와 가까운 물리적 장치를 선택하여 시각 또는 음향을 통해 서비스를 제공함으로써, 사용자에게 서비스를 전달할 수 있다. 여기서 사용자 단말은 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook) 등이 포함될 수 있다.As an example, a scenario in the test framework may reflect a user pattern in which the user moves. In this case, the WoT service may track the user's location to reflect the user's movement pattern, find a display or speaker that is spatially closest to the user, and provide the service. The WoT service may be provided through at least one computer, server, or the like. For example, the WoT service can track the location of the user by tracking the location through the GPS (Global Positioning System) of the user terminal possessed by the user. A service may be delivered to a user by selecting a nearby physical device and providing the service through sight or sound. Here, the user terminal includes a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation system, a slate PC, and a tablet PC ( tablet PC), ultrabooks, and the like.

보다 구체적으로, 테스트 프레임워크부(410)는 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 수학식 1에 적용하여 구성할 수 있다. 한편, 도 1을 참조하여 테스트 프레임워크에 대해 설명하였으므로 여기에서는 간략히 설명하기로 한다. More specifically, the test framework unit 410 may be configured by applying a scenario of a scenario-based test framework for the WoT service to Equation (1). Meanwhile, since the test framework has been described with reference to FIG. 1 , it will be briefly described here.

[수학식 1] [Equation 1]

c = {U, env, I}c = {U, env, I}

여기서, U는 사용자 패턴이고, env은 환경이며, I는 서비스 간섭이다. 환경은 시나리오의 모든 개체에 대한 구성을 포함하며, 미리 정해진 사용자 패턴이나 방해 서비스가 없는 경우 사용자 패턴 또는 서비스 간섭을 공집합으로 표현할 수 있다. Here, U is the user pattern, env is the environment, and I is the service interference. The environment includes the configuration of all entities in the scenario, and when there is no predetermined user pattern or interfering service, the user pattern or service interference can be expressed as an empty set.

또한, 테스트 프레임워크부(410)는 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 확장하여 사용자의 특정 이동 경로가 포함된 시나리오를 수학식 2에 적용하여 구성할 수 있다. In addition, the test framework unit 410 may extend the scenario of the scenario-based test framework for the WoT service to apply a scenario including a specific movement path of the user to Equation 2 to configure it.

[수학식 2] [Equation 2]

cmobility = {{mobilityu}, envc,

Figure 112020032146620-pat00009
} c mobility = {{mobility u }, env c ,
Figure 112020032146620-pat00009
}

여기서, {mobilityu}는 특정 이동 경로가 포함된 사용자 패턴이고, envc은 환경이며,

Figure 112020032146620-pat00010
는 서비스 간섭이 없는 것이다.where {mobility u } is a user pattern including a specific movement path, env c is an environment,
Figure 112020032146620-pat00010
is no service interference.

그리고, 테스트 프레임워크부(410)는 사용자의 특정 이동 경로가 포함된 시나리오에 다른 서비스가 빛 또는 소리를 발생시키는 간섭 상황을 테스트하기 위해 간섭 모델을 삽입하여 시나리오를 확장하며 수학식 3에 적용하여 구성할 수 있다. In addition, the test framework unit 410 inserts an interference model to test an interference situation in which other services generate light or sound in a scenario including a specific movement path of the user to expand the scenario, and apply Equation 3 to configurable.

[수학식 3][Equation 3]

ci = {{mobilityu}, envc, {noise, glare}}c i = {{mobility u }, env c , {noise, glare}}

여기서, {noise, glare}는 다른 서비스가 빛 또는 소리를 발생시키는 서비스 간섭이다.Here, {noise, glare} is service interference in which another service generates light or sound.

단계(320)에서, VR 구현부(420)는 테스트 프레임워크를 VR 기반으로 구현하여 가상 환경 속에서 WoT 서비스의 작동 또는 감지 기능을 테스트할 수 있다. 예컨대, 사용자는 HMD(Head Mount Display)를 활용하여 시각 또는 음향을 통해 가상 환경을 경험하며, 컨트롤러를 사용하여 환경의 서비스와 상호 작용함으로써, 가상 환경 속에서 WoT 서비스의 작동 또는 감지 기능을 테스트할 수 있다.In step 320 , the VR implementation unit 420 may test the operation or detection function of the WoT service in the virtual environment by implementing the test framework based on VR. For example, a user experiences a virtual environment through sight or sound by utilizing a Head Mount Display (HMD), and by interacting with a service in the environment using a controller, the operation or detection function of the WoT service can be tested in the virtual environment. can

이에 따라 WoT 서비스를 얼마나 잘 전달하고 인지하는지를 검토하여 WoT 서비스의 작동 또는 감지 기능을 평가할 수 있다. Accordingly, by examining how well the WoT service is delivered and perceived, the operation or detection function of the WoT service can be evaluated.

아래에서는 WoT 서비스의 VR 기반 시뮬레이션 환경 및 사용자에 대해 설명한다.The VR-based simulation environment and users of the WoT service are described below.

도 5a는 일 실시예에 따른 VR 기반 시뮬레이션의 환경의 예를 설명하기 위한 도면이다.5A is a diagram for explaining an example of an environment of a VR-based simulation according to an embodiment.

도 5a에 도시된 바와 같이, VR 기반 시뮬레이션 개발에 가장 많이 사용되는 게임 엔진인 언리얼 엔진(Unreal Engine)을 사용해 3차원 공간에서 가상 환경을 구현할 수 있다. As shown in FIG. 5A , a virtual environment can be implemented in a three-dimensional space using Unreal Engine, which is the most used game engine for VR-based simulation development.

도 5b는 일 실시예에 따른 VR 기반 시뮬레이션의 사용자의 예를 설명하기 위한 도면이다.5B is a diagram for explaining an example of a user of a VR-based simulation according to an embodiment.

테스터는, 도 5b에 도시된 바와 같이, 가상 환경 내에서의 몰입과 HMD와 컨트롤러를 통한 상호작용을 위해 VR의 가장 일반적인 HMD 중 하나인 HTC Vive Pro를 착용할 수 있다. 사용자는 HMD를 활용하여 시각적이고 음향적으로 가상 환경을 경험하며, 컨트롤러를 사용하여 환경의 서비스와 상호 작용할 수 있다. As shown in FIG. 5B , the tester can wear the HTC Vive Pro, one of the most common HMDs in VR, for immersion in the virtual environment and interaction with the HMD and the controller. Users can utilize the HMD to visually and acoustically experience the virtual environment, and use the controller to interact with services in the environment.

본 실시예에서는 시각 및 음향 WoT 서비스에 대한 시나리오 기반의 테스트 프레임워크를 물리적 환경에 인식하는 것을 제안하고, 프레임워크의 VR 기반 구현에 대해 설명하였다. VR을 사용하면 복수의 테스트 시나리오를 효율적으로 개발할 수 있으며, 테스터는 가능한 한 많은 실제 사례를 반영하기 위해 대상 서비스를 테스트할 수 있다.In this embodiment, it is proposed to recognize a scenario-based test framework for the visual and acoustic WoT service in the physical environment, and VR-based implementation of the framework has been described. VR enables the efficient development of multiple test scenarios, allowing testers to test the target service to reflect as many real-world examples as possible.

이상과 같이, 실시예들은 사물인터넷 기기들을 활용해 사용자에게 기능을 제공하는 소프트웨어 서비스 전반의 개발 과정 중 테스팅을 통해 품질을 개선할 수 있다. 이에 따라 실시예들을 통해 사회 전반적으로 사물인터넷 서비스의 품질 및 안전성을 증진할 수 있을 것이다. As described above, the embodiments may improve the quality through testing during the overall development process of a software service that provides a function to a user by using IoT devices. Accordingly, through the embodiments, the quality and safety of the Internet of Things (IoT) service may be improved in society as a whole.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 컨트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPA(field programmable array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 컨트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The device described above may be implemented as a hardware component, a software component, and/or a combination of the hardware component and the software component. For example, devices and components described in the embodiments may include, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), It may be implemented using one or more general purpose or special purpose computers, such as a programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For convenience of understanding, although one processing device is sometimes described as being used, one of ordinary skill in the art will recognize that the processing device includes a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that can include For example, the processing device may include a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as parallel processors.

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

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(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, etc. 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 available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and carry out program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with reference to the limited embodiments and drawings, various modifications and variations are possible by those skilled in the art from the above description. For example, the described techniques are performed in a different order than the described method, and/or the described components of the system, structure, apparatus, circuit, etc., are combined or combined in a different form than the described method, or other components Or substituted or substituted by equivalents may achieve an appropriate result.

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

Claims (15)

사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치가 수행하는 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법에 있어서,
다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계; 및
상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 단계
를 포함하고,
상기 WoT 서비스는,
웹 상의 서비스가 환경의 물리적 사물들과 적극적으로 상호작용을 하며, 물리적 장치를 통해 각각 빛과 소리를 생산하는 시각(visual) 및 음향(acoustic) WoT 서비스인 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
In the virtual reality-based scenario testing method of the web service of things performed by a virtual reality-based scenario testing apparatus of the web service,
configuring a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and
Testing the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality)
including,
The WoT service is
It is a visual and acoustic WoT service that actively interacts with physical objects in the environment and produces light and sound through physical devices, respectively, on the web.
A virtual reality-based scenario testing method of web services, characterized in that.
삭제delete 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치가 수행하는 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법에 있어서,
다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계; 및
상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 단계
를 포함하고,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는,
상기 테스트 프레임워크의 시나리오는 사용자 패턴(user pattern), 환경(environment) 및 서비스 간섭(service Interference)을 반영하도록 구성되는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
In the virtual reality-based scenario testing method of the web service of things performed by a virtual reality-based scenario testing apparatus of the web service,
configuring a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and
Testing the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality)
including,
The step of configuring a scenario-based test framework for the WoT service includes:
Scenarios of the test framework are configured to reflect a user pattern, an environment, and a service interference.
A virtual reality-based scenario testing method of web services, characterized in that.
제3항에 있어서,
상기 테스트 프레임워크의 시나리오는 사용자가 이동하는 상기 사용자 패턴을 반영하며, 상기 WoT 서비스는 상기 사용자의 위치를 추적하고 상기 사용자에게 공간적으로 가장 가까운 디스플레이 또는 스피커를 찾아 서비스를 제공하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
4. The method of claim 3,
The scenario of the test framework reflects the user pattern in which the user moves, and the WoT service tracks the user's location and provides the service by finding a display or speaker that is spatially closest to the user.
A virtual reality-based scenario testing method of web services, characterized in that.
사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치가 수행하는 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법에 있어서,
다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계; 및
상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 단계
를 포함하고,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 수학식 1에 적용하여 구성하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
[수학식 1]
c = {U, env, I}
여기서, U는 사용자 패턴(user pattern)이고, env은 환경(environment)이며, I는 서비스 간섭(service Interference)이다.
In the virtual reality-based scenario testing method of the web service of things performed by the virtual reality-based scenario testing apparatus of the web service,
configuring a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and
Testing the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality)
including,
The step of configuring a scenario-based test framework for the WoT service includes:
To configure by applying the scenario of the scenario-based test framework for the WoT service to Equation 1
Characterized in, a virtual reality-based scenario testing method of web services of things.
[Equation 1]
c = {U, env, I}
Here, U is a user pattern, env is an environment, and I is a service interference.
제5항에 있어서,
상기 환경은 상기 시나리오의 모든 개체에 대한 구성을 포함하며, 미리 정해진 사용자 패턴이나 방해 서비스가 없는 경우 상기 사용자 패턴 또는 상기 서비스 간섭을 공집합으로 표현하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
6. The method of claim 5,
The environment includes the configuration of all entities in the scenario, and when there is no predetermined user pattern or interference service, expressing the user pattern or service interference as an empty set
A virtual reality-based scenario testing method of web services, characterized in that.
제5항에 있어서,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 확장하여 상기 사용자의 특정 이동 경로가 포함된 시나리오를 수학식 2에 적용하여 구성하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
[수학식 2]
cmobility = {{mobilityu}, envc,
Figure 112020032146620-pat00011
}
여기서, {mobilityu}는 특정 이동 경로가 포함된 사용자 패턴이고, envc은 환경이며,
Figure 112020032146620-pat00012
는 서비스 간섭이 없는 것이다.
6. The method of claim 5,
The step of configuring a scenario-based test framework for the WoT service includes:
Expanding the scenario of the scenario-based test framework for the WoT service and configuring a scenario including the user's specific movement path by applying Equation 2
A virtual reality-based scenario testing method of web services, characterized in that.
[Equation 2]
c mobility = {{mobility u }, env c ,
Figure 112020032146620-pat00011
}
where {mobility u } is a user pattern including a specific movement path, env c is an environment,
Figure 112020032146620-pat00012
is no service interference.
제7항에 있어서,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 단계는,
상기 사용자의 특정 이동 경로가 포함된 시나리오에 다른 서비스가 빛 또는 소리를 발생시키는 간섭 상황을 테스트하기 위해 간섭 모델을 삽입하여 시나리오를 확장하며 수학식 3에 적용하여 구성하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 방법.
[수학식 3]
ci = {{mobilityu}, envc, {noise, glare}}
여기서, {noise, glare}는 다른 서비스가 빛 또는 소리를 발생시키는 서비스 간섭이다.
8. The method of claim 7,
The step of configuring a scenario-based test framework for the WoT service includes:
In order to test an interference situation in which another service generates light or sound in a scenario including a specific movement path of the user, an interference model is inserted to expand the scenario, and to be configured by applying Equation 3
A virtual reality-based scenario testing method of web services, characterized in that.
[Equation 3]
c i = {{mobility u }, env c , {noise, glare}}
Here, {noise, glare} is service interference in which another service generates light or sound.
다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 테스트 프레임워크부; 및
상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 VR 구현부
를 포함하고,
상기 WoT 서비스는,
웹 상의 서비스가 환경의 물리적 사물들과 적극적으로 상호작용을 하며, 물리적 장치를 통해 각각 빛과 소리를 생산하는 시각(visual) 및 음향(acoustic) WoT 서비스인 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치.
a test framework unit that configures a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and
A VR implementation unit that tests the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality)
including,
The WoT service is
It is a visual and acoustic WoT service that actively interacts with physical objects in the environment and produces light and sound through physical devices, respectively, on the web.
A virtual reality-based scenario testing device for web services, characterized in that.
삭제delete 다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 테스트 프레임워크부; 및
상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 VR 구현부
를 포함하고,
상기 테스트 프레임워크부는,
상기 테스트 프레임워크의 시나리오는 사용자 패턴(user pattern), 환경(environment) 및 서비스 간섭(service Interference)을 반영하도록 구성되는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치.
a test framework unit that configures a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and
A VR implementation unit that tests the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality)
including,
The test framework unit,
Scenarios of the test framework are configured to reflect a user pattern, an environment, and a service interference.
A virtual reality-based scenario testing device for web services, characterized in that.
다양한 테스트 시나리오에 대한 테스트 환경을 제공하기 위해 WoT(Web of Things) 서비스에 대한 시나리오 기반 테스트 프레임워크를 구성하는 테스트 프레임워크부; 및
상기 테스트 프레임워크를 VR(Virtual Reality) 기반으로 구현하여 가상 환경 속에서 상기 WoT 서비스의 작동 또는 감지 기능을 테스트하는 VR 구현부
를 포함하고,
상기 테스트 프레임워크부는,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 수학식 1에 적용하여 구성하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치.
[수학식 1]
c = {U, env, I}
여기서, U는 사용자 패턴(user pattern)이고, env은 환경(environment)이며, I는 서비스 간섭(service Interference)이다.
a test framework unit that configures a scenario-based test framework for a Web of Things (WoT) service to provide a test environment for various test scenarios; and
A VR implementation unit that tests the operation or detection function of the WoT service in a virtual environment by implementing the test framework based on VR (Virtual Reality)
including,
The test framework unit,
To configure by applying the scenario of the scenario-based test framework for the WoT service to Equation 1
A virtual reality-based scenario testing device of web services, characterized in that.
[Equation 1]
c = {U, env, I}
Here, U is a user pattern, env is an environment, and I is a service interference.
제12항에 있어서,
상기 환경은 상기 시나리오의 모든 개체에 대한 구성을 포함하며, 미리 정해진 사용자 패턴이나 방해 서비스가 없는 경우 상기 사용자 패턴 또는 상기 서비스 간섭을 공집합으로 표현하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치.
13. The method of claim 12,
The environment includes the configuration of all entities in the scenario, and when there is no predetermined user pattern or interference service, expressing the user pattern or service interference as an empty set
A virtual reality-based scenario testing device for web services, characterized in that.
제12항에 있어서,
상기 테스트 프레임워크부는,
상기 WoT 서비스에 대한 시나리오 기반 테스트 프레임워크의 시나리오를 확장하여 상기 사용자의 특정 이동 경로가 포함된 시나리오를 수학식 2에 적용하여 구성하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치.
[수학식 2]
cmobility = {{mobilityu}, envc,
Figure 112020032146620-pat00013
}
여기서, {mobilityu}는 특정 이동 경로가 포함된 사용자 패턴이고, envc은 환경이며,
Figure 112020032146620-pat00014
는 서비스 간섭이 없는 것이다.
13. The method of claim 12,
The test framework unit,
Expanding the scenario of the scenario-based test framework for the WoT service and configuring a scenario including the user's specific movement path by applying Equation 2
A virtual reality-based scenario testing device for web services, characterized in that.
[Equation 2]
c mobility = {{mobility u }, env c ,
Figure 112020032146620-pat00013
}
where {mobility u } is a user pattern including a specific movement path, env c is an environment,
Figure 112020032146620-pat00014
is no service interference.
제14항에 있어서,
상기 테스트 프레임워크부는,
상기 사용자의 특정 이동 경로가 포함된 시나리오에 다른 서비스가 빛 또는 소리를 발생시키는 간섭 상황을 테스트하기 위해 간섭 모델을 삽입하여 시나리오를 확장하며 수학식 3에 적용하여 구성하는 것
을 특징으로 하는, 사물 웹 서비스의 가상 현실 기반 시나리오 테스팅 장치.
[수학식 3]
ci = {{mobilityu}, envc, {noise, glare}}
여기서, {noise, glare}는 다른 서비스가 빛 또는 소리를 발생시키는 서비스 간섭이다.
15. The method of claim 14,
The test framework unit,
In order to test an interference situation in which another service generates light or sound in a scenario including a specific movement path of the user, an interference model is inserted to expand the scenario, and to be configured by applying Equation 3
A virtual reality-based scenario testing device for web services, characterized in that.
[Equation 3]
c i = {{mobility u }, env c , {noise, glare}}
Here, {noise, glare} is service interference in which another service generates light or sound.
KR1020200037298A 2020-03-27 2020-03-27 VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service KR102329939B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200037298A KR102329939B1 (en) 2020-03-27 2020-03-27 VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200037298A KR102329939B1 (en) 2020-03-27 2020-03-27 VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service

Publications (2)

Publication Number Publication Date
KR20210120507A KR20210120507A (en) 2021-10-07
KR102329939B1 true KR102329939B1 (en) 2021-11-23

Family

ID=78114614

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200037298A KR102329939B1 (en) 2020-03-27 2020-03-27 VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service

Country Status (1)

Country Link
KR (1) KR102329939B1 (en)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Anderson 외 1, "Synchronisation between Real and Virtual-WorldDevices in a VR­IoT Environment", http://lps3.ieeexplore.ieee.org.libra.kaist.ac.kr/abstract/document/8436742, 2018.08.16. 1부.*
백경덕 외 1, "Effect-driven Dynamic Selection of Physical Media for Visual IoT Services using Reinforcement Learning", 2019 IEEE International Conference on Web Services, 2019.07.09. 1부.*
비특허 3
비특허 4

Also Published As

Publication number Publication date
KR20210120507A (en) 2021-10-07

Similar Documents

Publication Publication Date Title
US11159392B2 (en) Managing service deployment
US11038947B2 (en) Automated constraint-based deployment of microservices to cloud-based server sets
US11379943B2 (en) Optimizing compilation of shaders
US20140337414A1 (en) Dynamic rendering for software applications
US10953331B2 (en) Battlefield online game implementing augmented reality using IoT device
US20160267410A1 (en) Creating sustainable innovation platforms based on service first and service now approach
Cavallo et al. Cave-AR: a VR authoring system to interactively design, simulate, and debug multi-user AR experiences
KR102488926B1 (en) Addressable assets in software development
KR102329939B1 (en) VR-Powered Scenario-Based Testing Method and Apparatus for Visual and Acoustic Web of Things Service
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
KR102054980B1 (en) Computing system and method for automatically generating embedded software on virtualized system
Luo et al. How to validate mobile crowdsourcing design? leveraging data integration in prototype testing
CN110471828A (en) A kind of operating system testing method, apparatus and its equipment
CN114995790A (en) Component development method and device, computer readable medium and electronic equipment
US9436584B2 (en) SaaS platform for geo-location simulation
US20160224258A1 (en) Generating computer programs for use with computers having processors with dedicated memory
CN102930076A (en) Real-time three-dimensional data interaction method for virtual object
Baek et al. Vr-powered scenario-based testing for visual and acoustic web of things services
KR20210034867A (en) Method and system for translating long text
CN110496393B (en) Motion trail control method and device for virtual object, medium and electronic equipment
KR102361534B1 (en) Method and system for obfuscation using compiler
US10620922B2 (en) Compiler platform for test method
KR20220127542A (en) Virtual app scenario design method and management system
CN104504067A (en) Method and device for forming information push graphical interface
KR20150076626A (en) Method, system and computer-readable recording medium for producing application by using user-developed api

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant