Method for providing push notification, and electronic device for supporting same

By confirming user information and connection properties to select the best transmission path, the method ensures reliable and efficient push notification delivery, addressing the limitations of existing systems in handling multiple users and limited server resources.

WO2024237358A1PCT designated stage expired Publication Date: 2024-11-21COUPANG CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2023/006533
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-12
Filing Date
2023-05-15
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

Existing push notification systems face challenges in reliability and efficiency, particularly when transmitting messages to multiple users, as they often lead to network bottlenecks and data processing capacity issues, especially when server resources are limited.

Method used

The method involves confirming user information and connection properties to determine the optimal transmission path, utilizing two-way communication methods like polling, long polling, and Web Socket connections to ensure reliable and efficient delivery of push notifications, either directly to the user's terminal or through an external messaging server.

Benefits of technology

This approach enhances transmission speed and reliability, allowing for efficient push notification delivery to a large number of users even with limited server resources, thereby improving scalability and reducing network load.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2023006533_21112024_PF_FP_ABST
    Figure KR2023006533_21112024_PF_FP_ABST
Patent Text Reader

Abstract

A method by which an electronic device provides a push notification, according to various embodiments disclosed in the present document, comprises the steps of: identifying a push notification request related to an application; identifying user information corresponding to the push notification request; identifying, on the basis of the user information, information related to the connection attributes of a user terminal related to the application; and transmitting a push notification message corresponding to the push notification request to the user terminal through a first path on the basis of the information related to the connection attributes, wherein the first path can include a data transmission path using bidirectional communication between the electronic device and the user terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Method for providing push notifications and electronic devices supporting the same

[0001] Embodiments of the present disclosure relate to a method and an electronic device for providing push notifications. More specifically, the present disclosure relates to a method and a device for transmitting push notification messages to a user terminal via a path based on the connection properties between the electronic device and the user terminal.

[0002] With the advancement of electronic technology, e-commerce has become a distinct form of shopping. Customers can purchase items online without having to visit a shopping mall, market, or store in person, and items purchased online are delivered to the customer's requested delivery address.

[0003] In the case of e-commerce, providing detailed and accurate product information significantly impacts customer satisfaction, so various methods for providing more detailed and accurate information are being discussed.

[0004] 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 duration of their use of 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 third-party messaging service can be used. While this has the advantage of reducing network congestion and the data processing capacity of the electronic device, there is a need to propose an effective method for ensuring the reliability of push notifications.

[0005] According to the method of the present invention, the electronic device can provide a push notification to a user's terminal.

[0006] The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field to which the present invention belongs from the description below.

[0007] Various embodiments may provide a method for providing push notifications and an electronic device supporting the same.

[0008] A method for providing a push notification in an electronic device according to various embodiments disclosed in the present document includes: a step of confirming a push notification request related to an application; a step of confirming user information corresponding to the push notification request; a step of confirming information regarding a connection property of a terminal of the user regarding the application based on the user information; and a step of transmitting a push notification message corresponding to the push notification request to the terminal of the user through a first path based on the information regarding the connection property, wherein the first path may include a data transmission path through two-way communication between the electronic device and the terminal of the user.

[0009] In an embodiment, the two-way communication may include at least some of Polling, Long Polling, and Web Socket connections, and the transmitting step may include transmitting the push notification message based on a two-way communication connection identified based on connection attribute information corresponding to the user.

[0010] In an embodiment, the push notification providing method may further include: receiving request information regarding the establishment of the two-way communication transmitted in response to execution of the application on the user's terminal; confirming information regarding the type of the two-way communication based on the request information; transmitting response information regarding the two-way communication to the user's terminal based on the information regarding the type; and generating information regarding connection properties corresponding to the two-way communication.

[0011] In an embodiment, the information regarding the connection properties may include at least some of connection status information, information regarding the type of the two-way communication, IP (internet protocol) information of the user terminal, identification information corresponding to the establishment of the two-way communication, and identification information regarding the user terminal.

[0012] In an embodiment, the method may further include: transmitting a connection status request message to a terminal of a user with whom the two-way communication has been established; and updating information about the connection properties corresponding to the terminal of the user based on whether a connection status response message corresponding to the connection status request message has been received from the terminal of the user.

[0013] In an embodiment, the method may further include generating the push notification message corresponding to the push notification request based on information about the connection properties.

[0014] In an embodiment, the push notification message may include at least some of identification information corresponding to the user's terminal, identification information of the user, and body information corresponding to the push notification.

[0015] In an embodiment, the method may further include: generating a push notification message based on confirmation of the push notification request; and verifying information about the connection properties based on the user information included in the push notification message.

[0016] In an embodiment, when transmitting the push notification message through the first path, the method may further include: receiving, from the user's terminal, a reception result message corresponding to reception of the push notification message by the terminal; and generating information regarding the transmission result of the push notification message transmitted through the first path based on the reception result message.

[0017] In an embodiment, the method may further include generating information on the transmission status of a route-specific push notification message based on information about the connection properties.

[0018] In an embodiment, the method comprises: determining whether the user is online based on information about the connection properties; and, if the user is online, transmitting the push notification message to the user's terminal through the first path, and, if the user is not online, transmitting the push notification message to the user's terminal through a second path, wherein the second path may include at least a portion of one or more connections between the electronic device and an external server providing a messaging service, the connections being determined based on information about the user's terminal.

[0019] In an embodiment, the method may include: determining information about the number of one or more users maintaining two-way communication with the electronic device based on information about connection properties of one or more users related to the application; and transmitting the push notification message through the second path corresponding to at least some of the one or more users based on the information about the number of the one or more users.

[0020] An electronic device according to various embodiments disclosed in the present document includes a communication unit; a memory; and a processor, wherein the processor is configured to identify a push notification request related to an application, identify user information corresponding to the push notification request, identify information regarding a connection property of a terminal of the user regarding the application based on the user information, and transmit a push notification message corresponding to the push notification request to the terminal of the user through a first path based on the information regarding the connection property, wherein the first path may include a data transmission path through two-way communication between the electronic device and the terminal of the user.

[0021] A non-transitory recording medium recording a method for providing a push notification in an electronic device according to various embodiments disclosed in the present document may include a computer-readable non-transitory recording medium recording a program for executing a method for providing a push notification in a computer, the method comprising: confirming a push notification request related to an application; confirming user information corresponding to the push notification request; confirming information on a connection property of a terminal of the user related to the application based on the user information; and transmitting a push notification message corresponding to the push notification request to the terminal of the user based on the information on the connection property through a first path, wherein the first path includes a data transmission path through two-way communication between the electronic device and the terminal of the user.

[0022] According to the method of the present invention, the electronic device can be expected to have the technical effect of improving transmission speed and message reliability by transmitting push notifications through two-way communication established with a user terminal.

[0023] According to the method of the present invention, an electronic device can transmit push notifications to a user terminal using continuous two-way communication, thereby enabling the electronic device to transmit push notifications to a plurality of users even when the server resources of the electronic device are limited, and can increase scalability when linked with other services and infrastructure.

[0024] The effects that can be obtained from the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by a person having ordinary skill in the art to which the present invention belongs from the description below.

[0025] FIG. 1 is a drawing for explaining a push notification providing system (100) in which a method for providing push notifications by an electronic device according to various embodiments can be implemented.

[0026] FIG. 2 is a diagram illustrating a configuration of an electronic device, a manager device, and a user terminal according to various embodiments.

[0027] FIG. 3 is a flowchart illustrating an operation of an electronic device transmitting a push notification message according to various embodiments.

[0028] FIG. 4 is a diagram illustrating a method for an electronic device to provide push notifications along a communication path according to various embodiments.

[0029] FIG. 5 is a flowchart illustrating an operation of an electronic device according to various embodiments to transmit a push notification message based on whether a user is online.

[0030] FIG. 6 is a flowchart illustrating an operation of an electronic device generating information regarding connection properties according to various embodiments.

[0031] FIG. 7 is a flowchart illustrating an operation of an electronic device according to various embodiments to update information regarding connection properties.

[0032] FIG. 8 is a flowchart illustrating an operation of an electronic device according to various embodiments to generate information regarding a transmission result.

[0033] The following embodiments combine components and features of various embodiments in a predetermined form. Each component or feature may be considered optional unless explicitly stated otherwise. Each component or feature may be implemented without being combined with other components or features. Furthermore, various embodiments may be formed by combining some components and features. The order of operations described in various embodiments may be changed. Some components or features of one embodiment may be included in another embodiment or may be replaced with corresponding components or features of another embodiment.

[0034] In the description of the drawings, procedures or steps that may obscure the gist of various embodiments are not described, and procedures or steps that can be understood by a person with ordinary skill in the art are also not described.

[0035] Throughout the specification, when a part is said to "comprising" (or including) a certain component, this does not mean that other components are excluded, but rather that other components can be included, unless specifically stated otherwise. In addition, terms such as "...part," "...unit," and "module" described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware, software, or a combination of hardware and software. In addition, the words "a" or "an," "one," "the," and similar related words may be used in the singular and plural sense in the context of describing various embodiments (especially in the context of the claims below) unless otherwise indicated herein or clearly contradicted by context.

[0036] Hereinafter, preferred embodiments according to various embodiments will be described in detail with reference to the attached drawings. The detailed description set forth below, together with the attached drawings, is intended to explain exemplary embodiments of various embodiments and is not intended to represent the only embodiments.

[0037] Additionally, specific terms used in various embodiments are provided to aid understanding of the various embodiments, and the use of such specific terms may be changed in other forms without departing from the technical spirit of the various embodiments.

[0038] 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).

[0039] 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.

[0040]

[0041] FIG. 1 is a drawing for explaining a push notification providing system (100) in which a method for providing push notifications by an electronic device according to various embodiments can be implemented.

[0042] Referring to FIG. 1, the push notification providing system (100) according to various embodiments may be implemented in various types of devices. For example, the push notification providing system (100) may be implemented in an electronic device (101), an administrator device (102), and a user terminal (104). In other words, the electronic device (101), the administrator device (102), and the user terminal (104) may perform operations according to various embodiments of the present disclosure based on the push notification providing system (100) implemented in each device. Meanwhile, the push notification providing system (100) according to various embodiments is not limited to that illustrated in FIG. 1, and may be implemented in a wider variety of electronic devices and servers.

[0043] An electronic device (101) according to various embodiments may be a device that performs wireless and wired communication with one or more administrator devices (102) and user terminals (104), and includes storage with a large storage capacity. For example, the electronic device (101) may be a cloud device connected to one or more administrator devices (102) and user terminals (104).

[0044] The administrator device (102) according to various embodiments may be a device that can be used by individual users, such as a desktop PC, tablet PC, or mobile terminal. In addition, other electronic devices that perform similar functions may be used as the administrator device (102).

[0045] The user terminal (104) according to various embodiments may be a device that can be used by individual users, such as a desktop PC, tablet PC, or mobile terminal. In addition, other electronic devices that perform similar functions may be used as the administrator device (102).

[0046] The push notification providing system (100) according to various embodiments may include various modules for operation. The modules included in the push notification providing system (100) may be computer codes or one or more instructions implemented so that a physical device (e.g., an electronic device (101)) in which the push notification providing system (100) is implemented (or included in a physical device) can perform a specified operation. In other words, the physical device in which the push notification providing system (100) is implemented stores a plurality of modules in the form of computer codes in a memory, and when the plurality of modules stored in the memory are executed, the plurality of modules can cause the physical device to perform specified operations corresponding to the plurality of modules.

[0047] According to an embodiment, the push notification provision system (100) may further include a network that supports information transmission and reception among at least some of the electronic device (101), the administrator device (102), the user terminal (104), and other external devices (e.g., a messaging server (103)). The messaging server (103) may be a third-party server that provides a messaging service for transmitting a push notification message from the electronic device (101) to the user terminal (104). The messaging server (103) used to provide the push notification message may include a server device corresponding to various services according to information about the user terminal (104). For example, different messaging servers (103) (e.g., Apple Push Notification service (APNs) or Google Cloud Messaging (GCM)) may be used based on platform information of the operating system corresponding to the user terminal (104) (e.g., iOS or Android).

[0048] Meanwhile, throughout the embodiments, the electronic device (101), the operator device (102), and the user terminal (104) are referred to as separate devices and servers, but this may be a logically divided structure and may be implemented by separate functions in one device or server. For example, at least some of the operator device (102) and the user terminal (104) may be included in the electronic device (101) or may be configured as an integrated unit by being combined with the electronic device (101). However, even in this case, a series of push notification provision methods performed by transmitting and receiving data between the electronic device (101), the administrator device (102), and the user terminal (104) may be performed similarly. In the case of a device included in the electronic device (101) or configured as an integrated unit by being combined with the electronic device (101), communication with the electronic device (101) may be understood as a process of exchanging data between its components within the device (e.g., with the processor of the electronic device (101).

[0049] For convenience of explanation, embodiments in which the worker device (102) and the user terminal (104) exist as separate devices or servers from the electronic device (101) are described below. However, the following description may also be applied to a case in which at least some of the worker device (102) and the user terminal (104) are included in the electronic device (101) or are combined with the electronic device (101) to form an integral body.

[0050]

[0051] FIG. 2 is a diagram illustrating a configuration of an electronic device, a manager device, and a user terminal according to various embodiments.

[0052] Referring to FIG. 2, the electronic device (101), the manager device (102), and the user terminal (104) may include an input / output unit (210), a communication unit (220), a storage (230), and a processor (240).

[0053] The input / output unit (210) may be various interfaces or connection ports that receive user input or output information to the user. The input / output unit (210) may include an input module and an output module, and the input module receives user input from the user. The user input may be in various forms, including key input, touch input, and voice input. Examples of input modules that can receive such user input include not only a traditional keypad, keyboard, or mouse, but also a touch sensor that detects the user's touch, a microphone that receives a voice signal, a camera that recognizes gestures through image recognition, a proximity sensor including at least one of an illuminance sensor or an infrared sensor that detects the user's approach, a motion sensor that recognizes the user's movement through an acceleration sensor or a gyro sensor, and various other forms of input means that detect or receive various forms of user input, and the input module according to an embodiment of the present disclosure may include at least one of the devices listed above. Here, the touch sensor can be implemented as a piezoelectric or electrostatic touch sensor that detects touch through a touch panel or touch film attached to the display panel, an optical touch sensor that detects touch by an optical method, etc. In addition, the input module can be implemented in the form of an input interface (USB port, PS / 2 port, etc.) that connects an external input device that receives user input instead of a device that detects user input on its own. In addition, the output module can output various types of information. The output module can include at least one of a display that outputs an image, a speaker that outputs a sound, a haptic device that generates vibration, and various other forms of output means. In addition, the output module can be implemented in the form of a port-type output interface that connects the individual output means described above.

[0054] For example, an output module in the form of a display can display text, still images, and moving images. The display can include at least one of a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a flat panel display (FPD), a transparent display, a curved display, a flexible display, a 3D display, a holographic display, a projector, and various other devices capable of performing an image output function. Such a display can also be in the form of a touch display that is integrated with a touch sensor of the input module.

[0055] The communication unit (220) can communicate with other devices. Accordingly, the electronic device (101), the administrator device (102), and the user terminal (104) can transmit and receive information with other devices through the communication unit. For example, the electronic device (101), the administrator device (102), and the user terminal (104) can communicate with each other or with other devices using the communication unit.

[0056] Here, communication, i.e., data transmission and reception, can be performed wired or wirelessly. To this end, the communication unit may be configured with a wired communication module that connects to the Internet, etc., via a LAN (Local Area Network), a mobile communication module that connects to a mobile communication network via a mobile communication base station to transmit and receive data, a short-range communication module that uses a WLAN (Wireless Local Area Network) series communication method such as Wi-Fi or a WPAN (Wireless Personal Area Network) series communication method such as Bluetooth or Zigbee, a satellite communication module that uses a GNSS (Global Navigation Satellite System) such as a GPS (Global Positioning System), or a combination thereof.

[0057] Storage (230) can store various types of information. Storage can store data temporarily or semi-permanently. For example, the storage of an electronic device (101) can store an operating system (OS) for operating the electronic device (101), data for hosting a website, a program for generating Braille, or data related to an application (e.g., a web application). Furthermore, as described above, the storage can store modules in the form of computer code.

[0058] Examples of storage (230) may include a hard disk drive (HDD), a solid state drive (SSD), flash memory, read-only memory (ROM), random access memory (RAM), etc. Such storage may be provided as a built-in type or a detachable type.

[0059] The processor (240) controls the overall operation of the electronic device (101), the administrator device (102), and the user terminal (104). To this end, the processor (240) may perform calculations and processing of various types of information and control the operation of components of the electronic device (101). For example, the processor (240) may execute a program or application for providing push notifications. The processor (240) may be implemented as a computer or a similar device using hardware, software, or a combination thereof. In terms of hardware, the processor (240) may be implemented in the form of an electronic circuit that processes electrical signals to perform control functions, and in terms of software, it may be implemented in the form of a program that drives the hardware processor (240). Meanwhile, unless otherwise specified in the following description, the operations of the electronic device (101), the administrator device (102), and the user terminal (104) may be interpreted as being performed under the control of the processor (240). That is, when the modules implemented in the above-described push notification provision system (100) are executed, the modules can be interpreted as controlling the processor (240) to perform the following operations on the electronic device (101), the administrator device (102), and the user terminal (104).

[0060] In summary, the various embodiments may be implemented through various means. For example, the various embodiments may be implemented through hardware, firmware, software, or a combination thereof.

[0061] In the case of hardware implementation, the methods according to various embodiments may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, etc.

[0062] When implemented via firmware or software, the methods according to various embodiments may be implemented in the form of modules, procedures, or functions that perform the functions or operations described below. For example, software code may be stored in memory and executed by a processor. The memory may be located within or external to the processor and may exchange data with the processor via various known means.

[0063] Below, various embodiments are described in more detail based on the above technical concepts. The previously described concepts may be applied to the various embodiments described below. For example, operations, functions, terms, etc. not defined in the various embodiments described below may be performed and explained based on the previously described concepts.

[0064] The following description describes various embodiments assuming that the electronic device (101) performs a push notification provision operation, and according to various embodiments, the electronic device (101) can transmit and receive information related to the push notification provision operation to and from a user terminal (104).

[0065]

[0066] FIG. 3 is a flowchart illustrating an operation of an electronic device transmitting a push notification message according to various embodiments.

[0067] Referring to FIG. 3, it can be clearly understood that some of the operations of the electronic device (101) 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.

[0068] In operation S301, the electronic device (101) may confirm a push notification request. The push notification request may include a request regarding a push notification to be transmitted to a user terminal (104). According to one embodiment, the push notification request may include at least some of information regarding a user to receive the push notification, information regarding message content corresponding to the push notification, and information regarding the user's terminal (104). According to one embodiment, the push notification request may be generated from the administrator device (102) and transmitted to the electronic device (101). According to one embodiment, the push notification request may be generated in conjunction with a service (e.g., an e-commerce service) that the electronic device (101) provides to the user.

[0069] In operation S302, the electronic device (101) can verify user information. According to one embodiment, the user information may include at least some of the user's account information, identification information corresponding to the user account, and information regarding the user's terminal (104). The electronic device (101) can verify a push notification request (S301) and verify the user's information corresponding to the push notification request.

[0070] In operation S303, the electronic device (101) may check information regarding the connection properties of the user terminal regarding the application. According to one embodiment, the information regarding the connection properties may include property information regarding a communication connection between the electronic device (101) and the user terminal (104) generated by the electronic device (101). According to one embodiment, the information regarding the connection properties may include information regarding a two-way communication established between the electronic device (101) and the user terminal (104). According to one embodiment, the information regarding the two-way communication established between the electronic device (101) and the user terminal (104) may include at least some of information regarding the type of the two-way communication, information regarding whether the connection is maintained, IP (Internet protocol) information of the user terminal, identification information corresponding to the establishment of the two-way communication, and identification information regarding the user terminal. According to one embodiment, the electronic device (101) may generate, store, and manage the information regarding the connection properties by assigning identification information to each corresponding user.

[0071] According to one embodiment, the type of two-way communication established between the electronic device (101) and the user terminal (104) may include at least some of Polling, Long Polling, and Web Socket connections. According to one embodiment, the two-way communication may include persistent two-way communication. The persistent two-way communication may be performed based on messages regarding a connection status transmitted and received between the electronic device (101) and the user terminal (104). For example, after the two-way communication is established, the electronic device (101) may transmit a connection status request message to the user terminal based on a specified time interval, and may periodically update information regarding connection properties based on whether a connection status response message corresponding to the connection status request message has been received from the user terminal. The electronic device (101) continuously maintains a communication connection with a user terminal (104) through continuous two-way communication, transmits a response to a request received from the user terminal (104) while maintaining the communication connection with the user terminal (104), and transmits a response by reusing the communication connection for additional requests. This can reduce the number of TCP (Transmission Control Protocol) connections formed with multiple user terminals (104), and reduce network load.

[0072] According to one embodiment, the electronic device (101) can establish a two-way communication connection with the user terminal (104) when the user is executing an application using the user terminal (104), i.e., when the user is online for the application.

[0073] In operation S304, the electronic device (101) may transmit a push notification message through a first path based on a connection property. The electronic device (101) may check the connection property and transmit a push notification message corresponding to a push notification request through the first path. The first path may include a data transmission path through two-way communication between the electronic device (101) and the user terminal (104). The electronic device (101) may determine whether the user is online based on the connection property information. For example, the electronic device (101) may determine whether a two-way communication connection is maintained between the user terminal (104) and the electronic device (101) based on the connection property information (information on the connection property corresponding to the user information) between the electronic device (101) and the user terminal (104). If the two-way communication connection is maintained, the electronic device (101) may determine that the user is running an application, i.e., is online. When the electronic device (101) is online, it can transmit a push notification message via the first path. In this case, the success or failure of message transmission can be confirmed, restrictions on the format and capacity of the transmitted message can be reduced, allowing for the transmission of messages in various formats and large capacities, and the reliability of message transmission can be guaranteed.

[0074] The electronic device (101) may transmit a push notification message via a second path when the user is not online. The second path may include a path in which a connection between the user terminal (104) and the electronic device (101) is relayed via a messaging server. For example, the electronic device (101) may transmit a push notification message to the messaging server (103), and the messaging server (103) may transmit the push notification message to the user terminal (104). In this case, the data processing load of the electronic device (101) may be reduced.

[0075]

[0076] FIG. 4 is a diagram illustrating a method for an electronic device to provide push notifications along a communication path according to various embodiments.

[0077] Referring to FIG. 4, the processor (240) of the electronic device (101) may transmit a push notification request (410) to a message relay service (420). The push notification request (410) may include at least some of information about a user to receive the push notification, information about message content corresponding to the push notification, and information about the user's terminal (104). According to one embodiment, the push notification request (410) may include request information for transmitting a push notification and a push notification message. According to one embodiment, the push notification request (410) may include at least some of identification information corresponding to the user terminal, user identification information, and body information corresponding to the push notification. The body information may include at least some of text, an image, and a video. According to one embodiment, the push notification request (410) may include a token. The token may include at least some of information about the validity of the push notification, identification information of the push notification, and information about whether the user terminal (104) to receive the push notification is a valid device. A message relay service (420) may refer to at least a part of an information processing unit, application, or computer program implemented in at least a part of a processor (240) or memory (e.g., storage (230)) of an electronic device (101).

[0078] Referring to FIG. 4, the message relay service (420) can determine whether a user is online (430). The message relay service (420) can determine connection attribute information corresponding to the user terminal (104) based on the push notification request (410) and determine whether the user is online based on the connection attribute information.

[0079] Referring to FIG. 4, when a user is online, the electronic device (101) may transmit a push notification message to the user terminal (104) through a first path (441). According to one embodiment, the first path (441) may include a data transmission path through two-way communication between the electronic device (101) and the user terminal (104). The two-way communication is communication established between a two-way communication service (440) and the user terminal (104), and according to one embodiment, may include continuous two-way communication. The electronic device (101) may transmit and receive data with the user terminal (104) through the two-way communication, and may continuously transmit and receive data without establishing a new connection as long as the user terminal (104) is online through the continuous two-way communication.

[0080] Referring to FIG. 4, the electronic device (101) may select a platform based on information about the user terminal (104) when the user is not online. The platform may include information about the operating system (OS) of the user terminal (104). The electronic device (101) may select one of the first messaging service (451) and the second messaging service (452) based on the information about the platform of the user terminal. The first messaging service (451) and the second messaging service (452) may include, for example, a message relay service provided by a third party and a messaging server (103) providing the same. The electronic device (101) may transmit a push notification message to the selected messaging service (second path). According to one embodiment, when transmitting a push notification message via the second path, the push notification message may include identification information corresponding to the user terminal (e.g., pcid), identification information of the user, body information corresponding to the push notification, and a token.

[0081]

[0082] FIG. 5 is a flowchart illustrating an operation of an electronic device according to various embodiments to transmit a push notification message based on whether a user is online.

[0083] Referring to FIG. 5, it can be clearly understood that some of the operations of the electronic device (101) transmitting a push notification message may be changed or substituted or some of the order between the operations may be changed within a scope clearly understood by a person having ordinary skill in the art to which the present invention pertains.

[0084] In operation S501, the electronic device (101) can check information regarding the connection properties of the user's terminal. Operation S501 may include at least a part of the operations of operation S303 of FIG. 3. The electronic device (101) can check the connection properties of the user's application. According to one embodiment, the information regarding the connection properties may include information regarding two-way communication established between the electronic device (101) and the user terminal (104). According to one embodiment, the information regarding the two-way communication established between the electronic device (101) and the user terminal (104) may include at least some of information regarding the type of two-way communication, information regarding whether the connection is maintained, IP (Internet protocol) information of the user terminal, identification information corresponding to the establishment of the two-way communication, and identification information regarding the user terminal. According to one embodiment, the electronic device (101) may generate, store, and manage the information regarding the connection properties by assigning identification information to each corresponding user.

[0085] In operation S502, the electronic device (101) can determine whether the user is online. The electronic device (101) can determine whether the user is online based on connection property information. For example, the electronic device (101) can determine whether a two-way communication connection is maintained between the user terminal (104) and the electronic device (101) based on connection property information (information about connection properties corresponding to user information) between the electronic device (101) and the user terminal (104). If the two-way communication connection is maintained, the electronic device (101) can determine that the user is running an application, i.e., is online. If the electronic device (101) is online, the electronic device (101) can transmit a push notification message through the first path. If the user is online, the electronic device (101) can proceed to operation S503, and if the user is not online, the electronic device (101) can proceed to operation S505.

[0086] In operation S503, the electronic device (101) may transmit a push notification message via a first path. The first path may include a data transmission path through two-way communication between the electronic device (101) and the user terminal (104). The electronic device (101) may determine the type of two-way communication established between the electronic device (101) and the user terminal (104) based on at least a portion of the information regarding the connection properties, and may transmit a push notification message based on the type. According to one embodiment, at least a portion of the push notification message may be changed depending on the type of two-way communication.

[0087] In operation S504, the electronic device (101) may generate information regarding a transmission result. When the electronic device (101) transmits a push notification message via the first path, the electronic device (101) may receive a reception result message corresponding to the reception of the push notification message from the user's terminal (104). When the electronic device (101) receives a reception result message from the user's terminal (104) in response to the transmission of the push notification message to the user's terminal (104), the electronic device (101) may confirm that the transmission of the push notification message has been successfully completed. If the electronic device (101) does not receive the reception result message within a specified time, the electronic device (101) may determine that the transmission of the push notification message has failed. According to one embodiment, the reception result message may include information regarding the status of the transmitted push notification message. According to one embodiment, the electronic device (101) may generate information regarding the transmission result of the push notification message based on whether the reception result message has been received. The information regarding the transmission result may include log information including information regarding the completion or failure of transmission in response to the transmission attempt of the push notification message. Information regarding transmission results may include information regarding the completion or failure of transmission for each transmission attempt for each of one or more users. Information regarding transmission results may include information regarding the total number of push notifications attempted to be transmitted over time and their transmission success rates. According to one embodiment, information regarding transmission results may include information regarding the elapsed transmission time, which is determined based on the transmission time of the push notification message and the reception time of the reception result message. The electronic device (101) may generate dashboard information based on the information regarding transmission results and update the information regarding transmission results in real time.

[0088] According to one embodiment, the electronic device (101) may change the ratio between sending push notification messages via the first path and sending push notification messages via the second path based on information about the transmission result. For example, even when the user is online, if there are too many online users, a shortage of data resources of the electronic device (101) may occur, which may result in inconvenience in receiving push notifications from the user's perspective. The electronic device (101) may check information about the number of one or more users maintaining two-way communication with the electronic device (101), and based on this, may transmit a push notification message via the second path instead of the first path in response to at least some of the one or more users. According to one embodiment, if two-way communication connections are established for a number of users greater than a specified number, the electronic device (101) may terminate two-way connection communication for at least some of them. According to one embodiment, the electronic device (101) may check information about the number of users maintaining two-way communication or who are online in real time.

[0089] In operation S505, the electronic device (101) may transmit a push notification message via a second path if the user is not online. The second path may include a path in which a connection between the user terminal (104) and the electronic device (101) is relayed via a messaging server. For example, the electronic device (101) may transmit a push notification message to the messaging server (103), and the messaging server (103) may transmit the push notification message to the user terminal (104).

[0090] In operation S506, the electronic device (101) may generate information regarding transmission status by route. The electronic device (101) may generate information regarding transmission status by first route and second route. The information regarding transmission status may include information regarding the total number of messages transmitted by route. The electronic device (101) may generate information regarding a transmission route selected to transmit push notifications by time zone and by user. According to one embodiment, the electronic device (101) may change the ratio between transmission of push notification messages via the first route and transmission of push notification messages via the second route based on the information regarding transmission status by route.

[0091]

[0092] FIG. 6 is a flowchart illustrating an operation of an electronic device generating information regarding connection properties according to various embodiments.

[0093] In operation S601, the electronic device (101) may receive request information regarding the establishment of two-way communication. According to one embodiment, the user terminal (104) may transmit request information regarding the establishment of two-way communication to the electronic device (101), and the electronic device (101) may receive the request information. According to one embodiment, the request information regarding the establishment of two-way communication may include an HTTP request corresponding to a WebSocket connection.

[0094] In operation S602, the electronic device (101) can check information regarding the type of two-way communication. The electronic device (101) can check information regarding the type of two-way communication included in the request information regarding communication establishment. For example, the electronic device (101) can check the type information based on whether the field values ​​included in the header information of the received request include a setting value corresponding to a web socket connection, a pooling connection, or a long pooling connection. According to one embodiment, the request information regarding establishment may include a key value corresponding to the type of communication and / or the user terminal (104).

[0095] In operation S603, the electronic device (101) may transmit response information based on the type information. The electronic device (101) may transmit response information regarding two-way communication, including a response header corresponding to the type information of the two-way communication, to the user terminal (104). According to one embodiment, the response information may include a key value included in the request information. Alternatively, the response information may include an encrypted string generated by combining the key value included in the request information and an identifier pre-designated by the electronic device (101). In response to receiving the response information, the user terminal (104) may establish a two-way communication connection with the electronic device (101) and transmit a message including information indicating that the connection has been established to the electronic device (101). The electronic device (101) may confirm that the connection has been established.

[0096] In operation S604, the electronic device (101) may generate information regarding connection properties. The electronic device (101) may generate information regarding connection properties corresponding to a communication connection established with the user's terminal (104), corresponding to at least some of the user information, the user identification information, and the identification information corresponding to the user terminal (104). Immediately after the communication connection is established with the user terminal (104), the electronic device (101) may include information indicating that the information regarding the connection properties is 'connecting'. According to one embodiment, the information regarding the connection properties may include a WebSocket object generated in response to the WebSocket connection. According to one embodiment, the information regarding the connection properties may include instance information corresponding to the established communication connection. According to one embodiment, the information regarding the connection properties may include information regarding the type of the communication connection, status information of the communication connection such as a connection status and / or an error status, a message buffer, an event handler, connection information (e.g., an IP address of the user terminal, a connection ID, a connection time), and protocol information corresponding to the type. The electronic device (101) can continuously and / or periodically transmit a connection status request message to the user terminal (104) and update information about the connection properties based on whether a response message is received in response thereto.

[0097]

[0098] FIG. 7 is a flowchart illustrating an operation of an electronic device according to various embodiments to update information regarding connection properties.

[0099] In operation S701, the electronic device (101) may transmit a connection status request message to the user terminal. According to one embodiment, the type of two-way communication established between the electronic device (101) and the user terminal (104) may include at least some of polling, long polling, and web socket connections. According to one embodiment, the two-way communication may include continuous two-way communication. The continuous two-way communication may be performed based on a message regarding the connection status transmitted and received between the electronic device (101) and the user terminal (104). For example, after the two-way communication is established, the electronic device (101) may transmit a connection status request message to the user terminal based on a specified time interval. The electronic device (101) may continuously and / or periodically transmit the connection status request message to the user terminal (104). The connection status request message may be referred to as a 'heartbeat message'.

[0100] In operation S702, the electronic device (101) can check whether a connection status response message is received. The connection status response message can be understood as a message that the user terminal (104) transmits to the electronic device (101) in response to the connection status request message. The connection status request message can include connection status information that is confirmed based on information regarding the connection properties of the user terminal (104) generated by the user terminal (104). The user terminal (104) can include the connection status information on the user terminal (104) side in the connection status response message and transmit it to the electronic device (101). The electronic device (101) can check whether the connection status response message is received. According to one embodiment, the electronic device (101) can check whether the connection status response message is received within a specified time from the transmission time of the connection status request message, and if the connection status response message is not received until the specified time elapses, it can be determined that the response message has not been received.

[0101] In operation S703, the electronic device (101) can update information about connection properties based on whether a connection status response message is received. If the electronic device (101) does not receive a connection status response message, the electronic device (101) can determine that the connection is terminated and update the information about the connection properties to 'connection terminated'. The electronic device (101) can update the information about the connection properties by changing the connection status information to a 'connection terminated' state. If the connection is maintained, i.e., if a connection status response message is received, the electronic device (101) can determine that the connection is maintained and maintain the information about the connection properties.

[0102]

[0103] FIG. 8 is a flowchart illustrating an operation of an electronic device according to various embodiments to generate information regarding a transmission result.

[0104] In operation S801, the electronic device (101) may transmit a push notification message via a first path. Operation S801 may include at least a portion of operation S304 of FIG. 3 or operation S503 of FIG. 5. The electronic device (101) may transmit a push notification message to the user terminal (104) via the first path based on information regarding connection properties.

[0105] In operation S802, when the electronic device (101) transmits a push notification message through the first path, the electronic device (101) may receive a reception result message corresponding to the reception of the push notification message from the user's terminal (104). When the electronic device (101) receives a reception result message from the user's terminal (104) in response to the transmission of the push notification message to the user's terminal (104), the electronic device (101) may confirm that the transmission of the push notification message has been completed normally. When the electronic device (101) does not receive the reception result message within a specified time, the electronic device (101) may determine that the transmission of the push notification message has failed. According to one embodiment, the reception result message may include information regarding the status of the transmitted push notification message.

[0106] In operation S803, the electronic device (101) may generate information regarding a transmission result. According to one embodiment, the electronic device (101) may generate information regarding a transmission result of a push notification message based on whether a reception result message has been received. The information regarding the transmission result may include log information including information regarding the completion or failure of transmission in response to a transmission attempt of the push notification message. The information regarding the transmission result may include information regarding the completion or failure of transmission for each transmission attempt in response to one or more users. The information regarding the transmission result may include information regarding the total number of push notifications attempted to be transmitted over time and their transmission success rates. According to one embodiment, the information regarding the transmission result may include information regarding the elapsed transmission time, which is confirmed based on the transmission time of the push notification message and the reception time of the reception result message. The electronic device (101) may generate dashboard information based on the information regarding the transmission result and update the information regarding the transmission result in real time.

[0107] According to one embodiment, the electronic device (101) may change the ratio between sending push notification messages via the first path and sending push notification messages via the second path based on information about the transmission result. For example, even when the user is online, if there are too many online users, a shortage of data resources of the electronic device (101) may occur, which may result in inconvenience in receiving push notifications from the user's perspective. The electronic device (101) may check information about the number of one or more users maintaining two-way communication with the electronic device (101), and based on this, may transmit a push notification message via the second path instead of the first path in response to at least some of the one or more users. According to one embodiment, if two-way communication connections are established for a number of users greater than a specified number, the electronic device (101) may terminate two-way connection communication for at least some of them. According to one embodiment, the electronic device (101) may check information about the number of users maintaining two-way communication or who are online in real time.

[0108]

[0109] 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.

[0110] 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 that can be executed 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 can be stored and executed in a distributed manner. The medium is readable by a computer, stored in a memory, and executed by a processor.

[0111] 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.

[0112] 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, Steps to verify push notification requests related to the application; A step of verifying user information corresponding to the above push notification request; A step of checking information about the connection properties of the user's terminal regarding the application based on the user information; and A step of transmitting a push notification message corresponding to the push notification request to the user's terminal through a first path based on information about the connection properties, A method for providing push notifications, wherein the first path includes a data transmission path through two-way communication between the electronic device and the user's terminal.

2. In paragraph 1, The above two-way communication is, Contains at least some of the following: Polling, Long Polling, and Web Socket connections; The above transmitting step is, A method for providing a push notification, comprising the step of transmitting the push notification message based on a two-way communication connection confirmed based on connection attribute information corresponding to the user.

3. In paragraph 1, The above push notification provision method is: A step of receiving request information regarding the establishment of the two-way communication transmitted in response to the execution of the application on the user's terminal; A step of checking information regarding the type of the two-way communication based on the above request information; A step of transmitting response information regarding the two-way communication to the user's terminal based on information regarding the type; and A method for providing push notifications, further comprising the step of generating information regarding connection properties corresponding to the above two-way communication.

4. In paragraph 3, Information about the above connection properties, A method for providing a push notification, comprising at least some of connection status information, information regarding the type of the two-way communication, IP (internet protocol) information of the user terminal, identification information corresponding to the establishment of the two-way communication, and identification information regarding the user terminal.

5. In paragraph 3, A step of transmitting a connection status request message to a terminal of a user with whom the above two-way communication has been established; A method for providing push notifications, further comprising the step of updating information about the connection properties corresponding to the user's terminal based on whether a connection status response message corresponding to the connection status request message has been received from the user's terminal.

6. In paragraph 1, A method for providing a push notification, further comprising the step of generating the push notification message corresponding to the push notification request based on information about the connection properties.

7. In paragraph 1, A method for providing a push notification, wherein the push notification message includes at least a portion of identification information corresponding to the user's terminal, identification information of the user, and body information corresponding to the push notification.

8. In paragraph 1, A step of generating a push notification message based on confirmation of the above push notification request; A method for providing a push notification, further comprising a step of checking information regarding the connection properties based on the user information included in the push notification message.

9. In paragraph 1, When transmitting the push notification message through the first path, a step of receiving a reception result message corresponding to the receipt of the push notification message by the terminal from the user's terminal; and A method for providing a push notification, further comprising a step of generating information regarding the transmission result of the push notification message transmitted through the first path based on the reception result message.

10. In paragraph 1, A method for providing push notifications, further comprising the step of generating information on the transmission status by route for the transmitted push notification message based on information on the above connection properties.

11. In paragraph 1, A step of determining whether the user is online based on information about the connection properties; and If the user is online, a step of transmitting the push notification message to the user's terminal via the first path is included, and if the user is not online, a step of transmitting the push notification message to the user's terminal via the second path is included. A method for providing push notifications, wherein the second path includes at least a portion of one or more connections between the electronic device and an external server providing a messaging service, the connections being confirmed based on the terminal information of the user.

12. In paragraph 11, A step of determining information about the number of one or more users maintaining two-way communication with the electronic device based on information about connection properties of one or more users regarding the application; A method for providing a push notification, comprising the step of transmitting the push notification message through the second path in response to at least some of the one or more users based on information about the number of the one or more users.

13. In electronic devices, Department of Communications; memory; and Contains a processor, The above processor, Check the push notification requests related to your application, Verify the user information corresponding to the above push notification request, Based on the above user information, information about the connection properties of the user's terminal for the above application is checked, Based on the information about the above connection properties, a push notification message corresponding to the push notification request is set to be transmitted to the user's terminal through the first path, An electronic device, wherein the first path includes a data transmission path through two-way communication between the electronic device and the user's terminal.

14. 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

  • SEAMLESS PUSH SYSTEM AND METHOD

    JP5854148B2

  • Method for sending push message through communications network

    KR101229951B1

  • Push service system and method

    KR101241365B1

  • Push server, push service providing system and method thereof

    KR101367265B1

  • Bi-directional service system for push message and Control method for the system

    KR101527196B1