Method and device for providing private chat service
The method and device for the private chat service address the challenge of real-time message processing and review by using a private chat relay server to convert and transmit artist messages, enhancing communication speed and efficiency between artists and fans on expanding fan platforms.
Patent Information
- Application Number
- PCT/KR2024/005186
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-28
- Filing Date
- 2024-04-17
- Publication Date
- 2024-10-24
AI Technical Summary
As the entertainment industry grows and social network services expand, it becomes challenging to process messages in real time between artists and multiple fans, and to review artist messages promptly, due to the increasing number of users and notifications across global fan platforms.
A method and device for providing a private chat service that includes a communication module, memory, and a processor to manage message transmission and review, where artist messages are sent to a reviewer terminal for approval before being converted and transmitted to fan terminals, utilizing a private chat relay server to store and convert messages into personalized private messages.
This solution enhances the speed of message sending and receiving between artists and fans, provides a private message for each user, and enables real-time review of artist messages, improving the efficiency of communication on fan platforms.
Smart Images

Figure KR2024005186_24102024_PF_FP_ABST
Abstract
Description
Method and device for providing private chat service
[0001] The present invention relates to a method and device for providing a private chat service, and more particularly, to a method and device for providing a private chat service for increasing the speed of message transmission and reception between an artist and a plurality of fans following the artist, and for performing a review of artist messages.
[0002] The recent growth of the entertainment industry and advancements in IT technology have led to a rise in social networking services and fan platforms that facilitate communication between celebrities, artists, and fans. These social networking services can serve as fan communities. For example, they can offer comprehensive features such as communication with celebrities and artists, live broadcasts, and fan community functions.
[0003] Furthermore, these fan platforms are expanding their functionality beyond traditional communities, encompassing a wide range of activities, including selling and purchasing merchandise, ticketing concerts and events, providing original content, and implementing non-fungible tokens (NFTs).
[0004] As fan platforms expand their functionality, the notifications and messages provided to users can also vary. For example, if artists can create and post articles, messages, videos, and more directly to the community, users can receive immediate push notifications when artists post or comment, or receive notifications about various benefits for membership subscribers. Furthermore, notifications and messages with different content can be provided depending on the functionality.
[0005] Not only are the functions of fan platforms expanding, but the globalization of the entertainment market is also leading to a rapid increase in the number of artists, communities, and users on fan platforms. Furthermore, as the influence of the Korean Wave expands user base to a global scale, it becomes difficult to immediately process messages between artists and their numerous fans, and it is difficult to review artists' replies to numerous fan messages in real time.
[0006] A method and device for providing a private chat service according to an embodiment of the present invention are for reviewing artist messages in a chat between an artist and a plurality of fans.
[0007] In addition, the method and device for providing a private chat service according to an embodiment of the present invention is intended to increase the speed of message transmission and reception between an artist and a number of fans.
[0008] In addition, the method and device for providing a private chat service according to an embodiment of the present invention are for providing private messages for each user.
[0009] However, the technical task that this embodiment seeks to achieve is not limited to the technical task described above, and other technical tasks may exist.
[0010] As a technical means for achieving the above-described technical task, a method for providing a private chat service according to an embodiment of the present invention includes the steps of receiving an artist message for transmission from an artist terminal to the fan terminal, transmitting the artist message to a preset reviewer terminal, waiting for transmission of the artist message to the fan terminal until the reviewer terminal approves transmission of the artist message, storing the artist message in the private chat relay server when the reviewer terminal approves transmission of the artist message, and converting the artist message stored in the private chat relay server into a private message and transmitting the same to the fan terminal, wherein the private message means a message in which a specific word or keyword of the message is converted according to a recipient.
[0011] In addition, a private chat method according to an embodiment of the present invention includes a step of displaying a message input area and a message display area for using a private chat on an artist terminal, a step of creating a review request message display area and displaying the artist message in the review request message display area when an artist message input using the message input area is sent, a step of transmitting the artist message to a preset reviewer terminal, a step of converting the artist message into a private message and sending it to the fan terminal when the reviewer terminal approves sending of the artist message, and a step of moving the artist message displayed in the review request message display area to the message display area and displaying it when the artist message is sent to the fan terminal, wherein the private message means a message in which a specific word or keyword of the message is converted according to a recipient.
[0012] In addition, a method for providing a private chat service according to an embodiment of the present invention includes a communication module for transmitting and receiving information between an artist terminal, a reviewer terminal, a fan terminal, and the private chat service relay server, a memory for storing a private chat program, a DM-specific database for storing messages by artist, a plurality of individual databases allocated to each user and storing messages by user, and a processor for executing the private chat program stored in the memory, wherein the processor receives an artist message for transmission from an artist terminal to the fan terminal, transmits the artist message to a preset reviewer terminal, and waits for transmission of the artist message to the fan terminal until the reviewer terminal approves transmission of the artist message, and when the reviewer terminal approves transmission of the artist message, stores the artist message in the private chat relay server, converts the artist message stored in the private chat relay server into a private message and transmits it to the fan terminal, and the private message means a message in which a specific word or keyword of the message is converted according to a recipient.
[0013] A method and device for providing a private chat service according to an embodiment of the present invention can provide a review function of artist messages in a chat between an artist and a number of fans.
[0014] In addition, the method and device for providing a private chat service according to an embodiment of the present invention can increase the speed of message transmission and reception between an artist and a number of fans.
[0015] In addition, the method and device for providing a private chat service according to an embodiment of the present invention can provide private messages for each user.
[0016] Figure 1 is an exemplary diagram showing a communication connection of a private chat service providing device according to an embodiment of the present invention.
[0017] Figure 2 is a configuration diagram of a private chat service relay server according to an embodiment of the present invention.
[0018] Figure 3 is a configuration diagram of a terminal according to an embodiment of the present invention.
[0019] Figure 4 is a conceptual diagram illustrating the function of a processor according to an embodiment of the present invention.
[0020] FIG. 5 is a data processing concept diagram for fan message storage according to an embodiment of the present invention.
[0021] Figure 6 is a data flow diagram for storing artist messages according to an embodiment of the present invention.
[0022] Figure 7 is a data flow diagram for private chat inquiry of a fan terminal according to an embodiment of the present invention.
[0023] Figure 8 is a data flow diagram for private chat inquiry of a fan terminal according to an embodiment of the present invention.
[0024] Figure 9 is a data flow diagram for private chat inquiry of an artist terminal according to an embodiment of the present invention.
[0025] Figure 10 is a flowchart of a fan message storage method according to an embodiment of the present invention.
[0026] Figure 11 is a flowchart of a method for storing artist messages according to an embodiment of the present invention.
[0027] Figure 12 is a flowchart of a private chat update method according to an embodiment of the present invention.
[0028] Figure 13 is a flowchart of a private chat update method according to an embodiment of the present invention.
[0029] Figure 14 is a flowchart of a private chat update method according to an embodiment of the present invention.
[0030] Figure 15 is an exemplary diagram showing a communication connection of a private chat service providing device according to an embodiment of the present invention.
[0031] Fig. 16 is an example diagram of an interface provided to an artist terminal according to an embodiment of the present invention.
[0032] Figure 17 is an example diagram of an interface provided to a reviewer terminal according to an embodiment of the present invention.
[0033] Figure 18 is a data flow diagram for artist message review according to an embodiment of the present invention.
[0034] Figure 19 is a flowchart of an artist message review method according to an embodiment of the present invention.
[0035] Figure 20 is a flowchart of an artist message review method according to an embodiment of the present invention.
[0036] Figure 21 is a conceptual diagram illustrating the function of a processor according to an embodiment of the present invention.
[0037] Figure 22 is a data flow diagram for fan message filtering according to an embodiment of the present invention.
[0038] Figure 23 is a data flow diagram for artist message filtering according to an embodiment of the present invention.
[0039] Figure 24 is a flowchart of a fan message filtering method according to an embodiment of the present invention.
[0040] Figure 25 is a flowchart of an artist message filtering method according to an embodiment of the present invention.
[0041] Below, with reference to the attached drawings, embodiments of the present invention are described in detail so that those skilled in the art can easily implement them. However, the present invention may be implemented in various different forms and is not limited to the embodiments described herein. In the drawings, irrelevant parts have been omitted for clarity of description, and similar reference numerals have been used throughout the specification to indicate similar elements.
[0042] Throughout the specification, when a part is said to be "connected" to another part, this includes not only the cases where the parts are "directly connected" but also the cases where the parts are "electrically connected" with other elements intervening. Furthermore, when a part is said to "include" a component, this does not exclude other components, but rather includes other components, unless otherwise stated.
[0043] In addition, the attached drawings are only intended to facilitate easy understanding of the embodiments disclosed in this specification, and the technical ideas disclosed in this specification are not limited by the attached drawings, and should be understood to include all modifications, equivalents, or substitutes included in the spirit and technical scope of the present invention.
[0044] Terms that include ordinal numbers, such as first, second, etc., may be used to describe various components, but the components are not limited by these terms. These terms are used solely to distinguish one component from another.
[0045] When a component is referred to as being "connected" or "connected" to another component, it should be understood that it may be directly connected or connected to that other component, but that there may be other components intervening. Conversely, when a component is referred to as being "directly connected" or "connected" to another component, it should be understood that there are no other components intervening.
[0046] Singular expressions include plural expressions unless the context clearly indicates otherwise.
[0047] In this application, terms such as “include” or “have” are intended to specify the presence of a feature, number, step, operation, component, part or combination thereof described in the specification, but should be understood not to exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts or combinations thereof.
[0048] Hereinafter, a device for providing a private chat service according to an embodiment of the present invention will be described with reference to FIG. 1.
[0049] FIG. 1 is an exemplary diagram showing a communication connection between a private chat service relay server (100) and a terminal (200) according to an embodiment of the present invention.
[0050] Referring to FIG. 1, a private chat service relay server (100) is connected to a terminal (200) via a communication network. At this time, the private chat service relay server (100) refers to a device for providing message transmission and reception between users using a fan platform, social network service, etc., and may correspond to a fan platform server, a social network service server, etc. The terminal (200) includes an artist terminal (200-1) used by celebrities, artists, etc., and a fan terminal (200-2) used by fans following celebrities, artists, etc. The terminal (200) may refer to a device that displays messages and notifications received from the private chat service relay server (100) to users.
[0051] The private chat service relay server (100) can generate and provide users with a list of messages and notifications on fan platforms, social network services, and the like. Rather than simply providing users with messages and notifications, the server can provide users with personalized notification messages and notification lists based on user-specific filtering information. Furthermore, the private chat service relay server (100) can build individual databases for each user and store messages individually. The specific configuration of the private chat service relay server (100) will be described in detail with reference to FIGS. 2 and 4 , which will be described later.
[0052] The terminal (200) may refer to any type of handheld-based wireless communication device such as a notebook, desktop, laptop, wireless communication device with portability and mobility, or a smartphone, tablet PC, etc. equipped with a web browser.
[0053] In addition, the communication network illustrated in FIG. 1 can be implemented as a wired network such as a Local Area Network (LAN), a Wide Area Network (WAN), or a Value Added Network (VAN), or any type of wireless network such as a mobile radio communication network or a satellite communication network.
[0054] Hereinafter, the structure of a private chat service relay server according to an embodiment of the present invention will be described with reference to FIG. 2.
[0055] FIG. 2 is a structural diagram illustrating the structure of a private chat service relay server (100) according to an embodiment of the present invention.
[0056] Referring to FIG. 2, the private chat service relay server (100) includes a communication module (110), a memory (120), and a processor (140), and may further include a database (130). The communication module (110) performs information transmission and reception with a terminal (200). The communication module (110) may include a device including hardware and software necessary for transmitting and receiving signals, such as control signals or data signals, using wired or wireless connections with other network devices.
[0057] The memory (120) stores a private chat program. The name of the private chat program is set for convenience of explanation, and the name itself does not limit the program's functions. The memory (120) can store at least one of the following: information and data input to the communication module (110), information and data required for functions performed by the processor (140), and data generated by the execution of the processor (140).
[0058] Memory (120) should be interpreted as a general term for a non-volatile storage device that maintains stored information even when no power is supplied, and a volatile storage device that requires power to maintain the stored information. In addition, memory (120) may perform a function of temporarily or permanently storing data processed by the processor (140). Memory (120) may include magnetic storage media or flash storage media in addition to volatile storage devices that require power to maintain stored information, but the scope of the present invention is not limited thereto.
[0059] The database (130) can store data related to artist information, user information, subscription information, artist messages, fan messages, and private messages that are converted and provided for each fan user. The database (130) may constitute a portion of the memory (120), but is not necessarily located within the private chat service relay server (100). Rather, it may be connected to the outside of the private chat service relay server (100) to transmit and receive data using a communication connection.
[0060] Additionally, the database (130) can be configured to store message data on an artist-by-artist and user-by-user basis. The detailed configuration of the database (130) will be described in detail with reference to FIG. 4 described below.
[0061] The processor (140) is configured to execute a private chat program in the memory (120). The processor (140) may include various types of devices that control and process data. The processor (140) may refer to a data processing device built into hardware that has a physically structured circuit to perform a function expressed by a code or command included in the program. In one example, the processor (140) may be implemented in the form of a microprocessor, a central processing unit (CPU), a processor core, a multiprocessor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc., but the scope of the present invention is not limited thereto.
[0062] The processor (140) is configured to execute a private chat program and perform the following functions and procedures.
[0063] Referring to FIGS. 1 and 2 together, the processor (140) receives an artist message generated from an artist terminal (200-1) and transmits the artist message to a fan terminal (200-2) that follows the artist. In addition, the processor (140) may receive a fan message generated from a fan terminal (200-2) and provide the fan message to the artist terminal (200-1).
[0064] Additionally, the processor (140) may generate private messages, in which the content of the artist message is converted for each fan user, and provide the converted private messages to the fan terminal (200-2). At this time, to increase the message conversion speed for multiple fan users, the processor (140) may generate private messages for each fan user and store the private messages in a user-specific database. Accordingly, even if multiple users utilize the private chat service, private messages can be provided immediately. Furthermore, the private chat service can be provided at an increased speed compared to generating and providing private messages in response to a user's message inquiry request.
[0065] Additionally, the processor (140) can store artist messages in the database (130), and while private messages are being created and stored in the user-specific database, the processor (140) can read the artist messages from the database (130) to create and provide private messages. After the private messages are stored in the user-specific database, the processor (140) can delete duplicate artist messages and receive message information stored in the user-specific database to provide a private chat service to the user.
[0066] Figure 3 is a block diagram illustrating the configuration of a terminal (200).
[0067] Referring to FIG. 3, the terminal (200) includes a memory (220), an input / output module (230), and a processor (240), and may further include a communication module (210).
[0068] The communication module (210) can transmit and receive information with an external database or external device. Here, the external device may be the private chat service relay server (100 in FIG. 1) described above. The memory (220) stores a private chat program. The name of the private chat program is set for convenience of explanation, and the name itself does not limit the function of the program. The input / output module (230) can receive information, data, etc. transmitted from the outside to the terminal (200), or output information, data, etc. held by the terminal (200) to the outside. For example, the input / output module (230) may include a display, a touchpad, etc. The processor (240) executes the private chat program stored in the memory (220). Additional descriptions of the communication module (210), memory (220), and processor (240) are replaced with the descriptions of the communication module (110 of FIG. 2), memory (120 of FIG. 2), and processor (140 of FIG. 2) previously described with reference to FIG. 2.
[0069] The processor (240) is configured to execute a private chat program to perform the following functions and procedures.
[0070] The processor (240) can transmit artist messages or fan messages generated in the terminal (200) to the private chat service relay server (100). In addition, the processor (240) can receive artist messages, fan messages, private messages, feeds, alarms, etc. stored and generated in the private chat service relay server (100).
[0071] Hereinafter, the operation of the processor (140) and database (130) according to an embodiment of the present invention will be described in detail with reference to FIG. 4.
[0072] FIG. 4 is a conceptual diagram illustrating the function of a private chat service relay server according to an embodiment of the present invention.
[0073] Referring to FIG. 4, the processor (140) may be configured to perform the functions of a control unit (141) and a message queue unit (not shown) described below. In addition, the database (130) may be composed of a DM (Direct Message) database (1310), an individual database (1320), and a sub-database (1330).
[0074] The control unit (141) stores artist messages and fan messages generated from the artist terminal (200-1) and fan terminal (200-2) in the database (130), or performs the function of a controller for reading messages from the database (130) for private chat updates. The message queue unit (not shown) performs a message issuing function for issuing artist messages or fan messages stored in the database (130) to recipients.
[0075] The DM database (1310) can store messages by private chat unit or artist unit. In this case, the private chat unit may refer to a chat room unit where messages are exchanged between fan users and artists. The individual database (1320) can be constructed for each user, allowing messages to be stored by user. Accordingly, individual databases are created, from the first individual database (1321) to the Nth individual database (1321), to correspond to the number of users.
[0076] Additionally, the individual database (1320) may be formed to include an artist transmission database (1322) for storing messages sent by the artist and an artist reception database (1323) for storing messages received by the artist.
[0077] The sub-database (133) may be formed to include a subscription information storage unit (1331) that stores information about fan users following the artist, and a message body storage unit (1332) that stores the contents of artist messages and fan messages.
[0078] Below, the interaction between the processor (140) and the database (130) that occurs when providing a private chat service between an artist and a fan is described in detail.
[0079] The processor (140) can receive a fan message generated from a first fan terminal among a plurality of fan terminals (200-2). The processor (140) controls the fan message to be stored in a first individual database corresponding to the first fan terminal among a plurality of individual databases (1320). In addition, when a fan message is stored in the first individual database, the processor (140) can generate a message feed for the fan message and provide it to the artist terminal (200-1).
[0080] Additionally, the processor (140) can receive an artist message from the artist terminal (200-1). When the processor (140) receives an artist message, it can control the storage of the artist message and artist information in the DM database (1310). When the artist message is stored in the DM database (1310), the processor (140) generates a message feed provided to multiple fan terminals and transmits the message feed to the first fan terminal.
[0081] When a first fan terminal requests a private chat update, the processor (140) receives a private chat message update request from the first fan terminal. Then, the processor (140) generates a private message corresponding to the first fan terminal based on fan account information and artist messages corresponding to the first fan terminal. The processor (140) transmits the fan message stored in the first database and the generated private message to the first fan terminal. At this time, the private message may refer to a message in which specific words or keywords in the message are converted according to the recipient. Furthermore, the message feed may include notifications, posts, etc. to notify the recipient of the message of the receipt of the message.
[0082] Additionally, when the processor (140) receives an artist message, it can store the artist message in a DM-specific database (1310) and at the same time convert the artist message into a private message and store it in an individual database (1320).
[0083] Specifically, the processor (140) generates a plurality of private messages corresponding to each of the plurality of fan terminals based on fan account information and artist messages corresponding to each of the plurality of fan terminals. Then, the processor (140) stores the plurality of private messages in a corresponding individual database based on the fan account information. When the private messages are completely stored in the individual database, the processor (140) controls to delete the artist messages stored in the DM-specific database (1310). In addition, after the private messages are stored in the individual database, the processor receives the private messages from the individual database (1320) rather than the DM-specific database (1310) and transmits them to the fan terminal.
[0084] That is, when an artist writes a message, the private chat service relay server (100) generates a corresponding private message for each subscriber fan and stores the private message in an individual database assigned to each user. Therefore, when a user requests a message inquiry or update, the message is retrieved from the individual database, enabling the private chat service to be quickly provided to multiple users.
[0085] In addition, the processor (140) stores artist messages and artist information in a DM-specific database (1310), and when a preset standard time elapses, deletes the artist messages stored in the DM-specific database (1310), receives a private message from an individual database (1320), and transmits the private message to a fan terminal.
[0086] At this time, the DM database (1310) may be formed based on NoSQL (Not Only SQL), and the individual database (1320) may be formed based on SQL (Structured query language).
[0087] Accordingly, the DM-specific database (1310) has a non-relational database structure and can store unstructured data. In addition, the individual database (1320) has a relational database structure and can create a DB (DataBase) table for each user and store message data for each user by pre-applying a user-specific DB table filter.
[0088] Since the individual database (1320) is configured using SQL, its write speed is slower and its read speed is faster than that of the DM-specific database (1310). On the other hand, the DM-specific database (1310) has a faster write speed and a slower read speed than that of the individual database (1320).
[0089] The private chat service relay server (100) can increase the speed of providing private chat services to multiple users by providing private messages stored using individual databases (1320). Furthermore, while private messages are stored in individual databases (1320), the DM-specific database (1310) can be used to provide private messages, thereby supplementing the operation during the time messages are stored in individual databases.
[0090] Hereinafter, the specific data processing process between the processor (140) and the database (130) will be described in detail with reference to FIGS. 5 to 9 described below.
[0091] FIG. 5 is a data flow diagram for storing fan messages according to an embodiment of the present invention.
[0092] Referring to FIG. 5, when a fan user writes and sends a fan message to be sent to an artist, fan message data is transmitted from a fan terminal (200-2) to the control unit (141) of the private chat service relay server (100). The fan message data may include at least one of the following: message content, information on the artist receiving the message, and the fan's subscription information on the artist.
[0093] The control unit (141) transmits the received fan message data to the message body storage unit (1332) and requests that the fan message data be stored in the message body storage unit (1332). The message body storage unit (1332) stores the fan message data, and when the storage of the fan message data is completed, generates a fan message ID corresponding to the fan message and responds the fan message ID to the control unit (141).
[0094] The control unit (141) that receives the fan message ID requests the storage of fan message data in the individual database (1320). At this time, the individual database (1320) refers to a database assigned to each user. Accordingly, when a fan message is received in the first fan terminal, the storage of fan message data is requested in the first individual database (1321) assigned to the first fan terminal. In addition, the fan message data stored in the individual database (1320) may include the fan message ID and subscription information.
[0095] When fan message data is stored in the individual database (1320), the individual database (1320) transmits a fan message data storage completion response to the control unit (141).
[0096] The control unit (141), which has received a response from the individual database (1320) regarding the completion of fan message data storage, requests the subscription information storage unit (1331) to retrieve the fan's subscription information. Specifically, a message queue unit (not shown) included in the control unit (141) requests the subscription information storage unit (1331) to retrieve the fan's subscription information based on the fan's subscriber ID information.
[0097] The subscription information storage unit (1331) that receives a subscription information inquiry request responds to the control unit (141) with a DM (Direct Message) ID corresponding to the subscriber ID information. At this time, the DM ID may correspond to a private chat room ID or artist information.
[0098] The control unit (141) that receives the DM ID from the subscription information storage unit (1331) requests the storage of fan message data in the artist reception database (1323) of the target artist of the fan message based on the DM ID. At this time, the fan message data stored in the artist reception database (1323) may include fan message ID and DM ID information.
[0099] When the storage of fan message data in the artist reception database (1323) is completed, the artist reception database (1323) responds to a fan message issuance request to the control unit (141).
[0100] The control unit (141) that receives a request to issue a fan message from the artist reception database (1323) creates a fan feed for the artist to be sent to the target artist of the fan message, and transmits the fan feed for the artist to the terminal (200) of the target artist.
[0101] Accordingly, when a fan sends a message to an artist, the fan's message is stored in the artist's reception database. Furthermore, when the artist wishes to check the artist's fan feed to view fan messages, the private chat relay server (100) can read the fan message based on the fan message data stored in the artist reception database and provide it to the artist's terminal.
[0102] Below, the data processing sequence for storing artist messages is described with reference to FIG. 6.
[0103] Figure 6 is a data flow diagram for storing artist messages according to an embodiment of the present invention.
[0104] Referring to FIG. 6, when an artist user writes and transmits an artist message to be transmitted to a fan user, artist message data is transmitted from the artist terminal (200-1) to the control unit (141) of the private chat service relay server (100). The artist message data may include at least one of message content, message recipient information, and DM ID.
[0105] The control unit (141) transmits the received artist message data to the message body storage unit (1332) and requests that the fan message data be stored in the message body storage unit (1332). The message body storage unit (1332) stores the artist message data, and when the storage of the artist message data is completed, generates an artist message ID corresponding to the artist message and responds the artist message ID to the control unit (141).
[0106] The control unit (141) that receives the artist message ID requests the artist message data to be stored in the artist transmission database (1322). At this time, the artist transmission database (1322) is an individual database assigned to the artist, and refers to a database in which messages written by the artist to be transmitted are stored. In addition, the artist transmission database (1322) may be configured in combination with the artist reception database (1323) or may be configured separately. In addition, the artist message data stored in the artist reception database (1322) may include data regarding at least one of the artist message ID and the DM ID.
[0107] When artist message data is stored in the artist reception database (1322), the artist reception database (1322) transmits a response indicating completion of artist message data storage to the control unit (141).
[0108] The control unit (141), which has received a response indicating completion of artist message data storage from the artist reception database (1322), requests the storage of artist message data in the DM-specific database (1310). At this time, the artist message data stored in the DM-specific database (1320) includes data regarding at least one of the artist message ID and the DM ID.
[0109] When the storage of artist message data in the DM database (1310) is completed, the DM database (1310) transmits a response indicating completion of artist message data storage to the control unit (141).
[0110] The control unit (141), which has received a response from the DM database (1310) indicating completion of storing artist message data, requests the subscription information storage unit (1331) to retrieve subscriber list information corresponding to the DM ID. Specifically, a message queue unit (not shown) included in the control unit (141) requests the subscription information storage unit (1331) to retrieve a list of subscriber IDs that subscribe to the artist based on the DM ID.
[0111] When the control unit (141) receives a subscriber ID list from the subscription information storage unit (1331), the control unit generates a private message for each subscriber based on the artist message data and the subscriber ID list. In addition, the control unit (141) requests the storage of the corresponding private message in the individual database (1321) of each subscriber.
[0112] At this time, requesting storage of a private message in an individual database (1321) may mean that the control unit (141) stores the contents of the private message in the message body storage unit (1332) and requests storage of data for one or more of the private message ID, DM ID, and subscriber ID received in response from the message body storage unit (1332).
[0113] Accordingly, when an artist sends a message to a fan, a private message for each fan is stored in the fan's individual database (1321). Additionally, when a fan wishes to view the message, the private chat relay server (100) can read the private message data stored in the individual database (1321) and provide it to the fan terminal.
[0114] Below, with reference to FIG. 7, the data processing process when a fan user requests to view a private chat before the private message is stored in an individual database is described in detail.
[0115] Figure 7 is a data flow diagram when a fan searches for a message according to an embodiment of the present invention.
[0116] Referring to FIG. 7, when a fan requests to view a private chat or artist message, the control unit (141) receives a private chat view request from the fan terminal (200-2). At this time, the private chat view request includes the fan's subscriber ID information.
[0117] When the control unit (141) receives a private chat inquiry request from a fan terminal (200-2), the control unit (141) requests a message inquiry corresponding to the subscriber ID to the individual database (1320) corresponding to the fan terminal (200-2) or fan account.
[0118] The individual database (1320) may respond with a list of stored message IDs in response to a message query request. At this time, the message that the individual database (1320) responds to the control unit (141) may include at least one of a fan message ID and a private message ID. However, before the private message is stored in the individual database (1320), the message ID that the individual database (1320) responds to the control unit (141) includes only a fan message ID.
[0119] Additionally, the control unit (141) requests the subscription information storage unit (1331) to search for a DM ID corresponding to the fan's subscriber ID. The subscription information storage unit (1331) that receives the DM ID search request responds to the control unit (141) with the DM ID stored corresponding to the subscriber ID.
[0120] The control unit (141) that receives the DM ID requests the DM database (1310) to search for a message corresponding to the DM ID. The DM database (1310) that receives the message search request responds to the control unit (141) with the artist message ID stored corresponding to the DM ID.
[0121] Accordingly, the control unit (141) receives a fan message ID from an individual database (1320) and an artist message ID from a DM-specific database (1310). Then, the control unit (141) requests message body information corresponding to the fan message ID and artist message ID from the message body storage unit (1332) based on the received fan message ID and artist message ID. Accordingly, the message body storage unit (1332) responds with message information corresponding to the received fan message ID and artist message ID.
[0122] The control unit (141) can transmit received fan messages and artist messages to the fan terminal (200-2). Additionally, the control unit (141) can convert artist messages into private messages based on the fan's subscription information and transmit them to the fan terminal (200-2).
[0123] Below, with reference to FIG. 8, the data processing process when a fan user requests to view a private chat after a private message has been stored in an individual database is described in detail.
[0124] Figure 8 is a data flow diagram when a fan searches for a message according to an embodiment of the present invention.
[0125] Referring to FIG. 8, when the private message storage in the individual database (1320) is completed, the control unit (141) requests the deletion of the completed artist message in the DM database (1310). The completed artist message refers to an artist message or artist message ID converted into a private message.
[0126] By deleting the artist message ID stored in the DM star database (1310), it is possible to prevent duplicate artist messages and private messages from being sent to fan terminals.
[0127] After the deletion of the artist message ID from the DM database (1310) is completed, when a request is made to search for a private chat or artist message from a fan terminal (200), the control unit (141) receives a private chat search request from the fan terminal (200-2). At this time, the private chat search request includes the fan's subscriber ID information.
[0128] When the control unit (141) receives a private chat inquiry request from a fan terminal (200-2), the control unit (141) requests an individual database (1320) corresponding to the fan terminal (200-2) or fan account (200-2) to look up a message corresponding to the subscriber ID.
[0129] The individual database (1320) may respond with a list of stored message IDs in response to a message query request. In this case, the message that the individual database (1320) responds to the control unit (141) may include both a fan message ID and a private message ID.
[0130] Accordingly, the control unit (141) receives a fan message ID and a private message ID from the individual database (1320). Then, the control unit (141) requests the message body storage unit (1332) for message body information corresponding to the fan message ID and the private message ID based on the received fan message ID and private message ID. Accordingly, the message body storage unit (1332) responds with message information corresponding to the received fan message ID and private message ID.
[0131] The control unit (141) can transmit received fan messages and private messages to the fan terminal (200-2). Therefore, even if a plurality of fan terminals (200-2) request a private chat inquiry, the private chat service relay server (100) only reads messages from the individual database (1320) corresponding to the fan terminal (200-2). Accordingly, even if a plurality of users request a message inquiry, a fast processing speed can be maintained.
[0132] Below, with reference to Figure 9, the data processing process when an artist requests to view a private chat is described in detail.
[0133] Figure 9 is a data flow diagram when searching for an artist's message according to an embodiment of the present invention.
[0134] Referring to FIG. 9, when an artist requests to view a private chat, the control unit (141) receives a private chat view request from the artist terminal (200-1). At this time, the private chat view request includes DM ID information.
[0135] When the control unit (141) receives a private chat inquiry request from the artist terminal (200-2), the control unit (141) requests the artist transmission database (1322) to look up a message corresponding to the DM ID. Accordingly, the artist transmission database (1322) responds with a list of artist message IDs stored corresponding to the artist's DM ID.
[0136] Additionally, the control unit (141) requests the artist reception database (1323) to search for a message corresponding to the DM ID. Accordingly, the artist reception database (1323) responds with a list of fan message IDs stored corresponding to the artist's DM ID.
[0137] Accordingly, the control unit (141) receives an artist message ID list from the artist transmission database (1322) and a fan message ID list from the artist reception database (1323). The control unit (141) requests a message information inquiry from the message body storage unit (1332) based on the received artist message ID list and fan message ID list.
[0138] Accordingly, the message body storage unit (1332) responds to the control unit (141) with message information corresponding to the artist message ID list and the fan message ID list. The control unit (141) that receives the artist message and fan message information updates the message content to the artist terminal (200).
[0139] Hereinafter, a method for providing a private chat service will be described in detail with reference to FIGS. 10 to 14.
[0140] Figure 10 is a flowchart of a fan message storage method according to an embodiment of the present invention.
[0141] Referring to FIG. 10, a method for storing fan messages sent by a fan user to an artist in a private chat service according to an embodiment of the present invention includes a fan message receiving step (S110), a fan message storing step (S120), and a message feed providing step (S130).
[0142] Specifically, in the fan message reception step (S110), when a fan user writes and transmits a fan message to be sent to an artist, fan message data is transmitted from the fan terminal (200-2) to the control unit (141) of the private chat service relay server (100). The fan message data may include at least one of the message content, information on the artist receiving the message, and the fan's artist subscription information.
[0143] In the fan message storage step (S120), the control unit (141) stores the received fan message data in an individual database (1320). Specifically, the control unit (141) transmits the received fan message data to the message body storage unit (1332) and requests that the fan message data be stored in the message body storage unit (1332). Then, the message body storage unit (1332) stores the fan message data, and when the storage of the fan message data is completed, generates a fan message ID corresponding to the fan message and responds the fan message ID to the control unit (141).
[0144] The control unit (141) that receives the fan message ID requests the storage of fan message data in the individual database (1320). At this time, the individual database (1320) refers to a database assigned to each user. Accordingly, when a fan message is received in the first fan terminal, the storage of fan message data is requested in the first individual database (1321) assigned to the first fan terminal. In addition, the fan message data stored in the individual database (1320) may include the fan message ID and subscription information.
[0145] In the message feed provision step (S130), the control unit (141) generates a message feed to be transmitted to the artist who is the recipient of the fan message and transmits it to the artist terminal (200). Specifically, when fan message data is stored in the individual database (1320), the individual database (1320) transmits a fan message data storage completion response to the control unit (141).
[0146] The control unit (141), which has received a response from the individual database (1320) regarding the completion of fan message data storage, requests the subscription information storage unit (1331) to retrieve the fan's subscription information. Specifically, a message queue unit (not shown) included in the control unit (141) requests the subscription information storage unit (1331) to retrieve the fan's subscription information based on the fan's subscriber ID information.
[0147] The subscription information storage unit (1331) that receives a subscription information inquiry request responds to the control unit (141) with a DM (Direct Message) ID corresponding to the subscriber ID information. At this time, the DM ID may correspond to a private chat room ID or artist information.
[0148] The control unit (141) that receives the DM ID from the subscription information storage unit (1331) requests the storage of fan message data in the artist reception database (1323) of the target artist of the fan message based on the DM ID. At this time, the fan message data stored in the artist reception database (1323) may include fan message ID and DM ID information.
[0149] When the storage of fan message data in the artist reception database (1323) is completed, the artist reception database (1323) responds to a fan message issuance request to the control unit (141).
[0150] The control unit (141) that receives a request to issue a fan message from the artist reception database (1323) creates a fan feed for the artist to be sent to the target artist of the fan message, and transmits the fan feed for the artist to the terminal (200) of the target artist.
[0151] Accordingly, when a fan sends a message to an artist, the fan's message is stored in the artist's reception database. Furthermore, when the artist wishes to check the artist's fan feed to view fan messages, the private chat relay server (100) can read the fan message based on the fan message data stored in the artist reception database and provide it to the artist's terminal.
[0152] Hereinafter, a method for saving artist messages will be described with reference to FIG. 11.
[0153] Figure 11 is a flowchart of a method for storing artist messages according to an embodiment of the present invention.
[0154] Referring to FIG. 11, the method for storing artist messages includes an artist message receiving step (S210), an artist message storing step in an individual database (S220), an artist message storing step in a DM-specific database (S230), a private message generating step (S240), and a private message storing step (S250).
[0155] When an artist user writes and transmits an artist message to be transmitted to a fan user in the artist message reception step (S210), artist message data is transmitted from the artist terminal (200-1) to the control unit (141) of the private chat service relay server (100). The artist message data may include at least one of message content, message recipient information, and DM ID.
[0156] In the step of storing artist messages in individual databases (S220), the control unit (141) stores the received artist message data in the artist transmission database (1322) among the artist's individual databases (1320).
[0157] Specifically, the control unit (141) transmits the received artist message data to the message body storage unit (1332) and requests that the fan message data be stored in the message body storage unit (1332). The message body storage unit (1332) stores the artist message data, and when the storage of the artist message data is completed, generates an artist message ID corresponding to the artist message and responds the artist message ID to the control unit (141).
[0158] The control unit (141) that receives the artist message ID requests the artist message data to be stored in the artist transmission database (1322). At this time, the artist transmission database (1322) is an individual database assigned to the artist, and refers to a database in which messages written by the artist to be transmitted are stored. In addition, the artist transmission database (1322) may be configured in combination with the artist reception database (1323) or may be configured separately. In addition, the artist message data stored in the artist reception database (1322) may include data regarding at least one of the artist message ID and the DM ID.
[0159] When artist message data is stored in the artist reception database (1322), the artist reception database (1322) transmits a response indicating completion of artist message data storage to the control unit (141).
[0160] In the step of saving artist messages in the DM-specific database (S230), the control unit (141) saves the received artist messages in the DM-specific database (1310).
[0161] Specifically, the control unit (141) requests the storage of artist message data in the DM-specific database (1310). The DM-specific database (1310) stores artist messages or message IDs for each DM ID. At this time, the artist message data stored in the DM-specific database (1320) includes data regarding at least one of the artist message ID and the DM ID.
[0162] In the private message generation step (S240), the control unit (141) generates a private message to be transmitted to a fan user who subscribes to the artist based on the received artist message.
[0163] Specifically, the control unit (141) that has received a response indicating completion of artist message data storage from the DM database (1310) requests the subscription information storage unit (1331) to retrieve subscriber list information corresponding to the DM ID. Specifically, a message queue unit (not shown) included in the control unit (141) requests the subscription information storage unit (1331) to retrieve a list of subscriber IDs that subscribe to the artist based on the DM ID.
[0164] When the control unit (141) receives a subscriber ID list from the subscription information storage unit (1331), the control unit generates a private message for each subscriber based on the artist message data and the subscriber ID list.
[0165] In the private message storage step (S250), the control unit (141) stores the generated private message in a corresponding individual database (1320).
[0166] Specifically, private messages are generated for each fan user who subscribes to the artist. Furthermore, each fan user is assigned a separate database (1321). Accordingly, the control unit (141) stores the generated private messages in each fan user's individual database (1321).
[0167] At this time, requesting storage of a private message in an individual database (1321) may mean that the control unit (141) stores the contents of the private message in the message body storage unit (1332) and requests storage of data for one or more of the private message ID, DM ID, and subscriber ID received in response from the message body storage unit (1332).
[0168] Accordingly, when an artist sends a message to a fan, a private message for each fan is stored in the fan's individual database (1321). Additionally, when a fan wishes to view the message, the private chat relay server (100) can read the private message data stored in the individual database (1321) and provide it to the fan terminal.
[0169] Hereinafter, a method for updating a private chat for a fan user will be described with reference to FIGS. 12 and 13.
[0170] Figure 12 is a flowchart of a private chat update method of a fan terminal according to an embodiment of the present invention.
[0171] Referring to FIG. 12, the method for updating a fan's private chat and updating a private chat according to a request for inquiry includes a step of receiving a private chat update request (S310), a step of confirming storage of a private message (S320), a step of searching an individual database (S340), a step of searching a database by DM (S332), and a step of updating a private chat (S350).
[0172] In the private chat update request reception step (S310), when a fan requests to view a private chat or artist message, the control unit (141) receives a private chat inquiry request from the fan terminal (200-2). At this time, the private chat inquiry request includes the fan's subscriber ID information.
[0173] In the private message storage confirmation step (S320), it is confirmed whether the private message is being stored in the individual database (1321) or whether storage has been completed.
[0174] While private messages are stored in individual databases (1321), artist messages are read from the DM database rather than the individual database to update the private chat.
[0175] Specifically, if the private message is not stored in an individual database (1321), an individual database lookup step (S331), a DM-specific database lookup step (S332), and a private message creation step (S333) are performed.
[0176] In the individual database query step (S331), the control unit (141) requests a message query corresponding to the subscriber ID to the individual database (1320) corresponding to the fan terminal (200-2) or fan account (200-2).
[0177] The individual database (1320) may respond with a list of stored message IDs in response to a message query request. At this time, the message that the individual database (1320) responds to the control unit (141) may include at least one of a fan message ID and a private message ID. However, before the private message is stored in the individual database (1320), the message ID that the individual database (1320) responds to the control unit (141) includes only the fan message ID. Therefore, in the individual database query step (S331), fan message data written by the fan can be received.
[0178] In the DM database query step (S332), the control unit (141) requests the subscription information storage unit (1331) to search for a DM ID corresponding to the fan's subscriber ID. The subscription information storage unit (1331) that receives the DM ID query request responds to the control unit (141) with the DM ID stored corresponding to the subscriber ID.
[0179] The control unit (141) that receives the DM ID requests the DM database (1310) to search for a message corresponding to the DM ID. The DM database (1310) that receives the message search request responds to the control unit (141) with the artist message ID stored corresponding to the DM ID.
[0180] Accordingly, the control unit (141) receives a fan message ID from an individual database (1320) and an artist message ID from a DM-specific database (1310). Then, the control unit (141) requests message body information corresponding to the fan message ID and artist message ID from the message body storage unit (1332) based on the received fan message ID and artist message ID. Accordingly, the message body storage unit (1332) responds with message information corresponding to the received fan message ID and artist message ID.
[0181] The control unit (141) can transmit received fan messages and artist messages to the fan terminal (200-2).
[0182] Additionally, in the private message generation step (S333), the control unit (141) can convert the artist message into a private message based on the fan's subscription information and transmit it to the fan terminal (200-2).
[0183] If the private message storage in the individual database (1320) is completed in the private message storage confirmation step (S320), only the individual database query step (S340) is performed to update the fan's private chat.
[0184] In the individual database query step (S340), the control unit (141) requests the deletion of a completed artist message from the DM database (1310). A completed artist message refers to an artist message or artist message ID converted into a private message.
[0185] By deleting the artist message ID stored in the DM star database (1310), it is possible to prevent artist messages and private messages from being sent repeatedly to fan terminals.
[0186] After the deletion of the artist message ID from the DM database (1310) is completed, when a request is made to search for a private chat or artist message from a fan terminal (200), in the individual database search step (S340), the control unit (141) requests a search for a message corresponding to the subscriber ID from the individual database (1320) corresponding to the fan terminal (200-2) or fan account.
[0187] The individual database (1320) may respond with a list of stored message IDs in response to a message query request. In this case, the message that the individual database (1320) responds to the control unit (141) may include both a fan message ID and a private message ID.
[0188] Accordingly, the control unit (141) receives a fan message ID and a private message ID from the individual database (1320). Then, the control unit (141) requests the message body storage unit (1332) for message body information corresponding to the fan message ID and the private message ID based on the received fan message ID and private message ID. Accordingly, the message body storage unit (1332) responds with message information corresponding to the received fan message ID and private message ID.
[0189] In the private chat update step (S350), the control unit (141) transmits the received fan message and private message to the fan terminal (200-2) to update the private chat of the fan terminal (200-2).
[0190] Accordingly, even if a private chat query is requested from multiple fan terminals (200-2), the private chat service relay server (100) only reads messages from the individual database (1320) corresponding to each fan terminal (200-2). Accordingly, even if multiple users request message query, a fast processing speed can be maintained.
[0191] Additionally, the method for updating a private chat of a fan terminal according to an embodiment of the present invention can be applied by changing the private chat storage confirmation step (S320) to a reference time elapsed confirmation step (S321).
[0192] In the step of checking the elapsed time (S321), the control unit (141) determines that the private message is stored in the individual database (1321) before the preset standard time elapses. Accordingly, if the fan terminal (200) requests an update of the private chat before the preset standard time elapses after receiving the artist message, the control unit (141) performs the individual database search step (S331), the DM-specific database search step (S332), and the private message creation step (S333).
[0193] That is, the control unit (141) retrieves artist message information stored in the DM database (1310) before a preset standard time elapses after receiving the artist message, and creates a private message based on the artist message and provides it to the fan terminal (200).
[0194] In addition, in the step of checking the elapsed time (S321), the control unit (141) determines that the private message has been completely stored in the individual database (1321) if the preset standard time has elapsed. Accordingly, the control unit (141) receives the artist message and, after the preset time has elapsed, performs the step of receiving the message in the individual database (S340) if the fan terminal (200) requests an update of the private chat.
[0195] That is, after a preset standard time has elapsed since receiving the artist message, the control unit (141) provides the fan message and private message stored in the individual database (1320) to the fan terminal (200).
[0196] Below, referring to Figure 14, a method for updating a private chat when an artist requests a private chat inquiry is described in detail.
[0197] Figure 14 is a flowchart of a private chat update method of an artist terminal according to an embodiment of the present invention.
[0198] Referring to FIG. 14, the private chat update method of the artist terminal (200) includes a private chat update request reception step (S410), an artist transmission database query step (S420), an artist reception database (S430), and a private chat update step (S440).
[0199] When an artist requests to view a private chat in the private chat update request reception step (S410), the control unit (141) receives a private chat inquiry request from the artist terminal (200-1). At this time, the private chat inquiry request includes DM ID information.
[0200] In the artist transmission database query step (S420), the control unit (141) requests the artist transmission database (1322) to search for a message corresponding to the DM ID. Accordingly, the artist transmission database (1322) responds with a list of artist message IDs stored corresponding to the artist's DM ID.
[0201] In the artist reception database query step (S430), the control unit (141) requests the artist reception database (1323) to search for a message corresponding to the DM ID. Accordingly, the artist reception database (1323) responds with a list of fan message IDs stored corresponding to the artist's DM ID.
[0202] Accordingly, the control unit (141) receives an artist message ID list from the artist transmission database (1322) and a fan message ID list from the artist reception database (1323). The control unit (141) requests a message information inquiry from the message body storage unit (1332) based on the received artist message ID list and fan message ID list.
[0203] Accordingly, the message body storage unit (1332) responds to the control unit (141) with message information corresponding to the artist message ID list and the fan message ID list. Then, in the private chat update step (S440), the control unit (141) that has received the artist message and fan message information updates the message content to the artist terminal (200).
[0204] Hereinafter, the artist message review method will be described in detail with reference to FIGS. 15 to 20.
[0205] FIG. 15 is an exemplary diagram showing a communication connection of a device providing a private chat service for reviewing artist messages according to an embodiment of the present invention.
[0206] Referring to FIG. 15, a private chat service providing device for adding an artist message review function may additionally connect a reviewer terminal (200-3) to the private chat service providing device illustrated in FIG. 1.
[0207] That is, in addition to the communication connection between the private chat service relay server (100) and the artist terminal (200-1) and the fan terminal (200-2) described with reference to FIG. 1, the reviewer terminal (200-3) can be connected to the private chat service relay server (100) through a communication network.
[0208] The reviewer terminal (200-3) may refer to a terminal used by a reviewer set to perform a review of an artist message before the artist message generated from the artist terminal (200-1) is transmitted to the fan terminal (200-2).
[0209] When a message is written and sent from an artist terminal (200-1), the written artist message is first sent to a reviewer terminal (200-3) before being sent to a fan terminal. The reviewer can use the reviewer terminal (200-3) to check the content of the artist message written by the artist, and can select and input whether to approve sending, reject sending, or correct the message.
[0210] When the reviewer terminal (200-3) approves the transmission of an artist message, the artist message is converted into a private message and transmitted to the recipient fan terminal (200-2). At this time, the same message transmission and reception process described above with reference to FIGS. 4 to 14 may be performed.
[0211] If the reviewer terminal (200-3) rejects the transmission of an artist message, the artist message is deleted and not transmitted to the recipient fan terminal (200-2). In this case, a message rejection message may be generated and provided to the artist terminal (200-1).
[0212] Additionally, when a reviewer uses the reviewer terminal (200-3) to correct an artist message or input a correction message, the corrected message can be converted into a private message and transmitted to the recipient fan terminal (200-2). In this case, the message transmission and reception processing described in FIGS. 4 to 14 described above can be performed using the corrected message instead of the artist message.
[0213] Additionally, to perform the artist message review function, the processor (140) or the control unit (141) may additionally perform the following operations.
[0214] The processor (140) can receive an artist message to be transmitted from the artist terminal (200-1) to the fan terminal (200-2). When the processor (140) receives the artist message, it transmits the artist message to a preset reviewer terminal (200-3). The processor (140) waits for the artist message to be transmitted to the fan terminal until the reviewer terminal (200-3) approves the transmission of the artist message.
[0215] When the processor (140) approves the transmission of an artist message from the reviewer terminal (200-3), it stores the artist message in the private chat relay server (100), converts the artist message stored in the private chat relay server (100) into a private message, and transmits it to the fan terminal (200-2).
[0216] Additionally, the processor (140) may store artist messages and artist information in the artist transmission database (1322), and generate and provide a message feed provided to the reviewer terminal (2000-3). When the reviewer terminal (200-3) requests a review request message inquiry, the processor (140) receives the artist message and artist information from the artist transmission database (1322), generates a review message based on the same, and transmits the same to the reviewer terminal (200-3).
[0217] Additionally, the processor (140) can generate a text message containing the content of the artist message and a link that allows the user to select whether to approve sending the artist message, and transmit the text message to the reviewer terminal (200-3).
[0218] Additionally, the processor (140) can generate a message including the content of the artist message and a link for selecting whether to approve sending the artist message, and transmit the message to the reviewer terminal (200-3). At this time, the message can mean a message of any application used to send and receive messages.
[0219] When the processor (140) rejects the transmission of an artist message from the reviewer terminal (200-3), the processor (140) deletes the artist message stored in the artist transmission database (1322). Then, the processor (140) generates a message rejecting the transmission of an artist message and transmits it to the artist terminal (200-1).
[0220] Additionally, the processor (140) can receive a correction message for the artist message from the reviewer terminal (200-3). When the processor (140) receives the correction message, the processor (140) stores the correction message in the private chat relay server (100), converts the correction message into a private message, and transmits it to the fan terminal (200-3).
[0221] The method of converting an artist message or correction message into a private message and transmitting it to a fan terminal (200-2) is the same as that described above with reference to FIGS. 4 to 14.
[0222] Hereinafter, the interface of the artist terminal (200) for reviewing artist messages will be described with reference to FIG. 16.
[0223] Fig. 16 is an example of an interface of an artist terminal according to an embodiment of the present invention.
[0224] As illustrated in FIG. 16, the private chat interface (300) of the artist terminal (200) may include a message input area (310) for writing an artist message and a message display area (320) for displaying a message that has been completed for transmission between a fan and the artist.
[0225] When an artist enters and sends an artist message in the message input area (310), the artist message may be sent to a fan who is the other party in the private chat. Additionally, messages received from the fan who is the other party in the private chat may be displayed on the left side of the message display area, and messages sent by the artist to the fan may be displayed on the right side of the message display area. At this time, the messages may be displayed in chronological order from top to bottom, and the colors of fan messages and artist messages may be distinguished.
[0226] Additionally, when an artist inputs and sends an artist message in the artist message input area (310), a review request message display area (330) may be created. The review request message display area (330) refers to an area where an artist message being reviewed on a reviewer terminal (200) is displayed before the artist message is sent to a fan.
[0227] The review request message display area (330) can be distinguished from the message display area (320) in the form of color, transparency, pop-up window, etc. In addition, in the case of the review request message displayed in the review request message display area (330), it can be distinguished from the message that has been transmitted and displayed in the message display area by displaying it as a semi-transparent message.
[0228] Hereinafter, the interface of the reviewer terminal (200) for reviewing artist messages will be described with reference to FIG. 17.
[0229] Figure 17 is an example diagram of a reviewer terminal interface according to an embodiment of the present invention.
[0230] As illustrated in FIG. 17, the private chat interface (400) of the reviewer terminal (200) may include a review request message display area (410) and a review approval selection area (420).
[0231] When an artist message is sent from an artist terminal (200), the artist message is transmitted to a reviewer terminal (200) before being transmitted to a fan terminal (200). The artist message transmitted to the reviewer terminal (200) may be displayed in a review request message display area (410). In addition, the review request message display area may display the content of the artist message, artist information, the message creation time, and the content of a fan message received before the artist message was created.
[0232] The review approval selection area (420) refers to an area that displays options so that the reviewer can select and input one of the following values: approval, correction, and rejection. The reviewer can respond to the review request message by selecting one of the values displayed in the review approval selection area (420).
[0233] Additionally, when a reviewer selects correction in the review approval selection area (420), a correction message input area (430) may be additionally created in the private chat interface (400) of the reviewer terminal (200).
[0234] A reviewer may input a correction message to be sent in lieu of a received review request message (artist message) using the correction message input area (430). When a reviewer inputs and sends a correction message, the correction message may be converted into a private message and transmitted to the fan terminal (200) in lieu of the artist message.
[0235] Below, the data processing process for reviewing artist messages is described in detail with reference to FIG. 18.
[0236] Figure 18 is a data flow diagram for artist message review according to an embodiment of the present invention.
[0237] Referring to FIG. 18, in addition to the artist message storage process described with reference to FIG. 6, an artist message review request step and an artist message review response step for artist message review may be additionally performed.
[0238] Specifically, when the control unit (141) receives an artist message from the artist terminal (200) and stores it in the artist transmission database (1322), the control unit (141) requests the reviewer terminal (200) to review the artist message.
[0239] At this time, the control unit (141) may generate a message feed to notify a review request for the artist message and transmit it to the reviewer terminal (200). The reviewer terminal (200) that has received the artist message review request may display a private chat interface (400) signed with reference to FIG. 17. Accordingly, the reviewer may review the content of the artist message displayed in the review request message display area (410). In addition, the reviewer may select one of the values displayed in the review approval selection area (420) to respond whether or not to approve the review of the artist message.
[0240] When the control unit (141) receives an artist message review response from the reviewer terminal (200), the review response includes one of the values of artist message sending approval, artist message correction, and artist message sending rejection.
[0241] When the control unit (141) receives approval for sending an artist message from the reviewer terminal (200) as a review response, the control unit (141) converts the artist message into a private message and transmits it to the fan terminal (200). Accordingly, the control unit (141) stores the artist message in the DM-specific database (1310), searches for subscriber information using the subscription information storage unit (1331), creates a private message, and stores the private message in the individual database (1320).
[0242] In addition, when the control unit (141) receives a rejection of artist message transmission from the reviewer terminal (200) as a review response, the control unit (141) deletes the artist message stored in the artist transmission database (1322). In addition, the control unit (141) generates a rejection message including information regarding the rejection of artist message transmission and transmits it to the artist terminal (200).
[0243] In addition, when the control unit (141) receives a correction message as a review response from the reviewer terminal (200), the control unit (141) converts the correction message into a private message instead of an artist message and transmits it to the fan terminal (200). Accordingly, the control unit (141) stores the correction message in the DM-specific database (1310), searches for subscriber information using the subscription information storage unit (1331), creates a private message, and stores the private message in the individual database (1320).
[0244] Hereinafter, the method for reviewing artist messages is described in detail with reference to FIGS. 19 and 20.
[0245] Figure 19 is a flowchart of an artist message review method according to an embodiment of the present invention.
[0246] Referring to FIG. 19, the method for reviewing an artist message may further include an artist message review request step (S510) and an artist message review approval confirmation step (S520) in addition to the artist message storage method described with reference to FIG. 5.
[0247] Specifically, as described above with reference to FIG. 5, the artist message reception step (S210) and the artist message storage step (S220) in an individual database are performed identically. Accordingly, when an artist message is transmitted from an artist terminal (200), the control unit (141) receives the artist message and stores the artist message in the artist transmission database (1322).
[0248] In the artist message review request step (S510), the control unit (141) transmits the artist message to a preset reviewer terminal (200). Then, the control unit (141) waits for the artist message to be sent to the fan terminal (200) until the reviewer terminal (200) approves the sending of the artist message.
[0249] At this time, the control unit (141) can generate a text message containing the content of the artist message and a link for selecting whether to approve sending the artist message, and transmit the text message to the reviewer terminal (200).
[0250] In addition, the control unit (141) can generate a message including the content of the artist message and a link for selecting whether to approve sending the artist message, and transmit the message to the reviewer terminal (200). At this time, the message can mean a message of any application used to send and receive messages.
[0251] In the artist message review approval confirmation step (S520), the control unit (141) receives a response for review approval from the reviewer terminal (200). If the reviewer terminal (200) responds by approving the sending of the artist message, the artist message storage step (S230) in the DM-specific database, the private message creation step (S240), and the private message storage step (S250) in the individual database are performed.
[0252] In the artist message review approval confirmation step (S520), if the control unit (141) receives a rejection of approval as a response, the artist message deletion step (S530) and the artist message transmission cancellation step (S540) are performed.
[0253] In the artist message deletion step (S530), the control unit (141) deletes the artist message data stored in the artist transmission database (1322). Then, in the artist message transmission cancellation step (S540), the control unit (141) can generate a transmission rejection message including information regarding the rejection of artist message transmission and transmit it to the artist terminal (200).
[0254] Additionally, when a correction message is input from the reviewer terminal (200) as shown in FIG. 20, the correction message can be transmitted to the fan terminal (200).
[0255] As illustrated in FIG. 20, the artist message review method may further include a correction message receiving step (S550).
[0256] In the correction message receiving step (S550), if the control unit (141) receives a correction message from the reviewer terminal (200) in response to the artist message review, the correction message storage step (S231) in the DM-specific database, the private message generation step (S241), and the private message storage step (S251) in the individual database can be performed. That is, the correction message is converted into a private message and stored instead of the artist message.
[0257] In the step of storing a correction message in a DM-specific database (S231), the control unit (141) stores the received correction message in a DM-specific database (1310).
[0258] Specifically, the control unit (141) requests the storage of correction message data in the DM-specific database (1310). Therefore, the step of storing the correction message in the DM-specific database (S231) may include the step of requesting the storage of the correction message in the message body storage unit (1332) and the step of receiving a correction message ID in response.
[0259] Additionally, the DM database (1310) stores correction messages or correction message IDs for each DM ID. At this time, the correction message data stored in the DM database (1320) includes data regarding at least one of the correction message ID and the DM ID included in the artist message.
[0260] In the private message generation step (S241), the control unit (141) generates a private message to be transmitted to a fan user who subscribes to the artist based on the received correction message.
[0261] Specifically, the control unit (141) that has received a response of completion of saving correction message data from the DM database (1310) requests the subscription information storage unit (1331) to retrieve subscriber list information corresponding to the DM ID. A message queue unit (not shown) included in the control unit (141) requests the subscription information storage unit (1331) to retrieve a list of subscriber IDs that subscribe to the artist based on the DM ID.
[0262] When the control unit (141) receives a subscriber ID list from the subscription information storage unit (1331), the control unit generates a private message for each subscriber based on the correction message data and the subscriber ID list.
[0263] In the private message storage step (S251), the control unit (141) stores the generated private message in a corresponding individual database (1320).
[0264] Specifically, private messages are generated for each fan user who subscribes to the artist. Furthermore, each fan user is assigned a separate database (1321). Accordingly, the control unit (141) stores the generated private messages in each fan user's individual database (1321).
[0265] When an artist sends a message to fans according to the artist message review method described above, a reviewer can review the artist's message and decide whether to send it or make corrections. Furthermore, reviewing artist messages can help prevent misdelivery or errors.
[0266] Hereinafter, the artist message and fan message filtering method will be described in detail with reference to FIGS. 21 to 25.
[0267] Figure 21 is a conceptual diagram illustrating the function of a processor according to an embodiment of the present invention.
[0268] Referring to FIG. 21, the processor (140) may include, in addition to the functions of the control unit (141) described above, a taboo word filtering module (144) for filtering artist messages and fan messages, and a malicious message filtering module (145) for filtering malicious messages.
[0269] The forbidden word filtering module (144) determines whether artist messages and fan messages contain preset forbidden words. The forbidden words can be individually set for each artist and fan. Furthermore, for fans, the forbidden words can be set differently depending on the artist receiving the message.
[0270] The taboo word filtering module (144) identifies words included in artist messages and fan messages and determines whether the identified words correspond to preset taboo words.
[0271] Additionally, the taboo word filtering module (144) can convert fan message and artist message data into image data. Then, the taboo word filtering module (144) derives text corresponding to the converted image data.
[0272] The profanity filtering module (144) can identify words included in the text derived from an image, determine whether the identified words correspond to profanity, and perform profanity filtering on artist messages and fan messages.
[0273] The profanity filtering module (144) converts artist message data and fan message data into image data using a CNN (Convolution Neural Network) learning model.
[0274] Specifically, the profanity filtering module (144) can convert text corresponding to image data into consonants and vowels of Hangul respectively. For example, when the artist message or fan message contains content such as "んЙ刀│○ㅑ", '人ㅣ凹卜', etc., the profanity filtering module (144) converts the corresponding message into an image and derives consonants "ㅅ, ㄲ, ㅇ" and "ㅅ, ㅂ", and vowels "ㅐ, ㅣ, ㅑ" and "ㅣ, ㅏ". And it derives texts such as "새끼야" and "시바" which are combinations of vowels and consonants.
[0275] In addition, CNN can be composed of a part that extracts features of an image in a way that effectively recognizes and emphasizes features with adjacent images while maintaining spatial information of the image, and a part that classifies the image. The feature extraction area consists of a convolution layer that uses a filter to find features of the image while minimizing the number of shared parameters, and a pooling layer that enhances and collects features. Since it is possible to retrain and use CNN for new recognition tasks based on existing networks, the CNN learning model can filter new malicious messages creatively modified to avoid profanity.
[0276] Additionally, the taboo word filtering module (144) can filter whether the text derived using the Bidirectional Encoder Representation of Transformer (BERT) learning model contains taboo words. The BERT learning model can be fine-tuned using the accuracy of the judgment results.
[0277] BERT is a pre-trained model used by Google to label and train on vast amounts of text on the web using semi-supervised learning. BERT is used in the embedding process for tasks such as named entity recognition and text classification.
[0278] As a method for determining whether a forbidden word is included in a message by the forbidden word filtering module (144), a method using an algorithm that labels a message containing a vocabulary set by the user or a method using a judgment based on preset criteria can be used.
[0279] Pre-established standards can be categorized into expressions that include general profanity, vulgar and degrading expressions that are offensive to others, sexually provocative expressions, expressions that involve physical threats, expressions of discrimination based on region / race / country / religion, etc., and derogatory expressions that cause humiliation and shame to others.
[0280] The forbidden word filtering module (144) can filter messages by outputting '0' as a value for messages containing profanity or slander, and '1' as a value for messages not containing profanity or slander.
[0281] The context of the text derived from the malicious message filtering module (145) and the forbidden word filtering module (144) is identified, and based on the identified context, the fan message is filtered to determine whether it corresponds to a malicious message.
[0282] The malicious message filtering module (145) classifies the context of a fan message by performing encoding using a bidirectional context analysis on the fan message. More specifically, the malicious message filtering module (145) can filter out whether the fan message is malicious by inputting the fan message into a BERT (Bidirectional Encoder Representation of Transformer) learning model. The BERT learning model used in the malicious message filtering module (145) receives a single embedding that combines token embedding, segment embedding, and position embedding for the fan message and identifies the context of the fan message.
[0283] In addition, the malicious message filtering module (145) prevents out-of-vocabulary of words that make up fan messages by using word piece embedding that segments words into sub-word units as token embedding.
[0284] Specifically, the malicious message filtering module (145) can process token embedding using the word-piece embedding method. In the case of word-piece embedding, embedding can be performed in units smaller than words, and the longest subword can be set as a single unit. That is, frequently appearing subwords can be utilized as units for embedding themselves, and infrequently appearing words (rare words) can be separated into subwords. The existing word embedding method has a vocabulary outflow problem, making it difficult to learn or translate rare words, names, numbers, or words that do not exist in the vocabulary, whereas the word-piece embedding method can be applied to all languages, and since it segments words into subword units, it is effective in solving the vocabulary outflow problem while also increasing accuracy.
[0285] In addition, the malicious message filtering module (145) can input two sentences along with a sentence delimiter ([SEP]). At this time, due to the input length limitation, the total length of the two sentences may be limited to 512 subwords or less. In other words, since the learning time increases squarely as the input length increases, the input length must be set appropriately. Since the Korean language consists of an average of 20 subwords and 99% of the sentences do not exceed 60 subwords, the input length can be limited to 128 by combining the two sentences. However, since there may be long sentences, a method may be used in which the input length is first limited to 128 and learning is performed, and additional learning is performed in the final stage for inputs longer than 128.
[0286] Additionally, the malicious message filtering module (145) may use position encoding. For this purpose, a Transformer model may be applied, and the Transformer model may use a Self-Attention model instead of a CNN or RNN model. In this case, since the Self-Attention model does not reflect the position of the input, additional position information regarding the input token must be input. Therefore, Positional encoding using the Sinusoid function was used in the Transformer model, and this can be modified to use positional encoding in the malicious message filtering module (145). In positional encoding, encoding can be performed simply in the order of tokens, such as 0, 1, 2, ...
[0287] Additionally, the malicious message filtering module (145) can combine token embeddings, segment embeddings, and position embeddings to generate a single embedding (i.e., a single embedding) value. At this time, the single embedding can be generated in the form of a feature map, and can be transformed into an appropriate form for subsequent operation before use. For example, the malicious message filtering module (145) can use the results of applying layer normalization and dropout to the single embedding as input.
[0288] In addition, the malicious message filtering module (145) can increase the accuracy of malicious message judgment by providing the output malicious message encoding value to a fine tuning network. That is, the malicious message filtering module (145) can receive two sentences regarding a user's message as input along with a sentence delimiter ([SEP]), and can be constructed through pre-learning to generate a malicious message encoding value regarding the possibility of a malicious message as output through an internal inference step.
[0289] The malicious message filtering module (145) can basically perform malicious comment filtering operations by utilizing the BERT learning model as is, but the accuracy of malicious message identification can be improved through additional training. To this end, the malicious message filtering module (145) defines a model architecture that combines the BERT learning model with a fine-tuned network, which can be utilized in the malicious message identification process.
[0290] The malicious message filtering module (145) can determine the possibility of a fan message being a malicious message by providing the malicious message encoding value to a one-dimensional convolution layer (1D Convolution Layer) or by performing an ensemble operation based on a variable kernel size to generate a feature map and providing the feature map to a BiLSTM (Bidirectional Long Short-Term Memory) network.
[0291] In addition, the malicious message filtering module (145) can perform binary classification on the possibility of malicious messages by passing the results output through the BiLSTM network to the affine and softmax layers. Here, BiLSTM (Bidirectional Long Short-Term Memory) can correspond to a structure that uses two independent LSTM architectures together. First, the bidirectional LSTM can sequentially input sentences.
[0292] That is, it can receive sentences sequentially from left to right, just like a human. Furthermore, bidirectional LSTMs can be used in conjunction with reverse LSTMs, which read sentences from right to left, to consider the context behind the sentence. When making predictions in the output layer, bidirectional LSTMs can utilize both types of information by concatenating the outputs of forward and reverse LSTMs.
[0293] These bidirectional LSTMs enable end-to-end learning, simultaneously learning all parameters while minimizing loss in output values. They can also improve performance by internalizing word-phrase similarities into input vectors. Furthermore, bidirectional LSTMs can benefit from the inherent performance of LSTMs and the introduction of an attention mechanism, which allows for performance to remain intact even with long data lengths.
[0294] In addition, the malicious message filtering module (145) can implement a malicious message filter by combining a BERT learning model and a CNN (Convolutional Neural Network) learning model. More specifically, the malicious message filtering module (145) can input a malicious message encoding value to a one-dimensional convolutional layer (1D Convolution Layer), input the output of the one-dimensional convolutional layer to a GeLU layer, input the output of the GeLU layer to a MaxPooling layer, and generate a binary classification result based on the output of the MaxPooling layer. At this time, a linear classification method can be applied to the binary classification.
[0295] For example, linear classification methods may include linear regression or linear classification models.
[0296] In addition, the malicious message filtering module (145) can implement a malicious message filter by combining a BERT learning model and an ensemble CNN model. More specifically, the malicious message filtering module (145) can perform a first step of performing an ensemble operation based on a variable kernel size based on a malicious message encoding value, a second step of independently inputting the results of the ensemble operation to a GeLU layer, a third step of independently inputting the outputs of the GeLU layer to a MaxPooling layer, a fourth step of sequentially connecting the outputs of the MaxPooling layer to generate an intermediate value, a fifth step of inputting the intermediate value to an affine layer, a sixth step of inputting the output of the affine layer to a softmax layer, and a seventh step of generating a binary classification result based on the result of the softmax layer.
[0297] Here, the ensemble operation based on variable kernel sizes may correspond to multiple convolution operations performed by applying kernel sizes differently to the same malicious message encoding value. In addition, the convolution operation may include a 1D convolution operation. That is, the malicious message filtering module (145) may independently apply kernels with different sizes to the feature map corresponding to the malicious comment encoding value, thereby performing multiple convolution operations. Thereafter, the malicious message filtering module (145) may perform a classification operation regarding the possibility of a fan message being a malicious message through a step of integrating the results of each convolution operation into one (i.e., the fourth step).
[0298] In addition, the malicious message filtering module (145) can implement a malicious message filter by combining a BERT learning model, an ensemble CNN model, and a BiLSTM. More specifically, the malicious message filtering module (145) can perform a first step of performing an ensemble operation based on a variable kernel size based on a malicious comment encoding value, a second step of independently inputting the results of the ensemble operation to a GeLU layer, a third step of independently inputting the outputs of the GeLU layer to a MaxPooling layer, a fourth step of sequentially connecting the outputs of the MaxPooling layer to generate an intermediate value, a fifth step of applying the intermediate value to a BiLSTM (Bidirectional LSTM) (Long Short-Term Memory) model, a sixth step of inputting the result of the application to the BiLSTM model to an affine layer, a seventh step of inputting the output of the affine layer to a softmax layer, and an eighth step of generating a binary classification result based on the result of the softmax layer.
[0299] That is, the malicious message filtering module (145) can implement a malicious message filter by adding a step of applying an intermediate value to a BiLSTM (Bidirectional LSTM) (Long Short-Term Memory) model between the fourth and fifth steps of the method of implementing a malicious message filter by combining a BERT learning model and an ensemble CNN model.
[0300] In addition, for filtering malicious messages, the control unit (141) may derive a malicious message prediction score based on the frequency of fan use of forbidden words, contextual information of fan messages, and the frequency of fan writing malicious messages. If the derived malicious message prediction score is equal to or higher than a preset first reference score, the control unit (141) may provide a fan message review request notification to the fan terminal (200). In addition, if the derived malicious message prediction score is equal to or higher than a preset second reference score, the control unit (141) may provide a notification to stop sending fan messages. In this case, the second reference score is set to have a higher value than the first reference score.
[0301] Hereinafter, the data processing process for filtering fan messages is described in detail with reference to FIG. 22.
[0302] Figure 22 is a data flow diagram for fan message filtering according to an embodiment of the present invention.
[0303] Referring to Figure 22, for fan messages, a forbidden word filtering step and a malicious message filtering step may be additionally performed for message filtering.
[0304] Specifically, when the control unit (141) receives a fan message from the fan terminal (200), the control unit (141) requests the forbidden word filtering module (144) to filter forbidden words for the fan message.
[0305] The forbidden word filtering module (144) that receives a request for filtering forbidden words filters whether the fan message contains forbidden words based on the fan forbidden words set for the receiving artist.
[0306] Additionally, as described with reference to FIG. 21, the forbidden word filtering module (144) can convert a fan message into an image. The forbidden word filtering module (144) derives text corresponding to the converted image data, identifies words included in the derived text, and determines whether the identified words correspond to forbidden words, thereby performing forbidden word filtering of the fan message.
[0307] The forbidden word filtering module (144) responds with the fan message filtering result to the control unit (141), and if the fan message does not contain a forbidden word, the control unit (141) performs a request to store the fan message to the message body storage unit (1332) and a request to store the fan message to an individual database (1320).
[0308] When the fan message is completely stored in the individual database (1320), the control unit (141) requests the malicious message filtering module (145) to filter the malicious message. The malicious message filtering module (145) that receives the request for malicious message filtering classifies the context of the fan message and filters whether the fan message corresponds to a malicious message based on the classified context.
[0309] As described with reference to FIG. 21, the malicious message filtering module (145) classifies the context of a fan message by performing encoding using bidirectional context analysis on the fan message. The malicious message filtering module (145) can filter out whether the fan message is malicious by inputting the fan message into a BERT (Bidirectional Encoder Representation of Transformer) learning model. The BERT learning model used in the malicious message filtering module (145) receives a single embedding that combines token embedding, segment embedding, and position embedding for the fan message, identifies the context of the fan message, and classifies the malicious message.
[0310] The control unit (141), which receives the malicious message filtering result from the malicious message filtering module (145), derives a malicious message prediction score based on the frequency of use of forbidden words by the received fan, the context information of the fan message, and the frequency of writing malicious messages by the fan.
[0311] Additionally, the control unit (141) may provide a fan message review request notification to the fan terminal (200) if the derived malicious message prediction score is equal to or greater than a preset first reference score. Additionally, the control unit (141) may provide a fan message transmission suspension notification if the derived malicious message prediction score is equal to or greater than a preset second reference score. In this case, the second reference score is set to have a higher value than the first reference score.
[0312] If the result of filtering malicious messages indicates that the fan message is not a malicious message, the control unit (141) performs a subscription data lookup using the subscription information storage unit (1332) and requests the fan message to be stored in the artist reception database (1323).
[0313] Hereinafter, with reference to FIG. 23, the data processing process for filtering artist messages is described.
[0314] Figure 23 is a data flow diagram for artist message filtering according to an embodiment of the present invention.
[0315] Referring to Figure 23, for artist messages, an additional step of filtering forbidden words can be performed for message filtering.
[0316] Specifically, when the control unit (141) receives an artist message from the artist terminal (200), the control unit (141) requests the forbidden word filtering module (144) to filter forbidden words for the artist message.
[0317] The forbidden word filtering module (144) that receives the forbidden word filtering request filters whether the artist message contains a forbidden word based on the artist forbidden words set for the artist who wrote the message.
[0318] Additionally, as described with reference to FIG. 21, the taboo word filtering module (144) can convert artist messages into images. The taboo word filtering module (144) derives text corresponding to the converted image data, identifies words included in the derived text, and determines whether the identified words correspond to taboo words, thereby performing taboo word filtering of the artist message.
[0319] The forbidden word filtering module (144) responds with the artist message filtering result to the control unit (141), and if the artist message does not contain a forbidden word, the control unit (141) performs a request to store the artist message in the message body storage unit (1332), a request to store the artist message in the artist transmission database (1322), a request to store the artist message in the DM-specific database (1310), and a request to store the private message in the individual database (1320).
[0320] Hereinafter, a method for filtering fan messages will be described in detail with reference to FIG. 24.
[0321] Figure 24 is a flowchart of a fan message filtering method according to an embodiment of the present invention.
[0322] Referring to FIG. 24, in the case of the fan message filtering method, a forbidden word filtering step (S610) and a malicious message filtering step (S620) may be additionally included in the fan message storage method illustrated in FIG. 10.
[0323] In the forbidden word filtering step (S610), when the control unit (141) receives a fan message from the fan terminal (200), the control unit (141) requests the forbidden word filtering module (144) to filter forbidden words for the fan message.
[0324] In the forbidden word filtering step (S610), the forbidden word filtering module (144) that has received the forbidden word filtering request filters whether the fan message contains a forbidden word based on the fan forbidden words set for the receiving artist.
[0325] In the forbidden word filtering step (S610), the forbidden word filtering module (144) can convert a fan message into an image. The forbidden word filtering module (144) derives text corresponding to the converted image data, identifies words included in the derived text, and determines whether the identified words correspond to forbidden words, thereby performing forbidden word filtering of the fan message.
[0326] The forbidden word filtering module (144) responds with the fan message filtering result to the control unit (141), and the control unit (141) performs the fan message storage step (S120) in an individual database if the fan message does not contain a forbidden word.
[0327] In the swear word filtering step (S610), the swear word filtering module (144) converts artist message data and fan message data into image data using a CNN (Convolution Neural Network) learning model.
[0328] Specifically, the swear word filtering module (144) can convert the text corresponding to the image data into consonants and vowels of Hangul respectively. For example, when the artist message or fan message contains content such as "んЙ刀│○ㅑ", '人ㅣ凹卜', etc., the swear word filtering module (144) converts the corresponding message into an image to derive the consonants "ㅅ, ㄲ, ㅇ" and "ㅅ, ㅂ", and the vowels "ㅐ, ㅣ, ㅑ" and "ㅣ, ㅏ". Then, it derives the combinations of vowels and consonants, "새끼야" and "시바", as text.
[0329] In addition, the CNN can be composed of a part that extracts the features of an image in a way that effectively recognizes and emphasizes the features with adjacent images while maintaining the spatial information of the image, and a part that classifies the image. The feature extraction area is composed of a convolution layer that uses a filter to find the features of the image while minimizing the number of shared parameters, and a pooling layer that enhances and collects the features. Since it is possible to re - learn and use the CNN for new recognition tasks based on the existing network, the CNN learning model can filter new malicious messages creatively modified to avoid swear words.
[0330] Additionally, in the forbidden word filtering step (S610), the forbidden word filtering module (144) can filter whether the derived text contains forbidden words using a BERT (Bidirectional Encoder Representation of Transformer) learning model. The BERT learning model can be fine-tuned using the accuracy of the judgment results.
[0331] BERT is a pre-trained model used by Google to label and train on vast amounts of text on the web using semi-supervised learning. BERT is used in the embedding process for tasks such as named entity recognition and text classification.
[0332] As a method for determining whether a forbidden word is included in a message by the forbidden word filtering module (144), a method using an algorithm that labels a message containing a vocabulary set by the user or a method using a judgment based on preset criteria can be used.
[0333] Pre-established standards can be categorized into expressions that include general profanity, vulgar and degrading expressions that are offensive to others, sexually provocative expressions, expressions that involve physical threats, expressions of discrimination based on region / race / country / religion, etc., and derogatory expressions that cause humiliation and shame to others.
[0334] In the forbidden word filtering step (S610), the forbidden word filtering module (144) can filter messages by outputting '0' as a value in the case of a message containing abusive or slanderous expressions, and outputting '1' as a value in the case of a message not containing abusive or slanderous expressions.
[0335] When the fan message is completely stored in the individual database (1320), in the malicious message filtering step (S620), the control unit (141) requests the malicious message filtering module (145) to filter the malicious message. In the malicious message filtering step (S620), the malicious message filtering module (145) that has received the malicious message filtering request classifies the context of the fan message and filters whether the fan message corresponds to a malicious message based on the classified context.
[0336] In the malicious message filtering step (S620), the context of the text derived from the malicious message filtering module (145) and the forbidden word filtering module (144) is identified, and based on the identified context, whether the fan message corresponds to a malicious message is filtered.
[0337] To this end, the malicious message filtering module (145) performs encoding using bidirectional context analysis on fan messages to classify the context of the fan messages.
[0338] In the malicious message filtering step (S620), the malicious message filtering module (145) can filter out whether the fan message is malicious by inputting the fan message into a BERT (Bidirectional Encoder Representation of Transformer) learning model. The BERT learning model used in the malicious message filtering module (145) receives a single embedding that combines token embedding, segment embedding, and position embedding for the fan message, identifies the context of the fan message, and classifies the malicious message.
[0339] In the malicious message filtering step (S620), the malicious message filtering module (145) classifies the context of the fan message by performing encoding using bidirectional context analysis on the fan message. More specifically, the malicious message filtering module (145) can filter out whether the fan message is malicious by inputting the fan message into a BERT (Bidirectional Encoder Representation of Transformer) learning model. The BERT learning model used in the malicious message filtering module (145) receives a single embedding that combines token embedding, segment embedding, and position embedding for the fan message and identifies the context of the fan message.
[0340] In addition, the malicious message filtering module (145) prevents out-of-vocabulary of words that make up fan messages by using word piece embedding that segments words into sub-word units as token embedding.
[0341] Specifically, the malicious message filtering module (145) can process token embedding using the word-piece embedding method. In the case of word-piece embedding, embedding can be performed in units smaller than words, and the longest subword can be set as a single unit. That is, frequently appearing subwords can be utilized as units for embedding themselves, and infrequently appearing words (rare words) can be separated into subwords. The existing word embedding method has a vocabulary outflow problem, making it difficult to learn or translate rare words, names, numbers, or words that do not exist in the vocabulary, whereas the word-piece embedding method can be applied to all languages, and since it segments words into subword units, it is effective in solving the vocabulary outflow problem while also increasing accuracy.
[0342] In addition, in the malicious message filtering step (S620), the malicious message filtering module (145) can input two sentences together with a sentence delimiter ([SEP]). At this time, due to the limitation on the input length, the total length of the two sentences may be limited to 512 subwords or less. In other words, since the learning time increases squarely as the length of the input increases, the length of the input must be set appropriately. Since the Korean language consists of an average of 20 subwords and 99% of the sentences do not exceed 60 subwords, the length of the input can be limited to 128 by combining the two sentences. However, since there may be long sentences, a method may be used in which the length of the input is first limited to 128 and learning is performed, and additional learning is performed in the final stage for inputs longer than 128.
[0343] In addition, in the malicious message filtering step (S620), the malicious message filtering module (145) may use position encoding. For this purpose, a Transformer model may be applied, and the Transformer model may use a Self-Attention model instead of a CNN or RNN model. In this case, since the Self-Attention model does not reflect the position of the input, additional position information regarding the input token must be input. Therefore, Positional encoding using the Sinusoid function was used in the Transformer model, and this can be modified to use positional encoding in the malicious message filtering module (145). In positional encoding, encoding can be performed simply in the order of tokens, such as 0, 1, 2, ...
[0344] Additionally, in the malicious message filtering step (S620), the malicious message filtering module (145) can combine token embedding, segment embedding, and position embedding to generate a single embedding (i.e., a single embedding) value. At this time, the single embedding can be generated in the form of a feature map, and can be used after being transformed into an appropriate form according to the subsequent operation process. For example, the malicious message filtering module (145) can use as input the result of applying layer normalization and dropout to the single embedding.
[0345] In addition, in the malicious message filtering step (S620), the malicious message filtering module (145) can increase the accuracy of malicious message judgment by providing the output malicious message encoding value to a fine tuning network. That is, the malicious message filtering module (145) can receive two sentences regarding the user's message as input along with a sentence delimiter ([SEP]), and can be constructed through pre-learning to generate a malicious message encoding value regarding the possibility of a malicious message as output through an internal inference step.
[0346] In the malicious message filtering step (S620), the malicious message filtering module (145) can basically perform the malicious comment filtering operation by utilizing the BERT learning model as is, but the accuracy of malicious message judgment can be improved through additional learning. To this end, the malicious message filtering module (145) can define a model architecture that combines the BERT learning model and a fine-tuned network and utilize it in the malicious message judgment process.
[0347] The malicious message filtering module (145) can determine the possibility of a fan message being a malicious message by providing the malicious message encoding value to a one-dimensional convolution layer (1D Convolution Layer) or by performing an ensemble operation based on a variable kernel size to generate a feature map and providing the feature map to a BiLSTM (Bidirectional Long Short-Term Memory) network.
[0348] And, in the malicious message filtering step (S620), the malicious message filtering module (145) can perform binary classification on the possibility of malicious messages by passing the result output through the BiLSTM network to the Affine and Softmax layers. Here, BiLSTM (Bidirectional Long Short-Term Memory) and bidirectional LSTM can correspond to a structure that uses two independent LSTM architectures together. First, the bidirectional LSTM can sequentially input sentences.
[0349] That is, it can receive sentences sequentially from left to right, just like a human. Furthermore, bidirectional LSTMs can be used in conjunction with reverse LSTMs, which read sentences from right to left, to consider the context behind the sentence. When making predictions in the output layer, bidirectional LSTMs can utilize both types of information by concatenating the outputs of forward and reverse LSTMs.
[0350] These bidirectional LSTMs enable end-to-end learning, simultaneously learning all parameters while minimizing loss in output values. They can also improve performance by internalizing word-phrase similarities into input vectors. Furthermore, bidirectional LSTMs can benefit from the inherent performance of LSTMs and the introduction of an attention mechanism, which allows for performance to remain intact even with long data lengths.
[0351] In addition, in the malicious message filtering step (S620), the malicious message filtering module (145) can implement a malicious message filter by combining the BERT learning model and the CNN (Convolutional Neural Network) learning model. More specifically, the malicious message filtering module (145) can input a malicious message encoding value to a one-dimensional convolutional layer (1D Convolution Layer), input the output of the one-dimensional convolutional layer to a GeLU layer, input the output of the GeLU layer to a MaxPooling layer, and generate a binary classification result based on the output of the MaxPooling layer. At this time, a linear classification method can be applied to the binary classification.
[0352] For example, linear classification methods may include linear regression or linear classification models.
[0353] In addition, in the malicious message filtering step (S620), the malicious message filtering module (145) can implement a malicious message filter by combining the BERT learning model and the ensemble CNN model. More specifically, the malicious message filtering module (145) can perform a first step of performing an ensemble operation based on a variable kernel size based on a malicious message encoding value, a second step of independently inputting the results of the ensemble operation to a GeLU layer, a third step of independently inputting the outputs of the GeLU layer to a MaxPooling layer, a fourth step of sequentially connecting the outputs of the MaxPooling layer to generate an intermediate value, a fifth step of inputting the intermediate value to an affine layer, a sixth step of inputting the output of the affine layer to a softmax layer, and a seventh step of generating a binary classification result based on the result of the softmax layer.
[0354] Here, the ensemble operation based on variable kernel sizes may correspond to multiple convolution operations performed by applying kernel sizes differently to the same malicious message encoding value. In addition, the convolution operation may include a 1D convolution operation. That is, the malicious message filtering module (145) may independently apply kernels with different sizes to the feature map corresponding to the malicious comment encoding value, thereby performing multiple convolution operations. Thereafter, the malicious message filtering module (145) may perform a classification operation regarding the possibility of a fan message being a malicious message through a step of integrating the results of each convolution operation into one (i.e., the fourth step).
[0355] Additionally, in the malicious message filtering step (S620), the malicious message filtering module (145) can implement a malicious message filter by combining the BERT learning model, the ensemble CNN model, and BiLSTM. More specifically, the malicious message filtering module (145) can perform a first step of performing an ensemble operation based on a variable kernel size based on a malicious comment encoding value, a second step of independently inputting the results of the ensemble operation to a GeLU layer, a third step of independently inputting the outputs of the GeLU layer to a MaxPooling layer, a fourth step of sequentially connecting the outputs of the MaxPooling layer to generate an intermediate value, a fifth step of applying the intermediate value to a BiLSTM (Bidirectional LSTM) (Long Short-Term Memory) model, a sixth step of inputting the result of the application to the BiLSTM model to an affine layer, a seventh step of inputting the output of the affine layer to a softmax layer, and an eighth step of generating a binary classification result based on the result of the softmax layer.
[0356] That is, the malicious message filtering module (145) can implement a malicious message filter by adding a step of applying an intermediate value to a BiLSTM (Bidirectional LSTM) (Long Short-Term Memory) model between the fourth and fifth steps of the method of implementing a malicious message filter by combining a BERT learning model and an ensemble CNN model.
[0357] In addition, in the malicious message filtering step (S620), the control unit (141) can derive a malicious message prediction score based on the frequency of the fan's use of forbidden words, the context information of the fan message, and the frequency of the fan's writing of malicious messages for malicious message filtering.
[0358] In the malicious message filtering step (S620), the control unit (141) may provide a fan message review request notification to the fan terminal (200) if the derived malicious message prediction score is equal to or greater than a preset first reference score. Furthermore, the control unit (141) may provide a fan message transmission suspension notification if the derived malicious message prediction score is equal to or greater than a preset second reference score. In this case, the second reference score is set to have a higher value than the first reference score.
[0359] If the fan message is not a malicious message as a result of the malicious message filtering, the message feed provision step (S130) is performed.
[0360] Hereinafter, the artist message filtering method is described in detail with reference to FIG. 25.
[0361] Figure 25 is a flowchart of an artist message filtering method according to an embodiment of the present invention.
[0362] Referring to FIG. 25, in the case of the artist message filtering method, a taboo word filtering step (S511) can be additionally performed in the artist message storage method illustrated in FIG. 11.
[0363] In the forbidden word filtering step (S511), when the control unit (141) receives an artist message from the artist terminal (200), the control unit (141) requests the forbidden word filtering module (144) to filter forbidden words for the artist message.
[0364] In the forbidden word filtering step (S511), the forbidden word filtering module (144) that has received the forbidden word filtering request filters whether the artist message contains a forbidden word based on the artist forbidden words set for the artist who wrote the message.
[0365] As described above, the forbidden word filtering module (144) can convert an artist message into an image. The forbidden word filtering module (144) derives text corresponding to the converted image data, identifies words included in the derived text, and determines whether the identified words correspond to forbidden words, thereby performing forbidden word filtering of the artist message.
[0366] The forbidden word filtering module (144) responds with the artist message filtering result to the control unit (141), and if the artist message does not contain a forbidden word, the control unit (141) performs the artist message storage step (S220) in the individual database (1320), the artist message storage step (S230) in the DM-specific database (1310), the private message generation step (S240), and the private message storage step (S250) in the individual database (1321).
[0367] In the description of the present invention described above, the artist terminal (200-1) and the fan terminal (200-2) may correspond to an artist account and a fan account, or a terminal logged in using an artist account and a terminal logged in using a fan account.
[0368] The foregoing description of the present invention is for illustrative purposes only, and those skilled in the art will readily appreciate that the present invention can be readily modified into other specific forms without altering the technical spirit or essential characteristics of the present invention. Therefore, the embodiments described above should be understood as illustrative in all respects and not restrictive. For example, each component described as a single entity may be implemented in a distributed manner, and similarly, components described as distributed may be implemented in a combined manner.
[0369] The scope of the present invention is indicated by the claims described below rather than the detailed description above, and all changes or modifications derived from the meaning and scope of the claims and their equivalent concepts should be interpreted as being included in the scope of the present invention.
[0370] The form for carrying out the invention is the same as the best form for carrying out the invention described above.
[0371] The present invention relates to a method and device for providing a private chat service, and is applicable to the entertainment industry and messenger-related industries, and thus has industrial applicability.
Claims
1. A method for providing a private chat service by relaying messages between an artist terminal and multiple fan terminals on a private chat service relay server. A step of receiving an artist message for transmission from an artist terminal to the fan terminal, A step of transmitting the above artist message to a preset reviewer terminal, A step of waiting for the artist message to be sent to the fan terminal before the reviewer terminal approves the sending of the artist message, If the reviewer terminal approves the sending of the artist message, a step of storing the artist message on the private chat service relay server, and A step of converting an artist message stored in the above private chat service relay server into a private message and transmitting it to the fan terminal, The above private message is a method for providing a private chat service, which means a message in which specific words or keywords in the message are converted according to the recipient.
2. In paragraph 1, The step of transmitting the above artist message to the preset reviewer terminal is: A step of storing the above artist message and artist information in the artist transmission database; A step of generating and providing a message feed provided to the above reviewer terminal, and When a message search is requested from the above reviewer terminal, a step of receiving the artist message and artist information from the artist transmission database, generating a review message, and transmitting the review message to the reviewer terminal is included. A method for providing a private chat service, wherein the above message feed includes a notification and a post for indicating the receipt of a message on the reviewer terminal.
3. In paragraph 2, The step of generating the above review message and transmitting it to the reviewer terminal is: A step of generating a text message containing the content of the artist message and a link that allows the user to select whether to approve sending the artist message and sending it to the reviewer terminal; A method for providing a private chat service, including:
4. In paragraph 2, The step of generating the above review message and transmitting it to the reviewer terminal is: A method for providing a private chat service, comprising the step of generating a message including the content of the artist message and a link for selecting whether to approve sending of the artist message, and transmitting the message to the reviewer terminal, wherein the message means a message of an application for sending and receiving messages.
5. In paragraph 3 or 4, The step of waiting for the above artist message to be sent is: If the above reviewer terminal rejects the sending of the artist message, a step of deleting the artist message stored in the artist sending database, and A step of sending a message refusing to send the artist message to the artist terminal A method for providing a private chat service, including:
6. In paragraph 5, The step of saving the above artist message on the above private chat relay server is: A step of receiving a correction message for the artist message from the reviewer terminal; A step of storing the above correction message in the above private chat relay server, and A step of converting the above correction message into a private message and transmitting it to the fan terminal. A method for providing a private chat service, including:
7. In paragraph 6, The step of converting the above artist message into a private message and transmitting it to the fan terminal is as follows: A step of storing the above artist message and artist information or correction message and artist information in a database for each DM; A step of generating and providing a message feed provided to the artist terminal or the plurality of fan terminals, A step of receiving a request for a message update in a private chat from a first fan terminal requesting to view the artist message among the plurality of fan terminals; A step of generating a private message corresponding to the first fan terminal based on the fan account information corresponding to the first fan terminal and the artist message or the correction message, and A step of transmitting the above private message to the first fan terminal, A method for providing a private chat service, wherein the above DM database is configured to store messages by artist.
8. In paragraph 7, The step of storing the above artist message and artist information or correction message and artist information in the DM-specific database is: A step of matching a plurality of individual databases corresponding to each of the plurality of fan terminals, A step of generating a plurality of private messages corresponding to each of the plurality of fan terminals based on fan account information corresponding to each of the plurality of fan terminals and the artist message or the correction message, and A step of storing the plurality of private messages in the individual database corresponding to the fan terminal based on the fan account information. A method for providing a private chat service, including:
9. In paragraph 8, The step of transmitting the above private message to the first fan terminal is: When the above multiple private messages are completely stored in the individual database, a step of deleting the artist messages stored in the DM-specific database, and A step of receiving a private message from a first individual database corresponding to a first fan terminal and transmitting the private message to the first fan terminal. A method for providing a private chat service, including:
10. In paragraph 9, The step of transmitting the above private message to the first fan terminal is: A step of deleting the artist messages stored in the DM-specific database after a preset standard time has elapsed since the artist messages and artist information are stored in the DM-specific database, and A step of receiving a private message from the first individual database and transmitting it to the first fan terminal. A method for providing a private chat service, including:
11. A method for providing a private chat service by relaying messages between an artist terminal and multiple fan terminals on a private chat service relay server. Steps to display a message input area and message display area for using private chat on the artist terminal, When sending an artist message entered using the above message input area, a step of creating a review request message display area and displaying the artist message in the review request message display area; A step of transmitting the above artist message to a preset reviewer terminal, If the reviewer terminal approves the transmission of the artist message, a step of converting the artist message into a private message and transmitting it to the fan terminal, and If the artist message is transmitted to the fan terminal, the step of moving the artist message displayed in the review request message display area to the message display area and displaying it includes; The above private message is a method for providing a private chat service, which means a message in which specific words or keywords in the message are converted according to the recipient.
12. In paragraph 11, The step of transmitting the above artist message to the preset reviewer terminal is: A step of storing the above artist message and artist information in the artist transmission database; A step of displaying a message feed provided to the above reviewer terminal, and When requesting a message search from the above reviewer terminal, a step of displaying the artist message and artist information is included. A method for providing a private chat service, wherein the above message feed includes a notification and a post to notify the reviewer terminal of the receipt of a message.
13. In paragraph 12, Step of displaying the above artist message and artist information, A step of displaying a review message display area in which the content of the artist message is displayed and a message review approval selection area in which the user can select whether to approve sending of the artist message on the reviewer terminal. A method for providing a private chat service, including:
14. In paragraph 12, The step of moving the above artist message to the above message display area and displaying it is: If the above reviewer terminal rejects the sending of the artist message, a step of deleting the artist message stored in the artist sending database, and A step of displaying a message refusing to send the artist message on the artist terminal A method for providing a private chat service, including:
15. In paragraph 14, The steps for displaying the above artist message and artist information are: A step of displaying a correction message input area describing correction details of the above artist message on the reviewer terminal; A step of storing the correction message entered using the above correction message input area in the above private chat service relay server, and A step of converting the above correction message into a private message and transmitting it to the fan terminal. A method for providing a private chat service, including:
16. In paragraph 15, The step of converting the above artist message into a private message and transmitting it to the fan terminal is as follows: A step of storing the above artist message and artist information or correction message and artist information in a database for each DM; A step of generating and providing a message feed provided to the artist terminal or the plurality of fan terminals, A step of receiving a request for a message update in a private chat from a first fan terminal requesting to view the artist message among the plurality of fan terminals; A step of generating a private message corresponding to the first fan terminal based on the fan account information corresponding to the first fan terminal and the artist message or the correction message, and A step of transmitting the above private message to the first fan terminal, A method for providing a private chat service, wherein the above DM database is configured to store messages by artist.
17. In paragraph 16, The step of storing the above artist message and artist information or correction message and artist information in the DM-specific database is: A step of matching a plurality of individual databases corresponding to each of the plurality of fan terminals, A step of generating a plurality of private messages corresponding to each of the plurality of fan terminals based on fan account information corresponding to each of the plurality of fan terminals and the artist message or the correction message, and A step of storing the plurality of private messages in the individual database corresponding to the fan terminal based on the fan account information. A method for providing a private chat service, including:
18. In paragraph 17, The step of transmitting the above private message to the first fan terminal is: When the above multiple private messages are completely stored in the individual database, a step of deleting the artist messages stored in the DM-specific database, and A step of receiving a private message from a first individual database corresponding to a first fan terminal and transmitting the private message to the first fan terminal. A method for providing a private chat service, including:
19. A device that provides a private chat service by relaying messages between an artist terminal and multiple fan terminals on a private chat service relay server. A communication module that performs information transmission and reception between the artist terminal, reviewer terminal, fan terminal, and the above private chat service relay server, Memory to store private chat programs, A DM-specific database that stores messages by artist, Multiple individual databases allocated to each user and storing user-specific messages, and A processor for executing a private chat program stored in the above memory, The processor receives an artist message for transmission from an artist terminal to the fan terminal, transmits the artist message to a preset reviewer terminal, waits for transmission of the artist message to the fan terminal until the reviewer terminal approves transmission of the artist message, and, when the reviewer terminal approves transmission of the artist message, stores the artist message in the private chat service relay server, converts the artist message stored in the private chat service relay server into a private message and transmits it to the fan terminal, and the private message means a message in which a specific word or keyword of the message is converted according to a recipient.
Citation Information
Patent Citations
Apparatus and method for updating a network information based on a terminal
KR1020090043216A
Server and method for spam filtering
KR1020140127036A
Fast fault detection apparatus and method for physical redundancy of remote data concentrator
KR102208300B1
Service providing system and method for filtering abusing message related to personalized messaging service
KR102348748B1
Personalized Messaging Service System and Personalized Messaging Service Method
KR102354741B1
