Exposing server functions to browser code

US2018239653A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2018239653-A1
Application numberUS-201815954306-A
CountryUS
Kind codeA1
Filing dateApr 16, 2018
Priority dateDec 17, 2010
Publication dateAug 23, 2018
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The exposing of a server function to a browser. From the browser's perspective, the browser submits a request for a web page to a web server, the web page being one of multiple web pages in a web application offered by the web server. The web server responds to the request by, for at least one of the server functions, formulating a corresponding script language function that defines a matching name and parameter set of the server side function. The script language function has a body that, when executed, serializes at least the name and parameter set of the server side function. The web server then provides the web page code and the corresponding script language function to the browser. The browser may then calls the server side function via the script language function.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer program product comprising one or more computer storage media having thereon computer-executable instructions that are structured such that, when executed by one or more processors of a web server, cause the web server to perform a method for web server to expose a function to a browser, the method comprising: receiving a request for a web page that is one of a plurality of web pages in a web application; in response to the request for the web page, for at least one server side function of the web application, formulating a corresponding script language function that defines a matching name and parameter set of the server side function, the script language function having a body that, when executed, serializes at least the name and parameter set of the server side function, the script language function being callable from multiple web pages such that the server side function can be called from each of multiple different contexts within the web application; and responding to the web page request with web page code and the corresponding script language function. 2 . The computer program product in accordance with claim 1 , wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following for the at least one server side function: receiving a request to call the server side function, the request to call being generated as a result of a browser executing the body of the corresponding script language function, the request to call including the name and parameter set of the server side function; using the request to formulate a parameter list; and executing the server side function using the parameter list. 3 . The computer program product in accordance with claim 2 , wherein the request to call is honored across multiple web pages of the plurality of web pages in the web application. 4 . The computer program product in accordance with claim 2 , wherein the request to call is honored across all of the plurality of web pages in the web application. 5 . The computer program product in accordance with claim 2 , wherein the body of the corresponding script language function also serializes a protection token of the server side function, wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following: validating the protection token. 6 . The computer program product in accordance with claim 2 , wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following: returning results of the execution of the parameter list. 7 . The method in accordance with claim 1 , wherein the script language function is a first script language function, and the server side function is a first server side function, wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following in response to the request for the web page: formulating a corresponding second script language function that defines a matching name and parameter set of a second server side function, the second script language function having a body that, when executed, serializes at least the name and parameter set of the second server side function; and responding to the web page request also with the second script language function. 8 . The computer program product in accordance with claim 7 , wherein the computer-executable instructions are further structured such that, when executed by the one or more processors, the web server is further caused to perform the following in response to receiving a request to call the second server side function, the request to call the second server side function being generated as a result of the browser executing the body of the second script language function, the request to call the second server side function including the name and parameter set of the second server side function: using the request to call the second server side function to formulate a parameter list for the second server side function; and executing the second server side function using the parameter list for the second server side function. 9 . The computer program product in accordance with claim 1 , wherein the body includes a function call to a library function that, when executed, serializes at least the name and parameter set of the server side function. 10 . The computer program product in accordance with claim 1 , wherein the body of the corresponding script language function also serializes at protection token of the server side function. 11 . A method for a browser to execute a server function, the method comprising: submitting a request for a web page that is one of a plurality of web pages in a web application; and receiving a response to the request, the response including the requested web page and a script language function that defines a matching name and parameter set of the server side function, the script language function having a body that, when executed, serializes at least the name and parameter set of the server side function, the script language function being callable from the plurality of web pages such that the server side function can be called from each of multiple different contexts within the web application. 12 . The method in accordance with claim 11 , further comprising: executing the script language function. 13 . The method in accordance with claim 12 , further comprising: providing a parameter set to the executing script language function, thereby causing the name and parameter set of the server side function to be serialized in the form of a request to call the server side function. 14 . The method in accordance with claim 13 , further comprising: receiving results of the execution of the server side function that was executed in response to the request to call the server side function. 15 . The method in accordance with claim 11 , wherein the request to call is honored within part of the web application. 16 . The method in accordance with claim 11 , wherein the request to call is honored within all of the web application. 17 . The method in accordance with claim 11 , wherein the body of the corresponding script language function also serializes a protection token of the server side function. 18 . The method in accordance with claim 11 , wherein the body includes a function call to a library function that, when executed, serializes at least the name and parameter set of the server side function. 19 . The method in accordance with claim 11 , wherein the body of the corresponding script language function also serializes at protection token of the server side function. 20 . A method for exposing a server function to a browser, the method comprising: a browser submitting a request for a web page that is one of a plurality of web pages in a web application; a web server receiving the request for the web page; in response to the request for the web page, for at least one server side function of the web application, the web server formulating a corresponding script language function that defines a matching name and parameter set of the server side function, the script language function having a b

Assignees

Inventors

Classifications

  • G06F9/54Primary

    Interprogram communication · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2018239653A1 cover?
The exposing of a server function to a browser. From the browser's perspective, the browser submits a request for a web page to a web server, the web page being one of multiple web pages in a web application offered by the web server. The web server responds to the request by, for at least one of the server functions, formulating a corresponding script language function that defines a matching …
Who is the assignee on this patent?
Microsoft Technology Licensing Llc
What technology area does this patent fall under?
Primary CPC classification G06F9/54. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Aug 23 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).