CN103034568B - For input data reconstruction method and the device of browser - Google Patents

For input data reconstruction method and the device of browser Download PDF

Info

Publication number
CN103034568B
CN103034568B CN201210545462.2A CN201210545462A CN103034568B CN 103034568 B CN103034568 B CN 103034568B CN 201210545462 A CN201210545462 A CN 201210545462A CN 103034568 B CN103034568 B CN 103034568B
Authority
CN
China
Prior art keywords
input data
file
browser
text entry
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210545462.2A
Other languages
Chinese (zh)
Other versions
CN103034568A (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 CN201210545462.2A priority Critical patent/CN103034568B/en
Publication of CN103034568A publication Critical patent/CN103034568A/en
Application granted granted Critical
Publication of CN103034568B publication Critical patent/CN103034568B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of input data reconstruction method for browser and device, this device comprises generation module, is configured to after the Text Entry of webpage has loaded, and generates the superposed layer on overlay text input frame; Writing module, is configured to the event to Text Entry input data be detected, obtains input data and be written in the file of browser side in real time; Preserve module, be configured to detect that browser is abnormal, preserve accordingly at abnormal time; Read module, when being configured to extremely reload webpage by browser, reads the input data of preserving when browser generation abnormal time that webpage URL is corresponding from the file be written into; Load-on module, is configured to recover in the superposed layer on Text Entry to load input data; Wherein, described submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked.Other recovers to adopt the present invention can carry out browser level to data.

Description

For input data reconstruction method and the device of browser
Technical field
The present invention relates to network application field, be specifically related to a kind of input data reconstruction method for browser and device.
Background technology
User is in the process using web browser, frequent needs and web server are carried out alternately, such as uploaded by web browser, issue various data or information, comprising by the various data upload of such as word, picture or file, be saved in server, and data on the server can be preserved further by web browser display.
In existing web browser, usually provide various input control to receive the input data of user and to submit to server.Such as, for text data, can the input of word be carried out by text entry box control and upload; For picture or file data, then picture or file can be selected to upload by document uploading control, to Show Picture after upload server terminates or file is submitted successfully; When showing the picture or file uploaded, needing the URL address according to the picture returned from server before or file, from server download pictures or file, downloading successfully and show again.
In the reciprocal process of user and web server, often can run into the problem of date restoring.Date restoring refer to user due to computer crash suddenly power-off, important input information deletes because of carelessness, computer is poisoning, file cannot read, system is collapsed suddenly, maloperation, computer virus the hardware and software failure such as attack under data retrieving and data recovery process.
But, at present in browser side, if there is hardware and software failure, what it was given for change usually only has partial information, such as be kept at the information in browser rs cache, input content in input control in webpage is not carried out at present to the function of other date restoring of browser level, the loss of data can be caused.Such as, user inputs one section of daily record in certain webpage, but not yet preserves, now because browser fault causes Webpage to collapse.So, after restarting browser, the data of this daily record can't be preserved in real time, can only select to re-enter for the data user lost, and the impression affecting user is experienced.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of input Data Recapture Unit for browser solved the problem at least in part and a kind of input data reconstruction method for browser accordingly.
According to one aspect of the present invention, provide a kind of input data reconstruction method for browser, comprising:
After the Text Entry of webpage has loaded, generate the superposed layer covered on described Text Entry;
The event to described Text Entry input data detected, obtain described input data and be written in the file of browser side in real time;
Detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly;
When extremely reloading described webpage by browser, from the described file be written into, read the input data of preserving when browser generation abnormal time that described webpage URL is corresponding;
Recover in superposed layer on described Text Entry to load described input data;
Wherein, described submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked.
Alternatively, after the Text Entry of webpage has loaded, generate the superposed layer covered on described Text Entry, having comprised:
After the described Text Entry of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser has generated the superposed layer covered on described Text Entry.
Alternatively, obtain described input data and be written in real time in the file of browser side, comprising:
According to the data type of described input data, in the superposed layer of described Text Entry, generate html element element and/or the self-defined html element element of described data;
The html element element generated is write in the file of browser side in real time.
Alternatively, described in detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly, comprising:
The submission event of the input data to described Text Entry detected, terminate to preserve after the write of the temporary file of described browser side.
Alternatively, described end, to after the write of the temporary file of described browser side, comprising:
If inputted data input to stop before the write operation of all input data terminates, then preserve the part input data write in temporary file;
When reloading described webpage, read the part input data stored from described temporary file, recover in the superposed layer on described Text Entry to load described input data.
Alternatively, input reason that data input stops comprise following one of at least:
Computer crash power-off;
Input information is deleted by mistake;
Virus in computer;
Specified file cannot read;
Computer system is collapsed.
Alternatively, described browser abnormal comprise following one of arbitrarily:
Browser collapses;
Browser is stuck;
The page process collapse or stuck at webpage place.
Alternatively, detect described in and comprise event to described Text Entry input data:
Ondragenter and the ondragover event of described superposed layer and/or Text Entry detected; Or
Onbeforepaste and the onpaste event of described superposed layer and/or Text Entry detected.
Alternatively, described input data comprise text, picture and/or file.
Alternatively, when described input data are text,
Generate html element element and/or the self-defined html element element of described data, comprising:
The content of described text is marked, to be converted into html element element corresponding to described text with corresponding html tag.
Alternatively, when described input data are picture,
Generate html element element and/or the self-defined html element element of described data, comprising:
By described picture uploading to figure bed server, and obtain the chained address of described picture from figure bed server; Further,
With picture described in the IMG label of HTML, to be converted into html element element corresponding to described picture, the source attribute of wherein said IMG label is the chained address of described picture.
Alternatively, when described input data are file,
Generate html element element and/or the self-defined html element element of described data, comprising:
By described files passe to file server, and obtain the chained address of described file from file server; Further,
Mark described file with self-defined html tag, to be converted into self-defined html element element corresponding to described file, the source attribute of wherein said customized label is the chained address of described file.
Alternatively, described file comprises PDF or PPT file, then described self-defined html element element is self-defining PDF or PPT element.
Alternatively, BASE64 encoding and decoding are used to encode to described html element element and/or self-defined html element element.
Alternatively, the html element element of described coding and/or self-defined html element element are uploaded with PLAIN text mode and are saved to server side.
Alternatively, described input data are inputted on described text box element by following mode one of arbitrarily:
Through input through keyboard;
Clipbook obtains;
Obtain through dragging event.
Alternatively, described input data when input through keyboard,
Obtain described input data and be written in real time in the file of browser side, comprising:
Under edit pattern, the data through input through keyboard are received by web browser webBrowser;
Described input data are written in the file of browser side.
Alternatively, described input data when clipbook obtains,
Obtain described input data and be written in real time in the file of browser side, comprising:
Used clipboard copies the text data in webpage;
When the onpaste event of described superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.
Alternatively, described input data when dragging event obtains,
Obtain described input data and be written in real time in the file of browser side, comprising:
Utilize the text data in dragging event acquisition webpage;
When the Ondrop event of described superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.
According to another aspect of the present invention, provide a kind of input Data Recapture Unit for browser, comprising:
Generation module, is configured to after the Text Entry of webpage has loaded, and generates the superposed layer covered on described Text Entry;
Writing module, is configured to the event to described Text Entry input data be detected, obtains described input data and be written in the file of browser side in real time;
Preserve module, be configured to detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly;
Read module, when being configured to extremely reload described webpage by browser, reads the input data of preserving when browser generation abnormal time that described webpage URL is corresponding from the described file be written into;
Load-on module, is configured to recover in the superposed layer on described Text Entry to load described input data;
Wherein, described submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked.
Alternatively, described generation module is also configured to:
After the described Text Entry of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser has generated the superposed layer covered on described Text Entry.
Alternatively, said write module is also configured to:
According to the data type of described input data, in the superposed layer of described Text Entry, generate html element element and/or the self-defined html element element of described data;
The html element element generated is write in the file of browser side in real time.
Alternatively, described preservation module is also configured to:
The submission event of the input data to described Text Entry detected, terminate to preserve after the write of the temporary file of described browser side.
Alternatively, said write module is also configured to:
If inputted data input to stop before the write operation of all input data terminates, then preserve the part input data write in temporary file;
When reloading described webpage, read the part input data stored from described temporary file, recover in the superposed layer on described Text Entry to load described input data.
Alternatively, input reason that data input stops comprise following one of at least:
Computer crash power-off;
Input information is deleted by mistake;
Virus in computer;
Specified file cannot read;
Computer system is collapsed.
Alternatively, described browser abnormal comprise following one of arbitrarily:
Browser collapses;
Browser is stuck;
The page process collapse or stuck at webpage place.
Alternatively, described preservation module is also configured to:
Ondragenter and the ondragover event of described superposed layer and/or Text Entry detected; Or
Onbeforepaste and the onpaste event of described superposed layer and/or Text Entry detected.
Alternatively, described input data comprise text, picture and/or file.
Alternatively, said write module is also configured to:
When described input data are text,
The content of described text is marked, to be converted into html element element corresponding to described text with corresponding html tag.
Alternatively, said write module is also configured to:
When described input data are picture,
By described picture uploading to figure bed server, and obtain the chained address of described picture from figure bed server; Further,
With picture described in the IMG label of HTML, to be converted into html element element corresponding to described picture, the source attribute of wherein said IMG label is the chained address of described picture.
Alternatively, said write module is also configured to:
When described input data are file,
By described files passe to file server, and obtain the chained address of described file from file server; Further,
Mark described file with self-defined html tag, to be converted into self-defined html element element corresponding to described file, the source attribute of wherein said customized label is the chained address of described file.
Alternatively, described file comprises PDF or PPT file, then described self-defined html element element is self-defining PDF or PPT element.
Alternatively, BASE64 encoding and decoding are used to encode to described html element element and/or self-defined html element element.
Alternatively, the html element element of described coding and/or self-defined html element element are uploaded with PLAIN text mode and are saved to server side.
Alternatively, described input data are inputted on described text box element by following mode one of arbitrarily:
Through input through keyboard;
Clipbook obtains;
Obtain through dragging event.
Alternatively, described input data when input through keyboard,
Obtain described input data and be written in real time in the file of browser side, comprising:
Under edit pattern, the data through input through keyboard are received by web browser webBrowser;
Described input data are written in the file of browser side.
Alternatively, said write module is also configured to:
Described input data when clipbook obtains,
Used clipboard copies the text data in webpage;
When the onpaste event of described superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.
Alternatively, said write module is also configured to:
Described input data when dragging event obtains,
Utilize the text data in dragging event acquisition webpage;
When the Ondrop event of described superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.
In embodiments of the present invention, after the Text Entry of webpage has loaded, generate the superposed layer on overlay text input frame, afterwards, the event to Text Entry input data detected, obtain input data and be written in real time in the file of browser side.By browser abnormal and reload webpage time, from the file be written into, read the input data of preserving when browser generation abnormal time that webpage URL is corresponding, and recover to load input data in superposed layer on Text Entry.As can be seen here, the embodiment of the present invention can provide the function of date restoring in browser side.While input data in input control, in browser side, input data are preserved in real time.When reloading webpage, not there is loss of data in the input data of acquisition, recovers to load input data and just can obtain full recovery in its superposed layer on Text Entry.That is, in the embodiment of the present invention, the data that the input control in webpage inputs are backed up in realtime, and can recover, achieve the data backup and resume in webpage, drastically increase the experience of user.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows according to an embodiment of the invention for the processing flow chart of the input data reconstruction method of browser;
Fig. 2 shows the processing flow chart of the method for Text Entry coded data preserved according to an embodiment of the invention; And
Fig. 3 shows according to an embodiment of the invention for the structural representation of the input Data Recapture Unit of browser.
Embodiment
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
For solving the problems of the technologies described above, embodiments providing a kind of data recovery scheme of the input data for the input frame in webpage, realizing at other data recovery function of browser level.Concrete, embodiments provide a kind of input data reconstruction method for browser.Fig. 1 shows according to an embodiment of the invention for the processing flow chart of the input data reconstruction method of browser.See Fig. 1, this process flow diagram comprises step S102 to step S110.
Step S102, after the Text Entry of webpage has loaded, generate the superposed layer on overlay text input frame.
Step S104, detect and event to Text Entry input data obtain input data being written in real time in the file of browser side.
Step S106, detect that browser is abnormal, hereof the URL of input data and webpage and browser generation abnormal time are preserved accordingly.
Step S108, by browser abnormal and reload webpage time, from the file be written into, read the input data of preserving when browser generation abnormal time that webpage URL is corresponding.
Recover in step S110, superposed layer on Text Entry to load input data.
In embodiments of the present invention, after the Text Entry of webpage has loaded, generate the superposed layer on overlay text input frame, afterwards, the event to Text Entry input data detected, obtain input data and be written in real time in the file of browser side.By browser abnormal and reload webpage time, from the file be written into, read the input data of preserving when browser generation abnormal time that webpage URL is corresponding, and recover to load input data in superposed layer on Text Entry.As can be seen here, the embodiment of the present invention can provide the function of date restoring in browser side.While input data in input control, in browser side, input data are preserved in real time.When reloading webpage, not there is loss of data in the input data of acquisition, recovers to load input data and just can obtain full recovery in its superposed layer on Text Entry.That is, in the embodiment of the present invention, the data that the input control in webpage inputs are backed up in realtime, and can recover, achieve the data backup and resume in webpage, drastically increase the experience of user.
For step S102, after the Text Entry (textarea) of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser has generated the superposed layer on overlay text input frame, and wherein, superposed layer can comprise a DIV layer.Wherein, customized treatment function can be prepared in advance good at web browser place, for generating this superposed layer.Be added in because DIV is stacked on textarea, DIV layer can be gone forward side by side row relax than the leading reception alternative events of textarea, thus achieves on textarea the reception of polytype data of such as text, picture or file and process.
For step S104, the event detecting Text Entry input data comprises ondragenter and ondragover event superposed layer and/or Text Entry being detected, or onbeforepaste and the onpaste event of superposed layer and/or Text Entry detected.
Especially, when local file/picture is dragged to the superposed layer comprising DIV layer, ondragenter and the ondragover event of DIV is triggered.Forbid pulling data to DIV under some browser default situations of such as IE, therefore need the default treatment of shielding harness.When being discharged on DIV by the object pulled, the Ondrop event of DIV is triggered, and the HTML translation data of above-mentioned generation is added being written in the DIV generated.
Or when the file/picture of this locality copies to by clipbook the superposed layer comprising DIV layer, onbeforepaste and the onpaste event of DIV is triggered.Forbid copying data to DIV under some browser default situations of such as IE, therefore need the default treatment of shielding harness.When the onpaste event of DIV is triggered, the HTML translation data of above-mentioned generation is added and is written in the DIV generated.
In addition, in step S104, also it should be noted that, according to various different data type, such as text, picture or file, generate and input html element element corresponding to data and/or self-defined html element element in the suspended window of the Text Entry of browser, and then by the file of the html element of generation element real-time write browser side.Especially, for the picture pulling or copy or file, in ondrop or the onpaste event of DIV, by external interface, call client side program code, convert the file/picture of correspondence to HTML code, be inserted in DIV.
Below for different data types, describe step S104 in detail.
1) when entering data and being texts
By the content of corresponding html tag retrtieval, to be converted into html element element corresponding to text.
In the html element element that text is corresponding, can also be configured such as font size, display mode etc. with attributes such as size, style.Therefore, the present invention can support that formatted text is as data to be entered.
2) when input data are pictures
By picture uploading to figure bed server, and obtain the chained address of picture from figure bed server; Further, with the IMG label picture of HTML, to be converted into html element element corresponding to picture, wherein the source attribute of IMG label is the chained address of picture.
Such as, identify this picture with label <img>, and point to the chained address URL of this picture with src attribute, thus convert thereof into corresponding html element element.
3) when input data are files
By files passe to file server, and obtain the chained address of file from file server; Further, with self-defined html tag tab file, to be converted into self-defined html element element corresponding to file, wherein the source attribute of customized label is the chained address of file.
Such as, for PPT or pdf document, with the discernible self-defined html tag of web browser as this chained address URL of the tab files such as <PPT>, <pdf>, to be converted into corresponding self-defined html element element.Certainly, those skilled in the art understand, and file is not limited to PPT, the file of PDF type.
For step S108, when the submission event of input data being detected, html element corresponding for the various data generated element and/or self-defined html element element are encoded, and the element uploading, preserve coding is to server side.
Wherein, submission event is that the control of Text Entry loses focus, or the submit button of Text Entry is clicked; During coding, BASE64 encoding and decoding can be used to encode to html element element and/or self-defined html element element; Then, to be uploaded with PLAIN text mode by the html element element of encoding and/or self-defined html element element and be saved to server side.Certainly, those skilled in the art also know, and other decoding methods be applicable to can be used to encode to element, also can use other modes to upload by the element of encoding.
Fig. 2 shows the processing flow chart of the method for showing the Text Entry coded data of preserving according to the present invention, comprises step S202 to step S206.
Step S202, downloads html element element and/or the self-defined html element element of coding from server side.
Step S204, carries out correspondence decoding to the html element element of encoding and/or self-defined html element element.
Step S206, the data that display html element element is corresponding and/or self-defined html element element.
For step S202, S204, from the coding html element element that server side is downloaded, the coding/decoding method corresponding with method code used when uploading is used to decode to it, such as use BASE64 to encode when uploading, then use BASE64 to decode to coding html element element equally, thus obtain html element element corresponding to data and/or self-defined html element element.
For the data of text, because html element element is conventional HTML leading element, wherein contain content of text and attribute, web browser directly can show content of text.
For the data of picture/mb-type, because html element element is conventional HTML leading element, wherein contain the chained address of picture at figure bed server, web browser is directly from figure bed server download pictures and the content that directly Shows Picture.
For the data of file type, the self-defined html element element of its correspondence contains self-defined html tag, and the source attribute of self-defined html tag is the chained address of file.Web browser can show self-defined html element element, via user clicks on links address, with from file server download file; Then corresponding browser plug-in or the application program display file of corresponding browser side of file is called.
Wherein, when input data are file or picture and so on, its data volume is comparatively large, and occurs with an entirety.For file, if this file is 10K, in the ablation process of this file, browser breaks down, and only writes 5K, so, selects in temporary file, preserve the part entering to write.That is, if inputted data input to stop before the write operation of all input data terminates, then the part input data write in temporary file are preserved.
Subsequently, when reloading webpage, reading the part input data stored from temporary file, recovering in the superposed layer on Text Entry to load input data.
It should be noted that, the reason that the input of input data stops has multiple, can comprise following one of at least:
Computer crash power-off;
Input information is deleted by mistake;
Virus in computer;
Specified file cannot read;
Computer system is collapsed.
Certainly, also may there is other reasons, such as, in computer wooden horse, by assault, system cache insufficient space causes file to access, and does not repeat at this.
There is provided in the embodiment of the present invention that browser is abnormal to be needed again to recover webpage, browser is herein abnormal comprise following one of arbitrarily:
Browser collapses;
Browser is stuck;
The page process collapse or stuck at webpage place.
Namely in webpage browser or browser opened, one of any situation occurred all belongs to the situation of browser exception.If a certain plug-in unit situation of meeting accident in browser causes loss of data, then it also belongs to the situation of browser exception.
Based on above-mentioned principle, embodiments provide the specific embodiment that a browser side data recovers.Specifically describe as follows.
1. for the generation of the DIV of the covering of input control when its onLoadcomplete event on it;
2. for the acquisition of input data (text data of the input of keyboard, copy event), the html text in write DIV;
3. the write temporary file of the input data in couple DIV (be in real time carry out with input);
4. the write of the temporary file clicked after submit terminates;
5. for the browser ulceration occurred before not clicking submit or computer operation on opportunity, all can terminate the input of temporary file, and read described temporary file upper once recovery when entering this inputting interface, return in the DIV of input frame, continue the input of user.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of input Data Recapture Unit for browser.Fig. 3 shows according to an embodiment of the invention for the structural representation of the input Data Recapture Unit of browser.In the figure, this device at least comprises generation module 310, writing module 320, preserves module 330, read module 340 and load-on module 350.Now the function of each module and framework are made a concrete analysis of.
First, generation module 310 is introduced.See Fig. 3, generation module 310, after the Text Entry of webpage has loaded, generates the superposed layer on overlay text input frame.
Secondly, writing module 320 is introduced.See Fig. 3, writing module 320 and generation module 310 are coupled.When the event to Text Entry input data being detected, writing module 320 obtains input data and is written in real time in the file of browser side.
Then, preservation module 330 is introduced.See Fig. 3, preserve module 330 and be coupled with writing module 320.When detecting that browser is abnormal, preserving module 330 and hereof the URL and browser generation abnormal time that input data and webpage being preserved accordingly.
Further, read module 340 is introduced.See Fig. 3, read module 340 is coupled with preservation module 330.After preservation module 330 is preserved input data, when extremely reloading webpage by browser, read module 340 reads the input data of preserving when browser generation abnormal time corresponding to webpage URL from the file be written into.
Finally, load-on module 350 is introduced.See Fig. 3, load-on module 350 and read module 340 are coupled.After read module 340 reads the input data of having preserved, recover in the superposed layer of load-on module 350 on Text Entry to load input data.
In embodiments of the present invention, after the Text Entry of webpage has loaded, generation module 310 has generated the superposed layer on overlay text input frame, afterwards, the event to Text Entry input data detected, writing module 320 obtains input data and is written in real time in the file of browser side.When extremely reloading webpage by browser, read module 340 reads the input data of preserving when browser generation abnormal time corresponding to webpage URL from being saved file that module 330 writes, and recovers to load input data by the superposed layer of load-on module 350 on Text Entry.As can be seen here, the embodiment of the present invention can provide the function of date restoring in browser side.While input data in input control, in browser side, input data are preserved in real time.When reloading webpage, not there is loss of data in the input data of acquisition, recovers to load input data and just can obtain full recovery in its superposed layer on Text Entry.That is, in the embodiment of the present invention, the data that the input control in webpage inputs are backed up in realtime, and can recover, achieve the data backup and resume in webpage, drastically increase the experience of user.
In a preferred embodiment, generation module 310 can also be configured to:
After the Text Entry of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser has generated the superposed layer on overlay text input frame.
In a preferred embodiment, writing module 320 can also be configured to:
According to the data type of input data, in the superposed layer of Text Entry, generate html element element and/or the self-defined html element element of data;
The html element element generated is write in the file of browser side in real time.
In a preferred embodiment, preserve module 320 can also be configured to:
The submission event of the input data to Text Entry detected, terminate to preserve after the write of the temporary file of browser side.
In a preferred embodiment, writing module 320 can also be configured to:
If inputted data input to stop before the write operation of all input data terminates, then preserve the part input data write in temporary file;
When reloading webpage, read the part input data stored from temporary file, recover in the superposed layer on Text Entry to load input data.
Wherein, input reason that data input stops comprise following one of at least:
Computer crash power-off;
Input information is deleted by mistake;
Virus in computer;
Specified file cannot read;
Computer system is collapsed.
In addition, the state of browser exception comprise following one of arbitrarily:
Browser collapses;
Browser is stuck;
The page process collapse or stuck at webpage place.
In a preferred embodiment, preserve module 320 can also be configured to:
Ondragenter and the ondragover event of superposed layer and/or Text Entry detected; Or
Onbeforepaste and the onpaste event of superposed layer and/or Text Entry detected.
Wherein, input data and comprise text, picture and/or file.
In a preferred embodiment, writing module 320 can also be configured to:
When input data are text,
By the content of corresponding html tag retrtieval, to be converted into html element element corresponding to text.
In a preferred embodiment, writing module 320 can also be configured to:
When input data are picture,
By picture uploading to figure bed server, and obtain the chained address of picture from figure bed server; Further,
With the IMG label picture of HTML, to be converted into html element element corresponding to picture, wherein the source attribute of IMG label is the chained address of picture.
In a preferred embodiment, writing module 320 can also be configured to:
When input data are file,
By files passe to file server, and obtain the chained address of file from file server; Further,
With self-defined html tag tab file, to be converted into self-defined html element element corresponding to file, wherein the source attribute of customized label is the chained address of file.
Wherein, in any one preferred embodiment above-mentioned, file comprises PDF or PPT file, then self-defined html element element is self-defining PDF or PPT element.
Wherein, in any one preferred embodiment above-mentioned, BASE64 encoding and decoding are used to encode to html element element and/or self-defined html element element.
Further, the html element element of coding and/or self-defined html element element are uploaded with PLAIN text mode and are saved to server side.
Preferably, input data to be inputted on text box element by following mode one of arbitrarily:
Through input through keyboard;
Clipbook obtains;
Obtain through dragging event.
In a preferred embodiment, writing module 320 can also be configured to:
Input data when input through keyboard,
Under edit pattern, the data through input through keyboard are received by web browser webBrowser;
Input data are written in the file of browser side.
In a preferred embodiment, writing module 320 can also be configured to:
Input data when clipbook obtains,
Used clipboard copies the text data in webpage;
When the onpaste event of superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.
In a preferred embodiment, writing module 320 can also be configured to:
Input data when dragging event obtains,
Utilize the text data in dragging event acquisition webpage;
When the Ondrop event of superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.
Wherein, in any one preferred embodiment above-mentioned, submission event is that the control of Text Entry loses focus, or the submit button of Text Entry is clicked.
The input data reconstruction method for browser adopting the embodiment of the present invention to provide and device can reach following beneficial effect:
In embodiments of the present invention, after the Text Entry of webpage has loaded, generate the superposed layer on overlay text input frame, afterwards, the event to Text Entry input data detected, obtain input data and be written in real time in the file of browser side.By browser abnormal and reload webpage time, from the file be written into, read the input data of preserving when browser generation abnormal time that webpage URL is corresponding, and recover to load input data in superposed layer on Text Entry.As can be seen here, the embodiment of the present invention can provide the function of date restoring in browser side.While input data in input control, in browser side, input data are preserved in real time.When reloading webpage, not there is loss of data in the input data of acquisition, recovers to load input data and just can obtain full recovery in its superposed layer on Text Entry.That is, in the embodiment of the present invention, the data that the input control in webpage inputs are backed up in realtime, and can recover, achieve the data backup and resume in webpage, drastically increase the experience of user.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.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 in each inventive aspect one or more, in the description above 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.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions for the some or all parts in the input Data Recapture Unit of browser that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of 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 does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Disclosed herein is A1, a kind of input data reconstruction method for browser, comprising: after the Text Entry of webpage has loaded, generate the superposed layer covered on described Text Entry; The event to described Text Entry input data detected, obtain described input data and be written in the file of browser side in real time; Detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly; When extremely reloading described webpage by browser, from the described file be written into, read the input data of preserving when browser generation abnormal time that described webpage URL is corresponding; Recover in superposed layer on described Text Entry to load described input data; Wherein, described submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked.A2, method according to A1, it is characterized in that, after the described Text Entry at webpage has loaded, generate the superposed layer covered on described Text Entry, comprise: after the described Text Entry of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser generates the superposed layer covered on described Text Entry.A3, method according to A1, it is characterized in that, the described input data of described acquisition are also written in the file of browser side in real time, comprise: according to the data type of described input data, in the superposed layer of described Text Entry, generate html element element and/or the self-defined html element element of described data; The html element element generated is write in the file of browser side in real time.A4, method according to any one of A1 to A3, it is characterized in that, describedly detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly, comprise: the submission event input data to described Text Entry being detected, terminate to preserve after the write of the temporary file of described browser side.A5, method according to A4, it is characterized in that, described end, to after the write of the temporary file of described browser side, comprising: stop if inputting data input before the write operation of all input data terminates, then preserve the part input data write in temporary file; When reloading described webpage, read the part input data stored from described temporary file, recover in the superposed layer on described Text Entry to load described input data.A6, method according to A5, is characterized in that, the reason that described input data input stops comprise following one of at least: computer crash power-off; Input information is deleted by mistake; Virus in computer; Specified file cannot read; Computer system is collapsed.A7, method according to any one of A1 to A6, is characterized in that, described browser is abnormal comprise following one of arbitrarily: browser collapses; Browser is stuck; The page process collapse or stuck at webpage place.A8, method according to any one of A1 to A7, is characterized in that, described in detect and comprise event to described Text Entry input data: ondragenter and the ondragover event described superposed layer and/or Text Entry being detected; Or onbeforepaste and the onpaste event of described superposed layer and/or Text Entry detected.A9, method according to any one of A1 to A8, it is characterized in that, described input data comprise text, picture and/or file.A10, method according to A9, it is characterized in that, when described input data are text, generate html element element and/or the self-defined html element element of described data, comprise: the content marking described text with corresponding html tag, to be converted into html element element corresponding to described text.A11, method according to A9, it is characterized in that, when described input data are picture, generate html element element and/or the self-defined html element element of described data, comprise: by described picture uploading to figure bed server, and obtain the chained address of described picture from figure bed server; Further, with picture described in the IMG label of HTML, to be converted into html element element corresponding to described picture, the source attribute of wherein said IMG label is the chained address of described picture.A12, method according to A9, it is characterized in that, when described input data are file, generate html element element and/or the self-defined html element element of described data, comprise: by described files passe to file server, and obtain the chained address of described file from file server; Further, mark described file with self-defined html tag, to be converted into self-defined html element element corresponding to described file, the source attribute of wherein said customized label is the chained address of described file.A13, method according to A9, it is characterized in that, described file comprises PDF or PPT file, then described self-defined html element element is self-defining PDF or PPT element.A14, method according to any one of A3 to A13, is characterized in that, uses BASE64 encoding and decoding to encode to described html element element and/or self-defined html element element.A15, method according to A14, is characterized in that, the html element element of described coding and/or self-defined html element element are uploaded with PLAIN text mode and be saved to server side.A16, method according to any one of A1 to A15, is characterized in that, described input data are inputted on described text box element by following mode one of arbitrarily: through input through keyboard; Clipbook obtains; Obtain through dragging event.A17, method according to A16, it is characterized in that, described input data, when input through keyboard, obtain described input data and are written in real time in the file of browser side, comprising: under edit pattern, receive the data through input through keyboard by web browser webBrowser; Described input data are written in the file of browser side.A18, method according to A16, is characterized in that, described input data, when clipbook obtains, obtain described input data and are written in real time in the file of browser side, comprising: used clipboard copies the text data in webpage; When the onpaste event of described superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.A19, method according to A16, is characterized in that, described input data, when dragging event obtains, obtain described input data and are written in real time in the file of browser side, comprising: utilize dragging event to obtain text data in webpage; When the Ondrop event of described superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.
Disclosed herein is B20, a kind of input Data Recapture Unit for browser, comprising: generation module, be configured to after the Text Entry of webpage has loaded, generate the superposed layer covered on described Text Entry; Writing module, is configured to the event to described Text Entry input data be detected, obtains described input data and be written in the file of browser side in real time; Preserve module, be configured to detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly; Read module, when being configured to extremely reload described webpage by browser, reads the input data of preserving when browser generation abnormal time that described webpage URL is corresponding from the described file be written into; Load-on module, is configured to recover in the superposed layer on described Text Entry to load described input data; Wherein, described submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked.B21, device according to B20, it is characterized in that, described generation module is also configured to: after the described Text Entry of webpage has loaded event triggering, and the customized treatment function that calling is provided by web browser generates the superposed layer covered on described Text Entry.B22, device according to B20, it is characterized in that, said write module is also configured to: according to the data type of described input data, generates html element element and/or the self-defined html element element of described data in the superposed layer of described Text Entry; The html element element generated is write in the file of browser side in real time.B23, device according to any one of B20 to B22, it is characterized in that, described preservation module is also configured to: the submission event input data to described Text Entry being detected, terminates to preserve after the write of the temporary file of described browser side.B24, device according to B23, it is characterized in that, said write module is also configured to: stop if inputting data input before the write operation of all input data terminates, then preserve the part input data write in temporary file; When reloading described webpage, read the part input data stored from described temporary file, recover in the superposed layer on described Text Entry to load described input data.B25, device according to B24, is characterized in that, the reason that the input of input data stops comprise following one of at least: computer crash power-off; Input information is deleted by mistake; Virus in computer; Specified file cannot read; Computer system is collapsed.B26, device according to any one of B20 to B25, is characterized in that, described browser is abnormal comprise following one of arbitrarily: browser collapses; Browser is stuck; The page process collapse or stuck at webpage place.B27, device according to any one of B20 to B26, it is characterized in that, described preservation module is also configured to: ondragenter and the ondragover event described superposed layer and/or Text Entry being detected; Or onbeforepaste and the onpaste event of described superposed layer and/or Text Entry detected.B28, device according to any one of B20 to B27, it is characterized in that, described input data comprise text, picture and/or file.B29, device according to B28, it is characterized in that, said write module is also configured to: when described input data are text, mark the content of described text with corresponding html tag, to be converted into html element element corresponding to described text.B30, device according to B28, it is characterized in that, said write module is also configured to: when described input data are picture, by described picture uploading to figure bed server, and obtain the chained address of described picture from figure bed server; Further, with picture described in the IMG label of HTML, to be converted into html element element corresponding to described picture, the source attribute of wherein said IMG label is the chained address of described picture.B31, device according to B28, it is characterized in that, said write module is also configured to: when described input data are file, by described files passe to file server, and obtain the chained address of described file from file server; Further, mark described file with self-defined html tag, to be converted into self-defined html element element corresponding to described file, the source attribute of wherein said customized label is the chained address of described file.B32, device according to B28, it is characterized in that, described file comprises PDF or PPT file, then described self-defined html element element is self-defining PDF or PPT element.B33, device according to any one of B22 to B32, is characterized in that, uses BASE64 encoding and decoding to encode to described html element element and/or self-defined html element element.B34, device according to B33, is characterized in that, the html element element of described coding and/or self-defined html element element are uploaded with PLAIN text mode and be saved to server side.B35, device according to any one of B20 to B34, is characterized in that, described input data are inputted on described text box element by following mode one of arbitrarily: through input through keyboard; Clipbook obtains; Obtain through dragging event.B36, device according to B35, it is characterized in that, said write module is also configured to: described input data, when input through keyboard, receive the data through input through keyboard by web browser webBrowser under edit pattern; Described input data are written in the file of browser side.B37, device according to B35, it is characterized in that, said write module is also configured to: described input data are when clipbook obtains, and used clipboard copies the text data in webpage; When the onpaste event of described superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.B38, device according to B35, it is characterized in that, said write module is also configured to: described input data, when dragging event obtains, utilize dragging event to obtain text data in webpage; When the Ondrop event of described superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.

Claims (36)

1., for an input data reconstruction method for browser, comprising:
After the Text Entry of webpage has loaded, generate the superposed layer covered on described Text Entry;
The event to described Text Entry input data detected, obtain described input data and be written in the file of browser side in real time;
Detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly;
When extremely reloading described webpage by browser, from the file be written into, read the input data of preserving when browser generation abnormal time that described webpage URL is corresponding;
Recover in superposed layer on described Text Entry to load the input data read from the described file be written into;
Wherein, submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked;
The described event detected to described Text Entry input data, comprising:
Ondragenter and the ondragover event of described superposed layer and/or Text Entry detected; Or
Onbeforepaste and the onpaste event of described superposed layer and/or Text Entry detected.
2. method according to claim 1, is characterized in that, after the described Text Entry at webpage has loaded, generates the superposed layer covered on described Text Entry, comprising:
After the described Text Entry of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser has generated the superposed layer covered on described Text Entry.
3. method according to claim 1, is characterized in that, the described input data of described acquisition are also written in the file of browser side in real time, comprising:
According to the data type of described input data, in the superposed layer of described Text Entry, generate html element element and/or the self-defined html element element of described data;
The html element element generated is write in the file of browser side in real time.
4. the method according to any one of claims 1 to 3, is characterized in that, described in detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly, comprising:
The submission event of the input data to described Text Entry detected, terminate to preserve after the write of the temporary file of described browser side.
5. method according to claim 4, is characterized in that, described end, to after the write of the temporary file of described browser side, comprising:
If inputted data input to stop before the write operation of all input data terminates, then preserve the part input data write in temporary file;
When reloading described webpage, read the part input data stored from described temporary file, recover in the superposed layer on described Text Entry to load described input data.
6. method according to claim 5, is characterized in that, the reason that the input of described input data stops comprise following one of at least:
Computer crash power-off;
Input information is deleted by mistake;
Virus in computer;
Specified file cannot read;
Computer system is collapsed.
7. the method according to any one of claims 1 to 3, is characterized in that, described browser is abnormal comprise following one of arbitrarily:
Browser collapses;
Browser is stuck;
The page process collapse or stuck at webpage place.
8. the method according to any one of claims 1 to 3, is characterized in that, described input data comprise text, picture and/or file.
9. method according to claim 8, is characterized in that, when described input data are text,
Generate html element element and/or the self-defined html element element of described data, comprising:
The content of described text is marked, to be converted into html element element corresponding to described text with corresponding html tag.
10. method according to claim 8, is characterized in that, when described input data are picture,
Generate html element element and/or the self-defined html element element of described data, comprising:
By described picture uploading to figure bed server, and obtain the chained address of described picture from figure bed server; Further,
With picture described in the IMG label of HTML, to be converted into html element element corresponding to described picture, the source attribute of wherein said IMG label is the chained address of described picture.
11. methods according to claim 8, is characterized in that, when described input data are file,
Generate html element element and/or the self-defined html element element of described data, comprising:
By described files passe to file server, and obtain the chained address of described file from file server; Further,
Mark described file with self-defined html tag, to be converted into self-defined html element element corresponding to described file, the source attribute of wherein said self-defined html tag is the chained address of described file.
12. methods according to claim 8, is characterized in that, described file comprises PDF or PPT file, then self-defined html element element is self-defining PDF or PPT element.
13. methods according to claim 3, is characterized in that, use BASE64 encoding and decoding to encode to described html element element and/or self-defined html element element.
14. methods according to claim 13, is characterized in that, the html element element of described coding and/or self-defined html element element are uploaded with PLAIN text mode and be saved to server side.
15. methods according to any one of claims 1 to 3, is characterized in that, described input data are inputted on described Text Entry element by following mode one of arbitrarily:
Through input through keyboard;
Clipbook obtains;
Obtain through dragging event.
16. methods according to claim 15, is characterized in that, described input data when input through keyboard,
Obtain described input data and be written in real time in the file of browser side, comprising:
Under edit pattern, the data through input through keyboard are received by web browser webBrowser;
Described input data are written in the file of browser side.
17. methods according to claim 15, is characterized in that, described input data when clipbook obtains,
Obtain described input data and be written in real time in the file of browser side, comprising:
Used clipboard copies the text data in webpage;
When the onpaste event of described superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.
18. methods according to claim 15, is characterized in that, described input data when dragging event obtains,
Obtain described input data and be written in real time in the file of browser side, comprising:
Utilize the text data in dragging event acquisition webpage;
When the Ondrop event of described superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.
19. 1 kinds, for the input Data Recapture Unit of browser, comprising:
Generation module, is configured to after the Text Entry of webpage has loaded, and generates the superposed layer covered on described Text Entry;
Writing module, is configured to the event to described Text Entry input data be detected, obtains described input data and be written in the file of browser side in real time;
Preserve module, be configured to detect that browser is abnormal, in described file, the URL of described input data and described webpage and browser generation abnormal time are preserved accordingly;
Read module, when being configured to extremely reload described webpage by browser, reads the input data of preserving when browser generation abnormal time that described webpage URL is corresponding from the file be written into;
Load-on module, is configured to recover in the superposed layer on described Text Entry to load the input data read from the described file be written into;
Wherein, submission event is that the control of described Text Entry loses focus, or the submit button of described Text Entry is clicked;
Described preservation module is also configured to: ondragenter and the ondragover event described superposed layer and/or Text Entry being detected; Or onbeforepaste and the onpaste event of described superposed layer and/or Text Entry detected.
20. devices according to claim 19, is characterized in that, described generation module is also configured to:
After the described Text Entry of webpage has loaded event triggering, the customized treatment function that calling is provided by web browser has generated the superposed layer covered on described Text Entry.
21. devices according to claim 19, is characterized in that, said write module is also configured to: according to the data type of described input data, generate html element element and/or the self-defined html element element of described data in the superposed layer of described Text Entry; The html element element generated is write in the file of browser side in real time.
22. according to claim 19 to the device described in 21 any one, it is characterized in that, described preservation module is also configured to: the submission event input data to described Text Entry being detected, terminates to preserve after the write of the temporary file of described browser side.
23. devices according to claim 22, is characterized in that, said write module is also configured to: stop if inputting data input before the write operation of all input data terminates, then preserve the part input data write in temporary file; When reloading described webpage, read the part input data stored from described temporary file, recover in the superposed layer on described Text Entry to load described input data.
24. devices according to claim 23, is characterized in that, the reason that the input of input data stops comprise following one of at least: computer crash power-off; Input information is deleted by mistake; Virus in computer; Specified file cannot read; Computer system is collapsed.
25., according to claim 19 to the device described in 21 any one, is characterized in that, described browser is abnormal comprise following one of arbitrarily: browser collapses; Browser is stuck; The page process collapse or stuck at webpage place.
26., according to claim 19 to the device described in 21 any one, is characterized in that, described input data comprise text, picture and/or file.
27. devices according to claim 26, is characterized in that, said write module is also configured to: when described input data are text, mark the content of described text with corresponding html tag, to be converted into html element element corresponding to described text.
28. devices according to claim 26, is characterized in that, said write module is also configured to: when described input data are picture, by described picture uploading to figure bed server, and obtain the chained address of described picture from figure bed server; Further, with picture described in the IMG label of HTML, to be converted into html element element corresponding to described picture, the source attribute of wherein said IMG label is the chained address of described picture.
29. devices according to claim 26, is characterized in that, said write module is also configured to: when described input data are file, by described files passe to file server, and obtain the chained address of described file from file server; Further, mark described file with self-defined html tag, to be converted into self-defined html element element corresponding to described file, the source attribute of wherein said self-defined html tag is the chained address of described file.
30. devices according to claim 26, is characterized in that, described file comprises PDF or PPT file, then self-defined html element element is self-defining PDF or PPT element.
31. devices according to claim 21, is characterized in that, use BASE64 encoding and decoding to encode to described html element element and/or self-defined html element element.
32. devices according to claim 31, is characterized in that, the html element element of described coding and/or self-defined html element element are uploaded with PLAIN text mode and be saved to server side.
33., according to claim 19 to the device described in 21 any one, is characterized in that, described input data are inputted on described Text Entry element by following mode one of arbitrarily: through input through keyboard; Clipbook obtains; Obtain through dragging event.
34. devices according to claim 33, is characterized in that, said write module is also configured to: described input data, when input through keyboard, receive the data through input through keyboard by web browser webBrowser under edit pattern; Described input data are written in the file of browser side.
35. devices according to claim 33, is characterized in that, said write module is also configured to: described input data are when clipbook obtains, and used clipboard copies the text data in webpage; When the onpaste event of described superposed layer and/or Text Entry is triggered, the text data copied is written in the file of browser side.
36. devices according to claim 33, is characterized in that, said write module is also configured to: described input data, when dragging event obtains, utilize the text data in dragging event acquisition webpage; When the Ondrop event of described superposed layer and/or Text Entry is triggered, the text data of acquisition is written in the file of browser side.
CN201210545462.2A 2012-12-14 2012-12-14 For input data reconstruction method and the device of browser Active CN103034568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210545462.2A CN103034568B (en) 2012-12-14 2012-12-14 For input data reconstruction method and the device of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210545462.2A CN103034568B (en) 2012-12-14 2012-12-14 For input data reconstruction method and the device of browser

Publications (2)

Publication Number Publication Date
CN103034568A CN103034568A (en) 2013-04-10
CN103034568B true CN103034568B (en) 2015-11-25

Family

ID=48021486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210545462.2A Active CN103034568B (en) 2012-12-14 2012-12-14 For input data reconstruction method and the device of browser

Country Status (1)

Country Link
CN (1) CN103034568B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034724B (en) * 2012-12-14 2016-10-05 北京奇虎科技有限公司 Browser is carried out input the method and device that data are recovered
CN103870955B (en) * 2014-03-24 2017-07-21 小米科技有限责任公司 The processing method and processing device of data in webpage
CN104978352B (en) * 2014-04-10 2019-05-24 腾讯科技(深圳)有限公司 The method and client of information processing
CN104978111B (en) * 2014-04-11 2019-06-25 腾讯科技(深圳)有限公司 The restoration methods and device of list control
CN105046478A (en) * 2015-06-18 2015-11-11 广州市百果园网络科技有限公司 Method of processing article and system thereof
CN105574416A (en) * 2015-12-16 2016-05-11 北京神州绿盟信息安全科技股份有限公司 Detection method and device of browser bug
WO2017120878A1 (en) * 2016-01-15 2017-07-20 杨瑛 Method for restarting browser webpage, and electronic device
CN105872041B (en) * 2016-03-29 2019-11-05 广州酷狗计算机科技有限公司 The processing method and processing device of operation object
CN106776132A (en) * 2016-12-01 2017-05-31 深圳市小满科技有限公司 Data recovery system and method
CN110851304A (en) * 2019-11-12 2020-02-28 维沃移动通信有限公司 Backup method and electronic equipment
CN111177616B (en) * 2019-12-11 2023-04-07 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN111338739A (en) * 2020-03-17 2020-06-26 北京车智赢科技有限公司 Page content processing method, page content display method and page content display system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284680A (en) * 2000-08-15 2001-02-21 王逖 Method and system to make user obtain 'personal' web page and restore travel storage
JP2005128617A (en) * 2003-10-21 2005-05-19 Media Do Inc Information providing apparatus
CN1926532A (en) * 2004-02-27 2007-03-07 夏普株式会社 Data processing device capable of performing data transmission by a predetermined access method
CN101071397A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Character output method and device
CN102768683A (en) * 2012-06-29 2012-11-07 北京奇虎科技有限公司 Picture information searching method and searching device
CN102789454A (en) * 2011-05-16 2012-11-21 腾讯科技(北京)有限公司 Immediate storage method and system for content in input box of browser webpage
CN102799371A (en) * 2012-06-29 2012-11-28 北京奇虎科技有限公司 Extended data input device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284680A (en) * 2000-08-15 2001-02-21 王逖 Method and system to make user obtain 'personal' web page and restore travel storage
JP2005128617A (en) * 2003-10-21 2005-05-19 Media Do Inc Information providing apparatus
CN1926532A (en) * 2004-02-27 2007-03-07 夏普株式会社 Data processing device capable of performing data transmission by a predetermined access method
CN101071397A (en) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 Character output method and device
CN102789454A (en) * 2011-05-16 2012-11-21 腾讯科技(北京)有限公司 Immediate storage method and system for content in input box of browser webpage
CN102768683A (en) * 2012-06-29 2012-11-07 北京奇虎科技有限公司 Picture information searching method and searching device
CN102799371A (en) * 2012-06-29 2012-11-28 北京奇虎科技有限公司 Extended data input device and method

Also Published As

Publication number Publication date
CN103034568A (en) 2013-04-10

Similar Documents

Publication Publication Date Title
CN103034568B (en) For input data reconstruction method and the device of browser
CN103034724B (en) Browser is carried out input the method and device that data are recovered
US10216855B2 (en) Mobilizing an existing web application
CN110235122B (en) System and method for converting web content into reusable templates and components
CN101986292B (en) Method and system for processing forms based on an image
US10007656B2 (en) DOM snapshot capture
JP6140145B2 (en) Tenant data recovery across tenant migration
CN104077387A (en) Webpage content display method and browser device
CN104036011A (en) Webpage element display method and browser device.
US10547664B2 (en) Enable uploading and submitting multiple files
CN103092941A (en) Method and device showing content on electronic equipment
CN109885324A (en) A kind of processing method, device, terminal and the storage medium of application program installation kit
CN102831154B (en) The method and apparatus of data in the Text Entry of preservation and display web page
CN109445775B (en) One-key active embedded code method, device and computer readable storage medium
US20100269093A1 (en) Content Management System and Method for Generating Dynamic Applications
Rehault Windows mobile advanced forensics: An alternative to existing tools
CN109145236A (en) Page file processing method, apparatus and system
CN111949611B (en) File processing method, system, device and medium
CN112016267A (en) Icon font processing method and device and storage medium
CN107533544B (en) Element identifier generation
CN114780497B (en) Batch file processing method, apparatus, computer device, medium, and program product
US11843679B2 (en) Automated dependency management based on page components
CN103617224A (en) Webpage collecting method, webpage collecting device and webpage collecting system
Mise et al. A method for extracting unexpected scenarios of embedded systems
Matzke Ant: The Java Build Tool in Practice

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: 20220727

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.