KR20160120412A - System and method for push notification - Google Patents
System and method for push notification Download PDFInfo
- Publication number
- KR20160120412A KR20160120412A KR1020150049285A KR20150049285A KR20160120412A KR 20160120412 A KR20160120412 A KR 20160120412A KR 1020150049285 A KR1020150049285 A KR 1020150049285A KR 20150049285 A KR20150049285 A KR 20150049285A KR 20160120412 A KR20160120412 A KR 20160120412A
- Authority
- KR
- South Korea
- Prior art keywords
- web
- face
- notification
- request
- server
- Prior art date
Links
Images
Classifications
-
- H04L67/26—
-
- H04L51/24—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A push notification system and method are disclosed. The push notification system processes a service request received by a web server or web server that provides a web page to a web browser in response to a service request of the web browser provided by the user terminal, and determines whether to provide the push notification according to the result of the processing The web application server and the web browser requesting the issuance of the push notification maintain connection with the web browser to receive the push notification and issue a push notification through the notification channel determined according to the push notification issue request to transmit the push notification to the web browser Lt; / RTI >
Description
The present invention relates to a push notification system and method.
Notification means providing information to be informed to a user of the terminal by generating various auditory or visual effects and providing it in the form of an alarm. Recently, as collaboration services such as smart work and smart education have been increased, As a tool, utilization is increasing.
Push-notification is a notification scheme in which a request for transmission of a notification is initiated by a server or an issuer, and a notification scheme in which a request for transmission of a notification is prepared for a pull-notification initiated by a client. The advantage of push notifications is that even if the client does not repeatedly request to be notified, the server can notify the registered user immediately if a specific event or condition is satisfied. For example, when a new user enters a face-to-face video conference room when using the SmartWeb Web service, he or she can notify other users who have already entered the conference room through the real-time push notification.
To receive such a push notification, the client must wait while continuing to contact the server. For this reason, there is a disadvantage that an external plug-in is required in addition to a web browser in order for an HTTP-based web browser, which is once connected to the server to exchange information and disconnect the connection, to receive the push notification.
Recently, a web socket function has been added to HTML5 so that it is possible to communicate with the server in a keep-alive form using only a web browser supporting HTML5 without any additional plug-in. That is, by using Web socket, it is possible for the web browser and the server to exchange data in real time through the TCP channel continuously connected. Thus, there is a need for an efficient technique to receive push notifications initiated by the server purely through a web browser when certain events or conditions are satisfied.
The present invention proposes a web socket-based push notification system and method capable of allowing a web browser supporting a web socket of HTML5 to receive push notifications in real time anytime, anywhere and on any platform.
According to an aspect of the invention, a push notification system is disclosed.
A push notification system according to an embodiment of the present invention includes a web server providing a web page to the web browser in response to a service request of the web browser provided in the user terminal, A web application server for determining whether to provide a push notification according to the result and requesting to issue a push notification, and a web browser for maintaining a connection with the web browser to receive the push notification and pushing through a notification channel determined according to the push notification issue request And a web socket server for sending a push notification to the web browser by issuing a notification.
The web browser supports HTML5 with a web socket function.
When the web browser accesses the web server and requests a service, the web server loads the web page including the web socket communication module and the service function, which receive the push notification, into the web browser.
The web application server includes a push notification determination unit for determining whether to issue a push notification, a notification message content, and a notification channel to which a push notification is to be issued, based on the processing result of the service request, And a notification policy storage unit for storing information.
When the push notification determination unit determines that a new notification channel is required to be generated or a notification channel that has already been generated needs to be deleted, the web application server requests the web socket server to create or delete a notification channel.
When the contents of the notification message and the notification channel for issuing the push notification are determined by the push notification determination unit, the web application server requests the web socket server to issue a push notification.
In the smart work service, the notification policy storage unit stores information informing a new chat room when a new user enters the established chat room, the user leaves the chat room, or the chat room is deleted, And notifies the user terminal of the notification policy information.
The web socket server includes a notification channel manager for receiving a request for creating or deleting a notification channel from the web application server and generating a new notification channel or deleting the corresponding notification channel, The push notification is issued to the corresponding notification channel using the notification channel information included in the push notification issue request so that the corresponding push notification is transmitted to the web browser subscribed as the subscriber of the corresponding notification channel among the plurality of web browsers And a push notification issuing unit.
When the notification channel management unit receives a subscription request or a subscription cancellation request of the specific notification channel from the web browser, the requested channel management unit subscribes the requested web browser as a subscriber of the corresponding notification channel or unsubscribes from the subscriber.
According to another aspect of the present invention, a push notification method in a push notification system including a web server, a web application server, and a web socket server is disclosed.
The push notification method according to an embodiment of the present invention includes the steps of the web server transmitting a web page to the first web browser in response to a smart work service request of a first web browser of a first user terminal, The web application server opens a new face-to-face chat room at the request of the face-to-face chat room opening process. The first face-to-face chat room is opened by the web application server, The web application server determines that a new notification channel to be mapped to the new face-to-face chat room is required according to the determination of the push notification provision, and transmits a notification channel creation request to the web socket server And transmitting the notification channel to the web socket server, And a step of generating a rule notification channel.
Wherein the web application server transmits notification channel information for the new notification channel to the web server, and the web server transmits the notification channel information about the new notification channel to the web server in response to the request for opening the facing chat room, To the first web browser; and registering the first web browser as a subscriber of the new notification channel in response to the subscription request of the new notification channel of the first web browser by the web socket server .
Wherein the web server transmits a web page to the second web browser in response to a smart work service request of a second web browser of the second user terminal, , The web application server processes the entry of the new face-to-face chat room of the second web browser in response to the face-to-face chat room entrance processing request, and the second web Determining whether to provide a notification of a position of the browser to a user of the chatting room and providing a push notification to the second web browser, the web application server acquires the notification channel information mapped to the new chatting room according to the entry Determining a content of the notification message, Transmitting the push notification request including the contents of the notification message to the web socket server, and transmitting the push notification using the notification channel information and the contents of the notification message in response to the push notification occurrence request, And transmitting the first web browser to the first web browser.
Transmitting, by the web application server, the notification channel information mapped to the new face-to-face chat room entered by the second web browser to the web server; And transmitting the notification channel information mapped to the new face-to-face chatting room to the second web browser, and transmitting the notification channel information to the second face-to-face chatting room of the second web browser, 2 < / RTI > web browser as a subscriber of the new notification channel and performing the subscription processing.
The web server transmits a face-to-face chatting process request to the web application server in response to a face-to-face chatting request of the second web browser, the web application server sends a face- The web application server acquires the notification channel information mapped to the new face-to-face chat room according to the departure, and determines the content of the notification message Transmitting, by the web application server, a push notification issue request including the notification channel information and the notification message content to the web socket server; and transmitting, by the web socket server, Use the message content to issue push notifications. Further comprising the step of sending to the first Web browser.
The web application server transmitting the notification channel information mapped to the new face-to-face chat room where the second web browser is exited to the web server, and the web server transmitting the face chat room exiting result information And transmitting the notification channel information mapped to the new face-to-face chat room where the second web browser has exited to the second web browser, and transmitting the notification channel information mapped to the new face- And withdrawing the second web browser according to a subscription revocation request of the second web browser with respect to the notification channel.
The web server sends a face-to-face chat room deletion processing request to the web application server in response to the face-to-face chat room deletion request of the first web browser, and the web application server deletes the face-to-face chat room according to the face- Receiving a notification channel information mapped to a face-to-face chat room deleted by the web application server, transmitting a deletion request of a notification channel mapped to the deleted face-to-face chat room to the web socket server, Further comprising deleting the notification channel mapped to the deleted face-to-face chat room in response to the notification channel deletion request.
The web server transmits the notification channel information of the deleted notification channel to the web server. The web server transmits the notification channel deletion result information and the notification channel information of the deleted notification channel in response to the face- Information to the first web browser, and the web socket server withdraws the first web browser according to a request to cancel the subscription to the first web browser for the deleted notification channel.
The web socket based push notification system according to the present invention can allow the web browser supporting the web socket of HTML5 to receive the push notification in real time regardless of any place and any platform.
1 schematically illustrates a configuration of a web socket-based push notification system;
FIG. 2 is a flowchart illustrating a push notification method in the push notification system of FIG. 1;
FIG. 3 is a flowchart illustrating a method of unsubscribing to a notification channel and deleting a notification channel. FIG.
While the present invention has been described in connection with certain exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following description of the present invention, detailed description of known related arts will be omitted when it is determined that the gist of the present invention may be unnecessarily obscured. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.
Also, in this specification, when an element is referred to as being "connected" or "connected" with another element, the element may be directly connected or directly connected to the other element, It should be understood that, unless an opposite description is present, it may be connected or connected via another element in the middle.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate a thorough understanding of the present invention, the same reference numerals are used for the same means regardless of the number of the drawings.
FIG. 1 schematically illustrates a configuration of a web socket-based push notification system.
Referring to FIG. 1, the push notification system includes a plurality of
The
The
For example, when the
The
As shown in FIG. 1, the
The push notification determination unit 141 determines whether or not to issue a push notification, the contents of the notification message, and a notification channel for issuing the push notification according to the processing result of the service request of the
The notification
For example, the notification
If the push notification determination unit 141 determines that a new notification channel is required to be generated or a notification channel that has already been generated needs to be deleted, the
The
As shown in FIG. 1, the
The notification
The notification
When the push
2 is a flowchart illustrating a push notification method in the push notification system of FIG. Hereinafter, a method of receiving push notifications from the
In step S211, the
In step S213, the ward user connects to the
In step S215, the
In step S217, the ward user transmits a request for opening a face-to-face chat room to the
In step S219, the
In step S221, the
In step S223, the
In step S225, the
In step S227, the
In step S229, the
In step S231, the
In step S233, the
In step S251, the guest user executes the
In step S253, the guest user loads the web page corresponding to the smart work service request from the
In step S255, the
In step S257, the
In step S259, the
In step S261, the
In step S263, the
The
In step S267, the
In step S269, the
In step S271, the
In step S273, the
FIG. 3 is a flowchart illustrating a method of unsubscribing to a notification channel and deleting a notification channel.
In step S311, the guest user transmits a chat room exit request to the
In step S313, the
In step S315, the
In step S317, the
In step S319, the
In step S321, the
In step S323, the
In step S325, the
In step S327, the
In step S329, the
In step S331, the
In step S333, the guest user terminates the use of the smart work service by terminating the
If it is determined in step S351 that the established chatting room is no longer needed, the chatting user transmits a request to delete the chatting room to the
In step S353, the
In step S355, the
In step S357, the
In step S359, the
In step S361, the
In step S363, in response to the request to delete the face-to-face chat room of the
In step S365, the
In step S367, the
In step S369, the secretbook user closes the
Meanwhile, the push notification method according to an exemplary embodiment of the present invention may be implemented in the form of a program command that can be executed through a variety of means for electronically processing information, and may be recorded in a storage medium. The storage medium may include program instructions, data files, data structures, and the like, alone or in combination.
Program instructions to be recorded on the storage medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of software. Examples of storage media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, magneto-optical media and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. The above-mentioned medium may also be a transmission medium such as a light or metal wire, wave guide, etc., including a carrier wave for transmitting a signal designating a program command, a data structure and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as devices for processing information electronically using an interpreter or the like, for example, a high-level language code that can be executed by a computer.
The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the appended claims. It will be understood that the invention may be varied and varied without departing from the scope of the invention.
110: first user terminal
120: second user terminal
130: Web server
140: Web application server
150: Web Socket Server
Claims (17)
A web application server processing a service request received by the web server, determining a provision of a push notification according to a result of the processing, and requesting a push notification issue; And
And a web socket server that maintains connection with the web browser to receive the push notification, issues a push notification through the notification channel determined according to the push notification issue request, and transmits the push notification to the web browser Push notification system.
Wherein the web browser supports HTML5 with a web socket function.
Wherein when the web browser accesses the web server and requests a service, the web server loads the web page including the web socket communication module and the service function into the web browser for receiving the push notification. .
The web application server,
A push notification determination unit for determining whether to issue a push notification, the content of the notification message, and a notification channel to which the push notification is to be issued, according to the processing result of the service request; And
And a notification policy storage unit for storing notification policy information serving as a determination criterion of the push notification determination unit.
Wherein the push notification determination unit requests the web socket server to create or delete a notification channel when it is determined that a new notification channel is required to be generated or a notification channel that has already been generated needs to be deleted. Notification system.
Wherein the web application server requests the web socket server to issue a push notification when the contents of the notification message and the notification channel for issuing the push notification are determined by the push notification determination unit.
In the smart work service, the notification policy storage unit stores information informing a new chat room when a new user enters the established chat room, the user leaves the chat room, or the chat room is deleted, To the user terminal of the push notification system.
The web socket server comprises:
A notification channel manager for receiving a request for creating or deleting a notification channel from the web application server and generating a new notification channel or deleting the corresponding notification channel; And
When receiving a push notification issuance request from the web application server, issues a push notification to the corresponding notification channel using the notification channel information included in the push notification issuance request, so that subscribers of the corresponding notification channels among the plurality of web browsers And a push notification unit for transmitting the push notification to the web browser.
Wherein the notification channel management unit subscribes the requested web browser as a subscriber of the corresponding notification channel or leaves the subscriber when the subscription request or the subscription cancellation request of the specific notification channel is received from the web browser.
The web server transmitting a web page to the first web browser in response to a smart work service request of a first web browser of the first user terminal;
Transmitting a face-to-face chat room opening processing request to the web application server according to a request from the web server to open a face-to-face chat room of the first web browser;
The web application server establishing a new face-to-face chat room upon request of the face-to-face chat room opening process, and determining to provide the push notification to the first web browser;
The web application server determines that a new notification channel to be mapped to the new face-to-face chat room is required according to the determination of the push notification provision, and transmits a notification channel creation request to the web socket server; And
And the web socket server generating the new notification channel in response to the notification channel creation request.
Transmitting the notification channel information about the new notification channel to the web server by the web application server;
Transmitting, to the first web browser, the result information of the face-to-face chat room and the notification channel information of the new notification channel in response to the request for opening the face-to-face chat room; And
Further comprising registering the first web browser as a subscriber of the new notification channel and performing a subscription process according to a subscription request of the new notification channel of the first web browser by the web socket server.
Transmitting the web page to the second web browser in response to a smart work service request of the second web browser of the second user terminal;
Sending, by the web server, a face-to-face chat room entry processing request to the web application server in response to an entry request of the new face-to-face chat room of the second web browser;
The web application server processes the position of the new face-to-face chat room of the second web browser in response to the face-to-face chat room entrance processing request, and provides a notice of the position of the second web browser to the chat room user, Determining to provide a push notification to the browser;
The web application server acquiring notification channel information mapped to the new face-to-face chat room according to the entry, and determining contents of the notification message;
Transmitting, by the web application server, a push notification issue request including the notification channel information and the notification message content to the web socket server; And
Further comprising the step of the web socket server issuing a push notification using the notification channel information and the contents of the notification message according to the push notification occurrence request and transmitting the push notification to the first web browser.
Transmitting the notification channel information mapped to the new face-to-face chat room entered by the second web browser to the web server;
Transmitting, to the second web browser, the result information on the face-to-face chat room and the notification channel information mapped to the face-to-face chat room in response to the request for the face-to-face chat room entrance; And
Further comprising registering the second web browser as a subscriber of the new notification channel and subscribing the second web browser in response to a subscription request of the new notification channel mapped to the new face-to-face chat room of the second web browser, Notification method.
The web server sending a face-to-face chatting process request to the web application server according to a face-to-face chatting request of the second web browser;
Determining that the web application server processes the exit of the second web browser in response to the face-to-face chat room exit processing request and provides a notification of the exit to the chat room user;
The web application server acquiring the notification channel information mapped to the new face-to-face chat room according to the exit, and determining the content of the notification message;
Transmitting, by the web application server, a push notification issue request including the notification channel information and the notification message content to the web socket server; And
Further comprising the step of the web socket server issuing a push notification using the notification channel information and the contents of the notification message according to the push notification occurrence request and transmitting the push notification to the first web browser.
Transmitting, by the web application server, the notification channel information mapped to the new face-to-face chat room where the second web browser is exited, to the web server;
Transmitting, to the second web browser, the result information of the face-to-face chatting room in response to the request for the face-to-face chatting room exit and the notification channel information mapped to the face-to-face chatting room where the second web-browser is exited; And
Further comprising the step of withdrawing the second web browser according to a subscription revocation request of the second web browser for a notification channel mapped to the new facing chat room where the second web browser is exited by the web socket server Notification method.
Transmitting a face-to-face chat room deletion processing request to the web application server in response to the face-down chat room deletion request of the first web browser;
The web application server deletes the new face-to-face chat room according to the face-to-face chat room deletion processing request;
Acquiring notification channel information mapped to a face-to-face chat room deleted by the web application server, and transmitting a deletion request of a notification channel mapped to the face-to-face chat room to the web socket server; And
And the web socket server deletes the notification channel mapped to the deleted face-to-face chat room in response to the notification channel deletion request.
Transmitting the notification channel information of the deleted notification channel to the web server by the web application server;
Transmitting, by the web server, the result information of the face-to-face chat room and the notification channel information of the deleted notification channel to the first web browser in response to the face-to-face chat room deletion request; And
Wherein the web socket server is configured to perform the withdrawal processing of the first web browser according to a subscription revocation request of the first web browser for the deleted notification channel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150049285A KR101801596B1 (en) | 2015-04-07 | 2015-04-07 | System and method for push notification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150049285A KR101801596B1 (en) | 2015-04-07 | 2015-04-07 | System and method for push notification |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160120412A true KR20160120412A (en) | 2016-10-18 |
KR101801596B1 KR101801596B1 (en) | 2017-11-28 |
Family
ID=57244397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150049285A KR101801596B1 (en) | 2015-04-07 | 2015-04-07 | System and method for push notification |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101801596B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210035162A (en) | 2021-03-25 | 2021-03-31 | (주)서울옥션블루 | Method and system for online auction using web socket communication and computer-readable medium storing program for executing the same |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5211557B2 (en) | 2007-06-15 | 2013-06-12 | 富士通株式会社 | Web conference support program, recording medium recording the program, Web conference support device, and Web conference support method |
US8725819B2 (en) | 2009-03-23 | 2014-05-13 | Sony Corporation | Chat system, server device, chat method, chat execution program, storage medium stored with chat execution program, information processing unit, image display method, image processing program, storage medium stored with image processing program |
KR101473660B1 (en) * | 2013-10-14 | 2014-12-18 | 경북대학교 산학협력단 | Web-based real time data pushing method and system thereof |
-
2015
- 2015-04-07 KR KR1020150049285A patent/KR101801596B1/en active IP Right Grant
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210035162A (en) | 2021-03-25 | 2021-03-31 | (주)서울옥션블루 | Method and system for online auction using web socket communication and computer-readable medium storing program for executing the same |
Also Published As
Publication number | Publication date |
---|---|
KR101801596B1 (en) | 2017-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8209384B2 (en) | Persistent group-based instant messaging | |
US7752272B2 (en) | System and method for filter content pushed to client device | |
US9288194B2 (en) | Authorization method, apparatus, and system | |
US7441016B2 (en) | Service authorizer | |
US20050038874A1 (en) | System and method for downloading data using a proxy | |
CN102084392B (en) | System and method of content distrubution | |
US20220231870A1 (en) | Multiplexing message distribution within group-based communication system | |
US20040156487A1 (en) | Messaging system | |
CN110545327B (en) | Information pushing method and system | |
US20030041100A1 (en) | Method for limiting conveyance information of user profile within mobile internet transactions | |
CN105704001A (en) | WeChat server message distribution method and WeChat server message distribution system | |
KR101801596B1 (en) | System and method for push notification | |
CN112838979A (en) | Case discussion information interaction method and system | |
JPH11272610A (en) | Communication system and communication method | |
CN109040331B (en) | Electronic business card processing method and device, computing equipment and storage medium | |
Chika et al. | Financial stock application using websocket in Real Time Application | |
CN105681262A (en) | Interaction message allocating method and system | |
CN111953801A (en) | Remote control method and device for robot, electronic equipment and storage medium | |
US10348515B2 (en) | System and method for a building-integrated communications platform | |
KR20030032563A (en) | Mobile communication system for automatically saving bookmark information of ISP server in user's mobile terminal and method thereof | |
EP1679844A1 (en) | System and method for filtering pushed content | |
CN114302244B (en) | Information interaction method, device, server and storage medium | |
KR100640512B1 (en) | Method and system for synchronizing data between server and terminal using messenger service system | |
US20110191857A1 (en) | Method for masking data | |
KR101868984B1 (en) | Push service management method and apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |