The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on
State a kind of method and client browser for realizing client browser of problem.
The present invention provides a kind of method for realizing client browser, including:Receive the triggering for starting client browser
Instruction, sends to server end and starts request, and after the startup success response for receiving server end return, starts client
Browser;The information that receive user is input into client browser, by information and input focuses positional information server is sent to
The operation result information that end, display and/or execute server end return, wherein, start in request and carry client browser
ID.
Alternatively, the information that receive user is input into client browser, information and input focuses positional information are sent
To server end, show and/or the operation result information of execute server end return is further included:Obtain user customer
The Word message of browser input;The input focuses positional information of Word message and inputting word information is sent to into server
End;The response message of client browser the reception server end feedback, wherein, input success or failure is carried in response message
Information and in inputting word information success, the client browser that carries needs the display content information for updating;
Client browser prompts the user with information input failure;Or, need renewal according to what is carried in response message
Display content information shown.
Alternatively, the information that receive user is input into client browser, information and/or input focuses positional information are sent out
Server end is sent to, is shown and/or the operation result information of execute server end return is further included:User is obtained to client
End browser carries out the side-play amount of scrolling operations;Side-play amount is sent to into server end;Client browser the reception server end
The response message of feedback, wherein, server end is carried in response message calculated according to side-play amount and obtain after page offset
Client browser needs the display content information for updating;Client browser updates according to the needs carried in response message
Display content information is shown.
Alternatively, the information that receive user is input into client browser, information and input focuses positional information are sent
To server end, show and/or the operation result information of execute server end return is further included:Obtain user customer
Browser carries out the input focuses positional information of browser event operation or web page event operation;Input focuses positional information is sent out
It is sent to server end;The response message of client browser the reception server end feedback, wherein, service is carried in response message
Device end operates according to browser event or web page event operation processes the information of success or failure and in browser event operation
Or the display content information of client browser that web page event is carried when operating successfully;Client browser prompts the user with clear
Device event action of looking at fails, or, shown according to the display content information carried in response message.
Alternatively, browser event operation includes:New tab, closing Shipping Options Page, switch labels page, management collection
Folder or destruction operation;Web page event operation includes:Operation to the connection on webpage, picture or button.
Alternatively, display content information includes:Display content is carried out into one or more video data after piecemeal and each
The corresponding key values of block video data and cryptographic Hash corresponding with each piece of video data.
Alternatively, said method is further included:By composition each piece of video data of display content, corresponding key values, with
And corresponding cryptographic Hash is buffered in client browser;When needing to show display content next time, composition is shown
Key values and cryptographic Hash corresponding to each piece of video data of content is sent to server end;According to the information that server end is returned
Display content is confirmed with the presence or absence of updating, if there is no renewal, then directly shown according to display content information, if deposited
Updating, newest video data and corresponding key values and cryptographic Hash that server end is returned are being obtained, according to newest display number
According to and corresponding key values and Hash display content information is updated, and carried out according to the display content information after renewal
Show.
Alternatively, information and input focuses positional information are sent to into server end to further include:In network environment value
During threshold value outstanding more than or equal to the network environment that pre-sets, using real-time Transmission mode by the input of information and input information
Focal position information is sent to server end;In network environment value threshold value outstanding less than the network environment that pre-sets, adopt
Timing is uploaded and/or the input focuses positional information of information and input information is sent to server end by the quantitative mode for uploading.
Alternatively, the information that receive user is input into client browser, information and input focuses positional information are sent
To server end, show and/or the operation result information of execute server end return is further included:Obtaining user needs to upload
To the data of webpage, and server end is upload the data to, corresponding web page server is uploaded to by server end;From service
The data needed from page download are downloaded at device end, wherein, data are downloaded by server end from corresponding web page server.
Present invention also offers a kind of client browser, including:Starting module, is suitable to receive startup client browser
Triggering command, to server end send start request, and receive server end return startup success response after, start
Client browser, wherein, start the ID that client browser is carried in request;Processing module, is suitable to receive and uses
The information that family is input into client browser, by information and input focuses positional information server end is sent to, and is shown and/or is held
The operation result information that row server end is returned.
Alternatively, processing module is further adapted for:Obtain the Word message of user customer browser input;By word
The input focuses positional information of information and inputting word information is sent to server end;The response letter of the reception server end feedback
Breath, wherein, the information for being input into success or failure and the visitor carried in inputting word information success are carried in response message
Family end browser needs the display content information for updating;Information input failure is prompted the user with, or, take according in response message
The display content information that the needs of band update is shown.
Alternatively, processing module is further adapted for:Obtaining user customer browser carries out the side-play amount of scrolling operations;
Side-play amount is sent to into server end;The response message of the reception server end feedback, wherein, server is carried in response message
End calculates according to side-play amount and the display content information that client browser needs to update is obtained after page offset;According to response
The display content information that the needs carried in message update is shown.
Alternatively, processing module is further adapted for:Obtain user customer browser carry out browser event operation or
The input focuses positional information of web page event operation;Input focuses positional information is sent to into server end;The reception server end
The response message of feedback, wherein, server end is carried in response message and is operated according to browser event or web page event operation
The information for processing success or failure and the Client browse carried when operating successfully in browser event operation or web page event
The display content information of device;Browser event operation failure is prompted the user with, or, according in the display carried in response message
Appearance information is shown.
Alternatively, browser event operation includes:New tab, closing Shipping Options Page, switch labels page, management collection
Folder or destruction operation;Web page event operation includes:Operation to the connection on webpage, picture or button.
Alternatively, display content information includes:Display content is carried out into one or more video data after piecemeal and each
The corresponding key values of block video data and cryptographic Hash corresponding with each piece of video data.
Alternatively, client browser is further included:Cache module, is suitable to each piece of display number of composition display content
It is buffered in client browser according to, corresponding key values and corresponding cryptographic Hash;Processing module is further adapted for:In next time
When needing to show display content, the key values and cryptographic Hash corresponding to each piece of video data of composition display content is sent out
It is sent to server end;The validation of information display content returned according to server end with the presence or absence of updating, if there is no renewal, then
Directly shown according to display content information, if there is renewal, obtain newest video data that server end returns and
Corresponding key values and cryptographic Hash, are carried out according to newest video data and corresponding key values and Hash to display content information
Update, and shown according to the display content information after renewal.
Alternatively, processing module is further adapted for:It is excellent more than or equal to the network environment for pre-setting in network environment value
During elegant threshold value, the input focuses positional information of information and input information is sent to by server end using real-time Transmission mode;
During outstanding less than the network environment that the pre-sets threshold value of network environment value, using timing upload and/or it is quantitative upload by the way of will
The input focuses positional information of information and input information is sent to server end.
Alternatively, processing module is further adapted for:Obtaining user needs to upload to the data of webpage, and upload the data to
Server end, by server end corresponding web page server is uploaded to;The number needed from page download is downloaded from server end
According to, wherein, data are downloaded by server end from corresponding web page server.
The present invention has the beneficial effect that:
By means of the technical scheme of the embodiment of the present invention, start in client browser requests server end and browse accordingly
After device, user operation is sent to into server end, the browser at subsequent the reception server end carries out corresponding position according to user operation
The result of reason, and shown according to the result, the present invention can effectively reduce the data processing of client-side and bear
Load, in fast response time, in the case that flow consumption is few, moreover it is possible to ensure good rendering effect, while supporting all of user
Operation, alleviates the configuration requirement to user terminal software and hardware, provide the user online environment well, it is ensured that user's is upper
Net safety.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the specific embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here
Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
The client rendering effect of high in the clouds kernel browser presence is poor and interactive operation is propped up in order to solve prior art
Poor problem is held, the invention provides a kind of client browser implementation method and client browser, Fig. 1 is the present invention one
The server end of individual embodiment shows the page and client browser shows the schematic diagram of the page, and Fig. 9 is one enforcement of the present invention
The schematic diagram of the server end remotely control client browser of example, as shown in Fig. 1,9, the embodiment of the present invention adopts remote desktop
Technology to realize C/S frameworks under browser(Including:Mobile browser and PC browsers etc.), client is equivalent to one remotely
Desktop control, by remote desktop technology server is controlled(Preferably, can be cloud server)On actual browser
Program or process.Concrete condition of the server according to client(For example, resolution and user agent(User Agent, letter
Referred to as UA), UA includes the cellphone information of user, such as mobile phone model etc.)Start different browsers, user is by operating visitor
Corresponding browser on remote control service device is carried out at family end, carries out various operations, including input URL, clickthrough, roll screen etc.,
And the browser of server end is processed accordingly after the operation for receiving user, and by the result of process specifically pressing
Contracting form returns to client.Additionally, user is in browsing pages, net may be read by upper and lower roll screen in a page
Page, or certain page read is backed to, at this moment, if not using caching technology, will again carry out display number
According to transmission, either still all can have a significant impact in flow consumption in response speed, therefore, the embodiment of the present invention adopt
Client-cache technology is alleviating and solve this problem.Current website and the crowd of online is growing, in the Internet
Bring while facilitate, also some websites damage the rights and interests of user by various modes, so as to obtain individual interest.This
, in order to improve the safety of browser, when user accesses dangerous network address, server will for the technical scheme of inventive embodiments
According to security strategy, different process are done to the problem of different threat user security, make user to understand any correlation
Being capable of secure internet connection on the premise of knowledge.
Below in conjunction with accompanying drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein
Specific embodiment only to explain the present invention, not limit the present invention.
A kind of embodiments in accordance with the present invention, there is provided client browser implementation method, Fig. 2 is one enforcement of the present invention
The flow chart of the method for realizing client browser of example, as shown in Fig. 2 according to embodiments of the present invention realizes Client browse
The method of device includes following process:
Step 201, receives the triggering command for starting client browser, sends to server end and starts request, and is connecing
After receiving the startup success response of server end return, start client browser;
In embodiments of the present invention, client browser can be mobile client browser, or pc client
Browser, above-mentioned server end can be cloud server.
In step 201, after the triggering command for starting client browser is received, client browser is needed to service
Device end sends and starts request, and now, the startup request that received server-side client browser sends starts one in server end
The individual server-side browser corresponding with client browser, and send startup success response to client browser;Client
End browser starts client browser and shows initial page after the startup success response for receiving server end return.
Preferably, in embodiments of the present invention, the ID that client browser can also be carried in request is started.
Server end can be according to above-mentioned ID by user data(Including:Browser collection folder data, and/or browse history number
According to)In being stored in data base, and the user operation sent according to client browser updates the data corresponding user data in storehouse.
Step 202, the information that receive user is input into client browser sends information and input focuses positional information
To the operation result information that server end, display and/or execute server end are returned.
In step 202., client browser needs the information that receive user is input into client browser, wherein, use
Family includes to the information that client browser is input into:Word message, the user customer of user customer browser input
Browser carries out the side-play amount of scrolling operations or user customer browser and carries out browser event operation or web page event
Input focuses positional information of operation etc..
Server end obtains the information and input focuses of the user customer browser input that client browser sends
Positional information, according to information and input focuses positional information respective handling is performed to server-side browser, and by operating result
Information is sent to client browser.Subsequently, the operating result letter that client browser shows and/or execute server end returns
Breath.
Processing procedure when carrying out various operations to user customer browser below is described in detail.
Fig. 3 is the process schematic diagram one that the client browser of one embodiment of the invention and server end are interacted,
Fig. 4 is the process schematic diagram two that the client browser of one embodiment of the invention and server end are interacted, such as Fig. 3 and Tu
Shown in 4, client browser according to embodiments of the present invention is interacted including following several operations with server end:
First, it is input into
Client browser obtains the Word message of user customer browser input(For example, user is by being input into URL
To access corresponding webpage, by inputing user name code entry website, or some information are input into carrying out page search etc.,
These are all that user is completed by being input into), and the input focuses positional information of Word message and inputting word information is sent out
It is sent to server end(That is, when the user inputs a character, client is by input information in the position one of current input focuses
Rise and be transferred to server end);After server end is processed, the response letter of client browser the reception server end feedback
Breath, wherein, the information for being input into success or failure and the visitor carried in inputting word information success are carried in response message
Family end browser needs the display content information for updating;Client browser prompts the user with information input failure;Or, according to
The display content information that the needs carried in response message update is shown.
2nd, scrolling operations
When user browses webpage, screen cannot show full content, it is necessary to carry out scrolling operations to the page.Work as user
During roll screen, client browser obtains user customer browser and carries out the side-play amount of scrolling operations, and side-play amount is sent
To server end;After server end is processed, the response message of client browser the reception server end feedback, wherein,
Carry in response message server end calculated according to side-play amount obtain after page offset client browser need update
Display content information;Client browser is shown according to the display content information that the needs carried in response message update
Show.
3rd, event
In embodiments of the present invention, event is divided into two kinds:Browser event and web page event, wherein, browser event:Refer to
The alternative events of client and server browser, including new tab, closing Shipping Options Page, switch labels page, management receipts
Folder, destruction operation etc. are hidden, the button or menu that these events are shown by user in client click browser is completed, client
The positional information that browser will click on is uploaded to server end, and by server-side browser subsequent treatment is completed.Web page event:Refer to
Client is by the alternative events between server-side browser and webpage.User can click on different above when webpage is browsed
The control such as link, picture, button, the information transfer such as position, time that client browser is clicked on according to user is to server
End, and corresponding process is made according to the response of server end.
Specifically, client browser needs acquisition user customer browser to carry out browser event operation or webpage
The input focuses positional information of event action, and input focuses positional information is sent to into server end;Carry out in server end
After process, the response message of client browser the reception server end feedback, wherein, server end root is carried in response message
The information of success or failure is processed according to browser event operation or web page event operation and in browser event operation or webpage
The display content information of the client browser carried during event action success;Client browser prompts the user with browser thing
Part operation failure, or, shown according to the display content information carried in response message.
4th, download and upload
In actual applications, user can be downloaded or upload file operation by browsing webpage.When data are uploaded, visitor
Family end browser obtains user to be needed to upload to the data of webpage, and upload the data to server end, by server end
Pass to corresponding web page server;In downloading data, client browser is downloaded from server end to be needed from page download
Data, wherein, data are downloaded by server end from corresponding web page server.
Specifically, in actual applications, client browser can be handed over by FTP or proprietary protocol with server end
Mutually.If down operation, client browser is downloaded files into locally after file is downloaded to server end;If
Upload operation, client browser first by the server end of files passe, is finally uploaded on website by server end.
Fig. 5 is the schematic diagram that data compression and decompression are carried out when the upload of one embodiment of the invention is downloaded, such as Fig. 5 institutes
Show, in embodiments of the present invention, it is contemplated that the reality of network traffics, in embodiments of the present invention, network environment value be more than or
During threshold value outstanding equal to the network environment that pre-sets, client browser can with select using real-time Transmission mode by information and
The input focuses positional information of input information is sent to server end;It is excellent less than the network environment for pre-setting in network environment value
During elegant threshold value, client browser can be uploaded and/or quantitatively by the way of upload by information and input information with selection using timing
Input focuses positional information be sent to server end.
That is, during user input information, when network environment is good, can be using real-time Transmission mode, being often input into
One character just uploads one, and updating every time all can trigger request operation;When network environment is severe, using timing upload or
Quantitative to upload, timing is provided with a time-out time when uploading, and is just once uploaded more than certain hour, and quantitatively uploads just
It is once to be uploaded when the character of specified number is input to, both uploads can be used cooperatively.
User can carry out gzip or the data compression of other algorithms when uploading or downloading file, make the data of transmission
It is as little as possible, speed is provided again so as to reduce flow, there is corresponding compression in server end and client browser
And decompressing function, it is ensured that file is simply compressed format in transmitting procedure, and when being embodied in client browser or website
It is uncompressed original form.
5th, browser is closed
User can close client browser after the completion of browsing.When user closes client, can send out to server end
A turn-off request is sent, after response to be returned, client browser completes corresponding operation.
In actual applications, user is when browsing web sites, and personal information is input into sometimes and is operated to log in, pay etc.,
This has occurred as soon as safety problem.In embodiments of the present invention, in order to ensure the safety of client browser, client browser can
To ensure that the private data of user is not intercepted and captured or identified by third party by the method for Data Encryption Transmission, specifically,
When user submits personal data to by client, using certain AES, even if cutting third party
Also user profile cannot be cracked when obtaining user data.
In embodiments of the present invention, client browser can also adopt caching technology, client browser caching be for
Solve user and browse the browsed page or partial response problem.When client newly asks a page, by server
This page is divided into fritter by end, and the fritter after segmentation is marked into key, and calculates the HASH values of the block number evidence
Hash_value, key and hash_value are sent in the lump client with the data of the block.Client after receiving the data,
Data are cached, when the block page is browsed again next time, only key and hash_value need to be sent to server end to sentence
Whether still effectively the block number of breaking judge the block page and current server end corresponding page block according to(key)Corresponding data
(By hash_value)It is whether identical deciding whether to retransmit data.If certain block is changed, only need to transmission and become
That block number evidence changed.Wherein, key values are made up of URL, horizontal original position and longitudinal original position.
That is, in embodiments of the present invention, above-mentioned display content information includes:Display content is carried out after piecemeal
One or more video data key values corresponding with each piece of video data and cryptographic Hash corresponding with each piece of video data.
Client browser will constitute each piece of video data, corresponding key values and the corresponding cryptographic Hash of display content
It is buffered in local;When needing to show display content next time, client browser shows each piece that constitutes display content
Registration is sent to server end according to corresponding key values and cryptographic Hash;The information that client browser is returned according to server end
Display content is confirmed with the presence or absence of updating, if there is no renewal, then directly shown according to display content information, if deposited
Updating, newest video data and corresponding key values and cryptographic Hash that server end is returned are being obtained, according to newest display number
According to and corresponding key values and Hash display content information is updated, and carried out according to the display content information after renewal
Show.
Fig. 6 is the schematic diagram that the server end of one embodiment of the invention splits the page, and Fig. 7 is one embodiment of the invention
The schematic diagram of content blocks that shows of client browser, as shown in Figure 6 and Figure 7, Fig. 6 illustrates server end and webpage is done
Page dividing processing, and key the and hash_value values of each block are calculated according to information such as url, deviation posts;Fig. 7 tables
Show that client browser currently browses block www.test.com.cn_0_0, www.test.com.cn_ that the page is covered
0_240 to www.test.com.cn_240_640, client browser is cached the data of these blocks in units of block.
When user browses again the content of current region, it is only necessary to which key the and hash_value values of the block of covering are passed to into server
End, is judged whether to need to retransmit the data of some blocks by server.
In sum, the technical scheme of the embodiment of the present invention is in the case of fast response time, flow consumption less, moreover it is possible to protect
Good rendering effect is demonstrate,proved, while supporting all of user operation, online environment well is provide the user, it is ensured that user's
Internet Security.
A kind of embodiments in accordance with the present invention, there is provided client browser, Fig. 8 is the client of one embodiment of the invention
The structural representation of end browser, as shown in figure 8, client browser according to embodiments of the present invention includes:Starting module 80
And processing module 82, the modules of the embodiment of the present invention are described in detail below.
Starting module 80, is suitable to receive the triggering command for starting client browser, sends to server end and starts request,
And after the startup success response for receiving server end return, start client browser;
In embodiments of the present invention, client browser can be mobile client browser, or pc client
Browser, above-mentioned server end can be cloud server.
After the triggering command for starting client browser is received, starting module 80 needs to server end starting module 80
Send start request, now, received server-side client browser send startup request, server end start one with
The corresponding server-side browser of client browser, and send startup success response to starting module 80;Starting module 80
After the startup success response for receiving server end return, start client browser and show initial page.
Preferably, in embodiments of the present invention, the ID that client browser can also be carried in request is started.
Server end can be according to above-mentioned ID by user data(Including:Browser collection folder data, and/or browse history number
According to)In being stored in data base, and the user operation sent according to client browser updates the data corresponding user data in storehouse.
Processing module 82, is suitable to the information that receive user is input into client browser, by information and input focuses position
Information is sent to server end, the operation result information that display and/or execute server end return.
Processing module 82 needs the information that receive user is input into client browser, wherein, user customer is browsed
The information of device input includes:The Word message of user customer browser input, user customer browser carry out roll screen
The side-play amount or user customer browser of operation carries out the input focuses of browser event operation or web page event operation
Positional information etc..
Server end obtains the information of the user customer browser input that processing module 82 sends and input focuses position
Confidence ceases, and respective handling is performed to server-side browser according to information and input focuses positional information, and operating result is believed
Breath is sent to processing module 82.Subsequently, the operation result information that processing module 82 shows and/or execute server end returns.
The processing procedure of processing module 82 is carried out specifically when carrying out various operations to user customer browser below
It is bright.
Fig. 3 is the process chart one that the client browser of one embodiment of the invention and server end are interacted,
Fig. 4 is the process chart two that the client browser of one embodiment of the invention and server end are interacted, such as Fig. 3 and Tu
Shown in 4, client browser according to embodiments of the present invention is interacted including following several operations with server end:
First, it is input into
Processing module 82 obtains the Word message of user customer browser input(For example, user by be input into URL come
Corresponding webpage is accessed, by inputing user name code entry website, or some information is input into carrying out page search etc., this
A little is all that user is completed by being input into), and the input focuses positional information of Word message and inputting word information is sent
To server end(That is, when the user inputs a character, client by input information in the position of current input focuses together
It is transferred to server end);After server end is processed, the response message of the reception server end of processing module 82 feedback, its
In, the information for being input into success or failure and the client carried in inputting word information success are carried in response message
Browser needs the display content information for updating;Processing module 82 prompts the user with information input failure;Or, disappeared according to response
The display content information that the needs carried in breath update is shown.
2nd, scrolling operations
When webpage is browsed, screen cannot show full content to user, it is necessary to carry out scrolling operations to the page.Work as user
During roll screen, processing module 82 obtains user customer browser and carries out the side-play amount of scrolling operations, and side-play amount is sent to
Server end;After server end is processed, the response message of the reception server end of processing module 82 feedback, wherein, response
Server end is carried in information obtain that client browser needs to update after page offset aobvious is calculated according to side-play amount
Show content information;Processing module 82 is shown according to the display content information that the needs carried in response message update.
3rd, event
In embodiments of the present invention, event is divided into two kinds:Browser event and web page event, wherein, browser event:Refer to
The alternative events of client and server browser, including new tab, closing Shipping Options Page, switch labels page, management receipts
Folder, destruction operation etc. are hidden, the button or menu that these events are shown by user in client click browser is completed, process mould
The positional information that block 82 will click on is uploaded to server end, and by server-side browser subsequent treatment is completed.Web page event:Refer to visitor
Family end is by the alternative events between server-side browser and webpage.User can click on different above when webpage is browsed
The information transfers such as the controls such as link, picture, button, position, the time that processing module 82 is clicked on according to user to server end, and
Corresponding process is made according to the response of server end.
Specifically, processing module 82 needs acquisition user customer browser to carry out browser event operation or webpage thing
The input focuses positional information of part operation, and input focuses positional information is sent to into server end;At server end
After reason, the response message of the reception server end of processing module 82 feedback, wherein, server end is carried in response message according to clear
Look at device event action or web page event operation process success or failure information and browser event operation or web page event
The display content information of the client browser carried when operating successfully;Processing module 82 prompts the user with browser event operation
Failure, or, shown according to the display content information carried in response message.
4th, download and upload
In actual applications, user can be downloaded or upload file operation by browsing webpage.When data are uploaded, place
Reason module 82 obtains user to be needed to upload to the data of webpage, and upload the data to server end, is uploaded by server end
To corresponding web page server;In downloading data, processing module 82 downloads the data needed from page download from server end,
Wherein, data are downloaded by server end from corresponding web page server.
Specifically, in actual applications, processing module 82 can be interacted by FTP or proprietary protocol with server end.
If down operation, processing module 82 is downloaded files into locally after file is downloaded to server end;If uploading
Operation, processing module 82 first by the server end of files passe, is finally uploaded on website by server end.
Fig. 5 is the schematic diagram that data compression and decompression are carried out when the upload of one embodiment of the invention is downloaded, such as Fig. 5 institutes
Show, in embodiments of the present invention, it is contemplated that the reality of network traffics, in embodiments of the present invention, network environment value be more than or
During threshold value outstanding equal to the network environment that pre-sets, processing module 82 can be selecting information and defeated using real-time Transmission mode
The input focuses positional information for entering information is sent to server end;It is outstanding less than the network environment for pre-setting in network environment value
During threshold value, processing module 82 can with select using timing upload and/or quantitative upload by the way of by the defeated of information and input information
Enter focal position information and be sent to server end.
That is, during user input information, when network environment is good, processing module 82 can adopt real-time Transmission side
Formula, is often input into a character and just uploads one, and updating every time all can trigger request operation;When network environment is severe, mould is processed
Block 82 can be uploaded or quantitative upload using timing, and timing is provided with a time-out time when uploading, more than certain hour just
Once uploaded, and quantitatively upload and exactly once uploaded when the character of specified number is input to, both uploads can
To use cooperatively.
When user uploads or downloads file, processing module 82 can carry out gzip or the data compression of other algorithms, make
The data of transmission are as little as possible, and so as to reduce flow speed is provided again, have in server end and client browser
Corresponding compression and decompressing function, it is ensured that file is simply compressed format in transmitting procedure, and is embodied in Client browse
It is uncompressed original form when device or website.
5th, browser is closed
User can close client browser after the completion of browsing.When user closes client, processing module 82 can be to
Server end sends a turn-off request, and after response to be returned, processing module 82 completes corresponding operation.
In actual applications, user is when browsing web sites, and personal information is input into sometimes and is operated to log in, pay etc.,
This has occurred as soon as safety problem.In embodiments of the present invention, in order to ensure the safety of client browser, client browser can
To ensure that the private data of user is not intercepted and captured or identified by third party by the method for Data Encryption Transmission, specifically,
When user submits personal data to by client, using certain AES, even if cutting third party
Also user profile cannot be cracked when obtaining user data.
In embodiments of the present invention, client browser can also adopt caching technology, client browser caching be for
Solve user and browse the browsed page or partial response problem.When client newly asks a page, by server
This page is divided into fritter by end, and the fritter after segmentation is marked into key, and calculates the HASH values of the block number evidence
Hash_value, key and hash_value are sent in the lump client with the data of the block.Client after receiving the data,
Data are cached, when the block page is browsed again next time, only key and hash_value need to be sent to server end to sentence
Whether still effectively the block number of breaking judge the block page and current server end corresponding page block according to(key)Corresponding data
(By hash_value)It is whether identical deciding whether to retransmit data.If certain block is changed, only need to transmission and become
That block number evidence changed.Wherein, key values are made up of URL, horizontal original position and longitudinal original position.
That is, in embodiments of the present invention, above-mentioned display content information includes:Display content is carried out after piecemeal
One or more video data key values corresponding with each piece of video data and cryptographic Hash corresponding with each piece of video data.
The cache module of client browser will constitute each piece of video data, corresponding key values, the Yi Jixiang of display content
The cryptographic Hash answered is buffered in locally;, when needing to show display content next time, client browser will for processing module 82
Key values and cryptographic Hash corresponding to each piece of video data of composition display content is sent to server end;Client browser root
The validation of information display content returned according to server end whether there is renewal, if there is no renewal, then directly according in display
Appearance information shown, if there is renewal, obtain newest video data and corresponding key values that server end returns and
Cryptographic Hash, is updated according to newest video data and corresponding key values and Hash to display content information, and according to more
Display content information after new is shown.
Fig. 6 is the schematic diagram that the server end of one embodiment of the invention splits the page, and Fig. 7 is one embodiment of the invention
The schematic diagram of content blocks that shows of client browser, as shown in Figure 6 and Figure 7, Fig. 6 illustrates server end and webpage is done
Page dividing processing, and key the and hash_value values of each block are calculated according to information such as url, deviation posts;Fig. 7 tables
Show that client browser currently browses block www.test.com.cn_0_0, www.test.com.cn_ that the page is covered
0_240 to www.test.com.cn_240_640, client browser is cached the data of these blocks in units of block.
When user browses again the content of current region, it is only necessary to which key the and hash_value values of the block of covering are passed to into server
End, is judged whether to need to retransmit the data of some blocks by server.
In sum, the technical scheme of the embodiment of the present invention is in the case of fast response time, flow consumption less, moreover it is possible to protect
Good rendering effect is demonstrate,proved, while supporting all of user operation, online environment well is provide the user, it is ensured that user's
Internet Security.
Provided herein algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment.
Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this
Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can be by providing identical, equivalent or the alternative features of similar purpose carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint
One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation
Software module realize, or with combinations thereof realization.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)In to realize client browser according to embodiments of the present invention some or
The some or all functions of person's whole part.The present invention is also implemented as perform method as described herein one
Divide the equipment or program of device of either whole(For example, computer program and computer program).It is such to realize this
Bright program can be stored on a computer-readable medium, or can have the form of one or more signal.It is such
Signal can be downloaded from internet website and obtained, or be provided on carrier signal, or be provided in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability
Field technique personnel can design without departing from the scope of the appended claims alternative embodiment.In the claims,
Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame
Claim.