Web services having live data updates
Abstract
A method, apparatus, and computer program product for communicating real-time updates among web clients. A structured data object is composed from a set of data nodes according to a domain specific language in response to requesting access to a data within a human resources database. The structured data object is interpreted within a context of a record ID/form to identify content for the web page and to determine whether real-time updates are enabled for the web page. Interpreting the structured data object, displays the form with the content. An event queue is created and a connection to the server hub is established when real-time updates are enabled. In response to receiving an update event in the event queue, a notification of the update event is displayed when the update event matches the record ID/form that a first user has opened.
Claims
exact text as granted — not AI-modified1 - 21 . (canceled)
22 . A method for communicating real-time updates among web clients, the method comprising:
receiving, by a computer system responsive to requesting access to a data record stored in a database, a data object comprising a set of data nodes according to a domain specific language, the data object defining a layout for a webpage form; interpreting, by the computer system, the data object within a context of the data record to identify content for the webpage form; creating, by the computer system responsive to determining that the data object enables real-time updates for the webpage form, an event queue; displaying, by the computer system, the webpage form with the identified content; and displaying, by the computer system responsive to determining that an update event in the event queue matches a record identifier for the data record, a notification and content of the update event.
23 . The method of claim 22 , wherein the update event is a notification of changes to the content for the webpage form, the changes to the content for the webpage form including at least one of:
an addition of a second data record; opening of a second webpage form by a user for editing the data record; or updating of the data record by user.
24 . The method of claim 22 , further comprising:
providing, by the computer system, a prompt to a user for a response to the update event, the prompt including at least one of:
a message to update the content displayed;
a message to discard changes made by a second user; or
a message to merge the content with the changes made by the second user.
25 . The method of claim 22 , further comprising:
updating, by the computer system, the content displayed in the webpage form based on information in the update event without refreshing, reloading, or otherwise re-retrieving relevant content for the webpage form.
26 . The method of claim 22 , further comprising:
establishing, by the computer system, a connection to a server, the connection providing asynchronous bi-directional communication between a client browser and the server using an Application Program Interface.
27 . The method of claim 26 , wherein the connection is a web socket connection.
28 . The method of claim 22 , wherein the update event is a compressed JSON syntax of the data record including the record identifier, a data source, and changed values of the data record.
29 . A computer system, comprising:
a hardware processor; and a web browser, in communication with the hardware processor, the web browser configured to:
receive, in response to a request for access to a data record stored in a database, a data object comprising a set of data nodes according to a domain specific language, the data object defining a layout for a webpage form;
interpret the data object within a context of the data record to identify content for the webpage form;
create, responsive to determining that the data object enables real-time updates for the webpage form, an event queue;
display the webpage form with the identified content; and
display, responsive to determining that an update event in the event queue matches a record identifier for the data record, a notification and content of the update event.
30 . The computer system of claim 29 , wherein the update event is a notification of changes to the content for the webpage form, the changes to the content for the webpage form including at least one of:
an addition of a second data record; opening of a second webpage form by a user for editing the data record; or updating of the data record by user.
31 . The computer system of claim 29 , the web browser is further configured to:
provide a prompt to a user for a response to the update event, the prompt including at least one of:
a message to update the content displayed;
a message to discard changes made by a second user; or
a message to merge the content with the changes made by the second user.
32 . The computer system of claim 29 , the web browser is further configured to:
update the content displayed in the webpage form based on information in the update event without refreshing, reloading, or otherwise re-retrieving relevant content for the webpage form.
33 . The computer system of claim 29 , the web browser is further configured to:
establish a connection to a server, the connection providing asynchronous bi-directional communication between a client browser and the server using an Application Program Interface.
34 . The computer system of claim 33 , wherein the connection is a web socket connection.
35 . The computer system of claim 29 , wherein the update event is a compressed JSON syntax of the data record including the record identifier, a data source, and changed values of the data record.
36 . One or more non-transitory computer readable storage media having instructions stored thereon that, when executed by one or more processors, cause the one or more processors to implement operations comprising:
receiving a data object composed from a set of data nodes according to a domain specific language, the data object defining a layout for a webpage form; interpreting, using a data record, the data object to identify content for the webpage form; creating, responsive to determining that the data object enables real-time updates for the webpage form, an event queue; displaying the webpage form with the content; and displaying, responsive to determining that an update event in the event queue matches a record identifier for the data record, a notification and content of the update event.
37 . The one or more non-transitory computer readable storage media of claim 36 , wherein the update event is a notification of changes to the content for the webpage form, the changes to the content for the webpage form including at least one of:
an addition of a second data record; opening of a second webpage form by a user for editing the data record; or updating of the data record by user.
38 . The one or more non-transitory computer readable storage media of claim 36 , the operations further comprising:
providing a prompt to a user for a response to the update event, the prompt including at least one of:
a message to update the content displayed;
a message to discard changes made by a second user; or
a message to merge the content with the changes made by the second user.
39 . The one or more non-transitory computer readable storage media of claim 36 , the operations further comprising:
updating the content displayed in the webpage form based on information in the update event without refreshing, reloading, or otherwise re-retrieving relevant content for the webpage form.
40 . The one or more non-transitory computer readable storage media of claim 36 , the operations further comprising:
establishing a connection to a server, the connection providing asynchronous bi-directional communication between a client browser and the server using an Application Program Interface.
41 . The one or more non-transitory computer readable storage media of claim 40 , wherein the connection is a web socket connection.Join the waitlist — get patent alerts
Track US2023229671A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.