Method and electronic device for providing push notification
By classifying tokens into valid and invalid groups based on filtering information, the electronic device optimizes push notification delivery to active users, improving engagement and reducing costs in the push notification system.
Patent Information
- Application Number
- PCT/KR2023/005693
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-24
- Filing Date
- 2023-04-26
- Publication Date
- 2024-10-31
AI Technical Summary
Existing push notification systems face inefficiencies in delivering relevant messages, as they often transmit notifications to inactive or uninterested users, leading to low view rates and increased costs due to unnecessary message transmission.
An electronic device method that classifies tokens into valid and invalid groups based on filtering information, such as transmission history and user preferences, to selectively send push notifications only to active and interested users, thereby optimizing message delivery.
This approach significantly improves user engagement by ensuring that only active users receive push notifications, enhancing the user experience and reducing operational costs by minimizing unnecessary message transmissions.
Smart Images

Figure KR2023005693_31102024_PF_FP_ABST
Abstract
Description
Methods and electronic devices for providing push notifications
[0001] Embodiments of the present disclosure relate to a method and an electronic device for providing push notifications. More specifically, embodiments of the present disclosure relate to a method and a device for transmitting push notifications to a server for valid tokens included in a valid token group among tokens within a token group based on filtering information.
[0002] Push messages can be short messages that pop up on desktop browsers, mobile home screens, and other platforms. Specifically, by periodically and appropriately delivering application-related push messages to users' devices, the user experience and the amount of time they spend using the application can be significantly improved. When an electronic device associated with an application sends push messages to multiple users associated with the application, a token corresponding to the device, which is an identifier used to distinguish the devices of each user, can be used.
[0003] The present disclosure proposes to address the aforementioned issues, and provides a method and device for providing push notifications. The technical challenges addressed by the present embodiment are not limited to the aforementioned technical challenges, and other technical challenges can be inferred from the following examples.
[0004] As a technical means for achieving the above-described task, a method for providing a push notification in an electronic device according to the first aspect of the present disclosure may include: a step of identifying a token group related to an application; a step of identifying filtering information for tokens within the token group; a step of classifying the token group into a valid token group and an invalid token group based on the filtering information; and a step of transmitting a push notification for a valid token within the valid token group to a server.
[0005] According to one embodiment, the filtering information includes at least one of first filtering information, second filtering information, and third filtering information, and the first filtering information includes the number of times that push notifications corresponding to each token were transmitted from the electronic device to the server during a first set period of time, the second filtering information includes information on whether push notifications related to an application of each device corresponding to the token are permitted, and the third filtering information includes history information on when the device corresponding to the token received a push message during a second set period of time.
[0006] According to one embodiment, the step of classifying the token group into a valid token group and an invalid token group may include the step of identifying a first token group including tokens that satisfy a condition that the number of times push notifications are transmitted from the electronic device to the server during a set first period is greater than or equal to a set number of times, based on the first filtering information.
[0007] In one embodiment, the step of classifying the token group into a valid token group and an invalid token group may include the step of identifying a second token group including tokens corresponding to devices that are allowed to receive push notifications related to the application, based on the second filtering information.
[0008] According to one embodiment, the step of classifying the token group into a valid token group and an invalid token group may include the step of identifying a third token group including a token corresponding to a device that received the push message, based on third filtering information.
[0009] According to one embodiment, the step of classifying a token group into a valid token group and an invalid token group includes: identifying a first token group from the token group based on first filtering information; identifying a second token group from the first token group based on second filtering information; and identifying an invalid token group from the second token group based on third filtering information, wherein the valid token group may include tokens that are not included in the invalid token group among tokens in the token group.
[0010] According to one embodiment, the step of classifying a token group into a valid token group and an invalid token group may include the step of storing at least one of an invalid token within the invalid token group, device identification information corresponding to the invalid token, and information about an operating system for each device corresponding to the invalid token in an invalid token database.
[0011] According to one embodiment, a method for providing a push notification may further include the steps of: identifying a first invalid token corresponding to a first device on which an application is executed among invalid tokens within an invalid token group; and changing the first invalid token from the invalid token group to a valid token group.
[0012] According to one embodiment, the second filtering information and the third filtering information may be at least a portion of the log data of the device associated with the application.
[0013] According to one embodiment, the push notification includes information about a valid token and information about an operating system corresponding to the valid token, and the server may be a proxy server that transmits information about the valid token to an operating system corresponding to the valid token based on the information about the operating system corresponding to the valid token.
[0014] An electronic device for providing a push notification according to a second aspect of the present disclosure includes a transceiver; one or more processors; and a storage storing one or more instructions executed by the one or more processors, wherein the one or more processors can, by executing the one or more instructions, identify a token group related to an application, identify filtering information for tokens within the token group, classify the token group into a valid token group and an invalid token group, and transmit a push notification for a valid token within the valid token group to a server.
[0015] A recording medium according to the third aspect of the present disclosure may be a non-transitory recording medium readable by a computer having recorded thereon a program for executing a method performed by an electronic device on a computer.
[0016] According to an embodiment of the present disclosure, an electronic device may classify a token group into a valid token group including valid tokens and an invalid token group including invalid tokens based on filtering information. The electronic device may transmit push notifications only for valid tokens within the valid token group to the server. In other words, the electronic device may not transmit push notifications for invalid tokens within the invalid token group to the server, thereby improving the view rate (viewing rate) of push messages confirmed by users of devices associated with an application.
[0017] The effects of the invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description of the claims.
[0018] FIG. 1 is a diagram illustrating a system in which a method for providing push notifications by an electronic device according to various embodiments can be implemented.
[0019] FIG. 2 is a drawing to further explain a system in which a method for providing push notifications by an electronic device according to various embodiments can be implemented.
[0020] Figure 3 is a flowchart illustrating a method for an electronic device to provide push notifications.
[0021] FIG. 4 is a flowchart illustrating a method by which an electronic device classifies tokens within a token group into an invalid token group and a valid token group based on filtering information according to one embodiment.
[0022] FIG. 5 is a flowchart illustrating a method by which an electronic device reclassifies at least some of the invalid tokens within an invalid token group into a valid token group.
[0023] FIG. 6 is a block diagram schematically illustrating an electronic device for providing push notifications according to one embodiment.
[0024] The terms used in the embodiments have been selected from widely used and common terms, taking into account the functions of the present disclosure. However, these terms may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, etc. Furthermore, in certain cases, terms may be arbitrarily selected by the applicant, in which case their meanings will be described in detail in the relevant description. Therefore, the terms used in this disclosure should not be defined simply as names of terms, but rather based on the meanings of the terms and the overall content of the present disclosure.
[0025] When a part of the specification is said to "include" a component, this does not exclude other components, but rather implies the inclusion of other components, unless otherwise specifically stated. Furthermore, terms such as "part" and "module" used in the specification mean a unit that processes at least one function or operation, which may be implemented in hardware, software, or a combination of hardware and software.
[0026] The expression “at least one of a, b, and c” described throughout the specification may encompass ‘a alone’, ‘b alone’, ‘c alone’, ‘a and b’, ‘a and c’, ‘b and c’, or ‘all of a, b, and c’.
[0027] The "terminal" mentioned below may be implemented as a computer or portable terminal that can connect to a server or other terminal via a network. Here, the computer includes, for example, a notebook, desktop, laptop, etc. equipped with a web browser, and the portable terminal may include, for example, a wireless communication device that guarantees portability and mobility, and may include all types of handheld-based wireless communication devices such as communication-based terminals such as IMT (International Mobile Telecommunication), CDMA (Code Division Multiple Access), W-CDMA (W-Code Division Multiple Access), LTE (Long Term Evolution), smartphones, tablet PCs, etc.
[0028] Below, embodiments of the present disclosure are described in detail with reference to the attached drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein.
[0029] In describing the embodiments, descriptions of technical details that are well-known in the technical field to which the present invention pertains and are not directly related to the present invention will be omitted. This is to avoid obscuring the gist of the present invention by omitting unnecessary explanations and to convey it more clearly.
[0030] For the same reason, some components in the attached drawings are exaggerated, omitted, or schematically depicted. Furthermore, the dimensions of each component do not entirely reflect its actual size. Identical or corresponding components in each drawing are assigned the same reference numbers.
[0031] The advantages and features of the present invention, and the methods for achieving them, will become clearer with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below and may be implemented in various different forms. These embodiments are provided only to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the invention, and the present invention is defined only by the scope of the claims. Like reference numerals designate like elements throughout the specification.
[0032] At this time, it will be understood that each block of the processing flow diagrams and combinations of the flow diagrams can be performed by computer program instructions. These computer program instructions can be installed in a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing equipment, so that the instructions executed by the processor of the computer or other programmable data processing equipment create a means for performing the functions described in the flow diagram block(s). These computer program instructions can also be stored in a computer-available or computer-readable memory that can direct a computer or other programmable data processing equipment to implement the functions in a specific manner, so that the instructions stored in the computer-available or computer-readable memory can also produce a manufactured item that includes an instruction means for performing the functions described in the flow diagram block(s). Since the computer program instructions may be installed on a computer or other programmable data processing device, a series of operational steps may be performed on the computer or other programmable data processing device to create a computer-executable process, and the instructions that cause the computer or other programmable data processing device to perform the steps for performing the functions described in the flowchart block(s) may also provide steps for performing the functions described in the flowchart block(s).
[0033] Additionally, each block may represent a module, segment, or portion of code that contains one or more executable instructions for performing a specific logical function(s). It should also be noted that in some alternative implementation examples, the functions described in the blocks may occur out of order. For example, two blocks depicted in succession may actually be executed substantially concurrently, or the blocks may sometimes be executed in reverse order, depending on their respective functions.
[0034] Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings.
[0035] FIG. 1 is a diagram illustrating a system in which a method for providing push notifications by an electronic device according to various embodiments can be implemented.
[0036] Referring to FIG. 1, a push notification-related system (10) according to various embodiments may be implemented by various types of devices. For example, the system (10) may include an electronic device (100) and a server (110). The system (10) illustrated in FIG. 1 only illustrates components related to the present embodiment. Therefore, those skilled in the art will understand that, in addition to the components illustrated in FIG. 1, other general-purpose components may be included.
[0037] Each of the electronic device (100) and the server (110) may include a transceiver, storage, and a processor. In addition, each of the electronic device (100) and the server (110) refers to a unit that processes at least one function or operation, which may be implemented by hardware, software, or a combination of hardware and software. Meanwhile, throughout the embodiments, each of the electronic device (100) and the server (110) is referred to as a separate device or server, but this may be a logically divided structure, and at least some of them may be implemented by a function separated from one device or server.
[0038] According to one embodiment, the electronic device (100) and the server (110) may include a plurality of computer systems or computer software implemented as network servers. For example, at least some of the electronic device (100) and the server (110) may refer to a computer system and computer software that are connected to a lower device that can communicate with other network servers through a computer network such as an intranet or the Internet, receive a task execution request, perform the task accordingly, and provide the execution result. In addition, at least some of the electronic device (100) and the server (110) may be understood as a broad concept that includes a series of application programs that can operate on a network server, and various databases built on other internal or connected nodes. For example, at least some of the electronic device (100) and the server (110) may be implemented using a network server program that is variously provided according to an operating system such as DOS, Windows, Linux, UNIX, or MacOS.
[0039] The electronic device (100) and the server (110) can communicate with each other through a network (not shown). The network includes a local area network (LAN), a wide area network (WAN), a value-added network (VAN), a mobile radio communication network, a satellite communication network, and a combination thereof, and is a comprehensive data communication network that allows each network component shown in FIG. 1 to communicate smoothly with each other, and may include wired Internet, wireless Internet, and mobile radio communication networks. Wireless communication may include, but is not limited to, wireless LAN (Wi-Fi), Bluetooth, Bluetooth low energy, Zigbee, Wi-Fi Direct (WFD), ultra wideband (UWB), infrared communication (IrDA, infrared Data Association), NFC (Near Field Communication), etc., for example.
[0040] According to one embodiment, the electronic device (100) can identify a token group related to an application, identify filtering information for tokens within the token group, classify the token group into a valid token group and an invalid token group, and transmit a push notification for a valid token within the valid token group to a server (110).
[0041] Here, the electronic device (100) may be an application server that manages application-related services and may be an application server that hosts applications or software via a communication protocol. The electronic device may be a provider that transmits push notifications and may be an application-related backend server.
[0042] A token is a unique address used by the operating system to correctly send push messages to a user's device. It can be a string value with a set number of characters. For example, a token can be called a device token and can consist of 64 hexadecimal characters. More specifically, a token can be a unique key individually assigned to a device associated with an application by the operating system's push notification gateway or push notification service. For example, a token can be an identifier that identifies a corresponding device among multiple devices associated with an application. In addition, a token can be an identifier of the device itself, and tokens for multiple applications installed on a device can all be the same. When a user installs an application on a device, restores the device, reinstalls the operating system, or other system-defined events occur, the token corresponding to the device associated with the application can be regenerated.
[0043] A token group may include tokens that are candidates for sending push notifications related to an application. More specifically, push notifications may be sent at a specific time for each application, and the token group may include a daily push token corresponding to a daily push notification sent daily.
[0044] However, if a user logs out of the application, deletes the application, or does not use the application for a set period of time, the probability of the push message being confirmed through the device may be low even if an application-related push message is provided to the user's device. Furthermore, providing push notifications on the electronic device (100) may actually damage the user's experience. Accordingly, the application-related electronic device (100) may need to divide token groups into valid token groups to which push notifications are transmitted and invalid token groups to which push notifications are not transmitted, based on filtering information.
[0045] Filtering information is data acquired during the process of transmitting push notifications related to an application, and can be used to divide token groups into valid token groups and invalid token groups. More specifically, the filtering information may include first filtering information acquired when transmitting a push notification from an electronic device (100) to a server (110), as well as second filtering information and third filtering information. The first filtering information may include the number of times that push notifications corresponding to each token were transmitted from the electronic device (100) to the server (110) during a set first period. The second filtering information may include information on whether push notifications related to the application of each device corresponding to the token are permitted. The third filtering information may include history information on push messages received by the device corresponding to the token during the set second period. The second filtering information and the third filtering information may be at least a portion of log data of the device related to the application.
[0046] The server (110) acts as a proxy server and can transmit information about a token to an operating system corresponding to the token based on a push notification received from the electronic device (100). The server (110) can act as a relay to transmit the push notification to the corresponding operating system corresponding to the token.
[0047] FIG. 2 is a drawing to further explain a system in which a method for providing push notifications by an electronic device according to various embodiments can be implemented.
[0048] A push notification related system (10) may further include an operating system, a user's device, a log data related database, and a platform, in addition to an electronic device (100) and a server (110). According to one embodiment, the system (10) may include an electronic device (100), a server (110), a first operating system (201), a second operating system (202), a first device (211), a second device (212), a first log DB (221), a second log DB (222), a first platform (231), and a second platform (232).
[0049] According to one embodiment, when an application is installed on a user's device and a system-defined event occurs, the user's device may transmit a token generation-related request to a push notification service within the operating system. The push notification service may generate a token for identifying the application on the device based on information in the device's certificate. The push notification service may encrypt the generated token using a token key and then transmit it to the user's device as a response. Here, information about the encrypted token may be a value in the form of Nsdata. The device may transmit identification information about the device and information about the token to the electronic device (100). Here, the identification information about the device may be a PCID, which is an identifier of the device. In addition, information about the token may be information about an encrypted token in the push notification service. Referring to FIG. 2, the electronic device (100) may receive identification information about the first device (211) and information about the first token from the first device (211). Additionally, the electronic device (100) can receive identification information about the second device (212) and information about the second token from the second device (212). That is, the electronic device (100) can receive information about a token for identifying an application of the device from a device on which the application is installed.
[0050] According to one embodiment, the electronic device (100) may classify token groups into valid token groups and invalid token groups based on filtering information. More specifically, the processor (103) of the electronic device (100) may classify token groups into valid token groups and invalid token groups based on filtering information.
[0051] For example, the electronic device (100) may store information related to an invalid token included in an invalid token group among token groups in an invalid token DB. For example, the information related to an invalid token may include at least one of the following: an invalid token, identification information of a device corresponding to the invalid token, and information about an operating system for each device corresponding to the invalid token. Here, the identification information of the device may be a PCID, which is an identifier of the device used as identification information of the device in addition to the token.
[0052] In addition, the electronic device (100) can transmit a push notification for a token within a valid token group, excluding tokens stored in an invalid token database, to the server (110). More specifically, the electronic device (100) can transmit a valid token and data related to the valid token to the server (110) via the transceiver (101). Here, the data related to the valid token can be stored in a payload, and the payload related to the push notification can include information about a push message to be transmitted to a device corresponding to the valid token. For example, the information about the push message can be, but is not limited to, an application-related alarm message or an advertising message.
[0053] Since the electronic device (100) only transmits push notifications for valid tokens to the server (110), the rate at which users check push messages through the device can be significantly increased compared to transmitting push notifications for invalid tokens to the server (110). Accordingly, the electronic device (100) can optimize the costs required to transmit push notifications. In addition, the electronic device (100) can minimize the load on the electronic device (100) by transmitting push notifications for valid tokens to the server (110). Furthermore, by classifying tokens into valid tokens and invalid tokens in the application-related electronic device (100), rather than in the operating system, the classified information can be utilized to more efficiently make promotional decisions related to the application.
[0054] According to one embodiment, when transmitting a push notification to a server (110), the electronic device (100) may update the number of times push notifications for a token have been transmitted to the server (110) during a set first period. That is, when transmitting a push notification to the server (110), the electronic device (100) may update the first filtering information stored in the storage (102) of the electronic device (100).
[0055] According to one embodiment, since the devices associated with the application may operate on various operating systems, the server (110) needs to transmit the received push notification to the operating system of the device corresponding to the token. In this regard, the data structure of the token generated for each operating system (e.g., the length of the token, etc.) may differ. Alternatively, the push notification may further include information about the operating system of the device corresponding to the token. Accordingly, the server (110) may identify the operating system corresponding to the token based on information about the data structure of the token or information about the operating system, and transmit the token and data related to the token to the identified operating system. For example, the server (110) may transmit a first push notification for a first token to a first operating system (201). Additionally, the server (110) may transmit a second push notification for a second token to a second operating system (202).
[0056] In one embodiment, the operating system may include a push notification service. For example, the push notification-related service may include Apple Push Notification Service (APNS) or Firebase Cloud Messaging (FCM). The operating system may transmit the received push notification to the push notification service within the operating system. Accordingly, the push notification service may decrypt the token using a token key corresponding to the token. The token key used for decryption may be a private key. For example, if the push notification service decrypts the token using the token key, the push notification service may determine the server response code as 200 and send a response indicating that the token was successfully processed to the operating system. Accordingly, the operating system may confirm that the decrypted token is a valid token. Conversely, if a system error occurs, such as the push notification service failing to decrypt the token using the token key, the push notification service may determine the server response code as 400 and send a response indicating that an error has occurred to the operating system.
[0057] In one embodiment, the operating system may determine a device corresponding to a normally processed token among valid tokens within a valid token group as the final destination for a push message. The operating system may transmit a push message containing the token and data related to the token to the device corresponding to the token. For example, a first operating system (201) may transmit a first push message to a first device (211) corresponding to a first token. Additionally, a second operating system (202) may transmit a second push message to a second device (212) corresponding to a second token.
[0058] According to one embodiment, a device that receives a push message may transmit identification information about the device and log data related to the push message to a log DB that stores log data. Here, the log data related to the push message may include history information on the device receiving the push message. For example, a first device (211) of a first operating system (201) may transmit first log data including identification information about the first device (211) and history information on receiving a first push message to a first log DB (221). In addition, for example, a first device (212) of a second operating system (202) may transmit second log data including identification information about the first device (212) and history information on receiving a second push message to a second log DB (222).
[0059] According to one embodiment, identification information for a device and log data related to a push message may be transmitted to an electronic device (100) via a platform. Here, the platform may be an application monitoring platform, which may be a logging system-based platform. The application monitoring platform may be, but is not limited to, a lumberjack platform. For example, the platform may transmit log data to an application-related electronic device (100). Referring to FIG. 2, a first platform (231) may transmit identification information and first log data for a first device (211) obtained from a first log DB (221) to the electronic device (100). A second platform (232) may transmit identification information and second log data for a second device (212) obtained from a second log DB (222) to the electronic device (100).
[0060] Figure 3 is a flowchart illustrating a method for an electronic device to provide push notifications.
[0061] Referring to FIG. 3, it can be clearly understood that some of the operations of the electronic device (100) providing a push notification may be changed or substituted or some of the order between the operations may be changed within a range clearly understood by a person having ordinary skill in the art to which the present invention pertains.
[0062] In step S310, the electronic device can check a token group associated with the application.
[0063] According to one embodiment, the electronic device (100) can identify a token group consisting of tokens that are candidates for transmitting push notifications related to an application. When the application is installed on the user's device, the user's device can send a request related to token generation to a push notification service within the operating system. The push notification service can encrypt the generated token using a token key and then transmit it to the user's device. The device that receives the token can transmit identification information about the device and information about the token to the electronic device (100). At this time, the token group stored in the storage (102) of the electronic device (100) can be updated to further include the received token.
[0064] In step S320, the electronic device can check filtering information for tokens within a token group. The filtering information may include at least one of first filtering information, second filtering information, and third filtering information.
[0065] For example, the first filtering information may include the number of times a push notification corresponding to each token was transmitted from the electronic device (100) to the server (110) during a set first period. For example, when the electronic device (100) transmits a push notification to the server (110), the electronic device (100) may update the number of times a push notification for a token was transmitted to the server (110) during the set first period. Accordingly, before the electronic device (100) next performs an operation of classifying token groups into invalid token groups and valid token groups, the first filtering information may be updated based on the transmitted push notification. The set first period may be, but is not limited to, 7 days.
[0066] The second filtering information may include information regarding whether push notifications related to each application on the device corresponding to the token are permitted. For example, when an application is installed on a device, the user of the device may set whether to permit push notifications. If the user of the device does not permit push notifications, the electronic device (100) may not receive a token corresponding to the device, and the electronic device (100) may not provide push notifications corresponding to the device. Conversely, if the user of the device permits push notifications, the electronic device (100) may receive a token from the user's device. That is, the electronic device (100) receiving a token from the user's device may indicate that the user of the device has permitted push notifications. In another example, if the user of the device permits push notifications, the electronic device (100) may also receive a signal from the user's device indicating permission for push notifications. That is, the electronic device (100) may obtain information regarding whether push notifications related to an application are permitted in various ways.
[0067] The third filtering information may include history information on push messages received by a device corresponding to the token during a set second period. More specifically, the electronic device (100) may receive identification information and log data about the device stored in the log DB via a platform based on a logging system. Here, the log data may correspond to information about the history of push messages received by the device.
[0068] In step S330, the electronic device can classify the token group into a valid token group and an invalid token group based on the filtering information.
[0069] According to one embodiment, the electronic device (100) may classify a token group into a valid token group or an invalid token group based on at least one of the first filtering information, the second filtering information, and the third filtering information. The electronic device (100) may periodically update the valid token group and the invalid token group by classifying the token group into the valid token group and the invalid token group periodically at a set time based on the filtering information. For example, the electronic device (100) may classify the token group into the valid token group and the invalid token group based on the filtering information every day at 10 PM, but is not limited thereto.
[0070] An embodiment in which the electronic device (100) classifies a token group into a valid token group or an invalid token group based on filtering information will be described in detail in FIG. 4.
[0071] In step S340, the electronic device may transmit a push notification to the server for a valid token within the valid token group.
[0072] For example, the electronic device (100) may store information related to an invalid token included in an invalid token group among token groups in an invalid token database. Here, the information related to the invalid token may include at least one of the invalid token, device identification information corresponding to the invalid token, and information about the operating system of each device corresponding to the invalid token.
[0073] In addition, the electronic device (100) can transmit a push notification for a valid token within a valid token group excluding invalid tokens stored in an invalid token database to the server (110). More specifically, the electronic device (100) can transmit a token and data related to the token to the server (110) via the transceiver (101). Here, the token-related data can be stored in a payload, and the payload related to the push notification can include information about a push message to be transmitted to a device corresponding to the token. Here, the server (110) can act as a proxy server and transmit information about the token to a corresponding operating system based on the push notification received from the electronic device (100).
[0074] FIG. 4 is a flowchart illustrating a method by which an electronic device classifies tokens within a token group into an invalid token group and a valid token group based on filtering information according to one embodiment.
[0075] In step S400, the electronic device (1000) can verify a token within a token group.
[0076] According to one embodiment, the electronic device (100) may first check tokens within a token group before classifying tokens within the token group into invalid token groups and valid token groups. More specifically, the electronic device (100) may check tokens within an updated token group by adding tokens received before a set time (e.g., 10:00 PM) every day. The operation of the electronic device (100) classifying token groups into invalid token groups and valid token groups may be performed every set time (e.g., 10:00 PM) every day.
[0077] In step S410, the electronic device (100) can identify whether a condition is satisfied that the number of times a push notification is transmitted from the electronic device (100) to the server (110) is greater than or equal to a set number of times, based on the first filtering information.
[0078] According to one embodiment, the electronic device (100) can identify whether a condition is satisfied in which the number of times push notifications are transmitted from the electronic device (100) to the server (110) during a set first period is greater than or equal to a set number of times, for each token within the token group.
[0079] Here, the set first period and the set number of times should be appropriately set in consideration of the characteristics of the application, the frequency of push notifications, and technical issues such as the electronic device (100) not being able to provide push notifications due to network issues. In particular, when the token group consists of daily push tokens, the value of the set first period versus the set number of times should be set relatively large. For example, for a token group including daily push tokens, the set first period may be one week, and the set number of times may be three, but this is not limited thereto.
[0080] For example, the electronic device (100) may identify a token that satisfies a condition that the number of times a push notification is transmitted from the electronic device (100) to the server (110) is greater than or equal to a set number of times based on the first filtering information, and may identify a first token group composed of the identified tokens. The tokens in the first token group may be tokens that are targets of the operation in step S420. The tokens included in the first token group may satisfy a condition that the push notification is transmitted greater than or equal to a set number of times during a set first period. For example, the tokens included in the first token group may be tokens that satisfy a condition that the push notification is transmitted more than or equal to three times in a week.
[0081] In addition, for example, the electronic device (100) may identify a token that does not satisfy the condition that the number of times a push notification is transmitted from the electronic device (100) to the server (110) is greater than or equal to a set number of times based on the first filtering information, and classify the token into a valid token group (step S440). That is, a token classified into the valid token group may not satisfy the condition that a push notification is transmitted more than a set number of times during a set first period. For example, a token classified into the valid token group may be a token that does not satisfy the condition that a push notification is transmitted more than three times in a week.
[0082] In step S420, the electronic device (100) can identify whether to allow push notification based on the second filtering information.
[0083] According to one embodiment, the electronic device (100) may identify whether to allow push notifications for each token in the first token group based on second filtering information. Here, the second filtering information may include information regarding whether to allow push notifications related to each application of the device corresponding to the token. For example, when an application is installed on a device, the user of the device may set whether to allow push notifications. If the user of the device allows push notifications, the electronic device (100) may receive a token from the user's device. That is, the electronic device (100) receiving a token from the user's device may mean that the user of the device has allowed push notifications. According to another example, in response to the user of the device allowing push notifications, the electronic device (100) may receive a signal from the user's device regarding the permission of push notifications.
[0084] For example, the electronic device (100) may identify a second token group including tokens corresponding to devices that allow application-related push notifications based on the second filtering information. Tokens within the second token group may be tokens that are targets of the operation of step S430. The second token group may be composed of tokens that satisfy both a condition of having sent push notifications more than a set number of times during a set first period and a condition of whether the device is allowed to send application-related push notifications. For example, tokens included in the second token group may be tokens that satisfy both a condition of having sent push notifications more than three times in a week and a condition of whether the device is allowed to send application-related push notifications.
[0085] Additionally, for example, the electronic device (100) may classify tokens corresponding to devices that do not allow application-related push notifications into a valid token group based on the second filtering information (step S440). That is, tokens within the valid token group may include tokens corresponding to devices that do not allow application-related push notifications.
[0086] In step S430, the electronic device (100) can identify whether the token corresponds to the device that received the push message based on the third filtering information.
[0087] According to one embodiment, the electronic device (100) can identify, for each token in the second token group, whether the token corresponds to a device that received the push message based on the third filtering information.
[0088] Even if the electronic device (100) transmits a push notification for a valid token to the server (110), there may be policy or technical reasons, such as the valid token being classified as an invalid token depending on the internal process of the operating system, or an error occurring when the operating system transmits a push message to a device corresponding to the valid token. Accordingly, the device corresponding to the valid token may not receive the push message. In this regard, the electronic device (100) may receive push message-related history data through a logging system-based platform to determine whether the device has received the push message. In this regard, the third filtering information may include history information on the device corresponding to the token receiving a push message during a set second period. Here, the set second period may correspond to the first period in step S410, but is not limited thereto.
[0089] For example, based on the third filtering information, the electronic device (100) may classify tokens corresponding to devices that have received push messages within a set second period of time among tokens within the second token group into a valid token group (step S440). Here, tokens corresponding to devices that have received push messages within the set second period of time among tokens within the second token group may be a third token group, which is a subgroup within the valid token group.
[0090] In addition, for example, the electronic device (100) may classify tokens in the second token group, excluding tokens corresponding to devices that have received push messages within a set second period of time, into an invalid token group based on the third filtering information (step S450). Even though the electronic device (100) has transmitted push notifications for a token to the server (110) several times, if the device corresponding to the token has no history of receiving the push message, the push notification may be determined to be unnecessary and may need to be filtered. In this regard, tokens included in the invalid token group may be configured as tokens that satisfy the condition of having sent push notifications more than three times in a week, satisfying the condition of being a device that allows application-related push notifications, and not satisfying the condition of being a token corresponding to a device that has received a push message.
[0091] In step S460, the electronic device (100) can store information about tokens within the invalid token group in the invalid token DB.
[0092] According to one embodiment, the electronic device (100) may store at least one of an invalid token within an invalid token group, device identification information corresponding to the invalid token, and information about an operating system for each device corresponding to the invalid token in an invalid token DB. The information about the token within the invalid token group may include at least one of an invalid token within the invalid token group, device identification information corresponding to the invalid token, and information about an operating system for each device corresponding to the invalid token.
[0093] According to one embodiment, the electronic device (100) may transmit tokens classified into an invalid token group to a distributed data streaming platform. Here, the distributed data streaming platform is a distributed data streaming platform in which publishers that transmit messages and consumers that receive messages are distinguished, and may be Kafka according to one embodiment. More specifically, the electronic device (100) may store tokens included in the invalid token group, identification information of devices corresponding to the tokens, and information about the operating systems of each device corresponding to the tokens in Kafka topics for each token. In addition, the customer account API within the electronic device (100) may act as a Kafka consumer and subscribe to or read tokens stored in a Kafka topic, identification information of devices corresponding to the tokens, and information about the operating systems of each device corresponding to the tokens. Accordingly, the customer account API can store information about the token, identification information of the device corresponding to the token, and the operating system of each device corresponding to the token in the invalid token DB within the storage (102) of the electronic device (100).
[0094] Referring to FIG. 4, it can be clearly understood that some operations of classifying tokens within a token group into an invalid token group and a valid token group based on filtering information by the electronic device (100) may be changed, substituted, or some of the order between the operations may be changed within a scope clearly understood by a person skilled in the art to which the present invention pertains. In this regard, in order to minimize the amount of computation consumed in classifying token groups into an invalid token group and a valid token group based on filtering information in the electronic device (100), it may be appropriate to arrange a filtering condition with a high filtering rate among a plurality of filtering conditions in the front order. For example, identifying a first token group from a token group based on first filtering information may be a filtering condition with a high filtering rate. That is, when the electronic device (100) identifies a first token group from a token group based on the first filtering information, identifies a second token group from the first token group based on the second filtering information, and identifies an invalid token group from the second token group based on the third filtering information, the amount of computation consumed in classifying the token groups into valid token groups and invalid token groups may be the smallest. The valid token group may be composed of tokens that are not included in the invalid token group among the tokens in the token group.
[0095] FIG. 5 is a flowchart illustrating a method by which an electronic device reclassifies at least some of the invalid tokens within an invalid token group into a valid token group.
[0096] Some tokens classified as invalid tokens may need to be reclassified as valid tokens within the valid token group. For example, if 1) a token is misclassified into the invalid token group, or 2) a token is classified into the invalid token group, but an action related to an application on the device corresponds to a system-defined trigger point, the token may need to be reclassified into the valid token group. In particular, if the push notification service within the operating system has not regenerated a token corresponding to the device, the electronic device (100) needs to recycle the tokens stored in the invalid token database in order to transmit a push message to the server (110).
[0097] In step S510, the electronic device can identify a first invalid token corresponding to a first device on which an application is executed among the invalid tokens within the invalid token group.
[0098] According to one embodiment, a trigger point defined in the system may be the execution of an application. In this regard, the electronic device (100) may identify a first invalid token corresponding to a first device on which the application is executed among invalid tokens within the invalid token group. More specifically, when the application is executed on the first device, the first device may transmit information indicating that the application has been executed and a first invalid token corresponding to the first device to the electronic device (100), and the electronic device (100) may identify the first invalid token. However, the trigger point defined in the system is not limited to the execution of an application. For example, the trigger point may be an update of an application.
[0099] In step S520, the electronic device can change the first invalid token from the invalid token group to the valid token group.
[0100] According to one embodiment, the electronic device (100) may change the first invalid token from the invalid token group to the valid token group by deleting the first invalid token from the invalid token database. Accordingly, when the electronic device (100) transmits a push notification for a valid token within the valid token group to the server (110), a push notification for the first invalid token may also be transmitted to the server (110).
[0101] FIG. 6 is a block diagram schematically illustrating an electronic device for providing push notifications according to one embodiment.
[0102] The electronic device (100) of FIG. 6 may correspond to the electronic device of the present specification. According to one embodiment, the electronic device (100) may include a transceiver (101), storage (102), and one or more processors (103). The electronic device (100) illustrated in FIG. 6 only illustrates components related to the present embodiment. Therefore, it will be understood by those skilled in the art related to the present embodiment that other general-purpose components may be included in addition to the components illustrated in FIG. 6.
[0103] For example, the electronic device (100) may include a transceiver (101) according to one embodiment. The transceiver (101) is a device for performing wired / wireless communication and may communicate with an external electronic device. The external electronic device may be a server (110), an operating system, a device, a log DB, or a platform. In addition, the communication technology used by the transceiver (101) may include GSM (global system for mobile communication), CDMA (code division multi access), LTE (long term evolution), 5G, WLAN (wireless LAN), Wi-Fi (wireless-fidelity), Bluetooth (Bluetooth), RFID (radio frequency identification), infrared communication (infrared data association, IrDA), ZigBee, and NFC (near field communication).
[0104] According to one embodiment, the transceiver (101) may receive information about a token corresponding to the device and information about the device from a device on which an application is installed. In addition, the transceiver (101) may transmit a push notification about a valid token to the server (110).
[0105] Storage (102) can store information for performing at least one of the methods described above with reference to FIGS. 1 to 6. Storage (102) can store one or more commands executed by one or more processors (103). Storage (102) can be referred to as memory and can be volatile memory or non-volatile memory. Storage (102) can store a token group related to an application and filtering information for tokens within the token group. Storage (102) can store log data received from an application-related device.
[0106] One or more processors (103) can control the overall operation of the electronic device (100) and process data and signals. The one or more processors (103) can perform one of the methods described above with reference to FIGS. 1 to 6. The one or more processors (103) can be configured as at least one hardware unit. In addition, the one or more processors (103) can operate by one or more software modules generated by executing one or more commands stored in the storage (102). The one or more processors (103) can control embodiments performed by the electronic device (100) through interaction with the transceiver (1910) and the storage (102), and further with components that the electronic device (100) may include.
[0107] According to one embodiment, the processor (103) may identify a first token group including tokens that satisfy a condition in which the number of times is greater than or equal to a set number of times, based on the first filtering information, by executing one or more commands.
[0108] According to one embodiment, the processor (103) may identify a second token group including tokens corresponding to devices that are allowed to receive push notifications related to the application based on the second filtering information by executing one or more commands.
[0109] According to one embodiment, the processor (103) may identify a third token group including tokens corresponding to a device that received the push message based on the third filtering information by executing one or more commands.
[0110] According to one embodiment, the processor (103) may identify a first token group from a token group based on first filtering information, identify a second token group from the first token group based on second filtering information, and identify an invalid token group from the second token group based on third filtering information by executing one or more commands.
[0111] According to one embodiment, the processor (103) may store at least one of an invalid token within an invalid token group, device identification information corresponding to the invalid token, and information about an operating system for each device corresponding to the invalid token in an invalid token database by executing one or more commands.
[0112] According to one embodiment, the processor (103) may identify a first invalid token corresponding to a first device on which an application is executed among invalid tokens in an invalid token group by executing one or more commands, and change the first invalid token from the invalid token group to the valid token group.
[0113] Meanwhile, the present specification and drawings disclose preferred embodiments of the present invention. Although specific terms have been used, they are used in a general sense only to easily explain the technical contents of the present invention and to assist in understanding the invention, and are not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modified examples based on the technical concept of the present invention are possible in addition to the embodiments disclosed herein.
[0114] The electronic device or terminal according to the above-described embodiments may include a processor, a memory for storing and executing program data, permanent storage such as a disk drive, a communication port for communicating with an external device, a user interface device such as a touch panel, a key, an icon, etc. The methods implemented as software modules or algorithms may be stored on a computer-readable recording medium as computer-readable codes or program commands executable on the processor. Here, the computer-readable recording medium includes a magnetic storage medium (e.g., read-only memory (ROM), random-access memory (RAM), floppy disk, hard disk, etc.) and an optical reading medium (e.g., CD-ROM, DVD: Digital Versatile Disc)). The computer-readable recording medium may be distributed to computer systems connected to a network, so that the computer-readable code may be stored and executed in a distributed manner. The medium may be readable by a computer, stored in a memory, and executed by a processor.
[0115] The present embodiment may be represented by functional block configurations and various processing steps. These functional blocks may be implemented by various hardware and / or software configurations that perform specific functions. For example, the embodiment may employ direct circuit configurations such as memory, processing, logic, look-up tables, etc., which may perform various functions under the control of one or more microprocessors or other control devices. Similarly, the present embodiment may be implemented in a programming or scripting language such as C, C++, Java, assembler, Python, etc., including various algorithms implemented as a combination of data structures, processes, routines, or other programming configurations. Functional aspects may be implemented as algorithms that execute on one or more processors. Furthermore, the present embodiment may employ conventional techniques for electronic configuration, signal processing, and / or data processing. Terms like "mechanism," "element," "means," and "composition" can be used broadly and are not limited to mechanical or physical components. These terms can also encompass a series of software routines, such as those associated with a processor.
[0116] The above-described embodiments are merely examples, and other embodiments may be implemented within the scope of the claims set forth below.
Claims
1. A method for providing push notifications on an electronic device, Step 1: Verify the token group associated with the application; A step of checking filtering information for tokens within the above token group; A step of classifying the token group into a valid token group and an invalid token group based on the filtering information; and Comprising a step of transmitting a push notification to a server for a valid token within the above valid token group, How to provide push notifications.
2. In paragraph 1, The above filtering information is, Contains at least one of first filtering information, second filtering information and third filtering information, and The above first filtering information is, The number of times a push notification corresponding to each of the tokens was transmitted from the electronic device to the server during the set first period, The above second filtering information is, Contains information on whether push notifications related to the application of each device corresponding to the token are allowed, and The above third filtering information is, Including history information on the device corresponding to the token receiving a push message during the set second period, How to provide push notifications.
3. In paragraph 2, The step of classifying the above token group into the valid token group and the invalid token group is: A step of identifying a first token group including tokens that satisfy a condition that the number of times is greater than or equal to a set number of times, based on the first filtering information. How to provide push notifications.
4. In paragraph 2, The step of classifying the above token group into the valid token group and the invalid token group is: A step of identifying a second token group including tokens corresponding to devices that are allowed to receive push notifications related to the application based on the second filtering information, How to provide push notifications.
5. In paragraph 2, The step of classifying the above token group into the valid token group and the invalid token group is: A step of identifying a third token group including a token corresponding to a device that received a push message based on the third filtering information, How to provide push notifications.
6. In paragraph 2, The step of classifying the above token group into the valid token group and the invalid token group is: A step of identifying a first token group from the token group based on the first filtering information; A step of identifying a second token group from the first token group based on the second filtering information; and A step of identifying an invalid token group in the second token group based on the third filtering information, The above valid token group is: Including tokens within the above token group that are not included in the above invalid token group, How to provide push notifications.
7. In paragraph 1, The step of classifying the above token group into the valid token group and the invalid token group is: A step of storing at least one of an invalid token within the invalid token group, device identification information corresponding to the invalid token, and information about an operating system for each device corresponding to the invalid token in an invalid token database, How to provide push notifications.
8. In paragraph 7, A step of identifying a first invalid token corresponding to a first device on which an application is executed among the invalid tokens within the invalid token group; and Further comprising a step of changing the first invalid token from the invalid token group to the valid token group, How to provide push notifications.
9. In paragraph 2, The second filtering information and the third filtering information are, At least a portion of the log data of the device associated with the above application, How to provide push notifications.
10. In paragraph 1, The above push notification is, Contains information about the above valid token and information about the operating system for each of the above valid tokens, and The above server, A proxy server that transmits information about the valid token to the operating system corresponding to the valid token based on information about the operating system for each valid token. How to provide push notifications.
11. In an electronic device for providing push notifications, transceiver; one or more processors; and comprising storage for storing one or more instructions executed by said one or more processors; The one or more processors, by executing the one or more instructions, Check the token group associated with the application, Check the filtering information for tokens within the above token group, Based on the above filtering information, the token group is classified into a valid token group and an invalid token group, and Sending a push notification to the server for a valid token within the above valid token group, An electronic device for providing push notifications.
12. A non-transitory computer-readable recording medium having recorded thereon a program for executing the method of paragraph 1 on a computer.
Citation Information
Patent Citations
Method for providing push message relay service, system for gathering push message and user terminal thereof
KR1020170087195A
User-aware notification delivery
KR1020170094375A
Messaging service server that can transmit the optimal push notification message by reflecting the feedback of the message recipient in real time and the operating method thereof
KR102339055B1
Web push service server and operating method thereof
KR102483272B1
Method, apparatus and system for provisioning a push notification session
US20120210415A1
