KR20120071838A - Method for updating presence in instant messenger and mobile terminal using the same - Google Patents

Method for updating presence in instant messenger and mobile terminal using the same Download PDF

Info

Publication number
KR20120071838A
KR20120071838A KR1020100133544A KR20100133544A KR20120071838A KR 20120071838 A KR20120071838 A KR 20120071838A KR 1020100133544 A KR1020100133544 A KR 1020100133544A KR 20100133544 A KR20100133544 A KR 20100133544A KR 20120071838 A KR20120071838 A KR 20120071838A
Authority
KR
South Korea
Prior art keywords
determined
acceleration value
state
determining
status information
Prior art date
Application number
KR1020100133544A
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 KR1020100133544A priority Critical patent/KR20120071838A/en
Publication of KR20120071838A publication Critical patent/KR20120071838A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PURPOSE: A state information updating method in an instant messenger and portable terminal using the same are provided to automatically update state information related to the real state of a user without directly establishing the state information. CONSTITUTION: A control unit senses the movement of a portable terminal in a login state connected to an instant messenger(302). The control unit determines state information according to the movement of the sensed portable terminal(303). The control unit transmits the determined state information to an intermediate server(304). The control unit updates the state information of the portable terminal by using the determined state information(305).

Description

인스턴트 메신저에서 상태 정보 갱신 방법 및 이를 이용한 휴대 단말기 {METHOD FOR UPDATING PRESENCE IN INSTANT MESSENGER AND MOBILE TERMINAL USING THE SAME} How to update status information in instant messenger and mobile terminal using same {METHOD FOR UPDATING PRESENCE IN INSTANT MESSENGER AND MOBILE TERMINAL USING THE SAME}

본 발명은 인스턴트 메신저에서 상태 정보 갱신 방법에 관한 것으로서, 특히 휴대 단말기의 움직임 상태를 판단하여 인스턴트 메신저에서의 상태 정보를 갱신하는 방법과 상기 방법을 구현하는 휴대 단말기에 관한 것이다.The present invention relates to a method of updating status information in an instant messenger, and more particularly, to a method of updating status information in an instant messenger by determining a motion state of the portable terminal and a portable terminal implementing the method.

최근 휴대 단말기 보급률의 급속한 증가로 휴대 단말기는 이제 현대인의 생활필수품으로 자리매김하게 되었다. 이와 같은 휴대 단말기는 고유의 음성 통화 서비스, 각종 데이터 전송 서비스와 다양한 부가서비스도 제공할 수 있게 되어 기능상 멀티미디어 통신기기로 변모하게 되었다. 그리고 데이터 전송 속도가 향상됨에 따라 휴대 단말기는 기존의 PC(Personal Computer)에서만 가능하던 인스턴트 메신저(Instant Messenger, IM) 서비스를 수행할 수 있게 되었다.With the recent rapid increase in the penetration rate of portable terminals, portable terminals are now becoming a necessity of modern man. Such a mobile terminal can provide a unique voice call service, various data transmission services, and various additional services, thereby becoming a functional multimedia communication device. As the data transmission speed is improved, the portable terminal can perform an instant messenger (IM) service that was available only in a personal computer (PC).

인스턴트 메신저는 사용자가 등록시켜 놓은 친구가 네트워크에 로그인 했을 때, 로그인 사실을 사용자에게 알려주고 상대방과 메시지를 주고받을 수 있도록 하는 기능을 갖는 클라이언트 소프트웨어에 해당한다. IM 프로그램을 통해 IM 서버에 접속하여 인스턴트 메신저 서비스를 받는 경우, 사용자는 별도의 브라우저를 실행시킬 필요가 없으며, 휴대 단말기에서 온라인 상태의 상대방을 선택하여 상대방과 대화를 주고 받을 수 있다. IM 서버는 접속 중인 휴대 단말기로부터 로그인/로그오프 정보, 현재 상태 정보 등을 수신하여 다른 휴대 단말기로 실시간으로 전송하는 프리젠스(presence) 서비스를 제공한다. 로그인 중인 사용자가 자신의 상태 정보를 설정하면 IM 서버는 상기 설정된 상태 정보를 다른 대화 상대에게 실시간으로 제공하게 된다. The instant messenger is a client software that has a function of notifying the user of login and sending and receiving a message when the friend registered by the user logs in to the network. When accessing an IM server through an IM program and receiving an instant messenger service, the user does not need to run a separate browser, and the user can select a partner in an online state to communicate with the partner. The IM server provides a presence service that receives login / logoff information, current status information, and the like from a connected mobile terminal and transmits the same to other portable terminals in real time. If the user who is logging in sets his or her status information, the IM server provides the set status information to other contacts in real time.

그런데 현재 상태 정보가 '온라인'으로 설정되어 있는데, 사용자가 실제로 인스턴트 메신저에 응답할 수 없는 상황인 경우, 대화 상대는 상기 사용자가 응답 가능한 상황인 것으로 오해하고 대화를 시작하는 경우가 발생할 수 있다. 즉, 사용자의 실제 상황이 상태 정보에 정확히 반영되지 않았다고 볼 수 있다. 사용자가 직접 상태 정보를 변경하지 않더라도 사용자의 실제 상황이 정확히 반영될 수 있도록 상태 정보를 갱신할 수 있는 방법이 필요할 것으로 판단된다.However, if the current status information is set to 'online', and the user cannot actually respond to the instant messenger, the conversation partner may misunderstand that the user is able to respond and may start a conversation. That is, it can be seen that the actual situation of the user is not accurately reflected in the status information. Even if the user does not directly change the status information, a method for updating the status information may be needed to accurately reflect the user's actual situation.

본 발명의 목적은 인스턴트 메신저 서비스에서 사용자의 실제 상황이 정확히 반영될 수 있도록 상태 정보를 갱신할 수 있는 방법과 상기 방법을 구현하는 휴대 단말기를 제공하는데 있다. SUMMARY OF THE INVENTION An object of the present invention is to provide a method for updating status information so that an actual situation of a user can be accurately reflected in an instant messenger service, and a portable terminal implementing the method.

본 발명의 실시예에 따른 휴대 단말기의 인스턴트 메신저(IM)에서의 상태 정보 갱신 방법은 인스턴트 메신저로의 로그인 상태에서 상기 휴대 단말기의 움직임을 감지하는 단계; 상기 감지된 휴대 단말기의 움직임에 따라 상태 정보를 결정하는 단계; 상기 결정된 상태 정보를 IM 서버로 송신하는 단계; 및 상기 결정된 상태 정보로 상기 휴대 단말기의 상태 정보를 갱신하는 단계를 포함하는 것을 특징으로 한다.According to an embodiment of the present invention, a method of updating status information in an instant messenger (IM) of a portable terminal may include detecting a movement of the portable terminal in a login state of the instant messenger; Determining state information according to the detected movement of the mobile terminal; Transmitting the determined status information to an IM server; And updating the state information of the portable terminal with the determined state information.

본 발명의 실시예에 따른 휴대 단말기는 인스턴트 메신저(IM)로의 로그인 상태에서 휴대 단말기의 움직임을 감지하는 움직임 센서부; 상기 감지된 휴대 단말기의 움직임에 따라 상태 정보를 결정하고, 상기 결정된 상태 정보로 상기 휴대 단말기의 상태 정보를 갱신하는 제어부; 및 상기 결정된 상태 정보를 IM 서버로 송신하는 무선통신부를 포함하는 것을 특징으로 한다.A mobile terminal according to an embodiment of the present invention includes a motion sensor unit for detecting a movement of the mobile terminal in a login state of an instant messenger (IM); A controller configured to determine state information according to the detected movement of the portable terminal, and update state information of the portable terminal with the determined state information; And a wireless communication unit for transmitting the determined state information to the IM server.

본 발명을 통하면 사용자가 직접 상태 정보를 설정하지 않더라도 사용자의 실제 상황이 반영된 상태 정보로 자동으로 갱신할 수 있다. According to the present invention, even if the user does not directly set the status information, the status information reflecting the user's actual situation can be automatically updated.

도 1은 본 발명의 실시예에 따른 인스턴트 메신저 서비스 시스템의 구성도이다.
도 2는 본 발명의 실시예에 따른 휴대 단말기(100)의 내부 구성도이다.
도 3은 본 발명의 실시예에 따른 휴대 단말기(100)의 인스턴트 메신저에서의 상태 정보 갱신 방법을 도시하는 순서도이다.
도 4는 본 발명의 실시예에 따른 도 3의 303단계의 세부 과정을 도시하는 순서도이다.
도 5는 본 발명의 다른 실시예에 따른 휴대 단말기(100)의 인스턴트 메신저에서의 상태 정보 갱신 방법을 도시하는 순서도이다.
도 6은 본 발명의 실시예에 따른 도 5의 503단계의 세부 과정을 도시하는 순서도이다.
도 7은 본 발명의 실시예에 따른 도 5의 503단계의 다른 세부 과정을 도시하는 순서도이다.
도 8a는 본 발명의 실시예에 따라 표시되는 휴대 단말기(100)의 화면의 예시도이다.
도 8b는 본 발명의 실시예에 따라 표시되는 상대방 휴대 단말기(400a, 400b)의 화면의 예시도이다.
도 8c는 본 발명의 실시예에 따라 표시되는 휴대 단말기(100)의 화면의 다른 예시도이다.
도 9a는 시간에 따른 가속도 값의 변화 추이를 나타내는 그래프이다.
도 9b는 시간에 따른 가속도 값의 변화 추이를 나타내는 그래프의 다른 실시예이다.
1 is a block diagram of an instant messenger service system according to an embodiment of the present invention.
2 is a diagram illustrating an internal configuration of a mobile terminal 100 according to an embodiment of the present invention.
3 is a flowchart illustrating a method of updating status information in an instant messenger of the mobile terminal 100 according to an embodiment of the present invention.
4 is a flowchart illustrating a detailed process of step 303 of FIG. 3 according to an embodiment of the present invention.
5 is a flowchart illustrating a method of updating status information in an instant messenger of the mobile terminal 100 according to another embodiment of the present invention.
6 is a flowchart illustrating a detailed process of step 503 of FIG. 5 according to an embodiment of the present invention.
7 is a flowchart illustrating another detailed process of step 503 of FIG. 5 according to an embodiment of the present invention.
8A is an exemplary diagram of a screen of a mobile terminal 100 displayed according to an embodiment of the present invention.
8B is an exemplary diagram of screens of counterpart mobile terminals 400a and 400b displayed according to an embodiment of the present invention.
8C is another exemplary diagram of a screen of the mobile terminal 100 displayed according to an embodiment of the present invention.
9A is a graph showing a change in acceleration value over time.
FIG. 9B is another embodiment of a graph showing a change in acceleration value over time. FIG.

본 발명에서 '온라인'은 사용자가 대화에 참여할 수 있는 상태를 의미한다. 본 발명에서 '온라인'은 '대화 참여 가능' 등과 같이 상대방의 대화 요청에 대해 응답할 수 있는 모든 상태 정보를 포함하는 의미로 사용된다. In the present invention, 'online' means a state in which the user can participate in the conversation. In the present invention, 'online' is used to include all the status information that can respond to the other party's request to talk, such as 'can participate in the conversation.'

본 발명에서 '자리 비움'은 사용자가 인스턴트 메신저에 로그인 하였지만 대화에 참여할 수 없는 상태를 의미한다. 본 발명에서 '자리 비움'은 '다른 용무 중', '회의 중', '통화 중' 등과 같이 상대방의 대화 요청에 대해 응답할 수 없는 모든 상태 정보를 포함하는 의미로 사용된다. In the present invention, 'away' refers to a state in which a user logs in to an instant messenger but cannot participate in a conversation. In the present invention, 'away' is used to include all the status information that can not respond to the other party's conversation request, such as 'busy', 'in a meeting', 'in a call' and the like.

이하, 본 발명에 따른 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명하기로 한다. 하기 설명은 본 발명의 실시 예에 따른 동작을 이해하는데 필요한 부분만을 설명하며, 그 이외 부분의 설명은 본 발명의 요지를 흩뜨리지 않도록 생략될 것이라는 것을 유의하여야 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the following description describes only those parts necessary for understanding the operation according to the embodiment of the present invention, and descriptions of other parts will be omitted so as not to distract from the gist of the present invention.

이하에서 설명되는 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서 본 명세서에 기재된 실시 예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다.The terms or words used in the specification and claims described below should not be construed as being limited to the ordinary or dictionary meanings, and the inventors should properly introduce the concept of terms in order to explain their invention in the best way. It should be interpreted as meanings and concepts in accordance with the technical spirit of the present invention based on the principle that it can be defined. Therefore, the embodiments described in the present specification and the configuration shown in the drawings are only the most preferred embodiments of the present invention, and do not represent all of the technical ideas of the present invention, and various alternatives may be substituted at the time of the present application. It should be understood that there may be equivalents and variations.

도 1은 본 발명의 실시예에 따른 인스턴트 메신저 서비스 시스템의 구성도이다. 인스턴트 메신저 서비스 시스템은 휴대 단말기(100, 400a, 400b), 이동통신망(200) 및 IM(Instant Messenger) 서버(300)를 포함한다. 1 is a block diagram of an instant messenger service system according to an embodiment of the present invention. The instant messenger service system includes a mobile terminal (100, 400a, 400b), a mobile communication network 200 and an IM (Instant Messenger) server 300.

휴대 단말기(100, 400a, 400b)는 이동통신 가입자가 휴대하는 장치로서, 이동통신망(200)을 통한 인터넷 접속 기능을 지원하며, IM 서비스를 제공하는 IM 서버(300)와의 접속을 위한 IM 어플리케이션이 설치된다. 이하에서는 상태 정보를 변경하는 사용자 휴대 단말기(100) 및 휴대 단말기(100)의 상태 정보를 IM 서버(300)로부터 수신하는 상대방 휴대 단말기(400a, 400b)로 구분하여 설명하기로 한다. 사용자 휴대 단말기(100)는 상태 정보 변경 시, 변경된 상태 정보를 IM 서버(300)로 전송하고, 상대방 휴대 단말기(400a, 400b)는 IM 서버(300)로부터 사용자 휴대 단말기(100)의 상태 정보를 수신하고, 수신된 상태 정보에 따라 상태 정보를 나타내는 문구 또는 아이콘을 변경하여 표시한다. 휴대 단말기(100)의 세부 구성은 도 2에서 구체적으로 설명한다. The mobile terminals 100, 400a, and 400b are devices carried by mobile subscribers, support an Internet connection function through the mobile communication network 200, and have an IM application for connection with an IM server 300 that provides an IM service. Is installed. Hereinafter, the user portable terminal 100 for changing the status information and the state information of the mobile terminal 100 will be described by dividing the mobile terminal 400a, 400b from the other party receiving the IM server 300. The user portable terminal 100 transmits the changed status information to the IM server 300 when the status information is changed, and the counterpart portable terminals 400a and 400b receive the status information of the user portable terminal 100 from the IM server 300. In response to the received status information, the phrase or icon indicating the status information is changed and displayed. The detailed configuration of the mobile terminal 100 will be described in detail with reference to FIG. 2.

이동통신망(200)은 휴대 단말기(100, 400a, 400b)와 IM 서버(300)와의 통신을 매개하며, 휴대 단말기(100, 400a, 400b)로부터 수신하는 정보를 IM 서버(300)로 전송하며, IM 서버(300)로부터 수신하는 정보를 휴대 단말기(100, 400a, 400b)로 전송하는 역할을 수행한다. 이동통신망(200)은 무선 통신망, 패킷 교환망(PSN; Packet Switched Network), 통합 서비스 디지털망(ISDN; Integrated Services Digital Network), 광대역 종합 정보 통신망(B-ISDN; Broadband Integrated Services Digital Network) 등으로 구성될 수 있다. The mobile communication network 200 mediates communication between the mobile terminals 100, 400a and 400b and the IM server 300, and transmits information received from the mobile terminals 100, 400a and 400b to the IM server 300. It transmits the information received from the IM server 300 to the mobile terminal (100, 400a, 400b). The mobile communication network 200 includes a wireless communication network, a packet switched network (PSN), an integrated services digital network (ISDN), and a broadband integrated services digital network (B-ISDN). Can be.

IM 서버(300)는 인스턴트 메신저 서비스를 제공하는 서버에 해당한다. IM 서버(300)는 사용자 식별자(User ID)로 사용자들을 구분하고, 각 사용자들의 상태 정보, 수신모드, 대화 상대 리스트 및 사용자 환경 정보를 관리하며, 접속 중인 사용자들 간에 메시지를 전달하는 역할을 수행한다. IM 서버(300)는 휴대 단말기(100, 400a, 400b)로부터 로그인/로그오프 신호, 상태 정보 신호 등을 수신하여 로그인/로그오프 상태, 상태 정보 등을 대화 상대에게 실시간으로 알려주는 프리젠스(presence) 서비스를 제공한다. The IM server 300 corresponds to a server that provides an instant messenger service. The IM server 300 divides users by user ID, manages status information, reception mode, contact list and user environment information of each user, and transfers messages between connected users. do. The IM server 300 receives a login / logoff signal, a status information signal, and the like from the mobile terminals 100, 400a, and 400b to notify the contact in real time of the login / logoff status and status information. Provide services.

도 2는 본 발명의 실시예에 따른 휴대 단말기(100)의 내부 구성도이다. 본 발명의 휴대 단말기(100)는 무선통신부(110), 오디오처리부(120), 움직임 센서부(130), 저장부(140), 입력부(150), 표시부(160) 및 제어부(170)를 포함한다. 2 is a diagram illustrating an internal configuration of a mobile terminal 100 according to an embodiment of the present invention. The mobile terminal 100 of the present invention includes a wireless communication unit 110, an audio processing unit 120, a motion sensor unit 130, a storage unit 140, an input unit 150, a display unit 160, and a controller 170. do.

무선통신부(110)는 휴대 단말기(100)의 무선 통신을 위한 해당 데이터의 송수신 기능을 수행한다. 무선통신부(110)는 송신되는 신호의 주파수를 상승 변환 및 증폭하는 RF송신기와, 수신되는 신호를 저 잡음 증폭하고 주파수를 하강 변환하는 RF수신기 등으로 구성될 수 있다. 또한, 무선통신부(110)는 무선 채널을 통해 데이터를 수신하여 제어부(170)로 출력하고, 제어부(170)로부터 출력된 데이터를 무선 채널을 통해 전송할 수 있다. 본 발명에서 무선통신부(110)는 상태 정보 신호를 이동통신망(200)을 통해 IM 서버(300)로 전송하는 역할을 수행한다.The wireless communication unit 110 performs a function of transmitting and receiving corresponding data for wireless communication of the mobile terminal 100. The wireless communication unit 110 may include an RF transmitter for upconverting and amplifying a frequency of a transmitted signal, and an RF receiver for low noise amplifying and downconverting a received signal. In addition, the wireless communication unit 110 may receive data through a wireless channel, output the data to the controller 170, and transmit data output from the controller 170 through a wireless channel. In the present invention, the wireless communication unit 110 transmits the status information signal to the IM server 300 through the mobile communication network 200.

오디오처리부(120)는 코덱(CODEC)으로 구성될 수 있으며, 코덱은 패킷 데이터 등을 처리하는 데이터 코덱과 음성 등의 오디오 신호를 처리하는 오디오 코덱으로 구성될 수 있다. 오디오 처리부(120)는 디지털 오디오 신호를 오디오 코덱을 통해 아날로그 오디오 신호로 변환하여 스피커(SPK)를 통해 재생하고, 마이크(MIC)로부터 입력되는 아날로그 오디오 신호를 오디오 코덱을 통해 디지털 오디오 신호로 변환한다. The audio processor 120 may include a codec, and the codec may include a data codec for processing packet data and an audio codec for processing an audio signal such as voice. The audio processor 120 converts the digital audio signal into an analog audio signal through an audio codec, plays back through a speaker SPK, and converts an analog audio signal input from a microphone MIC into a digital audio signal through an audio codec. .

움직임 센서부(130)는 사용자가 휴대 단말기(100)에 가하는 움직임을 감지하는 구성요소에 해당한다. 본 발명의 실시예에 따른 움직임 센서부(130)는 가속도 센서(acceleration sensor)로 구성됨이 바람직하다. 그러나 이에 한정되는 것은 아니며, 움직임 센서부(130)는 자이로 센서(gyro sensor), 지자기 센서(terrestrial magnetic sensor) 등으로도 구성될 수 있다. 본 발명에서 움직임 센서부(130)는 사용자로부터 입력되는 움직임을 감지하고, 가속도 값에 관한 정보를 포함하는 감지 신호를 발생시켜 제어부(170)로 전송한다. The motion sensor unit 130 corresponds to a component that detects a movement applied by the user to the mobile terminal 100. Motion sensor unit 130 according to an embodiment of the present invention is preferably composed of an acceleration sensor (acceleration sensor). However, the present invention is not limited thereto, and the motion sensor unit 130 may also include a gyro sensor, a terrestrial magnetic sensor, or the like. In the present invention, the motion sensor unit 130 detects a motion input from the user, generates a detection signal including information on the acceleration value, and transmits the detection signal to the controller 170.

저장부(140)는 휴대 단말기(100)의 동작에 필요한 프로그램 및 데이터를 저장하는 역할을 수행하며, 프로그램 영역과 데이터 영역으로 구분될 수 있다. 프로그램 영역은 휴대 단말기(100)의 전반적인 동작을 제어하는 프로그램 및 휴대 단말기(100)를 부팅시키는 운영체제(OS, Operating System), 멀티미디어 컨텐츠 재생 등에 필요한 응용 프로그램, 휴대 단말기(100)의 기타 옵션 기능, 예컨대, 카메라 기능, 소리 재생 기능, 이미지 또는 동영상 재생 기능에 필요한 응용 프로그램 등을 저장할 수 있다. 데이터 영역은 휴대 단말기(100)의 사용에 따라 발생하는 데이터가 저장되는 영역으로서, 이미지, 동영상, 폰 북, 오디오 데이터 등을 저장할 수 있다. 본 발명에서 저장부(140)는 IM 어플리케이션을 저장한다. 또한 저장부(140)는 상태 정보를 나타내는 그래픽 데이터(graphic data), 상태 정보를 변경 설정하는데 있어 가속도 값 비교의 기준치가 되는 임계 가속도 값(Ath)을 저장한다. 본 발명의 실시예에 따라 저장부(140)는 복수의 임계 가속도 값(예를 들어, 제1임계 가속도 값(A1), 제2임계 가속도 값(A2) 등)들을 저장할 수 있다. 또한 저장부(140)는 변경 전의 상태 정보로 복귀하기 위해 필요한 상태 복귀 타이머 주기 값을 저장할 수 있다. The storage 140 stores a program and data necessary for the operation of the portable terminal 100 and may be divided into a program area and a data area. The program area may include a program for controlling the overall operation of the mobile terminal 100, an operating system (OS) for booting the mobile terminal 100, an application required for multimedia content playback, other optional functions of the mobile terminal 100, For example, an application program required for a camera function, a sound reproduction function, an image or a video reproduction function, and the like can be stored. The data area is an area in which data generated according to the use of the mobile terminal 100 is stored, and may store an image, a video, a phone book, and audio data. In the present invention, the storage unit 140 stores the IM application. In addition, the storage 140 stores graphic data indicating state information and a threshold acceleration value Ath that is a reference value for comparing acceleration values in setting and changing the state information. According to an exemplary embodiment of the present disclosure, the storage 140 may store a plurality of threshold acceleration values (eg, a first critical acceleration value A1, a second critical acceleration value A2, and the like). In addition, the storage 140 may store a state return timer period value necessary to return to the state information before the change.

입력부(150)는 휴대 단말기(100)를 제어하기 위한 사용자의 키 조작 신호를 입력받아 제어부(170)로 전달한다. 입력부(150)는 3*4 패드, Qwerty 패드 등 숫자 키, 문자 키, 방향키를 포함하는 키패드로 구성될 수 있으며, 터치 패널(touch panel)로 구성될 수 있다. 이외에도 입력부(150)는 버튼 키(button key), 조그 키(jog key), 휠 키(wheel key)로 구성될 수 있다. 입력부(150)는 사용자 입력에 따라 휴대 단말기(100)의 어플리케이션들(통화 기능, 음악 재생 기능, 동영상 재생 기능, 이미지 디스플레이 기능, 카메라 촬영 기능, DMB 방송 출력 기능 등)을 실행하는 입력 신호를 생성하여 제어부(170)에 전달한다.The input unit 150 receives a key manipulation signal of a user for controlling the portable terminal 100 and transmits the signal to the controller 170. The input unit 150 may be configured as a keypad including numeric keys, character keys, and direction keys, such as a 3 * 4 pad and a Qwerty pad, and may be configured as a touch panel. In addition, the input unit 150 may include a button key, a jog key, and a wheel key. The input unit 150 generates an input signal for executing applications (call function, music play function, video play function, image display function, camera shooting function, DMB broadcast output function, etc.) of the mobile terminal 100 according to a user input. To the control unit 170.

표시부(160)는 액정표시장치(LCD, Liquid Crystal Display), 유기 발광 다이오드(OLED, Organic Light Emitting Diodes), 능동형 유기 발광 다이오드(AMOLED, Active Matrix Organic Light Emitting Diodes) 등으로 형성될 수 있으며, 휴대 단말기(100)의 메뉴, 입력된 데이터, 기능 설정 정보 및 기타 다양한 정보를 사용자에게 시각적으로 제공한다. 표시부(160)는 휴대 단말기(100)의 부팅 화면, 대기 화면, 메뉴 화면, 통화 화면, 기타 어플리케이션 화면을 출력하는 기능을 수행한다. 본 발명에서 표시부(160)는 휴대 단말기(100)의 상태 정보를 나타내는 문구 또는 아이콘을 표시한다. 본 발명의 실시예에 따라 표시부(160)는 변경 전의 상태 정보로의 복귀를 위한 타이머 구동 시, 상태 복귀까지의 잔여 시간을 표시할 수 있다. The display unit 160 may be formed of a liquid crystal display (LCD), organic light emitting diodes (OLEDs), active matrix organic light emitting diodes (AMOLEDs), and the like. A menu, input data, function setting information, and various other information of the terminal 100 are visually provided to the user. The display unit 160 performs a function of outputting a boot screen, a standby screen, a menu screen, a call screen, and other application screens of the mobile terminal 100. In the present invention, the display unit 160 displays a phrase or an icon indicating status information of the mobile terminal 100. According to an exemplary embodiment of the present invention, the display unit 160 may display the remaining time until the state return when the timer for the return to the state information before the change is driven.

제어부(170)는 휴대 단말기(100)의 각 구성 요소에 대한 전반적인 동작을 제어한다. 본 발명에서 제어부(170)는 무선통신부(110)를 제어하여 IM 서버(300)로의 로그인을 수행한다. 휴대 단말기(100)의 상태 정보가 온라인인 상태에서 제어부(170)는 움직임 센서부(130)를 통해 휴대 단말기(100)의 움직임을 감지한다. 휴대 단말기(100)의 움직임을 감지하면, 제어부(170)는 휴대 단말기(100)의 움직임에 따라 상태 정보를 결정한다. 제어부(170)는 휴대 단말기(100)의 움직임의 가속도 값을 측정하고, 측정된 가속도 값을 기준 가속도 값과 비교하여 상태 정보를 결정한다. 제어부(170)는 무선통신부(110)를 통해 결정된 상태 정보를 IM 서버(300)로 전송한다. 또한 제어부(170)는 상기 결정된 상태 정보로 휴대 단말기(100)의 상태 정보를 갱신한다. 이 때, 제어부(170)는 표시부(160)를 제어하여 갱신된 상태 정보에 해당하는 문구 또는 아이콘을 표시할 수 있다. 제어부(170)는 무선통신부(110)를 통해 상태 정보를 IM 서버(300)로 전송하면서, 상태 정보에 대응하는 IM 메시지를 함께 전송할 수 있다. The controller 170 controls the overall operation of each component of the mobile terminal 100. In the present invention, the controller 170 controls the wireless communication unit 110 to log in to the IM server 300. When the state information of the mobile terminal 100 is online, the controller 170 detects the movement of the mobile terminal 100 through the motion sensor unit 130. When the movement of the portable terminal 100 is detected, the controller 170 determines state information according to the movement of the portable terminal 100. The controller 170 measures the acceleration value of the movement of the mobile terminal 100 and compares the measured acceleration value with a reference acceleration value to determine state information. The controller 170 transmits the state information determined through the wireless communication unit 110 to the IM server 300. In addition, the controller 170 updates the state information of the mobile terminal 100 with the determined state information. In this case, the controller 170 may control the display unit 160 to display a phrase or an icon corresponding to the updated state information. The controller 170 may transmit the IM message corresponding to the status information while transmitting the status information to the IM server 300 through the wireless communication unit 110.

제어부(170)는 상태 정보 결정 시, 휴대 단말기(100)의 움직임의 가속도 값(a)을 측정하고, 측정된 가속도 값(a)을 기 설정된 임계 가속도 값(Ath)과 비교하여, a가 Ath 이상인 것으로 판단하는 경우, 상태 정보를 '자리 비움'으로 결정할 수 있으며, a가 Ath 미만인 것으로 판단하는 경우, 상태 정보를 '온라인'으로 유지할 수 있다. 또한 제어부(170)는 상태 정보 결정 시, 측정된 가속도 값(a)을 제1임계 가속도 값(A1) 및 제2임계 가속도 값(A2)과 비교하여, a가 A1 미만인 것으로 판단하는 경우, 상태 정보를 '온라인'으로 유지하며, a가 A1 이상 및 A2 미만인 것으로 판단하는 경우, 상태 정보를 '온라인과 자리 비움의 중간 상태'로 결정할 수 있으며, a가 A2 이상인 것으로 판단하는 경우, 상태 정보를 '자리 비움'으로 결정할 수 있다. When determining the state information, the controller 170 measures the acceleration value a of the movement of the mobile terminal 100 and compares the measured acceleration value a with a predetermined threshold acceleration value Ath, where a is Ath. In the case of determining that the error is abnormal, the status information may be determined as 'away', and when determining that a is less than Ath, the status information may be maintained as 'online'. In addition, when determining the state information, the controller 170 compares the measured acceleration value a with the first threshold acceleration value A1 and the second threshold acceleration value A2 and determines that a is less than A1. If the information is kept 'online' and a is determined to be greater than or equal to A1 and less than A2, the status information may be determined as 'intermediate between online and away', and if a is determined to be greater than or equal to A2, You can decide to 'away'.

본 발명의 실시예에 따라 제어부(170)는 휴대 단말기(100)의 움직임에 따라 상태 정보를 결정할 때, 상태 복귀 타이머 주기를 함께 결정할 수 있다. 이 때, 제어부(170)는 결정된 상태 정보로 휴대 단말기(100)의 상태 정보를 갱신하면서, 결정된 상태 복귀 타이머 주기로 타이머를 구동한다. 또한 제어부(170)는 타이머가 만료됨을 인식하면, 무선통신부(110)를 통해 '온라인'의 상태 정보를 IM 서버(300)로 송신하며, '온라인'으로 휴대 단말기(100)의 상태 정보를 갱신한다. According to an exemplary embodiment of the present invention, the controller 170 may determine the state return timer period when determining the state information according to the movement of the portable terminal 100. At this time, the controller 170 updates the state information of the portable terminal 100 with the determined state information, and drives the timer at the determined state return timer period. In addition, when the controller 170 recognizes that the timer expires, the controller 170 transmits the status information of 'online' to the IM server 300 through the wireless communication unit 110, and updates the status information of the mobile terminal 100 in 'online'. do.

제어부(170)는 상태 복귀 타이머 주기 결정 시, 일정 주기 동안 가속도 방향의 변경 횟수(n)를 측정하고, 측정된 n에 따라 상태 복귀 타이머 주기를 결정할 수 있다. 본 발명의 실시예에 따라 제어부(170)는 측정된 n이 기 설정된 임계 횟수(Nth) 이상인지 판단하고, 이상인 것으로 판단하면, 상태 복귀 타이머 주기를 T1로 결정하고, 미만인 것으로 판단하면, 상태 복귀 타이머 주기를 T1보다 작은 값인 T2로 결정할 수 있다. When determining the state return timer period, the controller 170 may measure the number of times of change of the acceleration direction during a predetermined period and determine the state return timer period according to the measured n. According to an exemplary embodiment of the present invention, the control unit 170 determines whether the measured n is equal to or greater than a predetermined threshold number Nth, and if it is determined to be abnormal, determines the state return timer period to be T1, and if it is determined to be less than, returns to the state. The timer period may be determined as T2, which is less than T1.

또한 제어부(170)는 상태 복귀 타이머 주기 결정 시, 가속도 값 변화의 패턴을 분석하여 사용자에 의해 입력된 움직임이 흔들기 동작인지 여부를 판단한다. 흔들기 동작인 것으로 판단하는 경우, 제어부(170)는 흔들기 동작의 횟수(n)를 측정하고, 단위 상태 복귀 타이머 주기(T)에 n을 곱한 값으로 상태 복귀 타이머 주기를 설정할 수 있다.In addition, when determining the state return timer period, the controller 170 analyzes the pattern of the acceleration value change to determine whether the movement input by the user is a shaking motion. When determining that the shaking operation is performed, the controller 170 may measure the number n of shaking operations, and set the state return timer period to a value obtained by multiplying the unit state return timer period T by n.

상대방 휴대 단말기인 휴대 단말기(400a, 400b) 역시 도 2의 휴대 단말기(100)의 구성과 동일한 구성을 가질 수 있다. 휴대 단말기(400a, 400b)의 제어부(170)는 무선통신부(110)를 통해 IM 서버(300)로부터 휴대 단말기(100)의 상태 정보를 수신하고, 표시부(160)를 제어하여 휴대 단말기(100)의 상태 정보에 대응하는 그래픽을 표시할 수 있다. 휴대 단말기(100)의 '온라인' 상태 정보를 수신하는 경우, 휴대 단말기(400a, 400b)의 제어부(170)는 표시부(160)를 제어하여 친구 목록에서 휴대 단말기(100)의 사용자에 해당하는 상태 정보 아이콘을 '온라인'을 나타내는 아이콘으로 표시하고, '자리 비움' 상태 정보를 수신하는 경우, 상태 정보 아이콘을 '자리 비움'을 나타내는 아이콘으로 표시할 수 있다. 휴대 단말기(100)의 상태 정보로서 '온라인과 자리 비움의 중간 상태'를 수신하는 경우, 휴대 단말기(400a, 400b)의 제어부(170)는 표시부(160)를 제어하여 '온라인'을 나타내는 아이콘과 '자리 비움'을 나타내는 아이콘을 토글(toggle)로 번갈아 가면서 표시할 수 있다.The portable terminals 400a and 400b which are the counterpart portable terminals may also have the same configuration as that of the portable terminal 100 of FIG. 2. The controller 170 of the mobile terminals 400a and 400b receives the state information of the mobile terminal 100 from the IM server 300 through the wireless communication unit 110, and controls the display unit 160 to control the mobile terminal 100. A graphic corresponding to the state information of may be displayed. When receiving the 'online' status information of the mobile terminal 100, the control unit 170 of the mobile terminals 400a and 400b controls the display unit 160 to correspond to a user of the mobile terminal 100 in the friend list. When the information icon is displayed as an icon representing 'online' and the 'away' status information is received, the status information icon may be displayed as an icon representing 'away'. When receiving the "intermediate state between online and away" as the state information of the mobile terminal 100, the control unit 170 of the mobile terminal (400a, 400b) controls the display unit 160 and the icon indicating 'online' and Icons that indicate 'away' can be toggled alternately.

또한 IM 서버(300)로부터 휴대 단말기(100)의 상태 정보와 관련된 IM 메시지를 함께 수신하는 경우, 휴대 단말기(400a, 400b)의 제어부(170)는 표시부(160)를 제어하여 친구 목록 화면 중 휴대 단말기(100)의 사용자가 표시되는 영역에 상기 수신한 IM 메시지를 표시할 수 있다. 본 발명의 실시예에 따라 휴대 단말기(400a, 400b)의 제어부(170)는 표시부(160)를 제어하여 휴대 단말기(100)의 사용자와의 대화 창을 열고, 상기 대화 창에 휴대 단말기(100)의 상태 정보와 관련된 IM 메시지를 표시할 수 있다. In addition, when receiving the IM message related to the status information of the mobile terminal 100 from the IM server 300, the control unit 170 of the mobile terminal (400a, 400b) controls the display unit 160 to carry the portable list of friends The received IM message may be displayed in an area where a user of the terminal 100 is displayed. According to an exemplary embodiment of the present invention, the controller 170 of the mobile terminals 400a and 400b controls the display unit 160 to open a chat window with the user of the mobile terminal 100, and the mobile terminal 100 is displayed in the chat window. It can display an IM message related to the status information of.

이상으로 본 발명의 상태 정보 갱신 방법을 구현하는 휴대 단말기(100)의 구성에 대해 설명하였으며, 이하에서는 상태 정보 갱신 방법의 구체적인 과정을 설명한다.The configuration of the mobile terminal 100 for implementing the method for updating status information of the present invention has been described above. Hereinafter, a detailed process of the status information updating method will be described.

도 3은 본 발명의 실시예에 따른 휴대 단말기(100)의 인스턴트 메신저에서의 상태 정보 갱신 방법을 도시하는 순서도이다. 3 is a flowchart illustrating a method of updating status information in an instant messenger of the mobile terminal 100 according to an embodiment of the present invention.

301단계에서 제어부(170)는 휴대 단말기(100)의 상태 정보를 '온라인'으로 설정한다. 제어부(170)는 사용자의 입력에 따라 IM 어플리케이션을 실행하며, 사용자 아이디(User ID) 및 패스워드(password)를 입력받으면, 입력된 사용자 아이디 및 패스워드를 포함하는 로그인 요청 메시지를 생성하고, 생성된 로그인 요청 메시지를 무선통신부(110)를 제어하여 IM 서버(300)로 송신한다. 제어부(170)가 무선통신부(110)를 통해 IM 서버(300)로부터 로그인 성공 알림 메시지를 수신하면, IM 서버(300)에 로그인되었음을 인식하고, 상태 정보를 '온라인'으로 설정한다. 본 발명의 실시예에 따라 사용자가 기본 상태 정보를 '온라인'이외의 다른 상태 정보로 미리 설정해 놓은 경우, 제어부(170)는 로그인 후 현재의 상태 정보를 상기 설정해 놓은 상태 정보로 설정할 수 있다. In step 301, the controller 170 sets the status information of the mobile terminal 100 to 'online'. The controller 170 executes an IM application according to a user's input. When the control unit 170 receives a user ID and a password, the controller 170 generates a login request message including the input user ID and password, and generates the login. The request message is controlled by the wireless communication unit 110 and transmitted to the IM server 300. When the controller 170 receives the login success notification message from the IM server 300 through the wireless communication unit 110, the controller 170 recognizes that the user has logged in to the IM server 300, and sets status information to 'online'. According to an embodiment of the present invention, when the user presets the basic state information to other state information other than 'online', the controller 170 may set the current state information to the set state information after the login.

302단계에서 제어부(170)는 움직임 센서부(130)를 통해 휴대 단말기(100)의 움직임이 감지되는지 판단한다. 사용자는 급한 일이 발생한 경우, 휴대 단말기(100)를 휴대한 상태로 다른 곳으로 신속하게 이동할 수 있다. 휴대 단말기(100) 내에 구비된 움직임 센서부(130)는 휴대 단말기(100)의 움직임을 감지하고 가속도 변화 데이터를 포함하는 감지 신호를 발생시켜 제어부(170)로 전송한다. 제어부(170)는 움직임 센서부(130)로부터 가속도 변화 데이터를 포함하는 감지 신호를 수신하면 휴대 단말기(100)의 움직임이 감지되었다고 판단하게 된다. In step 302, the controller 170 determines whether the movement of the mobile terminal 100 is detected through the motion sensor 130. When a user has an urgent matter, the user can quickly move to another place while carrying the portable terminal 100. The motion sensor unit 130 included in the portable terminal 100 detects a movement of the portable terminal 100, generates a detection signal including acceleration change data, and transmits the detected signal to the controller 170. When the controller 170 receives the detection signal including the acceleration change data from the motion sensor unit 130, the controller 170 determines that the movement of the portable terminal 100 is detected.

휴대 단말기(100)의 움직임이 감지되면, 제어부(170)는 303단계에서 휴대 단말기(100)의 움직임에 따라 상태 정보를 결정한다. 제어부(170)는 휴대 단말기(100) 움직임의 가속도 값을 측정하고, 측정된 가속도 값에 따라 휴대 단말기(100)의 상태 정보를 결정하게 된다. 303단계의 세부 과정은 도 4에서 구체적으로 설명하기로 한다. When the movement of the portable terminal 100 is detected, the controller 170 determines state information according to the movement of the portable terminal 100 in step 303. The controller 170 measures the acceleration value of the movement of the mobile terminal 100 and determines the state information of the mobile terminal 100 according to the measured acceleration value. A detailed process of step 303 will be described in detail with reference to FIG. 4.

도 4는 본 발명의 실시예에 따른 도 3의 303단계의 세부 과정을 도시하는 순서도이다. 4 is a flowchart illustrating a detailed process of step 303 of FIG. 3 according to an embodiment of the present invention.

401단계에서 제어부(170)는 움직임 센서부(130)로부터 수신한 감지 신호 내에 포함된 가속도 값(a)과 기 설정된 제1임계 가속도 값(A1)을 비교하여, a가 A1 이상인지 판단한다. 제어부(170)는 움직임 센서부(130)로부터 감지 신호를 수신하면, 감지 신호로부터 가속도 값(a)을 측정하고, 측정된 가속도 값(a)을 기 설정된 제1임계 가속도 값(A1)과 비교하게 된다. 본 발명에서 제1임계 가속도 값(A1)은 휴대 단말기(100)의 상태 정보를 '온라인'에서 다른 상태 정보로 변경하기 위한 임계치에 해당한다. 따라서 401단계에서 가속도 값(a)이 제1임계 가속도 값(A1)보다 작다고 판단하는 경우, 제어부(170)는 405단계로 진행하여 상태 정보를 '온라인'으로 유지한다. In step 401, the controller 170 compares the acceleration value a included in the detection signal received from the motion sensor unit 130 with the preset first threshold acceleration value A1, and determines whether a is equal to or greater than A1. When the control unit 170 receives the detection signal from the motion sensor unit 130, the controller 170 measures the acceleration value a from the detection signal, and compares the measured acceleration value a with the preset first threshold acceleration value A1. Done. In the present invention, the first threshold acceleration value A1 corresponds to a threshold for changing the state information of the mobile terminal 100 from 'online' to other state information. Therefore, when it is determined in step 401 that the acceleration value a is smaller than the first critical acceleration value A1, the controller 170 proceeds to step 405 and maintains the status information as 'online'.

401단계에서 측정된 가속도 값(a)이 제1임계 가속도 값(A1) 이상인 것으로 판단하는 경우, 제어부(170)는 402단계로 진행하여 측정된 가속도 값이 제2임계 가속도 값(A2) 미만에 해당하는지 판단한다. 본 발명에서 제2임계 가속도 값(A2)은 제1임계 가속도 값(A1)보다 큰 값으로서, 휴대 단말기(100)의 상태 정보를 '온라인과 자리 비움의 중간 상태' 및 '자리 비움' 중 어느 하나로 결정하기 위한 임계치에 해당한다. If it is determined that the acceleration value a measured in step 401 is greater than or equal to the first critical acceleration value A1, the controller 170 proceeds to step 402 and the measured acceleration value is less than the second critical acceleration value A2. Determine if applicable. In the present invention, the second critical acceleration value A2 is greater than the first critical acceleration value A1, and the state information of the mobile terminal 100 may be changed from 'intermediate state between online and away' and 'away'. Corresponds to the threshold for determining one.

402단계에서 측정된 가속도 값(a)이 제2임계 가속도 값(A2) 미만인 것으로 판단하는 경우, 제어부(170)는 403단계로 진행하여 휴대 단말기(100)의 상태 정보를 '온라인과 자리 비움의 중간 상태'로 결정하고, a가 A2 이상인 것으로 판단하는 경우, 제어부(170)는 404단계로 진행하여 휴대 단말기(100)의 상태 정보를 '자리 비움'으로 결정한다. If it is determined in step 402 that the acceleration value (a) is less than the second critical acceleration value (A2), the control unit 170 proceeds to step 403 to determine the status information of the mobile terminal 100 'online and away' If it is determined that the 'intermediate state' and a is equal to or greater than A2, the controller 170 proceeds to step 404 and determines the state information of the mobile terminal 100 to be away.

본 발명의 실시예에 따라 휴대 단말기(100)에는 하나의 임계 가속도 값(Ath)만이 설정되어 있을 수 있다. 이 경우, 제어부(170)는 측정된 가속도 값(a)이 상기 임계 가속도 값(Ath) 이상인지 여부를 판단하고, 이상인 것으로 판단하면, 휴대 단말기(100)의 상태 정보를 '자리 비움'으로 결정하고, 미만인 것으로 판단하면, 휴대 단말기(100)의 상태 정보를 '온라인'으로 유지할 수 있다. According to an exemplary embodiment of the present invention, only one threshold acceleration value Ath may be set in the mobile terminal 100. In this case, the controller 170 determines whether the measured acceleration value a is greater than or equal to the threshold acceleration value Ath, and if it is determined to be abnormal, determines the state information of the mobile terminal 100 to be away. If it is determined to be less than, the status information of the mobile terminal 100 can be maintained as 'online'.

또한 본 발명의 실시예에 따라 휴대 단말기(100)에는 세 개 이상의 임계 가속도가 설정될 수도 있다. 세 개의 임계 가속도 값(A1, A2, A3)이 설정된 경우를 예를 들어 설명하면, 제어부(170)는 측정된 가속도 값(a)이 제1임계 가속도 값(A1) 이상인지 여부를 판단하고, 이상인 것으로 판단하면, a가 제2임계 가속도 값(A2) 미만인지, a가 제2임계 가속도 값(A2) 이상 제3임계 가속도 값(A3) 미만인지 또는 a가 제3임계 가속도 값(A3) 이상인지를 판단한다. a가 제2임계 가속도 값(A2) 미만인 것으로 판단하면, 제어부(170)는 휴대 단말기(100)의 상태 정보를 '온라인에 가까운 온라인과 자리 비움의 중간 상태' 또는 '(약) 간헐적 텍스트 입력 불가'로 결정하고, a가 제2임계 가속도 값(A2) 이상 제3임계 가속도 값(A3) 미만인 것으로 판단하면, 휴대 단말기(100)의 상태 정보를 '자리 비움에 가까운 온라인과 자리 비움의 중간 상태' 또는 '(강) 간헐적 텍스트 입력 불가'로 결정하며, a가 제3임계 가속도 값(A3) 이상인 것으로 판단하면, 휴대 단말기(100)의 상태 정보를 '자리 비움' 또는 '단말기 조작 불가'로 결정할 수 있다. In addition, according to an embodiment of the present invention, three or more threshold accelerations may be set in the mobile terminal 100. For example, when the three critical acceleration values A1, A2, and A3 are set, the controller 170 determines whether the measured acceleration value a is equal to or greater than the first threshold acceleration value A1, If it is determined that it is above, whether a is less than the second threshold acceleration value A2, a is greater than or equal to the second threshold acceleration value A2 and less than the third threshold acceleration value A3, or a is the third threshold acceleration value A3. Determine if it is abnormal. If it is determined that a is less than the second threshold acceleration value A2, the controller 170 may not input the status information of the mobile terminal 100 to an intermediate state between online and away from online or intermittent text input. ', And if a is determined to be less than or equal to the second critical acceleration value A2 and less than the third critical acceleration value A3, the status information of the mobile terminal 100 is determined to be' an intermediate state between online and away '. 'Or' (strong) intermittent text cannot be input, and if a is determined to be greater than or equal to the third threshold acceleration value A3, the status information of the mobile terminal 100 is set to 'away' or 'non-operating terminal'. You can decide.

본 발명의 실시예에 따라 제어부(170)는 303단계에서 휴대 단말기(100)의 상태 정보를 결정하면서, 함께 전송할 IM 메시지의 문구를 결정할 수 있다. 상기 IM 메시지는 휴대 단말기(100)의 사용자가 현재 텍스트를 입력할 수 있는지 여부에 관한 정보를 포함하도록 구성됨이 바람직하다. 예를 들어, 휴대 단말기(100)에 두 개의 임계 가속도 값(A1, A2)이 설정되어 있으며, 제어부(170)가 휴대 단말기(100)의 상태 정보를 '온라인과 자리 비움의 중간 상태'로 결정하는 경우, IM 메시지를 '오타 발생 가능'으로 결정할 수 있다. 또한 제어부(170)가 휴대 단말기(100)의 상태 정보를 '자리 비움'으로 결정하는 경우, IM 메시지를 '텍스트 입력 불가'로 결정할 수 있다. According to an exemplary embodiment of the present disclosure, the controller 170 may determine the text of the IM message to be transmitted together while determining the state information of the mobile terminal 100 in step 303. Preferably, the IM message is configured to include information on whether a user of the mobile terminal 100 can input text. For example, two threshold acceleration values A1 and A2 are set in the mobile terminal 100, and the controller 170 determines the status information of the mobile terminal 100 as 'intermediate state between online and away'. If so, the IM message may be determined to be 'typical.' In addition, when the controller 170 determines the status information of the portable terminal 100 to be away, the IM message may be determined to be “no text input”.

예를 들어, 휴대 단말기(100)에 세 개의 임계 가속도 값(A1, A2, A3)이 설정되어 있으며, 제어부(170)가 휴대 단말기(100)의 상태 정보를 '온라인에 가까운 온라인과 자리 비움의 중간 상태'로 결정하는 경우, IM 메시지를 '오타 발생 가능'으로 결정할 수 있다. 또한 제어부(170)가 휴대 단말기(100)의 상태 정보를 '자리 비움에 가까운 온라인과 자리 비움의 중간 상태'로 판단하면, IM 메시지를 '오타 발생 농후'로 결정할 수 있으며, 휴대 단말기(100)의 상태 정보를 '자리 비움'으로 결정하는 경우, IM 메시지를 '텍스트 입력 불가'로 결정할 수 있다. For example, three threshold acceleration values A1, A2, and A3 are set in the mobile terminal 100, and the controller 170 displays the status information of the mobile terminal 100 as 'online and away'. If it is determined to be in an 'intermediate state,' the IM message may be determined to be 'typical.' In addition, when the controller 170 determines the status information of the mobile terminal 100 as 'intermediate state between on-line and away', the IM message may be determined to be 'typical typo,' and the portable terminal 100 When determining the status information of 'Away', the IM message may be determined as 'No text input'.

도 3으로 복귀하여, 제어부(170)는 304단계에서 무선통신부(110)를 제어하여 상기 결정된 상태 정보를 IM 서버(300)로 송신한다. 제어부(170)는 HTTP PUT 메소드를 이용하여 상태 정보를 IM 서버(300)로 송신한다. 본 발명의 실시예에 따라 제어부(170)는 무선통신부(110)를 제어하여 상태 정보를 IM 서버(300)로 송신하면서 IM 메시지를 함께 송신할 수 있다. 예를 들어, 제어부(170)는 무선통신부(110)를 통해 '온라인과 자리 비움의 중간 상태'의 상태 정보를 IM 서버(300)로 송신하면서, '오타 발생 가능'이라는 문구를 포함하는 IM 메시지를 함께 송신할 수 있다. 또한 제어부(170)는 무선통신부(110)를 통해 '자리 비움'의 상태 정보를 IM 서버(300)로 송신하면서 '텍스트 입력 불가'라는 문구를 포함하는 IM 메시지를 함께 송신할 수 있다. 3, the controller 170 controls the wireless communication unit 110 to transmit the determined state information to the IM server 300 in step 304. The controller 170 transmits the status information to the IM server 300 using the HTTP PUT method. According to an exemplary embodiment of the present invention, the controller 170 may control the wireless communication unit 110 to transmit the IM message while transmitting the status information to the IM server 300. For example, the control unit 170 transmits the status information of 'intermediate state between online and away' to the IM server 300 through the wireless communication unit 110, and includes an IM message including the phrase 'possible typos'. Can be sent together. In addition, the control unit 170 may transmit an IM message including the phrase “text input impossible” while transmitting the status information of 'away' to the IM server 300 through the wireless communication unit 110.

이어 제어부(170)는 305단계에서 상기 결정된 상태 정보로 휴대 단말기(100)의 상태 정보를 갱신한다. 즉, 제어부(170)는 현재 상태 정보를 '온라인'에서 '자리 비움' 등으로 갱신한다. 이 때, 제어부(170)는 표시부(160)를 제어하여 갱신된 상태 정보에 해당하는 그래픽을 표시할 수 있다. In operation 305, the controller 170 updates the state information of the mobile terminal 100 with the determined state information. That is, the controller 170 updates the current state information from 'online' to 'away'. In this case, the controller 170 may control the display unit 160 to display a graphic corresponding to the updated state information.

도 8a는 본 발명의 실시예에 따라 표시되는 휴대 단말기(100)의 화면의 예시도이다. 8A is an exemplary diagram of a screen of a mobile terminal 100 displayed according to an embodiment of the present invention.

도 8a는 IM 어플리케이션의 메인 화면에 해당한다. 도 8a의 화면에는 사용자의 이름('Jason'), 상태 정보('online-busy'), 친구 목록('Jenny', 'Alice', 'Kim')이 포함되어 있다. 또한 도 8a는 사용자의 이름과 친구들의 이름 옆에 상태 정보를 나타내는 아이콘(icon)이 표시된 형태를 도시하고 있다. 도 8a에서 'online-busy'는 '온라인과 자리 비움의 중간 상태'를 의미하며, '온라인과 자리 비움의 중간 상태'를 나타내는 표시로서, '온라인'에 해당하는 아이콘과 '자리 비움'에 해당하는 아이콘이 토글(toggle)로 번갈아 표시되는 형태를 도시하고 있다. 본 발명의 실시예에 따라 '온라인과 자리 비움의 중간 상태'가 '온라인에 가까운 온라인과 자리 비움의 중간 상태'와 '자리 비움에 가까운 온라인과 자리 비움의 중간 상태'로 구분되는 경우, '온라인'에 해당하는 아이콘과 '자리 비움'에 해당하는 아이콘이 번갈아 표시되는 속도를 조절하여 다르게 표시할 수 있다. 예를 들어, '자리 비움에 가까운 온라인과 자리 비움의 중간 상태'에서 '온라인에 가까운 온라인과 자리 비움의 중간 상태'보다 '온라인'의 아이콘과 '자리 비움'의 아이콘이 번갈아 표시되는 속도를 빠르게 하여 표시할 수 있다. 8A corresponds to a main screen of an IM application. The screen of FIG. 8A includes a user's name 'Jason', status information 'online-busy', and a friend list 'Jenny', 'Alice', and 'Kim'. In addition, FIG. 8A illustrates a form in which an icon representing status information is displayed next to a user's name and friends' names. In FIG. 8A, 'online-busy' means 'intermediate state between online and away' and is an indication of 'intermediate state between online and away' and corresponds to an icon corresponding to 'online' and 'away' Is shown alternately displayed as a toggle (toggle). According to an embodiment of the present invention, when the 'intermediate state between online and away' is divided into 'intermediate state between online and away' and the 'intermediate state between online and away', The icon corresponding to 'and' icon away from the user can be displayed differently by adjusting the speed at which the icon corresponding to 'away' is alternately displayed. For example, "Online" and "Away between online" and "Away online" alternate between "Online" and "Away" faster. Can be displayed.

IM 서버(300)는 휴대 단말기(100)로부터 휴대 단말기(100)의 상태 정보를 수신하면, 수신한 휴대 단말기(100)의 상태 정보를 이동통신망(200)을 통해 상대방 휴대 단말기(400a, 400b)로 송신한다. 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100)에 관한 상태 정보를 갱신한다. 이 때, 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100)의 상태 정보를 나타내는 텍스트 또는 아이콘을 변경하여 표시한다. 예를 들어, 상대방 휴대 단말기(400a, 400b)가 휴대 단말기(100)의 상태 정보로서 '온라인과 자리 비움의 중간 상태'를 수신하면 친구 목록에서 휴대 단말기(100)와 관련하여 'online-busy'의 텍스트를 표시하거나 '온라인' 아이콘과 '자리 비움' 아이콘을 토글로 번갈아 표시할 수 있다. When the IM server 300 receives the state information of the mobile terminal 100 from the mobile terminal 100, the mobile station 400 receives the state information of the received mobile terminal 100 through the mobile communication network 200. To send. The counterpart portable terminals 400a and 400b update state information regarding the portable terminal 100. At this time, the counterpart portable terminals 400a and 400b change and display text or icons indicating status information of the portable terminal 100. For example, when the counterpart mobile terminals 400a and 400b receive 'intermediate status between online and away' as the status information of the mobile terminal 100, the 'online-busy' is associated with the mobile terminal 100 in the friend list. You can display the text of, or toggle between the 'online' icon and the 'away' icon.

본 발명의 실시예에 따라 IM 서버(300)는 휴대 단말기(100)의 상태 정보를 상대방 휴대 단말기(400a, 400b)로 송신 시, IM 메시지를 함께 송신할 수 있다. 이 때, 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100) 사용자의 상태 정보를 나타내는 텍스트 또는 아이콘을 변경하여 표시하면서, 수신한 IM 메시지를 함께 표시할 수 있다. 상대방 휴대 단말기(400a, 400b)는 IM 메시지를 친구 목록 화면상에 표시할 수 있으며, 휴대 단말기(100)와의 대화창을 연 후, 대화창에 IM 메시지를 표시할 수 있다.According to an exemplary embodiment of the present invention, the IM server 300 may transmit an IM message together when the state information of the mobile terminal 100 is transmitted to the counterpart mobile terminals 400a and 400b. In this case, the counterpart portable terminals 400a and 400b may display the received IM message while changing and displaying a text or an icon indicating the status information of the user of the portable terminal 100. The counterpart mobile terminals 400a and 400b may display an IM message on a friend list screen, and after opening a chat window with the mobile terminal 100, may display an IM message on the chat window.

도 8b는 본 발명의 실시예에 따라 표시되는 상대방 휴대 단말기(400a, 400b)의 화면의 예시도이다. 8B is an exemplary diagram of screens of counterpart mobile terminals 400a and 400b displayed according to an embodiment of the present invention.

도 8b는 IM 어플리케이션의 메인 화면으로서, 사용자의 이름('Alice'), 상태 정보('online'), 친구 목록('Kelly', 'Jason', 'Billy')이 포함되어 있다. 도 8b는 'Jason'의 상태 정보가 'online-busy'로 변경된 경우에 해당하며, 'Jason'의 상태 정보에 대해 '온라인' 아이콘과 '자리 비움' 아이콘을 번갈아가면서 표시하고 있다. Alice는 Jason의 상태 정보 아이콘을 통해 Jason이 완전히 자리를 비우지는 않았으나 바로 응답할 수 없는 상태임을 알 수 있게 된다. 또한 도 8b는 친구 목록에서 'Jason'과 관련하여 '조금 바쁨'이라는 문구를 표시하고 있다. 이는 'Jason'의 상태 정보를 수신하면서 함께 수신한 IM 메시지에 해당한다.FIG. 8B is a main screen of an IM application, and includes a user's name 'Alice', status information 'online', and a friend list 'Kelly', 'Jason', and 'Billy'. 8B corresponds to a case where the status information of 'Jason' is changed to 'online-busy', and the 'online' icon and the 'away' icon are alternately displayed for the status information of 'Jason'. Alice's status icon lets her know that Jason is not completely away but cannot respond immediately. In addition, FIG. 8B shows the phrase 'a little busy' in relation to 'Jason' in the friend list. This corresponds to an IM message received while receiving status information of Jason.

도 5는 본 발명의 다른 실시예에 따른 휴대 단말기(100)의 인스턴트 메신저에서의 상태 정보 갱신 방법을 도시하는 순서도이다. 5 is a flowchart illustrating a method of updating status information in an instant messenger of the mobile terminal 100 according to another embodiment of the present invention.

501단계에서 제어부(170)는 휴대 단말기(100)의 상태 정보를 '온라인'으로 설정한다. 제어부(170)는 IM 서버(300)에 로그인하였을 때, 기본적으로 상태 정보를 '온라인'으로 설정할 수 있다. In step 501, the controller 170 sets the status information of the mobile terminal 100 to 'online'. When the controller 170 logs in to the IM server 300, the controller 170 may basically set status information to 'online'.

이어 502단계에서 제어부(170)는 움직임 센서부(130)를 통해 휴대 단말기(100)의 움직임이 감지되는지 판단한다. 사용자는 급한 일이 발생한 경우, 휴대 단말기(100)를 휴대한 상태로 다른 곳으로 신속하게 이동할 수 있으며, 사용자가 휴대 단말기(100)에 일정 패턴의 동작을 입력할 수 있다. 휴대 단말기(100) 내에 구비된 움직임 센서부(130)는 휴대 단말기(100)의 움직임을 감지하고 가속도 변화에 관한 데이터를 포함하는 감지 신호를 발생시켜 제어부(170)로 전송한다. 제어부(170)는 움직임 센서부(130)로부터 가속도가 변화되었다는 데이터를 포함하는 감지 신호를 수신하면, 휴대 단말기(100)의 움직임이 감지되었다고 판단한다. In operation 502, the controller 170 determines whether the movement of the mobile terminal 100 is detected through the motion sensor 130. The user may move quickly to another place while carrying the portable terminal 100 when the urgent matter occurs, and the user may input an operation of a predetermined pattern into the portable terminal 100. The motion sensor unit 130 included in the mobile terminal 100 detects a movement of the mobile terminal 100, generates a detection signal including data on an acceleration change, and transmits the detection signal to the controller 170. When the controller 170 receives a detection signal including data indicating that the acceleration is changed from the motion sensor unit 130, the controller 170 determines that the movement of the portable terminal 100 is detected.

휴대 단말기(100)의 움직임이 감지되면, 제어부(170)는 503단계에서 휴대 단말기(100)의 움직임에 따라 상태 정보 및 상태 복귀 타이머 주기를 결정한다. 제어부(170)는 휴대 단말기(100)의 움직임의 가속도 값을 측정하고, 측정된 가속도 값에 따라 휴대 단말기(100)의 상태 정보와 상태 복귀 타이머 주기를 결정하게 된다. 본 발명에서 '상태 복귀 타이머 주기'는 휴대 단말기(100)의 움직임에 따라 상태 정보가 변경된 경우, 변경되기 전의 상태로 복귀할 때까지 걸리는 시간을 의미한다. 503단계의 세부 과정은 도 6 및 도 7에서 구체적으로 설명하기로 한다. When the movement of the portable terminal 100 is detected, the controller 170 determines the state information and the state return timer cycle according to the movement of the portable terminal 100 in step 503. The controller 170 measures the acceleration value of the movement of the portable terminal 100 and determines the state information and the state return timer period of the portable terminal 100 according to the measured acceleration value. In the present invention, the "state return timer period" refers to the time taken to return to the state before the change when the state information is changed according to the movement of the portable terminal 100. A detailed process of step 503 will be described in detail with reference to FIGS. 6 and 7.

도 6은 본 발명의 실시예에 따른 도 5의 503단계의 세부 과정을 도시하는 순서도이다. 6 is a flowchart illustrating a detailed process of step 503 of FIG. 5 according to an embodiment of the present invention.

601단계에서 제어부(170)는 움직임 센서부(130)로부터 수신한 감지 신호 내에 포함된 가속도 값(a)과 기 설정된 임계 가속도 값(Ath)을 비교하여, a가 Ath이상인지 판단한다. 제어부(170)는 움직임 센서부(130)로부터 감지 신호를 수신하면, 감지 신호로부터 가속도 값(a)을 측정하고, 측정된 가속도 값(a)을 기 설정된 임계 가속도 값(Ath)과 비교하게 된다. 본 발명에서 임계 가속도 값(Ath)은 휴대 단말기(100)의 상태 정보를 '온라인'에서 다른 상태 정보로 변경하기 위한 임계치에 해당한다. 따라서 601단계에서 측정된 가속도 값(a)이 임계 가속도 값(Ath) 이상인 것으로 판단하는 경우, 제어부(170)는 602단계로 진행하여 휴대 단말기(100)의 상태 정보를 '자리 비움'으로 결정하고, 가속도 값(a)이 임계 가속도 값(Ath)보다 작다고 판단하는 경우, 제어부(170)는 607단계로 진행하여 상태 정보를 '온라인'으로 유지하게 된다. In step 601, the controller 170 compares the acceleration value a included in the detection signal received from the motion sensor unit 130 with a predetermined threshold acceleration value Ath, and determines whether a is equal to or greater than Ath. When the control unit 170 receives the detection signal from the motion sensor unit 130, the controller 170 measures the acceleration value a from the detection signal, and compares the measured acceleration value a with a predetermined threshold acceleration value Ath. . In the present invention, the threshold acceleration value Ath corresponds to a threshold for changing the state information of the mobile terminal 100 from 'online' to other state information. Therefore, when it is determined that the acceleration value (a) measured in step 601 is greater than or equal to the threshold acceleration value (Ath), the controller 170 proceeds to step 602 to determine the state information of the mobile terminal 100 as 'away'. If it is determined that the acceleration value a is smaller than the threshold acceleration value Ath, the controller 170 proceeds to step 607 to maintain the status information 'online'.

이어 603단계에서 제어부(170)는 일정 주기 동안 가속도 방향의 변경 횟수(n)를 측정한다. 이는 일정 주기 동안 휴대 단말기(100)가 얼마나 빈번하게 흔들리는지 측정하는 과정에 해당한다. 제어부(170)는 움직임 센서부(130)로부터 수신한 감지 신호에 포함된 가속도 값의 변화 추이를 분석하여 일정 주기 동안 가속도 방향의 변경 횟수(n)를 측정한다. Subsequently, in step 603, the controller 170 measures the number n of changes in the acceleration direction for a predetermined period. This corresponds to a process of measuring how frequently the mobile terminal 100 shakes during a certain period. The controller 170 analyzes the change trend of the acceleration value included in the detection signal received from the motion sensor unit 130 and measures the number of changes of the acceleration direction n during a predetermined period.

도 9a는 시간에 따른 가속도 값의 변화 추이를 나타내는 그래프이다. 도 9a에서 'T'는 기 설정된 일정 주기에 해당하며, ① 내지 ⑧은 가속도의 방향이 변경되는 지점에 해당한다. 도 9a에서 제어부(170)는 일정 주기(T) 동안 가속도 방향의 변화 횟수(n)를 '8'로 측정한다. 9A is a graph showing a change in acceleration value over time. In FIG. 9A, 'T' corresponds to a predetermined period, and ① to ⑧ correspond to points at which the direction of acceleration changes. In FIG. 9A, the controller 170 measures the number n of changes in the acceleration direction during a predetermined period T as '8'.

이어 제어부(170)는 604단계로 진행하여 측정된 가속도 방향의 변경 횟수(n)가 기 설정된 임계 횟수(Nth) 이상인지 판단한다. 본 발명에서 상기 임계 횟수(Nth)는 상태 복귀 타이머 주기를 결정하기 위한 임계치에 해당한다. In operation 604, the controller 170 determines whether the measured change number n of the acceleration direction is equal to or greater than a preset threshold number Nth. In the present invention, the threshold number Nth corresponds to a threshold for determining a state return timer period.

604단계에서 n이 Nth 이상인 것으로 판단하면, 제어부(170)는 상태 복귀 타이머 주기를 T1로 결정하고, n이 Nth 미만인 것으로 판단하면 상태 복귀 타이머 주기를 T1보다 작은 수치인 T2로 결정한다. n이 Nth 이상인 경우는 휴대 단말기(100)가 기준치보다 빠르게 흔들리는 상태를 의미하며 이는 곧 휴대 단말기(100)의 사용자가 휴대 단말기(100)를 조작하기 어려운 상황을 의미한다. 따라서 제어부(170)는 상태 복귀 타이머 주기를 길게 설정하여 '자리 비움' 상태를 오래 유지할 수 있도록 한다. 반면 n이 Nth 미만인 경우는 휴대 단말기(100)가 기준치보다 느리게 흔들리는 상태를 의미하며, 이는 곧 휴대 단말기(100)의 사용자가 휴대 단말기(100)를 어느 정도 조작할 수 있는 상황임을 의미한다. 따라서 제어부(170)는 상태 복귀 타이머 주기를 상대적으로 짧게 설정하여 '자리 비움' 상태를 비교적 짧게 유지할 수 있도록 한다. If it is determined in step 604 that n is greater than or equal to Nth, the controller 170 determines that the state return timer period is T1. If it is determined that n is less than Nth, the controller 170 determines that the state return timer period is T2 which is smaller than T1. When n is greater than or equal to Nth, it means that the mobile terminal 100 shakes faster than the reference value, which means that it is difficult for a user of the mobile terminal 100 to operate the mobile terminal 100. Therefore, the controller 170 may set a long state return timer period to maintain the 'away' state for a long time. On the other hand, when n is less than Nth, the mobile terminal 100 is shaken more slowly than the reference value, which means that the user of the mobile terminal 100 can operate the mobile terminal 100 to some extent. Therefore, the controller 170 sets the state return timer period to be relatively short so that the 'away' state can be kept relatively short.

본 발명의 실시예에 따라 제어부(170)는 가속도 방향 변경 횟수(n)에 따라 상태 복귀 타이머 주기를 레벨(level)별로 다르게 설정할 수 있다. 예를 들어, 단위 상태 복귀 타이머 주기가 'T'로 설정된 경우, 제어부(170)는 가속도 방향 변경 횟수(n)를 측정하면 상태 복귀 타이머 주기를 'n*T'로 결정할 수 있다. 예를 들어, 가속도 방향 변화 횟수가 '8'인 경우, 제어부(170)는 상태 복귀 타이머 주기를 '8T'로 결정할 수 있다. According to an exemplary embodiment of the present invention, the controller 170 may set the state return timer period differently for each level according to the acceleration direction change number n. For example, when the unit state return timer period is set to 'T', the controller 170 may determine the state return timer period to 'n * T' when the acceleration direction change number n is measured. For example, when the number of acceleration direction changes is '8', the controller 170 may determine the state return timer period as '8T'.

도 5로 복귀하여 제어부(170)는 504단계에서 무선통신부(110)를 제어하여 상기 결정된 상태 정보를 IM 서버(300)로 송신한다. 제어부(170)는 HTTP PUT 메소드를 이용하여 상태 정보를 IM 서버(300)로 송신할 수 있다. 본 발명의 실시예에 따라 제어부(170)는 무선통신부(110)를 제어하여 상태 정보를 IM 서버(300)로 송신하면서 해당 IM 메시지를 함께 송신할 수 있다. Returning to FIG. 5, in step 504, the controller 170 controls the wireless communication unit 110 to transmit the determined state information to the IM server 300. The controller 170 may transmit the status information to the IM server 300 using the HTTP PUT method. According to an exemplary embodiment of the present invention, the controller 170 may control the wireless communication unit 110 to transmit the corresponding IM message while transmitting the status information to the IM server 300.

이어 제어부(170)는 505단계에서 상기 결정된 상태 정보로 휴대 단말기(100)의 상태 정보를 갱신한다. 즉, 제어부(170)는 현재 상태 정보를 '온라인'에서 '자리 비움' 등으로 갱신한다. 이 때, 제어부(170)는 표시부(160)를 제어하여 갱신된 상태 정보에 해당하는 그래픽을 표시할 수 있다.In operation 505, the controller 170 updates the state information of the mobile terminal 100 with the determined state information. That is, the controller 170 updates the current state information from 'online' to 'away'. In this case, the controller 170 may control the display unit 160 to display a graphic corresponding to the updated state information.

이어 506단계에서 제어부(170)는 503단계에서 결정된 상태 복귀 타이머 주기에 따라 타이머를 구동시킨다. 본 발명의 실시예에 따라 제어부(170)는 타이머를 구동시키면서 표시부(160)를 제어하여 상태 복귀 타이머 주기의 잔여 시간을 함께 표시할 수 있다. In step 506, the controller 170 drives the timer according to the state return timer period determined in step 503. According to an exemplary embodiment of the present invention, the controller 170 may control the display unit 160 while driving the timer to display the remaining time of the state return timer cycle.

도 8c는 본 발명의 실시예에 따라 표시되는 휴대 단말기(100)의 화면의 다른 예시도이다. 8C is another exemplary diagram of a screen of the mobile terminal 100 displayed according to an embodiment of the present invention.

도 8c는 IM 어플리케이션의 메인 화면에 해당하며, 도 8c의 화면에는 사용자의 이름('Jason'), 상태 정보('online-busy'), 상태 복귀 타이머 주기의 잔여 시간('3:59') 및 친구 목록('Jenny', 'Alice', 'Kim')이 포함되어 있다. 도 8c는 'busy'의 상태 정보에 해당하는 문구와 아이콘을 표시하고 있으며, 'online'으로의 상태 복귀까지의 잔여 시간을 표시하고 있다. 휴대 단말기(100) 사용자는 상태 복귀까지의 잔여 시간을 확인하여 'online'으로 복귀까지 얼마나 시간이 남았는지 확인할 수 있다. 8C corresponds to the main screen of the IM application, and the screen of FIG. 8C includes the user's name (Jason), status information (online-busy), and the remaining time of the status return timer cycle (3:59). And friends list ('Jenny', 'Alice', 'Kim'). 8C shows a phrase and an icon corresponding to the status information of 'busy', and displays the remaining time until the status returns to 'online'. The user of the mobile terminal 100 may check how much time is left until the user returns to 'online' by checking the remaining time until returning to the state.

507단계에서 제어부(170)는 타이머가 만료되는지 판단한다. 타이머가 만료되기 전이면, 제어부(170)는 510단계로 진행하여 변경된 상태 정보를 계속 유지한다. 507단계에서 타이머가 만료된 것으로 판단하면, 제어부(170)는 508단계에서 무선통신부(110)를 제어하여 '온라인'의 상태 정보를 IM 서버(300)로 송신한다. 제어부(170)는 '온라인'의 상태 정보를 IM 서버(300)로 송신하면서, '온라인'의 상태 정보에 해당하는 문구를 함께 송신할 수 있다. 예를 들어, 제어부(170)는 무선통신부(110)를 제어하여 '텍스트 입력 가능'이라는 문구를 포함하는 IM 메시지를 IM 서버(300)로 전송할 수 있다. In step 507, the controller 170 determines whether the timer expires. If the timer has expired, the controller 170 proceeds to step 510 to maintain the changed state information. If it is determined in step 507 that the timer has expired, the controller 170 controls the wireless communication unit 110 to transmit the status information of 'online' to the IM server 300 in step 508. The controller 170 may transmit the phrase corresponding to the status information of 'online' while transmitting the status information of 'online' to the IM server 300. For example, the controller 170 may control the wireless communication unit 110 to transmit an IM message including the phrase “text input possible” to the IM server 300.

이어 509단계에서 제어부(170)는 '온라인'으로 휴대 단말기(100)의 상태 정보를 갱신한다. 현재의 상태 정보가 '자리 비움'인 경우, 제어부(170)는 상태 정보를 '자리 비움'에서 '온라인'으로 갱신한다. 이 때, 제어부(170)는 표시부(160)를 제어하여 '온라인'에 해당하는 문구 또는 아이콘을 표시할 수 있다.In step 509, the controller 170 updates the status information of the mobile terminal 100 online. If the current status information is 'away', the controller 170 updates the status information from 'away' to 'online'. In this case, the controller 170 may control the display unit 160 to display a phrase or an icon corresponding to 'online'.

IM 서버(300)는 휴대 단말기(100)로부터 휴대 단말기(100)의 상태 정보를 수신하면, 이동통신망(200)을 통해 상대방 휴대 단말기(400a, 400b)로 송신한다. 이에 따라, 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100)의 상태 정보를 갱신한다. 이 때, 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100)의 상태 정보를 나타내는 텍스트 또는 아이콘을 변경하여 표시한다.When the IM server 300 receives the state information of the portable terminal 100 from the portable terminal 100, the IM server 300 transmits the status information to the counterpart portable terminals 400a and 400b through the mobile communication network 200. Accordingly, the counterpart portable terminals 400a and 400b update state information of the portable terminal 100. At this time, the counterpart portable terminals 400a and 400b change and display text or icons indicating status information of the portable terminal 100.

도 7은 본 발명의 실시예에 따른 도 5의 503단계의 다른 세부 과정을 도시하는 순서도이다. 7 is a flowchart illustrating another detailed process of step 503 of FIG. 5 according to an embodiment of the present invention.

701단계에서 제어부(170)는 움직임 센서부(130)로부터 수신한 감지 신호 내에 포함된 가속도 값(a)과 지 설정된 임계 가속도 값(Ath)을 비교하여, a가 Ath 이상인지 판단한다. 본 발명에서 임계 가속도 값(Ath)은 휴대 단말기(100)의 상태 정보를 '온라인'에서 다른 상태 정보로 변경하기 위한 임계치에 해당한다. 701단계에서 가속도 값(a)이 임계 가속도 값(Ath) 이상인 것으로 판단하는 경우, 제어부(170)는 702단계로 진행하여 휴대 단말기(100)의 상태 정보를 '자리 비움'으로 결정하고, 가속도 값(a)이 임계 가속도 값(Ath)보다 작다고 판단하는 경우, 제어부(170)는 707단계로 진행하여 상태 정보를 '온라인'으로 유지하게 된다. In step 701, the controller 170 compares the acceleration value a included in the detection signal received from the motion sensor unit 130 with the predetermined threshold acceleration value Ath, and determines whether a is greater than or equal to Ath. In the present invention, the threshold acceleration value Ath corresponds to a threshold for changing the state information of the mobile terminal 100 from 'online' to other state information. If it is determined in step 701 that the acceleration value a is greater than or equal to the threshold acceleration value Ath, the control unit 170 proceeds to step 702 to determine the state information of the mobile terminal 100 as 'away', and to determine the acceleration value. If it is determined that (a) is smaller than the threshold acceleration value Ath, the controller 170 proceeds to step 707 to maintain the status information 'online'.

703단계에서 제어부(170)는 휴대 단말기(100)의 움직임이 흔들기 동작(shaking)에 해당하는지 판단한다. 본 발명에서 흔들기 동작은 사용자가 의도적으로 휴대 단말기(100)를 흔드는 동작에 해당하며, 제어부(170)는 최대 가속도 값이 일정 가속도 값 이상인지 여부와 가속도 값 변화 패턴이 기 설정된 패턴과 일치하는지 여부를 판단하여 휴대 단말기(100)의 움직임이 흔들기 동작에 해당하는지 판단한다. In operation 703, the controller 170 determines whether the movement of the mobile terminal 100 corresponds to a shaking motion. In the present invention, the shaking motion corresponds to an operation in which the user intentionally shakes the mobile terminal 100, and the controller 170 determines whether the maximum acceleration value is equal to or greater than a predetermined acceleration value and whether the acceleration value change pattern matches the preset pattern. It is determined whether the movement of the mobile terminal 100 corresponds to the shaking motion.

도 9b는 시간에 따른 가속도 값의 변화 추이를 나타내는 그래프의 다른 실시예이다. 도 9b에서 'Ath'는 휴대 단말기(100)의 상태 정보를 '온라인'에서 다른 상태 정보로 변경하기 위한 임계치이며, 'a1'은 휴대 단말기(100)의 움직임이 흔들기 동작에 해당하는지 판단하기 위한 임계치에 해당한다. 또한 사용자가 휴대 단말기(100)를 한 번 흔드는 경우, 휴대 단말기(100)의 이동 방향이 중간에 변경되며, 가속도 방향 역시 변경된다. 따라서 가속도 값은 -방향으로 진행하다가 +방향으로 전환된 후 다시 0으로 수렴하는 패턴을 구성하게 된다. 도 9b는 2번의 흔들기 동작이 입력된 형태를 도시하고 있다. FIG. 9B is another embodiment of a graph showing a change in acceleration value over time. FIG. In FIG. 9B, 'Ath' is a threshold for changing state information of the mobile terminal 100 from 'online' to other state information, and 'a1' is for determining whether the movement of the mobile terminal 100 corresponds to a shaking motion. Corresponds to the threshold. In addition, when the user shakes the portable terminal 100 once, the moving direction of the portable terminal 100 is changed in the middle, and the acceleration direction is also changed. Therefore, the acceleration value goes in the-direction, changes to the + direction, and forms a pattern that converges back to zero. 9B illustrates a form in which two shaking motions are input.

이와 같이 제어부(170)는 가속도 값의 변화 추이를 분석하여 휴대 단말기(100)의 움직임이 흔들기 동작에 해당하는지 판단한다. 흔들기 동작인 것으로 판단하는 경우, 제어부(170)는 704단계로 진행하여 흔들기 동작의 횟수(n)를 측정한다. 도 9b를 참조하면, 제어부(170)는 흔들기 동작의 횟수를 2회로 측정하게 된다. In this way, the controller 170 analyzes the change in the acceleration value to determine whether the movement of the mobile terminal 100 corresponds to the shaking motion. If it is determined that the shaking operation is performed, the controller 170 proceeds to step 704 and measures the number n of shaking operations. Referring to FIG. 9B, the controller 170 measures the number of shaking operations twice.

이어 제어부(170)는 705단계에서 상태 복귀 타이머 주기를 n*T로 결정한다. 즉, 제어부(170)는 미리 설정되어 있던 단위 상태 복귀 타이머 주기(T)에 흔들기 동작 횟수(n)의 배수 값으로 상태 복귀 타이머 주기를 결정한다. 도 9b를 참조할 때, 제어부(170)는 상태 복귀 타이머 주기를 '2T'로 결정하게 된다. In operation 705, the controller 170 determines the state return timer period as n * T. That is, the controller 170 determines the state return timer period as a multiple of the number of shaking operations n to the unit state return timer period T previously set. Referring to FIG. 9B, the controller 170 determines the state return timer period as '2T'.

703단계에서 제어부(170)는 휴대 단말기(100)의 움직임을 흔들기 동작으로 판단하지 않은 경우, 706단계로 진행하여 상태 복귀 타이머 주기를 무한대로 설정한다. 즉, 제어부(170)는 변경된 상태 정보를 계속적으로 유지하며, 추후 사용자의 상태 정보 변경이 입력되는 경우에 사용자의 입력에 따라 상태 정보를 변경하게 된다.If it is determined in step 703 that the movement of the portable terminal 100 is not a shaking operation, the control unit 170 proceeds to step 706 to set the state return timer period to infinity. That is, the controller 170 continuously maintains the changed state information, and when the change of the state information of the user is input later, changes the state information according to the user's input.

이 후, 제어부(170)는 무선통신부(110)를 제어하여 상기 결정된 상태 정보를 IM 서버(300)로 송신하며, 결정된 상태 정보로 휴대 단말기(100)의 상태 정보를 갱신한다. 제어부(170)는 결정된 상태 복귀 타이머 주기로 타이머를 구동시키고, 타이머의 만료를 확인하면, 무선통신부(110)를 제어하여 '온라인'의 상태 정보를 IM 서버(300)로 송신하며, 휴대 단말기(100)의 상태 정보를 '온라인'으로 복귀시켜 설정한다. Thereafter, the controller 170 controls the wireless communication unit 110 to transmit the determined state information to the IM server 300, and updates the state information of the mobile terminal 100 with the determined state information. The controller 170 drives the timer at the determined state return timer period, and upon checking expiration of the timer, controls the wireless communication unit 110 to transmit status information of 'online' to the IM server 300, and the portable terminal 100. Set the status information of) back to 'online'.

IM 서버(300)는 휴대 단말기(100)로부터 휴대 단말기(100)의 상태 정보를 수신하면, 이동통신망(200)을 통해 상대방 휴대 단말기(400a, 400b)로 송신한다. 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100)의 사용자의 상태 정보를 갱신한다. 이 때, 상대방 휴대 단말기(400a, 400b)는 휴대 단말기(100) 사용자의 상태 정보를 나타내는 텍스트 또는 아이콘을 변경하여 표시한다.When the IM server 300 receives the state information of the portable terminal 100 from the portable terminal 100, the IM server 300 transmits the status information to the counterpart portable terminals 400a and 400b through the mobile communication network 200. The counterpart portable terminals 400a and 400b update state information of the user of the portable terminal 100. At this time, the counterpart portable terminals 400a and 400b change and display text or icons indicating status information of the user of the portable terminal 100.

본 발명의 실시예에 따라 제어부(170)는 움직임 센서부(130)를 통해 휴대 단말기(100)의 자세를 판단하고, 휴대 단말기(100)의 자세에 따라 상태 정보를 결정할 수 있다. 예를 들어, 사용자가 휴대 단말기(100)의 표시부(160)가 아래 방향을 향하도록 휴대 단말기(100)를 뒤집는 경우, 제어부(170)는 움직임 센서부(130)로부터 수신하는 감지 신호를 통해 휴대 단말기(100)가 뒤집혀있다고 판단하고, 휴대 단말기(100)의 상태 정보를 오프라인(off-line)으로 결정할 수 있다. According to an exemplary embodiment of the present invention, the controller 170 may determine the posture of the mobile terminal 100 through the motion sensor unit 130 and determine state information according to the posture of the mobile terminal 100. For example, when the user reverses the mobile terminal 100 such that the display unit 160 of the mobile terminal 100 faces downward, the controller 170 may carry the mobile terminal through the detection signal received from the motion sensor unit 130. It may be determined that the terminal 100 is upside down, and the state information of the portable terminal 100 may be determined to be off-line.

한편, 본 명세서와 도면에 개시 된 본 발명의 실시예들은 본 발명의 기술 내용을 쉽게 설명하고 본 발명의 이해를 돕기 위해 특정 예를 제시한 것일 뿐이며, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시예들 이외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다. On the other hand, the embodiments of the present invention disclosed in the specification and drawings are merely presented specific examples to easily explain the technical contents of the present invention and help the understanding of the present invention, and are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention can be carried out in addition to the embodiments disclosed herein.

100, 400a, 400b : 휴대 단말기
200 : 이동통신망
300 : IM(Instant Messenger) 서버
110 : 무선통신부
120 : 오디오처리부
130 : 움직임 센서부
140 : 저장부
150 : 입력부
160 : 표시부
170 : 제어부
100, 400a, 400b: mobile terminal
200: mobile communication network
300: IM (Instant Messenger) server
110: wireless communication unit
120: audio processor
130: motion sensor
140:
150:
160:
170:

Claims (16)

휴대 단말기의 인스턴트 메신저(IM)에서의 상태 정보 갱신 방법에 있어서,
인스턴트 메신저로의 로그인 상태에서 상기 휴대 단말기의 움직임을 감지하는 단계;
상기 감지된 휴대 단말기의 움직임에 따라 상태 정보를 결정하는 단계;
상기 결정된 상태 정보를 IM 서버로 송신하는 단계; 및
상기 결정된 상태 정보로 상기 휴대 단말기의 상태 정보를 갱신하는 단계를 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
In the status information updating method in the instant messenger (IM) of the portable terminal,
Detecting a movement of the mobile terminal in a login state of an instant messenger;
Determining state information according to the detected movement of the mobile terminal;
Transmitting the determined status information to an IM server; And
And updating the state information of the portable terminal with the determined state information.
제1항에 있어서,
상기 감지하는 단계는
상태 정보가 온라인으로 설정된 상태에서 상기 휴대 단말기의 움직임을 감지하는 단계인 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 1,
The detecting step
And detecting the movement of the portable terminal when the state information is set to online.
제2항에 있어서,
상기 결정하는 단계는
상기 휴대 단말기의 움직임의 가속도 값이 기 설정된 제1임계 가속도 값 이상인지 판단하는 단계;
이상인 것으로 판단하는 경우, 상기 상태 정보를 자리 비움 상태로 결정하는 단계; 및
미만인 것으로 판단하는 경우, 상기 상태 정보를 온라인 상태로 유지하는 단계를 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 2,
The step of determining
Determining whether an acceleration value of a movement of the portable terminal is equal to or larger than a first threshold acceleration value;
If it is determined that the error is abnormal, determining the state information as an idle state; And
And if it is determined to be less than, maintaining the status information online.
제2항에 있어서,
상기 결정하는 단계는
상기 휴대 단말기의 움직임의 가속도 값이 기 설정된 제1임계 가속도 값 이상인지 판단하는 단계;
상기 제1임계 가속도 값 이상인 것으로 판단하는 경우, 상기 가속도 값이 제2임계 가속도 값 미만인지 판단하는 단계;
상기 제2임계 가속도 값 미만인 것으로 판단하는 경우, 상기 상태 정보를 온라인과 자리 비움의 중간 상태로 결정하는 단계; 및
상기 제2임계 가속도 값 이상인 것으로 판단하는 경우, 상기 상태 정보를 자리 비움 상태로 결정하는 단계를 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 2,
The step of determining
Determining whether an acceleration value of a movement of the portable terminal is equal to or larger than a first threshold acceleration value;
Determining that the acceleration value is less than a second threshold acceleration value when determining that the first threshold acceleration value is equal to or greater than the first threshold acceleration value;
Determining the status information as an intermediate state between on-line and away when the second threshold is determined to be less than the threshold value; And
And determining the state information to be away when determining that the second critical acceleration value is equal to or greater than the second threshold acceleration value.
제1항에 있어서,
상기 갱신하는 단계는
상기 결정된 상태 정보에 해당하는 문구 또는 아이콘을 변경 표시하는 단계를 더 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 1,
The updating step
And changing and displaying the phrase or icon corresponding to the determined state information.
제4항에 있어서,
상기 갱신하는 단계는
상기 상태 정보를 온라인과 자리 비움의 중간 상태로 결정하는 경우, 상기 온라인에 해당하는 이미지와 자리 비움에 해당하는 이미지를 번갈아 표시하는 단계를 더 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 4, wherein
The updating step
And determining the status information as an intermediate state between on-line and away, alternately displaying an image corresponding to the on-line and an image corresponding to the away.
제2항에 있어서,
상기 결정하는 단계는
상기 감지된 휴대 단말기의 움직임에 따라 상태 복귀 타이머 주기를 결정하는 단계를 더 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 2,
The step of determining
And determining a state return timer period according to the detected movement of the portable terminal.
제7항에 있어서,
상기 결정된 상태 복귀 타이머 주기로 타이머를 구동하는 단계;
타이머 만료 시, 온라인의 상태 정보를 상기 IM 서버로 송신하는 단계; 및
온라인으로 상기 휴대 단말기의 상태 정보를 갱신하는 단계를 더 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 7, wherein
Driving a timer at the determined state return timer period;
When the timer expires, sending online status information to the IM server; And
Updating status information of the portable terminal online.
제7항에 있어서,
상기 결정하는 단계는
상기 휴대 단말기의 움직임의 가속도 값이 기 설정된 임계 가속도 값 이상인지 판단하는 단계;
이상인 것으로 판단하는 경우, 상기 상태 정보를 자리 비움 상태로 결정하는 단계;
일정 주기 동안 상기 가속도 방향의 변경 횟수를 측정하는 단계; 및
상기 측정된 가속도 방향의 변경 횟수에 따라 상기 상태 복귀 타이머 주기를 결정하는 단계를 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 7, wherein
The step of determining
Determining whether an acceleration value of a movement of the portable terminal is equal to or greater than a preset threshold acceleration value;
If it is determined that the error is abnormal, determining the state information as an idle state;
Measuring the number of changes in the acceleration direction for a predetermined period; And
And determining the state return timer period according to the measured number of changes in the acceleration direction.
제9항에 있어서,
상기 상태 복귀 타이머 주기를 결정하는 단계는
상기 가속도 방향의 변경 횟수가 기 설정된 임계 횟수 이상인지 판단하는 단계; 및
이상인 것으로 판단하면 제1주기 값(T1)으로 상기 상태 복귀 타이머 주기를 결정하고, 미만인 것으로 판단하면 상기 제1주기 값보다 작은 값인 제2주기 값(T2)으로 상기 상태 복귀 타이머 주기를 결정하는 단계를 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
10. The method of claim 9,
Determining the state return timer period
Determining whether the number of changes in the acceleration direction is greater than or equal to a preset threshold number; And
Determining the state return timer period using a first period value T1 if it is determined to be abnormal, and determining the state return timer period using a second period value T2 that is a value smaller than the first period value if determined to be less than one. Status information updating method comprising a.
제7항에 있어서,
상기 결정하는 단계는
상기 휴대 단말기의 움직임의 가속도 값이 기 설정된 임계 가속도 값 이상인지 판단하는 단계;
이상인 것으로 판단하는 경우, 상기 상태 정보를 자리 비움 상태로 결정하는 단계;
상기 휴대 단말기의 움직임이 흔들기 동작(shaking)에 해당하는지 판단하는 단계;
흔들기 동작으로 판단하는 경우, 상기 흔들기 동작의 횟수를 측정하는 단계; 및
상기 측정된 흔들기 동작의 횟수의 배수 값으로 상기 상태 복귀 타이머 주기를 결정하는 단계를 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 7, wherein
The step of determining
Determining whether an acceleration value of a movement of the portable terminal is equal to or greater than a preset threshold acceleration value;
If it is determined that the error is abnormal, determining the state information as an idle state;
Determining whether the movement of the portable terminal corresponds to a shaking motion;
Measuring the number of shaking operations when determining that the shaking operation is performed; And
And determining the state return timer period as a multiple of the measured number of shaking operations.
제8항에 있어서,
상기 타이머를 구동하는 단계는
상기 상태 복귀 타이머 주기의 잔여 시간을 표시하는 단계를 더 포함하는 것을 특징으로 하는 상태 정보 갱신 방법.
The method of claim 8,
Driving the timer
And displaying the remaining time of the state return timer period.
인스턴트 메신저(IM)로의 로그인 상태에서 휴대 단말기의 움직임을 감지하는 움직임 센서부;
상기 감지된 휴대 단말기의 움직임에 따라 상태 정보를 결정하고, 상기 결정된 상태 정보로 상기 휴대 단말기의 상태 정보를 갱신하는 제어부; 및
상기 결정된 상태 정보를 IM 서버로 송신하는 무선통신부를 포함하는 것을 특징으로 하는 휴대 단말기.
A movement sensor unit for detecting a movement of the portable terminal in a login state of an instant messenger (IM);
A controller configured to determine state information according to the detected movement of the portable terminal, and update state information of the portable terminal with the determined state information; And
And a wireless communication unit which transmits the determined status information to an IM server.
제13항에 있어서,
상기 제어부는
상기 움직임 센서부에서 감지하는 휴대 단말기의 움직임의 가속도 값이 기 설정된 제1임계 가속도 값 이상 및 제2임계 가속도 값 미만인지 판단하고, 상기 제1임계 가속도 값 이상 및 상기 제2임계 가속도 값 미만인 것으로 판단하는 경우, 상기 상태 정보를 온라인과 자리 비움의 중간 상태로 결정하고, 상기 제2임계 가속도 값 이상인 것으로 판단하는 경우, 상기 상태 정보를 자리 비움으로 결정하는 것을 특징으로 하는 휴대 단말기.
The method of claim 13,
The control unit
It is determined whether the acceleration value of the movement of the mobile terminal sensed by the motion sensor unit is greater than or equal to the first threshold acceleration value and less than the second threshold acceleration value, and is greater than or equal to the first threshold acceleration value and less than the second threshold acceleration value. And if it is determined that the status information is an intermediate state between on-line and away, and determines that the status information is equal to or greater than the second threshold acceleration value, the status information is determined to be away.
제13항에 있어서,
상기 제어부는
상기 움직임 센서부에서 감지된 휴대 단말기의 움직임에 따라 상태 복귀 타이머 주기를 결정하고, 상기 결정된 상태 복귀 타이머 주기로 타이머를 구동하고, 타이머 만료 시, 상기 무선통신부를 제어하여 온라인의 상태 정보를 상기 IM 서버로 송신하고, 상기 온라인으로 상기 휴대 단말기의 상태 정보를 갱신하는 것을 특징으로 하는 휴대 단말기.
The method of claim 13,
The control unit
The state return timer period is determined according to the movement of the mobile terminal detected by the motion sensor unit, the timer is driven at the determined state return timer period, and when the timer expires, the wireless communication unit is controlled to provide online state information to the IM server. And update status information of the portable terminal online.
제15항에 있어서,
상기 제어부는
상기 휴대 단말기의 움직임의 가속도 값이 기 설정된 임계 가속도 값 이상인지 판단하여, 이상인 것으로 판단하는 경우, 상기 상태 정보를 자리 비움 상태로 결정하고, 일정 주기 동안 상기 가속도 방향의 변경 횟수를 측정하여, 상기 측정된 가속도 방향의 변경 횟수에 따라 상기 상태 복귀 타이머 주기를 결정하는 것을 특징으로 하는 휴대 단말기.
16. The method of claim 15,
The control unit
If it is determined that the acceleration value of the movement of the portable terminal is greater than or equal to a predetermined threshold acceleration value, and determines that the error value is abnormal, the state information is determined to be away, and the number of changes of the acceleration direction is measured for a predetermined period. And the state return timer period is determined according to the measured number of changes in the acceleration direction.
KR1020100133544A 2010-12-23 2010-12-23 Method for updating presence in instant messenger and mobile terminal using the same KR20120071838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100133544A KR20120071838A (en) 2010-12-23 2010-12-23 Method for updating presence in instant messenger and mobile terminal using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100133544A KR20120071838A (en) 2010-12-23 2010-12-23 Method for updating presence in instant messenger and mobile terminal using the same

Publications (1)

Publication Number Publication Date
KR20120071838A true KR20120071838A (en) 2012-07-03

Family

ID=46706742

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100133544A KR20120071838A (en) 2010-12-23 2010-12-23 Method for updating presence in instant messenger and mobile terminal using the same

Country Status (1)

Country Link
KR (1) KR20120071838A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170055278A (en) * 2015-11-11 2017-05-19 삼성전자주식회사 Electronic device and method for providing the information thereof
WO2018048041A1 (en) * 2016-09-11 2018-03-15 이노티콘랩스 주식회사 Method and device for providing auto-expressible personalized online chat service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170055278A (en) * 2015-11-11 2017-05-19 삼성전자주식회사 Electronic device and method for providing the information thereof
WO2018048041A1 (en) * 2016-09-11 2018-03-15 이노티콘랩스 주식회사 Method and device for providing auto-expressible personalized online chat service

Similar Documents

Publication Publication Date Title
WO2021036566A1 (en) Information processing method and apparatus, electronic device, and medium
WO2016150270A1 (en) Method and apparatus for processing group session message
US20100131858A1 (en) User interface
CN108874357B (en) Prompting method and mobile terminal
WO2017008588A1 (en) Message processing method and apparatus
JP6501919B2 (en) Voice chat mode self-adaptation method and apparatus
WO2016150331A1 (en) Method and device for operating game client
KR101306134B1 (en) Method for updating presence in mobile instant messenger and mobile terminal using the same
KR20140113787A (en) Contact provision using context information
CN106973330B (en) Screen live broadcasting method, device and system
WO2015085951A1 (en) Terminal, server, system and method for inviting friend to watch video
KR101552309B1 (en) Method for offering user interface of portable terminal
WO2019201271A1 (en) Call processing method and mobile terminal
WO2019062364A1 (en) Display method and mobile terminal
WO2021109959A1 (en) Application sharing method and electronic device
CN108075966B (en) Message processing method and mobile terminal
KR20220104236A (en) Synchronization methods and electronic devices
WO2016116041A1 (en) Information recommendation management method, device and system
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
CN111107223B (en) Message processing method and electronic equipment
WO2018149365A1 (en) Data acquisition method, mobile terminal, and server
WO2019095156A1 (en) Information search method, terminal, network device, and system
CN107734153B (en) Call control method, terminal and computer readable storage medium
WO2016019695A1 (en) Voice interaction method and terminal
CN115373577A (en) Image processing method and device and computer readable storage medium

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid