NL2007936C2 - COMMUNICATION SYSTEM. - Google Patents
COMMUNICATION SYSTEM. Download PDFInfo
- Publication number
- NL2007936C2 NL2007936C2 NL2007936A NL2007936A NL2007936C2 NL 2007936 C2 NL2007936 C2 NL 2007936C2 NL 2007936 A NL2007936 A NL 2007936A NL 2007936 A NL2007936 A NL 2007936A NL 2007936 C2 NL2007936 C2 NL 2007936C2
- Authority
- NL
- Netherlands
- Prior art keywords
- computer program
- web server
- web browser
- intended
- web
- Prior art date
Links
Classifications
-
- 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/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
Description
CommunicatiesysteemCommunication system
De onderhavige uitvinding betreft een communicatiesysteem omvattende een Webserver en een 5 computersysteem omvattende ten minste een webbrowser en een computerprogramma, alsook een werkwijze voor het tot stand brengen van communicatie tussen een Webserver en een computerprogramma in een dergelijk communicatiesysteem.The present invention relates to a communication system comprising a Web server and a computer system comprising at least one web browser and a computer program, as well as a method for establishing communication between a Web server and a computer program in such a communication system.
10 Communicatiesystemen omvattende een Webserver en een computersysteem omvattende een webbrowser zijn bekend.Communication systems comprising a Web server and a computer system comprising a web browser are known.
Een Webserver is een enkelvoudig computersysteem of een combinatie van samenwerkende computersystemen die antwoorden 15 stuurt op verzoeken van webbrowsers. Een webbrowser is een computerprogramma waarmee een gebruiker van het computersysteem een verzoek stuurt aan een Webserver en dat het antwoord verwerkt. De verwerking van het antwoord kan leiden tot nieuwe verzoeken aan dezelfde of andere 20 webservers. Het resultaat na de verwerking van de antwoorden, of tussenresultaten, kunnen door de webbrowser worden weergegeven op een computerscherm van het computersysteem in de vorm van een webpagina.A Web server is a single computer system or a combination of cooperating computer systems that sends responses to requests from web browsers. A web browser is a computer program with which a user of the computer system sends a request to a Web server and processes the response. The processing of the response can lead to new requests to the same or different web servers. The result after processing the answers, or intermediate results, can be displayed by the web browser on a computer screen of the computer system in the form of a web page.
25 Om de communicatie tussen de webbrowser en de Webserver mogelijk te maken, is een dergelijk communicatiesysteem zodanig ingericht dat de Webserver en het computersysteem via een netwerk, zoals het internet, zodanig met elkaar in verbinding staan dat gegevens tussen de Webserver en de 30 webbrowser uit te wisselen zijn. Bij de bekende communicatiesystemen zijn het computersysteem en de Webserver via firewalls, proxy's, routers, etc. met elkaar verbonden .In order to enable communication between the web browser and the Web server, such a communication system is arranged such that the Web server and the computer system are connected to each other via a network, such as the internet, such that data between the Web server and the web browser is to be exchanged. In the known communication systems, the computer system and the Web server are connected to each other via firewalls, proxies, routers, etc.
22
De communicatie tussen de Webserver en het computersysteem via het netwerk geschiedt volgens een netwerkprotocol, over het algemeen het Transmission Control 5 Protocol (TCP) en het Internet Protocol (IP), samen het TCP/IP protocol. In het bijzonder heeft de Webserver een netwerkadres dat verwijst naar de locatie van de Webserver op het netwerk. Bij toepassing van het TCP/IP protocol is het netwerkadres over het algemeen een zogenaamd Internet 10 Protocol-adres (IP-adres) in combinatie met een IP-poortnummer.The communication between the Web server and the computer system via the network takes place according to a network protocol, generally the Transmission Control Protocol (TCP) and the Internet Protocol (IP), together the TCP / IP protocol. In particular, the Web server has a network address that refers to the location of the Web server on the network. When applying the TCP / IP protocol, the network address is generally a so-called Internet Protocol address (IP address) in combination with an IP port number.
Het computersysteem gebruikt het netwerkadres van de Webserver om communicatie te initiëren, waarna gegevens 15 tussen de Webserver en het computersysteem uit te wisselen zi jn.The computer system uses the network address of the Web server to initiate communication, whereafter data is exchanged between the Web server and the computer system.
De Webserver is geconfigureerd om verzoeken van de webbrowser te ontvangen, te verwerken, en te beantwoorden.The Web server is configured to receive, process, and respond to requests from the web browser.
20 De webbrowser is geconfigureerd om verzoeken bestemd voor de Webserver te zenden naar de Webserver en om daarop volgende antwoorden van de Webserver te ontvangen en te verwerken.The web browser is configured to send requests intended for the Web server to the Web server and to receive and process subsequent responses from the Web server.
Bij de bekende communicatiesystemen geschiedt de communicatie tussen de webbrowser en de Webserver in de vorm 25 van verzoeken en antwoorden daarop. De verzoeken en antwoorden worden over het algemeen uitgewisseld tussen de Webserver en de webbrowser volgens het Hypertext Transfer Protocol (HTTP).In the known communication systems, communication between the web browser and the Web server takes place in the form of requests and responses thereto. The requests and responses are generally exchanged between the Web server and the web browser according to the Hypertext Transfer Protocol (HTTP).
30 Bij de bekende communicatiesystemen van de bovengenoemde soort is het in bepaalde gevallen nodig dat communicatie plaatsvindt tussen de Webserver en een ander computerprogramma op het computersysteem dan de webbrowser.With the known communication systems of the above-mentioned type, in certain cases it is necessary for communication to take place between the Web server and a different computer program on the computer system than the web browser.
33
Om dat mogelijk te maken, is het bekend om de webbrowser te voorzien van een zogenaamde plug-in waarin instructies voor de webbrowser zijn opgenomen hoe het andere computerprogramma op te starten en/of hoe te communiceren 5 met het andere computerprogramma. Dit heeft als nadeel dat de gebruiker voor elk computerprogramma waarmee de Webserver moet kunnen communiceren een dergelijke plug-in moet installeren.To make that possible, it is known to provide the web browser with a so-called plug-in which includes instructions for the web browser on how to start the other computer program and / or how to communicate with the other computer program. This has the disadvantage that the user must install such a plug-in for each computer program with which the Web server must be able to communicate.
10 De onderhavige uitvinding heeft onder andere als doel om dit nadeel te verminderen.The present invention has for its object, among other things, to reduce this disadvantage.
Het communicatiesysteem volgens de onderhavige uitvinding maakt gebruik van de configuratie van de bekende 15 communicatiesystemen dat het computersysteem tevens een zogenaamde loopback interface heeft. Een loopback interface is gescheiden van het netwerk en kan worden geadresseerd met loopback adressen. Binnen het TCP/IP protocol is voor versie 4 van het IP-protocol het IP-adres '127.0.0.1' bijvoorbeeld 20 gereserveerd als een loopback adres. Een veel gebruikte referentie naar zulke loopback adressen binnen de bekende communicatiesystemen is de DNS naam 'localhost'. Verzoeken verzonden naar de loopback interface door deze verzoeken te richten aan een loopback adres, komen terecht op het 25 computersysteem zelf.The communication system according to the present invention makes use of the configuration of the known communication systems that the computer system also has a so-called loopback interface. A loopback interface is separate from the network and can be addressed with loopback addresses. For example, within the TCP / IP protocol, for IP version 4 of the IP protocol, the IP address '127.0.0.1' is reserved as a loopback address. A frequently used reference to such loopback addresses within the known communication systems is the DNS name 'localhost'. Requests sent to the loopback interface by directing these requests to a loopback address end up on the computer system itself.
De loopback interface is gescheiden van het netwerk, zodat het voor andere computersystemen dan het onderhavige computersysteem niet mogelijk is om via het netwerk met deze 30 loopback interface te communiceren. Wel is het computersysteem van de bekende communicatiesystemen zodanig geconfigureerd dat verzoeken van de webbrowser naar de 4 loopback interface te sturen zijn, door deze verzoeken te richten aan een loopback adres.The loopback interface is separate from the network, so that for computer systems other than the present computer system it is not possible to communicate with this loopback interface via the network. However, the computer system of the known communication systems is configured such that requests from the web browser can be sent to the 4 loopback interface by directing these requests to a loopback address.
Voor wat de betreft de instructies voor de webbrowser 5 in antwoorden ontvangen van de Webserver, zijn de webbrowsers van de bekende communicatiesystemen geconfigureerd om instructies volgens algemeen in antwoorden toegepaste opmaaktalen, in het bijzonder HyperText Markup Language (HTML), en om instructies volgens algemeen in 10 antwoorden toegepaste scripttalen, in het bijzonderRegarding the instructions for the web browser 5 in responses received from the Web server, the web browsers of the known communication systems are configured to provide instructions according to markup languages commonly used in answers, in particular HyperText Markup Language (HTML), and to instructions according to generally in 10 answers applied scripting languages, in particular
JavaScript, te interpreteren en uit te voeren. Dergelijke talen, en in het bijzonder HTML en JavaScript, bieden de mogelijkheid voor een Webserver om in antwoorden aan een webbrowser instructies op te nemen voor de webbrowser om 15 verzoeken te zenden naar de loopback interface, in het bijzonder verzoeken volgens het HTTP protocol. Alternatief kunnen in het geval van HTTP instructies verwerkt zijn in de het HTTP antwoord zelf, bijvoorbeeld door deze op te nemen in antwoord headers of in redirect URLs.JavaScript, to interpret and execute. Such languages, and in particular HTML and JavaScript, offer the possibility for a Web server to include instructions in a web browser for the web browser to send requests to the loopback interface, in particular requests according to the HTTP protocol. Alternatively, in the case of HTTP instructions may be incorporated in the HTTP response itself, for example by including it in response headers or in redirect URLs.
2020
Bij het communicatiesysteem volgens de onderhavige uitvinding is de Webserver geconfigureerd om een initieel verzoek dat is ontvangen van de webbrowser te beantwoorden door middel van een initieel antwoord bestemd voor de 25 webbrowser, waarbij het initiële antwoord bestemd voor de webbrowser instructies omvat aan de webbrowser om een verzoek bestemd voor het computerprogramma te zenden naar de loopback interface. Daarnaast is het computerprogramma geconfigureerd om de loopback interface te bewaken, om het 30 verzoek bestemd voor het computerprogramma te detecteren, te ontvangen, en te verwerken.In the communication system according to the present invention, the Web server is configured to respond to an initial request received from the web browser through an initial response intended for the web browser, the initial response intended for the web browser including instructions to the web browser to request to send the computer program to the loopback interface. In addition, the computer program is configured to monitor the loopback interface, to detect, receive, and process the request destined for the computer program.
55
Doordat het computerprogramma de loopback interface bewaakt, en verzoeken bestemd voor het computerprogramma detecteert, in ontvangst neemt, en verwerkt, wordt verwezenlijkt dat communicatie tussen het computerprogramma 5 en de Webserver mogelijk is zonder de webbrowser te voorzien van een plug-in met specifieke instructies hoe het computerprogramma op te starten en/of hoe te communiceren met het computerprogramma.Because the computer program monitors the loopback interface, and detects, receives, and processes requests intended for the computer program, it is realized that communication between the computer program 5 and the Web server is possible without providing the web browser with a plug-in with specific instructions how to start the computer program and / or how to communicate with the computer program.
10 In het bijzonder bij het in het antwoord aan de webbrowser van de Webserver opnemen van instructies aan de webbrowser volgens een algemeen in antwoorden toegepaste opmaaktaal of scripttaal, is het mogelijk bekende webbrowsers, die de algemeen in antwoorden toegepaste 15 opmaaktalen en scripttalen ondersteunen, zonder enige aanpassing toe te passen in een communicatiesysteem volgens de uitvinding. Dit laatste geldt in het bijzonder bij de toepassing in het antwoord volgens de uitvinding van HTML als opmaaktaal, eventueel in combinatie met JavaScript. In 20 HTML is het bijvoorbeeld mogelijk om door middel van een zogenaamde <script>-tag, <img>-tag, <link>-tag, etc., in combinatie met een zogenaamde Uniform Resource Locator (URL) instructies te geven aan de webbrowser om een verzoek bestemd voor het computerprogramma te zenden naar de 25 loopback interface.In particular when incorporating instructions to the web browser in the response to the web browser of the Web server according to a markup language or scripting language commonly used in answers, it is possible known web browsers that support the markup languages and scripting languages commonly used in answers, without apply any modification in a communication system according to the invention. The latter applies in particular to the application in the answer according to the invention of HTML as markup language, optionally in combination with JavaScript. For example, in HTML it is possible to give instructions to the user by means of a so-called <script> tag, <img> tag, <link> tag, etc., in combination with a so-called Uniform Resource Locator (URL). web browser to send a request for the computer program to the loopback interface.
Volgens een gunstige ontwikkeling van het communicatiesysteem volgens de uitvinding omvat het verzoek bestemd voor het computerprogramma instructies voor het 30 computerprogramma en is het computerprogramma ingericht om de instructies uit te voeren. Dit maakt het mogelijk om het computerprogramma op verzoek van de Webserver bepaalde 6 handelingen te laten uitvoeren, zoals het verzamelen van gegevens over het computersysteem of het computerprogramma.According to a favorable development of the communication system according to the invention, the request intended for the computer program comprises instructions for the computer program and the computer program is adapted to execute the instructions. This makes it possible for the computer program to perform certain 6 actions at the request of the Web server, such as collecting data about the computer system or the computer program.
In een gunstige uitvoeringsvorm daarvan zijn de 5 instructies voor het computerprogramma opgenomen in het verzoek aan het computerprogramma. Binnen het HTTP protocol is het bijvoorbeeld mogelijk om in de zogenaamde Uniform Resource Locator (URL) zogenaamde queries op te nemen.In a favorable embodiment thereof, the instructions for the computer program are included in the request to the computer program. For example, within the HTTP protocol it is possible to include so-called queries in the so-called Uniform Resource Locator (URL).
Door het computerprogramma te configureren om deze URLs als 10 instructies te interpreteren is het aldus in een verzoek volgens het HTTP protocol mogelijk instructies voor het computerprogramma op te nemen. Alternatief omvat het computerprogramma de instructies voor het computerprogramma en is een verwijzing naar de instructies opgenomen in het 15 verzoek.By configuring the computer program to interpret these URLs as instructions, it is thus possible to include instructions for the computer program in a request according to the HTTP protocol. Alternatively, the computer program includes the instructions for the computer program and a reference to the instructions is included in the request.
Een voorbeeld van een instructie aan de webbrowser in HTML om naar de loopback interface een verzoek te sturen met een instructie voor het computerprogramma, is bijvoorbeeld: 20 <img src='http://127.0.0.1:P/set?x=l'/>An example of an instruction to the web browser in HTML to send a request to the loopback interface with an instruction for the computer program is: 20 <img src = 'http: //127.0.0.1: P / set? X = l "/>
Op basis van deze instructie, stuurt de webbrowser naar de loopback interface een verzoek gericht aan poortnummer P van 25 het loopback adres '127.0.0.1' om in het antwoord de afbeelding '/set?x=l' te sturen. Een computerprogramma dat poort P van dit loopback adres bewaakt neemt het verzoek in ontvangst en vat de URL '/set?x=l' op als een instructie en voert die uit. Er is geen feitelijke afbeelding, maar de 30 <img>-tag wordt slechts gebruikt om de communicatie mogelijk te maken. Op deze wijze kan de Webserver in de initieel opgevraagde webpagina via de webbrowser instructies sturen 7 aan het computerprogramma. Het verzoek zelf aan de loopback interface bevat in dit voorbeeld reeds de instructie.Based on this instruction, the web browser sends a request to port number P of the loopback address "127.0.0.1" to send the image "/ set? X = 1" to the loopback interface. A computer program that monitors port P of this loopback address receives the request and takes the URL "/ set? X = 1" as an instruction and executes it. There is no actual image, but the 30 <img> tag is only used to enable communication. In this way the Web server in the initially requested web page can send instructions to the computer program via the web browser. The request itself to the loopback interface already contains the instruction in this example.
In een gunstige verdere ontwikkeling van het 5 communicatiesysteem volgens de uitvinding waarbij het verzoek bestemd voor het computerprogramma instructies voor het computerprogramma omvat, omvatten de instructies voor het computerprogramma het beantwoorden van het verzoek bestemd voor het computerprogramma door middel van een 10 antwoord bestemd voor de webbrowser. Deze maatregel maakt het bijvoorbeeld mogelijk om de ontvangst van het verzoek aan het computerprogramma te bevestigen aan de webbrowser, of om gegevens over het computersysteem of het computerprogramma die zijn verzameld door het 15 computerprogramma ter beschikking te stellen aan de webbrowser.In a favorable further development of the communication system according to the invention wherein the request intended for the computer program comprises instructions for the computer program, the instructions for the computer program comprise answering the request intended for the computer program by means of an answer intended for the web browser . This measure makes it possible, for example, to confirm receipt of the request to the computer program to the web browser, or to make data about the computer system or computer program collected by the computer program available to the web browser.
Een voorbeeld van een instructie aan de webbrowser in HTML om naar de loopback interface een verzoek te sturen met 20 een instructie voor het computerprogramma, waarbij de instructies voor het computerprogramma het beantwoorden van het verzoek bestemd voor het computerprogramma door middel van een antwoord bestemd voor de webbrowser is: 25 <script src='http://127.0.0.1:P/version.js'></script>An example of an instruction to the web browser in HTML to send a request to the loopback interface with an instruction for the computer program, the instructions for the computer program answering the request intended for the computer program by means of an answer intended for the web browser is: 25 <script src = 'http: //127.0.0.1: P / version.js'> </script>
De URL '/version.js' is de instructie voor het computerprogramma om het verzoek te beantwoorden met een JavaScript, zoals bijvoorbeeld: 30 version='1.6c';The URL "/version.js" is the instruction for the computer program to answer the request with a JavaScript, such as for example: 30 version = "1.6c";
De webbrowser voert het door het computerprogramma gegenereerde antwoord in de vorm van JavaScript uit en kan 8 de gegevens, in dit voorbeeld over de versie van het computerprogramma, dan bijvoorbeeld weergeven op het computerscherm van het computersysteem.The web browser executes the response generated by the computer program in the form of JavaScript and can then display the data, in this example about the version of the computer program, on the computer screen of the computer system, for example.
5 In een bijzonder gunstige verdere ontwikkeling omvat het antwoord bestemd voor de webbrowser van de Webserver, of het antwoord bestemd voor de webbrowser van het computerprogramma, echter instructies aan de webbrowser om na de ontvangst van het antwoord bestemd voor de webbrowser 10 van het computerprogramma een volgend verzoek bestemd voor de Webserver te zenden naar de Webserver gebaseerd op de inhoud van het antwoord bestemd voor de webbrowser van het computerprogramma. Deze maatregelen maken het bijvoorbeeld mogelijk om de bevestiging van de ontvangst van het verzoek 15 aan het computerprogramma, of gegevens over het computersysteem of het computerprogramma die zijn verzameld door het computerprogramma, die door het computerprogramma ter beschikking zijn gesteld aan de webbrowser, ter beschikking te stellen aan de Webserver.In a particularly favorable further development, however, the answer intended for the web browser of the Web server, or the answer intended for the web browser of the computer program, comprises instructions to the web browser to receive a reply intended for the web browser 10 of the computer program. send the next request for the Web server to the Web server based on the content of the response for the web browser of the computer program. These measures make it possible, for example, to make the acknowledgment of receipt of the request 15 to the computer program, or data about the computer system or computer program collected by the computer program, made available by the computer program to the web browser. to the Web server.
2020
Bijvoorbeeld bevat het antwoord bestemd voor de webbrowser van de Webserver in HTML de instructie <img src='http://127.0.0.1:P/version'/> 25For example, the answer intended for the Web server of the Web server in HTML contains the instruction <img src = 'http: //127.0.0.1: P / version' /> 25
Deze instructie leidt tot een verzoek van de webbrowser gestuurd naar het loopback adres 127.0.0.1 van de loopback interface. Het computerprogramma dat dit loopback adres bewaakt, beantwoordt het verzoek met een zogeheten HTTP 30 redirect: HTTP antwoord 303This instruction leads to a request from the web browser sent to the loopback address 127.0.0.1 of the loopback interface. The computer program that monitors this loopback address answers the request with a so-called HTTP 30 redirect: HTTP response 303
Location: http://www. example . com/?version=l.6 c 9Location: http: // www. example. com /? version = 1.6 c 9
Deze HTTP redirect leidt tot een verzoek van de webbrowser gestuurd naar de DNS naam 'www.example.com' die verwijst naar het netwerkadres van de Webserver. Dit verzoek bevat de 5 door het computerprogramma gegenereerde gegevens 'version=l.6c'. Het versienummer van het computerprogramma is daarmee beschikbaar gesteld aan de Webserver.This HTTP redirect leads to a request from the web browser sent to the DNS name 'www.example.com' that refers to the network address of the Web server. This request contains the 5 data generated by the computer program 'version = 1.6c'. The version number of the computer program is thus made available to the Web server.
De Webserver kan de ontvangstbevestiging of de gegevens 10 bijvoorbeeld opslaan voor later gebruik.The Web server can, for example, save the acknowledgment of receipt or the data 10 for later use.
In een bijzonder gunstige verdere ontwikkeling is de Webserver echter geconfigureerd om het volgende verzoek bestemd voor de Webserver van de webbrowser te beantwoorden 15 door middel van een volgend antwoord bestemd voor de webbrowser, waarbij het volgende antwoord bestemd voor de webbrowser is gebaseerd op de inhoud van dat volgende verzoek bestemd voor de Webserver. Deze maatregelen maken het bijvoorbeeld voor de Webserver mogelijk om op basis van 20 gegevens over het computersysteem of het computerprogramma die zijn verzameld door het computerprogramma en via de webbrowser ter beschikking zijn gesteld aan de Webserver, relevante informatie over het computersysteem of het computerprogramma samen te stellen en ter beschikking te 25 stellen aan de webbrowser voor weergave op het computerscherm van het computersysteem.In a particularly favorable further development, however, the Web server is configured to answer the next request destined for the Web server of the web browser by means of a next answer intended for the web browser, the next answer intended for the web browser being based on the content of that next request intended for the Web server. These measures make it possible, for example, for the Web server to compile relevant information about the computer system or the computer program on the basis of data about the computer system or the computer program that have been collected by the computer program and made available to the Web server via the web browser. and make it available to the web browser for display on the computer screen of the computer system.
In een bijzonder gunstige verdere ontwikkeling omvat het volgende antwoord bestemd voor de webbrowser van de 30 Webserver echter instructies aan de webbrowser om een volgend verzoek bestemd voor het computerprogramma te zenden naar de loopback interface. Deze alternatieve maatregel 10 maakt een verdere communicatie tussen de Webserver en het computerprogramma via de webbrowser mogelijk.In a particularly favorable further development, however, the following response intended for the web browser of the Web server includes instructions to the web browser to send a subsequent request intended for the computer program to the loopback interface. This alternative measure 10 allows for further communication between the Web server and the computer program via the web browser.
Na de ontvangst van het verzoek van de Webserver aan 5 het computerprogramma via de webbrowser vindt volgens een gunstige alternatieve uitvoeringsvorm van het communicatiesysteem volgens de uitvinding onderlinge communicatie tussen het computerprogramma en de Webserver plaats die niet verloopt via de webbrowser, maar direct. In 10 een dergelijke uitvoeringsvorm is het computerprogramma geconfigureerd om gegevens bestemd voor de Webserver te zenden naar de Webserver en is de Webserver geconfigureerd om de gegevens bestemd voor de Webserver te ontvangen en te verwerken, waarbij de instructies voor het computerprogramma 15 het verzenden van gegevens bestemd voor de Webserver naar de Webserver omvatten. Het betreft hier het verzenden van gegevens direct naar de Webserver, dat wil zeggen zonder tussenkomst van de webbrowser. In een aanvullende ontwikkeling zijn daarbij de Webserver en het 20 computerprogramma geconfigureerd om na ontvangst van de gegevens bestemd voor de Webserver onderling verdere gegevens uit te wisselen. Het betreft hier een directe uitwisseling van gegevens tussen de Webserver en het computerprogramma, dat wil zeggen zonder tussenkomst van de 25 webbrowser.After receiving the request from the Web server to the computer program via the web browser, according to a favorable alternative embodiment of the communication system according to the invention, mutual communication takes place between the computer program and the Web server which does not proceed via the web browser, but directly. In such an embodiment, the computer program is configured to send data intended for the Web server to the Web server and the Web server is configured to receive and process the data intended for the Web server, the instructions for the computer program 15 sending data intended for for the Web server to the Web server. This concerns the sending of data directly to the Web server, that is, without the intervention of the web browser. In an additional development, the Web server and the computer program are thereby configured to exchange further data with each other upon receipt of the data intended for the Web server. This is a direct exchange of data between the Web server and the computer program, ie without the intervention of the web browser.
Na de directe onderlinge communicatie tussen het computerprogramma en de Webserver is het dan volgens een verdere gunstige ontwikkeling mogelijk dat het 30 computerprogramma een resultaat van de directe communicatie ter beschikking stelt aan de webbrowser voor bijvoorbeeld weergave op het computerscherm. Daartoe omvatten de instructies voor het computerprogramma dan tevens het 11 beantwoorden van het verzoek bestemd voor het computerprogramma door middel van een antwoord bestemd voor de webbrowser na onderlinge communicatie tussen het computerprogramma en de Webserver, waarbij het antwoord 5 bestemd voor de webbrowser is gebaseerd op de onderlinge communicatie. Dit antwoord bestemd voor de webbrowser kan gegevens bevatten betreffende de status van het verloop van de onderlinge communicatie tussen de Webserver en het computerprogramma, bijvoorbeeld een indicatie dat de 10 communicatie is voltooid. Aanvullend of alternatief kan het antwoord bestemd voor de webbrowser gegevens bevatten betreffende de inhoud van de directe onderlinge communicatie.After the direct mutual communication between the computer program and the web server, it is then possible according to a further favorable development that the computer program makes a result of the direct communication available to the web browser for display on the computer screen, for example. To that end, the instructions for the computer program also comprise answering the request intended for the computer program by means of a reply intended for the web browser after mutual communication between the computer program and the Web server, the answer intended for the web browser being based on the mutual communication. This response intended for the web browser may contain data regarding the status of the progress of the mutual communication between the Web server and the computer program, for example an indication that the communication has been completed. Additionally or alternatively, the answer intended for the web browser may contain data concerning the content of the direct mutual communication.
15 In een gunstige uitvoeringsvorm daarvan, vindt er vervolgens verdere uitwisseling van gegevens plaats tussen de webbrowser en de Webserver. Daartoe omvat het initiële antwoord bestemd voor de webbrowser van de Webserver, of het antwoord bestemd voor de webbrowser van het 20 computerprogramma na de onderlinge communicatie tussen het computerprogramma en de Webserver, instructies aan de webbrowser om na de ontvangst van het antwoord bestemd voor de webbrowser van het computerprogramma een volgend verzoek bestemd voor de Webserver te zenden naar de Webserver.In a favorable embodiment thereof, further exchange of data takes place between the web browser and the web server. To this end, the initial response intended for the web browser of the Web server, or the response intended for the web browser of the computer program after the mutual communication between the computer program and the Web server, comprises instructions to the web browser to receive the answer intended for the web browser. of the computer program to send a subsequent request for the Web server to the Web server.
2525
In een gunstige uitvoeringsvorm daarvan is het volgende verzoek gebaseerd op de inhoud van het antwoord bestemd voor de webbrowser van het computerprogramma. Dit maakt het bijvoorbeeld mogelijk om gegevens betreffende een status van 30 het verloop van de communicatie tussen de Webserver en het computerprogramma en/of gegevens betreffende de inhoud van de communicatie tussen het computerprogramma en de Webserver vanuit het computerprogramma via de webbrowser aan de 12In a favorable embodiment thereof, the following request is based on the content of the response intended for the web browser of the computer program. This makes it possible, for example, to send data concerning a status of the course of communication between the Web server and the computer program and / or data concerning the content of the communication between the computer program and the Web server from the computer program via the web browser.
Webserver beschikbaar te stellen. Dit is bijvoorbeeld nuttig indien het computerprogramma de Webserver wel probeert te bereiken voor onderlinge communicatie, maar dat niet lukt. Het computerprogramma kan dan via de webbrowser laten weten 5 aan de Webserver dat het de onderlinge communicatie niet tot stand kan brengen.Make web server available. This is useful, for example, if the computer program tries to reach the Web server for mutual communication, but fails. The computer program can then inform the Web server via the web browser that it cannot establish mutual communication.
De verdere gegevensuitwisseling tussen de Webserver en de webbrowser kan enkel het verdere verzoek aan de Webserver 10 zijn, maar kan tevens een daarop volgend antwoord van de Webserver omvatten. In het laatste geval is de Webserver geconfigureerd om het volgende verzoek bestemd voor de Webserver van de webbrowser te beantwoorden door middel van een volgend antwoord bestemd voor de webbrowser, waarbij het 15 volgende antwoord bestemd voor de webbrowser is gebaseerd op gegevens die middels het antwoord van het computerprogramma aan de webbrowser en het volgend verzoek van de webbrowser aan de Webserver ter beschikking zijn gesteld aan de Webserver en/of is gebaseerd op de inhoud van de onderlinge 20 communicatie tussen het computerprogramma en de Webserver.The further data exchange between the Web server and the web browser can only be the further request to the Web server 10, but can also include a subsequent response from the Web server. In the latter case, the Web server is configured to answer the next request destined for the Web server of the web browser by means of a subsequent answer intended for the web browser, the next answer intended for the web browser being based on data generated by the answer from the computer program to the web browser and the subsequent request from the web browser to the Web server have been made available to the Web server and / or is based on the content of the mutual communication between the computer program and the Web server.
In het laatste geval is het niet het computerprogramma maar de Webserver die een resultaat van de onderlinge communicatie tussen het computerprogramma en de Webserver ter beschikking stelt aan de webbrowser voor bijvoorbeeld 25 weergave op het computerscherm of ter initiatie van verdere gegevensuitwisseling tussen de webbrowser en de Webserver.In the latter case, it is not the computer program but the Web server that makes a result of the mutual communication between the computer program and the Web server available to the web browser for, for example, displaying on the computer screen or for initiating further data exchange between the web browser and the Web server .
Hoewel in de hiervoor beschreven gunstige uitvoeringsvormen een antwoord bestemd voor de webbrowser 30 van het computerprogramma na de onderlinge communicatie tussen het computerprogramma en de Webserver een verder verzoek van de webbrowser aan de Webserver initieert, is het tevens mogelijk dat een verder verzoek van de webbrowser aan 13 de Webserver en een daarop volgend antwoord van de Webserver worden geïnitieerd zonder een antwoord bestemd voor de webbrowser van het computerprogramma na de onderlinge communicatie tussen het computerprogramma. In dat geval 5 omvat het initiële antwoord bestemd voor de webbrowser van de Webserver dat initieel naar de webbrowser werd gestuurd naast instructies aan de webbrowser om een verzoek voor het computerprogramma te zenden naar de loopback interface, tevens instructies aan de webbrowser om een volgend verzoek 10 bestemd voor de Webserver te zenden naar de Webserver, en is de Webserver geconfigureerd om het volgende verzoek bestemd voor de Webserver van de webbrowser te beantwoorden door middel van een volgend antwoord bestemd voor de webbrowser, waarbij het volgende antwoord bestemd voor de webbrowser is 15 gebaseerd op de onderlinge communicatie tussen het computerprogramma en de Webserver.Although in the favorable embodiments described above a response intended for the web browser 30 of the computer program initiates a further request from the web browser to the web server after the mutual communication between the computer program and the web server, it is also possible that a further request from the web browser to 13 the Web server and a subsequent response from the Web server are initiated without a response intended for the web browser of the computer program after the mutual communication between the computer program. In that case, the initial response intended for the web server of the Web server that was initially sent to the web browser in addition to instructions to the web browser to send a request for the computer program to the loopback interface, also includes instructions to the web browser for a subsequent request. destined for the Web server to be sent to the Web server, and the Web server is configured to respond to the next request destined for the Web server of the web browser by means of a subsequent answer intended for the web browser, the next answer destined for the web browser being based on the mutual communication between the computer program and the Web server.
Voor elk van de uitvoeringvormen zoals hiervoor beschreven waarbij een volgend verzoek van de webbrowser aan 20 de Webserver wordt beantwoordt door de Webserver door middel van een volgend antwoord geldt, dat het volgende antwoord kan dienen ter initiatie van verdere uitwisseling van gegevens tussen de webbrowser en de Webserver, of tussen de webbrowser en het computerprogramma door middel van verdere 25 verzoeken en antwoorden.For each of the embodiments as described above wherein a subsequent request from the web browser to the Web server is answered by the Web server by means of a subsequent answer, the following answer may serve to initiate further exchange of data between the web browser and the Web server, or between the web browser and the computer program through further requests and responses.
De onderhavige uitvinding betreft tevens een werkwijze voor het tot stand brengen van communicatie tussen een Webserver en een computerprogramma in een bekend 30 communicatiesysteem zoals hiervoor beschreven omvattende de Webserver en een computersysteem omvattende een webbrowser en het computerprogramma. De werkwijze volgens de uitvinding omvat de stappen van: 14 - het ontvangen van een initieel verzoek van de webbrowser door middel van de Webserver; - het beantwoorden van het initiële verzoek van de webbrowser door middel van de Webserver met een antwoord 5 bestemd voor de webbrowser, waarbij het antwoord bestemd voor de webbrowser instructies omvat aan de webbrowser om een verzoek bestemd voor het computerprogramma te zenden naar de loopback interface; en - het bewaken van de loopback interface door middel van 10 het computerprogramma; - het detecteren van het verzoek bestemd voor het computerprogramma door middel van het computerprogramma; - het ontvangen van het gedetecteerde verzoek bestemd voor het computerprogramma door middel van het 15 computerprogramma; en - het verwerken van het ontvangen verzoek bestemd voor het computerprogramma door middel van het computerprogramma.The present invention also relates to a method for establishing communication between a Web server and a computer program in a known communication system as described above comprising the Web server and a computer system comprising a web browser and the computer program. The method according to the invention comprises the steps of: - receiving an initial request from the web browser through the Web server; - answering the initial request from the web browser by means of the Web server with a response intended for the web browser, the response intended for the web browser comprising instructions to the web browser to send a request intended for the computer program to the loopback interface; and - monitoring the loopback interface by means of the computer program; - detecting the request intended for the computer program by means of the computer program; - receiving the detected request intended for the computer program by means of the computer program; and - processing the received request intended for the computer program by means of the computer program.
De onderhavige uitvinding zal in het vervolg nader 20 worden toegelicht aan de hand van een aantal uitvoeringsvoorbeelden, die in de bijgevoegde tekening zijn getoond. Het betreffen niet-limitatieve uitvoeringsvoorbeelden. In de afzonderlijke figuren van de tekening zijn dezelfde of vergelijkbare onderdelen, 25 componenten en elementen aangeduid met dezelfde referentienummers.The present invention will be further elucidated hereinbelow on the basis of a number of exemplary embodiments, which are shown in the accompanying drawing. These are non-limitative exemplary embodiments. In the individual figures of the drawing the same or comparable parts, components and elements are indicated with the same reference numbers.
In de tekening toont elke van de figuren 1 tot en met 8 een uitvoeringsvoorbeeld van het communicatiesysteem en de 30 werkwijze volgens de uitvinding zoals hiervoor beschreven.In the drawing, each of Figs. 1 to 8 shows an exemplary embodiment of the communication system and the method according to the invention as described above.
In de figuren 1 tot en met 8 is een communicatiesysteem getoond met een Webserver (W) en een computersysteem (C).Figures 1 to 8 show a communication system with a Web server (W) and a computer system (C).
1515
Het computersysteem is voorzien van een webbrowser (B) en een computerprogramma (S).The computer system is equipped with a web browser (B) and a computer program (S).
De Webserver (W) en het computersysteem (C) staan via een netwerk (N), zoals het internet, zodanig met elkaar in 5 verbinding dat gegevens tussen de Webserver (W) en het computersysteem (C) uit te wisselen zijn.The Web server (W) and the computer system (C) are connected via a network (N), such as the internet, in such a way that data can be exchanged between the Web server (W) and the computer system (C).
De Webserver heeft een netwerkadres (X.X.X.X) dat verwijst naar de locatie van de Webserver (W) op het netwerk. Naar het netwerkadres (X.X.X.X) van de Webserver 10 kan worden gerefereerd door middel van een DNS-naam (www.example.com).The Web server has a network address (X.X.X.X) that refers to the location of the Web server (W) on the network. The network address (X.X.X.X) of the Web server 10 can be referred to by means of a DNS name (www.example.com).
De Webserver (W) is geconfigureerd om verzoeken van de webbrowser (B) te ontvangen, te verwerken en te beantwoorden.The Web server (W) is configured to receive, process and respond to requests from the web browser (B).
15 De webbrowser (B) is geconfigureerd om verzoeken bestemd voor de Webserver (W) te zenden naar de Webserver (W), en om daarop volgende antwoorden van de Webserver (W) te ontvangen en te verwerken.The web browser (B) is configured to send requests intended for the Web server (W) to the Web server (W), and to receive and process subsequent responses from the Web server (W).
Het computersysteem (C) is voorzien van een loopback 20 interface (L) met een loopback adres (127.0.0.1). De loopback interface is gescheiden van het netwerk (N). Wel is het computersysteem (C) zodanig geconfigureerd dat verzoeken van de webbrowser (B) naar de loopback interface te zenden zijn door deze verzoeken te richten aan het loopback adres 25 (127.0.0.1).The computer system (C) is provided with a loopback interface (L) with a loopback address (127.0.0.1). The loopback interface is separate from the network (N). However, the computer system (C) is configured such that requests from the web browser (B) can be sent to the loopback interface by directing these requests to the loopback address 25 (127.0.0.1).
De webbrowser (B) is geconfigureerd om op basis van instructies in antwoorden ontvangen van de Webserver (W) verzoeken te zenden naar het loopback adres (127.0.0.1) van het computersysteem (C).The web browser (B) is configured to send requests received from the Web server (W) based on instructions in responses to the loopback address (127.0.0.1) of the computer system (C).
3030
In figuur 1 is een eerste uitvoeringsvoorbeeld van het communicatiesysteem en de werkwijze volgens de uitvinding getoond. In dit uitvoeringsvoorbeeld ontvangt de Webserver i6 een initieel verzoek (1) van de webbrowser (B). De Webserver (W) beantwoordt het initiële verzoek (1) dat is ontvangen van de webbrowser (B) door middel van een initieel antwoord (2) bestemd voor de webbrowser (B). Dat initiële antwoord 5 (2) bestemd voor de webbrowser (B) bevat instructies aan de webbrowser (B) om een verzoek (3) bestemd voor het computerprogramma (S) te zenden naar de loopback interface door deze te richten aan het loopback adres (127.0.0.1) . Het computerprogramma (S) bewaakt het loopback adres (127.0.0.1) 10 van de loopback interface (L) en neemt na detectie van het verzoek (3) bestemd voor het computerprogramma (S), het verzoek (3) in ontvangst en verwerkt dat verzoek (3).Figure 1 shows a first exemplary embodiment of the communication system and the method according to the invention. In this exemplary embodiment, the Web server i6 receives an initial request (1) from the web browser (B). The Web server (W) responds to the initial request (1) received from the web browser (B) by means of an initial response (2) intended for the web browser (B). That initial response 5 (2) intended for the web browser (B) contains instructions to the web browser (B) to send a request (3) intended for the computer program (S) to the loopback interface by directing it to the loopback address ( 127.0.0.1). The computer program (S) monitors the loopback address (127.0.0.1) 10 of the loopback interface (L) and, upon detection of the request (3) intended for the computer program (S), receives the request (3) and processes it request (3).
Het verzoek (3) bestemd voor het computerprogramma (S) omvat daarbij bijvoorbeeld instructies voor het 15 computerprogramma (S), die het computerprogramma (S) uitvoert. De instructies voor het computerprogramma (S) zijn ofwel opgenomen in het verzoek (3) aan het computerprogramma (S), of opgenomen in het computerprogramma (S) waarbij een verwijzing naar de instructies is opgenomen in het verzoek 20 (3) .The request (3) intended for the computer program (S) herein comprises, for example, instructions for the computer program (S) which executes the computer program (S). The instructions for the computer program (S) are either included in the request (3) to the computer program (S), or included in the computer program (S) with a reference to the instructions included in the request (3).
In figuur 2 is een op het eerste uitvoeringsvoorbeeld gebaseerd tweede uitvoeringsvoorbeeld getoond, waarbij de instructies voor het computerprogramma (S) het beantwoorden 25 van het verzoek (3) bestemd voor het computerprogramma (S) door middel van een antwoord (4) bestemd voor de webbrowser (B) omvatten. Het computerprogramma voert de instructies na de ontvangst van het verzoek (3) uit en beantwoordt het verzoek (3) door middel van een antwoord (4).Figure 2 shows a second embodiment based on the first exemplary embodiment, the instructions for the computer program (S) answering the request (3) intended for the computer program (S) by means of a reply (4) intended for the web browser (B). The computer program executes the instructions upon receipt of the request (3) and responds to the request (3) by means of a reply (4).
3030
In figuur 3 is een op het tweede uitvoeringsvoorbeeld gebaseerd derde uitvoeringsvoorbeeld getoond, waarbij het antwoord (2) bestemd voor de webbrowser (B) van de Webserver 17 (W), of het antwoord (4) bestemd voor de webbrowser (B) van het computerprogramma (S), instructies omvat aan de webbrowser (B) om na de ontvangst van het antwoord (4) bestemd voor de webbrowser (B) van het computerprogramma (S) 5 een volgend verzoek (5) bestemd voor de Webserver (W) te zenden naar de Webserver (W) gebaseerd op de inhoud van het antwoord (4) bestemd voor de webbrowser (B) van het computerprogramma (S). De webbrowser (B) voert de instructies na de ontvangst van het antwoord (4) uit en 10 zendt een op de inhoud van het antwoord (4) gebaseerd volgend verzoek (5) naar de Webserver (W).Figure 3 shows a third embodiment based on the second exemplary embodiment, the answer (2) destined for the web browser (B) of the Web server 17 (W), or the answer (4) destined for the web browser (B) of the computer program (S), instructions to the web browser (B) for receiving a subsequent request (5) for the Web server (W) after receiving the answer (4) intended for the web browser (B) of the computer program (S) 5 to be sent to the Web server (W) based on the content of the reply (4) intended for the web browser (B) of the computer program (S). The web browser (B) executes the instructions after receiving the response (4) and sends a subsequent request (5) based on the content of the response (4) to the Web server (W).
In figuur 4 is een op het derde uitvoeringsvoorbeeld gebaseerd vierde uitvoeringsvoorbeeld getoond. In dit 15 uitvoeringsvoorbeeld beantwoordt de Webserver (W) het volgende verzoek (5) bestemd voor de Webserver (W) na ontvangst daarvan, door middel van een volgend antwoord (6) bestemd voor de webbrowser (B), waarbij het volgende antwoord (6) bestemd voor de webbrowser (B) is gebaseerd op 20 de inhoud van dat volgende verzoek (5) bestemd voor de Webserver (W).Figure 4 shows a fourth embodiment based on the third exemplary embodiment. In this exemplary embodiment, the Web server (W) responds to the following request (5) intended for the Web server (W) upon receipt thereof, by means of a subsequent answer (6) intended for the web browser (B), the following answer (6) ) intended for the web browser (B) is based on the content of that subsequent request (5) intended for the Web server (W).
Een voorbeeld van een mogelijkheid die het vierde uitvoeringsvoorbeeld zoals getoond in figuur 4 biedt is als 25 volgt.An example of a possibility that the fourth exemplary embodiment offers as shown in Figure 4 is as follows.
Het computerprogramma (S) bewaakt poortnummer P van het loopback adres (127.0.0.1) van de loopback interface (L) van computersysteem (C). De gebruiker opent op de webbrowser (B) de URL 'http://www.example.com/' hetgeen leidt tot een 30 initieel verzoek (1) aan de Webserver (W) dat wordt gestuurd naar de DNS naam 'www.example.com' dat verwijst naar het netwerkadres (X.X.X.X) van de Webserver (W) op het netwerk (N). De Webserver (W) beantwoordt dit initiële verzoek (1) i8 met een initieel antwoord (2), waarin in de HTML opmaaktaal is opgenomen: <script src='http ://127.0.0.1:P/version.js'></script> 5 <script> window. location = 1 http ://www. example . com/?version=' + version; </script> 10 De eerste instructie aan de webbrowser <script src='http://127.0.0.1:P/version.js'></script> wordt door de webbrowser (W) uitgevoerd door naar het 15 poortnummer P van het loopback adres (127.0.0.1) een verzoek (3) te sturen om het verzoek (3) te beantwoorden met het JavaScript '/version.js'.The computer program (S) monitors port number P of the loopback address (127.0.0.1) of the loopback interface (L) of computer system (C). The user opens the URL 'http://www.example.com/' on the web browser (B), which leads to an initial request (1) to the Web server (W) that is sent to the DNS name 'www.example' .com 'that refers to the network address (XXXX) of the Web server (W) on the network (N). The Web server (W) responds to this initial request (1) i8 with an initial answer (2), which includes the HTML markup language: <script src = 'http: //127.0.0.1: P / version.js'> < / script> 5 <script> window. location = 1 http: // www. example. com /? version = '+ version; </script> 10 The first instruction to the web browser <script src = 'http: //127.0.0.1: P / version.js'> </script> is executed by the web browser (W) by going to the port number P of send the loopback address (127.0.0.1) a request (3) to answer the request (3) with the JavaScript '/version.js'.
Het computerprogramma (S) dat poortnummer P van het loopback adres (127.0.0.1) van de loopback interface (L) van 20 computersysteem (C) bewaakt, detecteert het verzoek (3) om het JavaScript '/version.js', neemt het verzoek (3) in ontvangst en beantwoordt het verzoek (3) door middel van een antwoord (4) dat het volgende JavaScript bevat: 25 version = '1.6c'; waarin '1.6c' het huidige versienummer van het computerprogramma is.The computer program (S) which monitors port number P of the loopback address (127.0.0.1) of the loopback interface (L) of the computer system (C), detects the request (3) for the JavaScript '/version.js', takes it receive request (3) and respond to request (3) by means of a reply (4) containing the following JavaScript: 25 version = '1.6c'; where "1.6c" is the current version number of the computer program.
30 De tweede instructie aan de webbrowser <script> 19 window. location = 1 http://www. example . com/?version=' + version; </script> 5 wordt door de webbrowser (W) uitgevoerd door naar het netwerkadres (X.X.X.X) van de Webserver (www.example.com) een verzoek (5) te sturen met de query parameter 'version' die het versienummer '1.6c' van het computerprogramma (S) bevat.30 The second instruction to the web browser <script> 19 window. location = 1 http: // www. example. com /? version = '+ version; </script> 5 is executed by the web browser (W) by sending a request (5) to the network address (XXXX) of the Web server (www.example.com) with the query parameter 'version' containing the version number '1.6c of the computer program (S).
10 De Webserver (W) beantwoordt dit verzoek (5) bijvoorbeeld met een antwoord (6) met daarin instructies in HTML opmaaktaal voor de webbrowser (W) om een webpagina weer te geven op het computerscherm van het computersysteem (C), waarbij de webpagina informatie geeft aan de gebruiker over 15 de specifieke versie van het computerprogramma, welke informatie voor de gebruiker de Webserver (W) ter beschikking heeft. Bijvoorbeeld de informatie aan de gebruiker dat de huidige versie van het computerprogramma de meest recente versie is, of de informatie aan de gebruiker 20 dat er een recentere versie van het computerprogramma beschikbaar is.The Web server (W) responds to this request (5) with, for example, a reply (6) containing instructions in HTML markup language for the web browser (W) to display a web page on the computer screen of the computer system (C), the web page provides information to the user about the specific version of the computer program, which information is available to the user on the Web server (W). For example, the information to the user that the current version of the computer program is the most recent version, or the information to the user that a more recent version of the computer program is available.
Indien het computerprogramma (S) niet aanwezig is zal geen antwoord komen op het verzoek (3) aan het computerprogramma (S) dat naar het loopback adres 25 (127.0.0.1) is gestuurd. Na een bepaalde periode zal de webbrowser dan op basis van de instructie <script> window. location = 30 'http://www. example . com/?version= ' + version; </script> 20 een verzoek (5) sturen naar de Webserver (W) met de query parameter 'version' die leeg is. De Webserver (W) beantwoordt dit verzoek (5) bijvoorbeeld met een antwoord (6) met daarin instructies in HTML opmaaktaal voor de 5 webbrowser (W) om een webpagina weer te geven op het computerscherm van het computersysteem (C), waarbij de webpagina bijvoorbeeld de informatie geeft aan de gebruiker dat het computerprogramma niet werkt of niet is geïnstalleerd.If the computer program (S) is not present, there will be no response to the request (3) to the computer program (S) sent to the loopback address 25 (127.0.0.1). After a certain period of time, the web browser will then window based on the <script> instruction. location = 30 'http: // www. example. com /? version = '+ version; </script> Send a request (5) to the Web server (W) with the query parameter 'version' that is empty. The Web server (W) responds to this request (5) with, for example, a reply (6) containing instructions in HTML markup language for the web browser (W) to display a web page on the computer screen of the computer system (C), the web page for example, the information indicates to the user that the computer program is not working or is not installed.
10 In een bijzondere uitvoering van dit vierde uitvoeringsvoorbeeld beantwoordt de Webserver (W) het volgende verzoek (5) met een volgend antwoord (6) bestemd voor de webbrowser (B) met instructies aan de webbrowser (B) om een volgend verzoek (3) bestemd voor het 15 computerprogramma (S) te zenden naar het loopback adres (127.0.0.1) van de loopback interface (L). Zo is dan verdere uitwisseling van gegevens tussen de Webserver (W) en het computerprogramma (S) via de webbrowser (B) mogelijk.In a special embodiment of this fourth exemplary embodiment, the Web server (W) responds to the following request (5) with a subsequent answer (6) intended for the web browser (B) with instructions to the web browser (B) for a subsequent request (3) intended for sending the computer program (S) to the loopback address (127.0.0.1) of the loopback interface (L). Thus, further exchange of data between the Web server (W) and the computer program (S) via the web browser (B) is then possible.
20 In figuur 5 is een op het eerste uitvoeringsvoorbeeld gebaseerd vijfde uitvoeringsvoorbeeld getoond, waarbij het verzoek (3) de instructies voor het computerprogramma (S) bevat om gegevens (7) bestemd voor de Webserver (W) direct naar het netwerkadres (X.X.X.X) van de Webserver (W) te 25 zenden. Zoals getoond in figuur 5 stuurt de Webserver (W) gegevens terug, zodat er uitwisseling (7) van gegevens plaats vindt. Het uitwisselen van gegevens is overigens niet noodzakelijk; alleen al het initiëren van de communicatie (7) kan voldoende zijn om aan de Webserver (W) kenbaar te 30 maken dat het computerprogramma (S) ten minste aanwezig is.Figure 5 shows a fifth embodiment based on the first exemplary embodiment, wherein the request (3) contains the instructions for the computer program (S) for data (7) destined for the Web server (W) directly to the network address (XXXX) of send the Web server (W). As shown in Figure 5, the Web server (W) returns data so that data exchange (7) takes place. The exchange of data is not necessary; just initiating the communication (7) may be sufficient to indicate to the Web server (W) that the computer program (S) is present at least.
Voor dit vijfde uitvoeringsvoorbeeld moeten de Webserver (W) en het computersysteem (C) en in het bijzonder het computerprogramma (S) zijn geconfigureerd om directe 21 communicatie, d.w.z. zonder tussenkomst van de webbrowser (B), mogelijk te maken.For this fifth exemplary embodiment, the Web server (W) and the computer system (C) and in particular the computer program (S) must be configured to allow direct communication, i.e. without the intervention of the web browser (B).
In figuur 6 is een op het vijfde uitvoeringsvoorbeeld 5 gebaseerd zesde uitvoeringsvoorbeeld getoond, waarbij de instructies voor het computerprogramma (S) in het verzoek (3) tevens het beantwoorden van het verzoek (3) bevatten door middel van een antwoord (8) bestemd voor de webbrowser (B) na de directe communicatie(7) tussen het 10 computerprogramma (S) en de Webserver (W), waarbij het antwoord (8) bestemd voor de webbrowser (B) is gebaseerd op het resultaat van de directe communicatie (7). Het computerprogramma (S) zal aldus na de directe communicatie (7) met de Webserver (W) het verzoek (3) aan het 15 computerprogramma (S) beantwoorden met een op het resultaat van de directe communicatie (7) gebaseerd antwoord (8). Deze zesde uitvoeringvorm is een variant op het tweede uitvoeringsvoorbeeld zoals getoond in figuur 2.Figure 6 shows a sixth embodiment based on the fifth exemplary embodiment 5, wherein the instructions for the computer program (S) in the request (3) also include answering the request (3) by means of an answer (8) intended for the web browser (B) after the direct communication (7) between the computer program (S) and the Web server (W), the answer (8) intended for the web browser (B) being based on the result of the direct communication (7) ). The computer program (S) will thus, after direct communication (7) with the Web server (W), answer the request (3) to the computer program (S) with a response (8) based on the result of the direct communication (7) . This sixth embodiment is a variant of the second embodiment as shown in Figure 2.
20 In figuur 7 is een op het zesde uitvoeringsvoorbeeld gebaseerd zevende uitvoeringsvoorbeeld getoond, waarbij het antwoord (2) bestemd voor de webbrowser (B) van de Webserver (W), of het antwoord (8) bestemd voor de webbrowser (B) van het computerprogramma (S), instructies omvat aan de 25 webbrowser (B) om na de ontvangst van het antwoord (8) bestemd voor de webbrowser (B) van het computerprogramma (S) een volgend verzoek (9) bestemd voor de Webserver (W) te zenden naar het netwerkadres van de Webserver (W). De webbrowser (B) voert de instructies na de ontvangst van het 30 antwoord (8) uit en zendt een volgend verzoek (9) naar het netwerkadres van de Webserver (W). In dit uitvoeringsvoorbeeld beantwoordt de Webserver (W) het volgende verzoek (9) bestemd voor de Webserver (W) na 22 ontvangst daarvan, door middel van een volgend antwoord (10) bestemd voor de webbrowser (B), waarbij het volgende antwoord (10) bestemd voor de webbrowser (B) ofwel gebaseerd is op de inhoud van dat volgende verzoek (9) bestemd voor de 5 Webserver (W), ofwel gebaseerd is op het resultaat van de directe communicatie (7). Deze zevende uitvoeringvorm is een variant op het vierde uitvoeringsvoorbeeld zoals getoond in figuur 4.Figure 7 shows a seventh embodiment based on the sixth exemplary embodiment, wherein the answer (2) destined for the web browser (B) of the Web server (W), or the answer (8) destined for the web browser (B) of the computer program (S), instructions to the web browser (B) for receiving a subsequent request (9) for the Web server (W) after receiving the answer (8) intended for the web browser (B) of the computer program (S) to send to the network address of the Web server (W). The web browser (B) executes the instructions after receiving the reply (8) and sends a subsequent request (9) to the network address of the Web server (W). In this exemplary embodiment, the Web server (W) responds to the following request (9) intended for the Web server (W) upon receipt thereof, by means of a subsequent response (10) intended for the web browser (B), the following response (10) ) is intended for the web browser (B) or is based on the content of that subsequent request (9) is intended for the Web server (W) or is based on the result of the direct communication (7). This seventh embodiment is a variant of the fourth embodiment as shown in Figure 4.
In een bijzondere uitvoering van dit zevende 10 uitvoeringsvoorbeeld beantwoordt de Webserver (W) het volgende verzoek (9) met een volgende antwoord (10) bestemd voor de webbrowser (B) met instructies aan de webbrowser (B) om een volgend verzoek (3) bestemd voor het computerprogramma (S) te zenden naar het loopback adres 15 (127.10.0.1). Zo is dan verdere uitwisseling van gegevens tussen de Webserver (W) en het computerprogramma (S) via de webbrowser (B) mogelijk. Dit volgende antwoord (10) is echter niet noodzakelijk.In a special embodiment of this seventh exemplary embodiment, the Web server (W) responds to the following request (9) with a following answer (10) intended for the web browser (B) with instructions to the web browser (B) for a subsequent request (3) intended for the computer program (S) to be sent to the loopback address 15 (127.10.0.1). Thus, further exchange of data between the Web server (W) and the computer program (S) via the web browser (B) is then possible. However, this next answer (10) is not necessary.
20 In figuur 8 is een achtste uitvoeringsvoorbeeld getoond, dat een alternatief is voor de uitvoeringsvoorbeelden getoond in de figuren 6 en 7. In het achtste uitvoeringsvoorbeeld omvat het antwoord (2) bestemd voor de webbrowser (B) van de Webserver (W), instructies aan 25 de webbrowser (B) om een volgend verzoek (9) bestemd voor de Webserver (W) te zenden naar de Webserver (W). De Webserver (W) beantwoordt in dit uitvoeringsvoorbeeld het volgende verzoek (9) door middel van een volgend antwoord (10) bestemd voor de webbrowser (B), waarbij het volgende 30 antwoord (10) bestemd voor de webbrowser (B) is gebaseerd op het resultaat van de directe communicatie (7) tussen het computerprogramma (S) en de Webserver (W).Figure 8 shows an eighth embodiment, which is an alternative to the examples shown in Figures 6 and 7. In the eighth embodiment, the answer (2) intended for the web browser (B) of the Web server (W) comprises instructions to the web browser (B) to send a subsequent request (9) intended for the Web server (W) to the Web server (W). In this exemplary embodiment, the Web server (W) responds to the following request (9) by means of a subsequent answer (10) intended for the web browser (B), the following answer (10) intended for the web browser (B) being based on the result of the direct communication (7) between the computer program (S) and the Web server (W).
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
NL2007936A NL2007936C2 (en) | 2011-12-08 | 2011-12-08 | COMMUNICATION SYSTEM. |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
NL2007936A NL2007936C2 (en) | 2011-12-08 | 2011-12-08 | COMMUNICATION SYSTEM. |
NL2007936 | 2011-12-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
NL2007936C2 true NL2007936C2 (en) | 2013-06-11 |
Family
ID=45841576
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
NL2007936A NL2007936C2 (en) | 2011-12-08 | 2011-12-08 | COMMUNICATION SYSTEM. |
Country Status (1)
Country | Link |
---|---|
NL (1) | NL2007936C2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080002663A1 (en) * | 2006-06-30 | 2008-01-03 | Sun Microsystems, Inc. | Virtual network interface card loopback fastpath |
US20100205240A1 (en) * | 2009-02-12 | 2010-08-12 | Sun Microsystems, Inc. | Method and system for processing a request sent over a network |
-
2011
- 2011-12-08 NL NL2007936A patent/NL2007936C2/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080002663A1 (en) * | 2006-06-30 | 2008-01-03 | Sun Microsystems, Inc. | Virtual network interface card loopback fastpath |
US20100205240A1 (en) * | 2009-02-12 | 2010-08-12 | Sun Microsystems, Inc. | Method and system for processing a request sent over a network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7353272B2 (en) | Method and system for internet performance monitoring and analysis including user interface and periodic information measurement and collection | |
US8620999B1 (en) | Network resource modification for higher network connection concurrence | |
EP1718034A1 (en) | Process for managing resource address requests and associated gateway device | |
US6795851B1 (en) | Web-based client/server communication channel with automated client-side channel endpoint feature detection and selection | |
US20060218305A1 (en) | Embedded web-based management method | |
US10262343B1 (en) | Ad-blocking system using rule-based filtering of internet traffic | |
CN113204730A (en) | Resource acquisition method, webvpn proxy server, system and server | |
CN103825783A (en) | Test method and device | |
CN1937532A (en) | Method and health monitor for handling web server failure | |
US20140019517A1 (en) | Web-hosted shipping system and method of use thereof | |
JP2009140290A (en) | Content repeater, content relay system, content relay method and program | |
US20120278445A1 (en) | Load balancing system | |
CN104040538A (en) | Internet application interaction method, device and system | |
CN110795650A (en) | Webpage opening method and device and computer readable storage medium | |
CN105095220B (en) | A kind of browser implementation method, terminal and virtualization agent device | |
NL2007936C2 (en) | COMMUNICATION SYSTEM. | |
JP6074550B2 (en) | Web page push method and apparatus, and terminal | |
CN103581349B (en) | A kind of domain name analytic method and device | |
TWI530129B (en) | Method for managing static uniform resource locator access, and associated apparatus and associated computer program product | |
CN107070885B (en) | Information processing method, device and system | |
CN101668045A (en) | Information processing method and information processing server | |
CN112637333A (en) | Intelligent client agent method | |
CN102918811A (en) | Bidirectional communication system and server apparatus used therein | |
US8817800B2 (en) | Gateway with HTTP processing | |
JP2002099477A (en) | Real time distribution method of http contents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM | Lapsed because of non-payment of the annual fee |
Effective date: 20160101 |