KR102591037B1 - Server for providing chat room service based on region and method for operation thereof - Google Patents

Server for providing chat room service based on region and method for operation thereof Download PDF

Info

Publication number
KR102591037B1
KR102591037B1 KR1020230095067A KR20230095067A KR102591037B1 KR 102591037 B1 KR102591037 B1 KR 102591037B1 KR 1020230095067 A KR1020230095067 A KR 1020230095067A KR 20230095067 A KR20230095067 A KR 20230095067A KR 102591037 B1 KR102591037 B1 KR 102591037B1
Authority
KR
South Korea
Prior art keywords
user device
chat room
message
location
time
Prior art date
Application number
KR1020230095067A
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 KR1020230095067A priority Critical patent/KR102591037B1/en
Application granted granted Critical
Publication of KR102591037B1 publication Critical patent/KR102591037B1/en

Links

Images

Classifications

    • G06Q50/30
    • 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]
    • 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/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • 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/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

다양한 실시예들에 따라서, 사용자 장치로부터 수신된 요청을 처리하고, 상기 사용자 장치로 요청된 정보를 송신하는 서버는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통하여, 상기 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하고, 제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하고, 상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하고, 상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하고, 및 상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하도록 하는 인스트럭션들(instructions)을 실행하도록 설정될 수 있다. 그 밖의 다양한 실시예들도 가능하다.According to various embodiments, a server that processes requests received from a user device and transmits requested information to the user device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory. And, the processor receives, through the communication module, a request for entry into a chat room corresponding to a specific area from the user device, and determines whether the first location of the user device falls within the specific area at a first time, and , if the first location falls within the specific area, (i) admitting the user device to the chat room, and (ii) registering a reply message to the message registered by the user device in the chat room. In response to being, transmitting a push notification message for the reply message to the user device through the communication module, and in response to receiving a request to enter the chat room through the push notification message from the user device, At a second time after the first time, determine whether a second location of the user device falls within the specific area, and if the second location does not fall within the specific area, then enter the chat room for the user device. It can be set to execute instructions that cause it to reject. Various other embodiments are also possible.

Description

지역에 기반하여 채팅방 서비스를 제공하는 서버 및 그 동작 방법{SERVER FOR PROVIDING CHAT ROOM SERVICE BASED ON REGION AND METHOD FOR OPERATION THEREOF}A server that provides chat room services based on region and its operation method {SERVER FOR PROVIDING CHAT ROOM SERVICE BASED ON REGION AND METHOD FOR OPERATION THEREOF}

본 개시의 다양한 실시예는, 지역(region)에 기반하여 채팅방 서비스를 제공하는 서버 및 그 동작 방법에 관한 것으로서, 특히, 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하여, 이에 대한 승인/거부를 결정하는 서버 및 그 동작 방법에 관한 것이다.Various embodiments of the present disclosure relate to a server that provides a chat room service based on a region and a method of operating the same. In particular, receiving a request for entry into a chat room corresponding to a specific region from a user device, It relates to a server that determines approval/rejection and its operating method.

여행자들은 여행을 하는 과정에서 해당 지역에 대한 정보가 필요한 경우가 있다. 여행자들이 온라인 검색을 통해 원하는 정보를 탐색할 수도 있으나, 블로그 등에는 광고 글도 다수 존재하여 정확한 정보를 획득하기 어려울 수 있다. 또한, 관광안내소로부터 멀리 떨어진 지역에서는 여행정보를 직접 물어보고 획득하기도 어렵다. 이러한 경우에 여행자들이 사용하는 메신저 어플리케이션을 통해 간편하게 여행정보를 물어보고 획득할 수 있는 서비스가 필요하다.Travelers sometimes need information about the area during their trip. Travelers may search for desired information through online searches, but it may be difficult to obtain accurate information as there are many advertising posts on blogs. Additionally, it is difficult to ask and obtain travel information directly in areas far from the tourist information center. In these cases, a service is needed that allows travelers to easily ask for and obtain travel information through the messenger application they use.

한국공개특허공보 제10-2023-0038166호 (2023.03.17)Korean Patent Publication No. 10-2023-0038166 (2023.03.17) 한국등록특허공보 제10-2482269호 (2022.12.23)Korean Patent Publication No. 10-2482269 (2022.12.23)

본 개시에 따른 서버는, 지역 기반의 채팅방 서비스를 통하여 특정 지역 내에 위치한 사용자들 간에 특정 지역에 대한 정보를 공유하고, 실시간으로 상호작용할 수 있는 플랫폼을 제공할 수 있다.The server according to the present disclosure can provide a platform for sharing information about a specific region and interacting in real time between users located in a specific region through a region-based chat room service.

다양한 실시예들에 따라서, 사용자 장치로부터 수신된 요청을 처리하고, 상기 사용자 장치로 요청된 정보를 송신하는 서버는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통하여, 상기 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하고, 제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하고, 상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하고, 상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하고, 및 상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하도록 하는 인스트럭션들(instructions)을 실행하도록 설정될 수 있다.According to various embodiments, a server that processes requests received from a user device and transmits requested information to the user device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory. And, the processor receives, through the communication module, a request for entry into a chat room corresponding to a specific area from the user device, and determines whether the first location of the user device falls within the specific area at a first time, and , if the first location falls within the specific area, (i) admitting the user device to the chat room, and (ii) registering a reply message to the message registered by the user device in the chat room. In response to being, transmitting a push notification message for the reply message to the user device through the communication module, and in response to receiving a request to enter the chat room through the push notification message from the user device, At a second time after the first time, determine whether a second location of the user device falls within the specific area, and if the second location does not fall within the specific area, then enter the chat room for the user device. It can be set to execute instructions that cause it to reject.

다양한 실시예들에 따라서, 서버의 동작 방법은, 상기 서버의 통신 모듈을 통하여, 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하는 동작, 제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작, 상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하는 동작, 상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작, 및 상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하는 동작을 포함할 수 있다.According to various embodiments, a method of operating a server includes receiving a request to enter a chat room corresponding to a specific area from a user device through a communication module of the server, and determining a first location of the user device at a first time. The operation of determining whether the first location falls within the specific area, if the first location falls within the specific area, (i) granting entry to the chat room for the user device, and (ii) granting access to the user device within the chat room. In response to registering a reply message to a message registered by, transmitting a push notification message for the reply message to the user device through the communication module, from the user device to the chat room through the push notification message In response to receiving an entry request, determining at a second time after the first time whether a second location of the user device falls within the specific area, and if the second location does not fall within the specific area. In this case, it may include an operation of denying entry to the chat room to the user device.

본 개시는 지역 기반의 채팅방 서비스를 제공함으로써, 사용자 장치들의 위치 정보를 기반으로 해당 사용자 장치들을 사용하는 여행자들을 특정 지역에 대응하는 채팅방으로 유도하고, 특정 지역과 관련하여 활발한 대화를 진행할 수 있는 공간을 마련하여 여행자 중심의 유효한 정보를 교환할 수 있는 효과를 제공할 수 있다. The present disclosure provides a region-based chat room service, guiding travelers using the user devices to a chat room corresponding to a specific region based on the location information of the user devices, and providing a space where active conversations related to the specific region can be held. can provide the effect of exchanging valid information centered on travelers.

본 개시는 지역 기반의 채팅방 서비스를 제공함으로써, 지역별 커뮤니티 구성원들이 실시간으로 소통하고, 지역에 관련된 특정한 관심사나 이벤트에 대해 빠르게 정보를 공유할 수 있는 효과를 제공할 수 있다.By providing a regional-based chat room service, the present disclosure can provide the effect of allowing regional community members to communicate in real time and quickly share information about specific interests or events related to the region.

도 1은 본 개시의 다양한 실시예에 따른 전자 장치 및 네트워크의 블록도를 도시한다.
도 2는 다양한 실시예들에 따른, 전자 장치가 사용자 장치에 대하여 지역 기반의 채팅방으로의 입장을 승인 또는 거부하는 동작을 설명하기 위한 흐름도이다.
도 3은 다양한 실시예들에 따른, 전자 장치가 사용자 장치에 대하여 채팅방 입장을 승인하는 실시예를 설명하기 위한 도면이다.
도 4a 및 도 4b는 다양한 실시예들에 따른, 전자 장치가 사용자 장치에 대하여 채팅방 입장을 거부하는 실시예를 설명하기 위한 도면이다.
도 5는 다양한 실시예들에 따른, 전자 장치가 사용자 장치에 의하여 요청된 메시지 북마크 기능을 수행하는 실시예를 설명하기 위한 도면이다.
도 6은 다양한 실시예들에 따른, 전자 장치가 사용자 장치로 북마크 보관함 기능을 제공하는 실시예를 설명하기 위한 도면이다.
도 7은 다양한 실시예들에 따른, 전자 장치가 메시지 등록 기간 및 북마크 횟수에 따라 메시지의 표시 효과를 변경하는 실시예를 설명하기 위한 도면이다.
1 shows a block diagram of an electronic device and a network according to various embodiments of the present disclosure.
FIG. 2 is a flowchart illustrating an operation in which an electronic device approves or denies entry to a region-based chat room for a user device, according to various embodiments.
FIG. 3 is a diagram illustrating an example in which an electronic device authorizes a user device to enter a chat room, according to various embodiments.
FIGS. 4A and 4B are diagrams illustrating an example in which an electronic device denies entry to a chat room to a user device, according to various embodiments.
FIG. 5 is a diagram illustrating an example in which an electronic device performs a message bookmark function requested by a user device, according to various embodiments.
FIG. 6 is a diagram illustrating an example in which an electronic device provides a bookmark storage function to a user device, according to various embodiments.
FIG. 7 is a diagram illustrating an example in which an electronic device changes the display effect of a message depending on the message registration period and the number of bookmarks, according to various embodiments.

이하, 본 문서의 다양한 실시예들이 첨부된 도면을 참조하여 기재된다. 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B" 또는 "A 및/또는 B 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.Hereinafter, various embodiments of this document are described with reference to the attached drawings. The examples and terms used herein are not intended to limit the technology described in this document to specific embodiments, and should be understood to include various modifications, equivalents, and/or substitutes for the examples. In connection with the description of the drawings, similar reference numbers may be used for similar components. Singular expressions may include plural expressions, unless the context clearly indicates otherwise. In this document, expressions such as “A or B” or “at least one of A and/or B” may include all possible combinations of the items listed together. Expressions such as “first,” “second,” “first,” or “second,” can modify the corresponding components regardless of order or importance, and are used to distinguish one component from another. It is only used and does not limit the corresponding components. When a component (e.g., a first) component is said to be "connected (functionally or communicatively)" or "connected" to another (e.g., second) component, it means that the component is connected to the other component. It may be connected directly to a component or may be connected through another component (e.g., a third component).

본 문서에서, "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 application processor)를 의미할 수 있다. In this document, “configured to” means “suitable for,” “having the ability to,” or “changed to,” depending on the situation, for example, in terms of hardware or software. ," can be used interchangeably with "made to," "capable of," or "designed to." In some contexts, the expression “a device configured to” may mean that the device is “capable of” working with other devices or components. For example, the phrase "processor configured (or set) to perform A, B, and C" refers to a processor dedicated to performing the operations (e.g., an embedded processor), or by executing one or more software programs stored on a memory device. , may refer to a general-purpose processor (e.g., CPU or application processor) capable of performing the corresponding operations.

본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버 중 적어도 하나를 포함할 수 있다. Electronic devices according to various embodiments of this document may include, for example, at least one of a smartphone, tablet PC, desktop PC, laptop PC, netbook computer, workstation, and server.

도 1을 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 인터페이스(170)를 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. 버스(110)는 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 또는 데이터)을 전달하는 회로를 포함할 수 있다. 프로세서(120)는, 중앙처리장치, 어플리케이션 프로세서, 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. 1, an electronic device 101 within a network environment 100, in various embodiments, is described. The electronic device 101 may include a bus 110, a processor 120, a memory 130, an input/output interface 150, a display 160, and a communication interface 170. In some embodiments, the electronic device 101 may omit at least one of the components or may additionally include another component. The bus 110 connects the components 110 to 170 to each other and may include circuitry that transfers communication (eg, control messages or data) between the components. The processor 120 may include one or more of a central processing unit, an application processor, or a communication processor (CP). The processor 120 may, for example, perform operations or data processing related to control and/or communication of at least one other component of the electronic device 101.

메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(API)(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템으로 지칭될 수 있다. 커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. Memory 130 may include volatile and/or non-volatile memory. For example, the memory 130 may store commands or data related to at least one other component of the electronic device 101. According to one embodiment, memory 130 may store software and/or program 140. Program 140 may include, for example, a kernel 141, middleware 143, an application programming interface (API) 145, and/or an application program (or “application”) 147, etc. . At least a portion of the kernel 141, middleware 143, or API 145 may be referred to as an operating system. Kernel 141 may, for example, provide system resources (e.g., middleware 143, API 145, or application program 147) used to execute operations or functions implemented in other programs (e.g., : Bus 110, processor 120, or memory 130, etc.) can be controlled or managed. In addition, the kernel 141 provides an interface for controlling or managing system resources by accessing individual components of the electronic device 101 in the middleware 143, API 145, or application program 147. You can.

미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. 또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여하고, 상기 하나 이상의 작업 요청들을 처리할 수 있다. API(145)는 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. 입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달하거나, 또는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다. The middleware 143 may, for example, perform an intermediary role so that the API 145 or the application program 147 can communicate with the kernel 141 to exchange data. Additionally, the middleware 143 may process one or more work requests received from the application program 147 according to priority. For example, the middleware 143 may use system resources (e.g., bus 110, processor 120, or memory 130, etc.) of the electronic device 101 for at least one of the application programs 147. Priority may be assigned and the one or more work requests may be processed. The API 145 is an interface for the application 147 to control functions provided by the kernel 141 or middleware 143, for example, at least for file control, window control, image processing, or character control. Can contain one interface or function (e.g. command). The input/output interface 150, for example, transmits commands or data input from a user or other external device to other component(s) of the electronic device 101, or to other component(s) of the electronic device 101 ( Commands or data received from (fields) can be output to the user or other external device.

디스플레이(160)는, 예를 들면, 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 마이크로 전자기계 시스템 (MEMS) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 및/또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다. 통신 인터페이스(170)는, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 인터페이스(170)는 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.Display 160 may be, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a microelectromechanical system (MEMS) display, or an electronic paper display. It can be included. For example, the display 160 may display various contents (e.g., text, images, videos, icons, and/or symbols, etc.) to the user. The display 160 may include a touch screen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body. The communication interface 170, for example, establishes communication between the electronic device 101 and an external device (e.g., the first external electronic device 102, the second external electronic device 104, or the server 106). You can. For example, the communication interface 170 may be connected to the network 162 through wireless or wired communication and communicate with an external device (eg, the second external electronic device 104 or the server 106).

무선 통신은, 예를 들면, LTE, LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용하는 셀룰러 통신을 포함할 수 있다. 한 실시예에 따르면, 무선 통신은, 예를 들면, WiFi(wireless fidelity), 블루투스, 블루투스 저전력(BLE), 지그비(Zigbee), NFC(near field communication), 자력 시큐어 트랜스미션(Magnetic Secure Transmission), 라디오 프리퀀시(RF), 또는 보디 에어리어 네트워크(BAN) 중 적어도 하나를 포함할 수 있다. 한실시예에 따르면, 무선 통신은 GNSS를 포함할 수 있다. GNSS는, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system일 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 상호 호환적으로 사용될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 텔레커뮤니케이션 네트워크, 예를 들면, 컴퓨터 네트워크(예: LAN 또는 WAN), 인터넷, 또는 텔레폰 네트워크 중 적어도 하나를 포함할 수 있다.Wireless communications include, for example, LTE, LTE Advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), Wireless Broadband (WiBro), or Global GSM (GSM). It may include cellular communication using at least one of the System for Mobile Communications). According to one embodiment, wireless communication includes, for example, wireless fidelity (WiFi), Bluetooth, Bluetooth Low Energy (BLE), Zigbee, near field communication (NFC), Magnetic Secure Transmission, and radio. It may include at least one of frequency (RF) or body area network (BAN). According to one embodiment, wireless communications may include GNSS. GNSS may be, for example, Global Positioning System (GPS), Global Navigation Satellite System (Glonass), Beidou Navigation Satellite System (hereinafter “Beidou”), or Galileo, the European global satellite-based navigation system. Hereinafter, in this document, “GPS” may be used interchangeably with “GNSS.” Wired communication may include, for example, at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), power line communication, or plain old telephone service (POTS). there is. Network 162 may include at least one of a telecommunications network, for example, a computer network (e.g., a LAN or WAN), the Internet, or a telephone network.

제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the first and second external electronic devices 102 and 104 may be of the same or different type as the electronic device 101. According to various embodiments, all or part of the operations performed on the electronic device 101 may be executed on one or more electronic devices (e.g., the electronic devices 102 and 104, or the server 106). In one embodiment, According to this, when the electronic device 101 is to perform a certain function or service automatically or upon request, the electronic device 101 performs at least some functions associated therewith instead of or in addition to executing the function or service on its own. may be requested from another device (e.g., electronic device 102, 104, or server 106). The other electronic device (e.g., electronic device 102, 104, or server 106) may request the requested function or Additional functions may be executed and the results may be transmitted to the electronic device 101. The electronic device 101 may process the received results as is or additionally to provide the requested function or service. To this end, for example, For example, cloud computing, distributed computing, or client-server computing technologies may be used.

도 2는 다양한 실시예들에 따른, 전자 장치(예: 도 1의 전자 장치(101))가 사용자 장치에 대하여 지역 기반의 채팅방으로의 입장을 승인 또는 거부하는 동작을 설명하기 위한 흐름도이다.FIG. 2 is a flowchart illustrating an operation by an electronic device (e.g., the electronic device 101 of FIG. 1 ) to approve or deny entry to a region-based chat room for a user device, according to various embodiments.

도 3은 다양한 실시예들에 따른, 전자 장치(101)가 사용자 장치에 대하여 채팅방 입장을 승인하는 실시예를 설명하기 위한 도면이다.FIG. 3 is a diagram illustrating an example in which the electronic device 101 authorizes a user device to enter a chat room, according to various embodiments.

도 4a 및 도 4b는 다양한 실시예들에 따른, 전자 장치(101)가 사용자 장치에 대하여 채팅방 입장을 거부하는 실시예를 설명하기 위한 도면이다.FIGS. 4A and 4B are diagrams illustrating an example in which the electronic device 101 denies entry to a chat room to a user device, according to various embodiments.

다양한 실시예들에 따르면, 전자 장치(101)는 복수의 실행 화면들로 구성된 어플리케이션 또는 복수의 웹 페이지(web page)들로 구성된 웹 사이트(web site)를 운영하는 서버일 수 있고, 사용자 장치(예: 도 1의 전자 장치(102, 104))(예: 스마트폰, 노트북 등)와 네트워크(162, 164)를 통해 통신하며, 사용자 장치(102)로부터 어플리케이션 또는 웹 페이지에 관하여 수신된 요청을 처리하고 사용자 장치(102)로 요청된 정보를 송신할 수 있다. 전자 장치(101)는 지역(region) 기반의 채팅 서비스를 제공하는 전용 어플리케이션 또는 웹 사이트의 각 실행 화면을 사용자 장치(102)에서 표시할 수 있도록 하는 소스 코드를 사용자 장치(102)로 송신할 수 있고, 사용자 장치(102)는 상기 소스 코드를 수신하여, 상기 전용 어플리케이션 또는 웹 브라우저를 통하여 사용자 장치(102)의 사용자에 의하여 요청된 실행 화면을 표시할 수 있다. 일 실시예에 따르면, 본 개시에서 사용자 장치(102)로 지칭된 구성들은, 해당 사용자 장치를 통하여 전자 장치(101)가 제공하는 플랫폼에 접속한 사용자 계정을 의미할 수 있다.According to various embodiments, the electronic device 101 may be a server that operates an application composed of a plurality of execution screens or a web site composed of a plurality of web pages, and a user device ( Example: communicates with the electronic devices 102 and 104 of FIG. 1 (e.g., smartphone, laptop, etc.) through the networks 162 and 164, and receives a request regarding an application or web page from the user device 102. Process and transmit the requested information to user device 102. The electronic device 101 can transmit to the user device 102 source code that allows the user device 102 to display each execution screen of a dedicated application or website that provides a region-based chat service. The user device 102 may receive the source code and display an execution screen requested by the user of the user device 102 through the dedicated application or web browser. According to one embodiment, the components referred to as the user device 102 in the present disclosure may mean a user account that accesses the platform provided by the electronic device 101 through the corresponding user device.

201 동작에서, 다양한 실시예들에 따르면, 전자 장치(예: 도 1의 프로세서(120))는 통신 모듈(예: 도 1의 통신 모듈(170))을 통하여 사용자 장치(102)로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신할 수 있다. 예를 들어, 전자 장치(101)는 사용자 장치(102)로부터 특정 지역(예: 오사카)에 대응하는 채팅방으로의 입장 요청을 수신할 수 있다.In operation 201, according to various embodiments, an electronic device (e.g., processor 120 of FIG. 1) receives information from the user device 102 to a specific area through a communication module (e.g., communication module 170 of FIG. 1). A request for entry into the corresponding chat room can be received. For example, the electronic device 101 may receive a request to enter a chat room corresponding to a specific area (eg, Osaka) from the user device 102.

일 실시예에 따르면, 전자 장치(101)의 관리자는 각각의 지역별로 채팅방을 생성할 수 있고, 지역의 범위를 대륙별, 국가별, 도시별, 행정구역별, 또는 이들의 조합으로 자유롭게 설정할 수 있다.According to one embodiment, the administrator of the electronic device 101 can create a chat room for each region, and can freely set the scope of the region by continent, country, city, administrative district, or a combination thereof. there is.

일 실시예에 따르면, 사용자 장치(102)는 지역 기반의 채팅방으로의 입장을 요청하기 위하여, 장치 내부의 위치 측정 모듈(예: GNSS 통신 모듈)을 이용하여 사용자 장치(102)의 위치 정보를 확인할 수 있고, 상기 위치 정보를 채팅방으로의 입장 요청에 포함시켜 전자 장치(101)로 송신할 수 있다.According to one embodiment, the user device 102 verifies the location information of the user device 102 using a position measurement module (e.g., a GNSS communication module) inside the device in order to request entry to a region-based chat room. The location information can be included in a request to enter the chat room and transmitted to the electronic device 101.

203 동작에서, 다양한 실시예들에 따르면, 전자 장치(예: 도 1의 프로세서(120))는 제1 시점에 사용자 장치(102)의 제1 위치가 특정 지역 내에 속하는지를 판단할 수 있다.In operation 203, according to various embodiments, the electronic device (eg, the processor 120 of FIG. 1) may determine whether the first location of the user device 102 falls within a specific area at a first time.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(102)로부터 수신된 입장 요청으로부터 제1 위치에 대한 위치 정보를 확인할 수 있고, 상기 위치 정보가 특정 지역(예: 오사카) 내에 포함되는 경우, 제1 위치가 특정 지역 내에 속하는 것으로 결정하고, 상기 위치 정보가 특정 지역 내에 포함되지 않는 경우, 제1 위치가 특정 지역 내에 속하지 않는 것으로 결정할 수 있다.According to one embodiment, the electronic device 101 may check location information about the first location from an entry request received from the user device 102, and when the location information is included within a specific area (e.g., Osaka) , if it is determined that the first location falls within a specific area, and the location information is not included within the specific area, it may be determined that the first location does not fall within the specific area.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(102)의 제1 위치가 적어도 두 개의 지역들 사이의 오버랩된 지역(overlapped region)에 속하는 경우, 적어도 두 개의 지역들에 대응하는 채팅방들 중에서 사용자 장치(102)가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 사용자 장치(102)의 제1 위치가 속하는 것으로 결정할 수 있다. 예를 들어, 사용자 장치(102)가 제1 지역에 대응하는 제1 채팅방에서 마지막 메시지를 등록한 시각이 제1 시각(예: 2023.01.01 23:00)이고, 제2 지역에 대응하는 제2 채팅방에서 마지막 메시지를 등록한 시각이 제2 시각(예: 2023.01.01 23:03)인 경우, 가장 최근 시각인 제2 시각에 메시지를 등록한 제2 채팅방에 대응하는 제2 지역을 사용자 장치(102)의 현재 위치가 속하는 지역으로 결정할 수 있다. According to one embodiment, when the first location of the user device 102 belongs to an overlapped region between the at least two regions, the electronic device 101 displays chat rooms corresponding to the at least two regions. It may be determined that the first location of the user device 102 belongs to an area corresponding to the chat room in which the user device 102 most recently registered a message. For example, the time when the user device 102 registered the last message in the first chat room corresponding to the first region is the first time (e.g., 2023.01.01 23:00), and the second chat room corresponding to the second region If the last message registered time is the second time (e.g. 2023.01.01 23:03), the second area corresponding to the second chat room in which the message was registered at the most recent second time, the second time, of the user device 102. It can be determined by the region to which the current location belongs.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(102)의 제1 위치가 적어도 두 개의 지역들 사이의 오버랩된 지역에 속하는 경우, 적어도 두 개의 지역들에 대응하는 채팅방들 각각에서 사용자 장치(102)가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 사용자 장치(102)의 제1 위치가 속하는 것으로 결정할 수 있다. 예를 들어, 사용자 장치(102)가 제1 지역에 대응하는 제1 채팅방에서 마지막 메시지를 등록한 시각이 제1 시각(예: 2023.01.01 23:00)이고, 제2 지역에 대응하는 제2 채팅방에서 마지막 메시지를 등록한 시각이 제2 시각(예: 2023.01.01 23:03)인 경우, 제1 채팅방 및 제2 채팅방들 각각에서 사용자 장치(102)가 마지막 메시지를 등록한 시각 차이(예: 3분)가 미리 정해진 제1 기간(예: 5분) 이내인 것에 기반하여, 제1 채팅방 및 제2 채팅방 중에서 현재 시점(예: 2023.01.01 23:05)으로부터 이전의 미리 정해진 제2 기간(예: 3시간) 동안의 특정 시점(예: 2023.01.01 20:05)까지 등록된 메시지의 개수가 가장 많은 채팅방(예: 제2 채팅방)에 대응하는 지역을 사용자 장치(102)의 현재 위치가 속하는 지역으로 결정할 수 있다. 전술한 기능을 통하여, 사용자 장치(102)의 위치가 복수의 지역들에 동시에 속한 경우에도, 사용자 장치(102)의 사용자로 하여금 최적의 소통을 할 수 있는 채팅방으로 입장하도록 하는 효과를 제공할 수 있다.According to one embodiment, when the first location of the user device 102 belongs to an overlapped region between at least two regions, the electronic device 101 displays the user device in each of the chat rooms corresponding to the at least two regions. Based on the difference in time when 102 registered the last message is within a predetermined first period, the user device ( It can be determined that the first position of 102) belongs. For example, the time when the user device 102 registered the last message in the first chat room corresponding to the first region is the first time (e.g., 2023.01.01 23:00), and the second chat room corresponding to the second region If the time at which the last message was registered is the second time (e.g. 2023.01.01 23:03), the time difference at which the user device 102 registered the last message in each of the first and second chat rooms (e.g. 3 minutes) Based on that ) is within a predetermined first period (e.g., 5 minutes), a predetermined second period (e.g., 2023.01.01 23:05) is selected between the first chat room and the second chat room. The region corresponding to the chat room (e.g., the second chat room) with the largest number of registered messages until a certain point in time (e.g., 2023.01.01 20:05) for 3 hours) is the region where the current location of the user device 102 belongs. can be decided. Through the above-described function, it is possible to provide the effect of allowing the user of the user device 102 to enter a chat room where optimal communication can occur, even if the location of the user device 102 belongs to a plurality of areas at the same time. there is.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(102)의 제1 위치가 특정 지역에 속하고, 적어도 하나의 다른 지역의 경계선으로부터 미리 정해진 거리 이내인 경우, (i)특정 지역 및 적어도 하나의 다른 지역에 대응하는 채팅방들 중에서 사용자 장치(102)가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 사용자 장치(102)의 제1 위치가 속하는 것으로 결정할 수 있고, 또는 (ii)특정 지역 및 적어도 하나의 다른 지역에 대응하는 채팅방들 각각에서 사용자 장치(102)가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 사용자 장치(102)의 제1 위치가 속하는 것으로 결정할 수 있다. 전술한 기능을 통하여, 사용자 장치(102)의 위치가 특정 지역에 속하는 동시에 다른 지역과 근접하는 경우에, 특정 지역에 대응하는 채팅방과 다른 지역에 대응하는 채팅방 중에서 사용자 장치(102)의 사용자로 하여금 최적의 소통을 할 수 있는 채팅방으로 입장하도록 하는 효과를 제공할 수 있다.According to one embodiment, if the first location of the user device 102 belongs to a specific area and is within a predetermined distance from the border of at least one other area, (i) the specific area and at least It may be determined that the first location of user device 102 falls within a region corresponding to a chat room in which user device 102 most recently registered a message, among chat rooms corresponding to different regions, or (ii) a specific region. and based on the difference in time when the user device 102 registered the last message in each of the chat rooms corresponding to at least one different region being within a predetermined first period, the registered message during the previous predetermined second period from the current time. It may be determined that the first location of the user device 102 falls in an area corresponding to the chat room with the largest number of messages. Through the above-described function, when the location of the user device 102 belongs to a specific area and is close to another area, the user of the user device 102 can select a chat room corresponding to a specific area and a chat room corresponding to another area. It can provide the effect of allowing users to enter a chat room where optimal communication can occur.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(102)가 특정 지역에 대응하는 채팅방에서 메시지를 작성하는 도중에 사용자 장치(102)의 현재 위치가 상기 특정 지역 내에 속하는지를 판단할 수 있다.According to one embodiment, the electronic device 101 may determine whether the current location of the user device 102 falls within the specific region while the user device 102 is composing a message in a chat room corresponding to a specific region.

일 실시예에 따르면, 전자 장치(101)가 203 동작을 수행하는 대신에, 사용자 장치(102)가 특정 지역에 대응하는 채팅방으로 입장하기 위하여, 사용자 장치(102)의 현재 위치가 특정 지역에 속하는지를 전용 어플리케이션의 API를 통하여 검증할 수 있다.According to one embodiment, instead of the electronic device 101 performing operation 203, the user device 102 determines that the current location of the user device 102 belongs to a specific region in order to enter a chat room corresponding to a specific region. It can be verified through the API of the dedicated application.

205 동작에서, 다양한 실시예들에 따르면, 제1 위치가 특정 지역 내에 속하는 경우, 전자 장치(예: 도 1의 프로세서(120))는 사용자 장치(102)에 대하여 특정 지역에 대응하는 채팅방으로의 입장을 승인할 수 있다.At operation 205, according to various embodiments, if the first location falls within a specific region, the electronic device (e.g., processor 120 of FIG. 1) directs the user device 102 to a chat room corresponding to the specific region. Entry can be approved.

일 실시예에 따라, 도 3을 참조하면, 제1 위치가 특정 지역 내에 속하는 경우, 사용자 장치(102)의 사용자는 채팅방에 입장한 후에 채팅방 내에서 자유롭게 메시지를 등록할 수 있을 뿐만 아니라, 다른 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지도 자유롭게 등록할 수 있다. 일 실시예에 따라, 도 3을 참조하면, 답장 메시지(320)는 원본 메시지(310)를 등록한 사용자 장치의 사용자 정보와 원본 메시지(310)의 적어도 일부의 내용을 함께 포함할 수 있다. 한편, 채팅방 상단에 표시되는 특정 지역의 여행자 수는, 해당 특정 지역에 대하여 생성된 여행 일정 판의 수에 따라 결정되거나 특정 지역에 속하는 위치 정보를 갖는 복수의 사용자 장치들의 수에 따라 결정될 수 있고, 상기 특정 지역의 여행자 수는, 미리 정해진 시각(예: 매일 오전 9시)또는 미리 정해진 주기(예: 1시간 단위)에 따라 갱신될 수 있다.According to one embodiment, referring to Figure 3, if the first location falls within a specific area, the user of the user device 102 may freely register messages within the chat room after entering the chat room, as well as send messages to other users. Reply messages to messages registered by the device can also be freely registered. According to one embodiment, referring to FIG. 3, the reply message 320 may include user information of the user device that registered the original message 310 and at least part of the contents of the original message 310. Meanwhile, the number of travelers in a specific area displayed at the top of the chat room may be determined according to the number of travel itinerary plates created for the specific area or the number of a plurality of user devices with location information belonging to the specific area, The number of travelers in the specific area may be updated at a predetermined time (e.g., 9 a.m. every day) or at a predetermined period (e.g., on an hourly basis).

일 실시예에 따르면, 제1 위치가 특정 지역 내에 속하는 경우, 전자 장치(101)는 사용자 장치(102)가 채팅방에 입장하기 이전에 등록된 적어도 하나의 메시지를 사용자 장치(102)에서 표시 가능하도록 설정할 수 있다. 전술한 기능을 통하여, 사용자 장치(102)가 채팅방에 입장한 후의 메시지만 확인할 수 있는 것이 아닌, 채팅방에 입장하기 이전의 메시지도 확인하고 이에 대한 답장 메시지도 등록할 수 있음으로써, 여행 중인 사용자에게 지역 기반의 다양한 정보를 수집하고 이를 활용 가능한 사용자 편의 효과를 제공할 수 있다.According to one embodiment, when the first location falls within a specific area, the electronic device 101 allows the user device 102 to display at least one message registered before the user device 102 enters the chat room. You can set it. Through the above-described function, the user device 102 can not only check messages after entering the chat room, but also check messages before entering the chat room and register a reply message thereto, thereby providing a user who is traveling. It can provide user convenience by collecting various regional information and utilizing it.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치들이 메시지를 등록할 때, 다양한 포맷의 정보(예: 여행 일정, 위치 정보, 링크, 영상, 파일, 음성 메시지 등)를 메시지에 포함시켜 등록할 수 있도록 하는 기능을 지원할 수 있다.According to one embodiment, when user devices register a message, the electronic device 101 registers information in various formats (e.g., travel itinerary, location information, link, video, file, voice message, etc.) in the message. It can support functions that allow you to do so.

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방 내에 사용자 장치(102)에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 통신 모듈(170)을 통하여 사용자 장치(102)로 답장 메시지에 대한 푸쉬 알림 메시지를 송신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 푸쉬 알림 메시지를 사용자 장치(102)로 송신함으로써, 사용자 장치(102)의 알림 바(notification bar)에 푸쉬 알림 메시지가 표시되도록 할 수 있다.According to one embodiment, the electronic device 101 responds to registering a reply message to a message registered by the user device 102 in a chat room corresponding to a specific area, and sends a message to the user device (102) through the communication module 170. 102), you can send a push notification message for the reply message. According to one embodiment, the electronic device 101 may transmit a push notification message to the user device 102 so that the push notification message is displayed in the notification bar of the user device 102.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(102)로부터 푸쉬 알림 메시지를 통한 채팅방으로의 입장 요청을 수신할 수 있다. 예를 들어, 사용자 장치(102)는 화면 상에 표시된 푸쉬 알림 메시지를 선택하는 사용자 입력에 응답하여, 상기 채팅방으로의 입장 요청을 전자 장치(101)로 송신할 수 있다.According to one embodiment, the electronic device 101 may receive a request to enter a chat room through a push notification message from the user device 102. For example, the user device 102 may transmit a request to enter the chat room to the electronic device 101 in response to a user input of selecting a push notification message displayed on the screen.

일 실시예에 따르면, 전자 장치(101)가 아닌 사용자 장치(102)에서 사용자 장치(102)의 현재 위치가 특정 지역에 속하는지를 전용 어플리케이션의 API를 통하여 검증한 경우, 전자 장치(101)는 사용자 장치(102)로부터 사용자 장치(102)의 현재 위치가 특정 지역에 속함을 나타내는 정보를 수신하는 것에 응답하여, 사용자 장치(102)에 대하여 특정 지역에 대응하는 채팅방으로의 입장을 승인할 수 있다.According to one embodiment, when the user device 102, rather than the electronic device 101, verifies whether the current location of the user device 102 belongs to a specific area through the API of a dedicated application, the electronic device 101 In response to receiving information from the device 102 indicating that the current location of the user device 102 falls within a specific region, the user device 102 may be granted entry to a chat room corresponding to the specific region.

207 동작에서, 다양한 실시예들에 따르면, 전자 장치(예: 도 1의 프로세서(120))는 제1 위치가 특정 지역 내에 속하지 않는 경우, 전자 장치(예: 도 1의 프로세서(120))는 사용자 장치(102)에 대하여 특정 지역에 대응하는 채팅방으로의 입장을 거부할 수 있다.In operation 207, according to various embodiments, the electronic device (e.g., the processor 120 of FIG. 1), if the first location does not fall within a specific region, the electronic device (e.g., the processor 120 of FIG. 1) The user device 102 may be denied entry to a chat room corresponding to a specific region.

일 실시예에 따라, 도 4a를 참조하면, 제1 위치가 특정 지역(예: 오사카) 내에 속하지 않는 경우, 전자 장치(101)는 사용자 장치(102)가 특정 지역에 대응하는 채팅방에 입장할 수 없음을 나타내는 화면을 표시하도록 할 수 있다.According to one embodiment, referring to FIG. 4A, if the first location does not fall within a specific region (e.g., Osaka), the electronic device 101 allows the user device 102 to enter a chat room corresponding to the specific region. You can display a screen indicating none.

일 실시예에 따라, 도 4b를 참조하면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에서 사용자 장치(102)가 메시지를 작성하는 시점의 사용자 장치(102)의 현재 위치가 상기 특정 지역에 속하지 않는 것에 응답하여, 채팅방의 표시 화면에 음영 효과를 적용하고, 특정 지역을 벗어남을 나타내는 팝업 화면(410)을 사용자 장치(102)가 표시하도록 할 수 있다. 전술한 기능을 통하여, 사용자 장치(102)가 메시지 작성 중이더라도 지역 이탈을 빠르게 인식하고, 채팅방 입장을 위하여 해당 지역으로의 진입을 가이드함으로써, 지역 기반의 채팅방으로부터 정보 획득의 연속성을 보장하는 사용자 편의를 높이는 효과를 제공할 수 있다.According to one embodiment, referring to FIG. 4B, the electronic device 101 determines that the current location of the user device 102 at the time the user device 102 writes a message in a chat room corresponding to a specific region is in the specific region. In response to not belonging, a shading effect may be applied to the display screen of the chat room and the user device 102 may display a pop-up screen 410 indicating leaving a specific area. Through the above-described function, user convenience ensures continuity of information acquisition from a region-based chat room by quickly recognizing the user device 102 leaving the area even while writing a message and guiding entry into the area to enter the chat room. It can provide the effect of increasing .

일 실시예에 따르면, 전자 장치(101)가 아닌 사용자 장치(102)에서 사용자 장치(102)의 현재 위치가 특정 지역에 속하는지를 전용 어플리케이션의 API를 통하여 검증한 경우, 전자 장치(101)는 사용자 장치(102)로부터 사용자 장치(102)의 현재 위치가 특정 지역에 속하지 않음을 나타내는 정보를 수신하는 것에 응답하여, 사용자 장치(102)에 대하여 특정 지역에 대응하는 채팅방으로의 입장을 거부할 수 있다.According to one embodiment, when the user device 102, rather than the electronic device 101, verifies whether the current location of the user device 102 belongs to a specific area through the API of a dedicated application, the electronic device 101 In response to receiving information from device 102 indicating that the current location of user device 102 does not fall within a particular region, user device 102 may be denied entry to a chat room corresponding to a particular region. .

209 동작에서, 다양한 실시예들에 따르면, 전자 장치(예: 도 1의 프로세서(120))는 제1 시점 이후의 제2 시점에 사용자 장치(102)의 제2 위치가 특정 지역 내에 속하는지를 판단할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 203 동작에서 설명된 방법을 이용하여 209 동작을 수행할 수 있다.At operation 209, according to various embodiments, the electronic device (e.g., processor 120 of FIG. 1) determines whether the second location of the user device 102 falls within a specific region at a second time point after the first time point. can do. According to one embodiment, the electronic device 101 may perform operation 209 using the method described in operation 203.

일 실시예에 따르면, 전자 장치(101)는 사용자 장치(101)로부터 푸쉬 알림 메시지를 통한 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 제1 시점 이후의 제2 시점에 사용자 장치(102)의 제2 위치가 특정 지역 내에 속하는지를 판단할 수 있다.According to one embodiment, the electronic device 101 responds to receiving a request to enter a chat room through a push notification message from the user device 101, and at a second time after the first time, the electronic device 102 It may be determined whether the second location falls within a specific area.

일 실시예에 따르면, 전자 장치(101)는 제2 시점에서의 사용자 장치(102)의 현재 위치(예: 제2 위치)가 특정 지역 내에 속하는 경우, 205 동작에서의 기능들을 수행할 수 있고, 제2 시점에서의 사용자 장치(102)의 현재 위치(예: 제2 위치)가 특정 지역 내에 속하지 않는 경우, 207 동작에서의 기능들을 수행할 수 있다.According to one embodiment, the electronic device 101 may perform the functions in operation 205 when the current location (e.g., the second location) of the user device 102 at the second time point falls within a specific area, If the current location (eg, second location) of the user device 102 at the second time point does not fall within a specific area, the functions in operation 207 may be performed.

도 5는 다양한 실시예들에 따른, 전자 장치(예: 도 1의 전자 장치(101))가 사용자 장치(예: 도 1의 전자 장치(102))에 의하여 요청된 메시지 북마크 기능을 수행하는 실시예를 설명하기 위한 도면이다.FIG. 5 illustrates an implementation in which an electronic device (e.g., the electronic device 101 of FIG. 1) performs a message bookmark function requested by a user device (e.g., the electronic device 102 of FIG. 1) according to various embodiments. This is a drawing to explain an example.

다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 특정 지역에 대응하는 채팅방에 등록된 메시지들 중에서 특정 메시지에 대한 북마크 요청을 사용자 장치(102)로부터 수신할 수 있다. 일 실시예에 따라, 도 5의 <501> 및 <502>를 참조하면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 중에서 북마크(예: 공지)로 등록할 메시지(510)를 선택하는 사용자 입력(예: n초간 터치 유지)을 사용자 장치(102)로부터 수신할 수 있고, 상기 사용자 입력에 응답하여 사용자 장치(102)의 디스플레이에 팝업 화면(520)을 표시하도록 할 수 있다. 일 실시예에 따라, 도 5의 <502>를 참조하면, 전자 장치(101)는 사용자 장치(102)의 팝업 화면(520)에서 메시지(510)에 대한 북마크(521)(예: 공지로 등록하기)를 요청하는 사용자 입력을 사용자 장치(102)로부터 수신할 수 있다.According to various embodiments, the electronic device 101 (e.g., the processor 120 in FIG. 1) receives a bookmark request for a specific message from the user device 102 among messages registered in a chat room corresponding to a specific region. can do. According to one embodiment, referring to <501> and <502> of FIG. 5, the electronic device 101 selects a message 510 to be registered as a bookmark (e.g., notice) among messages registered in a chat room corresponding to a specific region. ) may be received from the user device 102, and a pop-up screen 520 may be displayed on the display of the user device 102 in response to the user input. there is. According to one embodiment, referring to <502> of FIG. 5, the electronic device 101 displays a bookmark 521 (e.g., registered as a notice) for the message 510 on the pop-up screen 520 of the user device 102. A user input requesting the following) may be received from the user device 102.

다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 특정 메시지에 대한 북마크 요청에 응답하여, 사용자 장치(102)에 표시된 채팅방의 최상단 영역에 특정 메시지의 컨텐츠를 고정하여 표시하도록 할 수 있다. 일 실시예에 따라, 도 5의 <502> 및 <503>을 참조하면, 전자 장치(101)는 특정 메시지(510)에 대한 북마크(521)를 요청하는 사용자 입력에 응답하여, 사용자 장치(102)에 표시된 채팅방의 최상단 영역(530)에 특정 메시지(510)의 컨텐츠를 고정하여 표시하면서, 특정 메시지(510)에 대한 북마크를 완료했음을 나타내도록 인디케이터(540)의 표시 상태를 전환할 수 있다.According to various embodiments, the electronic device 101 (e.g., the processor 120 of FIG. 1) responds to a bookmark request for a specific message, and stores content of the specific message in the top area of the chat room displayed on the user device 102. You can display it by fixing it. According to one embodiment, referring to <502> and <503> of FIG. 5, the electronic device 101 responds to a user input requesting a bookmark 521 for a specific message 510, and the user device 102 ), the content of the specific message 510 can be fixed and displayed in the top area 530 of the chat room, and the display state of the indicator 540 can be switched to indicate that bookmarking for the specific message 510 has been completed.

도 6은 다양한 실시예들에 따른, 전자 장치(예: 도 1의 전자 장치(101))가 사용자 장치(예: 도 1의 전자 장치(102))로 북마크 보관함 기능을 제공하는 실시예를 설명하기 위한 도면이다.FIG. 6 illustrates an embodiment in which an electronic device (e.g., the electronic device 101 of FIG. 1) provides a bookmark storage function to a user device (e.g., the electronic device 102 of FIG. 1) according to various embodiments. This is a drawing for this purpose.

다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 특정 지역에 대응하는 채팅방에서 북마크된 메시지들의 리스트의 표시를 요청하는 사용자 입력을 사용자 장치(102)로부터 수신할 수 있다. 예를 들어, 도 6의 <601>을 참조하면, 전자 장치(101)는 북마크된 메시지들의 리스트의 표시하기 위하여, 북마크 보관함을 나타내는 인디케이터(610)를 선택하는 사용자 입력을 사용자 장치(102)로부터 수신할 수 있다. 또 다른 예를 들어, 도 6의 <602>를 참조하면, 전자 장치(101)는 사용자 장치(102)에 의하여 북마크된 메시지들의 리스트(예: "내 북마크 리스트")의 표시를 요청하는 사용자 입력을 사용자 장치(102)로부터 수신할 수 있다. 또 다른 예를 들어, 도 6의 <603>을 참조하면, 전자 장치(101)는 복수의 사용자 장치들에 의하여 북마크된 메시지들의 리스트(예: "인기 북마크 리스트")의 표시를 요청하는 사용자 입력을 사용자 장치(102)로부터 수신할 수 있다.According to various embodiments, the electronic device 101 (e.g., the processor 120 in FIG. 1) receives a user input requesting display of a list of bookmarked messages in a chat room corresponding to a specific region from the user device 102. You can receive it. For example, referring to <601> in FIG. 6, the electronic device 101 receives a user input for selecting the indicator 610 indicating a bookmark storage box from the user device 102 to display a list of bookmarked messages. You can receive it. For another example, referring to <602> of FIG. 6, the electronic device 101 receives a user input requesting display of a list of messages bookmarked by the user device 102 (e.g., “my bookmark list”). may be received from the user device 102. For another example, referring to <603> of FIG. 6, the electronic device 101 receives a user input requesting display of a list of messages bookmarked by a plurality of user devices (e.g., “popular bookmark list”). may be received from the user device 102.

다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 북마크된 메시지들의 리스트의 표시를 요청하는 사용자 입력 또는 사용자 장치(102)에 의하여 북마크된 메시지들의 리스트의 표시를 요청하는 사용자 입력에 응답하여, 사용자 장치(102)에 의하여 북마크된 메시지들의 리스트를 표시할 수 있다. 예를 들어, 도 6의 <601> 및 <602>를 참조하면, 전자 장치(101)는 북마크 보관함을 나타내는 인디케이터(610)를 선택하는 사용자 입력 또는 제1 북마크 항목(620)(예: "내 북마크")을 선택하는 사용자 입력에 응답하여, 사용자 장치(102)에 의하여 북마크된 메시지들에 대하여 최근에 북마크된 메시지일수록 리스트 상단에 위치하도록 북마크된 시간 순서별로 북마크된 메시지들의 리스트를 표시할 수 있다.According to various embodiments, the electronic device 101 (e.g., the processor 120 of FIG. 1) receives a user input requesting display of a list of bookmarked messages or a list of messages bookmarked by the user device 102. In response to a user input requesting display, a list of messages bookmarked by the user device 102 may be displayed. For example, referring to <601> and <602> of FIG. 6, the electronic device 101 receives a user input for selecting an indicator 610 indicating a bookmark storage box or a first bookmark item 620 (e.g., "My In response to a user input of selecting a "bookmark"), a list of bookmarked messages can be displayed in chronological order so that the most recently bookmarked messages are located at the top of the list. there is.

다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 북마크된 메시지들의 리스트의 표시를 요청하는 사용자 입력 또는 복수의 사용자 장치들에 의하여 북마크된 메시지들의 리스트의 표시를 요청하는 사용자 입력에 응답하여, 복수의 사용자 장치들에 의하여 북마크된 메시지들의 리스트를 표시할 수 있다. 예를 들어, 도 6의 <601> 및 <603>을 참조하면, 전자 장치(101)는 북마크 보관함을 나타내는 인디케이터(610)를 선택하는 사용자 입력 또는 제2 북마크 항목(630)(예: "인기 북마크")을 선택하는 사용자 입력에 응답하여, 복수의 사용자 장치들에 의하여 북마크된 메시지들에 대하여, (i)최근에 북마크된 메시지일수록 리스트 상단에 위치하도록 북마크된 시간 순서별로 북마크된 메시지들의 리스트를 표시하거나, 또는 (ii)북마크 횟수가 많은 메시지일수록 리스트 상단에 위치하도록 북마크된 횟수 순서별로 북마크된 메시지들의 리스트를 표시할 수 있다.According to various embodiments, the electronic device 101 (e.g., the processor 120 of FIG. 1) receives a user input requesting display of a list of bookmarked messages or a list of messages bookmarked by a plurality of user devices. In response to a user input requesting display, a list of messages bookmarked by a plurality of user devices may be displayed. For example, referring to <601> and <603> of FIG. 6, the electronic device 101 receives a user input for selecting an indicator 610 indicating a bookmark storage box or a second bookmark item 630 (e.g., “Popular”). In response to a user input of selecting a "bookmark"), for messages bookmarked by a plurality of user devices, (i) a list of bookmarked messages in chronological order such that the most recently bookmarked messages are located at the top of the list. or (ii) a list of bookmarked messages can be displayed in order of the number of times they have been bookmarked so that messages with a greater number of bookmarks are located at the top of the list.

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 중에서 북마크 횟수가 미리 정해진 횟수(예: n회) 이상의 북마크된 메시지를 인기 북마크 리스트에 포함시킬 수 있다. According to one embodiment, the electronic device 101 may include messages that have been bookmarked a predetermined number of times (eg, n times) or more among messages registered in a chat room corresponding to a specific region in a popular bookmark list.

도 7은 다양한 실시예들에 따른, 전자 장치(예: 도 1의 전자 장치(101))가 메시지 등록 기간 및 북마크 횟수에 따라 메시지의 표시 효과를 변경하는 실시예를 설명하기 위한 도면이다.FIG. 7 is a diagram illustrating an example in which an electronic device (e.g., the electronic device 101 of FIG. 1 ) changes the display effect of a message depending on the message registration period and the number of bookmarks, according to various embodiments.

다양한 실시예들에 따르면, 전자 장치(101)(예: 도 1의 프로세서(120))는 메시지의 등록 기간 및 북마크 횟수에 따라 메시지의 표시 효과를 다르게 적용할 수 있고, 사용자 장치(102)가 각각의 표시 효과가 적용된 메시지를 표시하도록 할 수 있다.According to various embodiments, the electronic device 101 (e.g., the processor 120 in FIG. 1) may apply different display effects to the message depending on the registration period and number of bookmarks of the message, and the user device 102 may You can display messages with each display effect applied.

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 각각에 대하여, 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간을 경과하기 전이고, 북마크 횟수가 미리 정해진 제2 횟수 미만인 메시지를 제1 표시 효과로 표시하도록 할 수 있다. 예를 들어, 도 7의 <701>을 참조하면, 전자 장치(101)는 채팅방에 등록된 메시지들(710, 720, 730, 740) 각각에 대하여, 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간(예: 2주)을 경과하기 전이고, 북마크 횟수가 미리 정해진 제2 횟수(예: 20회) 미만인 메시지를 제1 표시 효과(예: 기본 표시 효과)로 표시하도록 할 수 있다.According to one embodiment, the electronic device 101, for each message registered in a chat room corresponding to a specific area, before a first predetermined period has elapsed from the time of registration in the chat room, and a second time period with a predetermined number of bookmarks Messages that are less than the number of times can be displayed with the first display effect. For example, referring to <701> of FIG. 7, the electronic device 101 stores each of the messages 710, 720, 730, and 740 registered in the chat room for a first predetermined period from the time of registration in the chat room. Messages that have not elapsed (e.g., 2 weeks) and whose bookmark count is less than a predetermined second number (e.g., 20) can be displayed with a first display effect (e.g., a basic display effect).

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 각각에 대하여, 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간이 경과하고, 북마크 횟수가 미리 정해진 제2 횟수 보다 작은 미리 정해진 제1 횟수 미만인 메시지를 채팅방에서 영구적으로 삭제할 수 있다. 예를 들어, 도 7의 <701> 및 <702>를 참조하면, 전자 장치(101)는 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간(예: 2주)을 경과하고, 북마크 횟수가 미리 정해진 제1 횟수(예: 10회) 미만인 메시지(720)를 채팅방에서 영구적으로 삭제할 수 있다.According to one embodiment, the electronic device 101, for each message registered in a chat room corresponding to a specific area, a predetermined first period has elapsed from the time of registration in the chat room, and the number of bookmarks is a predetermined second number of times. Messages that are received less than a first, predetermined number of times may be permanently deleted from the chat room. For example, referring to <701> and <702> of FIG. 7, the electronic device 101 elapses a first predetermined period (e.g., 2 weeks) from the time of registration in the chat room, and the number of bookmarks is set to a predetermined number of times. Messages 720 that have been received less than a first number of times (e.g., 10 times) can be permanently deleted from the chat room.

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 각각에 대하여, 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간이 경과하고, 북마크 횟수가 미리 정해진 제1 횟수 이상이고 미리 정해진 제2 횟수 미만인 메시지를, 제1 표시 효과로 표시하도록 할 수 있다. 예를 들어, 도 7의 <701> 및 <702>를 참조하면, 전자 장치(101)는 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간(예: 2주)이 경과하고, 북마크 횟수가 미리 정해진 제1 횟수(예: 10회) 이상이고 미리 정해진 제2 횟수(예: 20회) 미만인 메시지(710, 730)를, 기존과 동일한 표시 효과인 제1 표시 효과로 표시하도록 할 수 있다.According to one embodiment, the electronic device 101, for each message registered in a chat room corresponding to a specific area, a predetermined first period of time has elapsed from the time of registration in the chat room, and the number of bookmarks is a predetermined first number of times. Messages that are greater than or less than a predetermined second number of times can be displayed using the first display effect. For example, referring to <701> and <702> of FIG. 7, the electronic device 101 is set after a first predetermined period (e.g., 2 weeks) has elapsed from the time of registration in the chat room, and the number of bookmarks has been predetermined. Messages 710 and 730 that are more than a first number (e.g., 10 times) but less than a predetermined second number (e.g., 20 times) can be displayed with the first display effect, which is the same display effect as before.

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 각각에 대하여, 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간 이후의 미리 정해진 제2 기간이 경과하고, 북마크 횟수가 미리 정해진 제2 횟수 미만인 메시지를 제1 표시 효과와 상이한 제2 표시 효과로 표시하도록 할 수 있다. 예를 들어, 도 7의 <703>을 참조하면, 전자 장치(101)는 채팅방에 등록된 시점으로부터 미리 정해진 제2 기간(예: 4주)이 경과하고, 북마크 횟수가 미리 정해진 제2 횟수(예: 20회) 미만인 메시지(710)를 반투명 효과(예: 투명도 50%)로 표시하도록 할 수 있다.According to one embodiment, the electronic device 101, for each message registered in a chat room corresponding to a specific area, allows a predetermined second period after the first predetermined period from the time of registration in the chat room to elapse and marks the bookmark. A message whose number is less than a predetermined second number of times can be displayed with a second display effect that is different from the first display effect. For example, referring to <703> of FIG. 7, the electronic device 101 is set after a second predetermined period (e.g., 4 weeks) has elapsed from the time of registration in the chat room, and the number of bookmarks is set to a second predetermined number of times ( Messages 710 that are received less than 20 times (e.g., 20 times) can be displayed with a semi-transparent effect (e.g., 50% transparency).

일 실시예에 따르면, 전자 장치(101)는 특정 지역에 대응하는 채팅방에 등록된 메시지들 각각에 대하여, 북마크 횟수가 미리 정해진 제2 횟수 이상인 메시지를 제1 표시 효과 및 제2 표시 효과와 상이한 제3 표시 효과로 표시하도록 할 수 있다. 예를 들어, 도 7의 <702> 및 <703>을 참조하면, 전자 장치(101)는 메시지의 등록 기간과 무관하게, 북마크 횟수가 미리 정해진 제2 횟수(예: 20회) 이상인 메시지(740)에 대하여 메시지(740)의 배경 색상을 제1 색상으로 표시하고 메시지(740)의 텍스트 색상을 제1 색상과 상이한 제2 색상으로 하이라이트하여 표시하도록 할 수 있다. 전술한 기능들을 통하여, 시간의 경과에 따라 북마크 횟수에 의한 메시지의 중요도를 구분할 수 있고, 사용자 장치(102)의 사용자가 중요 메시지를 용이하게 인식할 수 있는 사용자 편의성을 높이는 효과를 제공할 수 있다.According to one embodiment, for each of the messages registered in the chat room corresponding to a specific area, the electronic device 101 displays a message whose bookmark count is a predetermined second number or more with a display effect different from the first display effect and the second display effect. 3 You can display it with a display effect. For example, referring to <702> and <703> of FIG. 7, the electronic device 101 sends a message 740 whose bookmark number is more than a predetermined second number (e.g., 20 times), regardless of the registration period of the message. ), the background color of the message 740 can be displayed as a first color, and the text color of the message 740 can be highlighted and displayed as a second color that is different from the first color. Through the above-described functions, the importance of messages can be distinguished according to the number of bookmarks over time, and the user of the user device 102 can easily recognize important messages, providing the effect of increasing user convenience. .

다양한 실시예들에 따라서, 사용자 장치로부터 수신된 요청을 처리하고, 상기 사용자 장치로 요청된 정보를 송신하는 서버는, 통신 모듈, 메모리, 및 상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 상기 통신 모듈을 통하여, 상기 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하고, 제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하고, 상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하고, 상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하고, 및 상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하도록 하는 인스트럭션들(instructions)을 실행하도록 설정될 수 있다.According to various embodiments, a server that processes requests received from a user device and transmits requested information to the user device includes a communication module, a memory, and a processor operatively connected to the communication module and the memory. And, the processor receives, through the communication module, a request for entry into a chat room corresponding to a specific area from the user device, and determines whether the first location of the user device falls within the specific area at a first time, and , if the first location falls within the specific area, (i) admitting the user device to the chat room, and (ii) registering a reply message to the message registered by the user device in the chat room. In response to being, transmitting a push notification message for the reply message to the user device through the communication module, and in response to receiving a request to enter the chat room through the push notification message from the user device, At a second time after the first time, determine whether a second location of the user device falls within the specific area, and if the second location does not fall within the specific area, then enter the chat room for the user device. It can be set to execute instructions that cause it to reject.

다양한 실시예들에 따라서, 상기 프로세서는, 상기 사용자 장치의 상기 제1 위치가 적어도 두 개의 지역들 사이의 오버랩된 지역(overlapped region)에 속하는 경우: (i)상기 적어도 두 개의 지역들에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하거나, 또는 (ii)상기 적어도 두 개의 지역들에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하도록 하는 인스트럭션들을 더 실행하도록 설정될 수 있다.According to various embodiments, the processor may be configured to: if the first location of the user device falls within an overlapped region between at least two regions: (i) corresponding to the at least two regions; determining that the first location of the user device belongs to a region among the chat rooms corresponding to the chat room in which the user device most recently registered a message, or (ii) in each of the chat rooms corresponding to the at least two regions. Based on the time difference between the user device registering the last message being within a predetermined first period, the user device is located in an area corresponding to the chat room with the largest number of registered messages during the previous predetermined second period from the current time. may be configured to further execute instructions to determine that the first location of belongs.

다양한 실시예들에 따라서, 상기 프로세서는, 상기 사용자 장치의 상기 제1 위치가 상기 특정 지역에 속하고, 적어도 하나의 다른 지역의 경계선으로부터 미리 정해진 거리 이내인 경우: (i)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하거나, 또는 (ii)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하도록 하는 인스트럭션들을 더 실행하도록 설정될 수 있다.According to various embodiments, if the first location of the user device belongs to the specific area and is within a predetermined distance from a boundary line of at least one other area: (i) the specific area and the determining that the first location of the user device belongs to a region corresponding to a chat room in which the user device most recently registered a message among chat rooms corresponding to at least one different region, or (ii) the specific region and the The number of messages registered during a predetermined second period prior to the current time, based on the difference in time when the user device registered the last message in each of the chat rooms corresponding to at least one different region is within a predetermined first period. may be configured to further execute instructions to determine that the first location of the user device belongs to a region corresponding to the most chat rooms.

다양한 실시예들에 따라서, 상기 프로세서는, 상기 제1 위치가 상기 특정 지역 내에 속하는 경우, 상기 사용자 장치가 상기 채팅방에 입장하기 이전에 등록된 적어도 하나의 메시지를 상기 사용자 장치에서 표시 가능하도록 하는 인스트럭션들을 더 실행하도록 설정될 수 있다.According to various embodiments, the processor may include instructions to enable the user device to display at least one message registered before the user device enters the chat room when the first location falls within the specific area. can be set to run more.

다양한 실시예들에 따라서, 상기 프로세서는, 상기 사용자 장치가 상기 채팅방에서 메시지를 작성하는 도중에 상기 사용자 장치의 제3 위치가 상기 특정 지역 내에 속하는지를 판단하고, 및 상기 사용자 장치의 상기 제3 위치가 상기 특정 지역 내에 속하지 않는 것에 응답하여, 상기 채팅방의 표시 화면에 음영 효과를 적용하고, 상기 특정 지역을 벗어났음을 나타내는 팝업 화면을 상기 사용자 장치가 표시하도록 하는 인스트럭션들을 더 실행하도록 설정될 수 있다.According to various embodiments, the processor may determine whether the third location of the user device falls within the specific region while the user device is composing a message in the chat room, and In response to not being within the specific area, the user device may be configured to further execute instructions for applying a shading effect to the display screen of the chat room and causing the user device to display a pop-up screen indicating leaving the specific area.

다양한 실시예들에 따라서, 상기 프로세서는, 상기 특정 지역에 대응하는 상기 채팅방에 등록된 메시지들 각각에 대하여: (i)상기 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간을 경과하기 전이고, 북마크 횟수가 미리 정해진 제2 횟수 미만인 제1 메시지를 제1 표시 효과로 표시하도록 하고, (ii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간이 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제1 횟수 보다 작은 미리 정해진 제1 횟수 미만인 제2 메시지를 채팅방에서 영구적으로 삭제하도록 하고, (iii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간이 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제1 횟수 이상이고 상기 미리 정해진 제2 횟수 미만인 제3 메시지를 상기 제1 표시 효과로 유지하도록 하고, (iv)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간 이후의 미리 정해진 제2 기간이 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제2 횟수 미만인 제4 메시지를 반투명 효과로 표시하도록 하고, 및 (v)상기 북마크 횟수가 상기 미리 정해진 제2 횟수 이상인 제5 메시지의 배경 색상을 제1 색상으로 표시하고 상기 제5 메시지의 텍스트 색상을 제2 색상으로 하이라이트하여 표시하도록 하는 인스트럭션들을 더 실행하도록 설정될 수 있다.According to various embodiments, the processor, for each of the messages registered in the chat room corresponding to the specific region: (i) before the elapse of a first predetermined period from the time of registration in the chat room, and the number of bookmarks; to display a first message that is less than a predetermined second number of times with a first display effect, and (ii) the first predetermined period elapses from the time of registration in the chat room, and the bookmark number is the first predetermined number of times. permanently delete from the chat room a second message that is less than a first predetermined number of times, and (iii) the first predetermined period of time elapses from the time of registration in the chat room, and the bookmark number is changed to the first predetermined number of times. maintaining the first display effect for a third message that is greater than or equal to the second predetermined number of times, and (iv) a predetermined second period after the first predetermined period elapses from the time of registration in the chat room, displaying a fourth message whose bookmark count is less than the second predetermined number with a translucent effect, and (v) displaying a background color of the fifth message whose bookmark count is more than the second predetermined number in a first color; It may be set to further execute instructions for displaying the text color of the fifth message by highlighting it in a second color.

다양한 실시예들에 따라서, 서버의 동작 방법은, 상기 서버의 통신 모듈을 통하여, 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하는 동작, 제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작, 상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하는 동작, 상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작, 및 상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하는 동작을 포함할 수 있다.According to various embodiments, a method of operating a server includes receiving a request to enter a chat room corresponding to a specific area from a user device through a communication module of the server, and determining a first location of the user device at a first time. The operation of determining whether the first location falls within the specific area, if the first location falls within the specific area, (i) granting entry to the chat room for the user device, and (ii) granting access to the user device within the chat room. In response to registering a reply message to a message registered by, transmitting a push notification message for the reply message to the user device through the communication module, from the user device to the chat room through the push notification message In response to receiving an entry request, determining at a second time after the first time whether a second location of the user device falls within the specific area, and if the second location does not fall within the specific area. In this case, it may include an operation of denying entry to the chat room to the user device.

다양한 실시예들에 따라서, 상기 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작은, 상기 사용자 장치의 상기 제1 위치가 적어도 두 개의 지역들 사이의 오버랩된 지역(overlapped region)에 속하는 경우: (i)상기 적어도 두 개의 지역들에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작, 또는 (ii)상기 적어도 두 개의 지역들에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작을 포함할 수 있다.According to various embodiments, determining whether the first location falls within the specific region may include when the first location of the user device falls within an overlapped region between at least two regions: (i) determining that the first location of the user device belongs to a region corresponding to a chat room in which the user device most recently registered a message among chat rooms corresponding to the at least two regions, or (ii) Based on the fact that the time difference at which the user device registered the last message in each of the chat rooms corresponding to the at least two regions is within a predetermined first period, the message registered during the previous predetermined second period from the current time It may include determining that the first location of the user device belongs to an area corresponding to the largest number of chat rooms.

다양한 실시예들에 따라서, 상기 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작은, 상기 사용자 장치의 상기 제1 위치가 상기 특정 지역에 속하고, 적어도 하나의 다른 지역의 경계선으로부터 미리 정해진 거리 이내인 경우: (i)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작, 또는 (ii)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작을 포함할 수 있다.According to various embodiments, the operation of determining whether the first location falls within the specific area may include determining whether the first location of the user device belongs to the specific area and a predetermined distance from a boundary line of at least one other area. If: (i) the first location of the user device belongs to an area corresponding to the chat room in which the user device most recently registered a message among chat rooms corresponding to the specific area and the at least one other area; an operation of determining, or (ii) based on the time difference between the time when the user device registered the last message in each of the chat rooms corresponding to the specific region and the at least one other region being within a first predetermined period of time, from the current time and determining that the first location of the user device belongs to a region corresponding to a chat room with the largest number of messages registered during a previously predetermined second period.

다양한 실시예들에 따라서, 상기 방법은, 상기 특정 지역에 대응하는 상기 채팅방에 등록된 메시지들 각각에 대하여: (i)상기 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간을 경과하기 전이고, 북마크 횟수가 미리 정해진 제2 횟수 미만인 제1 메시지를 제1 표시 효과로 표시하도록 하는 동작, (ii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간이 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제1 횟수 보다 작은 미리 정해진 제1 횟수 미만인 제2 메시지를 채팅방에서 영구적으로 삭제하도록 하는 동작, (iii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간이 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제1 횟수 이상이고 상기 미리 정해진 제2 횟수 미만인 제3 메시지를 상기 제1 표시 효과로 유지하도록 하는 동작, (iv)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간 이후의 미리 정해진 제2 기간이 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제2 횟수 미만인 제4 메시지를 반투명 효과로 표시하도록 하는 동작, 및 (v)상기 북마크 횟수가 상기 미리 정해진 제2 횟수 이상인 제5 메시지의 배경 색상을 제1 색상으로 표시하고 상기 제5 메시지의 텍스트 색상을 제1 색상과 상이한 제2 색상으로 하이라이트하여 표시하도록 하는 동작을 더 포함할 수 있다.According to various embodiments, the method may include, for each of the messages registered in the chat room corresponding to the specific region: (i) before the elapse of a first predetermined period from the time of registration in the chat room, and the number of bookmarks; an operation of displaying a first message whose number is less than a predetermined second number with a first display effect; (ii) the first predetermined period elapses from the time of registration in the chat room, and the number of bookmarks is set to the first predetermined number of times; an operation of permanently deleting a second message of less than a predetermined number of times from the chat room; (iii) the first predetermined period of time elapses from the time of registration in the chat room, and the number of bookmarks is set to the predetermined number of times; maintaining the first display effect for a third message that is one or more times and less than the second predetermined number of times; (iv) a predetermined second period after the first predetermined period from the time of registration in the chat room; an operation of displaying a fourth message whose bookmark count is less than the second predetermined number of times with a translucent effect, and (v) changing the background color of the fifth message whose bookmark count is more than the second predetermined number to a first color. It may further include displaying in color and highlighting the text color of the fifth message in a second color that is different from the first color.

본 문서에서 사용된 용어 "모듈" 또는 "~부"은 하드웨어, 소프트웨어 또는 펌웨어로 구성된 유닛을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈" 또는 "~부"는, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈" 또는 "~부"는 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있고, 프로세서(120)에 의하여 실행될 수 있다. 다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(130))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체 (예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른, 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.As used in this document, the term "module" or "unit" includes a unit consisting of hardware, software, or firmware, and can be used interchangeably with terms such as logic, logic block, component, or circuit, etc. there is. “Module” or “unit” may be an integrated part, a minimum unit that performs one or more functions, or a part thereof. A “module” or “unit” may be implemented mechanically or electronically, e.g., known or to be developed, application-specific integrated circuit (ASIC) chips, field-programmable circuits (FPGAs), that perform certain operations. gate arrays), or programmable logic devices, and may be executed by the processor 120. At least a portion of the device (e.g., modules or functions thereof) or method (e.g., operations) according to various embodiments includes instructions stored in a computer-readable storage medium (e.g., memory 130) in the form of a program module. It can be implemented as: When the instruction is executed by a processor (eg, processor 120), the processor may perform the function corresponding to the instruction. Computer-readable recording media include hard disks, floppy disks, magnetic media (e.g. magnetic tape), optical recording media (e.g. CD-ROM, DVD, magneto-optical media (e.g. floptical disks), built-in memory, etc. The instruction may include code created by a compiler or code that can be executed by an interpreter. A module or program module according to various embodiments includes at least one or more of the above-described components. , some parts may be omitted, or other components may be further included. Operations performed by modules, program modules or other components according to various embodiments may be executed sequentially, parallel, iteratively or heuristically, or at least Some operations may be executed in a different order, omitted, or other operations may be added.

그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 개시의 범위를 한정하는 것은 아니다. 따라서, 본 개시의 범위는, 본 개시의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다.Additionally, the embodiments disclosed in this document are presented for explanation and understanding of the disclosed technical content, and do not limit the scope of the present disclosure. Accordingly, the scope of the present disclosure should be interpreted as including all changes or various other embodiments based on the technical idea of the present disclosure.

Claims (10)

사용자 장치로부터 수신된 요청을 처리하고, 상기 사용자 장치로 요청된 정보를 송신하는 서버에 있어서,
통신 모듈,
메모리, 및
상기 통신 모듈 및 상기 메모리와 작동적으로 연결된 프로세서를 포함하고,
상기 프로세서는,
상기 통신 모듈을 통하여, 상기 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하고,
제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하고,
상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하고,
상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하고, 및
상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하고,
상기 채팅방으로의 입장 후에 상기 특정 지역에 대응하는 상기 채팅방에 등록된 메시지들 각각에 대하여 상기 사용자 장치가:
(i)상기 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간을 경과하기 전이고, 북마크 횟수가 미리 정해진 제2 횟수 미만인 제1 메시지를 제1 표시 효과로 표시하도록 하고,
(ii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간을 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제2 횟수 보다 작은 미리 정해진 제1 횟수 미만인 제2 메시지를 채팅방에서 영구적으로 삭제하도록 하고,
(iii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간을 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제1 횟수 이상이고 상기 미리 정해진 제2 횟수 미만인 제3 메시지를 상기 제1 표시 효과로 유지하도록 하고,
(iv)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간 이후의 미리 정해진 제2 기간을 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제2 횟수 미만인 제4 메시지를 반투명 효과로 표시하도록 하고, 및
(v)상기 북마크 횟수가 상기 미리 정해진 제2 횟수 이상인 제5 메시지의 배경 색상을 제1 색상으로 표시하고 상기 제5 메시지의 텍스트 색상을 제2 색상으로 하이라이트하여 표시하도록 하는 인스트럭션들(instructions)을 실행하도록 설정된,
서버.
A server that processes requests received from a user device and transmits the requested information to the user device,
communication module,
memory, and
Comprising a processor operatively connected to the communication module and the memory,
The processor,
Through the communication module, a request for entry into a chat room corresponding to a specific area is received from the user device,
determine whether a first location of the user device at a first time falls within the specific region;
If the first location falls within the specific area, (i) admitting the user device to the chat room, and (ii) registering a reply message to the message registered by the user device in the chat room. In response to this, sending a push notification message for the reply message to the user device through the communication module,
In response to receiving a request to enter the chat room through the push notification message from the user device, determine whether a second location of the user device falls within the specific area at a second time after the first time; and
If the second location does not fall within the specific area, deny entry to the chat room for the user device,
After entering the chat room, the user device:
(i) Displaying the first message with a first display effect before the elapse of a first predetermined period from the time of registration in the chat room and the number of bookmarks is less than a second predetermined number of times,
(ii) Permanently delete from the chat room the second message of which the first predetermined period has elapsed from the time of registration in the chat room and the number of bookmarks is less than the first predetermined number of times less than the second predetermined number of times,
(iii) After the first predetermined period has elapsed from the time of registration in the chat room, the third message whose bookmark number is more than the first predetermined number and less than the second predetermined number is maintained with the first display effect. Let's do it,
(iv) displaying a fourth message with a semi-transparent effect after a predetermined second period after the first predetermined period has elapsed from the time of registration in the chat room, and the number of bookmarks is less than the second predetermined number of times, and
(v) Instructions for displaying the background color of the fifth message whose number of bookmarks is equal to or greater than the predetermined second number as a first color and highlighting and displaying the text color of the fifth message as a second color. set to run,
server.
제1 항에 있어서,
상기 프로세서는,
상기 사용자 장치의 상기 제1 위치가 적어도 두 개의 지역들 사이의 오버랩된 지역(overlapped region)에 속하는 경우:
(i)상기 적어도 두 개의 지역들에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하거나, 또는
(ii)상기 적어도 두 개의 지역들에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하도록 하는 인스트럭션들을 더 실행하도록 설정된,
서버.
According to claim 1,
The processor,
If the first location of the user device belongs to an overlapped region between at least two regions:
(i) determining that the first location of the user device belongs to a region corresponding to a chat room in which the user device most recently registered a message among chat rooms corresponding to the at least two regions, or
(ii) registration for a predetermined second period prior to the current time, based on the difference in time when the user device registered the last message in each of the chat rooms corresponding to the at least two regions is within a first predetermined period of time; further configured to execute instructions for determining that the first location of the user device belongs to a region corresponding to a chat room with the highest number of messages received,
server.
제1 항에 있어서,
상기 프로세서는,
상기 사용자 장치의 상기 제1 위치가 상기 특정 지역에 속하고, 적어도 하나의 다른 지역의 경계선으로부터 미리 정해진 거리 이내인 경우:
(i)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하거나, 또는
(ii)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하도록 하는 인스트럭션들을 더 실행하도록 설정된,
서버.
According to claim 1,
The processor,
If the first location of the user device belongs to the specific region and is within a predetermined distance from the border of at least one other region:
(i) determining that the first location of the user device belongs to a region corresponding to a chat room in which the user device most recently registered a message among chat rooms corresponding to the specific region and the at least one other region, or
(ii) based on the time difference at which the user device registered the last message in each of the chat rooms corresponding to the specific area and the at least one other area is within a predetermined first period, the previous predetermined period from the current time further configured to execute instructions that determine that the first location of the user device belongs to a region corresponding to a chat room with the highest number of registered messages over a two-period period,
server.
제1 항에 있어서,
상기 프로세서는,
상기 제1 위치가 상기 특정 지역 내에 속하는 경우, 상기 사용자 장치가 상기 채팅방에 입장하기 이전에 등록된 적어도 하나의 메시지를 상기 사용자 장치에서 표시 가능하도록 하는 인스트럭션들을 더 실행하도록 설정된,
서버.
According to claim 1,
The processor,
When the first location falls within the specific area, the user device is set to further execute instructions that enable the user device to display at least one message registered before entering the chat room,
server.
제1 항에 있어서,
상기 프로세서는,
상기 사용자 장치가 상기 채팅방에서 메시지를 작성하는 도중에 상기 사용자 장치의 제3 위치가 상기 특정 지역 내에 속하는지를 판단하고, 및
상기 사용자 장치의 상기 제3 위치가 상기 특정 지역 내에 속하지 않는 것에 응답하여, 상기 채팅방의 표시 화면에 음영 효과를 적용하고, 상기 특정 지역을 벗어났음을 나타내는 팝업 화면을 상기 사용자 장치가 표시하도록 하는 인스트럭션들을 더 실행하도록 설정된,
서버.
According to claim 1,
The processor,
determine whether a third location of the user device falls within the specific area while the user device is composing a message in the chat room, and
In response to the third location of the user device not falling within the specific area, instructions for applying a shading effect to the display screen of the chat room and causing the user device to display a pop-up screen indicating that the third location is outside the specific area. set to run more,
server.
삭제delete 서버의 동작 방법에 있어서,
상기 서버의 통신 모듈을 통하여, 사용자 장치로부터 특정 지역에 대응하는 채팅방으로의 입장 요청을 수신하는 동작,
제1 시점에 상기 사용자 장치의 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작,
상기 제1 위치가 상기 특정 지역 내에 속하는 경우, (i)상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 승인하고, (ii)상기 채팅방 내에 상기 사용자 장치에 의하여 등록된 메시지에 대한 답장 메시지가 등록되는 것에 응답하여, 상기 통신 모듈을 통하여 상기 사용자 장치로 상기 답장 메시지에 대한 푸쉬 알림 메시지를 송신하는 동작,
상기 사용자 장치로부터 상기 푸쉬 알림 메시지를 통한 상기 채팅방으로의 입장 요청을 수신하는 것에 응답하여, 상기 제1 시점 이후의 제2 시점에 상기 사용자 장치의 제2 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작, 및
상기 제2 위치가 상기 특정 지역 내에 속하지 않는 경우, 상기 사용자 장치에 대하여 상기 채팅방으로의 입장을 거부하는 동작을 포함하고,
상기 서버의 동작 방법은,
상기 채팅방으로의 입장 후에 상기 특정 지역에 대응하는 상기 채팅방에 등록된 메시지들 각각에 대하여 상기 사용자 장치가:
(i)상기 채팅방에 등록된 시점으로부터 미리 정해진 제1 기간을 경과하기 전이고, 북마크 횟수가 미리 정해진 제2 횟수 미만인 제1 메시지를 제1 표시 효과로 표시하도록 하는 동작,
(ii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간을 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제2 횟수 보다 작은 미리 정해진 제1 횟수 미만인 제2 메시지를 채팅방에서 영구적으로 삭제하도록 하는 동작,
(iii)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간을 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제1 횟수 이상이고 상기 미리 정해진 제2 횟수 미만인 제3 메시지를 상기 제1 표시 효과로 유지하도록 하는 동작,
(iv)상기 채팅방에 등록된 시점으로부터 상기 미리 정해진 제1 기간 이후의 미리 정해진 제2 기간을 경과하고, 상기 북마크 횟수가 상기 미리 정해진 제2 횟수 미만인 제4 메시지를 반투명 효과로 표시하도록 하는 동작, 및
(v)상기 북마크 횟수가 상기 미리 정해진 제2 횟수 이상인 제5 메시지의 배경 색상을 제1 색상으로 표시하고 상기 제5 메시지의 텍스트 색상을 제2 색상으로 하이라이트하여 표시하도록 하는 동작을 더 포함하는,
서버의 동작 방법.
In the operating method of the server,
An operation of receiving a request to enter a chat room corresponding to a specific area from a user device through the communication module of the server;
determining whether a first location of the user device falls within the specific area at a first time;
If the first location falls within the specific area, (i) admitting the user device to the chat room, and (ii) registering a reply message to the message registered by the user device in the chat room. In response to this, transmitting a push notification message for the reply message to the user device through the communication module,
In response to receiving a request to enter the chat room through the push notification message from the user device, determining whether a second location of the user device falls within the specific area at a second time after the first time. , and
If the second location does not fall within the specific area, denying the user device entry into the chat room;
The operating method of the server is,
After entering the chat room, the user device:
(i) An operation of displaying a first message with a first display effect before a predetermined first period has elapsed from the time of registration in the chat room and the number of bookmarks is less than a second predetermined number of times,
(ii) An operation of permanently deleting from the chat room a second message whose bookmark count has elapsed from the time of registration in the chat room and whose bookmark count is less than the first predetermined number of times. ,
(iii) After the first predetermined period has elapsed from the time of registration in the chat room, the third message whose bookmark number is more than the first predetermined number and less than the second predetermined number is maintained with the first display effect. action to do,
(iv) an operation of displaying a fourth message with a semi-transparent effect after a predetermined second period after the first predetermined period has elapsed from the time of registration in the chat room and the number of bookmarks is less than the second predetermined number of times, and
(v) further comprising displaying the background color of the fifth message whose bookmark count is equal to or greater than the predetermined second number as a first color and highlighting and displaying the text color of the fifth message as a second color,
How the server operates.
제7 항에 있어서,
상기 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작은,
상기 사용자 장치의 상기 제1 위치가 적어도 두 개의 지역들 사이의 오버랩된 지역(overlapped region)에 속하는 경우:
(i)상기 적어도 두 개의 지역들에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작, 또는
(ii)상기 적어도 두 개의 지역들에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작을 포함하는,
서버의 동작 방법.
According to clause 7,
The operation of determining whether the first location falls within the specific area is:
If the first location of the user device belongs to an overlapped region between at least two regions:
(i) determining that the first location of the user device belongs to a region corresponding to a chat room in which the user device most recently registered a message among chat rooms corresponding to the at least two regions, or
(ii) registration for a predetermined second period prior to the current time, based on the difference in time when the user device registered the last message in each of the chat rooms corresponding to the at least two regions is within a first predetermined period of time; Determining that the first location of the user device belongs to a region corresponding to a chat room with the highest number of messages received,
How the server operates.
제7 항에 있어서,
상기 제1 위치가 상기 특정 지역 내에 속하는지를 판단하는 동작은,
상기 사용자 장치의 상기 제1 위치가 상기 특정 지역에 속하고, 적어도 하나의 다른 지역의 경계선으로부터 미리 정해진 거리 이내인 경우:
(i)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 중에서 상기 사용자 장치가 가장 최근에 메시지를 등록한 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작, 또는
(ii)상기 특정 지역 및 상기 적어도 하나의 다른 지역에 대응하는 채팅방들 각각에서 상기 사용자 장치가 마지막 메시지를 등록한 시각 차이가 미리 정해진 제1 기간 이내인 것에 기반하여, 현재 시점으로부터 이전의 미리 정해진 제2 기간 동안 등록된 메시지의 개수가 가장 많은 채팅방에 대응하는 지역에 상기 사용자 장치의 상기 제1 위치가 속하는 것으로 결정하는 동작을 포함하는,
서버의 동작 방법.
According to clause 7,
The operation of determining whether the first location falls within the specific area is:
If the first location of the user device belongs to the specific region and is within a predetermined distance from the border of at least one other region:
(i) determining that the first location of the user device belongs to an area corresponding to a chat room in which the user device most recently registered a message among chat rooms corresponding to the specific area and the at least one other area, or
(ii) based on the time difference at which the user device registered the last message in each of the chat rooms corresponding to the specific area and the at least one other area is within a predetermined first period, the previous predetermined period from the current time determining that the first location of the user device falls in a region corresponding to a chat room with the highest number of registered messages over a two-period period,
How the server operates.
삭제delete
KR1020230095067A 2023-07-21 2023-07-21 Server for providing chat room service based on region and method for operation thereof KR102591037B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230095067A KR102591037B1 (en) 2023-07-21 2023-07-21 Server for providing chat room service based on region and method for operation thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230095067A KR102591037B1 (en) 2023-07-21 2023-07-21 Server for providing chat room service based on region and method for operation thereof

Publications (1)

Publication Number Publication Date
KR102591037B1 true KR102591037B1 (en) 2023-10-19

Family

ID=88507509

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230095067A KR102591037B1 (en) 2023-07-21 2023-07-21 Server for providing chat room service based on region and method for operation thereof

Country Status (1)

Country Link
KR (1) KR102591037B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110059417A (en) * 2009-11-27 2011-06-02 주식회사 하나은행 Method and system for providing interworking service performing knowledge management system in messenger
KR20200131478A (en) * 2019-05-14 2020-11-24 라인플러스 주식회사 Method, system, and non-transitory computer readable record medium for controlling joining a chat room based on location
KR20220063038A (en) * 2020-11-09 2022-05-17 주식회사 카카오 Instant messaging server providing multiple types of chat rooms
KR102482269B1 (en) 2022-03-30 2022-12-28 주식회사 인터파크 System for providing travel self-package services
KR20230038166A (en) 2020-07-15 2023-03-17 특허법인 알피엠 Method, apparatus and computer program for providing travel package using local travel planner matching service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110059417A (en) * 2009-11-27 2011-06-02 주식회사 하나은행 Method and system for providing interworking service performing knowledge management system in messenger
KR20200131478A (en) * 2019-05-14 2020-11-24 라인플러스 주식회사 Method, system, and non-transitory computer readable record medium for controlling joining a chat room based on location
KR20230038166A (en) 2020-07-15 2023-03-17 특허법인 알피엠 Method, apparatus and computer program for providing travel package using local travel planner matching service
KR20220063038A (en) * 2020-11-09 2022-05-17 주식회사 카카오 Instant messaging server providing multiple types of chat rooms
KR102482269B1 (en) 2022-03-30 2022-12-28 주식회사 인터파크 System for providing travel self-package services

Similar Documents

Publication Publication Date Title
US8954092B2 (en) Pre-caching data related to a travel destination
US20130144961A1 (en) System and method for providing information interactively by instant messaging application
US9720557B2 (en) Method and apparatus for providing always-on-top user interface for mobile application
US10564846B2 (en) Supplementing a virtual input keyboard
EP3030989B1 (en) Providing information in association with a search field
US20150254636A1 (en) Method and apparatus for providing mobile payment
US20140025746A1 (en) Apparatus and method for managing user information
CN113344567B (en) Method, device, equipment and medium for accessing payment page of aggregation code
KR20130082582A (en) Method and system for providing range search services in digital map
US20150227630A1 (en) Caching queries for dynamic webpages
Stach How to assure privacy on android phones and devices?
WO2017058703A1 (en) Temporary contacts
KR102591037B1 (en) Server for providing chat room service based on region and method for operation thereof
US20150067074A1 (en) Personalized bookmarking of textsite applications via a text message
KR102616252B1 (en) Electronic device for displaying shared message registered in region-based chat room together with corresponding location in map application and method for operation thereof
KR20170002237A (en) System and method for providing crowdsourcing service based on posion
US20140257878A1 (en) Routing preferred traffic within a reservation system
KR102304287B1 (en) Method for sharing personal schedule, and computer program recorded on record-medium for executing method therefor
US20170223055A1 (en) Dynamic Application Versioning System
US9936063B2 (en) Rearranging display of mobile applications based on geolocation
KR20180010442A (en) User device for processing online authoring service and method for storing document thereof
KR20210034867A (en) Method and system for translating long text
EP2657894A1 (en) Social connections migration
KR102120729B1 (en) Electronic device, method, and computer readable medium for generating webpage including electronic map
US11856049B2 (en) Pin board interface

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
A107 Divisional application of patent
GRNT Written decision to grant