CN102710798B - Browser expansion service based on real-time Communication for Power provides system and method - Google Patents

Browser expansion service based on real-time Communication for Power provides system and method Download PDF

Info

Publication number
CN102710798B
CN102710798B CN201210226754.XA CN201210226754A CN102710798B CN 102710798 B CN102710798 B CN 102710798B CN 201210226754 A CN201210226754 A CN 201210226754A CN 102710798 B CN102710798 B CN 102710798B
Authority
CN
China
Prior art keywords
real
browser
time communication
proxy server
clouds
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.)
Active
Application number
CN201210226754.XA
Other languages
Chinese (zh)
Other versions
CN102710798A (en
Inventor
向雪松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210226754.XA priority Critical patent/CN102710798B/en
Publication of CN102710798A publication Critical patent/CN102710798A/en
Application granted granted Critical
Publication of CN102710798B publication Critical patent/CN102710798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention proposes a kind of browser expansion service based on real-time Communication for Power provides system, method, browser and high in the clouds proxy server, and wherein this system includes: client, and running in client has browser;Real-time communication system, by the mutual real-time Communication for Power of real-time Communication for Power passage between browser and real-time communication system;At least one back-end server, for providing service for browser;High in the clouds proxy server, high in the clouds proxy server and real-time communication system are by the mutual real-time Communication for Power of real-time Communication for Power passage, for receiving Real time request message and/or the data subscription information that browser sends, and Real time request message and/or data subscription information are forwarded to back-end server, and receive the response message of back-end server feedback and response message is sent to browser in real time by real-time communication system.The system according to the present invention, it is ensured that browser obtains expansion service or the real-time of function, is greatly simplified browser service or Function Extension process simultaneously.

Description

Browser expansion service based on real-time Communication for Power provides system and method
Technical field
The present invention relates to communication technical field, particularly relate to a kind of browser expansion service based on real-time Communication for Power Offer system, method, browser and high in the clouds proxy server.
Background technology
At present, expansion service or function are provided the most in the following ways for browser: (1) is installed extension and inserted Part is to realize expansion service or function, and developer passes through the API(Application that browser itself is provided Programming Interface, application programming interface) carry out developing plug;(2) specific clothes are accessed Business end, to obtain expansion service or function, can be realized by the most built-in access mode, Such as network address recommendation, safe network address identification etc..
The subject matter that prior art exists is underaction, poor real, if increasing new in a browser Expansion service or function, then need new plug-in unit is installed or upgrades, additionally by this locality of browser Plug-in unit obtains the mode of services or functionalities extension and depends on the API of browser, it is achieved services or functionalities limited and Needing user actively to go to trigger to install just to come into force, start-up cost is bigger.
Summary of the invention
It is contemplated that at least solve one of technical problem present in prior art.
To this end, the first of the present invention purpose be to propose one can ensure that browser obtain expansion service or Function real-time and be greatly simplified expansion process browser expansion service based on real-time Communication for Power provide system.
Second object of the present invention is to propose a kind of browser.
Third object of the present invention is to propose a kind of high in the clouds proxy server.
Fourth object of the present invention is to propose a kind of browser expansion service provider based on real-time Communication for Power Method.
To achieve these goals, the browser based on real-time Communication for Power of a first aspect of the present invention embodiment expands Exhibition service provider system includes: client, and running in described client has a browser, and described in browse utensil There is unique instant messaging ID;Real-time communication system is logical between described browser and described real-time communication system Cross the mutual real-time Communication for Power of real-time Communication for Power passage;At least one back-end server, at least one back-end services described Device is for providing service for described browser;High in the clouds proxy server, described high in the clouds proxy server is with described Real-time communication system passes through the mutual real-time Communication for Power of real-time Communication for Power passage, and described high in the clouds proxy server has only The instant messaging ID of one, the Real time request that described high in the clouds proxy server sends for receiving described browser disappears Breath and/or data subscription information, and described Real time request message and/or data subscription information are forwarded to described Back-end server, and receive the response message of described back-end server feedback and described response message is passed through Described real-time communication system sends in real time to described browser.
Browser expansion service based on real-time Communication for Power according to embodiments of the present invention provides system, by real time Communication system realizes the real-time Communication for Power between browser and high in the clouds proxy server, on the one hand can ensure that and browses Device obtains expansion service or the real-time of function, solves to access related service by polling mode in prior art The problem of the poor real of device, goes the real-time accessing associated server close with polling interval by polling mode Cut is closed, if the little i.e. poll in polling interval is frequent, the most significantly strengthens associated server pressure, if increased Polling interval, then reduce real-time, and use real-time communication system, and back-end services end once has data to update Need to inform that browser can be informed at once;On the other hand it is greatly simplified browser service or Function Extension process, Browser only need to use the instant messaging application protocol identical with high in the clouds proxy server can obtain and this high in the clouds The expansion service of all back-end servers that proxy server is connected or function, if increasing new service or merit Can, only needing the new back-end server that proxy server configuration correspondence increases beyond the clouds, browser is without more Change communications applications agreement and can particularly simple obtain new services or functionalities.
To achieve these goals, the browser of a second aspect of the present invention embodiment includes: real-time Communication for Power mould Block, described real-time communication module has unique instant messaging ID, and described real-time communication module is with the most logical By the mutual real-time Communication for Power of real-time Communication for Power passage between communication system;Sending module, for by described the most logical Communication system sends Real time request message and/or data subscription information to high in the clouds proxy server;And reception mould Block, for receiving the response message that described high in the clouds proxy server is fed back by described real-time communication system.
Browser according to embodiments of the present invention, by real-time communication module, sending module is conveniently by reality Time communication system send Real time request message and/or data subscription information, receiver module can readily obtain cloud End proxy server according to the feedback response message acquired in this Real time request message and/or data subscription information, Thus, high in the clouds proxy server once has data to update, and browser can be immediately obtained, can be efficient and convenient Realize the extension of new services or functionalities.
To achieve these goals, the high in the clouds proxy server of a third aspect of the present invention embodiment includes: real Time communication module, described real-time communication module has unique instant messaging ID, and described real-time communication module And by the mutual real-time Communication for Power of real-time Communication for Power passage between real-time communication system;Receiver module, is used for receiving clear Real time request message that device of looking at is sent by described real-time communication system and/or data subscription information;Process mould Block, for selecting corresponding back-end server according to described Real time request message and/or data subscription information;With And sending module, after described Real time request message and/or data subscription information are forwarded to described selection End server.
High in the clouds proxy server according to embodiments of the present invention, by real-time communication module, receiver module is convenient Ground receives, by real-time communication system, Real time request message and/or the data subscription information that browser is sent, Processing module can select corresponding rear end clothes according to Real time request message and/or data subscription information easily Business device the rear end being forwarded to select by Real time request message and/or data subscription information by sending module take Business device, thus, high in the clouds proxy server can obtain and process the request of browser in time, can be fast square The extension of new services or functionalities just is provided for browser.
To achieve these goals, the browser based on real-time Communication for Power of a fourth aspect of the present invention embodiment expands Exhibition service providing method comprise the following steps: browser to real-time communication system send Real time request message and/ Or data subscription information, wherein, described browser has unique instant messaging ID, and described browser with By the mutual real-time Communication for Power of real-time Communication for Power passage between described real-time communication system;Described real-time communication system will Described Real time request message and/or data subscription information are forwarded to high in the clouds proxy server, wherein, described high in the clouds Proxy server has unique instant messaging ID;Described high in the clouds proxy server disappears according to described Real time request Breath and/or data subscription information, and described Real time request message and/or data subscription information are forwarded to described Back-end server;And described high in the clouds proxy server receives the response message of described back-end server feedback also Described response message is sent to described browser in real time by described real-time communication system.
Browser expansion service based on real-time Communication for Power according to embodiments of the present invention provides method, by real time Communication system realizes the real-time Communication for Power between browser and high in the clouds proxy server, on the one hand can ensure that and browses Device obtains expansion service or the real-time of function, solves to access related service by polling mode in prior art The problem of the poor real of device, goes the real-time accessing associated server close with polling interval by polling mode Cut is closed, if the little i.e. poll in polling interval is frequent, the most significantly strengthens associated server pressure, if increased Polling interval, then reduce real-time, and use real-time communication system, and back-end services end once has data to update Need to inform that browser can be informed at once;On the other hand it is greatly simplified browser service or Function Extension process, Browser only need to use the instant messaging application protocol identical with high in the clouds proxy server can obtain and this high in the clouds The expansion service of all back-end servers that proxy server is connected or function, if increasing new service or merit Can, only needing the new back-end server that proxy server configuration correspondence increases beyond the clouds, browser is without more Change communications applications agreement and can particularly simple obtain new services or functionalities.
The additional aspect of the present invention and advantage will part be given in the following description, and part will be retouched from following Become obvious in stating, or recognized by the practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage are from combining the accompanying drawings below description to embodiment Will be apparent from easy to understand, wherein:
Fig. 1 is that based on real-time Communication for Power according to an embodiment of the invention browser expansion service provides system Structured flowchart;
Fig. 2 is the structured flowchart of browser according to an embodiment of the invention;
Fig. 3 is the structured flowchart of high in the clouds proxy server according to an embodiment of the invention;
Fig. 4 is the structured flowchart of high in the clouds proxy server according to an embodiment of the invention;
Fig. 5 is that based on real-time Communication for Power according to an embodiment of the invention browser expansion service provides method Flow chart;And
Fig. 6 is that based on real-time Communication for Power according to an embodiment of the invention browser expansion service provides method Flow chart.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, wherein certainly Begin to same or similar label eventually represent same or similar element or there is the unit of same or like function Part.The embodiment described below with reference to accompanying drawing is exemplary, is only used for explaining the present invention, and can not It is interpreted as limitation of the present invention.
In describing the invention, term " longitudinally ", " laterally ", " on ", D score, "front", "rear", " left ", Orientation or the position relationship of the instruction such as " right ", " vertically ", " level ", " top ", " end " are based on shown in the drawings Orientation or position relationship, be for only for ease of the description present invention rather than require that the present invention must be with specific side Position structure and operation, be therefore not considered as limiting the invention.
Below with reference to Figure of description, browser based on real-time Communication for Power extension according to embodiments of the present invention is described Service provider system.
A kind of browser expansion service based on real-time Communication for Power provides system, including: client, in client Operation has browser, and browser has unique instant messaging ID;Real-time communication system, browser and reality Time communication system between by the mutual real-time Communication for Power of real-time Communication for Power passage;At least one back-end server, at least One back-end server is for providing service for browser;High in the clouds proxy server, high in the clouds proxy server with Real-time communication system passes through the mutual real-time Communication for Power of real-time Communication for Power passage, and high in the clouds proxy server has uniquely Instant messaging ID, high in the clouds proxy server is for receiving Real time request message and/or the data of browser transmission Subscription information, and Real time request message and/or data subscription information are forwarded to back-end server, and receive Response message is also sent to browsing by real-time communication system by the response message of back-end server feedback in real time Device.
The browser expansion service based on real-time Communication for Power that Fig. 1 is one embodiment of the invention provides the knot of system Structure block diagram.
As it is shown in figure 1, browser expansion service based on real-time Communication for Power according to embodiments of the present invention provides system System includes client 10, real-time communication system 20, back-end server 30 and high in the clouds proxy server 40, its Middle back-end server 30 at least one.
Specifically, client 10 is run and has browser, and browser has unique instant messaging ID, Unique instant messaging ID can ensure that the accuracy of real-time data communication.
Back-end server 30 is for providing service for browser.
By the mutual real-time Communication for Power of real-time Communication for Power passage between browser and real-time communication system 20, high in the clouds is acted on behalf of Server 40 and real-time communication system 20 are by the mutual real-time Communication for Power of real-time Communication for Power passage.For real-time Communication for Power Browser status in system 20, high in the clouds proxy server 40 and client 10 is of equal value, in client 10 Browser and high in the clouds proxy server 40 between can by real-time communication system 20 set up real-time Communication for Power lead to Road, browser and high in the clouds proxy server 40 keep real-time Communication for Power by this real-time Communication for Power passage, until wherein Till one side closes the connection of this real-time Communication for Power passage.In one embodiment of the invention, browser, in real time Identical instant messaging application protocol supported by communication system 20 and high in the clouds proxy server 40, thus, in real time Communication system 20 can process large-scale concurrent and pass through affairs, and wherein, instant messaging application protocol can be can Extension communication and presentation protocol XMPP(The Extensible Messaging and Presence Protocol).
High in the clouds proxy server 40 has unique instant messaging ID, and high in the clouds proxy server 40 is used for receiving The Real time request message of browser transmission and/or data subscription information, and by Real time request message and/or data Subscription information is forwarded to back-end server 30, and receives the response message of back-end server 30 feedback and incite somebody to action Response message is sent to browser in real time by real-time communication system 20.Such as, certain high in the clouds agency service Device 40 supports url(uniform resource locator, URL) related service, browser The url data asked being sent to high in the clouds proxy server 40 by real-time communication system 20, high in the clouds is acted on behalf of The url data of this request are transmitted to the back-end server 30 being correlated with, then high in the clouds agency service by server 40 The reply data of relevant back-end server 30 are issued browser by real-time communication system 20 by device 40, logical The system crossing the embodiment of the present invention can add new expansion service or function for url data easily, If as judge url be whether safe network address, url be whether network address url of a movie and television play be one new The network address heard provides relevant news information etc., and wherein, the newest expansion service or function browser are Built-in, such as safe network address identification etc., high in the clouds proxy server 40 is informed by real-time communication system 20 and is browsed Device, the newest expansion service or function need browser to install plug-in unit, high in the clouds proxy server 40 User can be reminded to carry out the installation of plug-in unit by real-time communication system 20.
Browser expansion service based on real-time Communication for Power according to embodiments of the present invention provides system, by real time Communication system realizes the real-time Communication for Power between browser and high in the clouds proxy server, on the one hand can ensure that and browses Device obtains expansion service or the real-time of function, solves to access related service by polling mode in prior art The problem of the poor real of device, goes the real-time accessing associated server close with polling interval by polling mode Cut is closed, if the little i.e. poll in polling interval is frequent, the most significantly strengthens associated server pressure, if increased Polling interval, then reduce real-time, and use real-time communication system, and back-end services end once has data to update Need to inform that browser can be informed at once;On the other hand it is greatly simplified browser service or Function Extension process, Browser only need to use the instant messaging application protocol identical with high in the clouds proxy server can obtain and this high in the clouds The expansion service of all back-end servers that proxy server is connected or function, if increasing new service or merit Can, only needing the new back-end server that proxy server configuration correspondence increases beyond the clouds, browser is without more Change communications applications agreement and can particularly simple obtain new services or functionalities.
In one embodiment of the invention, high in the clouds proxy server 40 is multiple, and each high in the clouds agency's clothes The corresponding COS of business device 40, each high in the clouds proxy server 40 has unique instant messaging ID. Wherein, if increasing new high in the clouds proxy server 40, the ID of its correspondence can be risen automatically by browser Level is issued in client 10.
In one embodiment of the invention, browser after start-up, by Real time request message and/or data Subscription information all sends to multiple high in the clouds proxy server 40, and multiple high in the clouds proxy server 40 is according to self COS choose whether Real time request message and/or data subscription information are forwarded at least one rear end Server 30.Specifically, each high in the clouds proxy server 40 connects multiple back-end server 30, each Back-end server supports different service subtype, high in the clouds proxy server 40 according to Real time request message and/ Or data subscription information selects corresponding back-end server 30.
Such as, a high in the clouds proxy server 40 based on url service, coupled each rear end are set up Server 30 can provide a corresponding data type to be easy to identify its service subtype provided, such as shadow Depending on acute prompting, reading model etc., these data types form a data set of types and close.Each browser Plug-in unit may be paid close attention to some data type and some data type paid close attention to is registered to the communication of browser In module (such as XMPPCenter).The url data that browser is uploaded include client portion of interest The set of divided data type, a corresponding plug-in unit on each back-end server 30 proxy server 40 beyond the clouds, The data type of the url data that high in the clouds proxy server 40 is uploaded according to browser, first selection are called The plug-in unit of back-end server 30, decides whether to support this url data according to the plug-in unit called, and by this url Data are forwarded to the back-end server 30 of correspondence, the data root then returned by corresponding back-end server 30 Filter according to the data type of these url data, it is judged that need to return to the reply data of client.
In one embodiment of the invention, high in the clouds proxy server 40 be additionally operable to preserve browser browse note Record information and/or individual character configuration information, and to browse record information and/or the relevant industry of individual character configuration information When business updates, by the information pushing of renewal to browser.Thus more friendly to user.
In order to realize above-described embodiment, embodiments of the invention also propose a kind of browser.Below with reference to explanation Book accompanying drawing describes browser according to embodiments of the present invention.
A kind of browser, including: real-time communication module, real-time communication module has unique instant messaging ID, And by the mutual real-time Communication for Power of real-time Communication for Power passage between real-time communication module and real-time communication system;Send mould Block, for sending Real time request message and/or data subscription by real-time communication system to high in the clouds proxy server Information;And receiver module, for receiving the response that high in the clouds proxy server is fed back by real-time communication system Message.
Fig. 2 is the structured flowchart of the browser of one embodiment of the invention.
As in figure 2 it is shown, browser according to embodiments of the present invention includes real-time communication module 11, sending module 12 and receiver module 13.
Specifically, real-time communication module 11 has unique instant messaging ID, and unique instant messaging ID can To ensure the accuracy of real-time data communication, and by real between real-time communication module 11 and real-time communication system Time the mutual real-time Communication for Power of communication port, wherein real-time communication system can process large-scale concurrent and passes through affairs. Sending module 12 for by real-time communication system to high in the clouds proxy server send Real time request message and/or Data subscription information.Receiver module 13 is for receiving what high in the clouds proxy server was fed back by real-time communication system Response message.Such as, the url data that browser is asked by sending module 12 are sent out by real-time communication system Delivering to high in the clouds proxy server, high in the clouds proxy server passes through real according to the reply data that these url data return Time communication system issue receiver module 13, receiver module 13 receives this reply data.
In one embodiment of the invention, XMPP supported by browser.
Browser according to embodiments of the present invention, by real-time communication module, sending module is conveniently by reality Time communication system send Real time request message and/or data subscription information, receiver module can readily obtain cloud End proxy server according to the feedback response message acquired in this Real time request message and/or data subscription information, Thus, high in the clouds proxy server once has data to update, and browser can be immediately obtained, can be efficient and convenient Realize the extension of new services or functionalities.
In order to realize above-described embodiment, embodiments of the invention also propose a kind of high in the clouds proxy server.Below With reference to Figure of description, high in the clouds proxy server according to embodiments of the present invention is described.
A kind of high in the clouds proxy server, including: real-time communication module, real-time communication module has the most i.e. Shi Tongxin ID, and led to the most in real time by real-time Communication for Power passage between real-time communication module and real-time communication system Letter;Receiver module, for receiving Real time request message and/or the number that browser is sent by real-time communication system According to subscription information;Processing module, for selecting correspondence according to Real time request message and/or data subscription information Back-end server;And sending module, for Real time request message and/or data subscription information being forwarded to choosing The back-end server selected.
Fig. 3 is the structured flowchart of the high in the clouds proxy server of one embodiment of the invention.
As it is shown on figure 3, high in the clouds proxy server according to embodiments of the present invention include real-time communication module 41, Receiver module 42, processing module 43 and sending module 44.
Specifically, real-time communication module 41 has unique instant messaging ID, and unique instant messaging ID can To ensure the accuracy of real-time data communication, and by real between real-time communication module 41 and real-time communication system Time the mutual real-time Communication for Power of communication port, wherein real-time communication system can process large-scale concurrent and passes through affairs. Receiver module 42 is for receiving Real time request message and/or the data that browser is sent by real-time communication system Subscription information.Processing module 43 is for selecting correspondence according to Real time request message and/or data subscription information Back-end server.Sending module 44 for being forwarded to selection by Real time request message and/or data subscription information Back-end server.
Such as, if high in the clouds proxy server supports url related service, coupled each back-end services Device can provide a corresponding data type to be easy to identify its service subtype provided, and such as movie and television play carries Awake, reading modeies etc., these data types form a data set of types and close.The url that browser will be asked Data are sent to high in the clouds proxy server by real-time communication system, and receiver module 42 receives this url data, Wherein these url data include the set of client part data type of interest.Processing module 43 please by this The url data asked are transmitted to the back-end server 30 being correlated with, and the most each back-end server acts on behalf of clothes beyond the clouds A corresponding plug-in unit on business device, processing module 43, according to the data type in these url data, selects to be called The plug-in unit of back-end server, decide whether to support this url data according to the plug-in unit called, then pass through These url data are forwarded to the back-end server of correspondence by sending module 44.
In one embodiment of the invention, XMPP supported by high in the clouds proxy server.
High in the clouds proxy server according to embodiments of the present invention, by real-time communication module, receiver module is convenient Ground receives, by real-time communication system, Real time request message and/or the data subscription information that browser is sent, Processing module can select corresponding rear end clothes according to Real time request message and/or data subscription information easily Business device the rear end being forwarded to select by Real time request message and/or data subscription information by sending module take Business device, thus, high in the clouds proxy server can obtain and process the request of browser in time, can be fast square The extension of new services or functionalities just is provided for browser.
Fig. 4 is the structured flowchart of the high in the clouds proxy server of one embodiment of the invention.
As shown in Figure 4, high in the clouds proxy server according to embodiments of the present invention include real-time communication module 41, Receiver module 42, processing module 43, sending module 44, memory module 45 and pushing module 46.
Specifically, real-time communication module 41 has unique instant messaging ID, and real-time communication module 41 with By the mutual real-time Communication for Power of real-time Communication for Power passage between real-time communication system.Receiver module 42 browses for reception Real time request message that device is sent by real-time communication system and/or data subscription information.Processing module 43 is used In selecting corresponding back-end server according to Real time request message and/or data subscription information.Sending module 44 For Real time request message and/or data subscription information being forwarded to the back-end server selected.Memory module 45 for preserving the record information that browses and/or the individual character configuration information of browser.Pushing module 46 for When the relevant business of record information and/or individual character configuration information that browses updates, by the information pushing of renewal to browsing Device.
In one embodiment of the invention, XMPP supported by high in the clouds proxy server.
High in the clouds proxy server according to embodiments of the present invention, by memory module preserve browser browse note Record information and/or individual character configuration information, then to browse record information and/or individual character configuration information is relevant When business updates, by the information pushing of renewal to browser, thus more friendly to user.
In order to realize above-described embodiment, embodiments of the invention also propose a kind of browser based on real-time Communication for Power Expansion service provides method.Below with reference to Figure of description describe according to embodiments of the present invention based in real time logical The browser expansion service of letter provides method.
A kind of browser expansion service based on real-time Communication for Power provide method, comprise the following steps: browser to Real-time communication system sends Real time request message and/or data subscription information, and wherein, browser has uniquely Instant messaging ID, and by the mutual real-time Communication for Power of real-time Communication for Power passage between browser and real-time communication system; Real time request message and/or data subscription information are forwarded to high in the clouds proxy server by real-time communication system, its In, high in the clouds proxy server has unique instant messaging ID;High in the clouds proxy server disappears according to Real time request Breath and/or data subscription information, and Real time request message and/or data subscription information are forwarded to back-end services Device;And high in the clouds proxy server receives the response message of back-end server feedback and by response message by real Time communication system send in real time to browser.
The browser expansion service based on real-time Communication for Power that Fig. 5 is one embodiment of the invention provides the stream of method Cheng Tu.
As it is shown in figure 5, browser expansion service provider based on real-time Communication for Power according to embodiments of the present invention Method, comprises the steps.
Step S101, browser sends Real time request message and/or data subscription information to real-time communication system, Wherein, browser has unique instant messaging ID, and by real time between browser and real-time communication system The mutual real-time Communication for Power of communication port.
Step S102, Real time request message and/or data subscription information are forwarded to high in the clouds generation by real-time communication system Reason server, wherein, high in the clouds proxy server has unique instant messaging ID.
Specifically, browser and high in the clouds proxy server are respectively provided with unique instant messaging ID, it is ensured that The accuracy of real-time data communication.For real-time communication system, high in the clouds proxy server and browser status etc. Valency, can set up real-time Communication for Power passage by real-time communication system between browser and high in the clouds proxy server, Browser and high in the clouds proxy server keep real-time Communication for Power by this real-time Communication for Power passage, until wherein a side is closed Till closing the connection of this real-time Communication for Power passage.In one embodiment of the invention, browser, real-time Communication for Power system Uniting and support identical instant messaging application protocol with high in the clouds proxy server, thus, real-time communication system is permissible Processing large-scale concurrent to pass through affairs, wherein, instant messaging application protocol can be expansible communication and expression Agreement XMPP.
Step S103, high in the clouds proxy server is according to Real time request message and/or data subscription information, and incites somebody to action real Time request message and/or data subscription information be forwarded to back-end server.
Step S104, high in the clouds proxy server receives the response message of back-end server feedback and by response message Sent in real time to browser by real-time communication system.
Such as, certain high in the clouds proxy server supports url related service, the url data that browser will be asked Being sent to high in the clouds proxy server by real-time communication system, high in the clouds proxy server is by the url number of this request According to being transmitted to the back-end server be correlated with, then high in the clouds proxy server is by the reply of relevant back-end server Data issue browser by real-time communication system, thus can add new for url data easily Expansion service or function, as judge url be whether safe network address, url be whether a movie and television play network address, If the network address that url is a news provides relevant news information etc., wherein, the newest expansion service Or function browser is the most built-in, such as safe network address identification etc., high in the clouds proxy server passes through real-time Communication for Power system System informs browser, and the newest expansion service or function need browser to install plug-in unit, and high in the clouds is acted on behalf of Server can remind user to carry out the installation of plug-in unit by real-time communication system.
In one embodiment of the invention, high in the clouds proxy server is multiple, and each high in the clouds agency service The corresponding COS of device, each high in the clouds proxy server has unique instant messaging ID.Wherein, as Fruit increases new high in the clouds proxy server 40, and the ID of its correspondence can automatically be upgraded by browser and be issued to In client 10.
In one embodiment of the invention, browser after start-up, by Real time request message and/or data Subscription information all sends to multiple high in the clouds proxy server, and multiple high in the clouds proxy server is according to the service of self Whether type selecting is forwarded at least one back-end server by Real time request message and/or data subscription information. Specifically, each high in the clouds proxy server connects multiple back-end server, and each back-end server is supported not Same service subtype, it is right that high in the clouds proxy server selects according to Real time request message and/or data subscription information The back-end server answered.
Such as, a high in the clouds proxy server based on url service, coupled each rear end clothes are set up Business device can provide a corresponding data type to be easy to identify its service subtype provided, such as movie and television play Prompting, reading model etc., these data types form a data set of types and close.The plug-in unit of each browser Some data type may be paid close attention to and some data type paid close attention to is registered to the communication module of browser In (such as XMPPCenter).The url data that browser is uploaded include client part of interest number According to the set of type, a corresponding plug-in unit on each back-end server proxy server beyond the clouds, high in the clouds is acted on behalf of The data type of the url data that server is uploaded according to browser, first selects the back-end server called Plug-in unit, decide whether to support this url data according to the plug-in unit called, and these url data are forwarded to right The back-end server answered, the data then returned by corresponding back-end server are according to the data of these url data Type filters, it is judged that need to return to the reply data of client.
Browser expansion service based on real-time Communication for Power according to embodiments of the present invention provides method, by real time Communication system realizes the real-time Communication for Power between browser and high in the clouds proxy server, on the one hand can ensure that and browses Device obtains expansion service or the real-time of function, solves to access related service by polling mode in prior art The problem of the poor real of device, goes the real-time accessing associated server close with polling interval by polling mode Cut is closed, if the little i.e. poll in polling interval is frequent, the most significantly strengthens associated server pressure, if increased Polling interval, then reduce real-time, and use real-time communication system, and back-end services end once has data to update Need to inform that browser can be informed at once;On the other hand it is greatly simplified browser service or Function Extension process, Browser only need to use the instant messaging application protocol identical with high in the clouds proxy server can obtain and this high in the clouds The expansion service of all back-end servers that proxy server is connected or function, if increasing new service or merit Can, only needing the new back-end server that proxy server configuration correspondence increases beyond the clouds, browser is without more Change communications applications agreement and can particularly simple obtain new services or functionalities.
The browser expansion service based on real-time Communication for Power that Fig. 6 is one embodiment of the invention provides the stream of method Cheng Tu.
As shown in Figure 6, browser expansion service provider based on real-time Communication for Power according to embodiments of the present invention Method, comprises the steps.
Step S201, browser sends Real time request message and/or data subscription information to real-time communication system, Wherein, browser has unique instant messaging ID, and by real time between browser and real-time communication system The mutual real-time Communication for Power of communication port.
Step S202, Real time request message and/or data subscription information are forwarded to high in the clouds generation by real-time communication system Reason server, wherein, high in the clouds proxy server has unique instant messaging ID.
Step S203, high in the clouds proxy server is according to Real time request message and/or data subscription information, and incites somebody to action real Time request message and/or data subscription information be forwarded to back-end server.
Step S204, high in the clouds proxy server receives the response message of back-end server feedback and by response message Sent in real time to browser by real-time communication system.
Step S205, high in the clouds proxy server record browser browse record information and/or individual character arranges letter Breath, and to when browsing record information and/or the relevant business of individual character configuration information updates, will the information of renewal Push to browser.
In one embodiment of the invention, the execution of step S205 can at any time can perform.Example As, can be before step S201 etc..
Browser expansion service based on real-time Communication for Power according to embodiments of the present invention provides method, by preserving The record information that browses of browser and/or individual character configuration information, and with browse record information and/or individual character sets When the business that confidence manner of breathing closes updates, by the information pushing of renewal to browser, thus more friendly to user.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to recognized For being the sequencing list of executable instruction for realizing logic function, may be embodied in any computer In computer-readable recording medium, (such as computer based system, include place for instruction execution system, device or equipment The reason system of device or other can be from instruction execution system, device or equipment instruction fetch the system performing instruction) Use, or combine these instruction execution systems, device or equipment and use.For the purpose of this specification, " calculate Machine computer-readable recording medium " can be any can to comprise, store, communicate, propagate or transmission procedure performs for instruction System, device or equipment or combine these instruction execution systems, device or equipment and the device that uses.
The more specifically example (non-exhaustive list) of computer-readable medium includes following: have one or The electrical connection section (electronic installation) of multiple wirings, portable computer diskette box (magnetic device), random access memory is deposited Reservoir (RAM), read only memory (ROM), erasable edit read only memory (EPROM or sudden strain of a muscle Speed memorizer), fiber device, and portable optic disk read only memory (CDROM).It addition, calculate Machine computer-readable recording medium can even is that paper or other the suitable media that can print described program thereon, because can Such as by paper or other media are carried out optical scanning, then to carry out editing, interpreting or if desired with it His suitable method is processed to electronically obtain described program, is then stored in Computer Storage In device.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof. In the above-described embodiment, multiple steps or method in memory and can be held by suitably instruction with storage Software or firmware that row system performs realize.Such as, if realized with hardware, with another embodiment party As in formula, can realize by any one in following technology well known in the art or their combination: have For data signal being realized the discrete logic of the logic gates of logic function, there is suitably combination The special IC of logic gates, programmable gate array (PGA), field programmable gate array (FPGA) Deng.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", The description of " concrete example " or " some examples " etc. means to combine this embodiment or example describes specific features, Structure, material or feature are contained at least one embodiment or the example of the present invention.In this manual, The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.And, the tool of description Body characteristics, structure, material or feature can be with properly in any one or more embodiments or example Mode combine.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: These embodiments can be carried out in the case of without departing from the principle of the present invention and objective multiple change, amendment, Replacing and modification, the scope of the present invention is limited by claim and equivalent thereof.

Claims (13)

1. a browser expansion service based on real-time Communication for Power provides system, it is characterised in that including:
Client, runs in described client and has browser, and described browser has unique instant messaging ID;
Real-time communication system, by real-time Communication for Power passage phase between described browser with described real-time communication system Real-time Communication for Power mutually;
Back-end server, the most each described back-end server supports different service subtype, multiple rear ends Server is for providing service for described browser;
High in the clouds proxy server, described high in the clouds proxy server is multiple, and each described high in the clouds agency service The corresponding COS of device, each described high in the clouds proxy server has unique instant messaging ID, often Individual described high in the clouds proxy server connects multiple described back-end server, the plurality of high in the clouds proxy server With described real-time communication system by the mutual real-time Communication for Power of real-time Communication for Power passage, the plurality of high in the clouds agency service Device is used for receiving Real time request message and/or the data subscription information that described browser sends, and according to described Real time request message and/or data subscription information select corresponding back-end server, with by described Real time request Message and/or data subscription information are forwarded to the back-end server of described correspondence, and receive described correspondence Back-end server feedback response message and by described response message by described real-time communication system in real time Send to described browser.
2. browser expansion service based on real-time Communication for Power as claimed in claim 1 provides system, and it is special Levy and be, described high in the clouds proxy server, be additionally operable to preserve the record information that browses of described browser and/or Individual character configuration information, and browsing record information to described and/or the relevant business of individual character configuration information updates Time, the information pushing extremely described browser that will update.
3. the browser expansion service based on real-time Communication for Power as described in any one of claim 1-2 provides system System, it is characterised in that described browser, described real-time communication system and described high in the clouds proxy server are supported Identical instant messaging application protocol.
4. browser expansion service based on real-time Communication for Power as claimed in claim 3 provides system, and it is special Levying and be, described instant messaging application protocol is expansible communication and presentation protocol XMPP.
5. a client, runs in described client and has browser, it is characterised in that described client Including:
Real-time communication module, described real-time communication module has unique instant messaging ID, and described in real time By the mutual real-time Communication for Power of real-time Communication for Power passage between communication module and real-time communication system;
Sending module, for sending real-time asking by described real-time communication system to multiple high in the clouds proxy server Ask message and/or data subscription information, wherein, the corresponding COS of each high in the clouds proxy server, Each described high in the clouds proxy server has unique instant messaging ID, each described high in the clouds proxy server Connecting and have multiple back-end server, each described back-end server supports different service subtype, described many Individual high in the clouds proxy server selects corresponding rear end according to described Real time request message and/or data subscription information Server, to be forwarded to the rear end clothes of described correspondence by described Real time request message and/or data subscription information Business device;And
Receiver module, for receiving the sound that described high in the clouds proxy server is fed back by described real-time communication system Answer message.
6. client as claimed in claim 5, it is characterised in that XMPP supported by described browser.
7. a high in the clouds proxy server, it is characterised in that described high in the clouds proxy server is multiple, and The corresponding COS of each high in the clouds proxy server, described each described high in the clouds proxy server connects to be had Multiple back-end servers, each back-end server supports different service subtype, described high in the clouds agency service Device includes:
Real-time communication module, described real-time communication module has unique instant messaging ID, and described in real time By the mutual real-time Communication for Power of real-time Communication for Power passage between communication module and real-time communication system;
Receiver module, for receive Real time request message that browser sends by described real-time communication system with / or data subscription information;
Processing module, after selecting correspondence according to described Real time request message and/or data subscription information End server;And
Sending module, for being forwarded to described selection by described Real time request message and/or data subscription information Back-end server.
8. high in the clouds as claimed in claim 7 proxy server, it is characterised in that also include:
Memory module, for preserving the record information that browses and/or the individual character configuration information of described browser;With And
Pushing module, for browsing record information and/or the relevant business of individual character configuration information more to described Time new, the information pushing extremely described browser that will update.
9. high in the clouds as claimed in claim 7 proxy server, it is characterised in that described high in the clouds agency's clothes XMPP supported by business device.
10. a browser expansion service based on real-time Communication for Power provides method, it is characterised in that include with Lower step:
Browser sends Real time request message and/or data subscription information, wherein, institute to real-time communication system State browser and there is unique instant messaging ID, and logical between described browser and described real-time communication system Cross the mutual real-time Communication for Power of real-time Communication for Power passage;
Described Real time request message and/or data subscription information are forwarded to high in the clouds generation by described real-time communication system Reason server, wherein, described high in the clouds proxy server is multiple, and each described high in the clouds proxy server pair A COS, each described high in the clouds proxy server is answered to have unique instant messaging ID, Mei Gesuo State high in the clouds proxy server connection and have multiple back-end server;
The plurality of high in the clouds proxy server selects according to described Real time request message and/or data subscription information Corresponding back-end server, described right so that described Real time request message and/or data subscription information are forwarded to The back-end server answered;And
Described high in the clouds proxy server receives the response message of the back-end server feedback of described correspondence and by institute State response message to be sent in real time to described browser by described real-time communication system.
11. browser expansion service based on real-time Communication for Power as claimed in claim 10 provide method, its It is characterised by, also includes:
Browser described in the proxy server record of described high in the clouds browse record information and/or individual character arranges letter Breath, and when browsing record information to described and/or the relevant business of individual character configuration information updates, will renewal Information pushing to described browser.
12. browser expansion service based on real-time Communication for Power as claimed in claim 10 provide method, its Being characterised by, described browser, described real-time communication system are supported identical with described high in the clouds proxy server Instant messaging application protocol.
13. browser expansion service based on real-time Communication for Power as claimed in claim 12 provide method, its Being characterised by, described instant messaging application protocol is XMPP.
CN201210226754.XA 2012-06-29 2012-06-29 Browser expansion service based on real-time Communication for Power provides system and method Active CN102710798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210226754.XA CN102710798B (en) 2012-06-29 2012-06-29 Browser expansion service based on real-time Communication for Power provides system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210226754.XA CN102710798B (en) 2012-06-29 2012-06-29 Browser expansion service based on real-time Communication for Power provides system and method

Publications (2)

Publication Number Publication Date
CN102710798A CN102710798A (en) 2012-10-03
CN102710798B true CN102710798B (en) 2016-12-21

Family

ID=46903344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210226754.XA Active CN102710798B (en) 2012-06-29 2012-06-29 Browser expansion service based on real-time Communication for Power provides system and method

Country Status (1)

Country Link
CN (1) CN102710798B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929489B (en) * 2012-11-09 2016-08-03 北京奇虎科技有限公司 Client browser implementation method and client browser
CN103152376A (en) * 2012-12-07 2013-06-12 傲游国际有限公司 Method and device for managing resources with browsers
CN104426983A (en) * 2013-09-05 2015-03-18 携程计算机技术(上海)有限公司 Website building system and method
CN103561043B (en) * 2013-11-19 2016-09-14 人网(北京)信息科技有限公司 A kind of service information pushing method and system
CN104995898B (en) * 2014-02-19 2018-06-05 华为技术有限公司 A kind of methods, devices and systems for establishing data channel
CN104484735B (en) * 2014-11-20 2018-01-09 上海富欣智能交通控制有限公司 Track traffic synthetic maintenance management information delivery system
US10912142B2 (en) * 2016-04-01 2021-02-02 Htc Corporation Device and method of handling radio resource control connection resume procedure
US10103996B2 (en) * 2016-05-04 2018-10-16 General Motors Llc Dynamic status update solicitation
CN106408269A (en) * 2016-09-30 2017-02-15 百望电子发票数据服务有限公司 Signature processing method, signature center system and signature system
CN108337280B (en) * 2017-01-20 2019-12-20 北京数安鑫云信息技术有限公司 Resource updating method and device
CN107864302B (en) * 2017-11-22 2020-09-08 泰康保险集团股份有限公司 Telephone sales service method, device and system
CN108881395B (en) * 2018-05-23 2021-11-23 北京五八信息技术有限公司 Message pushing method, device, message manager and computer readable storage medium
CN109725968B (en) * 2018-12-18 2022-04-05 北京世纪超星信息技术发展有限责任公司 Man-machine interaction manager, server, system and method based on group chat
CN114553980B (en) * 2021-12-31 2023-11-10 西安空间无线电技术研究所 Message service method for decoupling control flow and data flow

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438027A (en) * 2012-01-17 2012-05-02 深圳市乐唯科技开发有限公司 System and method for expanding extensible messaging and presence protocol (XMPP) server open platform

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102438027A (en) * 2012-01-17 2012-05-02 深圳市乐唯科技开发有限公司 System and method for expanding extensible messaging and presence protocol (XMPP) server open platform

Also Published As

Publication number Publication date
CN102710798A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102710798B (en) Browser expansion service based on real-time Communication for Power provides system and method
CN102257488B (en) Techniques to automatically syndicate content over a network
CN102752388B (en) Interactive system based on browser, method, browser and cloud server
CN100541479C (en) The method and apparatus of the Content Management bookmark information of being stored in the media server for networking
CN101147145B (en) Embedded web-based management method
CN102724327B (en) For Real-time Network page browsing service provider system and the method for browser
CN104980289B (en) Information push method, device and system
CN101216834B (en) File downloading method, system, device and server
CN107645561A (en) A kind of preview picture method of cloud mobile phone
CN104778211A (en) Method, client, server and system for refreshing partial page modules
CN104022945B (en) Method and device for realizing instant communication in client end
CN103503385A (en) Method for information share and device
CN102067125A (en) Method and apparatus for searching information
CN101854399A (en) Method and device for aggregating network data
CN104125135B (en) The management method of a kind of instant messaging application chat record and terminal
CN102665177A (en) Method, system and device for pushing application program information based on machine type matching information
CN102938788A (en) Processing method and device of events
CN103207873A (en) Method and system for displaying exclusive user page
CN102710799B (en) Client plug-in based on real-time Message Passing installs system for prompting and method
CN103858407A (en) File processing method, device and system
CN101889310B (en) Organizing and publishing assets in UPnP networks
CN1953455A (en) A method, module and server to control access to network resource
CN109951318A (en) The function configuration method and device of application
CN111897978A (en) Live broadcast state monitoring method and device, electronic equipment and storage medium
CN104685488B (en) System and method for being created for the virtual disk mirror image that remote computer uses

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant