CN102917074A - Server-side browser realization method and server - Google Patents

Server-side browser realization method and server Download PDF

Info

Publication number
CN102917074A
CN102917074A CN2012104473749A CN201210447374A CN102917074A CN 102917074 A CN102917074 A CN 102917074A CN 2012104473749 A CN2012104473749 A CN 2012104473749A CN 201210447374 A CN201210447374 A CN 201210447374A CN 102917074 A CN102917074 A CN 102917074A
Authority
CN
China
Prior art keywords
browser
server end
user
client browser
information
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.)
Granted
Application number
CN2012104473749A
Other languages
Chinese (zh)
Other versions
CN102917074B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210447374.9A priority Critical patent/CN102917074B/en
Publication of CN102917074A publication Critical patent/CN102917074A/en
Application granted granted Critical
Publication of CN102917074B publication Critical patent/CN102917074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a server-side browser realization method and a server. The server comprises a starting unit and a processing unit, wherein the starting unit is further suitable for starting a server-side browser process corresponding to a client browser at a server side and starting a server-side browser page corresponding to the server-side browser process in a cache. According to the technical scheme of the invention, the data processing burden of a client side can be effectively reduced, and a good rendering effect can be guaranteed under the conditions of high response speed and low traffic consumption; and meanwhile, all user operations are supported, the requirements for the configuration of the hardware and software of user terminals are reduced, a good network access environment is provided for users, and the network access security of the users is guaranteed.

Description

A kind of method and server of realizing the server end browser
Technical field
The present invention relates to communication field, particularly relate to a kind of method and server of realizing the server end browser.
Background technology
In the prior art, mobile browser mainly is divided into two kinds: client kernel browser and high in the clouds kernel browser.Wherein, the client kernel browser refers to the kernel of client embedding browser, directly sends request to the website, not by any acting server.The client kernel browser is browser/server structure (Browser/Server, referred to as B/S) structure, client is directly by HTML (Hypertext Markup Language) (HyperText Transfer Protocol, referred to as HTTP) agreement initiates request to the website, and after receiving response, carry out first the parsing of http protocol, and then carry out HTML (Hypertext Markup Language, referred to as HTML) parsing and child resource download, generation Dom Tree also plays up, and finally is presented on the portable terminal.Because the mutual http protocol that adopts between client and the web page server, can cause that the interaction data amount is large, the consumption flow, the transmission time is long and the response time is waited problem slowly.
The high in the clouds kernel browser is client/agent server (Client/Server, referred to as C/S) framework, that client sends request to cloud server, by the cloud server accessed web page, after obtaining the page, resolve and play up calculating at server end, the result that then will play up by certain agreement sends to client, and client is presented on the terminal according to the result, and the interactive operation of all clients all is to finish under the assistance of server.Specifically comprise two kinds of processing modes:
Processing mode one:
Under the C/S framework, client sends page request to webpage, sends request to acting server when obtaining child resource, will carry out some processing to child resource by acting server.Acting server under this pattern only the child resources such as static page and image, CSS and JS is carried out buffer memory and compression is processed, and is finished by the cell-phone customer terminal that possesses complete WAP/WWW analytic ability and sets type and screen drawing.This kind processing mode can cause the problem that the client amount of calculation is large and power consumption is large.
Processing mode two:
Under the C/S framework, client is initiated request to acting server, ask for resource by acting server to webpage, then resolve DOM Tree at acting server, and according to the font information of client upload set type (also can be set type by the Server Default font), and child resource processed accordingly, comprise compression and buffer memory, each the most typesetted control is with the position, the mode that wide height adds content sends to client, content finally is presented on the client browser according to these information by client.The font that this kind processing mode requires owing to the client on the various terminals, composing are had nothing in common with each other, otherness is large, proxy server processes is got up loaded down with trivial details, data processing load is high, therefore can cause the client rendering effect poor (for example, the effect of parent page is lost, and the support of partial dynamic script effect is poor etc.), the problem such as interactive operation is supported relatively poor and fail safe is lower.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of method and server of the realization server end browser that overcomes the problems referred to above or address the above problem at least in part are provided.
The invention provides a kind of method that realizes the server end browser, comprise: receive the startup request that client browser sends, start a server end browser corresponding with client browser at server end, and send the startup success response to client browser; Obtain information and the input focus positional information of the user customer browser input of client browser transmission, according to information and input focus positional information the server end browser is carried out respective handling, and operation result information is sent to client browser; Wherein, starting a server end browser corresponding with client browser at server end specifically comprises: start a server end browser process corresponding with client browser at server end, and start a server end browser page corresponding with the server end browser process in buffer memory.
The present invention also provides a kind of server, comprise: start unit, be suitable for receiving the startup request that client browser sends by the client interactive interface, start a server end browser corresponding with client browser, and send the startup success response by the client interactive interface to client browser; Processing unit, be suitable for obtaining by the client interactive interface information and the input focus positional information of the user customer browser input of client browser transmission, according to information and input focus positional information the server end browser is carried out respective handling, and operation result information sent to client browser, wherein, above-mentioned start unit is further adapted for: start a server end browser process corresponding with client browser at server end, and start a server end browser page corresponding with the server end browser process in buffer memory.
Beneficial effect of the present invention is as follows:
Technical scheme by means of the embodiment of the invention, after server end starts corresponding browser according to the request of client browser, the browser of server end carries out respective handling according to user's operation that client browser sends, and result sent to client browser, so that client browser shows, the present invention can effectively reduce the data processing load of client-side, at fast response time, in the few situation of traffic consumes, can also guarantee good rendering effect, support simultaneously all user's operations, alleviate the configuration requirement to the user terminal software and hardware, provide good online environment to the user, guaranteed user's Internet Security.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 is the server end display page of one embodiment of the invention and the schematic diagram of client browser display page;
Fig. 2 is the flow chart of method of the realization server end browser of one embodiment of the invention;
Fig. 3 is that client browser and the server end of one embodiment of the invention carries out mutual processing schematic diagram one;
Fig. 4 is that client browser and the server end of one embodiment of the invention carries out mutual processing schematic diagram two;
Fig. 5 is that the decision event type of one embodiment of the invention is the schematic diagram of browser event or webpage event;
Fig. 6 is the schematic diagram that carries out data compression and decompression when downloading of uploading of one embodiment of the invention;
Fig. 7 is the schematic diagram that the server end of one embodiment of the invention is cut apart the page;
Fig. 8 is the schematic diagram of the content blocks that shows of the client browser of one embodiment of the invention;
Fig. 9 is the structural representation of the server of one embodiment of the invention;
Figure 10 is the schematic diagram of the server end Long-distance Control client browser of one embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Poor in order to solve the client rendering effect that the high in the clouds kernel browser exists in the prior art, and relatively poor problem is supported in interactive operation, the invention provides a kind of server end browser implementation method and server, Fig. 1 is the server end display page of one embodiment of the invention and the schematic diagram of client browser display page, Figure 10 is the schematic diagram of the server end Long-distance Control client browser of one embodiment of the invention, such as Fig. 1, shown in 10, embodiment of the invention employing remote desktop technology realizes the browser (comprising: mobile browser and PC browser etc.) under the C/S framework, client is equivalent to a remote desktop control, come actual browser program or process on the Control Server (preferably, can be cloud server) by the remote desktop technology.Server according to the concrete condition of client (for example, resolution and user agent (UserAgent, referred to as UA), the cellphone information that comprises the user among the UA, such as mobile phone model etc.) start different browsers, the user comes browser corresponding on the Long-distance Control server by operated client, carry out various operations, comprise input URL, clickthrough, roll screen etc., and the browser of server end is processed after the operation that receives the user accordingly, and the result that will process returns to client with specific compressed format.In addition, the user is when browsing pages, may read webpage by roll screen up and down at a page, perhaps retreat into the page that certain had been read, at this moment, if do not use caching technology, will again show data transfer, be all can have a significant impact in response speed or on traffic consumes, therefore, the embodiment of the invention has adopted the client-cache technology to alleviate and address this problem.Present website and the crowd of online are growing, and when the Internet brought convenience to people, also user's rights and interests were damaged by variety of way in some website, thereby obtain individual interest.The technical scheme of the embodiment of the invention is in order to have improved the fail safe of browser, when the user accesses dangerous network address, server will be according to security strategy, problem to different threat user security is done different processing, makes the user in that need not to understand can secure internet connection under the prerequisite of any relevant knowledge.
Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, does not limit the present invention.
According to embodiments of the invention, a kind of server end browser implementation method is provided, Fig. 2 is the flow chart of method of the realization server end browser of one embodiment of the invention, as shown in Figure 2, comprises following processing according to the method for the realization server end browser of the embodiment of the invention:
Step 201 receives the startup request that client browser sends, and starts a server end browser corresponding with client browser at server end, and sends the startup success response to client browser;
Need to prove that the server end of the embodiment of the invention can be cloud server.
In the step 201; after the request that receives the client terminal start-up browser; server end need to start a real browser (client browser is the client of similar and a Long-distance Control); in embodiments of the present invention; this browser can be bound this client; can do not arrived by other client-access, can protect user's private data.
Preferably, in step 201, when server end starts a server end browser corresponding with client browser, at first need to start a server end browser process corresponding with client browser at server end, and in buffer memory, start a server end browser page corresponding with the server end browser process.
In embodiments of the present invention, start the user ID that can also carry client browser in the request.Server end can be stored in user data (comprising: browser collection folder data and/or browsing histories data) in the database according to above-mentioned user ID, and operates more corresponding user data in the new database according to the user that client browser sends.After server end receives user's logging request of client-side and logs in successfully, the server end browser process is obtained corresponding user data according to user ID from database, and user data is carried in the buffer memory in the corresponding server end browser page.
In actual applications, some user data relates to user's personal property safety and can not store at server end, and the user data that has need to be stored at server end for user-friendly, for example, and the out of Memory such as collection, browsing histories.Server end becomes a table with these data maintenances of each user, and password that simultaneously can user's login is encrypted.When certain user started client browser, service end was with user's ID(or out of Memory) as key, get access to corresponding user data, and be loaded on the current browser for this user's startup of server end.In addition, thereby the user can carry out certain operations these data are managed, server end is made corresponding processing according to user's operation requests, final updated on the tables of data of server end respective user, the operation requests of completing user.
Step 202, obtain information and the input focus positional information of the user customer browser input of client browser transmission, according to information and input focus positional information the server end browser is carried out respective handling, and operation result information is sent to client browser.
In step 202, browser end need to obtain the information of the user customer browser input of client browser transmission, wherein, the information of user customer browser input comprises: Word message, the user customer browser of user customer browser input carries out the side-play amount of roll screen operation or input focus positional information that the user customer browser carries out browser event operation or webpage event action etc.
Server end obtains information and the input focus positional information of the user customer browser input of client browser transmission, according to information and input focus positional information the server end browser is carried out respective handling, and operation result information is sent to client browser.Subsequently, the operation result information that client browser shows and/or the execution server end returns.
Processing procedure when the below carries out various operation to the user to server end is elaborated.
Fig. 3 is that client browser and the server end of one embodiment of the invention carries out mutual processing schematic diagram one, Fig. 4 is that client browser and the server end of one embodiment of the invention carries out mutual processing schematic diagram two, as shown in Figure 3 and Figure 4, comprise alternately following several operation according to the client browser of the embodiment of the invention and server end:
One, input
Server end need to obtain the Word message of the user customer browser input that client browser sends and the input focus positional information of inputting word information; Subsequently, go out input frame corresponding on the server end browser according to the input focus positional information calculation, information is inserted data frame, and to the client browser feedback response information, wherein, carry in the response message and input successfully or displaying contents information that failed information and the client browser that carries when the inputting word information success need to upgrade.
In actual applications, server end is after the input message that receives the client browser transmission, can go out according to the positional information calculation that client browser sends corresponding input frame, and the input message that client browser is submitted to is filled up in the input frame displaying contents that returns at last response corresponding to client (success or error code) and need to upgrade.
Two, roll screen operation
The user customer browser that server end obtains the client browser transmission carries out the side-play amount that roll screen operates; And calculate page side-play amount according to the side-play amount of roll screen operation, and determine the displaying contents information that the client browser needs upgrade according to page side-play amount, and to the client browser feedback response information, wherein, carry the displaying contents information that client browser need to upgrade in the response message.
When calculating page side-play amount, if d The x roll screen+ x+ browser width〉pagewidth, then d The x page=pagewidth-(x+ browser width), otherwise, d The x page=d The x roll screen, wherein, d The x roll screenThe user who submits to for client browser carries out the side-play amount of the x axle of roll screen operation, and x is the x axial coordinate of page current location; If d The y roll screen+ y+ browser height〉page height, then d The y page=page height-(x+ browser height), otherwise, d The y page=d The y roll screen, wherein, d The y roll screenThe user who submits to for client browser carries out the side-play amount of the y axle of roll screen operation, and y is the y axial coordinate of page current location.
For example, skew such as the client submission: dx=50, dy=100, the current position of the page is x=0, y=100, pagewidth page_width=500, height page_height=1000, the width device_width=480 of browser, height device_height=800, in order to guarantee to be offset the indication range that rear browser can not exceed the page, final side-play amount is dx=20, dy=100.
Three, event
In embodiments of the present invention, event is divided into two kinds: browser event and webpage event, wherein, browser event: the alternative events that refer to the client and server browser, comprise newly-built Shipping Options Page, close Shipping Options Page, switch labels page or leaf, management collection, destruction operation etc., these events are finished at button or menu that the client click browser shows by the user, and client browser is uploaded to server end with the positional information of clicking, and finishes subsequent treatment by the server end browser.Webpage event: refer to that client passes through the alternative events between server end browser and the webpage.The user can click the controls such as top different link, picture, button when browsing page, the communications such as the position that client browser is clicked according to the user, time are to server end, and makes corresponding processing according to the response of server end.
Particularly, server end obtains the input focus positional information that the user customer browser is clicked from client browser, and is browser event or webpage event according to input focus positional information decision event type; Subsequently, carry out corresponding the processing according to event type, and to the client browser feedback response information, wherein, the displaying contents information of the client browser that carries when carrying the successful or failed information of server-side processes in the response message and processing successfully.
Fig. 5 is that the decision event type of an embodiment of the invention is the schematic diagram of browser event or webpage event, as shown in Figure 5, after receiving click corresponding to client, server end goes out the position of corresponding with service end browser according to the positional information calculation of submitting to, judge the type of this event: if the input focus position on browser frames, determines then that event type is browser event; If the input focus position in the webpage scope, determines then that event type is the webpage event.
Be in the situation of browser event at event type, server end is directly carried out corresponding operating according to browser event at the server end browser; That is to say that server end is processed accordingly according to browser event, need not to submit event to webpage, after event handling is finished, return to response corresponding to client.For example, newly-built Shipping Options Page, the service end browser frontly judges first whether Shipping Options Page reaches the upper limit newly-built, if reach, then directly return the unsuccessful response of client, otherwise newly-built Shipping Options Page also shows this page or leaf, and the result is returned to client.
Be in the situation of webpage event at event type, server end is carried out the webpage event action according to user's webpage event action at the server end browser, carries out alternately input message being transparent to corresponding Website server with the Website server of response.In actual applications, the server end browser can be simulated once real click event, triggers different responses by different click objects (control).If the corresponding page is then opened in a link; If a button then carries out the submission of sheet operation.After response was returned in the website, server end returned to client after response is processed, and can show corresponding content.
Four, download and upload
When the user needed uploading data, server end need to upload to the data of webpage from the client browser download user, and with this data upload to corresponding Website server; When the user needed downloading data, server end was according to the data of request from corresponding Website server download user needs from page download of client browser, and with this data upload to client browser.
That is to say that when client browser carried out upload operation, server end uploaded to service end with file by FTP or proprietary protocol first, finally finished to the operation of website upload file by server end, and return to response corresponding to client.When client browser carried out down operation, server end downloaded files into first this locality, finally downloaded to client by FTP or proprietary protocol.
Fig. 6 is the schematic diagram that carries out data compression and decompression when downloading of uploading of one embodiment of the invention, as shown in Figure 6, uploading or during download file, server end can carry out the data compression of gzip or other algorithm, make the data of transmission as far as possible little, thereby namely reduced flow speed is provided again, at server end and client browser corresponding compression and decompression function is arranged, guarantee that file is compressed format just in transmission course, and be the original form of non-compression when being embodied in client browser or website.
Five, close browser
When server end receives the turn-off request that client browser sends, closing server end browser, and send to client browser and to close success response; Perhaps, server end initiatively sends turn-off request to client browser, if do not receive in the given time the response message that client browser returns, and autoshutdown server end browser then.
In actual applications, during closing server end browser, server end need to storage specific data (for example, user's favorites data, browsing histories data etc.), then remove user profile, cookie and buffer memory after, could closing server the end browser.
Need to prove, in aforesaid operations, what server end finally returned the response of client-requested is to show relevant data, and concrete mode has two kinds: a kind of is the data of only returning in the current indication range, when user's roll screen, return corresponding data according to skew; Another kind is after returning the data of current demonstration, and when the user browsed, the data that will exceed in the indication range also sent.
In addition, in actual applications, the user when browsing web sites, input sometimes personal information in order to log in, the operation such as payment, this safety problem just occurred.In embodiments of the present invention, in order to guarantee the safety of client browser, server end can be isolated data between the user, particularly, for different user, server end can create a browser instances for each user, a browser instances can be opened a plurality of windows, in order to guarantee the fail safe of user profile, the corresponding browser instances of user can carry out data isolation, and when the user withdraws from the browser instances of correspondence is destroyed.In addition, server end is not stored the privacy of user data, and server end is not stored the personal information that the user submits to, even effective like this when preventing hacker's successful attack invasion server, can't get access to user's personal information yet.
In embodiments of the present invention, browse the response problem of browsing the page or part in order to solve the user, when a page of the new request of client, by server end this page is divided into fritter, fritter after will cutting apart carries out mark key, and calculating the HASH value hash_value of this blocks of data, the data of key and hash_value and this piece send to client in the lump.Client is after receiving data, data are carried out buffer memory, when browsing again this piece page next time, only need to send key and hash_value to server end to judge whether this blocks of data is still effective, judge namely whether data (passing through hash_value) corresponding to the corresponding page piece of this piece page and current server end (key) are identical, needing to determine whether data retransmission.If certain piece changes, that blocks of data that then only needs transmission to change.Wherein, the key value is comprised of URL, horizontal original position and vertical original position.
That is to say that in embodiments of the present invention, above-mentioned displaying contents information comprises: displaying contents is carried out behind the piecemeal one or more show data, show key value that data are corresponding and the cryptographic Hash corresponding with each piece demonstration data with each piece.
Each piece that browser end receives the composition displaying contents of client browser transmission shows the corresponding key value of data and cryptographic Hash; And judge that the key value shows with each piece of the corresponding displaying contents of server end browser whether the corresponding key value of data is identical with cryptographic Hash with cryptographic Hash, if different, then up-to-date demonstration data and corresponding key value and cryptographic Hash are sent to client browser.
Fig. 7 is the schematic diagram that the server end of one embodiment of the invention is cut apart the page, Fig. 8 is the schematic diagram of the content blocks that shows of the client browser of one embodiment of the invention, as shown in Figure 7 and Figure 8, Fig. 7 has represented the page dividing processing that server end is done webpage, and goes out key and the hash_value value of each piece according to information calculations such as url, deviation posts; Fig. 8 has represented that client browser is current and has browsed piece www.test.com.cn_0_0, www.test.com.cn_0_240 that this page covers to www.test.com.cn_240_640 that client browser carries out buffer memory with the data of these pieces take piece as unit.When the user browses the content of current region again, only key and the hash_value value of the piece that covers need to be passed to server end, judge whether and need to the data of some piece be retransmitted by server.
In order to guarantee user's network security, in embodiments of the present invention, server end also is provided with security strategy, mainly is divided into the isolation of page virus document, wooden horse file checking and malice network address and filters.
Wherein, the virus document isolation: current computer virus transmits by the Internet mostly, server end can access network security firm virus base, can detect fast virus document, and isolate timely, prevent that virus is transferred to subscription client, effectively blocked viral transmission.
The wooden horse file checking: have now a lot of websites by malice hang up the wooden horse file, some personal information of user can be by these wooden horse file acquisitions, and send to the owner of wooden horse, thereby have caused the leakage of user profile.Server end is checking and killing Trojan effectively, guarantees user's personal data safety.
The malice network address is filtered: server end is helped the character that the user judges network address, and is given the user certain information by safe network address storehouse and the malice network address storehouse of some well-known network security companies of access, guarantees user's personal interests.To the webpage of malicious code is arranged, server end is by guaranteeing the network security of server end with security protection software or other modes.
In sum, the technical scheme of the embodiment of the invention is at fast response time, in the few situation of traffic consumes, can also guarantee good rendering effect, supports simultaneously all user's operations, provides good online environment to the user, guarantees user's Internet Security.
According to embodiments of the invention, a kind of server is provided, need to prove that the server of the embodiment of the invention can be cloud server.Fig. 9 is the structural representation of the server of one embodiment of the invention, as shown in Figure 9, comprises according to the server of the embodiment of the invention: start unit 90 and processing unit 92 below are described in detail the modules of the embodiment of the invention.
Start unit 90, be suitable for receiving the startup request that client browser sends by the client interactive interface, start a server end browser corresponding with client browser, and send the startup success response by the client interactive interface to client browser;
After the request that receives the client terminal start-up browser; start unit 90 needs to start a real browser (client browser is the client of similar and a Long-distance Control); in embodiments of the present invention; this browser can be bound this client; can do not arrived by other client-access, can protect user's private data.
Preferably, when start unit 90 starts a server end browser corresponding with client browser at server end, at first need to start a server end browser process corresponding with client browser at server end, and in buffer memory, start a server end browser page corresponding with the server end browser process.
In embodiments of the present invention, start the user ID that can also carry client browser in the request.The storage of subscriber data module of server end can be stored in user data (comprising: browser collection folder data and/or browsing histories data) in the database according to above-mentioned user ID, and the user that the user data update module of server end sends according to client browser operates more corresponding user data in the new database.
In the user's logging request that receives client-side and after logging in successfully, start unit 90 obtains corresponding user data according to user ID from database, and user data is carried in the buffer memory in the corresponding server end browser page.
In actual applications, some user data relates to user's personal property safety and can not store at server end, and the user data that has need to be stored at server end for user-friendly, for example, and the out of Memory such as collection, browsing histories.The storage of subscriber data module becomes a table with these data maintenances of each user, and password that simultaneously can user's login is encrypted.When certain user started client browser, start unit 90 was with user's ID(or out of Memory) as key, get access to corresponding user data, and be loaded on the current browser for this user's startup of server end.In addition, thereby the user can carry out certain operations these data are managed, the user data update module is made corresponding processing according to user's operation requests, final updated on the tables of data of server end respective user, the operation requests of completing user.
Processing unit 92, be suitable for obtaining by the client interactive interface information and the input focus positional information of the user customer browser input of client browser transmission, according to information and input focus positional information the server end browser is carried out respective handling, and operation result information is sent to client browser.
Processing unit 92 need to obtain the information of the user customer browser input of client browser transmission, wherein, the information of user customer browser input comprises: Word message, the user customer browser of user customer browser input carries out the side-play amount of roll screen operation or input focus positional information that the user customer browser carries out browser event operation or webpage event action etc.
Processing unit 92 obtains information and the input focus positional information of the user customer browser input of client browser transmission, according to information and input focus positional information the server end browser is carried out respective handling, and operation result information is sent to client browser.Subsequently, the operation result information that client browser shows and/or the execution server end returns.
Processing procedure when the below carries out various operation to the user to server end is elaborated.
Fig. 3 is that client browser and the server end of one embodiment of the invention carries out mutual processing schematic diagram one, Fig. 4 is that client browser and the server end of one embodiment of the invention carries out mutual processing schematic diagram two, as shown in Figure 3 and Figure 4, comprise alternately following several operation according to the client browser of the embodiment of the invention and server end:
One, input
Processing unit 92 need to obtain the Word message of the user customer browser input that client browser sends and the input focus positional information of inputting word information; Subsequently, go out input frame corresponding on the server end browser according to the input focus positional information calculation, information is inserted data frame, and to the client browser feedback response information, wherein, carry in the response message and input successfully or displaying contents information that failed information and the client browser that carries when the inputting word information success need to upgrade.
In actual applications, processing unit 92 is after the input message that receives the client browser transmission, can go out according to the positional information calculation that client browser sends corresponding input frame, and the input message that client browser is submitted to is filled up in the input frame displaying contents that returns at last response corresponding to client (success or error code) and need to upgrade.
Two, roll screen operation
The user customer browser that processing unit 92 obtains the client browser transmission carries out the side-play amount that roll screen operates; And calculate page side-play amount according to the side-play amount of roll screen operation, determine the displaying contents information that the client browser needs upgrade according to page side-play amount subsequently, and to the client browser feedback response information, wherein, carry the displaying contents information that client browser need to upgrade in the response message.
When calculating page side-play amount, if d The x roll screen+ x+ browser width〉pagewidth, then d The x page=pagewidth-(x+ browser width), otherwise, d The x page=d The x roll screen, wherein, d The x roll screenThe user who submits to for client browser carries out the side-play amount of the x axle of roll screen operation, and x is the x axial coordinate of page current location; If d The y roll screen+ y+ browser height〉page height, then d The y page=page height-(x+ browser height), otherwise, d The y page=d The y roll screen, wherein, d The y roll screenThe user who submits to for client browser carries out the side-play amount of the y axle of roll screen operation, and y is the y axial coordinate of page current location.
For example, skew such as the client submission: dx=50, dy=100, the current position of the page is x=0, y=100, pagewidth page_width=500, height page_height=1000, the width device_width=480 of browser, height device_height=800, in order to guarantee to be offset the indication range that rear browser can not exceed the page, final side-play amount is dx=20, dy=100.
Three, event
In embodiments of the present invention, event is divided into two kinds: browser event and webpage event, wherein, browser event: the alternative events that refer to the client and server browser, comprise newly-built Shipping Options Page, close Shipping Options Page, switch labels page or leaf, management collection, destruction operation etc., these events are finished at button or menu that the client click browser shows by the user, and client browser is uploaded to server end with the positional information of clicking, and finishes subsequent treatment by the server end browser.Webpage event: refer to that client passes through the alternative events between server end browser and the webpage.The user can click the controls such as top different link, picture, button when browsing page, the communications such as the position that client browser is clicked according to the user, time are to server end, and makes corresponding processing according to the response of server end.
Particularly, processing unit 92 obtains the input focus positional information that the user customer browser is clicked from client browser, and is browser event or webpage event according to input focus positional information decision event type; Subsequently, carry out corresponding the processing according to event type, and to the client browser feedback response information, wherein, the displaying contents information of the client browser that carries when carrying the successful or failed information of server-side processes in the response message and processing successfully.
Fig. 5 is that the decision event type of one embodiment of the invention is the schematic diagram of browser event or webpage event, as shown in Figure 5, after receiving click corresponding to client, processing unit 92 goes out the position of corresponding with service end browser according to the positional information calculation of submitting to, judge the type of this event: if the input focus position on browser frames, determines then that event type is browser event; If the input focus position in the webpage scope, determines then that event type is the webpage event.
Be in the situation of browser event at event type, processing unit 92 is directly carried out corresponding operating according to browser event at the server end browser; That is to say that processing unit 92 is processed accordingly according to browser event, need not to submit event to webpage, after event handling is finished, return to response corresponding to client.For example, newly-built Shipping Options Page, processing unit 92 frontly judges first whether Shipping Options Page reaches the upper limit newly-built, if reach, then directly return the unsuccessful response of client, otherwise newly-built Shipping Options Page also shows this page or leaf, and the result is returned to client.
Be in the situation of webpage event at event type, processing unit 92 is carried out the webpage event action according to user's webpage event action at the server end browser, carries out alternately input message being transparent to corresponding Website server with the Website server of response.In actual applications, processing unit 92 can be simulated once real click event, triggers different responses by different click objects (control).If the corresponding page is then opened in a link; If a button then carries out the submission of sheet operation.After response was returned in the website, processing unit 92 returned to client after response is processed, and can show corresponding content.
Four, download and upload
When the user needed uploading data, processing unit 92 need to upload to the data of webpage from the client browser download user, and with this data upload to corresponding Website server; When the user needed downloading data, processing unit 92 was according to the data of request from corresponding Website server download user needs from page download of client browser, and with this data upload to client browser.
That is to say that when client browser carried out upload operation, processing unit 92 uploaded to service end with file by FTP or proprietary protocol first, finally finished to the operation of website upload file by server end, and return to response corresponding to client.When client browser carried out down operation, processing unit 92 downloaded files into first this locality, finally downloaded to client by FTP or proprietary protocol.
Fig. 6 is the schematic diagram that carries out data compression and decompression when downloading of uploading of one embodiment of the invention, as shown in Figure 6, uploading or during download file, processing unit 92 can carry out the data compression of gzip or other algorithm, make the data of transmission as far as possible little, thereby namely reduced flow speed is provided again, at server end and client browser corresponding compression and decompression function is arranged, guarantee that file is compressed format just in transmission course, and be the original form of non-compression when being embodied in client browser or website.
Five, close browser
When the closing module of server end receives the turn-off request that client browser sends, closing server end browser, and send to client browser and to close success response; Perhaps, closing module initiatively sends turn-off request to client browser, if do not receive in the given time the response message that client browser returns, and autoshutdown server end browser then.
In actual applications, during closing server end browser, closing module need to storage specific data (for example, user's favorites data, browsing histories data etc.), then remove user profile, cookie and buffer memory after, could closing server the end browser.
Need to prove, in aforesaid operations, what the response of 92 pairs of client-requested of processing unit was finally returned is to show relevant data, and concrete mode has two kinds: a kind of is the data of only returning in the current indication range, when user's roll screen, return corresponding data according to skew; Another kind is after returning the data of current demonstration, and when the user browsed, the data that will exceed in the indication range also sent.
In addition, in actual applications, the user when browsing web sites, input sometimes personal information in order to log in, the operation such as payment, this safety problem just occurred.In embodiments of the present invention, in order to guarantee the safety of client browser, the meeting of server end is isolated data between the user, particularly, for different user, server end can create a browser instances for each user, a browser instances can be opened a plurality of windows, in order to guarantee the fail safe of user profile, the corresponding browser instances of user can carry out data isolation, and when the user withdraws from the browser instances of correspondence is destroyed.In addition, server end is not stored the privacy of user data, and server end is not stored the personal information that the user submits to, even effective like this when preventing hacker's successful attack invasion server, can't get access to user's personal information yet.
In embodiments of the present invention, browse the response problem of browsing the page or part in order to solve the user, when a page of the new request of client, by processing unit 92 this page is divided into fritter, fritter after will cutting apart carries out mark key, and calculating the HASH value hash_value of this blocks of data, the data of key and hash_value and this piece send to client in the lump.Client is after receiving data, data are carried out buffer memory, when browsing again this piece page next time, only need to send key and hash_value to server end to judge whether this blocks of data is still effective, judge namely whether data (passing through hash_value) corresponding to the corresponding page piece of this piece page and current server end (key) are identical, needing to determine whether data retransmission.If certain piece changes, that blocks of data that then only needs transmission to change.Wherein, the key value is comprised of URL, horizontal original position and vertical original position.
That is to say that in embodiments of the present invention, above-mentioned displaying contents information comprises: displaying contents is carried out behind the piecemeal one or more show data, show key value that data are corresponding and the cryptographic Hash corresponding with each piece demonstration data with each piece.
Each piece that processing unit 92 receives the composition displaying contents of client browser transmission shows the corresponding key value of data and cryptographic Hash; And judge that the key value shows with each piece of the corresponding displaying contents of server end browser whether the corresponding key value of data is identical with cryptographic Hash with cryptographic Hash, if different, then up-to-date demonstration data and corresponding key value and cryptographic Hash are sent to client browser.
Fig. 7 is the schematic diagram that the server end of one embodiment of the invention is cut apart the page, Fig. 8 is the schematic diagram of the content blocks that shows of the client browser of one embodiment of the invention, as shown in Figure 7 and Figure 8, Fig. 7 has represented the page dividing processing that server end is done webpage, and goes out key and the hash_value value of each piece according to information calculations such as url, deviation posts; Fig. 8 has represented that client browser is current and has browsed piece www.test.com.cn_0_0, www.test.com.cn_0_240 that this page covers to www.test.com.cn_240_640 that client browser carries out buffer memory with the data of these pieces take piece as unit.When the user browses the content of current region again, only key and the hash_value value of the piece that covers need to be passed to server end, judge whether and need to the data of some piece be retransmitted by server.
In order to guarantee user's network security, in embodiments of the present invention, also be provided with filtering module, virus module and wooden horse module in the processing unit 92, wherein, filtering module, being suitable at event type is in the situation of webpage event, and the malice network address is filtered.Virus module is suitable for that the data that send to client browser are carried out virus and detects, and detected virus document is isolated; The wooden horse module is suitable for the data that send to client browser are carried out the wooden horse killing.
Particularly, the virus document isolation: current computer virus transmits by the Internet mostly, server end can access network security firm virus base, can detect fast virus document, and isolate timely, prevent that virus is transferred to subscription client, effectively blocked viral transmission.
The wooden horse file checking: have now a lot of websites by malice hang up the wooden horse file, some personal information of user can be by these wooden horse file acquisitions, and send to the owner of wooden horse, thereby have caused the leakage of user profile.Server end is checking and killing Trojan effectively, guarantees user's personal data safety.
The malice network address is filtered: server end is helped the character that the user judges network address, and is given the user certain information by safe network address storehouse and the malice network address storehouse of some well-known network security companies of access, guarantees user's personal interests.To the webpage of malicious code is arranged, server end is by guaranteeing the network security of server end with security protection software or other modes.
In sum, the technical scheme of the embodiment of the invention is at fast response time, in the few situation of traffic consumes, can also guarantee good rendering effect, supports simultaneously all user's operations, provides good online environment to the user, guarantees user's Internet Security.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the server of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.
Herein disclosed is A1, a kind of method that realizes the server end browser, comprise: receive the startup request that client browser sends, start a server end browser corresponding with described client browser at described server end, and send the startup success response to described client browser; Obtain the user of described client browser transmission to information and the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser; Wherein, starting a server end browser corresponding with described client browser at described server end specifically comprises: start a server end browser process corresponding with described client browser at described server end, and start a server end browser page corresponding with described server end browser process in buffer memory.A2, such as the described method of A1, it is characterized in that described method further comprises: receive the turn-off request that described client browser sends, close described server end browser, and send to described client browser and to close success response; Perhaps, send turn-off request to described client browser, if do not receive in the given time the response message that described client browser returns, the described server end browser of autoshutdown then.A3, such as each described method among the A1 to A2, it is characterized in that described method further comprises: the user ID that carries described client browser in the described startup request; According to user ID with storage of subscriber data in database, wherein, described user data comprises: browser collection folder data and/or browsing histories data; The user who sends according to described client browser operates corresponding user data in the described database of renewal.A4, such as each described method among the A1 to A3, it is characterized in that, after described server end starts a server end browser corresponding with described client browser, described method further comprises: in the user's logging request that receives client-side and after logging in successfully, described server end browser process is obtained corresponding user data according to described user ID from described database, and described user data is carried in the described buffer memory in the corresponding server end browser page.A5, such as each described method among the A1 to A4, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser further comprise: obtain user that described client browser sends to the input focus positional information of Word message and the described Word message of input of described client browser input; Described server end goes out input frame corresponding on described server end browser according to described input focus positional information calculation, described information is inserted described data frame, and to described client browser feedback response information, wherein, carry in the described response message and input successfully or displaying contents information that failed information and the described client browser that carries when the inputting word information success need to upgrade.A6, such as each described method among the A1 to A5, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser further comprise: obtain user that described client browser sends carries out the roll screen operation to described client browser side-play amount; Described server end calculates page side-play amount according to the side-play amount of described roll screen operation, and determine the displaying contents information that described client browser needs upgrade according to described page side-play amount, and to described client browser feedback response information, wherein, carry the displaying contents information that described client browser need to upgrade in the described response message.A7, such as each described method among the A1 to A7, it is characterized in that described server end calculates page side-play amount according to the side-play amount of described roll screen operation and further comprises: if d The x roll screen+ x+ browser width〉pagewidth, then d The x page=pagewidth-(x+ browser width), otherwise, d The x page=d The x roll screen, wherein, d The x roll screenThe user who submits to for described client browser carries out the side-play amount of the x axle of roll screen operation, and x is the x axial coordinate of page current location; If and/or d The y roll screen+ y+ browser height〉page height, then d The y page=page height-(x+ browser height), otherwise, d The y page=d The y roll screen, wherein, d y Roll screenThe user who submits to for described client browser carries out the side-play amount of the y axle of roll screen operation, and y is the y axial coordinate of page current location.A8, such as each described method among the A1 to A7, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser further comprise: obtain the input focus positional information that the user clicks described client browser from described client browser, and according to described input focus positional information decision event type, wherein, described event type comprises: browser event, or webpage event; Carry out corresponding the processing according to described event type, and to described client browser feedback response information, wherein, carry the success of described server-side processes or failed information in the described response message and the displaying contents information of the described client browser that carries when processing successfully.A9, such as each described method among the A1 to A8, it is characterized in that, specifically comprise according to described input focus positional information decision event type: if the input focus position on browser frames, determines then that event type is browser event; If the input focus position in the webpage scope, determines then that event type is the webpage event; Carrying out corresponding processing according to described event type further comprises: be in the situation of browser event at described event type, described server end is directly carried out corresponding operating according to described browser event at described server end browser; Be in the situation of webpage event at described event type, described server end is according to user's webpage event action, carry out described webpage event action at described server end browser, carry out alternately input message being transparent to corresponding Website server with the Website server that responds.A10, such as each described method among the A1 to A9, it is characterized in that the operation of described browser event comprises: newly-built Shipping Options Page, close Shipping Options Page, switch labels page or leaf, management collection or destruction operation; Described webpage event action comprises: to the operation of the connection on the webpage, picture or button.A11, such as each described method among the A1 to A10, it is characterized in that described displaying contents information comprises: displaying contents is carried out behind the piecemeal one or more show data, show key value that data are corresponding and the cryptographic Hash corresponding with each piece demonstration data with each piece.A12, such as each described method among the A1 to A11, it is characterized in that described method further comprises: each piece that receives the composition displaying contents that described client browser sends shows the corresponding key value of data and cryptographic Hash; Judge that described key value shows with each piece of the corresponding displaying contents of described server end browser whether the corresponding key value of data is identical with cryptographic Hash with described cryptographic Hash, if different, then up-to-date demonstration data and corresponding key value and cryptographic Hash are sent to described client browser.A13, such as each described method among the A1 to A12, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information sent to described client browser further comprise: need to upload to the data of webpage from described client browser download user, and with this data upload to corresponding Website server; According to the data of request from corresponding Website server download user needs from page download of described client browser, and with this data upload to described client browser.A14, such as each described method among the A1 to A13, it is characterized in that described method further comprises: be in the situation of webpage event at described event type, the malice network address is filtered.A15, such as each described method among the A1 to A14, it is characterized in that described method further comprises: the data that send to described client browser are carried out virus detect, detected virus document is isolated; The data that send to described client browser are carried out the wooden horse killing.
Herein disclosed is B16, a kind of server, comprise: start unit, be suitable for receiving the startup request that client browser sends by the client interactive interface, start a server end browser corresponding with described client browser, and send the startup success response by described client interactive interface to described client browser; Processing unit, be suitable for obtaining the user of described client browser transmission to information and the input focus positional information of described client browser input by described client interactive interface, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser; Wherein, described start unit is further adapted for: start a server end browser process corresponding with described client browser at described server end, and start a server end browser page corresponding with described server end browser process in buffer memory.B17, such as the described server of B16, it is characterized in that, described server further comprises: closing module, be suitable for receiving the turn-off request that described client browser sends by described client interactive interface, close described server end browser, and send to described client browser by described client interactive interface and to close success response, perhaps, send turn-off request to described client browser, if do not receive in the given time the response message that described client browser returns, the described server end browser of autoshutdown then.B18, such as each described server among the claim B16 to B17, it is characterized in that, carry the user ID of described client browser in the described startup request; Described server further comprises: the storage of subscriber data module, be suitable for according to user ID with storage of subscriber data in database, wherein, described user data comprises: browser collection folder data and/or browsing histories data; The user data update module is suitable for operating corresponding user data in the described database of renewal according to the user that described client browser sends.B19, such as each described server among the B16 to B18, it is characterized in that, described start unit is further adapted for: after receiving user's logging request of client-side by described client interactive interface and logging in successfully, by described server end browser process, from described database, obtain corresponding user data according to described user ID, and described user data is carried in the described buffer memory in the corresponding server end browser page.B20, such as each described server among the B16 to B19, it is characterized in that described processing unit is further adapted for: obtain the user of described client browser transmission by described client interactive interface to the input focus positional information of Word message and the described Word message of input of described client browser input; Go out input frame corresponding on described server end browser according to described input focus positional information calculation, described information is inserted described data frame, and to described client browser feedback response information, wherein, carry in the described response message and input successfully or displaying contents information that failed information and the described client browser that carries when the inputting word information success need to upgrade.B21, such as each described server among the B16 to B20, it is characterized in that described processing unit is further adapted for: the user who obtains described client browser transmission by described client interactive interface carries out the side-play amount that roll screen operates to described client browser; Side-play amount according to described roll screen operation is calculated page side-play amount, and determine the displaying contents information that described client browser needs upgrade according to described page side-play amount, and to described client browser feedback response information, wherein, carry the displaying contents information that described client browser need to upgrade in the described response message.B22, such as each described server among the B16 to B21, it is characterized in that described processing unit is further adapted for: if d The x roll screen+ x+ browser width〉pagewidth, then determine d The x page=pagewidth-(x+ browser width), otherwise, d The x page=d The x roll screen, wherein, d The x roll screenThe user who submits to for described client browser carries out the side-play amount of the x axle of roll screen operation, and x is the x axial coordinate of page current location; If and/or d The y roll screen+ y+ browser height〉page height, then determine d The y page=page height-(x+ browser height), otherwise, d The y page=d The y roll screen, wherein, d The y roll screenThe user who submits to for described client browser carries out the side-play amount of the y axle of roll screen operation, and y is the y axial coordinate of page current location.B23, such as each described server among the B16 to B22, it is characterized in that, described processing unit is further adapted for: obtain the input focus positional information that the user clicks described client browser by described client interactive interface from described client browser, and according to described input focus positional information decision event type, wherein, described event type comprises: browser event or webpage event; Carry out corresponding the processing according to described event type, and by described client interactive interface to described client browser feedback response information, wherein, carry the success of described server-side processes or failed information in the described response message and the displaying contents information of the described client browser that carries when processing successfully.B24, such as each described server among the B16 to B23, it is characterized in that described processing unit is further adapted for: if the input focus position on browser frames, determines then that event type is browser event; If the input focus position in the webpage scope, determines then that event type is the webpage event; Be in the situation of browser event at described event type, directly carry out corresponding operating according to described browser event at described server end browser; Be in the situation of webpage event at described event type, webpage event action according to the user, carry out described webpage event action at described server end browser, Website server by Website server interactive interface and response carries out alternately operation information being transparent to corresponding Website server.B25, such as each described server among the B16 to B24, it is characterized in that the operation of described browser event comprises: newly-built Shipping Options Page, close Shipping Options Page, switch labels page or leaf, management collection or destruction operation; Described webpage event action comprises: to the operation of the connection on the webpage, picture or button.B26, such as each described server among the B16 to B25, it is characterized in that described displaying contents information comprises: displaying contents is carried out behind the piecemeal one or more show data, show key value that data are corresponding and the cryptographic Hash corresponding with each piece demonstration data with each piece.B27, such as each described server among the B16 to B26, it is characterized in that described processing unit further comprises: each piece that receives the composition displaying contents that described client browser sends shows the corresponding key value of data and cryptographic Hash; Judge that described key value shows with each piece of the corresponding displaying contents of described server end browser whether the corresponding key value of data is identical with cryptographic Hash with described cryptographic Hash, if different, then up-to-date demonstration data and corresponding key value and cryptographic Hash are sent to described client browser.B28, such as each described server among the B16 to B27, it is characterized in that described processing unit is further adapted for: need to upload to the data of webpage from described client browser download user, and with this data upload to corresponding Website server; Need to upload to the data of webpage from described client browser download user, and with this data upload to corresponding Website server.B29, such as each described server among the B16 to B28, it is characterized in that described server further comprises: filtering module, being suitable at described event type is in the situation of webpage event, and the malice network address is filtered.B30, such as each described server among the B16 to B29, it is characterized in that described server further comprises: virus module, be suitable for that the data that send to described client browser are carried out virus and detect, detected virus document is isolated; The wooden horse module is suitable for the data that send to described client browser are carried out the wooden horse killing.

Claims (20)

1. method that realizes the server end browser comprises:
Receive the startup request that client browser sends, start a server end browser corresponding with described client browser at described server end, and send the startup success response to described client browser;
Obtain the user of described client browser transmission to information and the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser;
Wherein, starting a server end browser corresponding with described client browser at described server end specifically comprises:
Start a server end browser process corresponding with described client browser at described server end, and in buffer memory, start a server end browser page corresponding with described server end browser process.
2. the method for claim 1 is characterized in that, described method further comprises:
Receive the turn-off request that described client browser sends, close described server end browser, and close success response to described client browser transmission; Perhaps,
Send turn-off request to described client browser, if do not receive in the given time the response message that described client browser returns, the described server end browser of autoshutdown then.
3. such as each described method in the claim 1 to 2, it is characterized in that described method further comprises: the user ID that carries described client browser in the described startup request;
According to user ID with storage of subscriber data in database, wherein, described user data comprises: browser collection folder data and/or browsing histories data;
The user who sends according to described client browser operates corresponding user data in the described database of renewal.
4. such as each described method in the claims 1 to 3, it is characterized in that after described server end started a server end browser corresponding with described client browser, described method further comprised:
In the user's logging request that receives client-side and after logging in successfully, described server end browser process is obtained corresponding user data according to described user ID from described database, and described user data is carried in the described buffer memory in the corresponding server end browser page.
5. such as each described method in the claim 1 to 4, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser further comprises:
Obtain the user of described client browser transmission to the input focus positional information of Word message and the described Word message of input of described client browser input;
Described server end goes out input frame corresponding on described server end browser according to described input focus positional information calculation, described information is inserted described data frame, and to described client browser feedback response information, wherein, carry in the described response message and input successfully or displaying contents information that failed information and the described client browser that carries when the inputting word information success need to upgrade.
6. such as each described method in the claim 1 to 5, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser further comprises:
The user who obtains described client browser transmission carries out the side-play amount that roll screen operates to described client browser;
Described server end calculates page side-play amount according to the side-play amount of described roll screen operation, and determine the displaying contents information that described client browser needs upgrade according to described page side-play amount, and to described client browser feedback response information, wherein, carry the displaying contents information that described client browser need to upgrade in the described response message.
7. such as each described method in the claim 1 to 6, it is characterized in that described server end calculates page side-play amount according to the side-play amount of described roll screen operation and further comprises:
If d The x roll screen+ x+ browser width〉pagewidth, then d The x page=pagewidth-(x+ browser width), otherwise, d The x page=d The x roll screen, wherein, d The x roll screenThe user who submits to for described client browser carries out the side-play amount of the x axle of roll screen operation, and x is the x axial coordinate of page current location; And/or
If d The y roll screen+ y+ browser height〉page height, then d The y page=page height-(x+ browser height), otherwise, d The y page=d The y roll screen, wherein, d The y roll screenThe user who submits to for described client browser carries out the side-play amount of the y axle of roll screen operation, and y is the y axial coordinate of page current location.
8. such as each described method in the claim 1 to 7, it is characterized in that, obtain the user of described client browser transmission to information and/or the input focus positional information of described client browser input, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser further comprises:
Obtain the input focus positional information that the user clicks described client browser from described client browser, and according to described input focus positional information decision event type, wherein, described event type comprises: browser event or webpage event;
Carry out corresponding the processing according to described event type, and to described client browser feedback response information, wherein, carry the success of described server-side processes or failed information in the described response message and the displaying contents information of the described client browser that carries when processing successfully.
9. such as each described method in the claim 1 to 8, it is characterized in that, specifically comprise according to described input focus positional information decision event type:
If the input focus position on browser frames, determines then that event type is browser event;
If the input focus position in the webpage scope, determines then that event type is the webpage event;
Carrying out corresponding processing according to described event type further comprises:
Be in the situation of browser event at described event type, described server end is directly carried out corresponding operating according to described browser event at described server end browser;
Be in the situation of webpage event at described event type, described server end is according to user's webpage event action, carry out described webpage event action at described server end browser, carry out alternately input message being transparent to corresponding Website server with the Website server that responds.
10. such as each described method in the claim 1 to 9, it is characterized in that,
The operation of described browser event comprises: newly-built Shipping Options Page, close Shipping Options Page, switch labels page or leaf, management collection or destruction operation;
Described webpage event action comprises: to the operation of the connection on the webpage, picture or button.
11. a server comprises:
Start unit, be suitable for receiving the startup request that client browser sends by the client interactive interface, start a server end browser corresponding with described client browser, and send the startup success response by described client interactive interface to described client browser;
Processing unit, be suitable for obtaining the user of described client browser transmission to information and the input focus positional information of described client browser input by described client interactive interface, according to described information and described input focus positional information described server end browser is carried out respective handling, and operation result information is sent to described client browser;
Wherein, described start unit is further adapted for: start a server end browser process corresponding with described client browser at described server end, and start a server end browser page corresponding with described server end browser process in buffer memory.
12. server as claimed in claim 11 is characterized in that, described server further comprises:
Closing module, be suitable for receiving the turn-off request that described client browser sends by described client interactive interface, close described server end browser, and send to described client browser by described client interactive interface and to close success response, perhaps, send turn-off request to described client browser, if do not receive in the given time the response message that described client browser returns, the described server end browser of autoshutdown then.
13. such as each described server in the claim 11 to 12, it is characterized in that, carry the user ID of described client browser in the described startup request;
Described server further comprises:
The storage of subscriber data module, be suitable for according to user ID with storage of subscriber data in database, wherein, described user data comprises: browser collection folder data and/or browsing histories data;
The user data update module is suitable for operating corresponding user data in the described database of renewal according to the user that described client browser sends.
14. such as each described server in the claim 11 to 13, it is characterized in that, described start unit is further adapted for: after receiving user's logging request of client-side by described client interactive interface and logging in successfully, by described server end browser process, from described database, obtain corresponding user data according to described user ID, and described user data is carried in the described buffer memory in the corresponding server end browser page.
15. such as each described server in the claim 11 to 14, it is characterized in that described processing unit is further adapted for:
Obtain the user of described client browser transmission by described client interactive interface to the input focus positional information of Word message and the described Word message of input of described client browser input;
Go out input frame corresponding on described server end browser according to described input focus positional information calculation, described information is inserted described data frame, and to described client browser feedback response information, wherein, carry in the described response message and input successfully or displaying contents information that failed information and the described client browser that carries when the inputting word information success need to upgrade.
16. such as each described server in the claim 11 to 15, it is characterized in that described processing unit is further adapted for:
The user who obtains described client browser transmission by described client interactive interface carries out the side-play amount that roll screen operates to described client browser;
Side-play amount according to described roll screen operation is calculated page side-play amount, and determine the displaying contents information that described client browser needs upgrade according to described page side-play amount, and to described client browser feedback response information, wherein, carry the displaying contents information that described client browser need to upgrade in the described response message.
17. such as each described server in the claim 11 to 16, it is characterized in that described processing unit is further adapted for:
If d The x roll screen+ x+ browser width〉pagewidth, then determine d The x page=pagewidth-(x+ browser width), otherwise, d The x page=d The x roll screen, wherein, d The x roll screenThe user who submits to for described client browser carries out the side-play amount of the x axle of roll screen operation, and x is the x axial coordinate of page current location; And/or
If d The y roll screen+ y+ browser height〉page height, then determine d The y page=page height-(x+ browser height), otherwise, d The y page=d The y roll screen, wherein, d The y roll screenThe user who submits to for described client browser carries out the side-play amount of the y axle of roll screen operation, and y is the y axial coordinate of page current location.
18. such as each described server in the claim 11 to 17, it is characterized in that described processing unit is further adapted for:
Obtain the input focus positional information that the user clicks described client browser by described client interactive interface from described client browser, and according to described input focus positional information decision event type, wherein, described event type comprises: browser event or webpage event;
Carry out corresponding the processing according to described event type, and by described client interactive interface to described client browser feedback response information, wherein, carry the success of described server-side processes or failed information in the described response message and the displaying contents information of the described client browser that carries when processing successfully.
19. such as each described server in the claim 11 to 18, it is characterized in that described processing unit is further adapted for:
If the input focus position on browser frames, determines then that event type is browser event;
If the input focus position in the webpage scope, determines then that event type is the webpage event;
Be in the situation of browser event at described event type, directly carry out corresponding operating according to described browser event at described server end browser;
Be in the situation of webpage event at described event type, webpage event action according to the user, carry out described webpage event action at described server end browser, Website server by Website server interactive interface and response carries out alternately operation information being transparent to corresponding Website server.
20. such as each described server in the claim 11 to 19, it is characterized in that,
The operation of described browser event comprises: newly-built Shipping Options Page, close Shipping Options Page, switch labels page or leaf, management collection or destruction operation;
Described webpage event action comprises: to the operation of the connection on the webpage, picture or button.
CN201210447374.9A 2012-11-09 2012-11-09 A kind of method realizing server-side browser and server Active CN102917074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210447374.9A CN102917074B (en) 2012-11-09 2012-11-09 A kind of method realizing server-side browser and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210447374.9A CN102917074B (en) 2012-11-09 2012-11-09 A kind of method realizing server-side browser and server

Publications (2)

Publication Number Publication Date
CN102917074A true CN102917074A (en) 2013-02-06
CN102917074B CN102917074B (en) 2016-08-03

Family

ID=47615304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210447374.9A Active CN102917074B (en) 2012-11-09 2012-11-09 A kind of method realizing server-side browser and server

Country Status (1)

Country Link
CN (1) CN102917074B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544068A (en) * 2013-10-18 2014-01-29 北京奇虎科技有限公司 Process to process communication method and device for browsers and browser
CN104426863A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Page request method, page request device, transit server and terminal
WO2015196467A1 (en) * 2014-06-27 2015-12-30 Google Inc. Automated click type selection for content performance optimization
CN105516262A (en) * 2015-11-27 2016-04-20 深圳市酷士多网络科技有限公司 Remote control method and system of application program
WO2016112826A1 (en) * 2015-01-12 2016-07-21 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
CN105872102A (en) * 2016-06-06 2016-08-17 武汉理工大学 File uploading and downloading method
CN107529711A (en) * 2017-08-01 2018-01-02 杭州安恒信息技术有限公司 The display methods and device of Streaming Media
CN107959727A (en) * 2017-12-14 2018-04-24 腾讯科技(深圳)有限公司 The method and device communicated between webpage and client
CN108241703A (en) * 2016-12-27 2018-07-03 腾讯科技(深圳)有限公司 Web data transmission method and device
CN109474563A (en) * 2017-09-08 2019-03-15 阿里巴巴集团控股有限公司 Processing, providing method, client and the server of file stream
CN110430174A (en) * 2019-07-19 2019-11-08 上海易点时空网络有限公司 Multi-party communications method and device
CN111917833A (en) * 2020-07-10 2020-11-10 沈阳先进医疗设备技术孵化中心有限公司 Application method, device and system of client program in cloud environment
CN112100553A (en) * 2020-08-11 2020-12-18 深圳市拓邦软件技术有限公司 Webpage configuration method and device, electronic equipment and storage medium
CN112507259A (en) * 2020-12-15 2021-03-16 广州博冠信息科技有限公司 Webpage loading method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981705B (en) * 2012-11-09 2018-04-27 北京奇虎科技有限公司 Server-side browser implementation method and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178716A (en) * 2007-11-19 2008-05-14 优视动景(北京)技术服务有限公司 Method of micro-browsers processing JavaScript and micro-browsers thereof
CN101911075A (en) * 2008-01-14 2010-12-08 国际商业机器公司 Browser-based proxy server for customization and distribution of existing applications
CN102609522A (en) * 2012-02-09 2012-07-25 张士益 Integrated interaction control method and system of website information and client programs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178716A (en) * 2007-11-19 2008-05-14 优视动景(北京)技术服务有限公司 Method of micro-browsers processing JavaScript and micro-browsers thereof
CN101911075A (en) * 2008-01-14 2010-12-08 国际商业机器公司 Browser-based proxy server for customization and distribution of existing applications
CN102609522A (en) * 2012-02-09 2012-07-25 张士益 Integrated interaction control method and system of website information and client programs

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426863A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Page request method, page request device, transit server and terminal
CN104426863B (en) * 2013-08-27 2019-09-20 腾讯科技(深圳)有限公司 A kind of page request method, page request device, transfer server and terminal
CN103544068B (en) * 2013-10-18 2017-05-24 北京奇虎科技有限公司 Process to process communication method and device for browsers and browser
CN103544068A (en) * 2013-10-18 2014-01-29 北京奇虎科技有限公司 Process to process communication method and device for browsers and browser
AU2014399168B2 (en) * 2014-06-27 2018-11-29 Google Llc Automated click type selection for content performance optimization
CN106688215B (en) * 2014-06-27 2020-07-14 谷歌有限责任公司 Automatic click type selection for content performance optimization
CN106688215A (en) * 2014-06-27 2017-05-17 谷歌公司 Automated click type selection for content performance optimization
US9830062B2 (en) 2014-06-27 2017-11-28 Google Llc Automated click type selection for content performance optimization
CN106688215B8 (en) * 2014-06-27 2020-08-18 谷歌有限责任公司 Automatic click type selection for content performance optimization
WO2015196467A1 (en) * 2014-06-27 2015-12-30 Google Inc. Automated click type selection for content performance optimization
WO2016112826A1 (en) * 2015-01-12 2016-07-21 北京京东尚科信息技术有限公司 Method and system for increasing page loading rate
US10762159B2 (en) 2015-01-12 2020-09-01 Beijing Jingdong Shangke Information Technology Co., Ltd. Method and system for increasing page loading rate
CN105516262B (en) * 2015-11-27 2019-01-25 深圳市酷士多网络科技有限公司 Application program remote control method and system
CN105516262A (en) * 2015-11-27 2016-04-20 深圳市酷士多网络科技有限公司 Remote control method and system of application program
CN105872102B (en) * 2016-06-06 2018-12-18 武汉理工大学 A kind of File Upload and Download method
CN105872102A (en) * 2016-06-06 2016-08-17 武汉理工大学 File uploading and downloading method
CN108241703A (en) * 2016-12-27 2018-07-03 腾讯科技(深圳)有限公司 Web data transmission method and device
CN107529711A (en) * 2017-08-01 2018-01-02 杭州安恒信息技术有限公司 The display methods and device of Streaming Media
CN109474563A (en) * 2017-09-08 2019-03-15 阿里巴巴集团控股有限公司 Processing, providing method, client and the server of file stream
CN107959727A (en) * 2017-12-14 2018-04-24 腾讯科技(深圳)有限公司 The method and device communicated between webpage and client
CN110430174A (en) * 2019-07-19 2019-11-08 上海易点时空网络有限公司 Multi-party communications method and device
CN111917833A (en) * 2020-07-10 2020-11-10 沈阳先进医疗设备技术孵化中心有限公司 Application method, device and system of client program in cloud environment
CN111917833B (en) * 2020-07-10 2023-06-02 沈阳先进医疗设备技术孵化中心有限公司 Application method, device and system of client program in cloud environment
CN112100553A (en) * 2020-08-11 2020-12-18 深圳市拓邦软件技术有限公司 Webpage configuration method and device, electronic equipment and storage medium
CN112100553B (en) * 2020-08-11 2023-11-17 深圳市拓邦软件技术有限公司 Webpage configuration method and device, electronic equipment and storage medium
CN112507259A (en) * 2020-12-15 2021-03-16 广州博冠信息科技有限公司 Webpage loading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102917074B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN102917074B (en) A kind of method realizing server-side browser and server
CN102981705A (en) Server-side browser implementing method and server
US10649826B2 (en) Flexible scripting platform for troubleshooting
CN102932469A (en) Method for achieving client browser and client browser
US8898796B2 (en) Managing network data
US10015226B2 (en) Methods for making AJAX web applications bookmarkable and crawlable and devices thereof
US20220004653A1 (en) Apparatus and Method for Securing Web Application Server Source Code
US8966446B1 (en) Systems and methods of live experimentation on content provided by a web site
US20090037517A1 (en) Method and system to share content between web clients
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN102929489B (en) Client browser implementation method and client browser
CN102970284A (en) User information processing method and server
CN106897336A (en) Web page files sending method, webpage rendering intent and device, webpage rendering system
CN105354337A (en) Web crawler implementation method and web crawler system
US11604872B2 (en) Threat detection method and apparatus, and network system
CN103577427A (en) Browser kernel based web page crawling method and device and browser containing device
US20180032384A1 (en) Secure script execution using sandboxed environments
CN103269313B (en) The implementation method of embedded Linux home gateway forced gate
CN104182229A (en) Callback display method and device and callback method and device
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
CN105338091A (en) High-transmission-efficiency personalized information interface display method and apparatus
WO2014084771A1 (en) Dynamic sharing and updating of a web page
CN103744902A (en) Cloud disk file folder background changing method and device, cloud disk and cloud server
WO2014071764A1 (en) Client side browser, server side browser and realization method thereof
CN117411847B (en) Mail out-link picture transfer method, system and medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220713

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.