KR20150099979A - Electronic device and method for communicating data in the electronic device - Google Patents

Electronic device and method for communicating data in the electronic device Download PDF

Info

Publication number
KR20150099979A
KR20150099979A KR1020140021204A KR20140021204A KR20150099979A KR 20150099979 A KR20150099979 A KR 20150099979A KR 1020140021204 A KR1020140021204 A KR 1020140021204A KR 20140021204 A KR20140021204 A KR 20140021204A KR 20150099979 A KR20150099979 A KR 20150099979A
Authority
KR
South Korea
Prior art keywords
electronic device
data
data transmission
mode
module
Prior art date
Application number
KR1020140021204A
Other languages
Korean (ko)
Inventor
남승훈
배상민
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020140021204A priority Critical patent/KR20150099979A/en
Publication of KR20150099979A publication Critical patent/KR20150099979A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Various embodiments of the present disclosure relate to a method for controlling data communications of an electronic device. The method for controlling data communications of an electronic device comprises the operations of: setting a connection for data transmission to a network; determining whether the electronic device is being used or not; setting a data transmission stop mode if the electronic device is determined to be not in use; and blocking the data transmission while the connection for the data transmission is maintained. In addition, other various embodiments of the present disclosure may be possible.

Description

전자 장치 및 전자 장치의 통신 제어 방법{ELECTRONIC DEVICE AND METHOD FOR COMMUNICATING DATA IN THE ELECTRONIC DEVICE}TECHNICAL FIELD [0001] The present invention relates to an electronic device and a communication control method for the electronic device,

본 개시의 다양한 실시 예들은 전자 장치 및 전자 장치의 데이터 통신 제어 방법에 관한 것이다.Various embodiments of the present disclosure are directed to electronic devices and methods of controlling data communication of electronic devices.

기술의 발전으로 다양한 형태의 전자 장치들이 개발되고 있다. 또한, 다양한 유형의 전자 장치들에는 네트워크를 통해 필요한 데이터를 송신 또는 수신할 수 있는 통신 기능이 기본적으로 구비되고 있다.Various types of electronic devices are being developed by the development of technology. In addition, various types of electronic devices are basically equipped with a communication function capable of transmitting or receiving necessary data through a network.

전자 장치의 예로서 스마트폰은 애플리케이션 프로세서(Application processor; AP)와 통신 프로세서(Communication Processor; CP)(예컨대, 모뎀(Modem)이라고도 함)를 구비한다. 상기 스마트폰에 설치된 다양한 사용자 애플리케이션이 구동됨에 따라 네트워크를 통한 패킷 데이터의 사용 빈도가 높아지고 있다. 또한, 사용자 애플리케이션들 중에서 SNS, 이메일(Email), 클라우드 서비스(Cloud Service) 등과 같이 실시간 사용성이 요구되는 애플리케이션들의 사용을 위해 주기적으로 백그라운드 데이터 동기화(background data sync)가 발생하게 된다.As an example of an electronic device, a smart phone includes an application processor (AP) and a communication processor (CP) (also referred to as a modem). As the various user applications installed in the smart phone are driven, the frequency of use of packet data through the network is increasing. In addition, background data sync occurs periodically for use of applications requiring real-time usability such as SNS, Email, Cloud Service and the like among user applications.

최근 웨어러블 디바이스에 대한 관심이 높아지면서, 웨어러블 디바이스를 통해 다양한 서비스를 제공하기 위한 기술들이 개발되고 있다. 상기 웨어러블 디바이스는 마스터 디바이스(Master device)(예컨대, 스마트폰)에 종속 혹은 독립적으로 존재하는 장치로서, 일반적인 스마트폰에 비해 사용자 애플리케이션이 다소 제한적일 수 있다. 또한, 마스터 디바이스와의 동기화가 필요한 데이터는 전화 로그(call log), 연락처(contact), 사진 등과 같은 데이터로서 실시간성이 요구되지 않는다. 상기 웨어러블 디바이스는 마스터 디바이스에 비해 배터리 용량이 적기 때문에 전류 소모에 더 민감할 수 있다.2. Description of the Related Art Recently, as interest in wearable devices has increased, technologies for providing various services through wearable devices have been developed. The wearable device is a device that is dependent on or independent of a master device (e.g., a smart phone), and the user application may be somewhat limited as compared with a general smart phone. In addition, data requiring synchronization with the master device is not required to be real time as data such as a telephone log (call log, contact, photograph, etc.). Since the wearable device has less battery capacity than the master device, it can be more sensitive to current consumption.

사용자가 전자 장치를 사용하지 않는 동안에도 전자 장치에 설치된 애플리케이션 또는 모듈들은 주기적으로 데이터 동기화를 시도한다. 전자 장치에서는 AP에서 CP를 통해 네트워크로 패킷 데이터를 전송하며, 패킷 데이터의 전송을 위해 높은 전류를 소모하게 된다.Applications or modules installed in the electronic device periodically attempt to synchronize data even when the user is not using the electronic device. In an electronic device, an AP transmits packet data to a network via a CP, and consumes high current for transmission of packet data.

전자 장치의 예로서 스마트폰의 경우 모바일 데이터의 사용을 위한 사용자 인터페이스(User Interface; UI)가 제공될 수 있다. 전자 장치에서 모바일 데이터를 오프(mobile data off)시킬 경우, 네트워크와의 연결(예컨대, PDP(Packet Data Protocol) 연결)을 끊으며, 모바일 데이터의 사용이 제한될 수 있다. 상기 모바일 데이터 오프 상태는 사용자가 다시 모바일 데이터 온(mobile data on)을 설정하지 않는 한 지속될 수 있다. 다시 사용자가 모바일 데이터 온을 선택하면, 네트워크와의 연결(예컨대, PDP 연결)을 위한 신호가 발생하며, 모바일 데이터 온/오프 선택 시마다 이와 같은 네트워크와의 신호 및 지연이 수반될 수 있다.As an example of an electronic device, a smart phone may be provided with a user interface (UI) for use of mobile data. When mobile data is turned off in an electronic device, connection with the network (for example, PDP (Packet Data Protocol) connection) is interrupted, and the use of mobile data may be restricted. The mobile data off state may continue unless the user again sets mobile data on. Again, when the user selects mobile data on, a signal for connection to the network (e.g., a PDP connection) is generated, and signals and delays with such networks may be involved each time mobile data on / off is selected.

모바일 온 설정 상태에서는, 사용자가 전자 장치를 사용하지 않는 동안 개별 애플리케이션들의 데이터 동기화를 제어하지 않으며, 데이터 동기화의 주기 및 주체는 개별 애플케이션들에 의해서 결정될 수 있다. 그러나, 빈번하게 동기화를 시도하거나 백그라운드로 대용량의 데이터 동기화를 시도하는 애플리케이션이 존재하는 경우 사용자가 전자 장치를 사용하지 않는 동안에도 높은 전류가 소모되는 문제점이 있다.In the mobile on state, the data synchronization of individual applications is not controlled while the user is not using the electronic device, and the frequency and subject of data synchronization can be determined by individual applications. However, when there is an application that frequently tries to synchronize or tries to synchronize a large amount of data in the background, there is a problem that a high current is consumed even when the user does not use the electronic device.

본 개시의 다양한 실시 예는 전자 장치에서 사용자가 전자 장치를 사용하지 않는 대기 시간 동안 송신 데이터를 차단함으로써 전자 장치의 불필요한 전류 소모를 방지할 수 있는 전자 장치 및 전자 장치의 통신 제어 방법을 제공할 수 있다.Various embodiments of the present disclosure can provide an electronic device and a communication control method of an electronic device capable of preventing unnecessary current consumption of the electronic device by blocking transmission data during a waiting time when the user does not use the electronic device in the electronic device have.

본 개시의 다양한 실시 예 중 어느 하나에 따른 전자 장치의 데이터 통신 제어 방법은, 네트워크로의 데이터 전송을 위한 연결을 설정하는 동작; 상기 전자 장치의 사용 여부를 판단하는 동작; 상기 전자 장치가 미사용 중인 상태로 판단되면 데이터 전송 중단 모드를 설정하는 동작; 및 상기 데이터 전송을 위한 연결을 유지한 상태에서, 데이터의 전송을 차단하는 동작;을 포함할 수 있다.A method of controlling data communication of an electronic device according to any one of the various embodiments of the present disclosure includes: establishing a connection for data transmission to a network; Determining whether the electronic device is used or not; Setting a data transmission interruption mode when the electronic device is judged to be in an unused state; And interrupting transmission of data while maintaining a connection for the data transmission.

본 개시의 다양한 실시 예 중 어느 하나에 따른 전자 장치는, 네트워크로의 데이터 전송을 위한 연결을 설정하는 접속 관리부; 상기 전자 장치의 사용 여부를 판단하고, 상기 전자 장치가 미사용 중인 상태로 판단되면 데이터 전송 중단 모드를 설정하는 데이터 전송 모드 설정부; 및 상기 데이터 전송을 위한 연결을 유지한 상태에서, 데이터의 전송을 차단하는 데이터 전송 제어부;를 포함할 수 있다.An electronic device according to any one of the various embodiments of the present disclosure includes: a connection manager configured to establish a connection for data transmission to a network; A data transmission mode setting unit for determining whether the electronic device is used and setting a data transmission interruption mode if the electronic device is judged to be in an unused state; And a data transmission controller for interrupting transmission of data while maintaining a connection for the data transmission.

본 개시의 다양한 실시 예들에 따르면, 전자 장치를 사용하지 않는 대기 시간 동안 발생하는 소모 전류를 개선할 수 있다.According to various embodiments of the present disclosure, it is possible to improve the dissipation current that occurs during a standby time without using an electronic device.

또한, 본 개시의 다양한 실시 예들에 따르면, 대기 시간 동안에도 TCP 세션을 유지시킴으로써 SMS/MMS, WAP 푸시 등과 같은 메시지의 수신이 가능하다.Also, according to various embodiments of the present disclosure, it is possible to receive messages such as SMS / MMS, WAP push, etc. by maintaining a TCP session during the waiting time.

또한, 본 개시의 다양한 실시 예들에 따르면, 전자 장치의 사용이 재개될 때, 연결 지연 및 네트워크와의 신호 교환 없이 바로 전자 장치에서 데이터를 전송할 수 있다.Further, according to various embodiments of the present disclosure, when the use of the electronic device is resumed, it is possible to transmit data in the electronic device directly without connection delay and signal exchange with the network.

또한, 본 개시의 다양한 실시 예들에 따르면, 애플리케이션 별로 데이터의 사용 주기를 제어할 필요 없이 일괄적인 제어가 가능하다.Further, according to various embodiments of the present disclosure, it is possible to perform batch control without having to control the use period of data for each application.

도 1은 본 개시의 실시 예에 따른 시스템을 나타내는 도면이다.
도 2는 본 개시의 실시 예에 따른 네트워크 환경을 나타내는 도면이다.
도 3 내지 도 5는 본 개시의 실시 예에 따른 전자 장치의 구성 예를 나타내는 도면이다.
도 6은 본 개시의 실시 예에 따른 전자 장치의 데이터 통신 절차를 나타내는 흐름도이다.
도 7은 본 개시의 실시 예에 따른 전자 장치의 예로서 스마트폰을 나타내는 도면이다.
도 8은 본 개시의 실시 예에 따른 전자 장치의 예로서 시계형 웨어러블 장치를 나타내는 도면이다.
도 9는 본 개시의 실시 예에 따른 전자 장치의 세부 구조를 나타내는 블록도이다.
1 is a diagram of a system according to an embodiment of the present disclosure;
2 is a diagram illustrating a network environment according to an embodiment of the present disclosure;
Figs. 3 to 5 are diagrams showing a configuration example of an electronic device according to the embodiment of the present disclosure. Fig.
6 is a flow chart illustrating a data communication procedure of an electronic device according to an embodiment of the present disclosure;
7 is a diagram illustrating a smartphone as an example of an electronic device according to an embodiment of the present disclosure.
8 is a view showing a watch-type wearable device as an example of an electronic device according to the embodiment of the present disclosure.
9 is a block diagram showing a detailed structure of an electronic device according to an embodiment of the present disclosure;

이하, 첨부된 도면을 참조하여 본 개시(present disclosure)를 설명한다. 본 개시는 다양한 변경을 가할 수 있고 여러 가지 실시 예를 가질 수 있는 바, 특정 실시 예들이 도면에 예시되고 관련된 상세한 설명이 기재되어 있다. 그러나, 이는 본 개시를 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 개시의 사상 및 기술 범위에 포함되는 모든 변경 및/또는 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용되었다.The present disclosure will be described below with reference to the accompanying drawings. The present disclosure is capable of various modifications and various embodiments, and specific embodiments are illustrated in the drawings and detailed description of the invention is set forth. It is to be understood, however, that this disclosure is not intended to be limited to the specific embodiments, but includes all changes and / or equivalents and alternatives falling within the spirit and scope of the disclosure. In connection with the description of the drawings, like reference numerals have been used for like elements.

본 개시 가운데 사용될 수 있는“포함한다” 또는 “포함할 수 있다” 등의 표현은 개시된 해당 기능, 동작 또는 구성요소 등의 존재를 가리키며, 추가적인 하나 이상의 기능, 동작 또는 구성요소 등을 제한하지 않는다. 또한, 본 개시에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The use of the terms "comprises" or "comprising" may be used in the present disclosure to indicate the presence of a corresponding function, operation, or element, etc., and does not limit the presence of one or more other features, operations, or components. Also, in this disclosure, the terms "comprises" or "having ", and the like, specify that the presence of stated features, integers, But do not preclude the presence or addition of other features, numbers, steps, operations, components, parts, or combinations thereof.

본 개시에서 “또는” 등의 표현은 함께 나열된 단어들의 어떠한, 그리고 모든 조합을 포함한다. 예를 들어, “A 또는 B”는, A를 포함할 수도, B를 포함할 수도, 또는 A 와 B 모두를 포함할 수도 있다.The " or " in the present disclosure includes any and all combinations of words listed together. For example, " A or B " may comprise A, comprise B, or both A and B.

본 개시 가운데 “제 1,”“제2,”“첫째,”또는“둘째,”등의 표현들이 본 개시의 다양한 구성요소들을 수식할 수 있지만, 해당 구성요소들을 한정하지 않는다. 예를 들어, 상기 표현들은 해당 구성요소들의 순서 및/또는 중요도 등을 한정하지 않는다. 상기 표현들은 한 구성요소를 다른 구성요소와 구분 짓기 위해 사용될 수 있다. 예를 들어, 제1 사용자 기기와 제 2 사용자 기기는 모두 사용자 기기이며, 서로 다른 사용자 기기를 나타낸다. 예를 들어, 본 개시의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다.The expressions " first, " " second, " " first, " or " second, " and the like in the present disclosure may modify various elements of the disclosure, but do not limit the elements. For example, the representations do not limit the order and / or importance of the components. The representations may be used to distinguish one component from another. For example, both the first user equipment and the second user equipment are user equipment and represent different user equipment. For example, without departing from the scope of the present disclosure, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해될 수 있어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 개시에서 사용한 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 개시를 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다.The terminology used in this disclosure is used only to describe a specific embodiment and is not intended to limit the disclosure. The singular expressions may include plural expressions unless the context clearly dictates otherwise.

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

본 개시에 따른 전자 장치는, 통신 기능이 포함된 장치일 수 있다. 예를 들면, 전자 장치는 스마트 폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 화상전화기, 전자북 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device)(예컨대, 전자 안경과 같은 head-mounted-device(HMD), 전자 의복, 전자 팔찌, 전자 목걸이, 전자 앱세서리(appcessory), 전자 문신, 또는 스마트 와치(smartwatch))중 적어도 하나를 포함할 수 있다.The electronic device according to the present disclosure may be a device including a communication function. For example, the electronic device can be a smartphone, a tablet personal computer, a mobile phone, a videophone, an e-book reader, a desktop personal computer, a laptop Such as a laptop personal computer (PC), a netbook computer, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device Such as a head-mounted-device (HMD) such as electronic glasses, an electronic garment, an electronic bracelet, an electronic necklace, an electronic app apparel, an electronic tattoo, or a smartwatch.

어떤 실시 예들에 따르면, 전자 장치는 통신 기능을 갖춘 스마트 가전 제품(smart home appliance)일 수 있다. 스마트 가전 제품은, 예를 들자면, 전자 장치는 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), TV 박스(예를 들면, 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(game consoles), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be a smart home appliance with communication capabilities. [0003] Smart household appliances, such as electronic devices, are widely used in the fields of television, digital video disk (DVD) player, audio, refrigerator, air conditioner, vacuum cleaner, oven, microwave oven, washing machine, air cleaner, set- And may include at least one of a box (e.g., Samsung HomeSyncTM, Apple TVTM, or Google TVTM), game consoles, an electronic dictionary, an electronic key, a camcorder, or an electronic frame.

어떤 실시 예들에 따르면, 전자 장치는 각종 의료기기(예컨대, MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 초음파기 등), 네비게이션(navigation) 장치, GPS 수신기(global positioning system receiver), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예컨대, 선박용 항법 장치 및 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛, 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller’s machine) 또는 상점의 POS(point of sales) 중 적어도 하나를 포함할 수 있다.According to some embodiments, the electronic device may be used in various medical devices (e.g., magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), camera, ultrasound, etc.), navigation devices, a global positioning system receiver, an event data recorder (EDR), a flight data recorder (FDR), an automotive infotainment device, a marine electronic device (e.g., marine navigation device and gyro compass), avionics, An automotive head unit, an industrial or home robot, an ATM (automatic teller's machine) of a financial institution, or a point of sale (POS) of a store.

어떤 실시 예들에 따르면, 전자 장치는 통신 기능을 포함한 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 입력장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측기기(예컨대, 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 본 개시에 따른 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 또한, 본 개시에 따른 전자 장치는 플렉서블 장치일 수 있다. 또한, 본 개시에 따른 전자 장치는 전술한 기기들에 한정되지 않음은 당업자에게 자명하다.According to some embodiments, the electronic device may be a piece of furniture or a structure / structure including a communication function, an electronic board, an electronic signature receiving device, a projector, (E. G., Water, electricity, gas, or radio wave measuring instruments, etc.). An electronic device according to the present disclosure may be one or more of the various devices described above. Further, the electronic device according to the present disclosure may be a flexible device. It should also be apparent to those skilled in the art that the electronic device according to the present disclosure is not limited to the above-described devices.

이하, 첨부된 도면을 참조하여 다양한 실시 예에 따른 전자 장치에 대해서 살펴본다. 다양한 실시 예에서 이용되는 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치를 지칭할 수 있다. Hereinafter, an electronic device according to various embodiments will be described with reference to the accompanying drawings. The term user, as used in various embodiments, may refer to a person using an electronic device or an apparatus using an electronic device.

도 1은 본 개시의 실시 예에 따른 시스템을 나타내는 도면이다. 도 1을 참조하면, 제1 전자 장치(100a)는 통신 네트워크(110)를 통해 제2 전자 장치(100b)와 데이터 통신을 할 수 있다. 또한, 제1 전자 장치(100a)와 제2 전자 장치(100b)는 무선 통신 수단에 의해 상호 간에 또는 일방향으로 정보를 송수신할 수 있다. 본 개시의 실시 예에 따라 상기 제1 전자 장치(100a)는 도 7에 도시된 바와 같은 스마트폰 등과 같은 휴대용 전자 장치일 수 있으며, 상기 제2 전자 장치(100b)는 도 8에 도시된 바와 같은 시계형 장치 또는 안경형 장치 등과 같은 웨어러블 디바이스일 수 있다. 또한, 그 반대로 본 개시의 실시 예에 따라 상기 제2 전자 장치(100b)는 스마트폰 등과 같은 휴대용 전자 장치일 수 있으며, 상기 제1 전자 장치(100a)는 시계형 장치 또는 안경형 장치 등과 같은 웨어러블 디바이스일 수 있다.1 is a diagram of a system according to an embodiment of the present disclosure; Referring to Figure 1, a first electronic device 100a may be in data communication with a second electronic device 100b via a communication network 110. [ In addition, the first electronic device 100a and the second electronic device 100b can transmit and receive information to each other or in one direction by wireless communication means. According to an embodiment of the present disclosure, the first electronic device 100a may be a portable electronic device, such as a smart phone, as shown in FIG. 7, and the second electronic device 100b may be a portable electronic device, A wearable device such as a watch-type device or a spectacular device, or the like. In contrast, conversely, the second electronic device 100b may be a portable electronic device, such as a smart phone, and the first electronic device 100a may be a wearable device, such as a clocked device, Lt; / RTI >

보다 구체적으로 상기 제1 전자 장치(100a)와 상기 제2 전자 장치(100b)는 소정의 통신 네트워크(110)를 통해 연결될 수 있다. 예컨대, 상기 통신 네트워크(110)는 유선 및 무선 등과 같은 그 통신 양태를 가리지 않고 구성될 수 있으며, 단거리 통신망(PAN; Personal Area Network), 근거리 통신망(LAN; Local Area Network), 도시권 통신망(MAN; Metropolitan Area Network), 광역 통신망(WAN; Wide Area Network) 등 다양한 통신망으로 구성될 수 있다. 또한, 상기 통신 네트워크(310)는 공지의 월드와이드웹(WWW; World Wide Web)일 수 있으며, 적외선(Infrared Data Association; IrDA) 또는 블루투스(Bluetooth)와 같이 단거리 통신에 이용되는 무선전송기술을 이용할 수도 있다. 또한, 상기 통신 네트워크(110)는 방송 신호를 수신하기 위한 케이블 방송 통신망, 지상파 방송 통신망, 위성 방송 통신망 등을 포함할 수도 있다.More specifically, the first electronic device 100a and the second electronic device 100b may be connected through a predetermined communication network 110. [ For example, the communication network 110 may be configured without regard to its communication mode, such as wired and wireless, and may be a personal area network (PAN), a local area network (LAN), a metropolitan area network (MAN) A metropolitan area network (WAN), and a wide area network (WAN). Also, the communication network 310 may be a known World Wide Web (WWW) and may use a wireless transmission technique used for short-distance communication such as Infrared Data Association (IrDA) or Bluetooth It is possible. Also, the communication network 110 may include a cable broadcasting communication network, a terrestrial broadcasting communication network, a satellite broadcasting communication network, or the like for receiving a broadcasting signal.

도 2는 다양한 실시 예에 따른, 전자 장치(201)를 포함하는 네트워크 환경(200)을 도시한다. 도 2를 참조하면, 상기 전자 장치(201)는 버스(210), 프로세서(220), 메모리(230), 입출력 인터페이스(240), 디스플레이(250), 통신 인터페이스(260), 및 제어 모듈(270) 중 적어도 어느 하나 이상의 구성을 포함할 수 있다.FIG. 2 illustrates a network environment 200 that includes an electronic device 201, in accordance with various embodiments. 2, the electronic device 201 includes a bus 210, a processor 220, a memory 230, an input / output interface 240, a display 250, a communication interface 260, and a control module 270 And the like.

상기 버스(210)는 전술한 구성요소들을 서로 연결하고, 전술한 구성요소들 간의 통신(예컨대, 제어 메시지)을 전달하는 회로일 수 있다.The bus 210 may be a circuit that couples the components described above to one another and communicates communication (e.g., control messages) between the components described above.

상기 프로세서(220)는, 예를 들면, 상기 버스(210)를 통해 전술한 다른 구성요소들(예컨대, 상기 메모리(230), 상기 입출력 인터페이스(240), 상기 디스플레이(250), 상기 통신 인터페이스(260), 또는 상기 제어 모듈(270) 등)로부터 명령을 수신하여, 수신된 명령을 해독하고, 해독된 명령에 따른 연산이나 데이터 처리를 실행할 수 있다.The processor 220 may be configured to communicate with other components (e.g., the memory 230, the input / output interface 240, the display 250, the communication interface 260, or the control module 270, etc.), decrypt the received command, and execute an operation or data processing according to the decrypted command.

상기 메모리(230)는, 상기 프로세서(220) 또는 다른 구성요소들(예컨대, 상기 입출력 인터페이스(240), 상기 디스플레이(250), 상기 통신 인터페이스(260) 또는 상기 제어 모듈(270) 등)로부터 수신되거나 상기 프로세서(220) 또는 다른 구성요소들에 의해 생성된 명령 또는 데이터를 저장할 수 있다. 상기 메모리(230)는, 예를 들면, 커널(231), 미들웨어(232), 애플리케이션 프로그래밍 인터페이스(API: application programming interface)(233) 또는 애플리케이션(234) 등의 프로그래밍 모듈들을 포함할 수 있다. 전술한 각각의 프로그래밍 모듈들은 소프트웨어, 펌웨어, 하드웨어 또는 이들 중 적어도 둘 이상의 조합으로 구성될 수 있다.The memory 230 may receive information from the processor 220 or other components (e.g., the input / output interface 240, the display 250, the communication interface 260, or the control module 270) Or store instructions or data generated by the processor 220 or other components. The memory 230 may include programming modules such as, for example, a kernel 231, a middleware 232, an application programming interface (API) 233, or an application 234. Each of the above-described programming modules may be composed of software, firmware, hardware, or a combination of at least two of them.

상기 커널(231)은 나머지 다른 프로그래밍 모듈들, 예를 들면, 상기 미들웨어(232), 상기 API(233) 또는 상기 애플리케이션(234)에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예컨대, 상기 버스(210), 상기 프로세서(220) 또는 상기 메모리(230) 등)을 제어 또는 관리할 수 있다. 또한, 상기 커널(231)은 상기 미들웨어(232), 상기 API(233) 또는 상기 애플리케이션(234)에서 상기 전자 장치(201)의 개별 구성요소에 접근하여 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.The kernel 231 may include system resources used to execute operations or functions implemented in the rest of the programming modules, such as the middleware 232, the API 233, or the application 234, The bus 210, the processor 220, or the memory 230). The kernel 231 may also provide an interface through which the individual components of the electronic device 201 can be accessed and controlled or managed in the middleware 232, the API 233 or the application 234 have.

상기 미들웨어(232)는 상기 API(233) 또는 상기 애플리케이션(234)이 상기 커널(231)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 상기 미들웨어(232)는 상기 애플리케이션(234)으로부터 수신된 작업 요청들과 관련하여, 예를 들면, 상기 애플리케이션(134) 중 적어도 하나의 애플리케이션에 상기 전자 장치(201)의 시스템 리소스(예컨대, 상기 버스(210), 상기 프로세서(220) 또는 상기 메모리(230) 등)를 사용할 수 있는 우선 순위를 배정하는 등의 방법을 이용하여 작업 요청에 대한 제어(예컨대, 스케쥴링 또는 로드 밸런싱)를 수행할 수 있다.The middleware 232 can act as an intermediary for the API 233 or the application 234 to communicate with the kernel 231 to exchange data. The middleware 232 may also be configured to communicate with at least one of the applications 134 with respect to work requests received from the application 234 the system resources of the electronic device 201, (E.g., scheduling or load balancing) a work request using a method such as assigning a priority that can be used by the processor 210 (e.g., the bus 210, the processor 220, or the memory 230) .

상기 API(233)는 상기 애플리케이션(234)이 상기 커널(231) 또는 상기 미들웨어(232)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 화상 처리 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예컨대, 명령어)를 포함할 수 있다. The API 233 is an interface for the application 234 to control the functions provided by the kernel 231 or the middleware 232. The API 233 may be an interface for controlling the functions of the application 234 such as file control, (E. G., Instructions) for the < / RTI >

다양한 실시 예에 따르면, 상기 애플리케이션(234)은 SMS/MMS 애플리케이션, 이메일 애플리케이션, 달력 애플리케이션, 알람 애플리케이션, 건강 관리(health care) 애플리케이션(예컨대, 운동량 또는 혈당 등을 측정하는 애플리케이션) 또는 환경 정보 애플리케이션(예컨대, 기압, 습도 또는 온도 정보 등을 제공하는 애플리케이션) 등을 포함할 수 있다. 추가적으로 또는 대안적으로, 상기 애플리케이션(234)은 상기 전자 장치(201)와 외부 전자 장치(예컨대, 전자 장치(204)) 사이의 정보 교환과 관련된 애플리케이션일 수 있다. 상기 정보 교환과 관련된 애플리케이션은, 예를 들어, 상기 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 애플리케이션, 또는 상기 외부 전자 장치를 관리하기 위한 장치 관리(device management) 애플리케이션을 포함할 수 있다. According to various embodiments, the application 234 may be an SMS / MMS application, an email application, a calendar application, an alarm application, a health care application (e.g., an application that measures momentum or blood glucose) E.g., applications that provide air pressure, humidity, or temperature information, etc.). Additionally or alternatively, the application 234 may be an application related to the exchange of information between the electronic device 201 and an external electronic device (e.g., electronic device 204). The application associated with the information exchange may include, for example, a notification relay application for communicating specific information to the external electronic device, or a device management application for managing the external electronic device .

예를 들면, 상기 알림 전달 애플리케이션은 상기 전자 장치(201)의 다른 애플리케이션(예컨대, SMS/MMS 애플리케이션, 이메일 애플리케이션, 건강 관리 애플리케이션 또는 환경 정보 애플리케이션 등)에서 발생한 알림 정보를 외부 전자 장치(예컨대, 전자 장치(204))로 전달하는 기능을 포함할 수 있다. 추가적으로 또는 대안적으로, 상기 알림 전달 애플리케이션은, 예를 들면, 외부 전자 장치(예컨대, 전자 장치(204))로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. 상기 장치 관리 애플리케이션은, 예를 들면, 상기 전자 장치(201)와 통신하는 외부 전자 장치(예컨대, 전자 장치(204))의 적어도 일부에 대한 기능(예컨대, 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴온/턴오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 상기 외부 전자 장치에서 동작하는 애플리케이션 또는 상기 외부 전자 장치에서 제공되는 서비스(예컨대, 통화 서비스 또는 메시지 서비스)를 관리(예컨대, 설치, 삭제 또는 업데이트)할 수 있다.For example, the notification delivery application may send notification information generated in another application (e.g., an SMS / MMS application, an email application, a healthcare application, or an environmental information application) of the electronic device 201 to an external electronic device (E.g., device 204). Additionally or alternatively, the notification delivery application may receive notification information from, for example, an external electronic device (e.g., electronic device 204) and provide it to the user. The device management application may provide functionality (e.g., external electronic device itself (or some component (e.g., an external device) itself) for at least a portion of an external electronic device (E.g., adjusting the turn on / turn off of the external electronic device or adjusting the brightness (or resolution) of the display), managing applications (e.g., , Deleted or updated).

다양한 실시 예에 따르면, 상기 애플리케이션(234)은 상기 외부 전자 장치(예컨대, 전자 장치(204))의 속성(예컨대, 전자 장치의 종류)에 따라 지정된 애플리케이션을 포함할 수 있다. 예를 들어, 외부 전자 장치가 MP3 플레이어인 경우, 상기 애플리케이션(234)은 음악 재생과 관련된 애플리케이션을 포함할 수 있다. 유사하게, 외부 전자 장치가 모바일 의료기기인 경우, 상기 애플리케이션(234)은 건강 관리와 관련된 애플리케이션을 포함할 수 있다. 일 실시 예에 따르면, 상기 애플리케이션(234)은 전자 장치(201)에 지정된 애플리케이션 또는 외부 전자 장치(예컨대, 서버(206) 또는 전자 장치(204))로부터 수신된 애플리케이션 중 적어도 하나를 포함할 수 있다.According to various embodiments, the application 234 may include an application designated according to an attribute of the external electronic device (e.g., electronic device 204) (e.g., the type of electronic device). For example, if the external electronic device is an MP3 player, the application 234 may include an application related to music playback. Similarly, where the external electronic device is a mobile medical device, the application 234 may include an application related to health care. According to one embodiment, the application 234 may include at least one of an application specified in the electronic device 201 or an application received from an external electronic device (e.g., server 206 or electronic device 204) .

상기 입출력 인터페이스(240)는, 입출력 장치(예컨대, 센서, 키보드 또는 터치 스크린)를 통하여 사용자로부터 입력된 명령 또는 데이터를, 예를 들면, 상기 버스(210)를 통해 상기 프로세서(220), 상기 메모리(230) 또는 상기 통신 인터페이스(260)에 전달할 수 있다. 예를 들면, 상기 입출력 인터페이스(240)는 터치 스크린을 통하여 입력된 사용자의 터치에 대한 데이터를 상기 프로세서(220)로 제공할 수 있다. 또한, 상기 입출력 인터페이스(240)는, 예를 들면, 상기 버스(210)를 통해 상기 프로세서(220), 상기 메모리(230) 또는 상기 통신 인터페이스(260) 또는 상기 제어 모듈(170)로부터 수신된 명령 또는 데이터를 상기 입출력 장치(예컨대, 스피커 또는 디스플레이)를 통하여 출력할 수 있다. 예를 들면, 상기 입출력 인터페이스(240)는 상기 프로세서(220)를 통하여 처리된 음성 데이터를 스피커를 통하여 사용자에게 출력할 수 있다.The input / output interface 240 transmits commands or data input from a user via an input / output device (e.g., a sensor, a keyboard, or a touch screen) to the processor 220, (230) or the communication interface (260). For example, the input / output interface 240 may provide the processor 220 with data on the user's touch input through the touch screen. The input / output interface 240 may be connected to the processor 220, the memory 230, the communication interface 260, or the control module 170 via the bus 210, for example, Or output data via the input / output device (e.g., a speaker or a display). For example, the input / output interface 240 may output voice data processed through the processor 220 to a user through a speaker.

상기 디스플레이(250)는 사용자에게 각종 정보(예컨대, 멀티미디어 데이터 또는 텍스트 데이터 등)를 표시할 수 있다.The display 250 may display various information (e.g., multimedia data or text data) to the user.

상기 통신 인터페이스(260)는 상기 전자 장치(201)와 외부 장치(예컨대, 전자 장치(204) 또는 서버(206)) 간의 통신을 연결할 수 있다. 예를 들면, 상기 통신 인터페이스(260)는 무선 통신 또는 유선 통신을 통해서 네트워크(262)에 연결되어 상기 외부 장치와 통신할 수 있다. 상기 무선 통신은, 예를 들어, Wifi(wireless fidelity), BT(Bluetooth), NFC(near field communication), GPS(global positioning system) 또는 셀룰러(cellular) 통신(예컨대, LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등) 중 적어도 하나를 포함할 수 있다. 상기 유선 통신은, 예를 들어, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard 232) 또는 POTS(plain old telephone service) 중 적어도 하나를 포함할 수 있다.The communication interface 260 may connect communications between the electronic device 201 and an external device (e.g., electronic device 204 or server 206). For example, the communication interface 260 may be connected to the network 262 via wireless or wired communication to communicate with the external device. The wireless communication may be implemented in a wireless communication system such as, for example, wireless fidelity (Wifi), Bluetooth, near field communication (NFC), global positioning system (GPS), or cellular communication (e.g., LTE, LTE- WCDMA, UMTS, WiBro or GSM, etc.). The wired communication may include at least one of, for example, a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard 232 (RS-232) or a plain old telephone service (POTS).

일 실시 예에 따르면, 상기 네트워크(262)는 도 3의 통신 네트워크(telecommunications network)(310)일 수 있다. 상기 통신 네트워크는 컴퓨터 네트워크(computer network), 인터넷(internet), 사물 인터넷(internet of things) 또는 전화망(telephone network) 중 적어도 하나를 포함할 수 있다. 일 실시 예에 따르면, 상기 전자 장치(201)와 외부 장치 간의 통신을 위한 프로토콜(예컨대, transport layer protocol, data link layer protocol 또는 physical layer protocol))은 애플리케이션(234), 애플리케이션 프로그래밍 인터페이스(233), 상기 미들웨어(232), 커널(231) 또는 통신 인터페이스(260) 중 적어도 하나에서 지원될 수 있다.According to one embodiment, the network 262 may be a telecommunications network 310 of FIG. The communication network may include at least one of a computer network, an internet, an internet of things, or a telephone network. According to one embodiment, a protocol (e.g., transport layer protocol, data link layer protocol, or physical layer protocol) for communication between the electronic device 201 and an external device may include an application 234, an application programming interface 233, May be supported by at least one of the middleware 232, the kernel 231, or the communication interface 260.

상기 제어 모듈(170)은 다른 구성요소들(예컨대, 상기 프로세서(220), 상기 메모리(230), 상기 입출력 인터페이스(240), 또는 상기 통신 인터페이스(260) 등)로부터 획득된 정보 중 적어도 일부를 처리하고, 이를 다양한 방법으로 사용자에게 제공할 수 있다. 후술하는 도 3을 통하여 상기 제어 모듈(170)에 대한 추가적인 정보가 제공된다.The control module 170 may provide at least some of the information obtained from other components (e.g., the processor 220, the memory 230, the input / output interface 240, or the communication interface 260) And provide them to the user in a variety of ways. Additional information about the control module 170 is provided via FIG. 3, described below.

이하, 본 개시의 실시 예들에 따른 전자 장치의 세부 구성을 상세히 설명한다. 후술하는 전자 장치의 각 세부 구성들은 상기 도 2에서 상술한 각 구성 중 적어도 어느 하나에 포함되어 구현되거나, 별도의 모듈로 추가되어 구현될 수도 있다. 예컨대, 상기 도 2에서 제어 모듈(270)은 애플리케이션 프로세서(220)와 별도의 모듈로서 도시되어 있으나, 상기 제어 모듈(270)의 적어도 일부의 기능부는 애플리케이션 프로세서(220) 내에 포함되어 구현될 수도 있으며, 상기 제어 모듈(270)의 전체 기능이 애플리케이션 프로세서(220) 또는 다른 프로세서(예컨대, 통신 인터페이스(260) 내에 포함되어 구현될 수도 있다.Hereinafter, the detailed configuration of the electronic device according to the embodiments of the present disclosure will be described in detail. Each of the detailed configurations of the electronic device described later may be embodied in at least one of the configurations described above with reference to FIG. 2, or may be implemented as a separate module. 2, the control module 270 is illustrated as a separate module from the application processor 220, but at least some of the functionality of the control module 270 may be implemented and included within the application processor 220 , The entire functionality of the control module 270 may be implemented within the application processor 220 or other processor (e.g., communication interface 260).

도 3 내지 도 5는 본 개시의 실시 예에 따른 전자 장치의 구성 예를 나타내는 도면이다. 도 3을 참조하면, 전자 장치는 제어 모듈(310), 통신 모듈(320)을 포함하여 구성될 수 있다. 또한, 상기 제어 모듈(310)은 접속 관리부(311), 데이터 전송 모드 설정부(312), 데이터 전송 제어부(313) 중 적어도 어느 하나 이상을 포함하여 구성될 수 있다.Figs. 3 to 5 are diagrams showing a configuration example of an electronic device according to the embodiment of the present disclosure. Fig. Referring to FIG. 3, the electronic device may include a control module 310 and a communication module 320. The control module 310 may include at least one of a connection management unit 311, a data transmission mode setting unit 312, and a data transmission control unit 313. [

상기 접속 관리부(311)는 상기 전자 장치에서 네트워크로 데이터를 전송하기 위한 연결(예컨대, PDP 연결)을 설정하는 기능을 수행할 수 있다. 상기 연결 설정 방법은 통신 네트워크의 유형에 따라 다양하게 구현될 수 있다. 이하 설명에서는 이해를 용이하게 하기 위해 네트워크로의 데이터 전송을 위한 연결의 예로서 PDP 연결을 예로 들어 설명하기로 한다. 그러나, 본 개시의 실시 예들에 따른 데이터 전송을 위한 연결 PDP 연결로 한정되는 것은 아니며, 네트워크의 다양한 유형에 따라 연결 방법도 다양하게 적용될 수 있다. 예컨대, 셀룰러 네트워크의 경우 데이터 전송을 위해 상기와 같이 PDP 연결 절차를 수행하여야 하며, 와이-파이(Wi-Fi)통신인 경우 DHCP(Dynamic Host Configuration Protocol)를 통하여 IP를 할당받을 수 있다. 이와 같이 통신하는 베어러(bearer)에 따라 방식은 다르지만 해당 통신 방식에 따라 IP 주소를 미리 할당받음으로써 네트워크를 통한 데이터 통신을 할 수 있다.The connection management unit 311 may perform a function of establishing a connection (for example, a PDP connection) for transmitting data from the electronic device to the network. The connection establishment method may be variously implemented according to the type of the communication network. In the following description, a PDP connection will be described as an example of a connection for data transmission to a network in order to facilitate understanding. However, the present invention is not limited to a connection PDP connection for data transmission according to embodiments of the present disclosure, and connection methods may be variously applied according to various types of networks. For example, in the case of a cellular network, a PDP connection procedure should be performed as described above for data transmission. In case of Wi-Fi communication, an IP may be allocated through a Dynamic Host Configuration Protocol (DHCP). Although the method is different according to the bearer to communicate, the IP address is previously allocated according to the communication method, so that data communication through the network can be performed.

예컨대, 애플리케이션 프로세서(AP)에서 네트워크(network)로 데이터를 전송하기 위해 AP와 CP 사이에는 PDP 통신 소켓을 설정하고, IP 계층에서의 패킷 라우팅(packet routing)을 위해 디폴트 게이트웨이(default gateway)정보 및 호스트 목적지 정보(host destination)(예컨대, DNS 서버 정보)가 포함된 라우팅 테이블(routing table)이 구비될 수 있다.For example, a PDP communication socket may be established between an AP and a CP to transmit data from an application processor (AP) to a network, and default gateway information may be provided for packet routing at the IP layer. A routing table including host destination information (e.g., DNS server information) may be provided.

데이터 전송 모드 설정부(312)는 본 개시의 실시 예에 따라 전자 장치 미사용 중인 사태로 판단될 경우 데이터 전송 중단 모드(예컨대, 서스펜디드 모드(suspended mode)라 칭할 수도 있다)로 설정할 수 있다. 상기 데이터 전송 중단 모드가 설정되면, 본 개시의 다양한 실시 예에 따라 네트워크와의 PDP 연결을 유지한 상태로 송신 데이터만을 차단할 수 있다. 다시, 사용자에 의해 전자 장치의 사용이 재개되면, 상기 데이터 전송 중단 모드가 해제되고, 데이터 전송 모드를 연결로 설정할 수 있다.The data transmission mode setting unit 312 may set a data transmission interruption mode (which may be referred to as a suspended mode, for example) when it is determined that the electronic device is not in use according to the embodiment of the present disclosure. Once the data transmission interruption mode is set, according to various embodiments of the present disclosure, only the transmission data can be blocked while maintaining the PDP connection with the network. Again, once the user resumes use of the electronic device, the data transfer interruption mode is released and the data transfer mode can be set to connection.

상기 전자 장치가 미사용 중인지 여부를 판단하는 방법은 다양하게 구현될 수 있다. 예컨대, 상기 전자 장치에 구비된 화면이 오프 상태(SCREEN OFF)로 전환되어 대기 모드가 되면 미사용 중인 상태로 판단할 수 있다. 예컨대, 본 개시의 다양한 실시 예에서는 사용자가 의도하지 않은 데이터를 판단하기 위해 화면 상태 정보를 이용할 수 있으며, 화면이 오프 상태인 동안에는 사용자가 화면으로 어떠한 동작도 트리거(trigger) 할 수 없는 상태이므로 포어 그라운드 데이터(foreground data)가 생성될 수 없다. 따라서, 상기 화면이 오프 상태인 동안을 사용자가 전자 장치를 사용하지 않는 대기 구간으로 판단할 수 있다. 다시 화면이 온 상태로 전환되면, 본 개시의 실시 예에 따라 데이터 전송 중단 모드를 해제시킬 수 있다.The method for determining whether the electronic device is unused can be variously implemented. For example, when the screen provided in the electronic device is switched to the OFF state (SCREEN OFF) and becomes the standby mode, it can be determined that the screen is in an unused state. For example, in various embodiments of the present disclosure, screen state information can be used to determine unintended data by the user, and while the screen is in the off state, the user can not trigger any action on the screen, The foreground data can not be generated. Therefore, while the screen is in the off state, the user can determine that the user is not using the electronic device. Once the screen is switched back on again, the data transmission interruption mode can be released according to the embodiment of the present disclosure.

또한, 본 개시의 다양한 실시 예에 따라 상기 전자 장치에서 설정된 시간 이상 사용자의 입력이 없는 경우 전자 장치가 미사용 중인 상태로 판단할 수도 있다. 또한, 상기 언급한 방법 이외에도 사용자가 전자 장치를 사용하고 있지 않다고 판단할 수 있는 다양한 방법들이 본 개시의 실시 예들에 적용될 수 있다. In addition, according to various embodiments of the present disclosure, the electronic device may be judged to be in an unused state when there is no input of the user for the set time or more in the electronic device. In addition to the above-mentioned methods, various methods that can determine that the user is not using the electronic device can be applied to the embodiments of the present disclosure.

또한, 본 개시의 다양한 실시 예들에 따라 상기 데이터 전송 모드 설정부(312)는 전자 장치의 사용 상태뿐만 아니라, 현재 실행되고 있는 프로세스를 더 고려하여 데이터 전송 모드를 설정할 수 있다. 예컨대, 상기와 같이 전자 장치가 미사용 중인 상태로 판단하는 경우라 하더라도, 미리 설정된 적어도 하나의 프로세서가 실행 중인 경우에는 데이터 전송 중단 모드로 설정하지 않을 수 있다.In addition, according to various embodiments of the present disclosure, the data transmission mode setting unit 312 can set a data transmission mode in consideration of not only the usage state of the electronic device, but also the processes currently being executed. For example, even if the electronic device is judged to be in an unused state, the data transfer interruption mode may not be set when at least one predetermined processor is being executed.

예컨대, 전자 장치에 허용 가능한 프로세스 리스트(allowed process list)(330)를 저장하고, 상기 허용 가능한 프로세스 리스트에 포함된 프로세스가 실행 중인 경우라면 사용자가 전자 장치를 사용하지 않는 경우라도 데이터 전송 중단 모드를 설정하지 않을 수 있다. 상기 허용 가능한 프로세스 리스트는 예컨대, 화면이 오프되는 동안에도 동작해야 하는 프로세스일 수 있으며, 예컨대, 음악 스트리밍(music streaming) 등과 같은 프로세스가 포함될 수 있다. 상기 음악 스트리밍 프로세스가 실행 중인 경우, 화면이 오프되더라도 사용자는 실행이 중단되는 것을 원하지 않을 수 있으므로 전술한 바와 같이 상기 프로세스를 허용 가능한 프로세스 리스트에 포함시킴으로써 데이터 전송 중단 모드로 전환되지 않도록 구현할 수 있다. 상기 허용 가능한 프로세스 리스트(330)에는 프로세스 명칭 및 ID 등을 포함할 수 있다.For example, an allowed process list (330) is stored in the electronic device, and if the process included in the allowable process list is running, the data transfer interruption mode It may not be set. The permissible process list may be, for example, a process that must operate even while the screen is off, and may include processes such as music streaming. If the music streaming process is running, the user may not want the execution to be stopped even if the screen is turned off, so that the process can be implemented so as not to switch to the data transmission interruption mode by including the process in the allowable process list. The allowable process list 330 may include a process name and an ID.

데이터 전송 제어부(313)는 상기 데이터 전송 모드 설정부(312)의 모드 설정에 따라 전송이 요청된 데이터가 허용되거나 차단되도록 할 수 있다. 예컨대, 본 개시의 실시 예에 따라 상기 데이터 전송 모드 설정부(312)에서 데이터 전송 중단 모드가 설정되면, 애플리케이션에서 데이터 전송 요청이 있더라도 해당 데이터가 전송되지 않도록 제어할 수 있다.The data transmission control unit 313 may allow or block the data requested to be transmitted according to the mode setting of the data transmission mode setting unit 312. [ For example, when the data transfer mode setting unit 312 sets the data transfer interruption mode according to the embodiment of the present disclosure, it is possible to control the data not to be transmitted even if there is a data transfer request from the application.

상기 데이터 전송을 제어하는 방법은 다양하게 구현될 수 있다. 예컨대, 본 개시의 다양한 실시 예에 따라 라우팅 테이블(340)의 디폴트 게이트웨이(default gateway) 정보를 삭제함으로써 전송 요청된 데이터가 전자 장치에서 네트워크로 전송되지 않도록 구현할 수 있다. 애플리케이션에서 데이터를 전송 요청할 때, 상기 전송 요청된 데이터는 상기 라우팅 테이블(340)의 디폴트 게이트웨이 정보를 확인하여야 네트워크상에서 전송 가능하므로, 상기 디폴트 게이트웨이 정보가 삭제될 경우 데이터가 전송될 수 없게 된다.The method of controlling the data transmission may be variously implemented. For example, by deleting the default gateway information of the routing table 340 according to various embodiments of the present disclosure, it is possible to implement such that the data requested for transmission is not transmitted from the electronic device to the network. When the application requests data transmission, the data requested to be transmitted can be transmitted on the network after confirming the default gateway information of the routing table 340. Therefore, when the default gateway information is deleted, data can not be transmitted.

이하, 도 4 및 도 5를 참조하여 상기 도 3의 각 기능부가 전자 장치의 각 구성에 구현된 예를 설명한다.Hereinafter, with reference to Figs. 4 and 5, an example in which each function portion shown in Fig. 3 is implemented in each configuration of the electronic device will be described.

도 4를 참조하면, 전자 장치는 애플리케이션(410), 제어 모듈(420), 소켓 API(430), 커널(440), 공유 메모리(460) 및 통신 모듈(470)을 포함하여 구성될 수 있다. 전자 장치가 부팅되면 네트워크와의 PDP 연결이 설정되며, 소켓 API(430)를 통해 TCP/IP 소켓이 연결됨으로써 전자 장치에서 통신 모듈(470)을 통해 외부 장치와 데이터를 송수신할 수 있는 상태가 된다.4, an electronic device may comprise an application 410, a control module 420, a socket API 430, a kernel 440, a shared memory 460, and a communication module 470. When the electronic device is booted, a PDP connection with the network is established, and the TCP / IP socket is connected through the socket API 430, thereby allowing the electronic device to transmit and receive data to / from the external device through the communication module 470 .

본 개시의 실시 예에 따라 제어 모듈(420)에서 데이터 전송 모드를 데이터 전송 중단 모드(예컨대, 서스펜디드 모드)로 설정하면, 현재 설정된 모드가 데이터 전송 중단 모드임을 애플리케이션(410)에 통보할 수 있다.If the control module 420 sets the data transfer mode to the data transfer interruption mode (e.g., suspend mode) according to the embodiment of the present disclosure, the application 410 can be notified that the currently set mode is the data transfer interruption mode.

또한, 본 개시의 실시 예에 따라 제어 모듈(420)에서는 커널(440) 영역에 구비된 라우팅 테이블(450)에서 디폴트 게이트웨이를 삭제할 수 있다. 상기 디폴트 게이트웨이가 삭제되더라도 현재 네트워크와의 PDP 연결이 존재하는(예컨대, PDP 세션은 연결되어 있는) 상태이므로 통신 모듈(470)을 통해 데이터를 수신하는 것은 가능하다.Also, according to the embodiment of the present disclosure, the control module 420 may delete the default gateway from the routing table 450 provided in the kernel 440 area. Even if the default gateway is deleted, it is possible to receive data through the communication module 470 because the PDP connection with the present network exists (e.g., the PDP session is connected).

본 개시의 실시 예에 따라 각 애플리케이션(410)에서 외부로 데이터를 전송하고자 하면, 상기 데이터 전송 요청에 따라 라우팅 테이블(450)의 디폴트 게이트웨이 정보를 확인하게 된다. 상기 제어 모듈(420)에 의해 디폴트 게이트웨이 정보가 삭제되었으므로, 데이터 전송 중단 모드에서는 데이터의 전송이 차단된다. 이와 같이, 네트워크와의 데이터 통신 연결을 해제하지 않고서도 전송하고자 하는 데이터의 전송 차단이 가능하기 때문에, 데이터 전송 차단을 위해 네트워크와의 데이터 통신 연결을 해제하고 재연결하는 지연이 발생하지 않게 된다.In accordance with the embodiment of the present disclosure, when data is to be transmitted from each application 410 to the outside, the default gateway information of the routing table 450 is checked according to the data transmission request. Since the default gateway information is deleted by the control module 420, the data transmission is interrupted in the data transmission interruption mode. In this way, transmission of data to be transmitted can be blocked without disconnecting the data communication with the network, so that there is no delay in releasing and reconnecting the data communication connection with the network in order to block the data transmission.

도 5는 제어 모듈(520)에 의해 데이터 전송 중단 모드가 해제된 경우의 데이터 흐름을 나타낸다. 도 5를 참조하면, 데이터 전송 중단 모드가 해제되면, 설정되었던 데이터 전송 중단 모드가 해제되었음을 애플리케이션(510)에 통보할 수 있다. 예컨대, 현재 데이터 전송 모드가 연결(connected) 모드임을 통보할 수 있다.5 shows a data flow when the data transmission interruption mode is released by the control module 520. [ Referring to FIG. 5, when the data transfer interruption mode is released, the application 510 can be notified that the data transfer interruption mode that has been set is released. For example, it can notify that the current data transmission mode is a connected mode.

또한, 데이터 전송을 재개시킬 수 있도록 제어 모듈(520)은 커널(550)로 데이터 전송 중단 모드에서 삭제된 라우팅 테이블(550))의 디폴트 게이트웨이를 다시 추가한다.In addition, the control module 520 re-adds the default gateway of the routing table 550 deleted in the data transmission abort mode to the kernel 550 so that data transmission can be resumed.

상기 디폴트 게이트웨이가 추가됨에 따라 애플리케이션(510)에서 데이터를 전송 요청하면, 상기 추가된 디폴트 게이트웨이를 참조하여 통신 모듈(570)을 통해 전송 요청된 데이터를 네트워크로 전송할 수 있다.When the application 510 requests data transmission according to the addition of the default gateway, it can transmit data requested to be transmitted through the communication module 570 to the network with reference to the added default gateway.

예컨대, 전자 장치가 웨어러블 디바이스인 경우 저용량 배터리로 인해 소모 전류 문제가 민감할 수 있으며, 백그라운드 데이터 동기화의 빈도와 시간은 전류 소모에 큰 영향을 줄 수 있다. 또한, 상기 웨어러블 디바이스는 대용량 데이터 전송을 요하거나 실시간 동기화가 필요한 애플리케이션의 사용이 드물기 때문에 전술한 바와 같이 본 개시의 실시 예에 따라 사용자가 전자 장치를 사용하지 않는 대기 시간 동안 송신 데이터를 차단함으로써 소모 전류 문제를 해결할 수 있다. For example, if the electronic device is a wearable device, the problem of current consumption may be sensitive due to the low capacity battery, and the frequency and time of background data synchronization may have a significant effect on current consumption. In addition, since the wearable device requires a large amount of data transmission or rarely uses an application requiring real-time synchronization, according to the embodiment of the present disclosure, as described above, the wearable device blocks transmission data during a standby time when the user does not use the electronic device, The current problem can be solved.

또한, 전자 장치가 스마트폰과 같은 이동 단말인 경우, 전자 장치의 설정 메뉴에 모바일 데이터 사용과 관련된 기본 메뉴와는 별개로 '전원절약' 혹은 '대기모드 모바일 데이터 사용' 과 같은 설정 메뉴를 제공함으로써 전술한 본 개시의 실시 예들에 따른 데이터 전송 차단을 구현할 수 있다. 예컨대, 사용자의 설정에 따라 데이터 전송 중단 모드를 설정할 수 있도록 하는 것도 가능하며, 상기 데이터 전송 중단 모드가 설정되어 있는 경우, 전자 장치가 미사용되는 동안에는 PDP 연결을 유지한 상태에서 전송되는 데이터만을 차단시킬 수 있다. 이에 따라, 네트워크와의 추가적인 신호 교환에 따른 지연 없이 애플리케이션 프로세서에서 통신 모듈로 전달되는 데이터만을 차단할 수 있다. 또한 사용자가 전자 장치의 사용을 개시할 경우 자동으로 상기 설정된 데이터 전송 중단 모드가 해제되도록 함으로써 용이하게 사용할 수 있다.In addition, when the electronic device is a mobile terminal such as a smart phone, by providing a setting menu such as 'power saving' or 'standby mode mobile data use' separately from the basic menu related to mobile data usage, It is possible to implement data transmission blocking according to the embodiments of the present disclosure described above. For example, it is also possible to set the data transmission interruption mode according to the setting of the user. If the data transmission interruption mode is set, only the data transmitted while maintaining the PDP connection is blocked while the electronic device is not used . Accordingly, it is possible to block only data transmitted from the application processor to the communication module without a delay due to additional signal exchange with the network. And can be easily used by automatically releasing the set data transmission interruption mode when the user starts using the electronic device.

상기 도 4 또는 도 5에서 제어 모듈(420, 520)은 상기 도 2의 프로세서(220)에 대응되거나 적어도 일부 기능이 도 2의 프로세서(220)에 포함될 수도 있다. 또한, 다른 구현 방법으로서 상기 제어 모듈(420, 520)은 상기 도 2에서 별도의 모듈(예컨대, 제어 모듈(270))로 추가되어 구성될 수도 있다. 또한, 상기 도 4 또는 도 5에서 통신 모듈(470, 570)은 상기 도 2의 통신 인터페이스(260)에 대응되거나 적어도 일부 기능이 도 2의 통신 인터페이스(260)에 포함될 수도 있다.In FIG. 4 or 5, the control modules 420 and 520 may correspond to the processor 220 of FIG. 2 or at least some functions may be included in the processor 220 of FIG. In addition, as another implementation method, the control modules 420 and 520 may be additionally configured as separate modules (for example, the control module 270) in FIG. 4 or FIG. 5, the communication modules 470 and 570 may correspond to the communication interface 260 of FIG. 2, or at least some functions may be included in the communication interface 260 of FIG.

한편, 전술한 본 개시의 실시 예에서 각 기능부 및 모듈이라 함은, 본 개시의 실시 예의 기술적 사상을 수행하기 위한 하드웨어 또는 상기 하드웨어를 구동하기 위한 소프트웨어의 기능적, 구조적 결합을 의미할 수도 있다. 예컨대, 상기 각 기능부는 소정의 코드와 상기 소정의 코드가 수행되기 위한 하드웨어 리소스의 논리적인 단위를 의미할 수 있으며, 반드시 물리적으로 연결된 코드를 의미하거나, 한 종류의 하드웨어를 의미하는 것은 아님은 본 개시의 실시 예의 기술분야의 평균적 전문가에게는 용이하게 추론될 수 있다.On the other hand, in the embodiments of the present disclosure described above, each functional unit and module may mean a functional or structural combination of hardware for carrying out the technical idea of the present disclosure or software for driving the hardware. For example, each functional unit may refer to a logical unit of a predetermined code and a hardware resource for executing the predetermined code, and may be a code physically connected to the functional unit, But can be easily deduced to the average expert in the field of embodiments of the disclosure.

본 개시의 다양한 실시 예 중 어느 하나에 따른 전자 장치는, 네트워크로의 데이터 전송을 위한 연결을 설정하는 접속 관리부; 상기 전자 장치의 사용 여부를 판단하고, 상기 전자 장치가 미사용 중인 상태로 판단되면 데이터 전송 중단 모드를 설정하는 데이터 전송 모드 설정부; 및 상기 데이터 전송을 위한 연결을 유지한 상태에서, 데이터의 전송을 차단하는 데이터 전송 제어부;를 포함할 수 있다.An electronic device according to any one of the various embodiments of the present disclosure includes: a connection manager configured to establish a connection for data transmission to a network; A data transmission mode setting unit for determining whether the electronic device is used and setting a data transmission interruption mode if the electronic device is judged to be in an unused state; And a data transmission controller for interrupting transmission of data while maintaining a connection for the data transmission.

상기 데이터 전송 모드 설정부는, 상기 전자 장치에 구비된 적어도 화면의 온 또는 오프 상태로 상기 전자 장치의 사용 여부를 판단할 수 있다.The data transmission mode setting unit may determine whether the electronic device is used in at least a screen on or off state of the electronic device.

상기 전자 장치의 사용 여부 판단은, 상기 전자 장치에서 설정된 시간 이상 입력이 없는 경우 전자 장치가 미사용 중인 상태로 판단할 수 있다.The determination as to whether or not the electronic device is used may determine that the electronic device is in an unused state when the electronic device has not been input for a predetermined time or more.

상기 데이터 전송 모드 설정부는, 상기 전자 장치가 미사용 중인 상태로 판단되면, 적어도 하나의 설정된 프로세스에 대한 실행 여부를 판단하고, 상기 설정된 적어도 하나의 프로세스에 대해 모든 프로세스가 실행 중이 아니면 데이터 전송 중단 모드를 설정할 수 있다.Wherein the data transfer mode setting unit determines whether to execute at least one set process if the electronic device is in an unused state and sets a data transfer interruption mode if all processes are not being executed for the set at least one process Can be set.

상기 데이터 전송 제어부는, 상기 데이터 전송 중단 모드가 설정된 상태에서 수신되는 데이터에 대해서는 정상 수신 처리할 수 있다.The data transmission control unit can normally perform reception processing on data received while the data transmission interruption mode is set.

상기 접속 관리부는, 상기 데이터 전송 중단 모드 설정 시, 라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 삭제할 수 있다.The connection management unit may delete the default gateway information from the routing table when the data transmission interruption mode is set.

상기 접속 관리부는, 상기 데이터 전송 중단 모드가 설정되면, 애플리케이션 계층으로 데이터 전송 중단 모드 상태를 통보할 수 있다.When the data transfer interruption mode is set, the connection management unit can notify the application layer of the data transfer interruption mode status.

상기 데이터 전송 모드 설정부는, 상기 전송 요청된 데이터의 전송을 차단하는 동작 이후에, 상기 전자 장치의 사용 여부를 판단하고, 상기 전자 장치가 사용 중인 상태로 판단되면 데이터 전송 중단 모드를 해제하며, 상기 데이터 전송 제어부는, 적어도 하나의 애플리케이션으로부터 데이터의 전송이 요청되면, 상기 전송 요청된 데이터를 외부 장치로 전송 처리할 수 있다.Wherein the data transmission mode setting unit determines whether the electronic device is used after the transmission of the data requested to be transmitted is blocked and releases the data transmission interruption mode when the electronic device is in use, The data transfer control unit may transmit the requested data to the external device when the data transfer is requested from at least one application.

상기 접속 관리부는, 상기 데이터 전송 중단 모드 해제 시, 라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 재설정할 수 있다.The connection management unit may reset the default gateway information in the routing table when the data transmission interruption mode is canceled.

상기 접속 관리부는, 상기 데이터 전송 중단 모드가 해제되면, 애플리케이션 계층으로 데이터 전송 중단 모드 해제 상태를 통보할 수 있다.When the data transmission interruption mode is canceled, the connection management unit can notify the application layer of the data transfer interruption mode release state.

이하, 도 6을 참조하여 본 개시의 실시 예에 따른 전자 장치의 데이터 통신 제어 절차를 설명한다.Hereinafter, a data communication control procedure of the electronic device according to the embodiment of the present disclosure will be described with reference to FIG.

도 6을 참조하면, 전자 장치는 본 개시의 실시 예에 따라 동작 601에서 네트워크와의 PDP 연결을 설정할 수 있다. 도 6에서는 PDP 연결 설정으로 설명하고 잇으나 다양한 네트워크 환경에 따라 다양한 방법으로 네트워크 연결 설정을 실행할 수 있다.6, an electronic device may establish a PDP connection with a network at operation 601 in accordance with an embodiment of the present disclosure. In FIG. 6, PDP connection setting is described, but network connection setting can be executed in various ways according to various network environments.

네트워크 연결이 설정되면, 동작 603에서 전자 장치가 사용중인 상태인지 미사용 상태인지를 판단한다. 상기 판단 결과, 전자 장치가 미사용 상태가 아닌 경우, 동작 613에서 데이터 전송 모드를 연결로 설정하고, 라우팅 테이블의 디폴트 게이트웨이를 그대로 유지시킬 수 있다. 만약, 이전에 데이터 전송 중단 모드 설정으로 인해 라우팅 테이블의 디폴트 게이트웨이가 삭제된 경우라면, 동작 615에서 라우팅 테이블의 디폴트 게이트웨이를 추가할 수 있다. 동작 611에서 상기 설정된 모드 정보는 애플리케이션 등으로 전달될 수 있다.If a network connection is established, at operation 603, it is determined whether the electronic device is in use or in an unused state. As a result of the determination, if the electronic device is not in the unused state, the data transmission mode may be set as a connection in operation 613, and the default gateway of the routing table may be maintained as it is. If the default gateway of the routing table has been deleted due to the previously set data transmission interruption mode, at operation 615, a default gateway of the routing table may be added. In operation 611, the set mode information may be transmitted to an application or the like.

상기 동작 603에서의 판단 결과, 전자 장치가 미사용인 상태이면, 동작 605에서 적어도 하나의 허용된 프로세스가 실행중인지를 판단할 수 있다. 상기 판단 결과 적어도 하나의 허용된 프로세스가 실행중이면, 데이터 전송 중단 모드로 설정하지 않고, 현재의 데이터 전송 상태를 유지시킬 수 있다. 상기 동작 605에서의 판단 결과, 적어도 하나의 허용된 프로세스가 실행중이 아니라면, 동작 607에서 본 개시의 다양한 실시 예에 따라 데이터 전송 중단 모드를 설정할 수 있다. 상기 데이터 전송 중단 모드가 설정되면, 동작 609에서 라우팅 테이블의 디폴트 게이트웨이를 삭제할 수 있다. 상기 설정된 모드(예컨대, 데이터 전송 중단 모드 정보)에 대한 정보는 애플리케이션 등으로 통보될 수 있다. 이와 같이, 데이터 전송 중단 모드가 설정되면, 애플리케이션 프로세서에서 통신 모듈로 데이터 전송을 요청하는 것이 강제로 차단될 수 있다.As a result of the determination in operation 603, if the electronic device is in an unused state, operation 605 can determine whether at least one permitted process is being executed. As a result of the determination, if at least one permitted process is being executed, the current data transfer state can be maintained without being set to the data transfer interruption mode. If, as a result of the determination at operation 605, at least one allowed process is not running, then at operation 607, the data transfer abort mode may be set according to various embodiments of the present disclosure. If the data transmission interrupt mode is set, at operation 609, the default gateway of the routing table may be deleted. Information on the set mode (for example, data transmission interruption mode information) may be notified to an application or the like. In this manner, when the data transfer interruption mode is set, it is forcibly blocked to request data transfer from the application processor to the communication module.

상기 도 6에서 동작 605의 단계는 생략될 수도 있다. 예컨대, 설정된 프로세서의 실행 여부와 상관없이 전자 장치의 미사용 여부 확인만으로 데이터 전송 중단 모드를 설정하도록 구현할 수도 있다.The step of operation 605 in FIG. 6 may be omitted. For example, the data transfer interruption mode may be set only by checking whether the electronic device is not used regardless of whether the processor is executed or not.

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

본 개시의 다양한 실시 예들에 따른 전자 장치의 데이터 통신 제어 방법은, 네트워크로의 데이터 전송을 위한 연결을 설정하는 동작; 상기 전자 장치의 사용 여부를 판단하는 동작; 상기 전자 장치가 미사용 중인 상태로 판단되면 데이터 전송 중단 모드를 설정하는 동작; 및 상기 데이터 전송을 위한 연결을 유지한 상태에서, 데이터의 전송을 차단하는 동작;을 포함할 수 있다.A method of controlling data communication of an electronic device according to various embodiments of the present disclosure includes: establishing a connection for data transmission to a network; Determining whether the electronic device is used or not; Setting a data transmission interruption mode when the electronic device is judged to be in an unused state; And interrupting transmission of data while maintaining a connection for the data transmission.

상기 전자 장치의 사용 여부 판단은, 상기 전자 장치에 구비된 적어도 화면의 온 또는 오프 상태로 판단할 수 있다.The determination as to whether or not the electronic device is used may be determined as an on or off state of at least a screen provided in the electronic device.

상기 전자 장치의 사용 여부 판단은, 상기 전자 장치에서 설정된 시간 이상 입력이 없는 경우 전자 장치가 미사용 중인 상태로 판단할 수 있다.The determination as to whether or not the electronic device is used may determine that the electronic device is in an unused state when the electronic device has not been input for a predetermined time or more.

상기 전자 장치가 미사용 중인 상태로 판단되면, 적어도 하나의 설정된 프로세스에 대한 실행 여부를 판단하는 동작; 및 상기 설정된 적어도 하나의 프로세스에 대해 모든 프로세스가 실행 중이 아니면 상기 데이터 전송을 위한 연결을 유지한 상태에서 데이터의 전송을 차단하는 동작;을 더 포함할 수 있다.Determining whether the at least one set process is executed if the electronic device is determined to be in an unused state; And blocking transmission of data while maintaining a connection for the data transmission if all processes are not being executed for the set at least one process.

상기 데이터 전송 중단 모드가 설정된 상태에서, 수신되는 데이터에 대해서는 정상 수신 처리하는 동작;을 더 포함할 수 있다.And performing normal reception processing on the received data while the data transmission interruption mode is set.

상기 데이터 전송 중단 모드를 설정하는 동작은, 라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 삭제하는 동작;을 더 포함할 수 있다.The operation of setting the data transmission interruption mode may further include deleting the default gateway information in the routing table.

상기 데이터 전송 중단 모드를 설정하는 동작 이후에, 애플리케이션 계층에 데이터 전송 중단 모드 상태임을 통보할 수 있다.After the operation of setting the data transmission interruption mode, the application layer can be notified that the data transmission interruption mode is in progress.

상기 전송 요청된 데이터의 전송을 차단하는 동작 이후에, 상기 전자 장치의 사용 여부를 판단하는 동작; 상기 전자 장치가 사용 중인 상태로 판단되면 데이터 전송 중단 모드를 해제하는 동작; 및 적어도 하나의 애플리케이션으로부터 데이터의 전송이 요청되면, 상기 전송이 요청된 데이터를 외부 장치로 전송 처리하는 동작;을 포함할 수 있다.Determining whether to use the electronic device after the transmission of the requested data is blocked; Releasing the data transmission interruption mode when it is determined that the electronic device is in use; And transmitting the requested data to the external device when the transmission of the data is requested from at least one application.

상기 데이터 전송 중단 모드를 해제하는 동작은, 라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 재설정하는 동작;을 더 포함할 수 있다.The operation of releasing the data transmission interruption mode may further include resetting default gateway information in the routing table.

상기 데이터 전송 중단 모드를 해제하는 동작 이후에, 애플리케이션 계층에 데이터 전송 중단 모드 해제 상태임을 통보할 수 있다.After the operation to release the data transfer interruption mode, the application layer can be informed that the data transfer interruption mode is released.

이하, 도 7 및 도 8을 참조하여 본 개시의 실시 예들이 적용되는 다양한 전자 장치의 예를 설명한다.Hereinafter, examples of various electronic devices to which embodiments of the present disclosure are applied will be described with reference to Figs. 7 and 8. Fig.

도 7은 본 개시의 실시 예에 따른 전자 장치의 전면 사시도를 나타내는 도면이다.7 is a front perspective view of an electronic device according to an embodiment of the present disclosure;

도 7을 참조하면, 전자 장치(700)의 전면 중앙에는 터치스크린(701)이 배치된다. 상기 터치스크린(701)은 전자 장치(700)의 전면의 대부분을 차지하도록 크게 형성될 수 있다.Referring to FIG. 7, a touch screen 701 is disposed at the center of the front surface of the electronic device 700. The touch screen 701 may be formed to occupy most of the front surface of the electronic device 700.

또한, 상기 전자 장치(700)의 화면에 표시되는 홈 스크린은 여러 페이지의 서로 다른 홈 스크린들을 포함할 수 있는데, 상기 여러 페이지의 홈 스크린들 중 첫 번째 홈 스크린은 도 7에 도시된 바와 같은 메인 홈 스크린일 수 있다. 홈 스크린에는 자주 사용되는 어플리케이션들을 실행하기 위한 단축 아이콘들(703, 705, 707), 메인메뉴 전환키(709), 시간, 날씨 등이 표시될 수 있다. 상기 메인메뉴 전환키(709)는 상기 터치스크린(701) 상에 메뉴 화면을 표시한다. 또한, 상기 터치스크린(701)의 상단에는 배터리 충전상태, 수신신호의 세기, 현재 시각, 볼륨운영모드와 같은 전자 장치(700)의 상태를 표시하는 상태바(Status Bar)가 형성될 수도 있다.In addition, the home screen displayed on the screen of the electronic device 700 may include a plurality of pages of different home screens, wherein the first of the plurality of page home screens is a main screen, Home screen. Shortcut icons 703, 705, and 707 for executing frequently used applications, a main menu change key 709, time, weather, and the like may be displayed on the home screen. The main menu changeover key 709 displays a menu screen on the touch screen 701. In addition, a status bar may be formed at the upper portion of the touch screen 701 to display a status of the electronic device 700 such as a battery charging status, a received signal strength, a current time, and a volume operating mode.

도 8은 본 개시의 실시 예에 따른 웨어러블 디바이스의 예를 나타내는 사시도이다. 한편, 상술한 본 개시의 실시 예에 따른 시계형 장치는 웨어러블 디바이스 한 종류로, 일반적인 시계와 같이 팔목에 착용 가능한 디바이스이며, 연산을 수행하는 중앙 처리장치, 정보를 표시하는 디스플레이, 주변 전자장치와 관련되는 통신 장치 등을 내장할 수 있다. 또한 영상의 촬영을 위한 카메라를 내장하여 일반 촬영 또는 인식용 카메라로 사용이 가능할 수 있다.8 is a perspective view showing an example of a wearable device according to the embodiment of the present disclosure; On the other hand, the above-described clock-type device according to the embodiment of the present disclosure described above is a kind of wearable device, which is a device that can be worn on a wrist like a general clock, and includes a central processing unit for performing calculations, a display for displaying information, And a related communication device can be incorporated. In addition, a built-in camera for capturing images can be used as a general photographing or recognizing camera.

도 8을 참조하면, 상기 제1 전자 장치(100a)가 도시된 바와 같이 시계형 장치일 경우, 제2 전자 장치(100b)에 비하여 상대적으로 작은 용량 및 작은 처리 능력을 구비하는 저장부, 제어부, 및 입출력장치를 구비할 수 있다. 예컨대, 상기 시계형 장치는 사용자의 신체에 착용 가능할 수 있는 정도의 크기로 마련된 단말일 수 있다. 나아가, 상기 시계형 장치는 도시된 바와 같이 소정의 하드웨어 구성물(예컨대, 시계줄)에 결합되어, 사용자의 손목에 착용할 수 있다.Referring to FIG. 8, when the first electronic device 100a is a timepiece device as shown, a storage device having a relatively small capacity and a small processing capacity as compared with the second electronic device 100b, And an input / output device. For example, the device may be a terminal provided to a size that can be worn on the user's body. Further, the timepiece device may be coupled to a predetermined hardware component (e.g., a watchband) as shown and may be worn on the wearer's wrist.

또한, 상기 시계형 장치는 입출력 장치로서, 미리 정해진 소정 크기의 터치스크린(801)을 포함할 수 있으며, 추가적으로 적어도 하나의 하드웨어 버튼(803)을 포함할 수도 있다.In addition, the above-mentioned watch-type device may be an input / output device, and may include a touch screen 801 of a predetermined size predetermined, and may further include at least one hardware button 803.

도 9는 다양한 실시 예들에 따른 전자 장치(901)의 블록도(900)를 도시한다. 상기 전자 장치(901)는, 예를 들면, 도 3 및 도 4에 도시된 전자 장치(300, 401)의 전체 또는 일부를 구성할 수 있다. 도 11을 참조하면, 상기 전자 장치(901)는 하나 이상의 애플리케이션 프로세서(AP: application processor)(910), 통신 모듈(920), SIM(subscriber identification module) 카드(924), 메모리(930), 센서 모듈(940), 입력 장치(950), 디스플레이(960), 인터페이스(970), 오디오 모듈(980), 카메라 모듈(991), 전력관리 모듈(995), 배터리(996), 인디케이터(997) 및 모터(998)를 포함할 수 있다.FIG. 9 illustrates a block diagram 900 of an electronic device 901 in accordance with various embodiments. The electronic device 901 may constitute all or part of the electronic devices 300 and 401 shown in Figs. 3 and 4, for example. 11, the electronic device 901 includes one or more application processor (AP) 910, communication module 920, subscriber identification module (SIM) card 924, memory 930, Module 940, input device 950, display 960, interface 970, audio module 980, camera module 991, power management module 995, battery 996, indicator 997, Motor < / RTI >

상기 AP(910)(예컨대, 상기 애플리케이션 프로세서(610 또는 710))는 운영체제 또는 응용 프로그램을 구동하여 상기 AP(910)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 멀티미디어 데이터를 포함한 각종 데이터 처리 및 연산을 수행할 수 있다. 상기 AP(910)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 일 실시 예에 따르면, 상기 AP(910)는 GPU(graphic processing unit, 미도시)를 더 포함할 수 있다.The AP 910 (e.g., the application processor 610 or 710) can control a plurality of hardware or software components connected to the AP 910 by driving an operating system or an application program, Data processing and calculation can be performed. The AP 910 may be implemented as a system on chip (SoC), for example. According to one embodiment, the AP 910 may further include a graphics processing unit (GPU) (not shown).

상기 통신 모듈(920)(예컨대, 상기 통신 모듈(620, 720))은 상기 전자 장치(901)(예컨대, 상기 전자 장치(300, 401))와 네트워크를 통해 연결된 다른 전자 장치들(예컨대, 전자 장치(204) 또는 서버(206) 간의 통신에서 데이터 송수신을 수행할 수 있다. 일 실시 예에 따르면, 상기 통신 모듈(920)은 셀룰러 모듈(921), Wifi 모듈(923), BT 모듈(925), GPS 모듈(927), NFC 모듈(928) 및 RF(radio frequency) 모듈(929)을 포함할 수 있다.The communication module 920 (e.g., the communication module 620, 720) may communicate with the electronic device 901 (e.g., the electronic device 300, 401) The communication module 920 may include a cellular module 921, a Wifi module 923, a BT module 925, A GPS module 927, an NFC module 928, and a radio frequency (RF) module 929.

상기 셀룰러 모듈(921)은 통신망(예컨대, LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 등)을 통해서 음성 통화, 영상 통화, 문자 서비스 또는 인터넷 서비스 등을 제공할 수 있다. 또한, 상기 셀룰러 모듈(921)은, 예를 들면, 가입자 식별 모듈(예컨대, SIM 카드(924))을 이용하여 통신 네트워크 내에서 전자 장치의 구별 및 인증을 수행할 수 있다. 일 실시 예에 따르면, 상기 셀룰러 모듈(921)은 상기 AP(910)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 예를 들면, 상기 셀룰러 모듈(921)은 멀티 미디어 제어 기능의 적어도 일부를 수행할 수 있다.The cellular module 921 may provide voice, video, text, or Internet services over a communication network (e.g., LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro or GSM). In addition, the cellular module 921 can perform identification and authentication of electronic devices within the communication network, for example, using a subscriber identity module (e.g., SIM card 924). According to one embodiment, the cellular module 921 may perform at least some of the functions that the AP 910 may provide. For example, the cellular module 921 may perform at least some of the multimedia control functions.

일 실시 예에 따르면, 상기 셀룰러 모듈(921)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다. 또한, 상기 셀룰러 모듈(921)은, 예를 들면, SoC(System on Chip) 형태로 구현될 수 있다. 도 16에서는 상기 셀룰러 모듈(921)(예컨대, 커뮤니케이션 프로세서), 상기 메모리(930) 또는 상기 전력관리 모듈(995) 등의 구성요소들이 상기 AP(910)와 별개의 구성요소로 도시되어 있으나, 일 실시 예에 따르면, 상기 AP(910)가 전술한 구성요소들의 적어도 일부(예컨대, 셀룰러 모듈(921)을 포함하도록 구현될 수 있다.According to one embodiment, the cellular module 921 may include a communication processor (CP). In addition, the cellular module 921 may be implemented in a system-on-chip (SoC) format, for example. 16, components such as the cellular module 921 (e.g., a communication processor), the memory 930, or the power management module 995 are shown as separate components from the AP 910, According to an embodiment, the AP 910 may be implemented to include at least some of the components described above (e.g., a cellular module 921).

한 실시 예에 따르면, 상기 AP(910) 또는 상기 셀룰러 모듈(921)(예컨대, 커뮤니케이션 프로세서)은 각각에 연결된 비휘발성 메모리 또는 다른 구성요소 중 적어도 하나로부터 수신한 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리할 수 있다. 또한, 상기 AP(910) 또는 상기 셀룰러 모듈(921)은 다른 구성요소 중 적어도 하나로부터 수신하거나 다른 구성요소 중 적어도 하나에 의해 생성된 데이터를 비휘발성 메모리에 저장(store)할 수 있다.According to one embodiment, the AP 910 or the cellular module 921 (e.g., a communications processor) may load or read commands or data received from at least one of non-volatile memory or other components connected thereto, load. In addition, the AP 910 or the cellular module 921 may store data generated by at least one of the other components or received from at least one of the other components in the non-volatile memory.

상기 Wifi 모듈(923), 상기 BT 모듈(925), 상기 GPS 모듈(927) 또는 상기 NFC 모듈(928) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 도 16에서는 셀룰러 모듈(921), Wifi 모듈(923), BT 모듈(925), GPS 모듈(927) 또는 NFC 모듈(928)이 각각 별개의 블록으로 도시되었으나, 일 실시 예에 따르면, 셀룰러 모듈(921), Wifi 모듈(923), BT 모듈(925), GPS 모듈(927) 또는 NFC 모듈(928) 중 적어도 일부(예컨대, 두 개 이상)는 하나의 집적 회로(integrated chip; IC) 또는 IC 패키지 내에 포함될 수 있다. 예를 들면, 셀룰러 모듈(921), Wifi 모듈(923), BT 모듈(925), GPS 모듈(927) 또는 NFC 모듈(928) 각각에 대응하는 프로세서들 중 적어도 일부(예컨대, 셀룰러 모듈(921))에 대응하는 커뮤니케이션 프로세서 및 Wifi 모듈(923)에 대응하는 Wifi 프로세서)는 하나의 SoC로 구현될 수 있다.Each of the Wifi module 923, the BT module 925, the GPS module 927, and the NFC module 928 includes a processor for processing data transmitted and received through a corresponding module, for example . Although the cellular module 921, the Wifi module 923, the BT module 925, the GPS module 927 or the NFC module 928 are shown as separate blocks in FIG. 16, according to one embodiment, At least some (e.g., two or more) of the wireless module 921, the Wifi module 923, the BT module 925, the GPS module 927, or the NFC module 928 may be integrated into one integrated circuit Lt; / RTI > At least some of the processors (e.g., cellular module 921) corresponding to each of cellular module 921, Wifi module 923, BT module 925, GPS module 927 or NFC module 928, ) And a Wifi processor corresponding to the Wifi module 923) may be implemented in one SoC.

상기 RF 모듈(929)은 데이터의 송수신, 예를 들면, RF 신호의 송수신을 할 수 있다. 상기 RF 모듈(929)은, 도시되지는 않았으나, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter) 또는 LNA(low noise amplifier) 등을 포함할 수 있다. 또한, 상기 RF 모듈(929)은 무선 통신에서 자유 공간상의 전자파를 송수신하기 위한 부품, 예를 들면, 도체 또는 도선 등을 더 포함할 수 있다. 도 16에서는 셀룰러 모듈(921), Wifi 모듈(923), BT 모듈(925), GPS 모듈(927) 및 NFC 모듈(928)이 하나의 RF 모듈(929)을 서로 공유하는 것으로 도시되어 있으나, 일 실시 예에 따르면, 셀룰러 모듈(921), Wifi 모듈(923), BT 모듈(925), GPS 모듈(927) 또는 NFC 모듈(928) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호의 송수신을 수행할 수 있다. The RF module 929 can transmit and receive data, for example, transmit and receive RF signals. The RF module 929 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, or a low noise amplifier (LNA). In addition, the RF module 929 may further include a component, for example, a conductor or a conductor, for transmitting and receiving electromagnetic waves in free space in wireless communication. 16, the cellular module 921, the Wifi module 923, the BT module 925, the GPS module 927, and the NFC module 928 are shown sharing one RF module 929, At least one of the cellular module 921, the Wifi module 923, the BT module 925, the GPS module 927 or the NFC module 928 transmits and receives an RF signal through a separate RF module can do.

상기 SIM 카드(924)는 가입자 식별 모듈을 포함하는 카드일 수 있으며, 전자 장치의 특정 위치에 형성된 슬롯에 삽입될 수 있다. 상기 SIM 카드(924)는 고유한 식별 정보(예컨대, ICCID(integrated circuit card identifier)) 또는 가입자 정보(예컨대, IMSI(international mobile subscriber identity))를 포함할 수 있다. The SIM card 924 may be a card including a subscriber identity module and may be inserted into a slot formed at a specific location of the electronic device. The SIM card 924 may include unique identification information (e.g., an integrated circuit card identifier (ICCID)) or subscriber information (e.g., international mobile subscriber identity (IMSI)).

상기 메모리(930)(예컨대, 상기 메모리(230))는 내장 메모리(932) 또는 외장 메모리(934)를 포함할 수 있다. 상기 내장 메모리(932)는, 예를 들면, 휘발성 메모리(예를 들면, DRAM(dynamic RAM), SRAM(static RAM), SDRAM(synchronous dynamic RAM) 등) 또는 비휘발성 메모리(non-volatile Memory)(예를 들면, OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, NAND flash memory, NOR flash memory 등) 중 적어도 하나를 포함할 수 있다.The memory 930 (e.g., the memory 230) may include an internal memory 932 or an external memory 934. The built-in memory 932 may be a memory such as a volatile memory (for example, a dynamic random access memory (DRAM), a static random access memory (SRAM), a synchronous dynamic random access memory (SDRAM), or the like) or a nonvolatile memory (EEPROM), a mask ROM, a flash ROM, a NAND flash memory, a NOR flash memory, and the like), a ROM (Read Only Memory) Or the like.

일 실시 예에 따르면, 상기 내장 메모리(932)는 SSD(Solid State Drive) 일 수 있다. 상기 외장 메모리(934)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital) 또는 메모리 스틱(Memory Stick) 등을 더 포함할 수 있다. 상기 외장 메모리(934)는 다양한 인터페이스를 통하여 상기 전자 장치(901)와 기능적으로 연결될 수 있다. 일 실시 예에 따르면, 상기 전자 장치(901)는 하드 드라이브와 같은 저장 장치(또는 저장 매체)를 더 포함할 수 있다.According to one embodiment, the internal memory 932 may be a solid state drive (SSD). The external memory 934 may be a flash drive, for example, a compact flash (CF), a secure digital (SD), a micro secure digital (SD) extreme digital) or a memory stick. The external memory 934 may be functionally connected to the electronic device 901 through various interfaces. According to one embodiment, the electronic device 901 may further include a storage device (or storage medium) such as a hard drive.

상기 센서 모듈(940)은 물리량을 계측하거나 전자 장치(901)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 상기 센서 모듈(940)은, 예를 들면, 제스처 센서(940A), 자이로 센서(940B), 기압 센서(940C), 마그네틱 센서(940D), 가속도 센서(940E), 그립 센서(940F), 근접 센서(940G), 색상(color) 센서(940H)(예컨대, RGB(red, green, blue) 센서), 생체 센서(940I), 온/습도 센서(940J), 조도 센서(940K) 또는 UV(ultra violet) 센서(940M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로, 상기 센서 모듈(940)은, 예를 들면, 후각 센서(E-nose sensor, 미도시), EMG 센서(electromyography sensor, 미도시), EEG 센서(electroencephalogram sensor, 미도시), ECG 센서(electrocardiogram sensor, 미도시), IR(infra red) 센서(미도시), 홍채 센서(미도시) 또는 지문 센서(미도시) 등을 포함할 수 있다. 상기 센서 모듈(940)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다.The sensor module 940 may measure a physical quantity or sense an operating state of the electronic device 901 to convert the measured or sensed information into an electrical signal. The sensor module 940 includes a gesture sensor 940A, a gyro sensor 940B, an air pressure sensor 940C, a magnetic sensor 940D, an acceleration sensor 940E, a grip sensor 940F, A light sensor 940G, a color sensor 940H (e.g., an RGB (red, green, blue) sensor), a living body sensor 940I, a temperature / humidity sensor 940J, Sensor 940M. ≪ / RTI > Additionally or alternatively, the sensor module 940 may include, for example, an E-nose sensor (not shown), an EMG sensor (not shown), an EEG sensor (not shown) (Not shown), an iris sensor (not shown), or a fingerprint sensor (not shown). The sensor module 940 may further include a control circuit for controlling at least one sensor included in the sensor module 940.

상기 입력 장치(950)는 터치 패널(touch panel)(952), (디지털) 펜 센서(pen sensor)(954), 키(key)(956) 또는 초음파(ultrasonic) 입력 장치(958)를 포함할 수 있다. 상기 터치 패널(952)은, 예를 들면, 정전식, 감압식, 적외선 방식 또는 초음파 방식 중 적어도 하나의 방식으로 터치 입력을 인식할 수 있다. 또한, 상기 터치 패널(952)은 제어 회로를 더 포함할 수도 있다. 정전식의 경우, 물리적 접촉 또는 근접 인식이 가능하다. 상기 터치 패널(952)은 택타일 레이어(tactile layer)를 더 포함할 수도 있다. 이 경우, 상기 터치 패널(952)은 사용자에게 촉각 반응을 제공할 수 있다.The input device 950 includes a touch panel 952, a (digital) pen sensor 954, a key 956, or an ultrasonic input device 958 . The touch panel 952 can recognize the touch input by at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type, for example. In addition, the touch panel 952 may further include a control circuit. In electrostatic mode, physical contact or proximity recognition is possible. The touch panel 952 may further include a tactile layer. In this case, the touch panel 952 may provide a tactile response to the user.

상기 (디지털) 펜 센서(954)는, 예를 들면, 사용자의 터치 입력을 받는 것과 동일 또는 유사한 방법 또는 별도의 인식용 쉬트(sheet)를 이용하여 구현될 수 있다. 상기 키(956)는, 예를 들면, 물리적인 버튼, 광학식 키 또는 키패드를 포함할 수 있다. 상기 초음파(ultrasonic) 입력 장치(958)는 초음파 신호를 발생하는 입력 도구를 통해, 전자 장치(901)에서 마이크(예컨대, 마이크(988))로 음파를 감지하여 데이터를 확인할 수 있는 장치로서, 무선 인식이 가능하다. 일 실시 예에 따르면, 상기 전자 장치(901)는 상기 통신 모듈(920를 이용하여 이와 연결된 외부 장치(예컨대, 컴퓨터 또는 서버)로부터 사용자 입력을 수신할 수도 있다. The (digital) pen sensor 954 can be implemented using the same or similar method as receiving the touch input of the user, or using a separate recognition sheet, for example. The key 956 may include, for example, a physical button, an optical key or a keypad. The ultrasonic input device 958 is an apparatus that can confirm data by sensing a sound wave from an electronic device 901 to a microphone (e.g., a microphone 988) through an input tool for generating an ultrasonic signal, Recognition is possible. According to one embodiment, the electronic device 901 may receive user input from an external device (e.g., a computer or a server) connected thereto using the communication module 920.

상기 디스플레이(960)(예컨대, 상기 디스플레이(250))는 패널(962), 홀로그램 장치(964) 또는 프로젝터(966))를 포함할 수 있다. 상기 패널(962)은, 예를 들면, LCD(liquid-crystal display) 또는 AM-OLED(active-matrix organic light-emitting diode) 등일 수 있다. 상기 패널(962)은, 예를 들면, 유연하게(flexible), 투명하게(transparent) 또는 착용할 수 있게(wearable) 구현될 수 있다. 상기 패널(962)은 상기 터치 패널(952)과 하나의 모듈로 구성될 수도 있다. 상기 홀로그램 장치(964)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 상기 프로젝터(966)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 상기 스크린은, 예를 들면, 상기 전자 장치(901)의 내부 또는 외부에 위치할 수 있다. 일 실시 예에 따르면, 상기 디스플레이(960)는 상기 패널(962), 상기 홀로그램 장치(964), 또는 프로젝터(966)를 제어하기 위한 제어 회로를 더 포함할 수 있다. The display 960 (e.g., the display 250) may include a panel 962, a hologram device 964, or a projector 966). The panel 962 may be, for example, a liquid-crystal display (LCD) or an active-matrix organic light-emitting diode (AM-OLED). The panel 962 may be embodied, for example, in a flexible, transparent or wearable manner. The panel 962 may be formed of a single module with the touch panel 952. The hologram device 964 can display stereoscopic images in the air using interference of light. The projector 966 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 901. According to one embodiment, the display 960 may further include control circuitry for controlling the panel 962, the hologram device 964, or the projector 966.

상기 인터페이스(970)는, 예를 들면, HDMI(high-definition multimedia interface)(972), USB(universal serial bus)(974), 광 인터페이스(optical interface)(976) 또는 D-sub(D-subminiature)(978)를 포함할 수 있다. 상기 인터페이스(970)는, 예를 들면, 도 1에 도시된 통신 인터페이스(90)에 포함될 수 있다. 추가적으로 또는 대안적으로, 상기 인터페이스(970)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure Digital) 카드/MMC(multi-media card) 인터페이스 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.The interface 970 may include a high-definition multimedia interface (HDMI) 972, a universal serial bus (USB) 974, an optical interface 976, or a D-subminiature ) ≪ / RTI > The interface 970 may be included in, for example, the communication interface 90 shown in Fig. Additionally or alternatively, the interface 970 may be implemented using a mobile high-definition link (MHL) interface, a secure digital (SD) card / multi-media card (MMC) interface, or an infrared data association Interface.

상기 오디오 모듈(980)은 소리(sound)와 전기신호를 쌍방향으로 변환시킬 수 있다. 상기 오디오 모듈(980)의 적어도 일부 구성요소는, 예를 들면, 도 4에 도시된 입출력 인터페이스(240)에 포함될 수 있다. 상기 오디오 모듈(980)은, 예를 들면, 스피커(982), 리시버(984), 이어폰(986) 또는 마이크(988) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다.The audio module 980 can convert sound and electric signals into both directions. At least some of the components of the audio module 980 may be included in, for example, the input / output interface 240 shown in FIG. The audio module 980 may process sound information input or output through, for example, a speaker 982, a receiver 984, an earphone 986, a microphone 988, or the like.

상기 카메라 모듈(991)은 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 일 실시 예에 따르면, 하나 이상의 이미지 센서(예컨대, 전면 센서 또는 후면 센서), 렌즈(미도시), ISP(image signal processor, 미도시) 또는 플래쉬(flash, 미도시)(예컨대, LED 또는 제논 램프(xenon lamp))를 포함할 수 있다.The camera module 991 may capture still images and moving images. The camera module 991 may include one or more image sensors (e.g., a front sensor or a rear sensor), a lens (not shown), an image signal processor (Not shown) or a flash (not shown) (e.g., an LED or xenon lamp).

상기 전력 관리 모듈(995)은 상기 전자 장치(901)의 전력을 관리할 수 있다. 도시하지는 않았으나, 상기 전력 관리 모듈(995)은, 예를 들면, PMIC(power management integrated circuit), 충전 IC(charger integrated circuit) 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다.The power management module 995 can manage the power of the electronic device 901. Although not shown, the power management module 995 may include, for example, a power management integrated circuit (PMIC), a charger integrated circuit (PMIC), or a battery or fuel gauge.

상기 PMIC는, 예를 들면, 집적회로 또는 SoC 반도체 내에 탑재될 수 있다. 충전 방식은 유선과 무선으로 구분될 수 있다. 상기 충전 IC는 배터리를 충전시킬 수 있으며, 충전기로부터의 과전압 또는 과전류 유입을 방지할 수 있다. 일 실시 예에 따르면, 상기 충전 IC는 유선 충전 방식 또는 무선 충전 방식 중 적어도 하나를 위한 충전 IC를 포함할 수 있다. 무선 충전 방식으로는, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등이 있으며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로 또는 정류기 등의 회로가 추가될 수 있다. The PMIC can be mounted, for example, in an integrated circuit or a SoC semiconductor. The charging method can be classified into wired and wireless. The charging IC can charge the battery, and can prevent an overvoltage or an overcurrent from the charger. According to one embodiment, the charging IC may comprise a charging IC for at least one of a wired charging mode or a wireless charging mode. The wireless charging system may be, for example, a magnetic resonance system, a magnetic induction system or an electromagnetic wave system, and additional circuits for wireless charging may be added, such as a coil loop, a resonant circuit or a rectifier have.

상기 배터리 게이지는, 예를 들면, 상기 배터리(996)의 잔량, 충전 중 전압, 전류 또는 온도를 측정할 수 있다. 상기 배터리(996)는 전기를 저장 또는 생성할 수 있고, 그 저장 또는 생성된 전기를 이용하여 상기 전자 장치(901)에 전원을 공급할 수 있다. 상기 배터리(996)는, 예를 들면, 충전식 전지(rechargeable battery) 또는 태양 전지(solar battery)를 포함할 수 있다. The battery gauge can measure, for example, the remaining amount of the battery 996, the voltage during charging, the current or the temperature. The battery 996 can store or generate electricity, and can supply power to the electronic device 901 using the stored or generated electricity. The battery 996 may include, for example, a rechargeable battery or a solar battery.

상기 인디케이터(997)는 상기 전자 장치(901) 혹은 그 일부(예컨대, 상기 AP(910)의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 상기 모터(998)는 전기적 신호를 기계적 진동으로 변환할 수 있다. 도시되지는 않았으나, 상기 전자 장치(901)는 모바일 TV 지원을 위한 처리 장치(예컨대, GPU)를 포함할 수 있다. 상기 모바일 TV 지원을 위한 처리 장치는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting) 또는 미디어플로우(media flow) 등의 규격에 따른 미디어 데이터를 처리할 수 있다.The indicator 997 may indicate the electronic device 901 or a portion thereof (e.g., a specific state of the AP 910, e.g., a boot state, a message state, (Not shown), the electronic device 901 may include a processing unit (e. G., A GPU) for mobile TV support. ≪ RTI ID = 0.0 & The apparatus can process media data conforming to standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or media flow, for example.

본 개시에 따른 전자 장치의 전술한 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 본 개시에 따른 전자 장치는 전술한 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 본 개시에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.Each of the above-described components of the electronic device according to the present disclosure can be composed of one or more components, and the name of the component can be changed according to the type of the electronic device. The electronic device according to the present disclosure may be configured to include at least one of the above-described components, and some components may be omitted or further include other additional components. In addition, some of the components of the electronic device according to the present disclosure may be combined and configured as an entity, so that the functions of the corresponding components before being combined can be performed in the same manner.

본 개시에 사용된 용어 “모듈”은, 예를 들어, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. “모듈”은 예를 들어, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component) 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. “모듈”은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. “모듈”은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. “모듈”은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면, 본 개시에 따른 “모듈”은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다. The term " module " as used herein may mean a unit comprising, for example, one or a combination of two or more of hardware, software or firmware. A " module " may be interchangeably used with terms such as, for example, unit, logic, logical block, component or circuit. A " module " may be a minimum unit or a portion of an integrally constructed component. A " module " may be a minimum unit or a portion thereof that performs one or more functions. &Quot; Modules " may be implemented either mechanically or electronically. For example, a "module" in accordance with the present disclosure may be implemented as an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs) or programmable logic arrays (FPGAs) logic device).

다양한 실시 예에 따르면, 본 개시에 따른 장치(예컨대, 모듈들 또는 그 기능들) 또는 방법(예컨대, 동작들)의 적어도 일부는, 예컨대, 프로그래밍 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어는, 하나 이상의 프로세서 (예컨대, 상기 프로세서(210)에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 상기 메모리(220)가 될 수 있다. 상기 프로그래밍 모듈의 적어도 일부는, 예를 들면, 상기 프로세서(210)에 의해 구현(implement)(예컨대, 실행)될 수 있다. 상기 프로그래밍 모듈 의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트 (sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least a portion of a device (e.g., modules or functions thereof) or a method (e.g., operations) according to the present disclosure may be stored in a computer readable storage medium -readable storage media). The instructions may be executed by one or more processors (e.g., when executed by the processor 210, the one or more processors may perform functions corresponding to the instructions.) A computer readable storage medium may, At least a portion of the programming module may be implemented (e.g., executed) by, for example, the processor 210. At least a portion of the programming module may be one May include, for example, a module, a program, a routine, a set of instructions or a process for performing the above functions.

상기 컴퓨터로 판독 가능한 기록 매체에는 하드디스크, 플로피디스크 및 자기 테이프와 같은 마그네틱 매체(Magnetic Media)와, CD-ROM(Compact Disc Read Only Memory), DVD(Digital Versatile Disc)와 같은 광기록 매체(Optical Media)와, 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media)와, 그리고 ROM(Read Only Memory), RAM(Random Access Memory), 플래시 메모리 등과 같은 프로그램 명령(예컨대, 프로그래밍 모듈)을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함될 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 본 개시의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.The computer-readable recording medium includes a magnetic medium such as a hard disk, a floppy disk and a magnetic tape, an optical recording medium such as a CD-ROM (Compact Disc Read Only Memory), a DVD (Digital Versatile Disc) A magneto-optical medium such as a floppy disk and a program command such as a read only memory (ROM), a random access memory (RAM), a flash memory, Module) that is configured to store and perform the functions described herein. The program instructions may also include machine language code such as those generated by a compiler, as well as high-level language code that may be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of this disclosure, and vice versa.

본 개시에 따른 모듈 또는 프로그래밍 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 본 개시에 따른 모듈, 프로그래밍 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.A module or programming module according to the present disclosure may include at least one or more of the elements described above, some of which may be omitted, or may further include other additional elements. Operations performed by modules, programming modules, or other components in accordance with the present disclosure may be performed in a sequential, parallel, iterative, or heuristic manner. Also, some operations may be performed in a different order, omitted, or other operations may be added.

다양한 실시 예에 따르면, 명령들을 저장하고 있는 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 상기 전자 장치에 대한 네트워크상의 주소가 할당되고, 외부 장치와의 데이터 통신이 비활성화된 상태에서, 외부 장치로부터 패킷 데이터를 수신하는 동작; 상기 수신된 패킷 데이터가 데이터 통신 연결 요청과 관련된 패킷 데이터인지 판단하는 동작; 및 상기 수신된 패킷 데이터가 데이터 통신 연결 요청과 관련된 패킷 데이터로 판단되면, 외부 장치와의 데이터 통신 연결을 요청하는 동작;을 포함할 수 있다.According to various embodiments, there is provided a storage medium storing instructions which, when executed by at least one processor, cause the at least one processor to be configured to perform at least one operation, Receiving packet data from an external device while an address on the network for the electronic device is assigned and data communication with the external device is inactive; Determining whether the received packet data is packet data related to a data communication connection request; And requesting a data communication connection with an external device when the received packet data is determined to be packet data related to a data communication connection request.

그리고 본 명세서와 도면에 개시된 본 개시의 실시 예들은 본 개시의 기술 내용을 쉽게 설명하고 본 개시의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 개시의 범위를 한정하고자 하는 것은 아니다. 따라서 본 개시의 범위는 여기에 개시된 실시 예들 이외에도 본 개시의 기술적 사상을 바탕으로 도출되는 모든 변경 또는 변형된 형태가 본 개시의 범위에 포함되는 것으로 해석되어야 한다.And the embodiments of the present disclosure disclosed in this specification and the drawings are merely illustrative of specific examples for the purpose of facilitating the understanding of the present disclosure and the description of the present disclosure, and are not intended to limit the scope of the present disclosure. Accordingly, the scope of the present disclosure should be construed as being included within the scope of the present disclosure in addition to the embodiments disclosed herein, all changes or modifications derived from the technical idea of the present disclosure.

100 : 전자 장치 110 : 통신 네트워크
200 : 네트워크 환경 201 : 전자 장치
204 : 전자 장치 206 : 서버
210 : 버스 220 : 프로세서
230 : 메모리 231 : 커널
232 : 미들웨어 233 : API
234 : 애플리케이션 240 : 입출력 인터페이스
250 : 디스플레이 260 : 통신 인터페이스
262 : 네트워크 270 : 제어 모듈
310 : 제어 모듈 311 : 접속 관리부
312 : 데이터 전송 모드 설정부 313 : 데이터 전송 제어부
320 : 통신 모듈 330 : 프로세스 리스트
340 : 라우팅 테이블 410 : 애플리케이션
420 : 제어 모듈 430 : 소켓 API
440 : 커널 450 : 라우팅 테이블
460 : 공유 메모리 470 : 통신 모듈
100: electronic device 110: communication network
200: Network environment 201: Electronic device
204: electronic device 206: server
210: bus 220: processor
230: memory 231: kernel
232: Middleware 233: API
234: application 240: input / output interface
250: display 260: communication interface
262: network 270: control module
310: Control module 311:
312: Data transmission mode setting unit 313: Data transmission control unit
320: communication module 330: process list
340: routing table 410: application
420: Control module 430: Socket API
440: Kernel 450: Routing Table
460: Shared memory 470: Communication module

Claims (20)

전자 장치의 데이터 통신 제어 방법에 있어서,
네트워크로의 데이터 전송을 위한 연결을 설정하는 동작;
상기 전자 장치의 사용 여부를 판단하는 동작;
상기 전자 장치가 미사용 중인 상태로 판단되면 데이터 전송 중단 모드를 설정하는 동작; 및
상기 데이터 전송을 위한 연결을 유지한 상태에서, 데이터의 전송을 차단하는 동작;을 포함하는, 전자 장치의 데이터 통신 제어 방법.
A method of controlling data communication of an electronic device,
Establishing a connection for data transmission to the network;
Determining whether the electronic device is used or not;
Setting a data transmission interruption mode when the electronic device is judged to be in an unused state; And
And interrupting transmission of data while maintaining a connection for the data transmission.
제1항에 있어서, 상기 전자 장치의 사용 여부 판단은,
상기 전자 장치에 구비된 적어도 화면의 온 또는 오프 상태로 판단하는, 전자 장치의 데이터 통신 제어 방법.
The electronic device according to claim 1,
Wherein the control unit determines that at least a screen provided on the electronic device is on or off.
제1항에 있어서, 상기 전자 장치의 사용 여부 판단은,
상기 전자 장치에서 설정된 시간 이상 입력이 없는 경우 전자 장치가 미사용 중인 상태로 판단하는, 전자 장치의 데이터 통신 제어 방법.
The electronic device according to claim 1,
Wherein the electronic device determines that the electronic device is in an unused state when the electronic device has not been input for a predetermined time or longer.
제1항에 있어서, 상기 전자 장치가 미사용 중인 상태로 판단되면, 적어도 하나의 설정된 프로세스에 대한 실행 여부를 판단하는 동작; 및
상기 설정된 적어도 하나의 프로세스에 대해 모든 프로세스가 실행 중이 아니면 상기 데이터 전송을 위한 연결을 유지한 상태에서 데이터의 전송을 차단하는 동작;을 더 포함하는, 전자 장치의 데이터 통신 제어 방법.
The method of claim 1, further comprising: determining whether to execute at least one set process if the electronic device is determined to be in an unused state; And
And blocking transmission of data while maintaining connection for the data transmission if all processes are not being executed for the set at least one process.
제1항에 있어서, 상기 데이터 전송 중단 모드가 설정된 상태에서,
수신되는 데이터에 대해서는 정상 수신 처리하는 동작;을 더 포함하는, 전자 장치의 데이터 통신 제어 방법.
The method according to claim 1, wherein, in a state where the data transmission interruption mode is set,
And performing normal reception processing with respect to the received data.
제1항에 있어서, 상기 데이터 전송 중단 모드를 설정하는 동작은,
라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 삭제하는 동작;을 더 포함하는, 전자 장치의 데이터 통신 제어 방법.
2. The method of claim 1, wherein the setting of the data transmission interrupt mode comprises:
And deleting the default gateway information in the routing table. ≪ Desc / Clms Page number 20 >
제1항에 있어서, 상기 데이터 전송 중단 모드를 설정하는 동작 이후에,
애플리케이션 계층에 데이터 전송 중단 모드 상태임을 통보하는, 전자 장치의 데이터 통신 제어 방법.
2. The method of claim 1, wherein after the operation of setting the data transmission interrupt mode,
And notifies the application layer that the data transmission is in an interrupt mode.
제1항에 있어서, 상기 전송 요청된 데이터의 전송을 차단하는 동작 이후에,
상기 전자 장치의 사용 여부를 판단하는 동작;
상기 전자 장치가 사용 중인 상태로 판단되면 데이터 전송 중단 모드를 해제하는 동작; 및
적어도 하나의 애플리케이션으로부터 데이터의 전송이 요청되면, 상기 전송이 요청된 데이터를 외부 장치로 전송 처리하는 동작;을 포함하는, 전자 장치의 데이터 통신 제어 방법.
2. The method of claim 1, further comprising, after an operation of interrupting transmission of the data requested to be transmitted,
Determining whether the electronic device is used or not;
Releasing the data transmission interruption mode when it is determined that the electronic device is in use; And
And transferring the requested data to an external device when the transfer of data from the at least one application is requested.
제8항에 있어서, 상기 데이터 전송 중단 모드를 해제하는 동작은,
라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 재설정하는 동작;을 더 포함하는, 전자 장치의 데이터 통신 제어 방법.
9. The method of claim 8, wherein releasing the data transfer interruption mode comprises:
And resetting the default gateway information in the routing table.
제8항에 있어서, 상기 데이터 전송 중단 모드를 해제하는 동작 이후에,
애플리케이션 계층에 데이터 전송 중단 모드 해제 상태임을 통보하는, 전자 장치의 데이터 통신 제어 방법.
9. The method of claim 8, further comprising, after an operation of releasing the data transmission interrupt mode,
And notifies the application layer that the data transmission break mode is released.
외부 장치와 데이터 통신하는 전자 장치에 있어서,
네트워크로의 데이터 전송을 위한 연결을 설정하는 접속 관리부;
상기 전자 장치의 사용 여부를 판단하고, 상기 전자 장치가 미사용 중인 상태로 판단되면 데이터 전송 중단 모드를 설정하는 데이터 전송 모드 설정부; 및
상기 데이터 전송을 위한 연결을 유지한 상태에서, 데이터의 전송을 차단하는 데이터 전송 제어부;를 포함하는, 전자 장치.
1. An electronic device for data communication with an external device,
A connection management unit for establishing a connection for data transmission to a network;
A data transmission mode setting unit for determining whether the electronic device is used and setting a data transmission interruption mode if the electronic device is judged to be in an unused state; And
And a data transmission control unit for interrupting transmission of data while maintaining a connection for the data transmission.
제11항에 있어서, 상기 데이터 전송 모드 설정부는,
상기 전자 장치에 구비된 적어도 화면의 온 또는 오프 상태로 상기 전자 장치의 사용 여부를 판단하는, 전자 장치.
The data transmission apparatus according to claim 11,
And judges whether or not the electronic device is to be used in at least an on or off state of a screen provided in the electronic device.
제11항에 있어서, 상기 전자 장치의 사용 여부 판단은,
상기 전자 장치에서 설정된 시간 이상 입력이 없는 경우 전자 장치가 미사용 중인 상태로 판단하는, 전자 장치.
12. The method according to claim 11,
And judges that the electronic device is in an unused state when there is no input for more than the set time in the electronic device.
제11항에 있어서, 상기 데이터 전송 모드 설정부는,
상기 전자 장치가 미사용 중인 상태로 판단되면, 적어도 하나의 설정된 프로세스에 대한 실행 여부를 판단하고, 상기 설정된 적어도 하나의 프로세스에 대해 모든 프로세스가 실행 중이 아니면 데이터 전송 중단 모드를 설정하는, 전자 장치.
The data transmission apparatus according to claim 11,
Determine whether to execute at least one set process if the electronic device is judged to be in an unused state, and set a data transfer interrupt mode if not all processes are running for the set at least one process.
제11항에 있어서, 상기 데이터 전송 제어부는,
상기 데이터 전송 중단 모드가 설정된 상태에서 수신되는 데이터에 대해서는 정상 수신 처리하는, 전자 장치.
12. The data transfer control device according to claim 11,
And normal reception processing is performed on data received in a state where the data transmission interruption mode is set.
제11항에 있어서, 상기 접속 관리부는,
상기 데이터 전송 중단 모드 설정 시, 라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 삭제하는, 전자 장치.
The information processing apparatus according to claim 11,
And deletes default gateway information from the routing table when the data transmission interrupt mode is set.
제11항에 있어서, 상기 접속 관리부는,
상기 데이터 전송 중단 모드가 설정되면, 애플리케이션 계층으로 데이터 전송 중단 모드 상태를 통보하는, 전자 장치.
The information processing apparatus according to claim 11,
And notifies the application layer of a data transfer break mode state when the data transfer break mode is set.
제11항에 있어서, 상기 데이터 전송 모드 설정부는,
상기 전송 요청된 데이터의 전송을 차단하는 동작 이후에, 상기 전자 장치의 사용 여부를 판단하고, 상기 전자 장치가 사용 중인 상태로 판단되면 데이터 전송 중단 모드를 해제하며,
상기 데이터 전송 제어부는,
적어도 하나의 애플리케이션으로부터 데이터의 전송이 요청되면, 상기 전송 요청된 데이터를 외부 장치로 전송 처리하는, 전자 장치.
The data transmission apparatus according to claim 11,
Determining whether to use the electronic device after the transmission of the data requested to be transmitted is blocked, canceling the data transmission interruption mode if the electronic device is judged to be in use,
Wherein the data transfer control unit comprises:
And when the transmission of data from at least one application is requested, transfers the requested data to the external device.
제18항에 있어서, 상기 접속 관리부는,
상기 데이터 전송 중단 모드 해제 시, 라우팅 테이블에서 디폴트 게이트웨이(default gateway) 정보를 재설정하는, 전자 장치.
The information processing apparatus according to claim 18,
And resets default gateway information in the routing table when the data transmission interrupt mode is canceled.
제18항에 있어서, 상기 접속 관리부는,
상기 데이터 전송 중단 모드가 해제되면, 애플리케이션 계층으로 데이터 전송 중단 모드 해제 상태를 통보하는, 전자 장치.
The information processing apparatus according to claim 18,
And notifies the application layer of a data transfer break mode release state when the data transfer break mode is released.
KR1020140021204A 2014-02-24 2014-02-24 Electronic device and method for communicating data in the electronic device KR20150099979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140021204A KR20150099979A (en) 2014-02-24 2014-02-24 Electronic device and method for communicating data in the electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140021204A KR20150099979A (en) 2014-02-24 2014-02-24 Electronic device and method for communicating data in the electronic device

Publications (1)

Publication Number Publication Date
KR20150099979A true KR20150099979A (en) 2015-09-02

Family

ID=54241780

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140021204A KR20150099979A (en) 2014-02-24 2014-02-24 Electronic device and method for communicating data in the electronic device

Country Status (1)

Country Link
KR (1) KR20150099979A (en)

Similar Documents

Publication Publication Date Title
JP6858826B2 (en) How to provide notifications and their electronic devices
CN107852527B (en) Method of controlling sharing of video and electronic device adapted to the method
EP2990852B1 (en) Head-mounted display hosting a smartphone for providing virtual reality environment
EP3021562B1 (en) Method for sharing screen and electronic device thereof
KR102383103B1 (en) Electronic apparatus and screen diplaying method thereof
US9894275B2 (en) Photographing method of an electronic device and the electronic device thereof
KR20150141313A (en) Method and apparatus for processing information of electronic devices
US9826342B2 (en) Method for controlling sound output and an electronic device thereof
KR20170065228A (en) Device for Performing Wireless Charging and Method thereof
KR20150134906A (en) Method for sharing screen and electronic device thereof
KR20150055851A (en) Method and apparatus for connecting communication of electronic devices
KR20160111211A (en) Method for communicating data and electronic device there
KR20150099324A (en) Method for romote control between electronic devices and system therefor
EP3018919B1 (en) Method of transmitting and receiving data of electronic device and electronic device using the method
EP3409073B1 (en) Method and electronic device for providing tethering service
KR20150125464A (en) Method for displaying message and electronic device
KR20150135911A (en) Method of Displaying for User Interface Effect and Device therefor
KR20160049632A (en) Electrical Device for Sensing Lens and Operating Method
KR20150087085A (en) Electronic device controlling external device using dial and method thereof
KR20150086150A (en) User interface controlling method and apparatus
KR20150026775A (en) Method for controlling short range wireless communication and Apparatus applying the same
KR20150131697A (en) Method of managing disaster and electronic device thereof
EP3342180B1 (en) Method of detecting external devices and electronic device for processing same
KR20150133509A (en) Method for managing data flow and device for the same
KR102178301B1 (en) Method for controlling call forwarding information and electronic device thereof

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination