KR101987171B1 - Method for calculate the number of unread people in a group chat message, and recording medium storing program for executing the same, and recording medium storing program for executing the same - Google Patents
Method for calculate the number of unread people in a group chat message, and recording medium storing program for executing the same, and recording medium storing program for executing the same Download PDFInfo
- Publication number
- KR101987171B1 KR101987171B1 KR1020170173501A KR20170173501A KR101987171B1 KR 101987171 B1 KR101987171 B1 KR 101987171B1 KR 1020170173501 A KR1020170173501 A KR 1020170173501A KR 20170173501 A KR20170173501 A KR 20170173501A KR 101987171 B1 KR101987171 B1 KR 101987171B1
- Authority
- KR
- South Korea
- Prior art keywords
- message
- read
- index
- participants
- participant
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000004364 calculation method Methods 0.000 claims description 49
- 238000004891 communication Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 238000003672 processing method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
-
- G06Q50/30—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- Operations Research (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
본 발명은 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에 관한 것으로서, 더욱 상세하게는 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에 관한 것이다.The present invention relates to a method of calculating the number of unread group chat messages. More particularly, the present invention relates to each group based on a displayed index indicating the number of messages the last message read by a participant. Number of participants who did not read the first message ( ( Is a method of calculating the number of unread people in a group chat message).
일반적으로, 인스턴트 메시지 서비스(Instant Message Service)는 전자우편 프로그램 또는 웹 브라우저 등을 별도로 사용하지 않고 상대방이 전송한 발신 메시지가 수신 단말기 화면에 즉시 출력되도록 하는 온라인 의사소통 서비스를 의미한다. 특히, 모바일 네트워크를 이용하여 채팅, 음성 및 영상통화 등을 제공하는 서비스를 MIM(Mobile Instant Messenger) 서비스라고 한다.In general, an instant message service refers to an online communication service that allows an outgoing message sent by a counterpart to be immediately output on a receiving terminal screen without using an e-mail program or a web browser. In particular, a service that provides a chat, voice and video call using a mobile network is called a MIM (Mobile Instant Messenger) service.
사용자는 스마트폰과 같은 전자 장치에 설치된 IMS 어플리케이션(예: 카카오톡 등을 통해 텍스트, 이미지, 동영상 또는 파일 등을 상대방과 실시간으로 또는 주기적으로 공유하고 있다. 또한, 복수의 사용자들이 단체로 대화창을 만들어 커뮤니티를 구축하거나, 개인간(peer-to-peer) 일대일 대화창을 통해 상기와 같은 다양한 정보를 교환하고 있는 실정이다.Users share texts, images, videos or files with other parties in real time or periodically through IMS applications (e.g. KakaoTalk) installed in electronic devices such as smartphones. It is a situation where a variety of information is exchanged through a peer-to-peer one-to-one conversation window.
한편, 이러한 인스턴트 메시지 서비스는 복수의 사용자가 참여한 채팅창을 제공할 수 있고, 해당 채팅창에서 복수의 사용자들 간은 다른 사용자가 발신한 메시지를 확인하거나 메시지를 입력할 수 있다.Meanwhile, the instant message service may provide a chat window in which a plurality of users participate, and may check or input a message sent by another user among the plurality of users in the chat window.
종래의 모바일 메신저 그룹 채팅 메시지를 안 읽은 인원 확인의 경우, 안 읽은 인원을 세기위해 카운팅을 하고, 카운팅 된 결과값을 항시 저장하고 있어야 하기 때문에, 그룹 채팅 메시지를 안 읽은 인원 확인에 대한 메모리 소모가 과도한 문제가 있다.In the conventional mobile messenger group chat message, the number of people who have not read the group chat message is counted to count the number of unread people, and the counted result must be stored at all times. There is an excessive problem.
또한, 종래의 메신저 그룹 채팅창에서는 사용자들 간 주고받은 메시지를 각각 확인할 때마다 서버에서 해당 읽음 처리를 저장하여 몇 명이 이를 확인하였는지 사용자의 화면에 출력하는 전달형태를 가지고 있었다. 이러한 저장, 전달과정은 읽은 인원이 변화될 때마다 계속 진행되어 한정된 모바일기기 내 메모리 소모가 과도한 문제가 있다.In addition, the conventional messenger group chat window has a delivery form in which the server stores the read process and outputs the number of the user's checks each time the message exchanged between the users is checked. This storage and delivery process is continued every time the number of people read changes, there is a problem of excessive memory consumption in the limited mobile device.
한국등록특허 [10-1744071]에서는 메시지의 읽음 상태를 확인하는 방법, 사용자 장치 및 서버가 개시되어 있다.Korean Patent [10-1744071] discloses a method, a user device, and a server for checking a read state of a message.
따라서, 본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 본 발명의 목적은 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법를 제공하는 것이다.Accordingly, the present invention has been made to solve the above problems, and an object of the present invention is to refer to the index indicating the number of messages the last message read by the participant Number of participants who did not read the first message ( ( Is a method of calculating the number of unread people in a group chat message to find a natural number)).
또한, 본 발명의 다른 목적은 알고리즘을 사용한 채팅의 읽음 처리를 통해 서버의 저장 없이 그룹 내 인원의 채팅 읽음 상황을 실시간으로 처리함으로서, 메모리 소모 및 통신량을 줄이는 효율적인 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법를 제공하는 것이다.In addition, another object of the present invention is to process a chat read situation of the number of people in the group in real time without storing the server through the read processing of the chat using the algorithm, an efficient method for calculating the number of unread group chat messages that reduces memory consumption and traffic To provide.
또, 본 발명의 다른 목적은 알고리즘을 사용한 채팅의 읽음 처리를 통해 사용자가 보는 스크롤에 따라 실시간으로 읽음처리 가능함으로서, 메모리 소모 및 통신량을 줄이는 효율적인 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법를 제공하는 것이다.In addition, another object of the present invention is to provide an efficient method for calculating the number of unread group chat messages that can be processed in real time according to the scroll viewed by the user through the read processing of the chat using an algorithm, thereby reducing memory consumption and communication volume.
본 발명의 실 시예들의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The objects of the embodiments of the present invention are not limited to the above-mentioned objects, and other objects not mentioned will be clearly understood by those skilled in the art from the following description. .
상기한 바와 같은 목적을 달성하기 위한 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은, 컴퓨터를 포함하는 연산처리수단에 의하여 실행되는 프로그램 형태로 이루어지는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에 있어서, 상기 연산처리수단이 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 것을 특징으로 한다.Group chat message unread number calculation method according to an embodiment of the present invention for achieving the above object, the group chat message unread person number in the form of a program executed by arithmetic processing means including a computer. In the calculation method, the calculation processing means is based on the index indicating the number of the last message read by each participant Number of participants who did not read the first message ( ( Is a natural number)).
또한, 상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것은 화면의 이동 방향에 따라 각 번째 메시지를 안 읽은 참가자 수()를 산출 또는 갱신하는 것을 특징으로 한다.In addition, each of the above Number of participants who did not read the first message ( ) To obtain the angle of Number of participants who did not read the first message ( ) Is calculated or updated.
또, 상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것은 번째 메시지를 안 읽은 참가자 수()를 구하고자 하는 메시지 인덱스()가 번째 참가자가 읽은 마지막 메시지 인덱스( (은 자연수)) 초과인 메시지 인덱스()의 개수()인 것을 특징으로 한다.Again, each Number of participants who did not read the first message ( To save) Number of participants who did not read the first message ( Message index () )end Index of last message read by second participant ( ( Is a natural number)) ) It is characterized by the).
또한, 상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것 중, 최초 연산된 번째 메시지를 안 읽은 참가자 수()를 구한 번째 메시지의 이전 메시지인 번째 메시지를 안 읽은 참가자 수()는 번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하지 않으면, 번째 메시지를 안 읽은 참가자 수()를 번째 메시지를 안 읽은 참가자 수() 값과 동일하게 유지하고, 번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하면, 번째 메시지를 안 읽은 참가자 수()를 번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스() 수 만큼 차감하는 것을 특징으로 한다.In addition, each of the above Number of participants who did not read the first message ( ), The first operation Number of participants who did not read the first message ( Saved The previous message in the first message Number of participants who did not read the first message ( ) Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( ) Does not exist, Number of participants who did not read the first message ( ) Number of participants who did not read the first message ( The same value as Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( ) Is present, Number of participants who did not read the first message ( ) Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( It is characterized by deducting by the number.
또, 상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것 중, 최초 연산된 번째 메시지를 안 읽은 참가자 수()를 구한 번째 메시지의 이후 메시지인 번째 메시지를 안 읽은 참가자 수()는 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하지 않으면, 번째 메시지를 안 읽은 참가자 수()를 번째 메시지를 안 읽은 참가자 수() 값과 동일하게 유지하고, 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하면, 번째 메시지를 안 읽은 참가자 수()를 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스() 수 만큼 부가하는 것을 특징으로 한다.Again, each Number of participants who did not read the first message ( ), The first operation Number of participants who did not read the first message ( Saved Subsequent messages from the first message Number of participants who did not read the first message ( ) Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( ) Does not exist, Number of participants who did not read the first message ( ) Number of participants who did not read the first message ( The same value as Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( ) Is present, Number of participants who did not read the first message ( ) Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( It is characterized by adding as many as).
또한, 상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은 상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 확인하는 메시지인덱스확인 단계(S10); 상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 정렬하는 정렬 단계(S20); 및 상기 연산처리수단이 상기 정렬단계(S20)에서 정렬된 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 기준으로 번째 메시지를 안 읽은 참가자 수()를 구하는 안읽음수산출 단계(S30);를 포함하는 것을 특징으로 한다.In addition, in the method of calculating the number of people who have not read the group chat message, Index of last message read by second participant ( Message index checking step (S10) of confirming; The calculation processing means Index of last message read by second participant ( Sorting step (S20) of sorting); And each of the calculation processing means arranged in the alignment step S20. Index of last message read by second participant ( ) Number of participants who did not read the first message ( It is characterized in that it includes a ;;
또, 상기 안읽음수산출 단계(S30)는 마지막 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 총 참가자 수()를 저장하고, 메시지 인덱스() 값으로 전체 메시지 수()를 저장하거나, 중간 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이후 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장하는 초기값저장 단계(S31); 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 다르면, 값을 유지하고, 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 같으면, 값에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 높은 참가자가 읽은 마지막 메시지 인덱스()가 같은 참가자 수()를 차감하는() 카운팅변수갱신 단계(S33); 및 번째 메시지를 안 읽은 참가자 수()로 카운팅변수()를 저장하는 안읽음수저장 단계(S34);를 포함하는 것을 특징으로 한다.In addition, the unread calculation step (S30) is the first message direction (the flow direction of time) from the last message Number of participants who did not read the first message ( ), The counting variable ( ), The total number of participants ( ), And the message index ( Total message count () ) Or from the intermediate message to the first message direction (time flow direction) Number of participants who did not read the first message ( ), The counting variable ( The number of participants who haven't read the message since the intermediary message you want to see. ), And the message index ( ) The intermediate message index ( Storing an initial value (S31); Index of the last message read by the first highest participant ( ) And the message index ( ) Is different, Keep the value, Index of the last message read by the first highest participant ( ) And the message index ( ) Is the same, To the value Index of last message read by second participant ( )Wow Index of the last message read by the first highest participant ( ) With the same number of participants ( Subtracting ) Counting variable update step (S33); And Number of participants who did not read the first message ( Counting variable () It is characterized in that it comprises a; not stored storage step (S34) for storing).
또한, 상기 안읽음수산출 단계(S30)는 중간 메시지부터 마지막 메시지 방향(시간의 역흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이전 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장하는 초기값저장 단계(S31); 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 다르면, 값을 유지하고, 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 같으면, 값에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 높은 참가자가 읽은 마지막 메시지 인덱스()가 같은 참가자 수()를 부가하는() 카운팅변수갱신 단계(S33); 및 번째 메시지를 안 읽은 참가자 수()로 카운팅변수()를 저장하는 안읽음수저장 단계(S34);를 포함하는 것을 특징으로 한다.In addition, the unread calculation step (S30) is each of the intermediate message to the last message direction (reverse flow direction of time) Number of participants who did not read the first message ( ), The counting variable ( ) The number of participants who have not read the previous message before the intermediate message ), And the message index ( ) The intermediate message index ( Storing an initial value (S31); Index of the last message read by the first highest participant ( ) And the message index ( ) Is different, Keep the value, Index of the last message read by the first highest participant ( ) And the message index ( ) Is the same, To the value Index of last message read by second participant ( )Wow Index of the last message read by the first highest participant ( ) With the same number of participants ( ) ) Counting variable update step (S33); And Number of participants who did not read the first message ( Counting variable () It is characterized in that it comprises a; not stored storage step (S34) for storing).
또, 본 발명의 일 실시예에 따르면, 상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법을 구현하기 위한 프로그램이 저장된 컴퓨터 판독 가능한 기록매체가 제공되는 것을 특징으로 한다.According to an embodiment of the present invention, a computer-readable recording medium having stored thereon a program for implementing the method of calculating the number of unread group chat messages is provided.
아울러, 본 발명의 일 실시예에 따르면, 상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법을 구현하기 위해, 컴퓨터 판독 가능한 기록매체에 저장된 프로그램이 제공되는 것을 특징으로 한다.In addition, according to an embodiment of the present invention, a program stored in a computer-readable recording medium is provided in order to implement the method for calculating the number of unread group chat messages.
본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에 의하면, 메시지를 안 읽은 인원 확인을 위해 카운팅 된 결과값을 서버에 항시 저장하지 않고도, 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수()를 구함으로써, 그룹 내 인원의 채팅 읽음 상황을 실시간으로 처리하여, 메모리 소모를 줄이는 효과가 있다.According to the method for calculating the number of unread group chat messages according to an embodiment of the present invention, the last message read by the participant is not the number of messages, without always storing the result value counted for checking the number of unread messages. Each based on the indicated index Number of participants who did not read the first message ( ), It is possible to reduce the memory consumption by processing the chat read situation of the people in the group in real time.
또한, 사용자들 간 주고받은 메시지를 각각 확인할 때마다 서버에서 해당 읽음 처리를 저장하여 몇 명이 이를 확인하였는지 사용자의 화면에 출력하는 전달하지 않고도, 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수()를 구함으로써, 그룹 내 인원의 채팅 읽음 상황을 실시간으로 처리하여, 통신량을 줄이는 효과가 있다.In addition, whenever the user checks each message exchanged between users, the server saves the corresponding read processing and delivers it to the user's screen. Into each Number of participants who did not read the first message ( ), It is possible to process the chat read situation of the people in the group in real time, thereby reducing the amount of communication.
또한, 화면이동 방향에 따라 값 계산함으로써, 안 읽은 참가자 수를 구하는데 필요로 하는 메모리 소모를 줄임과 동시에 빠른 연산이 가능한 효과가 있다.Also, depending on the scroll direction By calculating the value, it is possible to reduce the memory consumption required to find the number of unread participants, and at the same time, it is possible to perform a fast operation.
또, 현재 유저가 보고 있는 화면에 해당되는 보여지는 메시지만, 안 읽은 참가자의 수를 산출 또는 갱신함으로써, 메모리 소모를 더욱 줄임과 동시에 더욱 빠른 연산이 가능한 효과가 있다.In addition, by calculating or updating the number of participants who have not read the message only corresponding to the screen currently viewed by the user, it is possible to further reduce memory consumption and to perform a faster operation.
또한, 번째 메시지를 안 읽은 참가자 수()를 식으로 구함으로써, 값으로 을 구할 수 있는 효과가 있다.Also, Number of participants who did not read the first message ( ) By finding By value There is an effect that can be obtained.
또, 안 읽은 참가자 수가 구해진 번째 메시지 이전인 번째 메시지를 안 읽은 참가자 수()를 값으로 더욱 빠르게 구할 수 있는 효과가 있다.Also, the number of unread participants Before the first message Number of participants who did not read the first message ( ) There is an effect that can be obtained faster by value.
또한, 안 읽은 참가자 수가 구해진 번째 메시지 이후인 번째 메시지를 안 읽은 참가자 수()를 값으로 더욱 빠르게 구할 수 있는 효과가 있다.Also, the number of unread participants After the first message Number of participants who did not read the first message ( ) There is an effect that can be obtained faster by value.
또, 값을 기준으로 정렬 후 을 구함으로써, 연산 횟수를 줄여, 더욱 빠르게 을 구할 수 있는 효과가 있다.In addition, After sorting by value By reducing the number of operations, faster There is an effect that can be obtained.
또한, 마지막 또는 중간부터 위로 읽을 때 값 계산 시 와 만으로 의 연산(안 읽음 처리) 가능함으로써, 서버와 사용자 간 메모리 소모 및 통신량을 줄이는 효과가 있다.Also, when reading up from the last or middle When calculating the value Wow By bay By enabling the operation (unread processing) of, there is an effect of reducing the memory consumption and communication between the server and the user.
아울러, 중간부터 아래로 읽을 때 값 계산 시 와 만으로 의 연산(안 읽음 처리) 가능함으로써, 서버와 사용자 간 메모리 소모 및 통신량을 줄이는 효과가 있다.In addition, when reading from the middle down When calculating the value Wow By bay By enabling the operation (unread processing) of, there is an effect of reducing the memory consumption and communication between the server and the user.
도 1은 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 그룹 채팅방 읽음 처리 예시도.
도 2는 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 흐름도.
도 3은 도 1을 내림차순으로 정렬한 그룹 채팅방 읽음 처리 예시도.
도 4는 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 마지막 메시지부터 처음 메시지 방향으로 안 읽은 참가자 수를 구하는 흐름도.
도 5는 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 중간 메시지부터 처음 메시지 방향으로 안 읽은 참가자 수를 구하는 흐름도.
도 6은 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 중간 메시지부터 마지막 메시지 방향으로 안 읽은 참가자 수를 구하는 흐름도.1 is a diagram illustrating a group chat room read process of a method of calculating a group chat message unread person number according to an embodiment of the present invention.
2 is a flowchart of a method of calculating a group chat message unread person number according to an embodiment of the present invention.
3 is a diagram illustrating a group chat room reading process in which FIG. 1 is arranged in descending order.
4 is a flow chart for calculating the number of participants who have not read in the direction of the first message from the last message of the group chat message unread count operation method according to an embodiment of the present invention.
FIG. 5 is a flowchart illustrating a number of participants who have not read in the first message direction from an intermediate message in a method of calculating a group chat message unread person number according to an embodiment of the present invention.
FIG. 6 is a flowchart for calculating the number of participants who have not read in the direction of the last message from the middle message of the method for calculating the number of unread group chat messages according to an embodiment of the present invention.
본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야한다.As the inventive concept allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be.
반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.
본 명세서에서 사용되는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 공정, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 공정, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "having" are intended to indicate that there is a feature, number, process, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present disclosure does not exclude the possibility of the presence or the addition of numbers, processes, operations, components, components, or a combination thereof.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미가 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미가 있는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.
이하, 첨부된 도면을 참조하여 본 발명을 더욱 상세하게 설명한다. 이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정하여 해석되어서는 아니 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여, 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 또한, 사용되는 기술 용어 및 과학 용어에 있어서 다른 정의가 없다면, 이 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 통상적으로 이해하고 있는 의미를 가지며, 하기의 설명 및 첨부 도면에서 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 설명은 생략한다. 다음에 소개되는 도면들은 당업자에게 본 발명의 사상이 충분히 전달될 수 있도록 하기 위해 예로서 제공되는 것이다. 따라서, 본 발명은 이하 제시되는 도면들에 한정되지 않고 다른 형태로 구체화될 수도 있다. 또한, 명세서 전반에 걸쳐서 동일한 참조번호들은 동일한 구성요소들을 나타낸다. 도면들 중 동일한 구성요소들은 가능한 한 어느 곳에서든지 동일한 부호들로 나타내고 있음에 유의해야 한다. Hereinafter, with reference to the accompanying drawings will be described in more detail the present invention. Prior to this, terms or words used in the present specification and claims should not be construed as being limited to the ordinary or dictionary meanings, and the inventors should properly explain the concept of terms in order to best explain their own inventions. Based on the principle that it can be defined, it should be interpreted as meaning and concept corresponding to the technical idea of the present invention. In addition, unless there is another definition in the technical terms and scientific terms used, it has the meaning commonly understood by those of ordinary skill in the art to which this invention belongs, and the gist of the present invention in the following description and the accompanying drawings. Descriptions of well-known functions and configurations that may be unnecessarily blurred are omitted. The drawings introduced below are provided by way of example so that the spirit of the invention to those skilled in the art can fully convey. Accordingly, the present invention is not limited to the drawings presented below and may be embodied in other forms. Also, like reference numerals denote like elements throughout the specification. It should be noted that the same elements in the figures are represented by the same numerals wherever possible.
도 1은 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 그룹 채팅방 읽음 처리 예시도이고, 도 2는 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 흐름도이며, 도 3은 도 1을 내림차순으로 정렬한 그룹 채팅방 읽음 처리 예시도이고, 도 4는 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 마지막 메시지부터 처음 메시지 방향으로 안 읽은 참가자 수를 구하는 흐름도이며, 도 5는 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 중간 메시지부터 처음 메시지 방향으로 안 읽은 참가자 수를 구하는 흐름도이고, 도 6은 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 중간 메시지부터 마지막 메시지 방향으로 안 읽은 참가자 수를 구하는 흐름도이다.1 is a view illustrating a group chat room read processing method of a group chat message unread person counting method according to an embodiment of the present invention, and FIG. 2 is a method of calculating a group chat message unread person counting method according to an embodiment of the present invention. 3 is an exemplary view illustrating a group chat room reading process in which FIG. 1 is arranged in descending order, and FIG. 4 shows a group chat message unread person counting method according to an embodiment of the present invention. FIG. 5 is a flowchart for calculating the number of participants read, and FIG. 5 is a flowchart for calculating the number of participants who have not read in the first message direction from the middle message of the group chat message unread number calculation method according to an embodiment of the present invention, and FIG. From the middle message to the last message of the group chat message unread count calculation method according to an embodiment of This is a flow chart of the number of unread participants.
설명에 앞서, 본 명세서( 및 특허청구범위)에서 사용되는 용어에 대해 간단히 설명하도록 한다.Prior to the description, terms used in the specification (and claims) will be briefly described.
'인덱스'는 몇 번째 인지 확인 가능한 숫자 정보로 이루어지며 자연수로 표현된다.'Index' is composed of numerical information that can be identified as the number and is expressed as a natural number.
예를 들어, 메시지 인덱스는 몇 번째 메시지인지 확인할 수 있는 자연수로 표시할 수 있고, 메시지 인덱스는 몇 번째 메시지인지 확인할 수 있는 자연수로 표시할 수 있고, For example, the message index can be expressed as a natural number to determine the number of messages, the message index can be represented as a natural number to determine the number of messages,
본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은 컴퓨터를 포함하는 연산처리수단에 의하여 실행되는 프로그램 형태로 이루어지는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에 있어서,In the group chat message unread number calculation method according to an embodiment of the present invention, in the group chat message unread number calculation method having a program executed by a calculation processing means including a computer,
상기 연산처리수단이 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 것을 특징으로 한다.The calculation processing means determines each message based on the index indicating the number of the last message read by each participant. Number of participants who did not read the first message ( ( Is a natural number)).
여기서, 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스는, 번째 참가자가 읽은 마지막 메시지 인덱스()로 표현할 수 있다.Here, the index that indicates the number of messages the last message read by each participant is Index of last message read by second participant ( Can be expressed as
예를 들어, 첫 번째 참가자가 읽은 마지막 메시지 인덱스()가 1, 두 번째 참가자가 읽은 마지막 메시지 인덱스()가 6, 세 번째 참가자가 읽은 마지막 메시지 인덱스()가 3, 네 번째 참가자가 읽은 마지막 메시지 인덱스()가 5인 경우, 도 1과 같이 표현할 수 있다.For example, the last message index read by the first participant ( ) Is 1, the last message index (read by the second participant ( ) Is 6, the last message index ( ) Is 3, the last message index (read by the fourth participant ( If 5), it can be expressed as shown in FIG.
본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에서 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것은, 화면의 이동 방향에 따라 각 번째 메시지를 안 읽은 참가자 수()를 산출 또는 갱신하는 것을 특징으로 할 수 있다.In the method of calculating the number of unread group chat messages according to an embodiment of the present invention, Number of participants who did not read the first message ( ) Is determined by the direction of screen movement. Number of participants who did not read the first message ( ) May be calculated or updated.
즉, 사용자가 보는 화면 및 사용자가 조작하는 스크롤 이동에 따라 실시간으로 해당 화면에 보여지는 메시지를 안 읽은 참가자의 수를 산출 또는 갱신할 수 있다.That is, the number of participants who have not read the message displayed on the screen in real time according to the screen viewed by the user and the scroll movement manipulated by the user may be calculated or updated.
또한, 현재 유저가 보고 있는 화면에 해당되는 보여지는 메시지만, 안 읽은 참가자의 수를 산출 또는 갱신할 수 있다.In addition, only the message that is displayed corresponding to the screen currently viewed by the user may calculate or update the number of unread participants.
본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에서 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것은, In the method of calculating the number of unread group chat messages according to an embodiment of the present invention, Number of participants who did not read the first message ( ) To find
번째 메시지를 안 읽은 참가자 수()를 구하고자 하는 메시지 인덱스()가 번째 참가자가 읽은 마지막 메시지 인덱스( (은 자연수)) 초과인 메시지 인덱스()의 개수()인 것을 특징으로 할 수 있다. Number of participants who did not read the first message ( Message index () )end Index of last message read by second participant ( ( Is a natural number)) ) It can be characterized by the).
그룹 채팅의 참가한 사용자 인덱스는 , 총 참가자 수는 으로 정의할 수 있으며 다음과 같이 표현할 수 있다. (은 자연수)The participant index in group chat is , The total number of participants It can be defined as ( Is a natural number)
그룹 채팅 내 메시지 인덱스는 , 전체 메시지 수는 으로 정의할 수 있으며 다음과 같이 표현할 수 있다. (은 자연수)The message index in group chat is , The total number of messages It can be defined as ( Is a natural number)
번째 참가자가 읽은 마지막 메시지 인덱스는 으로 정의할 수 있다. The last message index read by the second participant is Can be defined as
번째 메시지를 안 읽은 사용자 인덱스의 집합은 으로 정의할 수 있으며 다음과 같이 표현할 수 있다. The set of user indexes that did not read the first message It can be defined as
번째 메시지를 안 읽은 사용자 수는 로 정의할 수 있으며 다음과 같이 표현할 수 있다. The number of users who did not read the first message It can be defined as
따라서, 번째 메시지를 안 읽은 참가자 수()는 다음과 같이 표현할 수 있다. therefore, Number of participants who did not read the first message ( ) Can be expressed as
본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에서 상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것 중, 최초 연산된 번째 메시지를 안 읽은 참가자 수()를 구한 번째 메시지의 이전 메시지인 번째 메시지를 안 읽은 참가자 수()는,In the method for calculating the number of unread group chat messages according to an embodiment of the present invention, Number of participants who did not read the first message ( ), The first operation Number of participants who did not read the first message ( Saved The previous message in the first message Number of participants who did not read the first message ( ),
번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하지 않으면, 번째 메시지를 안 읽은 참가자 수()를 번째 메시지를 안 읽은 참가자 수() 값과 동일하게 유지하고, Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( ) Does not exist, Number of participants who did not read the first message ( ) Number of participants who did not read the first message ( The same value as
번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하면, 번째 메시지를 안 읽은 참가자 수()를 번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스() 수 만큼 차감하는 것을 특징으로 할 수 있다. Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( ) Is present, Number of participants who did not read the first message ( ) Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( Subtracted by a number).
즉, 각각의 번째 메시지를 안 읽은 참가자 수(, ) 모두를 식으로 구하는 것도 가능하지만, 메시지를 안 읽은 참가자 수를 보다 빠르게 계산하기 위해, 이미 안 읽은 참가자 수가 구해진 번째 메시지 이전인 번째 메시지를 안 읽은 참가자 수()를, 번째 참가자가 읽은 마지막 메시지 인덱스()를 이용하여 구할 수 있다.That is, each Number of participants who did not read the first message ( , ) All This can be done using the formula, but in order to calculate the number of participants who have not read the message faster, Before the first message Number of participants who did not read the first message ( ), Index of last message read by second participant ( Can be obtained using
다시 말해, 순차적으로 안 읽은 사람 수를 파악할 때는, 번째 참가자가 읽은 마지막 메시지 인덱스() 기준으로 분기되는 시점에서만 카운트가 변경되는 원리를 적용할 수 있다.In other words, when trying to figure out the number of people who have not read sequentially, Index of last message read by second participant ( The principle that the count is changed only at the time of branching based on the reference) can be applied.
본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에서 상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것 중, 최초 연산된 번째 메시지를 안 읽은 참가자 수()를 구한 번째 메시지의 이후 메시지인 번째 메시지를 안 읽은 참가자 수()는,In the method for calculating the number of unread group chat messages according to an embodiment of the present invention, Number of participants who did not read the first message ( ), The first operation Number of participants who did not read the first message ( Saved Subsequent messages from the first message Number of participants who did not read the first message ( ),
번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하지 않으면, 번째 메시지를 안 읽은 참가자 수()를 번째 메시지를 안 읽은 참가자 수() 값과 동일하게 유지하고, Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( ) Does not exist, Number of participants who did not read the first message ( ) Number of participants who did not read the first message ( The same value as
번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하면, 번째 메시지를 안 읽은 참가자 수()를 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스() 수 만큼 부가하는 것을 특징으로 할 수 있다. Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( ) Is present, Number of participants who did not read the first message ( ) Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( The number may be added as many times as possible.
즉, 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 참가자가 존재하면, 번째 메시지를 안 읽은 참가자 수()에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 수만큼 부가하는 것을 특징으로 할 수 있다.In other words, Index of last message read by second participant ( )Wow Message index ( ) If the same participants exist, Number of participants who did not read the first message ( )on Index of last message read by second participant ( )Wow Message index ( ) Is the same The first participant may add as much as the last message read.
다시 말해, 각각의 번째 메시지를 안 읽은 참가자 수(, ) 모두를 식으로 구하는 것도 가능하지만, 메시지를 안 읽은 참가자 수를 보다 빠르게 계산하기 위해, 이미 안 읽은 참가자 수가 구해진 번째 메시지 이후인 번째 메시지를 안 읽은 참가자 수()를 이용하여 구할 수 있다.In other words, each Number of participants who did not read the first message ( , ) All This can be done using the formula, but in order to calculate the number of participants who have not read the message faster, After the first message Number of participants who did not read the first message ( Can be obtained using
결론적으로, 순차적으로 안 읽은 사람 수를 파악할 때는, 번째 참가자가 읽은 마지막 메시지 인덱스() 기준으로 분기되는 시점에서만 카운트가 변경되는 원리를 적용할 수 있다.In conclusion, when determining the number of people who have not read sequentially, Index of last message read by second participant ( The principle that the count is changed only at the time of branching based on the reference) can be applied.
도 2에 도시된 바와 같이, 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은, 메시지인덱스확인 단계(S10), 정렬 단계(S20) 및 안읽음수산출 단계(S30)를 포함할 수 있다.As shown in FIG. 2, the group chat message unread count operation method of the group chat message unread count operation method according to an embodiment of the present invention includes a message index checking step (S10) and a sorting step (S20). And not reading step may include a step (S30).
메시지인덱스확인 단계(S10)는 상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 확인한다.Message index checking step (S10) is that the operation processing means is Index of last message read by second participant ( ).
상기 메시지인덱스확인 단계(S10)는 각각의 값을 확인하고 저장할 수 있다.The message index checking step (S10) is the respective You can check and save the value.
예를 들어, 도 1의 경우, = 1, = 6, = 3, = 5와 같이 각각의 을 확인하고 저장할 수 있다. For example, in the case of FIG. = 1, = 6, = 3, = 5 each You can check and save it.
정렬 단계(S20)는 상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 정렬한다. In the sorting step (S20), the calculation processing means Index of last message read by second participant ( ).
상기 정렬 단계(S20)는 각각의 값을 정렬 할 수 있다.The sorting step (S20) is each You can sort the values.
예를 들어, 도 1의 경우, = 1, = 3, = 5, = 6의 순서로 도 3과 같이 각각의 을 정렬하고 저장할 수 있다. For example, in the case of FIG. = 1, = 3, = 5, = 6 in the order of 6 You can sort and save them.
도 3 에서는 내림차순으로 정렬한 예를 도시하였으나, 본 발명이 이에 한정된 것은 아니며, 오름차순으로 정렬하는 것도 가능함은 물론이다.3 illustrates an example of sorting in descending order, but the present invention is not limited thereto, and the sorting may be performed in ascending order.
안읽음수산출 단계(S30)는 상기 연산처리수단이 상기 정렬단계(S20)에서 정렬된 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 기준으로 번째 메시지를 안 읽은 참가자 수()를 구한다.The unread count calculation step (S30) is the angle at which the calculation processing means is aligned in the sorting step (S20). Index of last message read by second participant ( ) Number of participants who did not read the first message ( )
상기 안읽음수산출 단계(S30)는 The unread calculation step (S30) is
만으로 의 연산(안 읽음 처리) 가능함으로써, 서버와 사용자 간 과도한 통신량, 메모리 소모의 문제점을 해결할 수 있다. By bay By operating (unread processing), the problem of excessive communication between the server and the user and memory consumption can be solved.
이는, 해당 참가자가 읽은 마지막 메시지 이후의 메시지들은 읽지 않은 것을 손쉽게 파악이 가능하기 때문이다.This is because the messages after the last message read by the participant can be easily identified as unread.
즉, 번째 참가자가 읽은 마지막 메시지 인덱스()를 서버에 저장한 것만으로도, 전체() 메시지에 대한 각각의 번째 메시지를 안 읽은 참가자 수()를 실시간으로 연산할 수 있다. In other words, Index of last message read by second participant ( ) Just saved the server to the server, ) For each message Number of participants who did not read the first message ( ) Can be calculated in real time.
이는, 전체 메시지량이나 사용자 수와 연관해야 연산 가능하고, 안 읽은 인원을 세기위해 카운팅을 하고, 카운팅 된 결과값을 항시 저장해야 했던 종래의 읽음 처리 방식에 비해, 메모리 소모를 대폭 줄이고, 실시간으로 빠르게 연산이 가능도록 하기 위함이다.This significantly reduces memory consumption in real time, compared to the conventional read processing method, which requires calculation to be related to the total message volume or the number of users, counts to count the unread, and always stores the counted result. This is to enable fast computation.
즉, 메시지를 안 읽은 참가자 수를 실시간으로 빠르게 연산할 수 있기에, 각각의 메시지 마다 각각의 메시지를 안 읽은 참가자 수를 메모리를 저장시켜놓지 않아도 된다.That is, since the number of participants who have not read a message can be calculated quickly in real time, the number of participants who have not read each message does not need to be stored in memory for each message.
도 4 내지 도 5에 도시된 바와 같이, 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 안읽음수산출 단계(S30)는, 초기값저장 단계(S31), 카운팅변수갱신 단계(S33) 및 안읽음수저장 단계(S34)를 포함할 수 있다.As shown in Figures 4 to 5, the unread calculation step (S30) of the group chat message unread number calculation method according to an embodiment of the present invention, the initial value storage step (S31), counting variable update A step S33 and an unreadable number storage step S34 may be included.
초기값저장 단계(S31)는 마지막 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 총 참가자 수()를 저장하고, 메시지 인덱스() 값으로 전체 메시지 수()를 저장(도 4 참조)하거나, 중간 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이후 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장(도 5 참조)한다.Initial value storage step (S31) is the first message direction from the last message (direction of time flow) Number of participants who did not read the first message ( ), The counting variable ( ), The total number of participants ( ), And the message index ( Total message count () ), Or from the intermediate message to the first message direction (time flow direction) Number of participants who did not read the first message ( ), The counting variable ( The number of participants who haven't read the message since the intermediary message you want to see. ), And the message index ( ) The intermediate message index ( ) (See FIG. 5).
중간 메시지는 처음 메시지와 마지막 메시지의 사이에 존재하는 메시지를 의미하며, 중간 메시지 인덱스()는 중간 메시지가 몇 번째 순서에 해당되는지 알려주기 위한 숫자 정보로 이루어질 수 있다.Intermediate messages are messages that exist between the first and last messages. The intermediate message index ( ) May be composed of numeric information for indicating to which order the intermediate message corresponds.
상기 초기값저장 단계(S31)는 도 4에 도시된 바와 같이, 마지막 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 총 참가자 수()를 저장하고, 메시지 인덱스() 값으로 전체 메시지 수()를 저장할 수 있다.As shown in FIG. 4, the initial value storing step S31 may be performed in a direction from the last message to the first message direction (time flow direction). Number of participants who did not read the first message ( ), The counting variable ( ), The total number of participants ( ), And the message index ( Total message count () ) Can be stored.
또는, 상기 초기값저장 단계(S31)는 도 5에 도시된 바와 같이, 중간 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이후 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장할 수 있다.Alternatively, the initial value storing step (S31) is shown in Figure 5, each of the intermediate message to the first message direction (time flow direction) Number of participants who did not read the first message ( ), The counting variable ( The number of participants who haven't read the message since the intermediary message you want to see. ), And the message index ( ) The intermediate message index ( ) Can be stored.
카운팅변수갱신 단계(S33)는 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 다르면, 값을 유지하고, 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 같으면, 값에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 높은 참가자가 읽은 마지막 메시지 인덱스()가 같은 참가자 수()를 차감() 한다.Counting variable update step (S33) Index of the last message read by the first highest participant ( ) And the message index ( ) Is different, Keep the value, Index of the last message read by the first highest participant ( ) And the message index ( ) Is the same, To the value Index of last message read by second participant ( )Wow Index of the last message read by the first highest participant ( ) With the same number of participants ( ) ) do.
을 기준으로 정렬했을 때 c번째 높은 값을 로 정의할 수 있다. C high when sorted by Value Can be defined as
또한, 와 값이 같은 의 수를 로 정의할 수 있다.Also, Is the same value as The number of Can be defined as
즉, 상기 카운팅변수갱신 단계(S33)는 을 근거로 와 를 산출하고, 와 만으로 의 연산(안 읽음 처리) 가능함으로써, 서버와 사용자 간 과도한 통신량, 메모리 소모의 문제점을 해결할 수 있다.That is, the counting variable update step (S33) is On the basis of Wow Yields, Wow By bay By operating (unread processing), the problem of excessive communication between the server and the user and memory consumption can be solved.
이는, 전체 메시지량이나 사용자 수와 연관해야 연산 가능하고, 안 읽은 인원을 세기위해 카운팅을 하고, 카운팅 된 결과값을 항시 저장해야 했던 종래의 읽음 처리 방식에 비해, 메모리 소모를 대폭 줄이고, 실시간으로 빠르게 연산이 가능도록 하기 위함이다.This significantly reduces memory consumption in real time, compared to the conventional read processing method, which requires calculation to be related to the total message volume or the number of users, counts to count the unread, and always stores the counted result. This is to enable fast computation.
즉, 메시지를 안 읽은 참가자 수를 실시간으로 빠르게 연산할 수 있기에, 각각의 메시지 마다 각각의 메시지를 안 읽은 참가자 수를 메모리를 저장시켜놓지 않아도 된다.That is, since the number of participants who have not read a message can be calculated quickly in real time, the number of participants who have not read each message does not need to be stored in memory for each message.
다시 말해, 순차적으로 안 읽은 사람 수를 파악할 때는, 을 기준으로 정렬했을 때 c번째 높은 값 갖는 를 기준으로 분기되는 시점에서만 카운트가 변경되는 원리를 적용할 수 있다.In other words, when trying to figure out the number of people who have not read sequentially, C high when sorted by Having value The principle that the count is changed only at the time of branching based on the above can be applied.
안읽음수저장 단계(S34)는 번째 메시지를 안 읽은 참가자 수()로 카운팅변수()를 저장한다.Unread storage step (S34) Number of participants who did not read the first message ( Counting variable () Save).
즉, 상기 안읽음수저장 단계(S34)에서, 번째 메시지를 안 읽은 참가자 수()가 최종 확정된다.That is, in the unread storage step (S34), Number of participants who did not read the first message ( ) Is finally confirmed.
상기 안읽음수산출 단계(S30)는, 상기 안읽음수저장 단계(S34) 이후에, 메시지 인덱스() 값을 1 차감(S35)하고, 차감된 메시지 인덱스() 값이 0 이 아닌 것으로 판단(S36)되면 상기 카운팅변수갱신 단계(S32)부터 순차적으로 수행하는 것을 특징으로 할 수 있다.(도 4 내지 도 5 참조)The unread count calculating step (S30), after the unread count storing step (S34), the message index ( ) Value is subtracted (S35), and the subtracted message index ( If it is determined that the value is not 0 (S36), the counting variable may be sequentially performed from the updating of the counting variable step S32 (see FIGS. 4 to 5).
이때, S35 단계는 사용자가 보는 화면에 번째 메시지가 보이면 진행하는 것을 특징으로 할 수 있다.At this time, step S35 is on the screen that the user sees. If the first message is seen, it may be characterized by proceeding.
도 6에 도시된 바와 같이, 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법의 안읽음수산출 단계(S30)는, 초기값저장 단계(S31), 카운팅변수갱신 단계(S33) 및 안읽음수저장 단계(S34)를 포함할 수 있다.As shown in Figure 6, the unread count calculation step (S30) of the group chat message unread count operation method according to an embodiment of the present invention, the initial value storage step (S31), the counting variable update step (S33) And an unread storing step (S34).
초기값저장 단계(S31)는 중간 메시지부터 마지막 메시지 방향(시간의 역흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이전 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장(도 6 참조)한다.Initial value storage step (S31) is the angle from the intermediate message to the last message direction (reverse flow direction of time) Number of participants who did not read the first message ( ), The counting variable ( ) The number of participants who have not read the previous message before the intermediate message ), And the message index ( ) The intermediate message index ( ) (See FIG. 6).
중간 메시지는 처음 메시지와 마지막 메시지의 사이에 존재하는 메시지를 의미하며, 중간 메시지 인덱스()는 중간 메시지가 몇 번째 순서에 해당되는지 알려주기 위한 숫자 정보로 이루어질 수 있다.Intermediate messages are messages that exist between the first and last messages. The intermediate message index ( ) May be composed of numeric information for indicating to which order the intermediate message corresponds.
카운팅변수갱신 단계(S33)는 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 다르면, 값을 유지하고, 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 같으면, 값에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 높은 참가자가 읽은 마지막 메시지 인덱스()가 같은 참가자 수()를 부가한다.() Counting variable update step (S33) Index of the last message read by the first highest participant ( ) And the message index ( ) Is different, Keep the value, Index of the last message read by the first highest participant ( ) And the message index ( ) Is the same, To the value Index of last message read by second participant ( )Wow Index of the last message read by the first highest participant ( ) With the same number of participants ( Add) )
을 기준으로 정렬했을 때 c번째 높은 값을 로 정의할 수 있다. C high when sorted by Value Can be defined as
또한, 와 값이 같은 의 수를 로 정의할 수 있다.Also, Is the same value as The number of Can be defined as
즉, 상기 카운팅변수갱신 단계(S33)는 을 근거로 와 를 산출하고, 와 만으로 의 연산(안 읽음 처리) 가능함으로써, 서버와 사용자 간 과도한 통신량, 메모리 소모의 문제점을 해결할 수 있다.That is, the counting variable update step (S33) is On the basis of Wow Yields, Wow By bay By operating (unread processing), the problem of excessive communication between the server and the user and memory consumption can be solved.
이는, 전체 메시지량이나 사용자 수와 연관해야 연산 가능하고, 안 읽은 인원을 세기위해 카운팅을 하고, 카운팅 된 결과값을 항시 저장해야 했던 종래의 읽음 처리 방식에 비해, 메모리 소모를 대폭 줄이고, 실시간으로 빠르게 연산이 가능도록 하기 위함이다.This significantly reduces memory consumption in real time, compared to the conventional read processing method, which requires calculation to be related to the total message volume or the number of users, counts to count the unread, and always stores the counted result. This is to enable fast computation.
즉, 메시지를 안 읽은 참가자 수를 실시간으로 빠르게 연산할 수 있기에, 각각의 메시지 마다 각각의 메시지를 안 읽은 참가자 수를 메모리를 저장시켜놓지 않아도 된다.That is, since the number of participants who have not read a message can be calculated quickly in real time, the number of participants who have not read each message does not need to be stored in memory for each message.
다시 말해, 순차적으로 안 읽은 사람 수를 파악할 때는, 을 기준으로 정렬했을 때 c번째 높은 값 갖는 를 기준으로 분기되는 시점에서만 카운트가 변경되는 원리를 적용할 수 있다.In other words, when trying to figure out the number of people who have not read sequentially, C high when sorted by Having value The principle that the count is changed only at the time of branching based on the above can be applied.
안읽음수저장 단계(S34)는 번째 메시지를 안 읽은 참가자 수()로 카운팅변수()를 저장한다.Unread storage step (S34) Number of participants who did not read the first message ( Counting variable () Save).
즉, 상기 안읽음수저장 단계(S34)에서, 번째 메시지를 안 읽은 참가자 수()가 최종 확정된다.That is, in the unread storage step (S34), Number of participants who did not read the first message ( ) Is finally confirmed.
상기 안읽음수산출 단계(S30)는, 상기 안읽음수저장 단계(S34) 이후에, 메시지 인덱스() 값을 1 부가(S37)하고, 부가된 메시지 인덱스() 값이 M 이 아닌 것으로 판단(S38)되면 상기 카운팅변수갱신 단계(S32)부터 순차적으로 수행하는 것을 특징으로 할 수 있다.(도 6 참조)The unread count calculating step (S30), after the unread count storing step (S34), the message index ( ) Value (1) and the added message index ( If it is determined that the value is not M (S38), the counting variable may be sequentially performed from the step of updating the counting variable (S32) (see FIG. 6).
이때, S37 단계는 사용자가 보는 화면에 번째 메시지가 보이면 진행하는 것을 특징으로 할 수 있다.At this time, step S37 is displayed on the screen If the first message is seen, it may be characterized by proceeding.
이상에서 본 발명의 일 실시예에 따른 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법에 대하여 설명하였지만, 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법을 구현하기 위한 프로그램이 저장된 컴퓨터 판독 가능한 기록매체 및 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법을 구현하기 위한 컴퓨터 판독 가능한 기록매체에 저장된 프로그램 역시 구현 가능함은 물론이다.Although the method of calculating the number of unread group chat messages according to an embodiment of the present invention has been described above, the computer-readable recording medium and the group chat message storing a program for implementing the method of calculating the number of unread group chat messages are not read. Of course, the program stored in the computer-readable recording medium for implementing the method for calculating the number of people can also be implemented.
즉, 상술한 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은 이를 구현하기 위한 명령어들의 프로그램이 유형적으로 구현됨으로써, 컴퓨터를 통해 판독될 수 있는 기록매체에 포함되어 제공될 수도 있음을 당업자들이 쉽게 이해할 수 있을 것이다. 다시 말해, 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어, 컴퓨터 판독 가능한 기록매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 상기 컴퓨터 판독 가능한 기록매체의 예에는 하드 디스크, 플로피 디스크 및 자기테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리, USB 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.That is, those skilled in the art can easily understand that the above-mentioned group chat message unread count operation method may be provided included in a recording medium that can be read through a computer by programmatically implementing a program of instructions for implementing the same. will be. In other words, it may be embodied in the form of program instructions that can be executed by various computer means, and recorded on a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to those skilled in computer software. Examples of such computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and floptical disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, USB memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.
본 발명은 상기한 실시예에 한정되지 아니하며, 적용범위가 다양함은 물론이고, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 다양한 변형 실시가 가능한 것은 물론이다. The present invention is not limited to the above-described embodiments, and the scope of application is not limited, and various modifications can be made without departing from the gist of the present invention as claimed in the claims.
S10: 메시지인덱스확인 단계
S20: 정렬 단계
S30: 안읽음수산출 단계
S31: 초기값저장 단계
S33: 카운팅변수갱신 단계
S34: 안읽음수저장 단계S10: Checking Message Index
S20: Sort Step
S30: Unread Counting Step
S31: Initial value storage step
S33: Counting variable update step
S34: Unread Storage Step
Claims (10)
상기 연산처리수단이 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 것을 특징으로 하되,
상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 확인하는 메시지인덱스확인 단계(S10);
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 정렬하는 정렬 단계(S20); 및
상기 연산처리수단이 상기 정렬단계(S20)에서 정렬된 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 기준으로 번째 메시지를 안 읽은 참가자 수()를 구하는 안읽음수산출 단계(S30);
를 포함하는며,
상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것 중,
최초 연산된 번째 메시지를 안 읽은 참가자 수()를 구한 번째 메시지의 이전 메시지인 번째 메시지를 안 읽은 참가자 수()는
번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하지 않으면, 번째 메시지를 안 읽은 참가자 수()를 번째 메시지를 안 읽은 참가자 수() 값과 동일하게 유지하고,
번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하면, 번째 메시지를 안 읽은 참가자 수()를 번째 참가자가 읽은 마지막 메시지 인덱스()와 이전 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스() 수 만큼 차감하는 것을 특징으로 하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법.
In the group chat message unread number calculation method which consists of a program executed by the calculation processing means containing a computer,
The calculation processing means determines each message based on the index indicating the number of the last message read by each participant. Number of participants who did not read the first message ( ( Is a natural number)),
How to calculate the number of people who have not read the group chat message
The calculation processing means Index of last message read by second participant ( Message index checking step (S10) of confirming;
The calculation processing means Index of last message read by second participant ( Sorting step (S20) of sorting); And
Each of the calculation processing means arranged in the alignment step S20 Index of last message read by second participant ( ) Number of participants who did not read the first message ( Calculating unread count step (S30);
It includes,
Above each Number of participants who did not read the first message ( )
First computed Number of participants who did not read the first message ( Saved The previous message in the first message Number of participants who did not read the first message ( )
Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( ) Does not exist, Number of participants who did not read the first message ( ) Number of participants who did not read the first message ( The same value as
Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( ) Is present, Number of participants who did not read the first message ( ) Index of last message read by second participant ( ) And the previous message index ( ) Is the same Index of last message read by second participant ( A method of calculating the number of unread people in a group chat message, characterized by subtracting by the number).
상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것은
화면의 이동 방향에 따라 각 번째 메시지를 안 읽은 참가자 수()를 산출 또는 갱신하는 것을 특징으로 하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법.
The method of claim 1,
Above each Number of participants who did not read the first message ( To save)
Depending on the direction of screen movement Number of participants who did not read the first message ( Calculating or updating the group chat message unreaders.
상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것은
번째 메시지를 안 읽은 참가자 수()를 구하고자 하는 메시지 인덱스()가 번째 참가자가 읽은 마지막 메시지 인덱스( (은 자연수)) 초과인 메시지 인덱스()의 개수()인 것을 특징으로 하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법.
The method of claim 1,
Above each Number of participants who did not read the first message ( To save)
Number of participants who did not read the first message ( Message index () )end Index of last message read by second participant ( ( Is a natural number)) ) Group chat message unread count operation method, characterized in that)).
상기 연산처리수단이 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 것을 특징으로 하되,
상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 확인하는 메시지인덱스확인 단계(S10);
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 정렬하는 정렬 단계(S20); 및
상기 연산처리수단이 상기 정렬단계(S20)에서 정렬된 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 기준으로 번째 메시지를 안 읽은 참가자 수()를 구하는 안읽음수산출 단계(S30);
를 포함하는며,
상기 각 번째 메시지를 안 읽은 참가자 수()를 구하는 것 중,
최초 연산된 번째 메시지를 안 읽은 참가자 수()를 구한 번째 메시지의 이후 메시지인 번째 메시지를 안 읽은 참가자 수()는
번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하지 않으면, 번째 메시지를 안 읽은 참가자 수()를 번째 메시지를 안 읽은 참가자 수() 값과 동일하게 유지하고,
번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스()가 존재하면, 번째 메시지를 안 읽은 참가자 수()를 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 메시지 인덱스()가 같은 번째 참가자가 읽은 마지막 메시지 인덱스() 수 만큼 부가하는 것을 특징으로 하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법.
In the group chat message unread number calculation method which consists of a program executed by the calculation processing means containing a computer,
The calculation processing means determines each message based on the index indicating the number of the last message read by each participant. Number of participants who did not read the first message ( ( Is a natural number)),
How to calculate the number of people who have not read the group chat message
The calculation processing means Index of last message read by second participant ( Message index checking step (S10) of confirming;
The calculation processing means Index of last message read by second participant ( Sorting step (S20) of sorting); And
Each of the calculation processing means arranged in the alignment step S20 Index of last message read by second participant ( ) Number of participants who did not read the first message ( Calculating unread count step (S30);
It includes,
Above each Number of participants who did not read the first message ( )
First computed Number of participants who did not read the first message ( Saved Subsequent messages from the first message Number of participants who did not read the first message ( )
Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( ) Does not exist, Number of participants who did not read the first message ( ) Number of participants who did not read the first message ( The same value as
Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( ) Is present, Number of participants who did not read the first message ( ) Index of last message read by second participant ( )Wow Message index ( ) Is the same Index of last message read by second participant ( The method of calculating the number of unread people in a group chat message, characterized in that the number is added.
상기 연산처리수단이 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 것을 특징으로 하되,
상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 확인하는 메시지인덱스확인 단계(S10);
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 정렬하는 정렬 단계(S20); 및
상기 연산처리수단이 상기 정렬단계(S20)에서 정렬된 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 기준으로 번째 메시지를 안 읽은 참가자 수()를 구하는 안읽음수산출 단계(S30);
를 포함하는며,
상기 안읽음수산출 단계(S30)는
마지막 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 총 참가자 수()를 저장하고, 메시지 인덱스() 값으로 전체 메시지 수()를 저장하거나, 중간 메시지부터 처음 메시지 방향(시간의 흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이후 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장하는 초기값저장 단계(S31);
번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 다르면, 값을 유지하고, 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 같으면, 값에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 높은 참가자가 읽은 마지막 메시지 인덱스()가 같은 참가자 수()를 차감하는() 카운팅변수갱신 단계(S33); 및
번째 메시지를 안 읽은 참가자 수()로 카운팅변수()를 저장하는 안읽음수저장 단계(S34);
를 포함하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법.
In the group chat message unread number calculation method which consists of a program executed by the calculation processing means containing a computer,
The calculation processing means determines each message based on the index indicating the number of the last message read by each participant. Number of participants who did not read the first message ( ( Is a natural number)),
How to calculate the number of people who have not read the group chat message
The calculation processing means Index of last message read by second participant ( Message index checking step (S10) of confirming;
The calculation processing means Index of last message read by second participant ( Sorting step (S20) of sorting); And
Each of the calculation processing means arranged in the alignment step S20 Index of last message read by second participant ( ) Number of participants who did not read the first message ( Calculating unread count step (S30);
It includes,
The unread calculation step (S30) is
From the last message to the first message direction (time flow direction) Number of participants who did not read the first message ( ), The counting variable ( ), The total number of participants ( ), And the message index ( Total message count () ) Or from the intermediate message to the first message direction (time flow direction) Number of participants who did not read the first message ( ), The counting variable ( The number of participants who haven't read the message since the intermediary message you want to see. ), And the message index ( ) The intermediate message index ( Storing an initial value (S31);
Index of the last message read by the first highest participant ( ) And the message index ( ) Is different, Keep the value, Index of the last message read by the first highest participant ( ) And the message index ( ) Is the same, To the value Index of last message read by second participant ( )Wow Index of the last message read by the first highest participant ( ) With the same number of participants ( Subtracting ) Counting variable update step (S33); And
Number of participants who did not read the first message ( Counting variable () Storing unread count step (S34);
Group chat message that includes the unread count operation method.
상기 연산처리수단이 각 참가자가 읽은 마지막 메시지가 몇 번째 메시지 인지 표시된 인덱스를 기준으로 각 번째 메시지를 안 읽은 참가자 수( (은 자연수))를 구하는 것을 특징으로 하되,
상기 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법은
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 확인하는 메시지인덱스확인 단계(S10);
상기 연산처리수단이 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 정렬하는 정렬 단계(S20); 및
상기 연산처리수단이 상기 정렬단계(S20)에서 정렬된 각 번째 참가자가 읽은 마지막 메시지 인덱스()를 기준으로 번째 메시지를 안 읽은 참가자 수()를 구하는 안읽음수산출 단계(S30);
를 포함하는며
상기 안읽음수산출 단계(S30)는
중간 메시지부터 마지막 메시지 방향(시간의 역흐름 방향)으로 각 번째 메시지를 안 읽은 참가자 수()를 구할 경우, 카운팅변수() 값으로 확인하고자 하는 중간 메시지 이전 메시지를 안 읽은 참가자 수()를 저장하고, 메시지 인덱스() 값으로 확인하고자 하는 중간 메시지 인덱스()를 저장하는 초기값저장 단계(S31);
번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 다르면, 값을 유지하고, 번째 높은 참가자가 읽은 마지막 메시지 인덱스()와 메시지 인덱스()가 같으면, 값에 번째 참가자가 읽은 마지막 메시지 인덱스()와 번째 높은 참가자가 읽은 마지막 메시지 인덱스()가 같은 참가자 수()를 부가하는() 카운팅변수갱신 단계(S33); 및
번째 메시지를 안 읽은 참가자 수()로 카운팅변수()를 저장하는 안읽음수저장 단계(S34);
를 포함하는 그룹 채팅 메시지 읽지 않은 사람 수 연산 방법.
In the group chat message unread number calculation method which consists of a program executed by the calculation processing means containing a computer,
The calculation processing means determines each message based on the index indicating the number of the last message read by each participant. Number of participants who did not read the first message ( ( Is a natural number)),
How to calculate the number of people who have not read the group chat message
The calculation processing means Index of last message read by second participant ( Message index checking step (S10) of confirming;
The calculation processing means Index of last message read by second participant ( Sorting step (S20) of sorting); And
Each of the calculation processing means arranged in the alignment step S20 Index of last message read by second participant ( ) Number of participants who did not read the first message ( Calculating unread count step (S30);
Including
The unread calculation step (S30) is
Each direction from the middle message to the last message direction (backflow direction of time) Number of participants who did not read the first message ( ), The counting variable ( ) The number of participants who have not read the previous message before the intermediate message ), And the message index ( ) The intermediate message index ( Storing an initial value (S31);
Index of the last message read by the first highest participant ( ) And the message index ( ) Is different, Keep the value, Index of the last message read by the first highest participant ( ) And the message index ( ) Is the same, To the value Index of last message read by second participant ( )Wow Index of the last message read by the first highest participant ( ) With the same number of participants ( ) ) Counting variable update step (S33); And
Number of participants who did not read the first message ( Counting variable () Storing unread count step (S34);
Group chat message that includes the unread count operation method.
A computer-readable recording medium having stored thereon a program for implementing the method of calculating a group chat message unread person number according to any one of claims 1 to 3, 5 and 7 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170173501A KR101987171B1 (en) | 2017-12-15 | 2017-12-15 | Method for calculate the number of unread people in a group chat message, and recording medium storing program for executing the same, and recording medium storing program for executing the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170173501A KR101987171B1 (en) | 2017-12-15 | 2017-12-15 | Method for calculate the number of unread people in a group chat message, and recording medium storing program for executing the same, and recording medium storing program for executing the same |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101987171B1 true KR101987171B1 (en) | 2019-09-30 |
Family
ID=68098331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170173501A KR101987171B1 (en) | 2017-12-15 | 2017-12-15 | Method for calculate the number of unread people in a group chat message, and recording medium storing program for executing the same, and recording medium storing program for executing the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101987171B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102658902B1 (en) | 2023-12-29 | 2024-04-18 | 주식회사 티맥스와플 | Method and apparatus for determining message read status of group chat |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101335065B1 (en) * | 2011-09-22 | 2013-12-03 | (주)카카오 | Conversational message service operating method for providing acknowledgement |
KR101744071B1 (en) | 2016-04-07 | 2017-06-07 | 주식회사 파트너 | Method for identifying read status of message and user device and server implementing the same |
-
2017
- 2017-12-15 KR KR1020170173501A patent/KR101987171B1/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101335065B1 (en) * | 2011-09-22 | 2013-12-03 | (주)카카오 | Conversational message service operating method for providing acknowledgement |
KR101744071B1 (en) | 2016-04-07 | 2017-06-07 | 주식회사 파트너 | Method for identifying read status of message and user device and server implementing the same |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102658902B1 (en) | 2023-12-29 | 2024-04-18 | 주식회사 티맥스와플 | Method and apparatus for determining message read status of group chat |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10129199B2 (en) | Ensuring that a composed message is being sent to the appropriate recipient | |
US10491644B2 (en) | Systems and methods to present responses to an event in a social network | |
US9338403B2 (en) | Persistent conversations | |
US20150264146A1 (en) | Communications responsive to recipient sentiment | |
US10701022B2 (en) | Initiating social interaction based on E-mail content | |
US9350692B1 (en) | Integration of email and persistent conversations | |
US20140244652A1 (en) | Communication Aggregator | |
KR102081229B1 (en) | Apparatus and method for outputting image according to text input in real time | |
US20210117929A1 (en) | Generating and adapting an agenda for a communication session | |
US10200338B2 (en) | Integrating communication modes in persistent conversations | |
CN113760145B (en) | Interaction method, device, electronic equipment and storage medium | |
JP2013182560A (en) | Human relationship estimation system | |
JP7202386B2 (en) | Method and system for providing multiple profiles | |
CN112035030A (en) | Information display method and device and electronic equipment | |
US11076038B2 (en) | Reviewing message-based communications via a keyboard application | |
US20110246631A1 (en) | Assigning and removing connections utilizing online event tracking | |
KR101987171B1 (en) | Method for calculate the number of unread people in a group chat message, and recording medium storing program for executing the same, and recording medium storing program for executing the same | |
CN110024353B (en) | Cognitive resource selection | |
US9313283B2 (en) | Dynamic social networking content | |
US11025568B2 (en) | Customized response messages | |
CN108696625A (en) | Store message | |
CN110048862B (en) | Message display method and device and electronic equipment | |
CN112449243B (en) | Video processing method, device, equipment and storage medium | |
EP2611082A1 (en) | Method for instant communicating between instant messaging clients | |
US20140215392A1 (en) | Connections identification |