Method, computer device, and program for transmitting messages using CDN
The use of a CDN to manage and deliver messages in chat rooms addresses the challenge of scaling message transmission, ensuring efficient broadcasting and cost-effective infrastructure for large user bases.
Patent Information
- Application Number
- JP2025540034
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-01-16
- Filing Date
- 2023-10-24
- Publication Date
- 2026-01-08
AI Technical Summary
Existing message transmission methods struggle to scale efficiently for large-scale message broadcasting, particularly in chat rooms with a large number of users, requiring an infrastructure that can accommodate user growth and process messages effectively.
A method utilizing a content delivery network (CDN) to manage and deliver messages, including receiving message management address information, downloading messages from a CDN edge server, and switching transmission methods based on chat room type and user count, using either web protocol or CDN-based transmission.
Enables efficient message broadcasting in chat rooms with a large number of users by adapting the transmission method to user scale, reducing latency and operational costs through CDN infrastructure.
Smart Images

Figure 2026500820000001_ABST
Abstract
Description
[Technical Field]
[0001] The following description relates to techniques for conveying messages between users. [Background technology]
[0002] Social platforms such as social networking services (SNS) and messengers allow users to form relationships with each other and support interactions through messages and posts.
[0003] Based on the collaboration between users, social platforms not only provide chat but also updates, posting updates, content recommendations, and various types of information items via messages over a network such as the Internet.
[0004] Web protocol-based message transmission generally uses web sockets to send and receive messages in real time, with one-to-one connections established between the messaging server and the user.
[0005] For example, Korean Patent No. 10-1351594 (registered on January 8, 2014) discloses a technology for sending messages to a client terminal using a TCP / IP or UDP / IP-based socket.
[0006] Therefore, when transmitting messages using WebSockets, it is necessary to build an infrastructure that can establish connections according to the scale of users and process messages. Summary of the Invention [Problem to be solved by the invention]
[0007] An infrastructure that scales to accommodate users allows for large-scale message broadcasting.
[0008] Messages in chat rooms with large numbers of users can be delivered using a CDN (content delivery network).
[0009] The message transmission method for each chat room can be set taking into consideration the type of chat room and the number of users.
[0010] When the number of users in a chat room increases dramatically, the method of message transmission can be switched to a route using a CDN. [Means for solving the problem]
[0011] Provided is a method executed by a computer device, the computer device including at least one processor configured to execute computer-readable instructions contained in a memory, the method including the steps of receiving, by the at least one processor, message management address information for a chat room from a server; downloading, by the at least one processor, messages for the chat room from a content delivery network (CDN) edge server using the message management address information; and displaying, by the at least one processor, the downloaded messages in the chat room.
[0012] According to one aspect, receiving the message management address information may include receiving a message manifest file (MMF) URL and a message push point (MPP) URL for the chat room.
[0013] In another aspect, the step of downloading the chat room messages may include periodically checking whether the chat room messages in the CDN edge server have been updated through the message management address information, and downloading the updated messages.
[0014] In another aspect, the chat room messages may be stored as a message block file (MBF) that compiles messages for a predetermined time period or a predetermined number of messages, and the step of downloading the chat room messages may include downloading the MBF from the CDN edge server using the message management address information.
[0015] In another aspect, the server may generate an MBF that aggregates messages in the chat room over a predetermined time period or in units of a predetermined number of messages, update the MMF related to the MBF, and then push the updated MMF and MBF to the CDN edge server.
[0016] In another aspect, the step of downloading the chat room messages may include the steps of periodically downloading the MMF from the CDN edge server, and, if a new MBF is confirmed from the MMF, downloading the new MBF from the CDN edge server.
[0017] In another aspect, the method further includes a step of setting a message transmission method for each chat room by the at least one processor, and the message transmission method may include a web protocol-based message transmission method and a message transmission method using a CDN.
[0018] In another aspect, the step of setting the message transmission method may include a step of setting the message transmission method based on the type of the chat room or the number of users participating as members of the chat room.
[0019] Furthermore, according to another aspect, the method may further include a step of monitoring, by the at least one processor, the number of users participating as members of the chat room as the size of the chat room, and a step of switching, by the at least one processor, a message transmission method in the chat room to one of a web protocol-based message transmission method and a message transmission method using a CDN depending on the number of users.
[0020] A method executed by a computer device, the computer device including at least one processor configured to execute computer-readable instructions contained in a memory, the method including the steps of: receiving, by the at least one processor, messages sent from a client via a chat room; and pushing, by the at least one processor, the chat room messages to a content delivery network (CDN) edge server, wherein the client downloads and displays the chat room messages from the CDN edge server.
[0021] A program recorded on a non-transitory computer-readable recording medium is provided to cause the computer device to execute the method.
[0022] A computer device is provided, the computer device including at least one processor configured to execute computer-readable instructions contained in a memory, the at least one processor performing the following processes: receiving message management address information for a chat room from a server; downloading messages for the chat room from a CDN edge server using the message management address information; and displaying the downloaded messages in the chat room. [Brief explanation of the drawings]
[0023] [Figure 1] FIG. 1 illustrates an example of a network environment in accordance with an embodiment of the present invention. [Figure 2] FIG. 1 is a block diagram illustrating an example of a computing device according to an embodiment of the present invention. [Figure 3] 1 is a flowchart illustrating an example method that can be performed by a computing device in accordance with an embodiment of the present invention. [Figure 4] FIG. 10 is a diagram showing an example of message management address information for a chat room in one embodiment of the present invention. [Figure 5] 1 is an exemplary diagram illustrating a message delivery process using a CDN according to an embodiment of the present invention. [Figure 6] 1 is an exemplary diagram illustrating a message delivery process using a CDN according to an embodiment of the present invention. [Figure 7] 1 is an exemplary diagram illustrating a message delivery process using a CDN according to an embodiment of the present invention. [Figure 8] FIG. 10 is a diagram illustrating an example of setting a message transmission method for each chat room in an embodiment of the present invention. [Figure 9] 10 is an exemplary diagram illustrating a process of switching a message transmission method according to the size of a chat room in an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0024] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0025] TECHNICAL FIELD Embodiments of the present invention relate to a technique for transmitting messages between users on a social platform.
[0026] Embodiments including those specifically disclosed herein can broadcast messages in a chat room on a social platform to users included in the chat room via a CDN.
[0027] A message delivery system according to an embodiment of the present invention may be realized by at least one computer device, and a message delivery method according to an embodiment of the present invention may be executed by at least one computer device included in the message delivery system. In this case, a computer program according to an embodiment of the present invention may be installed and executed in the computer device, and the computer device may execute the message delivery method according to an embodiment of the present invention under the control of the executed computer program. The computer program may be combined with the computer device and recorded on a computer-readable recording medium to cause the computer to execute the message delivery method.
[0028] FIG. 1 is a diagram showing an example of a network environment in one embodiment of the present invention. The network environment in FIG. 1 shows an example including multiple electronic devices 110, 120, 130, and 140, multiple servers 150 and 160, and a network 170. FIG. 1 is merely an example for explaining the invention, and the number of electronic devices and the number of servers are not limited to those shown in FIG. 1. Furthermore, the network environment in FIG. 1 is merely an example of an environment applicable to this embodiment, and environments applicable to this embodiment are not limited to the network environment in FIG. 1.
[0029] The electronic devices 110, 120, 130, and 140 may be fixed or mobile terminals implemented by computers. Examples of the electronic devices 110, 120, 130, and 140 include smartphones, mobile phones, navigation systems, personal computers (PCs), notebook PCs, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), and tablets. While FIG. 1 illustrates a smartphone as an example of the electronic device 110, in embodiments of the present invention, the electronic device 110 may represent one of a variety of physical computer systems capable of communicating with other electronic devices 120, 130, and 140 and / or servers 150 and 160 via a network 170 using a substantially wireless or wired communication method.
[0030] The communication method is not limited, and may include not only a communication method utilizing a communication network (for example, a mobile communication network, a wired Internet, a wireless Internet, or a broadcast network) that may be included in network 170, but also short-range wireless communication between devices. For example, network 170 may include any one or more of a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), a broadband network (BBN), the Internet, and the like. Furthermore, network 170 may include any one or more of a network topology including, but not limited to, a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or hierarchical network, and the like.
[0031] Each of the servers 150, 160 may be realized by one or more computer devices that communicate with the multiple electronic devices 110, 120, 130, 140 via the network 170 to provide instructions, code, files, content, services, etc. For example, the server 150 may be a system that provides services (such as a messenger service or a live commerce service) to the multiple electronic devices 110, 120, 130, 140 connected via the network 170.
[0032] 2 is a block diagram showing an example of a computer device according to an embodiment of the present invention. Each of the electronic devices 110, 120, 130, and 140 and each of the servers 150 and 160 described above can be realized by a computer device 200 shown in FIG.
[0033] As shown in FIG. 2 , the computer device 200 may include a memory 210, a processor 220, a communication interface 230, and an input / output interface 240. The memory 210 is a computer-readable recording medium and may include random access memory (RAM), read-only memory (ROM), and a non-transitory mass storage device such as a disk drive. The non-transitory mass storage device such as a ROM or a disk drive may be included in the computer device 200 as a separate non-transitory storage device distinct from the memory 210. The memory 210 may also store an operating system and at least one program code. Such software components may be loaded into the memory 210 from a computer-readable recording medium separate from the memory 210. Such separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, or a memory card. In another embodiment, the software components may be loaded into the memory 210 through a communication interface 230, which is not a computer-readable recording medium. For example, the software components may be loaded into the memory 210 of the computer device 200 based on a computer program installed by a file received over the network 170 .
[0034] Processor 220 may be configured to process computer program instructions by performing basic arithmetic, logic, and input / output operations. The instructions may be provided to processor 220 by memory 210 or by communication interface 230. For example, processor 220 may be configured to execute instructions received according to program code stored in a storage device such as memory 210.
[0035] The communication interface 230 may provide a function for the computer device 200 to communicate with other devices (e.g., the above-mentioned storage device) via the network 170. For example, requests, instructions, data, files, etc. generated by the processor 220 of the computer device 200 in accordance with program code stored in a storage device such as the memory 210 may be transmitted to other devices via the network 170 under the control of the communication interface 230. Conversely, signals, instructions, data, files, etc. from other devices may be received by the computer device 200 via the communication interface 230 of the computer device 200 via the network 170. The signals, instructions, data, etc. received via the communication interface 230 may be transmitted to the processor 220 or the memory 210, and the files, etc. may be recorded on a storage medium (e.g., the above-mentioned non-transitory storage device) that the computer device 200 may further include.
[0036] The input / output interface 240 may be a means for interfacing with the input / output device 250. For example, the input device may include a device such as a microphone, keyboard, or mouse, and the output device may include a device such as a display or speaker. As another example, the input / output interface 240 may be a means for interfacing with a device that integrates input and output functions, such as a touch screen. The input / output device 250 may be configured as an integral part of the computer device 200.
[0037] Also, in other embodiments, computing device 200 may include fewer or more components than those shown in Figure 2. However, generally, prior art components need not be explicitly shown in the figures. For example, computing device 200 may be implemented to include at least some of input / output devices 250 described above, and may further include other components such as a transceiver, a database, etc.
[0038] Specific embodiments of a method and apparatus for transmitting messages using a CDN are described below.
[0039] In this specification, a social platform may refer not only to a social network service but also to a service platform that provides various services utilizing resources such as user profile information and friendships in the social network service.
[0040] In the following embodiment, a messenger will be described as a typical example of a social platform.
[0041] In recent years, services based on chat between users, such as live broadcasts, games, and open chats, have become popular among messengers.
[0042] The computer device 200 according to the present embodiment may provide a messenger service to a client by connecting to a dedicated application installed on the client or a web / mobile site associated with the computer device 200. A computer-implemented message delivery system may be configured in the computer device 200. For example, the message delivery system may be implemented in the form of an independently operating program, or may be configured as an in-app version of a specific application and be operable within the specific application.
[0043] The processor 220 of the computer device 200 may be realized by components for executing the following message transmission method. Depending on the embodiment, the components of the processor 220 may or may not be included in the processor 220. Also, depending on the embodiment, the components of the processor 220 may be selectively separated from each other or combined together to realize the functions of the processor 220.
[0044] Such processor 220 and components of processor 220 may control computer device 200 to perform the steps included in the following message passing method. For example, processor 220 and components of processor 220 may be implemented to execute instructions from operating system code and at least one program code contained in memory 210.
[0045] Here, the components of the processor 220 may be manifestations of different functions that are performed by the processor 220 according to instructions provided by program code stored in the computer device 200.
[0046] The processor 220 may read necessary instructions from the memory 210, which has been loaded with instructions related to the control of the computer device 200. In this case, the read instructions may include instructions for controlling the processor 220 to perform the steps described below.
[0047] The steps involved in the message transmission methods described below may be performed in a different order than that shown in the figures, some steps may be omitted, or additional processes may be included.
[0048] The steps involved in the message passing scheme may be performed on the client side, although in some embodiments at least some of the steps may be performed on the server 150 side.
[0049] FIG. 3 is a flowchart illustrating an example method that may be performed by a computing device in accordance with an embodiment of the present invention.
[0050] 3, in step 310, processor 220 may receive, from a messaging server, message management address information related to a chat room that the user will participate in, in response to a user's request to participate in a specific chat room among chat rooms in the messenger. Processor 220 may provide information related to the chat room selected by the user (e.g., a chat room ID) to the messaging server, and the messaging server may then provide the client with URL (uniform resource locator) information, which is the file location where messages in the chat room are stored, as the message management address information related to the chat room.
[0051] In step 320, the processor 220 may download updated messages to the CDN edge server using the message management address information received from the messaging server for the chat room that the user has joined. The processor 220 may periodically check whether messages in the CDN edge server have been updated via the message URL of the chat room, and may download the updated messages of the chat room.
[0052] In step 330, the processor 220 may display the messages downloaded from the CDN edge server in the chat room. The processor 220 may download updated messages to the CDN edge server and output the messages in the chat room by providing a low-latency chat function rather than real-time chat function using a CDN-based message transmission method.
[0053] In this embodiment, the CDN edge server acts as a proxy between the client and a messaging server (e.g., server 150), which is the original server storing chat room messages. In this case, the messenger service provider may operate the CDN edge server itself, or may outsource message delivery to a CDN provider and provide messages to clients.
[0054] FIG. 4 is a diagram showing an example of message management address information for a chat room in one embodiment of the present invention.
[0055] Referring to FIG. 4, a messenger client 400 may include multiple chat rooms 401, and in this case, the chat rooms 401 may include not only general chat rooms based on user collaboration relationships, but also public chat rooms in which many users participate, such as live broadcasts, games, and open chats.
[0056] The messaging server may define different message management address information 410 as independent identification information for each chat room 401 of the client 400 for message handling in a message delivery method using a CDN.
[0057] Message management address information 410 may include a connection authentication URL for entering chat room 401, a message manifest file (MMF) URL for chat room 401, a message block file (MBF) URL for chat room 401, a message push point (MPP) URL for chat room 401, and the like.
[0058] A message manifest file (MMF) URL refers to a URL for a file containing metadata for a group of message block files (MBFs), a message block file (MBF) URL refers to a URL for a file that records messages, which are actual content, in blocks, and a message push point (MPP) URL refers to a messaging server URL for sending messages from a client to the messaging server. Each chat room may have a single MPP URL and a single MMF URL. Furthermore, messages in each chat room are recorded in one or more message blocks, and each chat room may have one or more MBF URLs.
[0059] 5 to 7 are exemplary diagrams illustrating a message delivery process using a CDN according to an embodiment of the present invention.
[0060] 5, when a user wishes to join chat room 1 of chat rooms 401, client 400 may transmit a user participation request for chat room 1 to messaging server 500. The user participation request may include identification information of chat room 1 and identification information of the user.
[0061] When messaging server 500 receives a user participation request for chat room 1 from client 400, it performs user authentication for chat room 1, and if the authentication is successful, it can provide client 400 with the MMF URL and MPP URL of chat room 1 as message management address information for chat room 1.
[0062] FIG. 6 illustrates the process by which a user participates in chat in chat room 1, and FIG. 7 illustrates the process by which a user consumes chat in chat room 1.
[0063] Referring to FIG. 6, when a user requests to send a message created in chat room 1, client 400 can transmit the message to messaging server 500 using an MPP URL.
[0064] Messaging server 500 may receive messages for chat room 1 from client 400 via the MPP URL and store the received messages in a currently working MBF (e.g., MBF-No3) within chat room 1's MMF.
[0065] When the MBF currently being created meets certain conditions, the messaging server 500 may add the MBF to the MMF as a completed file. The messaging server 500 may collect messages received from the client 400 via the MPP URL into the MBF. For example, the messaging server 500 may collect messages received from the client 400 in blocks in each MBF according to predefined criteria (e.g., a predefined event at a predetermined interval), such as when the creation time has passed a predetermined time (e.g., 100 ms) or when a predetermined number of messages has been reached.
[0066] The messaging server 500 may update the MMF by adding information about the completed MBF to the MMF. Referring to Figure 7, the messaging server 500 may push the MMF and MBF for the message file of chat room 1 to the CDN edge server 700. When a new MBF is generated after a predetermined time has elapsed, as a predefined event, the messaging server 500 may update the MMF and simultaneously push the updated MMF and the newly created MBF to the CDN edge server 700.
[0067] As shown in FIG. 7, the client 400 may periodically download the MMF URL from the CDN edge server 700 to check whether a new MBF has been added during the configuration of the MMF.
[0068] Client 400 may download MBF-No1 and MBF-No2 in that order via the MMF for the message file of chat room 1. After downloading MBF-No2, client 400 may download the MMF URL again after a predetermined time has elapsed and confirm that MBF-No3 has been added during MMF configuration. When client 400 confirms the addition of MBF-No3 via the MMF, it may download MBF-No3 and output the message included in MBF-No3 to chat room 1.
[0069] In this embodiment, a method of transmitting messages using a CDN is applied in which the client 400 himself downloads the MBF based on the MMF, thereby enabling a large number of messages to be broadcast effectively, thereby making it possible to build infrastructure in line with the scale of users and to streamline operating costs.
[0070] FIG. 8 is a diagram showing an example of setting a message transmission method for each chat room in one embodiment of the present invention.
[0071] The processor 220 may set a message transmission method for each chat room in the messenger. For example, the processor 220 may determine a message transmission method for each chat room based on the type of the chat room or the number of users participating in the chat room as members.
[0072] The message delivery method may include the above-mentioned message delivery method using CDN, and a method based on a web protocol, in which a message is delivered in real time using a web socket with a one-to-one connection established between the messaging server and the client.
[0073] The processor 220 may send and receive messages in the chat room according to a message transmission method set for the chat room.
[0074] For example, chat rooms can be categorized into general chat rooms based on user collaboration, and public chat rooms in which many users participate, such as live broadcasts, games, and open chats.
[0075] As shown in FIG. 8, the processor 220 may set a message transmission method using a web socket for chat room A and chat room C, which are general chat rooms among chat rooms in the messenger, while setting a message transmission method using a CDN for chat room B, which is a public chat room.
[0076] In other words, chat rooms A and C transmit messages in real time through a one-to-one connection using web sockets, while chat room B transmits messages with a certain amount of delay using a CDN.
[0077] FIG. 9 is an exemplary diagram illustrating a process of switching a message transmission method according to the size of a chat room in an embodiment of the present invention.
[0078] The processor 220 can switch the message transmission method to a routed method using a CDN when the number of users in the chat room increases rapidly, rather than being preset.
[0079] Referring to FIG. 9, in step 901, the processor 220 may periodically monitor the number of users participating in a chat room in which a user participates, and at this time, determine whether the number of users in the chat room exceeds a predetermined number.
[0080] In step 902, the processor 220 may send and receive messages in the chat room in real time using a transmission method using WebSockets if the chat room maintains a number of users below a predetermined number.
[0081] In step 903, if the number of users in the chat room exceeds a predetermined number, processor 220 may send and receive messages in the chat room using a CDN-based transmission method. In the case of a large chat room with more than a predetermined number of users, processor 220 may periodically download message files from a CDN edge server and output them to the chat room.
[0082] The processor 220 basically applies a message transmission method using WebSockets to all chat rooms, but if the number of users participating in a chat room exceeds a predetermined number or increases by more than a predetermined percentage, the processor 220 can automatically switch the message transmission method to a method using a CDN.
[0083] The process of switching the message delivery method depending on the user size of the chat room may be performed on the client side, but in some embodiments, it may also be performed on the server 150 side.
[0084] In the message transmission method using a CDN according to this embodiment, messages created by all users participating in a chat room can be aggregated through a CDN cache and broadcast to all users in the chat room.
[0085] As described above, according to the embodiment of the present invention, it is possible to broadcast large-scale messages through infrastructure suited to the scale of users, and in particular, it is possible to transmit messages in chat rooms with a large number of users using a CDN. Furthermore, according to the embodiment of the present invention, it is possible to set a message transmission method for each chat room taking into consideration the type of chat room and the scale of users, and to switch the message transmission method to a routing method using a CDN when the number of users in a chat room suddenly increases.
[0086] The above-described devices may be implemented using hardware components, software components, and / or a combination of hardware and software components. For example, the devices and components described in the embodiments may be implemented using one or more general-purpose or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or various devices capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the OS. The processing device may also access, record, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, a single processing device may be described. However, those skilled in the art will recognize that a processing device may include multiple processing elements and / or multiple types of processing elements. For example, a processing device may include multiple processors or one processor and one controller. Other processing configurations, such as parallel processors, may also be provided.
[0087] Software may include computer programs, code, instructions, or a combination of one or more of these, which may configure a processing device to operate as intended or may independently or collectively instruct the processing device. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device to be interpreted by the processing device or to provide instructions or data to the processing device. The software may be distributed, stored, or executed in a distributed manner in computer systems connected by a network. The software and data may be stored on one or more computer-readable storage media.
[0088] The method according to the embodiment may be implemented in the form of program instructions executable by various computer means and recorded on a computer-readable medium. In this case, the medium may continuously record the computer-executable program or may temporarily record the program for execution or download. The medium may also be various recording or storage means in the form of a single or multiple pieces of hardware, and may be a medium directly connected to a computer system or distributed over a network. Examples of media include magnetic media such as hard disks, floppy disks, and magnetic tapes; optical media such as CD-ROMs and DVDs; magneto-optical media such as floptical disks; and media configured to record program instructions, such as ROMs, RAMs, and flash memories. Other examples of media include recording media or storage media managed by application stores where applications are sold, or by sites or servers where various software is provided or sold.
[0089] Although the embodiments have been described above based on limited examples and drawings, those skilled in the art will recognize that various modifications and variations may be made from the above description. For example, the described techniques may be performed in an order different from that described, or the described components of the systems, structures, devices, circuits, etc. may be combined or combined in a manner different from that described, or other components or equivalents may be substituted, while still achieving similar and suitable results.
[0090] Therefore, different embodiments are within the scope of the appended claims, provided that they are equivalent to the claims.
Claims
1. 1. A method implemented by a computer device, comprising: the computing device includes at least one processor configured to execute computer-readable instructions contained in a memory; The method comprises: receiving, by the at least one processor, chat room message management address information from a server; downloading, by the at least one processor, messages for the chat room from a content delivery network (CDN) edge server using the message management address information; displaying, by the at least one processor, the downloaded messages in the chat room; A method comprising:
2. The step of receiving message management address information includes: receiving a message manifest file (MMF) URL and a message push point (MPP) URL for the chat room; The method of claim 1 , comprising:
3. The step of downloading the chat room messages includes: periodically checking whether messages in the chat room in the content delivery network (CDN) edge server have been updated through the message management address information, and downloading the updated messages; The method of claim 1 , comprising:
4. The messages in the chat room are stored as a message block file (MBF) that includes messages for a predetermined time period or a predetermined number of messages, The step of downloading messages in the chat room includes: downloading the message block file (MBF) from the content delivery network (CDN) edge server using the message management address information; The method of claim 1 , comprising:
5. The server generates a message block file (MBF) that collects messages in the chat room for a predetermined time period or in units of a predetermined number of messages, updating a message manifest file (MMF) related to the message block file (MBF), and then pushing the updated message manifest file (MMF) and the message block file (MBF) to the content delivery network (CDN) edge server; The method of claim 1 ,
6. The step of downloading messages in the chat room includes: periodically downloading the message manifest file (MMF) from the content delivery network (CDN) edge server; downloading the new message block file (MBF) from the content delivery network (CDN) edge server if a new message block file (MBF) is identified from the message manifest file (MMF); The method of claim 5 , comprising:
7. The method comprises: further comprising the step of setting a message transmission method for each of the chat rooms by the at least one processor; The message transmission method includes a message transmission method based on a web protocol and a message transmission method using a content delivery network (CDN). The method of claim 1 ,
8. The step of setting the message transmission method includes: Setting the message transmission method based on the type of the chat room or the number of users participating as members in the chat room. The method of claim 7, comprising:
9. monitoring, by the at least one processor, the number of users participating as members of the chat room as a size of the chat room; switching, by the at least one processor, a message transmission method in the chat room to one of a web protocol-based message transmission method and a message transmission method using a content delivery network (CDN) according to the number of users; The method of claim 1 further comprising:
10. 1. A method implemented by a computer device, comprising: the computing device includes at least one processor configured to execute computer-readable instructions contained in a memory; The method comprises: receiving, by the at least one processor, a message sent from a client via a chat room; pushing, by the at least one processor, messages in the chat room to a content delivery network (CDN) edge server; Including, The client downloads and displays the chat room messages from the content delivery network (CDN) edge server. A method characterized by:
11. A program recorded on a non-transitory computer-readable recording medium for causing the computer device to execute the method according to any one of claims 1 to 10.
12. 1. A computer device comprising: at least one processor configured to execute computer-readable instructions contained in a memory; The at least one processor receiving message management address information for the chat room from the server; downloading messages of the chat room from a content delivery network (CDN) edge server using the message management address information; displaying the downloaded message in the chat room; A computer device that processes
13. The at least one processor receiving a message manifest file (MMF) URL and a message push point (MPP) URL for the chat room; 13. The computer device of claim 12.
14. The at least one processor periodically checking whether messages in the chat room in the content delivery network (CDN) edge server have been updated through the message management address information, and downloading the updated messages; 13. The computer device of claim 12.
15. The messages in the chat room are stored as a message block file (MBF) that includes messages for a predetermined time period or a predetermined number of messages, The at least one processor downloading the message block file (MBF) from the content delivery network (CDN) edge server using the message management address information; 13. The computer device of claim 12.
16. The server generates a message block file (MBF) that collects messages in the chat room for a predetermined time period or in units of a predetermined number of messages, updating a message manifest file (MMF) related to the message block file (MBF), and then pushing the updated message manifest file (MMF) and the message block file (MBF) to the content delivery network (CDN) edge server; 13. The computer device of claim 12.
17. The at least one processor periodically downloading the message manifest file (MMF) from the content delivery network (CDN) edge server; downloading the new message block file (MBF) from the content delivery network (CDN) edge server if a new message block file (MBF) is identified from the message manifest file (MMF); 17. The computer device of claim 16.
18. The at least one processor A message transmission method is set for each of the chat rooms, The message transmission method includes a message transmission method based on a web protocol and a message transmission method using a content delivery network (CDN).
13. The computer device of claim 12.
19. The at least one processor Setting a method for transmitting the message based on the type of the chat room or the number of users participating as members in the chat room.
20. The computer device of claim 18,
20. The at least one processor monitoring the number of users participating as members in the chat room as the size of the chat room; Switching the message transmission method in the chat room to one of a web protocol-based message transmission method and a content delivery network (CDN)-based message transmission method according to the number of users.
13. The computer device of claim 12.
Citation Information
Patent Citations
Method and device for opening video picture in chat room, electronic equipment and storage medium
CN110493610A
Consistency management of cached content
JP2010530103A
System and method for multi-user digital interactive experience
US20200351562A1
Method and apparatus for opening video screen in chat room, and electronic device and storage medium
US20220150085A1