KR20230106257A - System, electronic device and method for controlling external electronic device in real world in virtual enviroment - Google Patents
System, electronic device and method for controlling external electronic device in real world in virtual enviroment Download PDFInfo
- Publication number
- KR20230106257A KR20230106257A KR1020220001942A KR20220001942A KR20230106257A KR 20230106257 A KR20230106257 A KR 20230106257A KR 1020220001942 A KR1020220001942 A KR 1020220001942A KR 20220001942 A KR20220001942 A KR 20220001942A KR 20230106257 A KR20230106257 A KR 20230106257A
- Authority
- KR
- South Korea
- Prior art keywords
- electronic device
- external electronic
- information
- virtual
- function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/002—Specific input/output arrangements not covered by G06F3/01 - G06F3/16
- G06F3/005—Input arrangements through a video camera
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/04—Indexing scheme for image data processing or generation, in general involving 3D image data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/24—Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
Abstract
다양한 실시 예들에 따른 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템은, 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하고, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 전자 장치; 및 상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 외부 전자 장치를 포함할 수 있다. 그 밖에 다양한 실시예가 가능하다.According to various embodiments, a system capable of controlling an external electronic device in the real world in a virtual environment, in a first mode capable of controlling an external electronic device in a virtual environment, based on appearance information and function information of the external electronic device A virtual external electronic device corresponding to the external electronic device is displayed, and when the occurrence of an input event is detected in the virtual external electronic device, input information related to the input event is transmitted to the external electronic device, and from the external electronic device When output information related to the state of the external electronic device changed according to the execution of the function corresponding to the input information is received, the state of the virtual external electronic device is made to correspond to the changed state of the external electronic device based on the output information. electronic devices that change; and when the input information is received from the electronic device, a function corresponding to the input information is performed, and output information related to a state of the external electronic device changed according to the execution of the function corresponding to the input information is transmitted to the electronic device. It may include an external electronic device that does. Other various embodiments are possible.
Description
다양한 실시 예들은, 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템, 전자 장치 및 방법에 관한 것이다. Various embodiments relate to a system, electronic device, and method capable of controlling an external electronic device in the real world in a virtual environment.
가상 현실(Virtual Reality, VR)은 컴퓨터 시스템이 만들어낸 가상의 세계를 사용자에게 제시하는 것으로 현실과 유사하지만 실제가 아닌 인공환경을 의미하며, 사용자는 오감을 통한 가상현실과 상호작용이 가능하며 시간 및 공간적인 체험을 할 수 있다.Virtual Reality (VR) is an artificial environment that presents a virtual world created by a computer system to users, which is similar to reality but is not real. and spatial experience.
증강 현실(Augmented Reality, AR)은 가상현실에서 파생된 분야로 현실세계에 가상 객체(사물, 정보 등)을 합성하여 마치 현실세계에 존재하는 사물처럼 보이도록 하는 것으로, 상기 가상현실과는 달리 현실을 기반으로 하여 정보를 증강하는 가상의 대상과의 결합으로 현실의 효과를 더욱 증가시킬 수 있다.Augmented Reality (AR) is a field derived from virtual reality, which synthesizes virtual objects (objects, information, etc.) in the real world to make them appear as if they exist in the real world. Based on the combination with a virtual object that augments information, the effect of reality can be further increased.
상기 가상 현실과 상기 증강 현실로 구성된 가상의 환경 속에서 현실과 다양한 측면(예: 법, 금융, 엔터테인먼트, 학습 등)에서 직접적으로 연결된 활동을 수행함으로써 가상 환경 속에서 요구되는 사용자 경험은 다양 및 다각화 되고 있고, 더욱 실감 있는 경험을 위해 다양한 기술을 발전시켜오고 있다.In the virtual environment composed of the virtual reality and the augmented reality, the user experience required in the virtual environment is diversified and diversified by performing activities directly connected to reality in various aspects (eg, law, finance, entertainment, learning, etc.) and various technologies have been developed for a more realistic experience.
가상 환경에서 사용자가 체험하는 경험은 현실과 분리되어 있다. 가상 현실(VR)에서 상호작용하는 사물들은 전부 가상환경에서 재구성된 객체들이고, 상기 객체들에 대한 상호작용이 현실에 영향을 미치지 못하고 있다. 예를 들어 가상 현실(Virtual Reality, VR)에서 사과를 집는 행위는 현실에서의 사과에 전혀 영향을 미치지 못한다. 또한 증강 현실(Augmented Reality, AR)에서 현실세계의 사물을 투영하는 경우, 이에 대한 상호작용은 가상 환경과는 분리된 것으로 완벽히 상호작용시키기 어렵다. The experience experienced by users in a virtual environment is separated from reality. Objects interacting in virtual reality (VR) are all objects reconstructed in a virtual environment, and interactions with the objects do not affect reality. For example, the act of picking up an apple in Virtual Reality (VR) has no effect on the apple in reality. In addition, when objects in the real world are projected in Augmented Reality (AR), it is difficult to completely interact with them as they are separated from the virtual environment.
상기와 같이 가상 환경과 현실 세계가 분리된 상호작용은 사용자로 하여금 가상 환경에 몰입하기 어렵게 만들고, 사용자로 하여금 가상환경이 현실세계를 모방한 것일 뿐 현실세계와 완벽히 융합되지 않는다는 느낌을 갖게 만들면서 현실(Reality) 재구성이라는 목적에 장애물이 될 수 있다.As described above, the interaction between the virtual environment and the real world makes it difficult for users to immerse themselves in the virtual environment, and makes users feel that the virtual environment is only an imitation of the real world and does not completely fuse with the real world. It can be an obstacle to the goal of reconstructing reality.
본 개시에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problem to be achieved in the present disclosure is not limited to the technical problem mentioned above, and other technical problems not mentioned can be clearly understood by those skilled in the art from the description below. There will be.
다양한 실시 예들에 따른 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템은, 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하고, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 전자 장치; 및 상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 외부 전자 장치를 포함할 수 있다.According to various embodiments, a system capable of controlling an external electronic device in the real world in a virtual environment, in a first mode capable of controlling an external electronic device in a virtual environment, based on appearance information and function information of the external electronic device A virtual external electronic device corresponding to the external electronic device is displayed, and when the occurrence of an input event is detected in the virtual external electronic device, input information related to the input event is transmitted to the external electronic device, and from the external electronic device When output information related to the state of the external electronic device changed according to the execution of the function corresponding to the input information is received, the state of the virtual external electronic device is made to correspond to the changed state of the external electronic device based on the output information. electronic devices that change; and when the input information is received from the electronic device, a function corresponding to the input information is performed, and output information related to a state of the external electronic device changed according to the execution of the function corresponding to the input information is transmitted to the electronic device. It may include an external electronic device that does.
다양한 실시 예들에 따른 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 전자 장치는, 카메라 모듈, 및 프로세서를 포함하고, 상기 프로세서는, 가상 환경에 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 가상 외부 전자 장치를 표시하고, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 표시하고, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하도록 설정될 수 있다.According to various embodiments, an electronic device capable of controlling an external electronic device in a real world in a virtual environment includes a camera module and a processor, and the processor performs a first mode capable of controlling an external electronic device in a virtual environment. displays a virtual external electronic device based on appearance information and function information of the external electronic device, and transmits input information related to the input event to the external electronic device when the occurrence of an input event is detected in the virtual external electronic device; , When receiving output information related to the state of the external electronic device changed according to the execution of the function corresponding to the input information from the external electronic device, the state of the virtual external electronic device is determined based on the output information. display to correspond to the state of the device, and when output information related to an event generated in the external electronic device is received from the external electronic device, the virtual external electronic device corresponds to the state of the external electronic device changed based on the output information Can be set to change the state of the device.
다양한 실시 예들에 따른 시스템에서 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 방법은, 전자 장치에 의해, 상기 전자 장치의 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하는 동작, 상기 전자 장치에 의해, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하는 동작, 상기 외부 전자 장치에 의해, 상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 동작, 및 상기 전자 장치에 의해, 상기 외부 전자 장치로부터 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 동작을 포함할 수 있다.A method for controlling an external electronic device in the real world in a virtual environment in a system according to various embodiments includes, in a first mode in which an external electronic device can be controlled in a virtual environment of the electronic device by an electronic device, an external Displaying a virtual external electronic device corresponding to the external electronic device based on appearance information and function information of the electronic device, and when an input event is detected in the virtual external electronic device by the electronic device, the external electronic device Transmitting input information related to the input event to a device, performing a function corresponding to the input information when the input information is received from the electronic device by the external electronic device, and a function corresponding to the input information Transmitting output information related to the state of the external electronic device changed according to the execution of the external electronic device to the electronic device, and when output information is received from the external electronic device by the electronic device, the virtual external device is based on the output information. An operation of changing the state of the electronic device to correspond to the changed state of the external electronic device.
다양한 실시 예들에 따른 전자 장치에서 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 방법은, 가상 환경에 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 가상 외부 전자 장치를 표시하는 동작, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 표시하는 동작, 및 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하는 동작을 포함할 수 있다.A method for controlling an external electronic device in the real world in a virtual environment in an electronic device according to various embodiments includes appearance information and function information of the external electronic device in a first mode capable of controlling the external electronic device in the virtual environment. displaying a virtual external electronic device based on the virtual external electronic device, and when the virtual external electronic device detects the occurrence of an input event, transmits input information related to the input event to the external electronic device, and transmits input information related to the input event from the external electronic device to the external electronic device. displaying the state of the virtual external electronic device in correspondence with the changed state of the external electronic device based on the output information when output information related to the state of the external electronic device changed according to the execution of the corresponding function is received; and when output information related to an event generated in the external electronic device is received from the external electronic device, changing a state of the virtual external electronic device to correspond to a state of the external electronic device changed based on the output information. can include
다양한 실시 예들에 따르면, 가상환경을 이용하는 사용자는 현실 세계에서 사용하던 전자 장치의 형태, 기능 및 사용방식을 모두 현실에서와 동일하게 또는 대응되게 수행함에 따라 단절되지 않은 연속적인 경험을 갖게 될 수 있다. 또한 가상환경과 현실세계를 통합하는 사용자 경험은 가상환경을 이용하는 사용자에게 실감나는 가상환경을 제공할 수 있다.According to various embodiments, a user using a virtual environment can have an uninterrupted and continuous experience by performing all forms, functions, and methods of use of an electronic device used in the real world in the same or corresponding manner as in the real world. . In addition, the user experience that integrates the virtual environment and the real world can provide a realistic virtual environment to users using the virtual environment.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도 이다.
도 2a 내지 도 2b는 다양한 실시 예들에 따른 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템을 도시한 도면들이다.
도 3은 다양한 실시 예들에 따른 전자 장치의 블록도 이다.
도 4는 다양한 실시 예들에 따른 전자 장치의 가상 외부 전자 장치 제어 모듈의 블록도 이다.
도 5는 다양한 실시 예들에 따른 외부 전자 장치의 블록도 이다.
도 6은 다양한 실시 예들에 따른 전자 장치에서 외부 전자 장치의 외형 정보를 생성하는 동작을 설명하기 위한 도면이다.
도 7은 다양한 실시 예들에 따른 전자 장치에서 가상환경에 가상 외부 전자 장치를 제공하는 동작을 설명하기 위한 도면이다.
도 8은 다양한 실시 예들에 따른 전자 장치에서 외부 전자 장치로 전송하는 메시지 포맷을 도시한 도면이다.
도 9는 다양한 실시 예들에 따른 전자 장치에서 외부 전자 장치의 기능 정보를 생성하는 동작을 설명하기 위한 도면이다.
도 10은 다양한 실시 예들에 따른 전자 장치에서 가상환경에서 가상 외부 전자 장치를 표시가 위한 정보를 생성 할 수 있는 동작을 설명하기 위한 흐름도이다.
도 11은 다양한 실시 예들에 따른 전자 장치에서 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작을 설명하기 위한 흐름도 이다.
도 12는 다양한 실시 예들에 따른 시스템에서 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작을 설명하기 위한 흐름도이다.
도 13a 내지 도 13b는 다양한 실시 예들에 따른 시스템에서 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작을 설명하기 위한 흐름도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments.
2A to 2B are diagrams illustrating a system capable of controlling an external electronic device in the real world in a virtual environment according to various embodiments.
3 is a block diagram of an electronic device according to various embodiments.
4 is a block diagram of a virtual external electronic device control module of an electronic device according to various embodiments of the present disclosure;
5 is a block diagram of an external electronic device according to various embodiments.
FIG. 6 is a diagram for explaining an operation of generating outer shape information of an external electronic device in an electronic device according to various embodiments of the present disclosure.
7 is a diagram for explaining an operation of providing a virtual external electronic device to a virtual environment in an electronic device according to various embodiments of the present disclosure.
8 is a diagram illustrating a message format transmitted from an electronic device to an external electronic device according to various embodiments.
9 is a diagram for explaining an operation of generating function information of an external electronic device in an electronic device according to various embodiments of the present disclosure.
10 is a flowchart illustrating an operation of generating information for displaying a virtual external electronic device in a virtual environment in an electronic device according to various embodiments.
11 is a flowchart illustrating an operation for controlling an external electronic device in the real world in a virtual environment in an electronic device according to various embodiments of the present disclosure.
12 is a flowchart illustrating an operation for controlling an external electronic device in the real world in a virtual environment in a system according to various embodiments of the present disclosure.
13A and 13B are flowcharts for explaining an operation for controlling an external electronic device in the real world in a virtual environment in a system according to various embodiments of the present disclosure.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록 도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 within a
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 101 to an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 7예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external
도 2a 내지 도 2b는 다양한 실시 예들에 따른 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템을 도시한 도면들(200a 내지 200b)이다.2A to 2B are diagrams 200a to 200b illustrating a system capable of controlling an external electronic device in the real world in a virtual environment according to various embodiments.
상기 도 2a를 참조하면, 다양한 실시 예들에 따른 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템은, 전자 장치(210)와 외부 전자 장치(310)를 포함할 수 있다.Referring to FIG. 2A , a system capable of controlling an external electronic device in the real world in a virtual environment according to various embodiments may include an
다양한 실시 예들에 따르면, 전자 장치(210)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서 실 세계의 외부 전자 장치(310)와 대응되는 가상 외부 전자 장치를 제공하고, 외부 전자 장치(310)와의 통신 연결을 기반으로 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(310)에 대응되게 반영할 수 있도록 상기 외부 전자 장치(310)와 정보(예: 입력 정보 및 출력 정보)를 송수신 할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 웨어러블 전자 장치를 포함하고, 예를 들어, HMD(Head Mounted Display) 및/또는 웨어러블 글래스를 포함할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 외부 전자 장치(310)와 근거리 통신으로 연결될 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 전자 장치(210)의 메모리에 저장된 적어도 하나의 외부 전자 장치를 포함하는 리스트 중 사용자에 의해 선택된 외부 전자 장치(310)를 가상 외부 전자 장치로 표시하기 위해, 상기 전자 장치(210)의 상기 메모리에서 상기 외부 전자 장치의 식별 정보에 매칭되어 저장된 외부 전자 장치의 외형 정보 및 외부 전자 장치의 기능 정보를 검출할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 전자 장치(210)의 메모리에 저장된 적어도 하나의 외부 전자 장치를 포함하는 리스트 중 사용자에 의해 선택된 외부 전자 장치(310)를 가상 외부 전자 장치로 표시하기 위해, 통신이 연결된 상기 외부 전자 장치(310)에게 요청하여 외부 전자 장치의 형태 정보 및/또는 외부 전자 장치의 기능 정보를 수신할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 외부 전자 장치의 외형 정보 및 상기 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 외부 전자 장치(310)와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 가상 외부 전자 장치에 사용자의 입력(예: 사용자의 제스처)을 기반한 입력 정보를 검출하면, 상기 입력 정보를 통신이 연결된 외부 전자 장치(310)로 전송할 수 있다. 상기 전자 장치(210)는, 상기 외부 전자 장치(310)로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태(예: 디스플레이 상태 및/또는 사운드 상태)와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하여 표시할 수 있다.According to an embodiment, when the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 통신이 연결된 상기 외부 전자 장치(310)로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하여 표시할 수 있다.According to an embodiment, when the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 외부 전자 장치(310)와 미리 규정된 메시지 형태를 이용하여 정보를 송수신할 수 있다.According to an embodiment, in the first mode, the
다양한 실시 예들에 따르면, 외부 전자 장치(310)는, 전자 장치(210)의 제1 모드에서 표시되는 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(310)에 대응되게 반영할 수 있도록, 전자 장치(210)와의 통신 연결을 기반으로 상기 전자 장치(210)와 정보(예: 입력 정보 및 출력 정보)를 송수신 할 수 있다.According to various embodiments of the present disclosure, the external
일 실시 예에 따르면, 상기 전자 장치(210)는, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 의료 기기 또는 가전 장치들을 포함할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 통신이 연결된 전자 장치(210)의 요청에 따라, 상기 외부 전자 장치(310)의 메모리에 저장된 외부 전자 장치의 외형 정보 및/또는 외부 전자 장치의 기능 정보를 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, the external
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 전자 장치(210)로부터 수신되는 입력 정보를 기반으로, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 생성하여 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, the external
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치(310)에 이벤트가 발생되면, 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 생성하고, 상기 생성된 출력 정보를 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, when an event occurs in the external
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 전자 장치(210)와 미리 규정된 메시지 형태를 이용하여 정보를 송수신할 수 있다.According to an embodiment, the external
상기 도 2b를 참조하면, 다양한 실시 예들에 따른 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템은, 전자 장치(210), 외부 전자 장치(310) 및 서버(410)를 포함할 수 있다.Referring to FIG. 2B , a system capable of controlling an external electronic device in the real world in a virtual environment according to various embodiments may include an
다양한 실시 예들에 따르면, 전자 장치(210)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서 실 세계의 외부 전자 장치(310)와 대응되는 가상 외부 전자 장치를 제공하고, 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(310)에 대응되게 반영할 수 있도록 서버(410)을 통해 상기 외부 전자 장치(310)와 정보(예: 입력 정보 및 출력 정보)를 송수신 할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 웨어러블 전자 장치를 포함하고, 예를 들어, HMD(Head Mounted Display) 및/또는 웨어러블 글래스를 포함할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 인증 과정을 통해 서버(410)와 연결될 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 전자 장치(210)의 메모리에 저장된 적어도 하나의 외부 전자 장치를 포함하는 리스트 중 사용자에 의해 선택된 외부 전자 장치(310)를 가상 외부 전자 장치로 표시하기 위해, 상기 전자 장치(210)의 상기 메모리에서 상기 외부 전자 장치의 식별 정보에 매칭되어 저장된 외부 전자 장치의 외형 정보 및 외부 전자 장치의 기능 정보를 검출할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 전자 장치(210)의 메모리에 저장된 적어도 하나의 외부 전자 장치에 포함된 리스트에서 사용자에 의해 선택된 외부 전자 장치(310)를 가상 외부 전자 장치로 표시하기 위해, 상기 서버(410)에게 요청하여 상기 서버(410)로부터 외부 전자 장치의 형태 정보 및 /또는 외부 전자 장치의 기능 정보를 수신할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 외부 전자 장치의 외형 정보 및 상기 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 외부 전자 장치(310)와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 가상 외부 전자 장치(310)에 사용자의 입력을 기반한 입력 정보를 검출하면, 상기 입력 정보를 상기 서버(410)를 통해 상기 외부 전자 장치(310)로 전송할 수 있다. 상기 전자 장치(210)는, 상기 서버(410)를 통해 상기 외부 전자 치(310)로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하여 표시할 수 있다.According to an embodiment, when the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 서버(410)을 통해 상기 외부 전자 장치(310)로부터 상기 외부 전자 장치(310)에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치(310)의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하여 표시할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 제1 모드에서, 상기 서버(410)를 통해 상기 외부 전자 장치(310)와 미리 규정된 메시지 형태를 이용하여 정보를 송수신할 수 있다.According to an embodiment, in the first mode, the
다양한 실시 예들에 따르면, 외부 전자 장치(310)는, 전자 장치(210)의 제1 모드에서 표시되는 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(310)에 대응되게 반영할 수 있도록, 서버(410)를 통해 상기 전자 장치(210)와 정보(예: 입력 정보 및 출력 정보)를 송수신 할 수 있다.According to various embodiments of the present disclosure, the external
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 인증 과정을 통해 서버(410)와 연결될 수 있다.According to an embodiment, the external
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 서버(410)를 통해 상기 전자 장치(210)로부터 수신되는 입력 정보를 기반으로, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 상기 서버(410)를 통해 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, the external
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치(310)에 이벤트가 발생되면, 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태(예: 디스플레이 상태 및/또는 사운드 상태)와 관련된 출력 정보를 생성하고, 상기 생성된 출력 정보를 상기 서버(410)를 통해 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, when an event occurs in the external
일 실시 예에 따르면, 상기 외부 전자 장치(210)는, 상기 서버(410)를 통해 상기 전자 장치(210)와 미리 규정된 메시지 형태를 이용하여 정보를 송수신할 수 있다.According to an embodiment, the external
다양한 실시 예들에 따르면, 서버(410)는, 전자 장치(210)의 제1 모드에서 표시되는 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(310)에 대응되게 반영할 수 있도록, 전자 장치(210)로부터 수신된 정보(예: 입력 정보)를 외부 전자 장치(310)로 전송하고, 상기 외부 전자 장치(310)로부터 수신된 정보(예: 출력 정보)를 전자 장치(210)로 전송할 수 있다.According to various embodiments of the present disclosure, the
일 실시 예에 따르면, 상기 서버(410)는, 상기 전자 장치(210)의 요청에 따라, 상기 서버(410)의 DB에 저장된 외부 전자 장치의 외형 정보 및/또는 외부 전자 장치의 기능 정보를 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 서버(410)의 DB에는, 사용자의 계정 별로 적어도 하나의 외부 전자 장치의 식별 정보에 매칭되는 외부 전자 장치의 외형 정보 및 외부 전자 장치의 기능 정보가 저장될 수 있다.According to an embodiment, the DB of the
일 실시 예에 따르면, 상기 서버(410)는, 전자 장치(210) 및 외부 전자 장치(310)와 미리 규정된 메시지 형태로, 전자 장치(210)로부터 수신된 정보(예: 입력 정보)를 외부 전자 장치(310)로 전송하고, 상기 외부 전자 장치(310)로부터 수신된 정보(예: 출력 정보)를 전자 장치(210)로 전송할 수 있으며, 상기 메시지의 교환은 미리 규정한 Application Layer 프로토콜(Protocol)에 의해 수행할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 서버(410)에서, 전자 장치(210)와 외부 전자 장치(310)간에 메시지 형태로 정보를 전달할 때 사용하는 프로토콜은 HTTP(Port number 80), 정보 보안 및 위조와 변조를 막기 위하 HTTPS(Port number 443) 프로토콜, 또는 스트리밍시 혼잡제어를 위한 QUIC 또는 UDP 와 같은 프토토콜 중 어느 하나를 사용할 수 있다.According to an embodiment, the protocol used when transferring information in the form of a message between the
도 3은 다양한 실시 예들에 따른 전자 장치의 블록도(300)이다.3 is a block diagram 300 of an electronic device according to various embodiments.
상기 도 3을 참조하면, 다양한 실시 예들에 따르면, 전자 장치(301)(예: 도 1의 전자 장치(101) 및/또는 도 2a 내지 도 2b의 전자 장치(210))는, 프로세서(320), 메모리(330), 디스플레이(360), 센서 모듈(376), 카메라 모듈(380), 및 통신 모듈(390)을 포함할 수 있다. Referring to FIG. 3 , according to various embodiments, an electronic device 301 (eg, the electronic device 101 of FIG. 1 and/or the
다양한 실시 예들에 따르면, 프로세서(320)는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 실 세계에 존재하는 적어도 하나의 외부 전자 장치와 대응되는 가상 외부 전자 장치를 생성하기 위한 외부 전자 장치의 외형 정보 및 기능 정보를 생성하여 저장할 수 있다.According to various embodiments of the present disclosure, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제2 모드)에서, 3차원 객체 인식 및/또는 스캐닝(3D Recognition/Scanning) 기술을 이용하여 카메라 모듈(380) 및/또는 센서 모듈(376)을 통해 검출된 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))에 대한 영상 데이터 및/또는 센서 데이터를 분석하고, 상기 분석된 데이터를 기반으로 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 생성하고, 상기 생성된 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 상기 외부 전자 장치의 외형 정보로 생성할 수 있다.According to one embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제2 모드)에서, 상기 전자 장치(301)에 포함된 그래픽 연산 장치(예: GPU(Graphic Process Unit))에 상기 외부 전자 장치의 외형 정보를 적용하여 가상 외부 전자 장치를 렌더링 하여 표시하는 동안, 상기 가상 외부 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴(예: GUI 메뉴)를 표시할 수 있다. 상기 프로세서(320)는, 상기 기능 설정 메뉴를 통해 사용자에 의해 선택된 적어도 하나의 기능의 종류를 확인하고, 상기 표시되고 있는 가상 외부 전자 장치에서 적어도 하나의 기능을 수행하기 위한 구성요소가 위치될 영역이 사용자에 의해 선택되면, 상기 사용자에 의해 선택된 영역을 상기 기능 수행을 위한 구성요소의 영역정보로 확인할 수 있다. 상기 프로세서(320)는, 상기 기능의 종류 및 상기 기능 수행을 위한 구성요소의 영역정보를 상기 외부 전자 장치의 기능 정보로 생성할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제2 모드)에서, 상기 외부 전자 장치와 근거리 통신이 연결된 상태에서 상기 외부 전자 장치로부터 상기 외부 전자 장치의 식별 정보(예: 외부 전자 장치의 id정보)를 수신하고, 상기 외부 전자 장치의 식별 정보에 매칭하여 상기 외부 전자 장치의 외형 정보 및 기능 정보를 메모리(330)에 저장할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제2 모드)에서, 사용자에 의해 입력된 외부 전자 장치의 식별 정보(예: 전자 장치의 id 정보)가 입력되면, 상기 외부 전자 장치의 식별 정보에 매칭하여 상기 외부 전자 장치의 외형 정보 및 기능 정보를 메모리(330)에 저장할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제2 모드)에서, 상기 외부 전자 장치와 근거리 통신이 연결된 상태에서 상기 외부 전자 장치로부터 상기 외부 전자 장치의 식별 정보(예: 전자 장치의 id 정보), 외부 전자 장치의 외형 정보 및 외부 전자 장치의 기능 정보를 수신하고, 상기 외부 전자 장치의 식별 정보에 매칭하여 상기 외부 전자 장치의 외형 정보 및 기능 정보를 메모리(330)에 저장할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제2 모드)에서, 상기 전자 장치(301)에 미리 저장된 기능을 포함하는 기능 설정 메뉴(예: GUI 메뉴)을 이용하여 상기 외부 전자 장치의 기능 정보를 생성할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 근거리 통신이 연결된 상기 외부 전자 장치로부터 수신된 기능을 포함하는 기능 설정 메뉴(예: GUI 메뉴)을 이용하여 상기 외부 전자 장치의 기능 정보를 생성할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 서버(예: 도 2b의 서버(410))로부터 수신된 기능을 포함하는 기능 설정 메뉴(예: GUI 메뉴)을 이용하여 상기 외부 전자 장치의 기능 정보를 생성할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 외부 전자 장치의 식별 정보, 상기 외부 전자 장치의 외형 정보 및 상기 외부 전자 장치의 기능 정보를 상기 서버로 전송하여 상기 서버의 DB에 저장할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 프로세서(320)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 실 세계의 외부 전자 장치와 대응되는 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 프로세서(320)는 가상 현실(Virtual Reality, VR)실행을 위한 어플리케이션 또는 가상 현실(Virtual Reality, VR) 실행을 위한 어플리케이션을 실행하여 가상 환경을 제공할 수 있는 모드(예: 제1 모드)로 전환하고, 상기 모드(예: 제1 모드)에서 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 검출할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 메모리(330)에 저장된 적어도 하나의 외부 전자 장치들을 포함하는 리스트에서 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 상기 메모리(330)에서 검출할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 메모리(330)에 저장된 적어도 하나의 외부 전자 장치들을 포함하는 리스트에서 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 상기 서버에게 요청하여 상기 서버로부터 수신할 수 있다.According to an embodiment, the
예를 들어, 상기 프로세서(320)는, 상기 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 상기 서버에게 요청하기 위해, 하기 <예제1>과 같이, 사용자의 계정 정보(UserID), 외부 전자 장치의 식별 정보(Device ID) 및 보안 키(MagicKey)를 포함하는 메시지를 상기 서버로 전송할 수 있다.For example, the
<예제 1><Example 1>
예를 들어, 상기 프로세서(320)는, 상기 가상 외부 전자 장치의 외형 정보 및 기능 정보의 요청에 따라, 상기 서버로부터 하기 <예제2>와 같이 외부 전자 장치의 외형 정보(objectDataVertex)와 외부 전자 장치의 기능 정보(objectFeature)를 포함하는 패킷 형태의 메시지를 수신할 수 있다.For example, the
<예제 2><Example 2>
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 외형 정보(예: 3차원 좌표정보, 텍스처 및 쉐이더 데이터) 및 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 외부 전자 장치(310)와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 외형 정보(예: 3차원 좌표정보, 텍스처 및 쉐이더 데이터)에 추가적으로 광원등을 계산하고, 상기 외형 정보 및 추가 정보(예: 광원등)가 적용되는 3차원 그래픽 API(예: DirectX, Opengl, Vulkan 및/또는 Metal)등을 사용하여 GPU파이프 라인을 통해 가상 외부 전자 장치를 3차원 그래픽으로 형상화할 수 있다. 상기 가상 외부 전자 장치를 상기 3자원 그래픽으로 형상화 과정에서 정점(Vertex)와 쉐이더(Shader)를 활용한 그래픽 처리장치(GPU: Graphics Processing Unit)렌더링의 하기 <예제3 >과 같다.According to an embodiment, the
<예제3 ><Example 3>
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 기능 정보를 기반으로 가상 외부 전자 장치에서 기능을 수행하기 위한 구성요소가 위치될 영역을 지정할 수 있다.According to an embodiment, the
예를 들어, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 기능 정보로 외부 전자 장치를 폴딩할 수 있는 힌지 기능, 화면 출력 기능, 및 터치 기능을 확인하는 경우, 상기 외부 전자 장치의 외형 정보를 기반으로 가상 외부 전자 장치의 외형을 렌더링 한 후, 상기 외부 전자 장치의 기능 정보를 기반으로 외부 전자 장치를 폴딩할 수 있는 힌지 기능을 수행하기 위한 힌지 구성요소가 위치된 힌지 영역, 화면 출력 기능을 수행하기 위한 디스플레이 구성요소가 위치된 디스플레이 영역, 및 터치 기능을 수행하기 위한 디스플레이 구성요소 또는 버튼 구성요소가 위치된 입력 영역을 확인할 수 있다. For example, in the mode (eg, the first mode), the
상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 가상 외부 전자 장치를 힌지를 중심으로 폴딩과 언폴딩을 수행할 수 있는 힌지 기능의 경우, 가상 외부 전자 장치의 가운데 지점을 힌지 좌표(예: 힌지 영역)로 지정하여 해당 좌표를 기준으로 회전 기하변환을 하도록 정점 쉐이더를 추가할 수 있다. 상기 프로세서(320)는, 가상 외부 전자 장치의 힌지 영역에서 표시되는 힌지의 축을 Z축으로 가정하여 계산하는 경우, Rotate 및/또는 Transform과 같은 그래픽 API(Application Programming Interface)를 이용하여 가상 외부 전자 장치의 폴딩 및 언폴딩에 따른 좌표 정보를 하기 식 1을 반영함에 따라, 가상 환경에서 가상 외부 전자 장치에 대한 폴딩 및 언폴딩을 구현하여 표시할 수 있다.In the case of a hinge function capable of folding and unfolding the virtual external electronic device around the hinge in the mode (eg, the first mode), the
< 식 1 ><
상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 화면 출력 기능의 경우, 가상 외부 전자 장치의 디스플레이 영역을 텍스처 매핑(texture mapping)될 영역으로 지정할 수 있다. 이후, 상기 프로세서(320)는, 가상 외부 전자 장치와 실 세계의 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))를 대응되게 조작하기 위해, 실 세계의 외부 전자 장치로부터 수신되는 출력 정보를 기반으로 상기 외부 전자 장치의 디스플레이의 화면 상태(예: 화면 이미지)와 대응되는(또는 동일한) 화면 상태(예: 화면 이미지)를 상기 가상 외부 전자 장치의 디스플레이 영역에 매핑(mapping) 시킬 수 있다. 상기 프로세서(320)는, 연산처리 속도를 높이기 위해 해당 텍스처(예: 화면 이미지)를 GPU(Graphic Processing Unit)와 공유되는 메모리에 저장하여 텍스처 매핑(texture mapping)을 수행하면 화면 이미지를 메모리에 복사하는 연산 없이, 텍스처(예: 화면 이미지)가 반영되는 효과를 가져올 수 있다. 상기 화면 이미지를 GPU(Graphic Processing Unit)와 공유되는 메모리에 저장하여 텍스처 맵핑하는 하기 <예제 4>와 같다.In the mode (eg, the first mode), in the case of a screen output function, the
<예제 4><Example 4>
상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 버튼 기능의 경우 디스플레이 영역 또는 버튼 영역을 터치 이벤트 처리 영역으로 지정하고, 사용자의 제스처에 의한 터치 상호 작용을 인식하도록 할 수 있다.In the mode (eg, the first mode), in the case of a button function, the
다양한 실시 예들에 따르면, 프로세서(320)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 표시되는 가상 외부 전자 장치의 조작 정보를 상기 외부 전자 장치(예: 도 2a 및 도 2b의 외부 전자 장치(310))에 대응되게 반영할 수 있도록 상기 외부 전자 장치와 정보(예: 입력 정보 및 출력 정보)를 송수신 할 수 있다.According to various embodiments of the present disclosure, in a mode capable of controlling an external electronic device in a virtual environment (eg, a first mode), the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서 상기 가상 외부 전자 장치를 표시하는 동안, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 입력 이벤트와 관련된 입력 정보를 생성하고, 상기 생성된 입력 정보를 상기 외부 전자 장치로 전송할 수 있다. According to an embodiment, when the
예를 들어, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 사용자의 제스처를 기반으로 상기 가상 외부 전자 장치의 디스플레이 영역 또는 버튼 영역에 입력 이벤트(또는 터치 이벤트)의 발생을 검출하면, 입력의 종류, 입력의 위치 및 입력의 횟수와 지속시간을 포함하는 입력 정보를 하기 <예제 5>와 같이 메시지로 생성하여 상기 외부 전자 장치로 전송할 수 있다.For example, in the mode (eg, the first mode), the
<예제 5><Example 5>
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 입력 정보를 포함하는 메시지의 전송에 따라 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태(예: 디스플레이 영역 상태 및/또는 사운드 상태)을 상기 변경된 외부 전자 장치의 상태와 대응되게 변경할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 포함하는 메시지를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태(예: 디스플레이 영역상태 및/또는 사운드 상태)를 변경할 수 있다.According to an embodiment, when the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 전자 장치(301)가 통신 모듈(390)의 근거리 통신 모듈을 통해 상기 외부 전자 자치와 연결된 상태일 때, 상기 외부 전자 장치와 정보(예: 입력 정보 및/또는 출력 정보)를 포함하는 메시지를 송수할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 전자 장치(301)가 통신 모듈의 근거리 통신 모듈을 통해 상기 외부 전자 자치와 연결되지 않은 상태일 때, 또는 사용자의 선택에 의해, 서버(예: 도 2b의 서버(410))를 통해 상기 외부 전자 장치와 정보(예: 입력 정보 및/또는 출력 정보)를 포함하는 메시지를 송수신할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 사용자의 계정 정보(예: id 및 password)를 기반으로 상기 서버로 접속을 요청하고, 상기 서버와의 인증 과정을 통해 인증을 성공하면, 상기 서버를 통해 상기 외부 전자 장치와 정보를 송수신할 수 있다.According to one embodiment, the
일 실시 예에 따르면, 상기 외부 전자 장치와 직접적으로 또는 상기 서버를 통해 상기 외부 전자 장치와 송수신하는 정보(예: 입력 정보 및/또는 출력 정보)를 포함하는 메시지 형태는, 상기 외부 전자 장치 또는 상기 서버와 미리 규정된 방식의 메시지 형태를 포함할 수 있다.According to an embodiment, a message type including information (eg, input information and/or output information) transmitted to and received from the external electronic device directly or through the server is the external electronic device or the external electronic device. It can include the message format of the server and the predefined method.
예를 들어, 실 세계의 외부 전자 장치(예: 도 2b의 외부 전자 장치(310))에서 전화를 수신되는 경우, 상기 외부 전자장치에서는 전화 수신 화면에 대한 프레임 버퍼와 벨 소리에 대한 사운드 스트림을 캡처하여 출력 정보로 생성하고, 상기 출력 정보를 포함하는 메시지를 스트림 형태로 서버(예: 도 2b의 서버(410))로 전송하면, 상기 서버는 상기 출력 정보를 포함하는 메시지를 상기 전자 장치(301)로 전송할 수 있다. 상기 전자 장치(301)의 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 수신된 출력 정보를 기반으로, 상기 가상 외부 전자 장치의 디스플레이 영역에 텍스처 맵핑을 수행하여 가상 외부 전자 장치의 디스플레이에 전화 수신을 알리는 전화 수신 화면을 표시하고, 상기 전자 장치의 스피커를 통해 전화 수신을 알리는 벨 소리를 출력함에 따라, 사용자는 가상 환경에서 실 세계의 외부 전자 장치에 전화가 수신되고 있는 상태임을 알 수 있다. For example, when a call is received from an external electronic device in the real world (eg, the external
상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 사용자의 제스처에 의해 통화 버튼이 입력(또는 터치)되는 입력 이벤트를 검출하면, 상기 통화 버튼의 입력과 관련된 입력 정보를 생성하고, 상기 생성된 입력 정보를 포함하는 메시지를 상기 서버를 통해 상기 외부 전자 장치로 전송할 수 있다.The
상기 외부 전자 장치는, 상기 수신된 입력 정보를 기반으로, 상기 외부 전자 장치의 통화 버튼이 입력된 통화 상태로 전환하고, 상기 통화 연결상태 화면에 대한 프레임 버퍼를 캡처하여 출력 정보로 생성하고, 상기 출력 정보를 포함하는 메시지를 스트림 형태로 상기 서버로 전송하면, 상기 서버는 상기 출력 정보를 포함하는 메시지를 상기 전자 장치(301)로 전송할 수 있다. 상기 전자 장치(301)의 상기 프로세서(320)는, 상기 모드(예: 제1 모드)에서, 상기 수신된 출력 정보를 기반으로, 상기 가상 외부 전자 장치의 디스플레이 영역에 텍스처 맵핑을 수행하여 가상 외부 전자 장치의 디스플레이의 화면에 통화 연결 상태를 알리는 통화 연결 화면을 표시함에 따라, 사용자는 가상 환경에서 실 세계의 외부 전자 장치에 통화가 연결된 상태임을 알 수 있다. 이후 상기 외부 전자 장치에서는 상기 외부 전자 장치의 스피커를 출력되는 발신자의 음성에 대한 사운드 스트림을 캡쳐한 출력 정보를 상기 서버를 통해 상기 전자 장치(301)로 전송하고, 상기 전자 장치(301)는 상기 전자 장치의 마이크를 통해 입력되는 사용자의 음성에 대한 사운드 스트림을 캡처한 출력 정보를 상기 서버를 통해 상기 외부 전자 장치로 전송함에 따라, 사용자는 가상 환경에서 가상 외부 전자 장치를 이용하여 통화를 수행할 수 있다. The external electronic device, based on the received input information, converts to a call state in which a call button of the external electronic device is input, captures a frame buffer for the call connection state screen, and generates output information; When a message including the output information is transmitted to the server in the form of a stream, the server may transmit the message including the output information to the
다양한 실시 예들에 따르면, 프로세서(320)는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서 실 세계에 존재하는 적어도 하나의 외부 전자 장치와 대응되는 가상 외부 전자 장치의 생성을 위한 정보(예: 외부 전자 장치의 외형 정보 및 기능 정보)를 생성하고, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서 표시되는 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(301)에 대응되게 반영할 수 있는 가상 외부 전자 장치 제어 모듈을 포함하거나, 상기 가상 외부 전자 장치 제어 모듈이 소프트웨어 모듈로써 메모리(330)에 저장되어 상기 프로세서(320)의 제어 하에 동작하거나, 또는 별도로 전자 장치(301)에 구성될 수 있다. 상기 가상 외부 전자 장치의 제어 모듈의 구성은 하기 도 4에서 상세히 설명할 수 있다.According to various embodiments, the
다양한 실시 예들에 따르면, 메모리(330)는, 도 1의 메모리(130)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 메모리(330)에 적어도 하나의 외부 전자 장치의 식별 정보와 상기 적어도 하나의 외부 전자 장치의 식별 정보에 대응되는 외부 전자 장치의 외형 정보 및 기능 정보가 저장될 수 있다.According to an embodiment, identification information of at least one external electronic device and external information and function information of the external electronic device corresponding to the identification information of the at least one external electronic device may be stored in the
다양한 실시 예들에 따르면, 메모리(360)는, 도 1의 디스플레이(360)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the
일 실시 예에 따르면, 디스플레이(360)를 통해 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 적어도 하나의 가상 외부 전자 장치를 표시할 수 있다.According to an embodiment, in a first mode capable of controlling an external electronic device in a virtual environment through the
다양한 실시 예들에 따르면, 센서 모듈(376)는, 도 1의 센서모듈(376)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 센서 모듈(376)는, 각도 센서, 기울기 센서, 가속도 센서, 지자기 센서, 자이로 센서, 모션 센서, 중력 센서 및 근접 센서등을 포함할 수 있다. According to an embodiment, the
일 실시 예에 따르면, 상기 센서 모듈(376)은, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 3차원 객체 인식 및/또는 스캐닝(3D Recognition/Scanning) 기술을 이용하여 가상 외부 전자 장치의 외형 정보의 생성하기 위해, 실 세계의 외부 전자 장치를 검출할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 카메라 모듈(380)는, 도 1의 디스플레이 모듈(180)과 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 카메라 모듈(380)은, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 3차원 객체 인식 및/또는 스캐닝(3D Recognition/Scanning) 기술을 이용하여 가상 외부 전자 장치의 외형 정보의 생성하기 위해, 실 세계의 외부 전자 장치를 검출할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 통신 모듈(390)은, 도 1의 통신 모듈(190)과 실질적으로 동일하거나 유사하게 구현될 수 있으며, 서로 다른 통신 기술을 사용하는 복수의 통신 회로를 포함할 수 있다. According to various embodiments, the
일 실시 예에 따르면, 상기 통신 모듈(390)는, 복수의 통신 회로를 포함할 수 있으며, 무선랜 모듈(미도시)과 근거리통신 모듈(미도시) 중 적어도 하나를 포함할 수 있으며, 상기 근거리통신 모듈(미도시)로 UWB 통신 모듈, Wi-Fi 통신 모듈, NFC(near field communication) 통신 모듈, 블루투스 레거시(Legacy) 통신 모듈 및/또는 BLE(bluetooth low energy) 통신 모듈을 포함할 수 있다.According to an embodiment, the
도 4는 다양한 실시 예들에 따른 전자 장치의 가상 외부 전자 장치 제어 모듈의 블록도(400)이다. 4 is a block diagram 400 of a virtual external electronic device control module of an electronic device according to various embodiments.
상기 도 4를 참조하면, 상기 가상 외부 전자 장치 제어 모듈(401)은, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서 실 세계에 존재하는 적어도 하나의 외부 전자 장치와 대응되는 가상 외부 전자 장치의 생성을 위한 정보(예: 외부 전자 장치의 외형 정보 및 기능 정보)를 생성하고, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서 표시되는 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(301)에 대응되게 반영할 수 있다. 상기 가상 외부 전자 장치 제어 모듈(401)은, 프로세서(예: 도 3의 프로세서(320))에 포함되거나, 소프트웨어로써 메모리(예: 도 3의 메모리(330))에 저장되거나, 또는 전자 장치(예: 도 3의 301))에 별도로 구성될 수 있다. 상기 가상 외부 전자 장치 제어 모듈(401)은, 객체 검출부(411), 제스처 검출부(413), 물리 엔진부(415), 기능 관리부(417), 렌더링 처리부(419), 및 정보 수신부(421)를 포함할 수 있다.Referring to FIG. 4 , the virtual external electronic
다양한 실시 예들에 따르면, 외형 검출부(shape detector)(411)는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 실 세계의 외부 전자 장치와 대응되는 가상 외부 전자 장치를 가상 환경에서 제공하기 위한 외부 전자 장치의 외형 정보를 생성하여 메모리(예: 도 3의 메모리(330))에 저장하거나 또는 서버(예: 도 2b의 서버(410))로 전송할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 외형 검출부(shape detector)(411)는, 상기 모드(예: 제2 모드)에서, 3차원 객체 인식 및/또는 스캐닝(3D Recognition/Scanning) 기술을 이용하여 카메라 모듈(도 3의 카메라 모듈(380)) 및/또는 센서 모듈(예: 도 3의 센서 모듈(376))을 통해 검출된 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))에 대한 영상 데이터 및/또는 센서 데이터를 분석할 수 있다. 상기 외형 검출부(411)는, 상기 분석된 데이터를 기반으로 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 생성하고, 상기 생성된 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 외부 전자 장치의 외형 정보로 생성할 수 있다.According to one embodiment, the
다양한 실시 예들에 따르면, 제스처 검출부(413)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 카메라 모듈(도 3의 카메라 모듈(380)) 및/또는 센서 모듈(예: 도 3의 센서 모듈(376))을 통해 사용자의 제스처를 인식하는 기능을 수행할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 제스처 검출부(413)는, 상기 모드(예: 제1 모드)에서, 카메라 모듈(도 3의 카메라 모듈(380)) 및/또는 센서 모듈(예: 도 3의 센서 모듈(376))을 통해 제스처가 수행되는 사용자 신체 일부(예: 손)의 위치정보를 확인하고, 상기 확인된 위치정보를 가상 환경에서의 위치 정보로 변환하여, 실 세계에서의 사용자 제스처를 가상 환경에서의 제스처로 전환할 수 있다. According to one embodiment, the
다양한 실시 예들에 따르면, 물리 엔진부(415)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 실 세계의 사용자 제스처를 가상 환경에 반영하는 기능을 수행할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 물리 엔진부(415)는, 상기 제스처 검출부(143)에서 검출한 가상 환경에서의 사용자 제스처를 가상 환경에서 표시되는 가상 외부 전자 장치에 대한 물리적일 동작(예: 버튼 입력)으로 반영하는 기능을 수행할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 기능 관리부(417)는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 실 세계의 외부 전자 장치와 대응되는 가상 외부 전자 장치를 가상 환경에서 제공하기 위한 외부 전자 장치의 기능 정보를 생성하여 메모리(예: 도 3의 메모리(330))에 저장하거나 또는 서버(예: 도 2b의 서버(410))로 전송할 수 있다.According to various embodiments of the present disclosure, the
일 실시 예에 따르면, 상기 기능 관리부(417)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서 표시되는 가상 외부 전자 장치에서 입력 이벤트를 검출하면 입력 정보를 생성하고, 상기 생성된 입력 정보를 포함하는 메시지를 생성하여 상기 외부 전자 장치로 전송할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 렌더링 처리부(419)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 상기 외형 검출부(411)에서 생성한 외부 전자 장치의 외형 정보와 기능 관리부(415)에서 생성한 외부 전자 장치의 기능을 정보를 기반으로 가상 외부 전자 장치를 렌더링하여 표시할 수 있다. According to various embodiments, the
일 실시 예에 따르면, 렌더링 처리부(419)는, 상기 제1 모드에서, 상기 외부 전자 장치의 외형 정보 및 상기 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 외부 전자 장치(310)와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 렌더링 처리부(419)는, 상기 제1 모드에서, 3D API(DirectX, OpenGL, Vulkan, Metal)를 사용하며, 외형 검출부(Shape Detector)(411)에서 생성한 외형 정보를 기반으로 메쉬 구성, 텍스처 맵핑 등과 같은 렌더링 과정을 통해 수행할 수 있다. 상기 렌더링된 가상 외부 전자 장치는 전자 장치(예: 사용자가 착용중인 HMD(Head Mount Device))를 통해 출력되어 사용자가 시각적으로 볼 수 있다. According to an embodiment, the
일 실시 예에 따르면, 렌더링 처리부(419)는, 가상 외부 전자 장치를 시각적 출력하는 것 외에도 전자 장치의 스피커를 통해 사운드를 출력해 주고, 상기 전자 장치와 연동되는 장갑형 및/ 또는 피복형 촉감장치를 통해 촉각적으로 사용자에게 전달할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 렌더링 처리부(419)는, 상기 제1 모드에서, 상기 기능 관리부에서 생성한 외부 전자 장치의 기능 정보를 기반으로, 가상 환경에서의 상호작용에 따라 객체(예: 가상 외부 전자 장치에서 입력 이벤트가 검출되는 영역)의 좌표 값, 색상 및/또는 빛 등을 계산하여 3D 연산의 인자(Parameter)로 가상 외부 전자 장치의 렌더링에 반영할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 정보 수신부(421)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 실 세계의 외부 전자 장치로부터 수신되는 출력 정보(예: 화면 데이터 및/또는 사운드 데이터) 수신하는 기능을 수행할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 정보 수신부(421)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 수신되는 상기 출력 정보를 기반으로, 가상 외부 전자 장치의 디스플레이 영역에 상기 외부 전자 장치의 디스플레이의 화면과 대응되는(또는 동일한) 화면을 출력하고, 상기 외부 전자 장치에서 출력된 동일한 (또는 유사한) 사운드를 출력하도록 제어할 수 있다.According to an embodiment, the
도 5는 다양한 실시 예들에 따른 외부 전자 장치의 블록도(500)이다.5 is a block diagram 500 of an external electronic device according to various embodiments.
상기 도 5를 참조하면, 다양한 실시 예들에 따르면, 외부 전 장치(501)(예: 도 1의 전자 장치(101) 및/또는 도 2a 내지 도 2b의 외부 전자 장치(310))는, 프로세서(520), 메모리(530), 디스플레이(560), 및 통신 모듈(590)을 포함할 수 있다. Referring to FIG. 5, according to various embodiments, an external electronic device 501 (eg, the electronic device 101 of FIG. 1 and/or the external
다양한 실시 예들에 따르면, 프로세서(520)는, 전자 장치(예: 도 2a 내지 도 2b의 전자 장치(210) 또는 도 3의 전자 장치(301))의 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드), 또는 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서 전자 장치(예: 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))의 요청을 기반으로, 외부 전자 장치의 식별 정보 또는 상기 외부 전자 장치의 식별 정보, 외형 정보 및 기능 정보를 상기 전자 장치로 전송할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 프로세서(520)는, 상기 모드(예: 제1 모드 또는 제2 모드)에서, 통신 모듈(590)의 근거리 통신을 기반으로 상기 전자 장치와 통신이 연결된 상태에서, 상기 전자 장치로 정보(예: 외부 전자 장치의 식별 정보 또는 상기 외부 전자 장치의 식별 정보, 외형 정보 및 기능 정보)를 전송할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(520)는, 상기 모드(예: 제1 모드 또는 제2 모드)에서, 통신 모듈(290)의 근거리 통신을 기반으로 상기 전자 장치와 통신이 연결되지 않은 상태에서, 서버(예: 도 2b의 서버(410))를 통해 상기 전자 장치로 정보(예: 외부 전자 장치의 식별 정보 또는 상기 외부 전자 장치의 식별 정보, 외형 정보 및 기능 정보)를 전송할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 프로세서(520)는, 전자 장치(예: 도 2a 내지 도 2b의 전자 장치(210) 또는 도 3의 전자 장치(301))의 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서 표시되는 가상 외부 전자 장치의 조작 정보를 외부 전자 장치(501)에 대응되게 반영할 수 있도록 상기 전자 장치와 정보(예: 입력 정보 및/또는 출력 정보)를 송수신 할 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 프로세서(520)는, 상기 외부 전자 장치(501)에 이벤트가 발생되어 상기 외부 전자 장치의 상태가 변경되면, 상기 변경된 외부 전자 장치의 상태와 관련된 상기 출력 정보를 생성하여 상기 전자 장치로 전송할 있다. According to an embodiment, when an event occurs in the external
예를 들어, 상기 프로세서(520)는, 상기 외부 전자 장치(501)에 전화 수신 이벤트의 발생을 검출하고, 상기 전화 수신 이벤트에 따라 상기 외부 전자 장치의 디스플레이(560)에 표시되는 전화 수신 화면에 대한 프레임 버퍼와 전환 수신을 알리는 벨소리에 대한 사운드 스트림을 캡처하여 출력정보로 생성하고, 상기 생성된 출력 정보를 포함하는 메시지를 상기 전자 장치로 전송할 수 있다.For example, the
일 실시 예에 따르면, 상기 프로세서(520)는, 상기 전자 장치로부터 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송할 수 있다.According to an embodiment, when input information is received from the electronic device, the
예를 들어, 상기 프로세서(520)는, 상기 전자 장치로부터 통화 버튼을 입력과 관련된 입력 정보를 수신하면, 상기 외부 전자 장치의 통화 버튼이 입력된 통화 상태로 전환하고, 상기 통화 연결상태 화면에 대한 프레임 버퍼를 캡처하여 출력 정보로 생성하고, 상기 출력 정보를 포함하는 메시지를 스트림 형태로 상기 전자 장치(301)로 전송할 수 있다. For example, when the
일 실시 예에 따르면, 상기 프로세서(520)는, 통신 모듈(590)의 근거리 통신을 기반으로 상기 전자 장치와 통신이 연결된 상태에서, 상기 전자 장치와 정보(예: 입력 정보 및/또는 출력 정보)를 포함하는 메시지를 송수신할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 프로세서(520)는, 통신 모듈(590)의 근거리 통신을 기반으로 상기 전자 장치와 통신이 연결되지 않은 상태에서, 서버(예: 도 2b의 서버(410))를 통해 상기 전자 장치와 정보(예: 입력 정보 및/또는 출력 정보)를 포함하는 메시지를 송수신할 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 메모리(530)는, 도 1의 메모리(130)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 메모리(530)는, 외부 전자 장치의 식별 정보보가 저장될 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 메모리(530)는, 외부 전자 장치의 식별 정보, 외부 전자 장치의 외형 정보 및 외부 전자 장치의 기능 정보가 저장될 수 있다.According to an embodiment, the
다양한 실시 예들에 따르면, 디스플레이(560)는, 도 1의 디스플레이(360)와 실질적으로 동일하거나 유사하게 구현될 수 있다.According to various embodiments, the
일 실시 예에 따르면, 상기 디스플레이(560)를 통해 외부 전자 장치(501)에서 발생되는 이벤트에 대응되는 화면이 표시될 수 있다.According to an embodiment, a screen corresponding to an event occurring in the external
다양한 실시 예들에 따르면, 통신 모듈(590)은, 도 1의 통신 모듈(190)과 실질적으로 동일하거나 유사하게 구현될 수 있으며, 서로 다른 통신 기술을 사용하는 복수의 통신 회로를 포함할 수 있다. According to various embodiments, the
일 실시 예에 따르면, 상기 통신 모듈(590)는, 복수의 통신 회로를 포함할 수 있으며, 무선랜 모듈(미도시)과 근거리통신 모듈(미도시) 중 적어도 하나를 포함할 수 있으며, 상기 근거리통신 모듈(미도시)로 UWB 통신 모듈, Wi-Fi 통신 모듈, NFC(near field communication) 통신 모듈, 블루투스 레거시(Legacy) 통신 모듈 및/또는 BLE(bluetooth low energy) 통신 모듈을 포함할 수 있다.According to an embodiment, the
도 6은 다양한 실시 예들에 따른 전자 장치에서 외부 전자 장치의 외형 정보를 생성하는 동작을 설명하기 위한 도면(600)이다.FIG. 6 is a diagram 600 for explaining an operation of generating outer shape information of an external electronic device in an electronic device according to various embodiments of the present disclosure.
상기 도 6을 참조하면, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 상기 전자 장치(210)의 카메라 모듈(예: 도 3의 카메라 모듈(380))을 통해 실 세계의 외부 전자 장치(310)를 검출하면, 3차원 객체 인식 및/또는 스캐닝(3D Recognition/Scanning) 기술을 이용하여 상기 검출된 외부 전자 장치(310))에 대한 영상 데이터 및/또는 센서 데이터를 분석할 수 있다. 상기 전자 장치(210)는, 상기 분석된 데이터를 기반으로 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 생성하고, 상기 생성된 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 외부 전자 장치의 외형 정보로 생성하여 상기 전자 장치의 메모리(예: 도 3의 메모리(230))에 저장할 수 있다.Referring to FIG. 6 , the electronic device 210 (eg, the
도 7은 다양한 실시 예들에 따른 전자 장치에서 가상환경에 가상 외부 전자 장치를 제공하는 동작을 설명하기 위한 도면(700)이다.7 is a diagram 700 for explaining an operation of providing a virtual external electronic device to a virtual environment in an electronic device according to various embodiments.
상기 도 7를 참조하면, 전자 장치(210)는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 적어도 하나의 외부 전자 장치를 포함하는 리스트에서 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 기반으로 가상 외부 전자 장치(711)를 렌더링하여 가상 환경을 제공하는 상기 전자 장치(210)의 디스플레이(760)에 표시할 수 있다.Referring to FIG. 7 , the
상기 전자 장치(201)는, 상기 전자 장치(210)의 카메라 모듈(도 3의 카메라 모듈(380))를 통해 제스처가 수행되는 사용자 신체 일부(예: 손)의 위치정보를 확인하고, 상기 확인된 위치정보를 가상 환경에서의 위치 정보로 변환하여, 실 세계에서의 사용자 제스처(713)을 가상 환경에서의 사용자 제스처(713a)로 전환할 수 있다. 상기 전자 장치(210)는, 가상 환경에서의 사용자 제스처(713a)와 가상 외부 전자 장치(711)간의 물리적 상호 작용을 연산하고 상기 연산 결과를 반영하여 상기 가상 외부 전자 장치(711)에 렌더링을 수행하여 표시할 수 있다.The electronic device 201 checks the positional information of the user's body part (eg, hand) where the gesture is performed through the camera module (the
도 8은 다양한 실시 예들에 따른 전자 장치에서 외부 전자 장치로 전송하는 메시지 포맷을 도시한 도면(800)이다.8 is a diagram 800 illustrating a message format transmitted from an electronic device to an external electronic device according to various embodiments.
상기 도 8을 참조하면, 전자 장치(예: 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 사용자의 제스처를 기반으로 상기 가상 외부 전자 장치의 디스플레이 영역 또는 버튼 영역에 입력 이벤트(또는 터치 이벤트)의 발생을 검출하면, 입력의 종류, 입력의 위치 및 입력의 횟수와 지속시간을 포함하는 입력 정보를 포함하는 메시지(810)를 생성할 수 있다. 상기 메시지(810)의 헤더 영역(811)에는 복수의 헤더 정보(예: data link header(DH), network header(NH), transport header(TH), session header(SH) 및 physical header(PH))를 포활 수 있다. 상기 메시지(810)의 내용 영역(813)에는 입력 정보로써 입력 종류에 대한 정보(813a)와 입력의 위치, 및 입력의 횟수, 및 입력의 지속시간에 대한 정보(813b)를 포함할 수 있다. 상기 전자 장치는 상기 메시지(810)를 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))로 전송할 수 있다.Referring to FIG. 8, an electronic device (eg, the
도 9는 다양한 실시 예들에 따른 전자 장치에서 외부 전자 장치의 기능 정보를 생성하는 동작을 설명하기 위한 도면(900)이다.9 is a diagram 900 for explaining an operation of generating function information of an external electronic device in an electronic device according to various embodiments.
상기 도 9를 참조하면, 전자 장치(예: 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서, 상기 전자 장치에 포함된 그래픽 연산 장치(예: GPU(Graphic Process Unit))에 상기 외부 전자 장치의 외형 정보를 적용하여 가상 외부 전자 장치(911)를 렌더링 하여 표시하는 동안, 상기 가상 외부 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴(예: GUI 메뉴)(930)를 표시할 수 있다. Referring to FIG. 9, an electronic device (eg, the
상기 전자 장치는, 상기 메뉴(930)에서 제공하는 기능들(예: 힌지 추가, 디스플레이 추가 및 버튼 추가) 중 힌지 추가 기능(931)이 사용자에 의해 선택된 이후, 상기 가상 외부 전자 장치에서 사용자의 동작(예: 드래그 동작)에 의해 설정된 힌지 영역(913)에 대한 크기 및/또는 위치 정보를 확인하면, 상기 힌지 기능 및 전자 장치의 폴딩 및 언폴딩을 수행할 수 있는 힌지 영역 정보를 생성할 수 있다. After the user selects the
상기 전자 장치는, 상기 메뉴(930)에서 제공하는 기능들(예: 힌지 추가, 디스플레이 추가 및 버튼 추가) 중 디스플레이 추가 기능(933)이 사용자에 의해 선택되면, 디스플레이의 화면 비율을 선택할 수 있는 서브 메뉴(933a)(예: 4:3비율 및 16:9 비율)을 제공할 수 있다. 상기 전자 장치는, 사용자에 의해 디스플레이 추가 기능(933)이 선택된 이후, 상기 가상 외부 전자 장치(911)에서 사용자의 동작(예: 드래그 동작)에 의해 설정된 디스플레이 영역(916)에 대한 크기 및/또는 위치 정보를 확인하면, 상기 디스플레이 기능 및 화면 출력을 위한 디스플레이의 영역정보를 외부 전자 장치의 기능 정보로 생성할 수 있다. When the user selects the
상기 전자 장치는, 상기 메뉴(930)에서 제공하는 기능들(예: 힌지 추가, 디스플레이 추가 및 버튼 추가) 중 버튼 추가 기능(935)이 사용자에 의해 선택되면, 버튼의 종류를 선택할 수 있는 서브 메뉴(935a)(예: 사운드 버튼 및 전원 버튼)을 제공할 수 있다. 상기 전자 장치는, 사용자에 의해 버튼 추가 기능(935)이 선택된 이후, 상기 가상 외부 전자 장치에서 사용자의 동작에 의해 설정된 버튼 영역(919)에 대한 크기 및/또는 위치 정보를 확인하면, 상기 버튼 기능 및 입력 이벤트(예: 터치 이벤트)의 출력을 위한 버튼 영역정보를 외부 전자 장치의 기능 정보로 생성할 수 있다. In the electronic device, when a
다양한 실시 예들에 따르면, 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 시스템은, 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하고, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 전자 장치(예: 도 3의 전자 장치(301))및, 상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 외부 전자 장치(예: 도 5의 전자 장치(501))를 포함할 수 있다.According to various embodiments of the present disclosure, a system capable of controlling an external electronic device in the real world in a virtual environment, in a first mode capable of controlling an external electronic device in a virtual environment, based on appearance information and function information of the external electronic device. A virtual external electronic device corresponding to the external electronic device is displayed, and when the occurrence of an input event is detected in the virtual external electronic device, input information related to the input event is transmitted to the external electronic device. When output information related to the state of the external electronic device changed according to the execution of the function corresponding to the input information is received from the virtual external electronic device, the state of the virtual external electronic device corresponds to the changed state of the external electronic device based on the output information. When receiving the input information from the electronic device (e.g., the
다양한 실시 예들에 따르면, 상기 전자 장치는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하고, 상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴를 표시하고, 상기 기능 설정 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위한 구성 요소가 위치된 영역 정보를 상기 기능 정보로 생성하고, 상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하도록 설정될 수 있다.According to various embodiments of the present disclosure, the electronic device recognizes the external electronic device in a second mode capable of registering the external electronic device in a virtual environment, and changes the appearance of the external electronic device based on the recognition of the external electronic device. information is generated, a virtual external electronic device generated based on the appearance information and a function setting menu capable of setting functions of the virtual electronic device are displayed, and the type of at least one function selected through the function setting menu and the The virtual external electronic device may be set to generate information about a region where a component for performing the at least one function is located as the function information, and to store the appearance information and the function information to match the external electronic device. .
다양한 실시 예들에 따르면, 상기 기능 설정 메뉴에 포함된 적어도 하나의 기능은, 상기 전자 장치에 미리 저장되거나, 또는 상기 외부 전자 장치로부터 수신하거나, 또는 서버로부터 수신하도록 설정될 수 있다.According to various embodiments, at least one function included in the function setting menu may be pre-stored in the electronic device, received from the external electronic device, or set to be received from a server.
다양한 실시 예들에 따르면, 상기 전자 장치는, 상기 제1 모드에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the electronic device receives output information related to an event generated in the external electronic device from the external electronic device in the first mode, the electronic device changed to the occurrence of the event based on the output information. It may be set to change the state of the virtual external electronic device to correspond to the state of the external electronic device.
다양한 실시 예들에 따르면, 상기 외부 전자 장치는, 상기 외부 전자 장치에서 이벤트가 발생되어 상기 외부 전자 장치의 상태가 변경되면, 상기 변경된 외부 전자 장치의 상태와 관련된 상기 출력 정보를 생성하여 상기 전자 장치로 전송하도록 설정될 수 있다.According to various embodiments, when an event occurs in the external electronic device and the state of the external electronic device is changed, the external electronic device generates the output information related to the changed state of the external electronic device to the electronic device. can be set to transmit.
다양한 실시 예들에 따르면, 상기 전자 장치는, 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하도록 설정될 수 있다.According to various embodiments, when short-range communication is connected with the external electronic device, the electronic device may be set to transmit/receive information with the external electronic device based on the short-range communication connection.
다양한 실시 예들에 따르면, 상기 전자 장치는, 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하도록 설정될 수 있다.According to various embodiments, the electronic device may be set to transmit/receive information of the external electronic device through a server when short-range communication is not connected with the external electronic device.
다양한 실시 예들에 따르면, 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 전자 장치는, 카메라 모듈(예: 도 3의 카메라 모듈(380)), 및 프로세서(예: 도 3의 프로세서(320))를 포함하고, 상기 프로세서는, 가상 환경에 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 가상 외부 전자 장치를 표시하고, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 표시하고, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하도록 설정될 수 있다.According to various embodiments, an electronic device capable of controlling an external electronic device in the real world in a virtual environment includes a camera module (eg, the
다양한 실시 예들에 따르면, 상기 프로세서는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 카메라 모듈을 통해 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하고, 상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 메뉴를 표시하고, 상기 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위해 선택될 기능의 위치를 상기 기능 정보로 생성하고, 상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하도록 설정될 수 있다.According to various embodiments of the present disclosure, in a second mode capable of registering an external electronic device in a virtual environment, the processor recognizes the external electronic device through the camera module, and the external electronic device is recognized based on the external electronic device. External appearance information of the electronic device is generated, a virtual external electronic device created based on the external appearance information and a menu capable of setting functions of the virtual electronic device are displayed, and the type of at least one function selected through the menu and the A location of a function to be selected to perform the at least one function in the virtual external electronic device may be generated as the function information, and the appearance information and the function information may be stored to match the external electronic device.
다양한 실시 예들에 따르면, 상기 프로세서는, 상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하고, 상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하도록 설정될 수 있다.According to various embodiments of the present disclosure, when the electronic device is in a short-range communication connection state with the external electronic device, the processor transmits and receives information with the external electronic device based on the short-range communication connection, and the electronic device communicates with the external electronic device. If the short-range communication is not connected with the device, it may be set to transmit and receive information of the external electronic device through a server.
도 10은 다양한 실시 예들에 따른 전자 장치에서 가상환경에서 가상 외부 전자 장치를 표시가 위한 정보를 생성 할 수 있는 동작을 설명하기 위한 흐름도(1000)이다. 상기 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작들은 1001동작 내지 1007동작을 포함할 수 있다. 일 실시 예에 따르면, 1001동작 내지 1007동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 10 is a
1001동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 등록할 수 있는 모드(예: 제2 모드)에서 실 세계의 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))를 검출할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제2 모드)에서, 카메라 모듈(예: 도 3의 카메라 모듈(380)) 또는/및 센서 모듈(예: 도 3의 센서 모듈(376))을 통해 상기 외부 전자 장치를 검출(또는 획득)할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the second mode), a camera module (eg, the
1003동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))의 외형 정보를 생성하여 저장할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제2 모드)에서, 3차원 객체 인식 또는/및 스캐닝(3D Recognition/Scanning) 기술을 이용하여 상기 카메라 모듈 또는/및 상기 센서 모듈을 통해 검출된 상기 외부 전자 장치에 대한 영상 데이터 또는/및 센서 데이터를 분석하고, 상기 분석된 데이터를 기반으로 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 생성하고, 상기 생성된 3차원 좌표정보, 텍스처 및 쉐이더 데이터를 외부 전자 장치의 외형 정보로 생성할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the second mode), uses a 3D object recognition or/and scanning (3D Recognition/Scanning) technology to detect the camera module or/and the sensor module. image data or/and sensor data for the external electronic device detected through the analysis are analyzed, 3D coordinate information, texture and shader data are generated based on the analyzed data, and the generated 3D coordinate information, texture and Shader data may be generated as exterior information of an external electronic device.
1005동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))의 기능 정보를 저장할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제2 모드)에서, 상기 전자 장치에 포함된 그래픽 연산 장치(예: GPU(Graphic Process Unit))에 상기 외부 전자 장치의 외형 정보를 적용하여 가상 외부 전자 장치를 렌더링 하여 표시하는 동안, 상기 가상 외부 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴(예: GUI 메뉴)를 표시할 수 있다. 상기 전자 장치는, 상기 기능 설정 메뉴를 통해 사용자에 의해 선택된 적어도 하나의 기능의 종류를 확인하고, 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위한 구성요소가 위치될 영역이 사용자에 의해 지정되면, 상기 기능의 종류 및 상기 기능 수행을 위한 구성요소의 영역정보를 외부 전자 장치의 기능 정보로 생성할 수 있다. According to an embodiment, in the mode (eg, the second mode), the electronic device transmits external appearance information of the external electronic device to a graphic processing unit (eg, a graphic processing unit (GPU)) included in the electronic device. While the virtual external electronic device is rendered and displayed, a function setting menu (eg, GUI menu) for setting functions of the virtual external electronic device may be displayed. The electronic device checks the type of at least one function selected by the user through the function setting menu, and determines an area where a component for performing the at least one function is located in the virtual external electronic device by the user. If designated, the type of function and region information of a component for performing the function may be generated as function information of the external electronic device.
1007동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 외부 전자 장치의 외형 정보 및 기능 정보를 가상 환경에서 외부 전자 장치와 대응되는 가상 외부 전자 장치를 표시하기 위한 정보로 저장할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제2 모드)에서, 상기 외부 전자 장치와 근거리 통신이 연결된 상태에서 상기 외부 전자 장치로부터 상기 외부 전자 장치의 식별 정보(예: 전자 장치의 id 고유 정보)를 수신하고, 상기 외부 전자 장치의 식별 정보에 매칭하여 상기 외부 전자 장치의 외형 정보 및 기능 정보를 메모리(330)에 저장할 수 있다.According to an embodiment, in the mode (eg, the second mode), the electronic device receives identification information (eg, the electronic device) of the external electronic device from the external electronic device in a state in which short-range communication is connected with the external electronic device. ID unique information of the external electronic device may be received, and appearance information and function information of the external electronic device may be stored in the
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제2 모드)에서, 상기 외부 전자 장치와 근거리 통신이 연결된 상태에서 상기 외부 전자 장치로부터 상기 외부 전자 장치의 식별 정보(예: 전자 장치의 id 정보), 외부 전자 장치의 외형 정보 및 외부 전자 장치의 기능 정보를 수신하고, 상기 외부 전자 장치의 식별 정보에 매칭하여 상기 외부 전자 장치의 외형 정보 및 기능 정보를 메모리(330)에 저장할 수 있다.According to an embodiment, in the mode (eg, the second mode), the electronic device receives identification information (eg, the electronic device) of the external electronic device from the external electronic device in a state in which short-range communication is connected with the external electronic device. id information of the external electronic device), the external electronic device's appearance information and the function information of the external electronic device are received, and the external electronic device's appearance information and function information are stored in the
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제2 모드)에서, 상기 외부 전자 장치의 식별 정보, 상기 외부 전자 장치의 외형 정보 및 기능 정보를 서버(예: 도 2b의 서버(410))로 전송할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the second mode), transmits identification information of the external electronic device, appearance information, and function information of the external electronic device to a server (eg, the server of FIG. 2B ( 410)).
도 11은 다양한 실시 예들에 따른 전자 장치에서 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작을 설명하기 위한 흐름도(1100)이다. 상기 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작들은 1101동작 내지 1113동작을 포함할 수 있다. 일 실시 예에 따르면, 1101동작 내지 1113동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 11 is a
1101동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 외부 전자 장치의 외형 정보 및 기능 정보를 기반으로 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 가상 현실(Virtual Reality, VR)실행을 위한 어플리케이션 또는 가상 현실(Virtual Reality, VR) 실행을 위한 어플리케이션을 실행하여 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)로 전환하고, 상기 모드(예: 제1 모드)에서 사용될 수 있는 적어도 하나의 외부 전자 장치를 포함하는 리스트 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 검출할 수 있다.According to an embodiment, the electronic device may control an external electronic device in a virtual environment by executing an application for executing virtual reality (VR) or an application for executing virtual reality (VR). Mode (eg, first mode), and external electronic device selected by the user from a list including at least one external electronic device usable in the mode (eg, first mode) and function information are displayed. can be detected.
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 메모리(예: 도 3의 메모리(330))에 저장된 적어도 하나의 외부 전자 장치들 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 상기 메모리에서 검출할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), is an external electronic device selected by a user from among at least one external electronic device stored in a memory (eg, the
일 실시 예에 따르면, 상기 전자 장치, 상기 모드(예: 제1 모드)에서, 상기 메모리에 저장된 적어도 하나의 외부 전자 장치를 포함하는 리스트 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 서버(예: 도 2b의 서버(410))에게 요청하여 상기 서버로부터 수신할 수 있다.According to an embodiment, in the electronic device and the mode (eg, the first mode), appearance information and function information of an external electronic device selected by a user from a list including at least one external electronic device stored in the memory are displayed. A request may be made to a server (eg, the
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 외형 정보(예: 3차원 좌표정보, 텍스처 및 쉐이더 데이터) 및 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 상기 외부 전자 장치와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), external information (eg, 3D coordinate information, texture and shader data) and function information of the external electronic device A virtual external electronic device similar to the external electronic device in the real world may be rendered and displayed by reflecting the rendering technology (eg, graphic processing) constituting the virtual environment.
1103동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 가상 외부 전자 장치에서 입력 이벤트의 발생여부를 확인할 수 있다.In
상기 1103동작에서, 상기 전자 장치는, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 확인하면, 1105동작에서, 입력 이벤트와 관련된 입력 정보를 생성하고, 입력 정보를 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310))로 전송할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 사용자의 제스처를 기반으로 상기 가상 외부 전자 장치의 디스플레이 영역 또는 버튼 영역에 입력 이벤트(또는 터치 이벤트) 의 발생(예: 전화통화를 위한 다이얼 버튼 입력 및/또는 통화 버튼 입력)을 검출하면, 입력의 종류, 입력의 위치 및 입력의 횟수와 지속시간을 포함하는 입력 정보를 생성하고, 상기 입력 정보를 포함하는 메시지를 외부 전자 장치로 전송할 수 있다. According to an embodiment, the electronic device generates an input event (or touch event) in a display area or a button area of the virtual external electronic device based on a user's gesture in the mode (eg, the first mode) Ex: Dial button input for phone call and/or call button input) is detected, input information including type of input, position of input, and number and duration of input is generated, and a message including the input information is generated. may be transmitted to an external electronic device.
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 근거리 통신이 연결된 외부 전자 장치로 상기 입력 정보를 포함하는 메시지를 전송하거나 또는 상기 서버를 통해 상기 외부 전자 장치로 상기 입력 정보를 포함하는 메시지를 전송할 수 있다.According to an embodiment, in the mode (eg, the first mode), the electronic device transmits a message including the input information to an external electronic device to which short-range communication is connected or to the external electronic device through the server. A message including the input information may be transmitted.
1107동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 입력 정보의 전송에 따라 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310) 및/또는 도 5의 외부 전자 장치(501))로부터 출력 정보의 수신여부를 확인할 수 있다.In
상기 1107동작에서, 상기 전자 장치는, 상기 입력 정보의 전송에 따라 외부 전자 장치로부터 출력 정보의 수신을 확인하면, 1109동작에서 출력 정보를 기반으로, 입력 이벤트 발생으로 변경된 외부 전자 장치의 상태와 대응되게 가상 외부 전자 장치의 상태(예: 디스플레이 영역의 상태 또는/및 사운드의 상태)를 변경할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 입력 정보를 포함하는 메시지의 전송에 따라, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보(예: 전화 통화를 위한 통화 연결 중임을 알리는 화면)를 수신하면, 상기 출력 정보를 기반으로 상기 변경된 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경(예: 가상 전자 장치의 디스플레이 영역에 전화 통화를 위한 통화시도 화면 표시)할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), according to transmission of a message including the input information and execution of a function corresponding to the input information from the external electronic device When output information related to the changed state of the external electronic device (eg, a screen indicating that a call is being connected for a phone call) is received, the virtual external electronic device corresponds to the changed state of the external electronic device based on the output information can change the state of (eg, displaying a call attempt screen for a phone call on the display area of the virtual electronic device).
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 근거리 통신이 연결된 외부 전자 장치로부터 상기 출력 정보를 포함하는 메시지를 수신하거나 또는 상기 서버를 통해 상기 외부 전자 장치로부터 상기 출력 정보를 포함하는 메시지를 수신할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), receives a message including the output information from an external electronic device to which short-range communication is connected or from the external electronic device through the server. A message including the output information may be received.
1111동작에서, 전자 장치(예: 도 1의 전자 장치(101), 도 2a 내지 도 2b의 전자 장치(210) 및/또는 도 3의 전자 장치(301))는, 외부 전자 장치(예: 도 2a 내지 도 2b의 외부 전자 장치(310) 및/또는 도 5의 외부 전자 장치(501))에서 발생된 이벤트와 관련된 출력 정보의 수신여부를 확인할 수 있다. 상기 1111동작에서, 상기 전자장치는, 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보의 수신을 확인하면, 1113동작에서, 출력 정보를 기반으로 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 가상 외부 전자 장치의 상태(예: 디스플레이 영역상태 또는/및 사운드 상태)를 변경할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보(예: 통화 연결에 따른 통화 연결 화면)를 포함하는 메시지를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경(예: 가사 외부 전자 장치의 디스플레이 영역에 통화 연결에 따른 통화 화면을 표시)할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), output information related to an event generated in the external electronic device from the external electronic device (eg, a call connection screen according to a call connection) When a message including is received, the state of the virtual external electronic device is changed to correspond to the state of the external electronic device changed by the occurrence of the event based on the output information (eg, a call is connected to the display area of the external electronic device). call screen according to) can be displayed.
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 근거리 통신이 연결된 외부 전자 장치로부터 상기 출력 정보를 포함하는 메시지를 수신하거나 또는 상기 서버를 통해 상기 외부 전자 장치로부터 상기 출력 정보를 포함하는 메시지를 수신할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), receives a message including the output information from an external electronic device to which short-range communication is connected or from the external electronic device through the server. A message including the output information may be received.
도 12는 다양한 실시 예들에 따른 시스템에서 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작을 설명하기 위한 흐름도(1200)이다. 상기 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작들은 1201동작 내지 1223동작을 포함할 수 있다. 일 실시 예에 따르면, 1201동작 내지 1223동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 12 is a
1201동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))와 통신을 연결할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 통신 모듈(예: 도 3의 통신 모듈(280))에 포함된 근거리 통신 모듈을 통해 상기 외부 전자 장치(310)와 근거리 통신으로 연결될 수 있다.According to an embodiment, the
1203동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 외부 전자 장치의 외형 정보 및 기능 정보를 기반으로 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 가상 현실(Virtual Reality, VR)실행을 위한 어플리케이션 또는 가상 현실(Virtual Reality, VR) 실행을 위한 어플리케이션을 실행하여 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)로 전환하고, 상기 모드(예: 제1 모드)에서 사용될 수 있는 적어도 하나의 외부 전자 장치들 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 검출할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210), 상기 모드(예: 제1 모드)에서, 적어도 하나의 외부 전자 장치들 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 메모리(예: 도 3의 메모리(330))에서 검출할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(310)는, 상기 모드(예: 제1 모드)에서, 상기 메모리에 저장된 적어도 하나의 외부 전자 장치를 포함하는 리스트 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 서버(예: 도 2b의 서버(410))에게 요청하여 상기 서버로부터 수신할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 외형 정보(예: 3차원 좌표정보, 텍스처 및 쉐이더 데이터) 및 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 상기 외부 전자 장치와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), external information (eg, 3D coordinate information, texture and shader data) and function information of the external electronic device A virtual external electronic device similar to the external electronic device in the real world may be rendered and displayed by reflecting the rendering technology (eg, graphic processing) constituting the virtual environment.
1205동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 가상 외부 전자 장치에서 입력 이벤트의 발생여부를 확인할 수 있다. 상기 1205동작에서, 상기 전자 장치(210)는, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 확인하면, 1207동작에서, 입력 이벤트와 관련된 입력 정보를 생성할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 사용자의 제스처를 기반으로 상기 가상 외부 전자 장치의 디스플레이 영역 또는 버튼 영역에 입력 이벤트(또는 터치 이벤트) (예: 전화통화를 위한 다이얼 버튼 입력 및/또는 통화 버튼 입력)의 발생을 검출하면, 입력의 종류, 입력의 위치 및 입력의 횟수와 지속시간을 포함하는 입력 정보를 생성할 수 있다.According to an embodiment, the
1209동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 입력 정보를 외부 전자 장치(310)로 전송할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 근거리 통신이 연결된 외부 전자 장치(310)로 상기 입력 정보를 포함하는 메시지를 전송할 수 있다.According to an embodiment, the
1211동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 입력 정보를 기반으로 입력 정보에 대응되는 기능을 수행하고, 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보 생성할 수 있다.In
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 전자 장치(210)로부터 수신된 입력 정보를 기반으로 상기 외부 전자 장치(210)에서 대응되는 기능을 수행하고, 상기 기능 수행에 따라 상기 외부 전자 장치의 상태의 변경(예: 외부 전자 장치의 디스플레이에 전화 통화를 위한 통화 연결 중임을 알리는 화면 표시)을 확인할 수 있다. 상기 외부 전자 장치(310)는 상기 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 생성할 수 있다.According to an embodiment, the external
1213동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 출력 정보를 전자 장치(210)로 전송할 수 있다.In
일 실시 예에 따르면, 상기 외부 자 장치(310)는, 상기 모드(예: 제1 모드)에서, 근거리 통신이 연결된 전자 장치(210)로 상기 출력 정보를 포함하는 메시지를 전송할 수 있다.According to an embodiment, the
1215동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 3의 전자 장치(301))는, 출력 정보를 기반으로, 입력 이벤트 발생으로 변경된 외부 전자 장치의 상태와 대응되게 가상 외부 전자 장치의 상태를 변경할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 변경된 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경(예: 전화 통화를 위한 통화 연결 중임을 알리는 화면 표시)할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), outputs information related to the state of the external electronic device changed according to the execution of a function corresponding to the input information from the external electronic device. Upon reception, a state of the virtual external electronic device may be changed to correspond to the changed state of the external electronic device based on the output information (eg, displaying a screen indicating that a call is being connected for a phone call).
1217동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 상기 외부 전자 장치에서 이벤트의 발생 여부를 확인할 수 있다. 상기 1217동작에서, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치에서 이벤트의 발생을 확인하면, 1219동작에서, 이벤트가 발생에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보 생성할 수 있다.In
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치에서 발생된 이벤트에 따라 상기 외부 전자 장치의 상태(예: 디스플레이 상태 또는/및 사운드 상태)가 변경되면, 상기 변경된 외부 전자 장치의 상태를 출력 정보로 생성할 수 있다.According to an embodiment, when a state (eg, a display state or/and a sound state) of the external electronic device is changed according to an event generated in the external electronic device, the external
예를 들어, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치(310))에서 전화 수신과 같은 이벤트가 발생되면, 상기 외부 전자장치(310)에서는 상기 외부 전자 장치의 디스플레이에 표시되는 전화 수신 화면에 대한 프레임 버퍼와 벨 소리에 대한 사운드 스트림을 캡처하여 출력 정보로 생성할 수 있다.For example, when an event such as a call reception occurs in the external
1221동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 출력 정보를 전자 장치(210)로 전송할 수 있다.In
일 실시 예에 따르면, 근거리 통신이 연결된 전자 장치(210)로 상기 출력 정보를 포함하는 메시지를 전송할 수 있다.According to an embodiment, a message including the output information may be transmitted to the
1223동작에서, 전자 장치(210)(예: 도 5의 외부 전자 장치(501))는, 출력 정보를 기반으로 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 가상 외부 전자 장치의 상태(예: 디스플레이 영역 상태 또는/및 사운드 상태)를 변경할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 포함하는 메시지를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경할 수 있다.According to an embodiment, when the
예를 들어, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치(310)로부터 수신된 출력 정보(예: 전화 수신 화면에 대한 프레임 버퍼 및 벨 소리에 대한 사운드 스트림)를 기반으로, 상기 가상 외부 전자 장치의 디스플레이 영역에 텍스처 맵핑을 수행하여 가상 외부 전자 장치의 디스플레이의 화면에 전화 수신을 알리는 전화 수신 화면을 표시하고, 상기 전자 장치의 스피커를 통해 전화 수신을 알리는 벨 소리를 출력함에 따라, 사용자는 가상 환경에서 실 세계의 외부 전자 장치에 전화가 수신되고 있는 상태임을 알 수 있다. For example, the
도 13a 내지 도 13b는 다양한 실시 예들에 따른 시스템에서 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작을 설명하기 위한 흐름도(1300a 내지 1300b)이다. 상기 가상환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 동작들은 1301a동작 내지 1323동작을 포함할 수 있다. 일 실시 예에 따르면, 1301a동작 내지 1323동작 중 적어도 하나가 생략되거나, 일부 동작들의 순서가 바뀌거나, 다른 동작이 추가될 수 있다. 13A to 13B are
1301a동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 서버(410)와 통신을 연결하고, 1301b동작에서 상기 서버(410)는, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))와 통신을 연결할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 서버(410)와 인증 과정을 통해 인증을 성공하면, 통신을 연결할 수 있다.According to an embodiment, if the
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 서버(410)와 인증 과정을 통해 인증을 성공하면, 통신을 연결할 수 있다.According to an embodiment, the external
1303동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)에서, 외부 전자 장치의 외형 정보 및 기능 정보를 기반으로 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 가상 현실(Virtual Reality, VR)실행을 위한 어플리케이션 또는 가상 현실(Virtual Reality, VR) 실행을 위한 어플리케이션을 실행하여 가상 환경에서 외부 전자 장치를 제어할 수 있는 모드(예: 제1 모드)로 전환하고, 상기 모드(예: 제1 모드)에서 사용될 수 있는 적어도 하나의 외부 전자 장치들 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 검출할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(210), 상기 모드(예: 제1 모드)에서, 메모리(예: 도 3의 메모리(330))에 서 적어도 하나의 외부 전자 장치를 포함하는 리스트를 검출하여 표시하고 상기 리스트 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 상기 메모리에서 검출할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치(310)는, 상기 모드(예: 제1 모드)에서, 메모리(예: 도 3의 메모리(330))에 서 적어도 하나의 외부 전자 장치를 포함하는 리스트를 검출하여 표시하고 상기 리스트 중 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 서버(410))로 요청하여 상기 서버로부터 상기 사용자에 의해 선택된 외부 전자 장치의 외형 정보 및 기능 정보를 수신할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치의 외형 정보(예: 3차원 좌표정보, 텍스처 및 쉐이더 데이터) 및 외부 전자 장치의 기능 정보를 가상 환경을 구성하는 렌더링 기술(예: 그래픽 프로세싱(Graphic Processing))에 반영하여 실 세계의 상기 외부 전자 장치와 유사한 가상 외부 전자 장치를 렌더링하여 표시할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), external information (eg, 3D coordinate information, texture and shader data) and function information of the external electronic device A virtual external electronic device similar to the external electronic device in the real world may be rendered and displayed by reflecting the rendering technology (eg, graphic processing) constituting the virtual environment.
1305동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 가상 외부 전자 장치에서 입력 이벤트의 발생여부를 확인할 수 있다. 상기 1205동작에서, 상기 전자 장치(210)는, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 확인하면, 1307동작에서, 입력 이벤트와 관련된 입력 정보를 생성할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 사용자의 제스처를 기반으로 상기 가상 외부 전자 장치의 디스플레이 영역 또는 버튼 영역에 입력 이벤트(또는 터치 이벤트)의 발생(예: 전화통화를 위한 다이얼 버튼 입력 및/또는 통화 버튼 입력)을 검출하면, 입력의 종류, 입력의 위치 및 입력의 횟수와 지속시간을 포함하는 입력 정보를 생성할 수 있다.According to an embodiment, the
1309a동작에서, 전자 장치(210)(예: 도 3의 전자 장치(301))는, 입력 정보를 서버(410)로 전송하면, 1309b동작에서 상기 서버(410)는 상기 입력 정보를 상기 외부 전자 장치(310)로 전송할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 상기 서버(410)로 상기 입력 정보를 포함하는 메시지를 전송할 수 있으며, 상기 메시지에는 상기 외부 전자 장치의 식별 정보를 포함할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 상기 서버(410)는, 상기 입력 정보 및 상기 외부 전자 장치의 식별 정보를 포함하는 메시지를 기반으로 상기 메시지를 상기 외부 전자 장치(310)로 전송할 수 있다According to an embodiment, the
1311동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 입력 정보를 기반으로 입력 정보에 대응되는 기능을 수행하고, 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보 생성할 수 있다.In
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 서버(410)를 통해 상기 전자 장치(210)로부터 수신된 입력 정보를 기반으로 상기 외부 전자 장치(210)에서 대응되는 기능을 수행하고, 상기 기능 수행에 따라 상기 외부 전자 장치의 상태의 변경(예: 외부 전자 장치의 디스플레이에 전화 통화를 위한 통화 연결 중임을 알리는 화면 표시)을 확인할 수 있다. 상기 외부 전자 장치(310)는 상기 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 생성할 수 있다.According to an embodiment, the external
1313a동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 출력 정보를 상기 서버(410)로 전송하면, 상기 1313b 동작에서, 상기 서버(410)는, 상기 출력 정보를 상기 전자 장치(210)로 전송할 수 있다.In
일 실시 예에 따르면, 상기 외부 전자 장치(210)는, 상기 서버(410)로 상기 출력 정보를 포함하는 메시지를 전송할 수 있으며, 상기 메시지에는 상기 전자 장치의 식별 정보를 포함할 수 있다.According to an embodiment, the external
일 실시 예에 따르면, 상기 서버(410)는, 상기 출력 정보 및 상기 전자 장치의 식별 정보를 포함하는 메시지를 기반으로 상기 메시지를 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, the
1315동작에서, 전자 장치(예: 도 1의 전자 장치(101) 및/또는 도 3의 전자 장치(301))는, 출력 정보를 기반으로, 입력 이벤트 발생으로 변경된 외부 전자 장치의 상태와 대응되게 가상 외부 전자 장치의 상태(예: 디스플레이 영역의 상태 또는/및 사운드의 상태)를 변경할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 변경된 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경(예: 가상 전자 장치의 디스플레이 영역에 전화 통화를 위한 통화 연결 중임을 알리는 화면 표시)할 수 있다.According to an embodiment, the electronic device, in the mode (eg, the first mode), outputs information related to the state of the external electronic device changed according to the execution of a function corresponding to the input information from the external electronic device. If received, the state of the virtual external electronic device is changed to correspond to the changed state of the external electronic device based on the output information (eg, a screen display indicating that a call is being made for a phone call is displayed on the display area of the virtual electronic device) can do.
1317동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 상기 외부 전자 장치에서 이벤트의 발생 여부를 확인할 수 있다. 상기 1317동작에서, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치에서 이벤트의 발생을 확인하면, 1319동작에서, 이벤트가 발생에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보 생성할 수 있다.In
일 실시 예에 따르면, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치에서 발생된 이벤트에 따라 상기 외부 전자 장치의 상태(예: 디스플레이 상태 또는/및 사운드 상태)가 변경되면, 상기 변경된 외부 전자 장치의 상태를 출력 정보로 생성할 수 있다.According to an embodiment, when a state (eg, a display state or/and a sound state) of the external electronic device is changed according to an event generated in the external electronic device, the external
예를 들어, 상기 외부 전자 장치(310)는, 상기 외부 전자 장치(310))에서 전화 수신과 같은 이벤트가 발생되면, 상기 외부 전자장치(310)에서는 상기 외부 전자 장치의 디스플레이에 표시되는 전화 수신 화면에 대한 프레임 버퍼와 벨 소리에 대한 사운드 스트림을 캡처하여 출력 정보로 생성할 수 있다.For example, when an event such as a call reception occurs in the external
1321a동작에서, 외부 전자 장치(310)(예: 도 5의 외부 전자 장치(501))는, 출력 정보를 서버(410)로 전송하며, 1321b 동작에서, 상기 서버(410)는 상기 출력 정보를 전자 장치(210)로 전송할 수 있다.In
일 실시 예에 따르면, 상기 외부 전자 장치(210)는, 상기 서버(410)로 상기 출력 정보를 포함하는 메시지를 전송할 수 있으며, 상기 메시지에는 상기 전자 장치의 식별 정보를 포함할 수 있다.According to an embodiment, the external
일 실시 예에 따르면, 상기 서버(410)는, 상기 출력 정보 및 상기 전자 장치의 식별 정보를 포함하는 메시지를 기반으로 상기 메시지를 상기 전자 장치(210)로 전송할 수 있다.According to an embodiment, the
1323동작에서, 전자 장치(210)(예: 도 5의 외부 전자 장치(501))는, 출력 정보를 기반으로 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 가상 외부 전자 장치의 상태(예: 디스플레이 영역상태 또는/및 사운드 상태)를 변경할 수 있다.In
일 실시 예에 따르면, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 포함하는 메시지를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경할 수 있다.According to an embodiment, when the
예를 들어, 상기 전자 장치(210)는, 상기 모드(예: 제1 모드)에서, 상기 외부 전자 장치(310)로부터 수신된 출력 정보(예: 전화 수신 화면에 대한 프레임 버퍼 및 벨 소리에 대한 사운드 스트림)를 기반으로, 상기 가상 외부 전자 장치의 디스플레이 영역에 텍스처 맵핑을 수행하여 가상 외부 전자 장치의 디스플레이의 화면에 전화 수신을 알리는 전화 수신 화면을 표시하고, 상기 전자 장치의 스피커를 통해 전화 수신을 알리는 벨 소리를 출력함에 따라, 사용자는 가상 환경에서 실 세계의 외부 전자 장치에 전화가 수신되고 있는 상태임을 알 수 있다. For example, the
다양한 실시 예들에 따르면, 시스템에서 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 방법은, 전자 장치에 의해, 상기 전자 장치의 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하는 동작, 상기 전자 장치에 의해, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하는 동작, 상기 외부 전자 장치에 의해, 상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 동작, 및 상기 전자 장치에 의해, 상기 외부 전자 장치로부터 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 동작을 포함할 수 있다.According to various embodiments, a method for controlling an external electronic device in the real world in a virtual environment in a system may include, in a first mode in which the electronic device controls an external electronic device in a virtual environment of the electronic device, An operation of displaying a virtual external electronic device corresponding to the external electronic device based on appearance information and function information of the external electronic device, and when an input event is detected by the electronic device, the external electronic device Transmitting input information related to the input event to an electronic device, performing a function corresponding to the input information when the external electronic device receives the input information from the electronic device, and performing a function corresponding to the input information An operation of transmitting output information related to a state of an external electronic device changed according to the execution of a function to the electronic device, and when the output information is received from the external electronic device by the electronic device, the virtual electronic device is configured based on the output information. An operation of changing the state of the external electronic device to correspond to the changed state of the external electronic device.
다양한 실시 예들에 따르면, 상기 전자 장치에 의해, 상기 전자 장치의 가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하는 동작, 상기 전자 장치에 의해, 상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴를 표시하는 동작, 상기 전자 장치에 의해, 상기 기능 설정 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위한 구성 요소가 위치된 영역 정보를 상기 기능 정보로 생성하는 동작, 및 상기 전자 장치에 의해, 상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하는 동작을 포함할 수 있다.According to various embodiments, in a second mode in which the electronic device can register an external electronic device in a virtual environment of the electronic device, the external electronic device is recognized, and based on the recognition of the external electronic device, the external electronic device is recognized. An operation of generating outer appearance information of an external electronic device, an operation of displaying, by the electronic device, a virtual external electronic device generated based on the outer appearance information and a function setting menu capable of setting functions of the virtual electronic device, Generating, by a device, information on a type of at least one function selected through the function setting menu and an area where a component for performing the at least one function in the virtual external electronic device is located as the function information; and An operation of storing, by the electronic device, the appearance information and the function information to be matched with the external electronic device.
다양한 실시 예들에 따르면, 상기 기능 설정 메뉴에 포함된 적어도 하나의 기능은, 상기 전자 장치에 미리 저장되거나, 또는 상기 외부 전자 장치로부터 수신하거나, 또는 서버로부터 수신하도록 설정될 수 있다.According to various embodiments, at least one function included in the function setting menu may be pre-stored in the electronic device, received from the external electronic device, or set to be received from a server.
다양한 실시 예들에 따르면, 상기 전자 장치에 의해, 상기 제1 모드에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when output information related to an event generated in the external electronic device is received from the external electronic device in the first mode by the electronic device, the event is changed to the occurrence of the event based on the output information. An operation of changing a state of the virtual external electronic device to correspond to a state of the external electronic device may be further included.
다양한 실시 예들에 따르면, 상기 외부 전자 장치에 의해, 상기 외부 전자 장치에서 이벤트가 발생되어 상기 외부 전자 장치의 상태가 변경되면, 상기 변경된 외부 전자 장치의 상태와 관련된 상기 출력 정보를 생성하여 상기 전자 장치로 전송하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when an event occurs in the external electronic device and the state of the external electronic device is changed, the output information related to the changed state of the external electronic device is generated, and the electronic device An operation of transmitting to may be further included.
다양한 실시 예들에 따르면, 상기 전자 장치에 의해, 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하는 동작을 더 포함할 수 있다.According to various embodiments, if the electronic device is in a state in which short-range communication is connected with the external electronic device, an operation of transmitting and receiving information with the external electronic device based on the short-range communication connection may be further included.
다양한 실시 예들에 따르면, 상기 전자 장치에 의해, 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하는 동작을 더 포함할 수 있다.According to various embodiments, if the electronic device is in a state in which short-range communication is not connected with the external electronic device, an operation of transmitting and receiving information of the external electronic device through a server may be further included.
다양한 실시 예들에 따르면, 전자 장치에서 가상 환경에서 실 세계의 외부 전자 장치를 제어할 수 있는 방법은, 가상 환경에 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 가상 외부 전자 장치를 표시하는 동작, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 표시하는 동작, 및 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, a method for controlling an external electronic device in the real world in a virtual environment in an electronic device may include external electronic device information and functions in a first mode capable of controlling an external electronic device in a virtual environment. An operation of displaying a virtual external electronic device based on information. When an input event is detected in the virtual external electronic device, input information related to the input event is transmitted to the external electronic device, and the input information is transmitted from the external electronic device. displaying the state of the virtual external electronic device in correspondence with the changed state of the external electronic device based on the output information when output information related to the state of the external electronic device changed according to the execution of the function corresponding to and, upon receiving output information related to an event generated in the external electronic device from the external electronic device, changing a state of the virtual external electronic device to correspond to a state of the external electronic device changed based on the output information. can include
다양한 실시 예들에 따르면, 가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 카메라 모듈을 통해 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하는 동작, 상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 메뉴를 표시하는 동작, 상기 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위해 선택될 기능의 위치를 상기 기능 정보로 생성하는 동작, 및 상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하는 동작을 더 포함할 수 있다.According to various embodiments, in a second mode capable of registering an external electronic device in a virtual environment, the external electronic device is recognized through the camera module, and the exterior of the external electronic device is changed based on the recognition of the external electronic device. An operation of generating information, an operation of displaying a virtual external electronic device generated based on the appearance information and a menu for setting functions of the virtual electronic device, a type of at least one function selected through the menu, and the virtual external electronic device. The method may further include generating a location of a function to be selected to perform the at least one function in the electronic device as the function information, and storing the appearance information and the function information to match the external electronic device. there is.
다양한 실시 예들에 따르면, 상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하는 동작, 및 상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, when the electronic device is connected to the external electronic device through short-range communication, transmitting/receiving information with the external electronic device based on the short-range communication connection, and the electronic device communicating with the external electronic device If short-range communication is not connected, an operation of transmitting/receiving information of the external electronic device through a server may be further included.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various types. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. An electronic device according to an embodiment of the present document is not limited to the aforementioned devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, like reference numbers may be used for like or related elements. The singular form of a noun corresponding to an item may include one item or a plurality of items, unless the relevant context clearly dictates otherwise. In this document, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A Each of the phrases such as "at least one of , B, or C" may include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "secondary" may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited. A (e.g., first) component is said to be "coupled" or "connected" to another (e.g., second) component, with or without the terms "functionally" or "communicatively." When mentioned, it means that the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits. can be used as A module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101) 또는 전자 장치(301)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(301))의 프로세서(예: 프로세서(320))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of this document are a storage medium (eg,
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be included and provided in a computer program product. Computer program products may be traded between sellers and buyers as commodities. A computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) online, directly between smart phones. In the case of online distribution, at least part of the computer program product may be temporarily stored or temporarily created in a device-readable storage medium such as a manufacturer's server, an application store server, or a relay server's memory.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. there is. According to various embodiments, one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. . According to various embodiments, the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
Claims (20)
가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하고, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 전자 장치; 및
상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 외부 전자 장치를 포함하는 시스템.
In a system capable of controlling an external electronic device in the real world in a virtual environment,
In a first mode capable of controlling an external electronic device in a virtual environment, a virtual external electronic device corresponding to the external electronic device is displayed based on appearance information and function information of the external electronic device, and an input is input from the virtual external electronic device. When the occurrence of an event is detected, input information related to the input event is transmitted to the external electronic device, and output information related to the state of the external electronic device changed according to the execution of a function corresponding to the input information from the external electronic device. an electronic device that changes a state of the virtual external electronic device to correspond to the changed state of the external electronic device based on the output information when receiving the ; and
When receiving the input information from the electronic device, performing a function corresponding to the input information and transmitting output information related to a state of the external electronic device changed according to the execution of the function corresponding to the input information to the electronic device A system that includes external electronics.
가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하고,
상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴를 표시하고,
상기 기능 설정 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위한 구성 요소가 위치된 영역 정보를 상기 기능 정보로 생성하고,
상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능 정보를 저장하도록 설정된 시스템.
The method of claim 1, wherein the electronic device,
In a second mode for registering an external electronic device in a virtual environment, recognizing the external electronic device and generating external information of the external electronic device based on the recognition of the external electronic device;
Displaying a virtual external electronic device generated based on the appearance information and a function setting menu for setting functions of the virtual electronic device;
Generating, as the function information, a type of at least one function selected through the function setting menu and information on an area where a component for performing the at least one function in the virtual external electronic device is located;
A system configured to store the appearance information and the function information to be matched with the external electronic device.
상기 기능 설정 메뉴에 포함된 적어도 하나의 기능은, 상기 전자 장치에 미리 저장되거나, 또는 상기 외부 전자 장치로부터 수신하거나, 또는 서버로부터 수신하도록 설정된 시스템.
According to claim 1,
At least one function included in the function setting menu is set to be pre-stored in the electronic device, received from the external electronic device, or received from a server.
상기 제1 모드에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하도록 설정된 시스템.
The method of claim 1, wherein the electronic device,
In the first mode, when output information related to an event generated in the external electronic device is received from the external electronic device, the virtual external device corresponds to a state of the external electronic device that has been changed due to the occurrence of the event based on the output information. A system set up to change the state of an electronic device.
상기 외부 전자 장치에서 이벤트가 발생되어 상기 외부 전자 장치의 상태가 변경되면, 상기 변경된 외부 전자 장치의 상태와 관련된 상기 출력 정보를 생성하여 상기 전자 장치로 전송하도록 설정된 시스템.
The method of claim 4, wherein the external electronic device,
The system configured to generate and transmit the output information related to the changed state of the external electronic device to the electronic device when an event occurs in the external electronic device and the state of the external electronic device is changed.
상기 전자 장치는, 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하도록 설정된 시스템.
According to claim 1,
The system configured to transmit and receive information with the external electronic device based on the short-range communication connection when the electronic device is in a short-range communication connection state with the external electronic device.
상기 전자 장치는, 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하도록 설정된 시스템.
According to claim 1,
The system configured to transmit and receive information of the external electronic device through a server when the electronic device is not connected to the external electronic device through short-range communication.
카메라 모듈; 및
프로세서를 포함하고, 상기 프로세서는,
가상 환경에 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 가상 외부 전자 장치를 표시하고,
상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 표시하고,
상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하도록 설정된 전자 장치.
An electronic device capable of controlling an external electronic device in the real world in a virtual environment,
camera module; and
It includes a processor, the processor comprising:
In a first mode for controlling an external electronic device in a virtual environment, a virtual external electronic device is displayed based on appearance information and function information of the external electronic device;
When the virtual external electronic device detects the occurrence of an input event, it transmits input information related to the input event to the external electronic device, and the external electronic device changes according to the execution of a function corresponding to the input information from the external electronic device. When output information related to the state of is received, based on the output information, the state of the virtual external electronic device is displayed in correspondence with the changed state of the external electronic device;
When receiving output information related to an event generated in the external electronic device from the external electronic device, the electronic device configured to change the state of the virtual external electronic device to correspond to the state of the external electronic device changed based on the output information. .
가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 카메라 모듈을 통해 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하고,
상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 메뉴를 표시하고,
상기 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위해 선택될 기능의 위치를 상기 기능 정보로 생성하고,
상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하도록 설정된 전자 장치.
The method of claim 8, wherein the processor,
In a second mode in which an external electronic device can be registered in a virtual environment, the external electronic device is recognized through the camera module, and appearance information of the external electronic device is generated based on the recognition of the external electronic device;
Displaying a virtual external electronic device generated based on the appearance information and a menu for setting functions of the virtual electronic device;
generating a type of at least one function selected through the menu and a position of a function to be selected to perform the at least one function in the virtual external electronic device as the function information;
An electronic device configured to store the appearance information and the function information to be matched with the external electronic device.
상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하고,
상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하도록 설정된 전자 장치.
The method of claim 8, wherein the processor,
When the electronic device is in a short-range communication connection state with the external electronic device, transmits and receives information with the external electronic device based on the short-range communication connection;
An electronic device configured to transmit/receive information of the external electronic device through a server when the electronic device is not connected to the external electronic device through short-range communication.
전자 장치에 의해, 상기 전자 장치의 가상 환경에서 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 상기 외부 전자 장치에 대응되는 가상 외부 전자 장치를 표시하는 동작;
상기 전자 장치에 의해, 상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 상기 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하는 동작;
상기 외부 전자 장치에 의해, 상기 전자 장치로부터 상기 입력 정보를 수신하면, 상기 입력 정보에 대응되는 기능을 수행하고, 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 외부 전자 장치의 상태와 관련된 출력 정보를 상기 전자 장치로 전송하는 동작; 및
상기 전자 장치에 의해, 상기 외부 전자 장치로부터 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 변경하는 동작을 포함하는 방법.
A method for controlling an external electronic device in the real world in a virtual environment in a system,
In a first mode in which the electronic device can control an external electronic device in a virtual environment of the electronic device, a virtual external electronic device corresponding to the external electronic device is displayed based on external information and function information of the external electronic device. action;
transmitting, by the electronic device, input information related to the input event to the external electronic device when the occurrence of an input event is detected in the virtual external electronic device;
When the input information is received by the external electronic device, a function corresponding to the input information is performed, and output information related to the state of the external electronic device changed according to the execution of the function corresponding to the input information transmitting to the electronic device; and
and changing, by the electronic device, a state of the virtual external electronic device to correspond to the changed state of the external electronic device based on the output information when output information is received from the external electronic device.
상기 전자 장치에 의해, 상기 전자 장치의 가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하는 동작;
상기 전자 장치에 의해, 상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 기능 설정 메뉴를 표시하는 동작;
상기 전자 장치에 의해, 상기 기능 설정 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위한 구성 요소가 위치된 영역 정보를 상기 기능 정보로 생성하는 동작; 및
상기 전자 장치에 의해, 상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하는 동작을 포함하는 방법.
According to claim 11,
In a second mode in which the electronic device can register an external electronic device in a virtual environment of the electronic device, the external electronic device is recognized, and external information of the external electronic device is recognized based on the recognition of the external electronic device. the operation of generating;
displaying, by the electronic device, a virtual external electronic device generated based on the appearance information and a function setting menu capable of setting functions of the virtual electronic device;
Generating, by the electronic device, the type of at least one function selected through the function setting menu and information on a region where a component for performing the at least one function in the virtual external electronic device is located as the function information. ; and
and storing, by the electronic device, the appearance information and the function information to be matched with the external electronic device.
상기 기능 설정 메뉴에 포함된 적어도 하나의 기능은, 상기 전자 장치에 미리 저장되거나, 또는 상기 외부 전자 장치로부터 수신하거나, 또는 서버로부터 수신하도록 설정된 방법.
According to claim 11,
At least one function included in the function setting menu is pre-stored in the electronic device, received from the external electronic device, or set to be received from a server.
상기 전자 장치에 의해, 상기 제1 모드에서, 상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 이벤트 발생으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하는 동작을 더 포함하는 방법.
According to claim 11,
When output information related to an event generated in the external electronic device is received by the electronic device in the first mode from the external electronic device, the state of the external electronic device is changed to the occurrence of the event based on the output information. and changing a state of the virtual external electronic device to correspond to the virtual external electronic device.
상기 외부 전자 장치에 의해, 상기 외부 전자 장치에서 이벤트가 발생되어 상기 외부 전자 장치의 상태가 변경되면, 상기 변경된 외부 전자 장치의 상태와 관련된 상기 출력 정보를 생성하여 상기 전자 장치로 전송하는 동작을 더 포함하는 방법.
According to claim 14,
When an event occurs in the external electronic device and the state of the external electronic device is changed by the external electronic device, the output information related to the changed state of the external electronic device is generated and transmitted to the electronic device. How to include.
상기 전자 장치에 의해, 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하는 동작을 더 포함하는 방법.
According to claim 11,
The method further comprising transmitting/receiving information with the external electronic device based on the short-range communication connection when short-range communication is connected with the external electronic device by the electronic device.
상기 전자 장치에 의해, 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하는 동작을 더 포함하는 방법.
According to claim 11,
The method further comprising transmitting/receiving information of the external electronic device through a server when short-range communication is not connected with the external electronic device by the electronic device.
가상 환경에 외부 전자 장치를 제어할 수 있는 제1 모드에서, 외부 전자 장치의 외형 정보와 기능 정보를 기반으로 가상 외부 전자 장치를 표시하는 동작;
상기 가상 외부 전자 장치에서 입력 이벤트의 발생을 검출하면, 외부 전자 장치로 상기 입력 이벤트와 관련된 입력 정보를 전송하고, 상기 외부 전자 장치로부터 상기 입력 정보에 대응되는 기능의 수행에 따라 변경된 상기 외부 전자 장치의 상태와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 상기 가상 외부 전자 장치의 상태를 상기 변경된 외부 전자 장치의 상태와 대응되게 표시하는 동작; 및
상기 외부 전자 장치로부터 상기 외부 전자 장치에서 발생된 이벤트와 관련된 출력 정보를 수신하면, 상기 출력 정보를 기반으로 변경된 상기 외부 전자 장치의 상태와 대응되게 상기 가상 외부 전자 장치의 상태를 변경하는 동작을 포함하는 방법.
A method for controlling an external electronic device in the real world in a virtual environment in an electronic device,
displaying a virtual external electronic device based on appearance information and function information of the external electronic device in a first mode capable of controlling an external electronic device in a virtual environment;
When the virtual external electronic device detects the occurrence of an input event, it transmits input information related to the input event to the external electronic device, and the external electronic device changes according to the execution of a function corresponding to the input information from the external electronic device. displaying a state of the virtual external electronic device corresponding to the changed state of the external electronic device based on the output information when output information related to a state of is received; and
and changing a state of the virtual external electronic device to correspond to a state of the external electronic device changed based on the output information when output information related to an event generated in the external electronic device is received from the external electronic device. How to.
가상 환경에서 외부 전자 장치를 등록할 수 있는 제2 모드에서, 상기 카메라 모듈을 통해 상기 외부 전자 장치를 인식하고, 상기 외부 전자 장치의 인식을 기반으로 상기 외부 전자 장치의 외형 정보를 생성하는 동작;
상기 외형 정보를 기반으로 생성된 가상 외부 전자 장치 및 상기 가상 전자 장치의 기능을 설정할 수 있는 메뉴를 표시하는 동작;
상기 메뉴를 통해 선택된 적어도 하나의 기능의 종류 및 상기 가상 외부 전자 장치에서 상기 적어도 하나의 기능을 수행하기 위해 선택될 기능의 위치를 상기 기능 정보로 생성하는 동작; 및
상기 외부 전자 장치에 매칭되게 상기 외형 정보와 상기 기능정보를 저장하는 동작을 더 포함하는 방법.
According to claim 18,
recognizing the external electronic device through the camera module in a second mode capable of registering the external electronic device in a virtual environment, and generating appearance information of the external electronic device based on the recognition of the external electronic device;
displaying a virtual external electronic device generated based on the appearance information and a menu for setting functions of the virtual electronic device;
generating a type of at least one function selected through the menu and a position of a function to be selected to perform the at least one function in the virtual external electronic device as the function information; and
The method further comprising storing the appearance information and the function information to be matched with the external electronic device.
상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결된 상태이면, 상기 근거리 통신 연결을 기반으로 상기 외부 전자 장치와 정보를 송수신하는 동작; 및
상기 전자 장치가 상기 외부 전자 장치와 근거리 통신이 연결되지 않은 상태이면, 서버를 통해 상기 외부 전자 장치의 정보를 송수신하는 동작을 더 포함하는 방법.According to claim 18,
transmitting/receiving information with the external electronic device based on the short-range communication connection when the electronic device is in a short-range communication connection state with the external electronic device; and
The method further comprising transmitting/receiving information of the external electronic device through a server when the electronic device is in a state in which short-range communication is not connected to the external electronic device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220001942A KR20230106257A (en) | 2022-01-06 | 2022-01-06 | System, electronic device and method for controlling external electronic device in real world in virtual enviroment |
PCT/KR2022/016272 WO2023132444A1 (en) | 2022-01-06 | 2022-10-24 | System, electronic device and method, which can control external electronic device of real world in virtual environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020220001942A KR20230106257A (en) | 2022-01-06 | 2022-01-06 | System, electronic device and method for controlling external electronic device in real world in virtual enviroment |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20230106257A true KR20230106257A (en) | 2023-07-13 |
Family
ID=87073862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220001942A KR20230106257A (en) | 2022-01-06 | 2022-01-06 | System, electronic device and method for controlling external electronic device in real world in virtual enviroment |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20230106257A (en) |
WO (1) | WO2023132444A1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120053420A (en) * | 2010-11-17 | 2012-05-25 | 삼성전자주식회사 | System and method for controlling device |
KR102229890B1 (en) * | 2014-05-30 | 2021-03-19 | 삼성전자주식회사 | Method for processing data and an electronic device thereof |
KR20170046968A (en) * | 2015-10-22 | 2017-05-04 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
KR102614087B1 (en) * | 2016-10-24 | 2023-12-15 | 엘지전자 주식회사 | Head mounted display device |
CN116883628A (en) * | 2016-12-05 | 2023-10-13 | 奇跃公司 | Wearable system and method for providing virtual remote control in mixed reality environment |
-
2022
- 2022-01-06 KR KR1020220001942A patent/KR20230106257A/en unknown
- 2022-10-24 WO PCT/KR2022/016272 patent/WO2023132444A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2023132444A1 (en) | 2023-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11481965B2 (en) | Electronic device for communicating in augmented reality and method thereof | |
US11954324B2 (en) | Method for performing virtual user interaction, and device therefor | |
KR20210127054A (en) | Electronic device for communicating in augmented reality and method thereof | |
KR20220086939A (en) | Electronic device and operation method thereof | |
US20230005227A1 (en) | Electronic device and method for offering virtual reality service | |
KR20230106257A (en) | System, electronic device and method for controlling external electronic device in real world in virtual enviroment | |
KR20220103548A (en) | Electronic device for processing voice data and operating methiod thereof | |
KR20230038972A (en) | Wearable electronic device including sensor and method of operating the same | |
KR20220008752A (en) | Electronic device including flexible display | |
KR20220050610A (en) | Electronic device and method for controlling connection of wireless audio output device | |
KR20220030641A (en) | Electronic device and method for operating thereof | |
US20230403389A1 (en) | Electronic device for providing ar/vr environment, and operation method thereof | |
US20230088965A1 (en) | Electronic device for synthesizing two-dimensional object with three-dimensional object, operation method of electronic device, and non-transitory storage medium | |
EP4343516A1 (en) | Wearable electronic device on which augmented reality object is displayed, and operating method thereof | |
US20240126371A1 (en) | Method for providing vibration and wearable electronic device supporting the same | |
KR20240028263A (en) | Method for controlling a plurality of displays and electronic device for supporting the same | |
US20240048668A1 (en) | Electronic device for supporting various communications during video call, and operating method therefor | |
US20240094971A1 (en) | Wearable device for providing information about an application through an external display and method of controlling the wearable device | |
US20230260177A1 (en) | Electronic device and method for providing augmented reality content | |
US20240053869A1 (en) | Communication method and device using avatar in virtual space | |
US20230152899A1 (en) | Wearable device for communicating with at least one counterpart device according to trigger event and control method therefor | |
KR20230046049A (en) | The electronic device and the method for providing video call | |
KR20240037805A (en) | A wearable device that provides information on a running application through an external display and a control method thereof | |
KR20220102311A (en) | Electronic device for measuring posture of user and method thereof | |
KR20230011795A (en) | Electronic device displaying widget and method for controlling the same |