US 11,929,843 B1
Device and method for retrieving previous chat history of chat room
Seungwon Lee, Seoul (KR); Haneol Lee, Seoul (KR); Kyungsun Kang, Seoul (KR); Yongkook Park, Seoul (KR); and Hwanyeol Choi, Seoul (KR)
Assigned to SAMSUNG SDS CO., LTD., Seoul (KR)
Filed by SAMSUNG SDS CO., LTD., Seoul (KR)
Filed on Jul. 11, 2023, as Appl. No. 18/350,106.
Claims priority of application No. 10-2022-0116285 (KR), filed on Sep. 15, 2022.
Int. Cl. H04L 12/18 (2006.01)
CPC H04L 12/1831 (2013.01) 18 Claims
OG exemplary drawing
 
1. A device for retrieving chat history from a chat room, the device comprising:
one or more processors;
memory storing instructions configured to cause the one or more processors to:
generate a chat history retrieval request, the chat history retrieval request including an ID of a second user to which a chat-invitation message from a first user participating in the chat room is directed, and an ID of the chat room;
transmit the chat history retrieval request to a server, and receive, from the server, the chat history, the chat history including previous chats of the chat room, wherein each previous chat includes a historical chat transmission time of the chat, a user ID, and a chat content, and wherein the previous chats are included in the chat history based on having respective historical chat transmission times that are after a retrieval start point, the retrieval start point being a time controlling which previous chats of the chat room the second user is able to retrieve based on the historical chat transmission times of the previous chats; and
cause a second device operated by the second user to display the received chat history in a chat window of the second device;
wherein the chat-invitation message includes an ID of the first user, an ID of the second user, an ID of the chat room, a transmission time of the chat-invitation message, and a previous-message time-amount according to which the retrieval start point is to be determined by default; and
wherein the retrieval start point is a time point corresponding to a difference between the time amount and the transmission time of the chat-invitation message.