DE102005031768A1 - Message transmission procedure for server to client with browser, involves code transmission as two components for first and second browser frames - Google Patents
Message transmission procedure for server to client with browser, involves code transmission as two components for first and second browser frames Download PDFInfo
- Publication number
- DE102005031768A1 DE102005031768A1 DE102005031768A DE102005031768A DE102005031768A1 DE 102005031768 A1 DE102005031768 A1 DE 102005031768A1 DE 102005031768 A DE102005031768 A DE 102005031768A DE 102005031768 A DE102005031768 A DE 102005031768A DE 102005031768 A1 DE102005031768 A1 DE 102005031768A1
- Authority
- DE
- Germany
- Prior art keywords
- code
- browser
- server
- client
- browser frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
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/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- 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/75—Indicating network or usage conditions on the user display
-
- 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)
- Computer And Data Communications (AREA)
Abstract
Um die durch Polling-Verfahren bedingte hohe Belastung eines Servers (20) für Browseranwendungen, welche eine schnelle Benachrichtigung eines Clients (10) durch den Server (20) bedingen, zu reduzieren, wird ein Verfahren vorgestellt, welches kein Polling des Servers (20) benötigt. Dazu wird der Code (22), welcher in dem Browser (11) ausgeführt wird, aufgeteilt in einen ersten Code-Anteil und in einen zweiten Code-Anteil. Der erste Code-Anteil kann auf html beruhen, und wird in einem ersten Browser-Frame (12) ausgeführt. Der zweite Code-Anteil basiert auf einem Protokoll, für welches von dem Server (20) versendete Nachrichten (MSG) ohne vorangehendes Versenden eines Requests durch den Client (10) empfangbar sind und wird in einem zweiten Browser-Frame (13), welcher über eine Verbindung den Client (10) mit dem Server (20) verbindet, ausgeführt. Nachrichten (MSG) können via den zweiten Browser-Frame (13) an den ersten Browser-Frame (12) ohne die Notwendigkeit eines vorangehenden Requests verschickt werden. Der zweite Browser-Frame (13) kann versteckt sein.Around the high load of a server due to polling procedures (20) for Browser applications, which allow quick notification of a client (10) caused by the server (20) to reduce, becomes a method presented, which does not require polling of the server (20). To becomes the code (22) which is executed in the browser (11) divided into a first code portion and a second code portion. The first piece of code can be based on html, and will be in a first Browser frame (12) executed. The second piece of code is based on a protocol for which messages (MSG) sent by the server (20) without the preceding one Sending a request by the client (10) are receivable and is in a second browser frame (13), which via a Connection connects the client (10) to the server (20) executed. news (MSG) can via the second browser frame (13) to the first browser frame (12) be sent without the need of a previous request. The second browser frame (13) can be hidden.
Description
Die vorliegende Erfindung betrifft ein Verfahren nach dem Oberbegriff des Patentanspruchs 1.The The present invention relates to a method according to the preamble of claim 1
Das http-Protokoll ist als request/response Protokoll konzipiert. Das bedeutet, dass jede Anfrage von einem auf einem Client ausgeführten Browser eine Antwort von einem Server nach sich zieht. Diese Funktionalität reicht für das blosse Lesen von Hypertextseiten im Internet aus, da hierzu lediglich aufgrund eines Requestes des Clients Hypertex-Seiten von einem Server auf den Client geladen werden. Für manche Anwendungen ist es jedoch wünschenswert, dass Nachrichten von einem Server zu einem Browser unabhängig von einer vorangehenden Anfrage des Browsers übermittelt werden.The http protocol is designed as a request / response protocol. The means that every request from a browser running on a client has a Answer from a server. This functionality is enough for the mere reading of hypertext pages on the Internet, because this only due to a request of the client hypertex pages from a server to the client getting charged. For some Applications, however, it is desirable that Messages from a server to a browser independent of a previous request from the browser.
Dies ist zum Beispiel bei der Benachrichtigung einer Web-Applikation, welche eine Centrex-Applikation administriert, der Fall. Zum Beispiel können Centrex-Anwender ihre Telefonfunktion über einen Browser ausführen und steuern. So werden ankommende Rufe im Browser angezeigt. Es werden zum Anruf beispielsweise Daten angezeigt wie der Name des Anrufers, die Nummer des Anrufers oder der Eingang einer Nachricht in eine Voice-Mailbox.This is for example when notifying a web application which administered a Centrex application, the case. For example, Centrex users their telephone function over one Run browser and control. This way, incoming calls are displayed in the browser. It For example, the phone displays data such as the name of the call Caller, the number of the caller or the receipt of a message into a voice mailbox.
Aufgrund des request/response-Konzeptes des http-Protokolls, benötigt die Benachrichtigung eines Browsers durch einen Server, dass der Browser den Server in kurzen Zeitabständen nach vorhandenen Nachrichten befragt (pollt). Dies erzeugt Datenverkehr, eine hohe Belastung des Servers und Latenzzeiten bei der Benachrichtigung.by virtue of the request / response concept of the http protocol requires the Notification of a browser by a server that the browser Server at short intervals polls for existing messages (polls). This generates traffic, high load on the server and latency on notification.
Zudem wird der Code, der auf dem Browser die Überwachung des Nachrichteneingangs überprüft und das Polling ausführt (z.B. Java-Applet oder Java-Script) bei Seitenwechseln immer neu geladen. Dadurch muss die Verbindung zum Server zeitweilig unterbrochen und erneut aufgebaut werden, was zusätzliche Latenzzeiten erzeugt. Dies bedeutet einerseits eine grosse Belastung am Server, da die Verbindung immer wieder neu aufgebaut werden muss, andererseits auch längere Warte- und Ladezeiten für den Client.moreover becomes the code that checks the message receipt monitoring on the browser and the Polling (for example Java applet or java script) always new when paging loaded. This will temporarily break the connection to the server and rebuilt, which creates additional latencies. This means on the one hand a big load on the server, since the Connection must be rebuilt again and again, on the other hand also longer Waiting and loading times for the Client.
Für kleinere Homepages wird deshalb ein Seitenwechsel vermieden, indem die Implementierung der Applikation einmalig ein Seitenlayout lädt und dieses nur noch lokal am Browser ändert. Für grosse Portale, wie zum Beispiel Enterprise Portale, ist das Vermeiden von Seitenwechseln allerdings aufgrund der enormen Datenmengen nicht realistisch.For smaller ones Homepages will therefore avoid a page break by implementing the application loads once a page layout and this only locally on the browser changes. For big Portals, such as Enterprise Portals, is the avoidance page breaks, however, due to the huge amounts of data not realistic.
Eine andere Möglichkeit zur Übermittlung von Nachrichten von einem Server zu einem Browser sind Browser Plug-Ins, welche die Funktionalität des Browsers erweitern. Die Browser Plug-Ins führen allerdings zu Kompatibilitätsproblemen, da nicht jeder Browser das Plug-In unterstützt.A different possibility for the transmission of Messages from a server to a browser are browser plug-ins, which the functionality expand the browser. The browser plug-ins, however, cause compatibility issues not every browser supports the plug-in.
Der vorliegenden Erfindung liegt daher die Aufgabe zugrunde den Datenverkehr zwischen Server und Client zu reduzieren.Of the The present invention is therefore based on the task of data traffic between server and client.
Diese Aufgabe wird durch die im Patentanspruch 1 angegebenen Massnahmen gelöst. Vorteilhafte Ausgestaltungen der Erfindung sind in weiteren Ansprüchen angegeben.These The object is achieved by the measures specified in claim 1 solved. Advantageous embodiments of the invention are specified in further claims.
Dadurch dass das Verfahren die Verfahrensschritte:
- (A) übertragen von einem Code auf den Client;
- (B) aufteilen des Codes in einen ersten Code-Anteil und in einen zweiten Code-Anteil, wobei der zweite Code-Anteil auf einem Protokoll basiert, für welches von dem Server versendete Nachrichten ohne vorangehendes Versenden eines Requests durch den Client empfangbar sind;
- (C) ausführen des ersten Code-Anteils in einem ersten Browser-Frame;
- (D) ausführen des zweiten Code-Anteils in einem zweiten Browser-Frame, welcher über eine Verbindung den Client mit dem Server verbindet;
- (E) Versenden der Nachricht über die Verbindung von dem Server an den Client, kann der Datenverkehr zwischen Server und Client reduziert werden.
- (A) transferring a code to the client;
- (B) dividing the code into a first piece of code and a second piece of code, the second piece of code being based on a protocol for which messages sent by the server are receivable without prior sending of a request by the client;
- (C) executing the first code portion in a first browser frame;
- (D) executing the second code portion in a second browser frame which connects the client to the server via a connection;
- (E) Sending the message from the server to the client can reduce the traffic between server and client.
Insbesondere können auf der Verbindung Nachrichten an den Browser versendet werden ohne die Notwendigkeit, dass der Browser in kurzzeitigen Abständen Anfragen an den Server verschickt, ob auf diesem eine Nachricht vorliegt. Zudem bedingt ein Seitenwechsel innerhalb eines Portals im Normalfall kein erneutes Laden des zweiten Code-Anteils.Especially can On the connection messages are sent to the browser without the Need that the browser requests in short intervals sent to the server, if there is a message on this. In addition, a page change within a portal normally does not require Reloading the second code portion.
Das Aufteilen des Codes in einen ersten Code-Anteil und in einen zweiten Code-Anteil kann bereits vor dem Übertragen des auf dem Server gespeicherten Codes auf den Client vorgenommen werden, indem beispielsweise der erste Code-Anteil in html und der zweite Code-Anteil in Java-Script verfasst wird. Auch das Übertragen des auf dem Server gespeicherten Codes auf den Client kann für den ersten Code-Anteil und den zweiten Code-Anteil aufgeteilt vorgenommen werden, beispielsweise über zwei separate Verbindungen. In einem anderen Beispiel wird der gesamte Code mittels dem http-Protokoll übertragen und anschliessend durch den Client in den ersten Code-Anteil für html und in den zweiten Code-Anteil für Java-Script aufgeteilt.The Dividing the code into a first code portion and a second one Code share can already be before transferring to the server stored codes are made to the client by, for example the first piece of code in html and the second piece of code in java script is written. Also the transfer The code stored on the server on the client can be used for the first code share and the second code portion be made split, for example, via two separate connections. In another example, the entire code is transmitted using the http protocol and then by the client in the first code share for html and in the second code share for Split Java script.
Befindet sich der gesamte Code auf einem einzigen Server, so vereinfacht sich dadurch die Administration der Übertragung. Es ist jedoch auch möglich den Code auf meherere Server zu verteilen, beispielsweise indem sich der erste Code-Anteil auf einem Server befindet und der zweite Code-Anteil auf einem anderen Server. Dadurch erhöht sich die Flexibilität.is all the code on a single server, so simplified thereby the administration of the transfer. However, it is also possible the Distribute code to multiple servers, such as by itself the first piece of code is located on a server and the second piece of code on another server. This increases the flexibility.
Der zweite Browser-Frame kann sichtbar auf enem Bildschirm dargestellt werden, damit ein Enduser direkt über ein in dem zweiten Browser-Frame enthaltenes User-Interface mit dem Server und/oder mit dem ersten Browser-Frame interagieren kann.Of the second browser frame can be visibly displayed on a screen so that an end user directly through a contained in the second browser frame User interface with the server and / or with the first browser frame can interact.
Der zweite Browser-Frame kann versteckt werden, zum Beispiel indem man ihm eine Breite von 0 zuordnet, wodurch er nicht sichtbar ist auf einem Bildschirm des Clients. Mit Hilfe des zweiten Browser-Frames können Nachrichten an den ersten Browser-Frame, in welchem zum Beispiel ein User-Interface ausgeführt wird, übertragen werden, ohne die Notwendigkeit eines vorangehenden Requests an den Server.Of the second browser frame can be hidden, for example by clicking assigns it a width of 0, which makes it invisible a screen of the client. With the help of the second browser frame can Messages to the first browser frame, in which for example running a user interface being transferred without the need of a previous request to the Server.
Nachrichten können an den zweiten und an den ersten Browser-Frame übertragen werden, ohne dass ein Polling des Servers notwendig ist. Dies kann zum Beispiel in Form von einem Cookie vorgenommen werden, welcher in der Nachricht enthalten ist und welcher von dem zweiten Code-Anteil in einem Datenordner auf dem Client abgelegt wird und von dem ersten Browser-Frame aus dem Datenordner abgeholt wird.news can be transmitted to the second and the first browser frame without a polling of the server is necessary. This can be for example in Form can be made by a cookie, which is in the message is included and which of the second code portion in a data folder is placed on the client and from the first browser frame the data folder is picked up.
Wird die Nachricht in den ersten Code-Anteil oder in den zweiten Code-Anteil integriert, so hat dies den Vorteil, dass die Nachricht auch an einen Browser übertragen werden kann, welcher keine Cookies akzeptiert.Becomes the message in the first code part or in the second code part integrated, so this has the advantage that the message also to transfer a browser which does not accept cookies.
Bei Centrex-Systemen, welche mittels eines Browsers administriert werden, erzeugt die herkömmliche Methode des Abfragens nach Nachrichten auf dem Server mittels Polling einen erheblichen verkehr, da zum Beispiel die Informationen über einen eingehenden Anruf in besonders kurzen zeitabständen abgefragt werden muss, damit die Person, welche mit Hilfe des Clients den Anruf entgegennehmen oder administrieren will, den Anruf nicht verpasst.at Centrex systems, which are administered by means of a browser, produces the conventional Method of polling for messages on the server via polling Considerable traffic, for example, information about one incoming call must be inquired at particularly short intervals, so that the person who receives the call with the help of the client or administer, does not miss the call.
Um möglichst kurze Übertragungszeiten zu erreichen, ist es von Vorteil, wenn die Verbindung, welche den zweiten Browser-Frame mit dem Server verbindet eine ständige Verbindung ist.Around preferably short transmission times It is an advantage if the connection connecting the second browser frame with the server connects a permanent Connection is.
Der
erste Browser-Frame
- 1010
- Clientclient
- 1111
- Browserbrowser
- 1212
- erster Browser-Framefirst Browser frame
- 1313
- zweiter Browser-Framesecond Browser frame
- 1414
- Adressleisteaddress bar
- 1515
- Menüpunkt für SeitenauswahlMenu item for page selection
- 1616
- Seitepage
- 1717
- Ordner für Cookies, Ordner, Datenordnerfolder for cookies, Folder, data folder
- 2020
- Serverserver
- 2121
- Cookiecookie
- 2222
- Codecode
- MSGMSG
- Nachrichtmessage
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102005031768A DE102005031768A1 (en) | 2005-07-07 | 2005-07-07 | Message transmission procedure for server to client with browser, involves code transmission as two components for first and second browser frames |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE102005031768A DE102005031768A1 (en) | 2005-07-07 | 2005-07-07 | Message transmission procedure for server to client with browser, involves code transmission as two components for first and second browser frames |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| DE102005031768A1 true DE102005031768A1 (en) | 2007-01-11 |
Family
ID=37562540
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| DE102005031768A Withdrawn DE102005031768A1 (en) | 2005-07-07 | 2005-07-07 | Message transmission procedure for server to client with browser, involves code transmission as two components for first and second browser frames |
Country Status (1)
| Country | Link |
|---|---|
| DE (1) | DE102005031768A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1997035416A1 (en) * | 1996-03-15 | 1997-09-25 | Telstra Corporation Limited | A method of establishing a communications call |
| US20020095336A1 (en) * | 2000-06-29 | 2002-07-18 | Eyeblaster Inc. | Method and system for generating bursting-messages |
-
2005
- 2005-07-07 DE DE102005031768A patent/DE102005031768A1/en not_active Withdrawn
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1997035416A1 (en) * | 1996-03-15 | 1997-09-25 | Telstra Corporation Limited | A method of establishing a communications call |
| US20020095336A1 (en) * | 2000-06-29 | 2002-07-18 | Eyeblaster Inc. | Method and system for generating bursting-messages |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE60125913T2 (en) | DATA TRANSMISSION METHOD AND DEVICE | |
| DE60313531T2 (en) | Method and device for processing instant messages | |
| DE60008555T2 (en) | METHOD AND DEVICE FOR EFFICIENTLY TRANSMITTING DATA FROM AN INTERACTIVE APPLICATION BETWEEN CLIENTS AND SERVER BY MEANS OF A MARKUP LANGUAGE | |
| DE69625922T2 (en) | WEB BROWSER WITH DYNAMIC DISPLAY OF INFORMATION OBJECTS DURING THE LINK PHASE | |
| EP1435148B1 (en) | Method for customized data output on a web site | |
| DE69836814T2 (en) | SUPPLIER SELECTED MESSAGE AS AN ANSWER ON USER REQUEST | |
| DE10314792A1 (en) | Track users on a web server network | |
| DE10118898A1 (en) | Device for processing book-mark occurrences for a web-page, uses book mark occurrence processing in web-browser for automatically carrying out a given function | |
| EP1712065B1 (en) | Method for realizing a presence service and presence system | |
| EP0996906A1 (en) | Process for the synchronised representation of network contents | |
| EP1189149A1 (en) | System and method of modifying a webpage | |
| EP3100181B1 (en) | System and method for preventing a delivery of advertising content | |
| EP1280081A1 (en) | Method, communication network, service node and program module for providing a service of organizing meetings between participants in a communication network | |
| DE102005031768A1 (en) | Message transmission procedure for server to client with browser, involves code transmission as two components for first and second browser frames | |
| EP4387197A1 (en) | Communication system for text-based communication | |
| DE10210783A1 (en) | Query system for news service lines uses receiver with alphanumeric display and selection buttons, with additional signal quality and battery charge displays | |
| DE19934788B4 (en) | Process for automatically adapting data to the capabilities of a user software | |
| DE102012111629B4 (en) | Telecommunication device and method for controlling and managing service numbers | |
| EP2589212B1 (en) | Method and system for calling operations in external applications on the basis of identification data from a telecommunication subscriber | |
| EP1499138A1 (en) | Method, program module and terminal for information transfer between terminals of a communications network | |
| DE102005011034A1 (en) | Operation of computer telephony integration device by means of web browser involves automatic generation of hypertext transfer protocol requests for determination of information by browser integrated functions | |
| DE102004043868B4 (en) | Data communication system, as well as data communication methods | |
| DE10160120A1 (en) | Call centre user identification system construct user profile from web site | |
| EP1222544A2 (en) | Method for the analysis of user behavior in a computer network in order to optimize web presence | |
| WO2013060888A1 (en) | Computer-supported method and cti system for presenting information for an incoming message |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| OP8 | Request for examination as to paragraph 44 patent law | ||
| 8127 | New person/name/address of the applicant |
Owner name: NOKIA SIEMENS NETWORKS GMBH & CO.KG, 81541 MUE, DE |
|
| 8139 | Disposal/non-payment of the annual fee |