CN102831154A - Method and device for storing and displaying data in text input box of webpage - Google Patents

Method and device for storing and displaying data in text input box of webpage Download PDF

Info

Publication number
CN102831154A
CN102831154A CN2012102265224A CN201210226522A CN102831154A CN 102831154 A CN102831154 A CN 102831154A CN 2012102265224 A CN2012102265224 A CN 2012102265224A CN 201210226522 A CN201210226522 A CN 201210226522A CN 102831154 A CN102831154 A CN 102831154A
Authority
CN
China
Prior art keywords
plain
html element
file
self
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.)
Granted
Application number
CN2012102265224A
Other languages
Chinese (zh)
Other versions
CN102831154B (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 360 Zhiling 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 CN201210226522.4A priority Critical patent/CN102831154B/en
Publication of CN102831154A publication Critical patent/CN102831154A/en
Application granted granted Critical
Publication of CN102831154B publication Critical patent/CN102831154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for storing and displaying data in a text input box of a webpage. The method comprises the following steps of: generating an HTML (Hyper Text Mark-up Language) element and/or a self-defined HTML element of the data in a suspension layer of the text input box, and coding, uploading and storing the element to a server side; downloading the coded HTML element and/or the self-defined HTML element from the server side, decoding the element correspondingly, and displaying the data corresponding to the HTML element and/or the self-defined HTML element. According to the invention, various data such as texts, pictures or files are quickly stored on the server side through the text input box of the webpage, thereby greatly improving operating efficiency of a user and improving experience of the user.

Description

The method and apparatus of data in the text input frame of preservation and display web page
Technical field
The present invention relates to the Internet-browser field, more specifically, relate to a kind of preserve and the text input frame of display web page in the method and apparatus of data.
Background technology
The user is in the process of using web browser; Often need carry out alternately with the web server; For example upload, issue various data or information through web browser; Comprising will be such as the various data upload of literal, picture or file, be saved in server, and can further show and be kept at the data on the server through web browser.
In existing web browser, the input data that various input controls receive the user are provided usually and submit to server.For example, for text data, can carry out the input of literal and upload through text input frame control; For picture or file data, then can select picture or file to upload through document uploading control,, upload server Shows Picture after finishing or file is submitted success; When showing the picture uploaded or file, need according to before the said picture that returns from server or the URL address of file, from said picture of downloaded or file, show again after downloading successfully.Obviously, use current web browser to realize of preservation and the demonstration of various data, need the user to carry out to realize after a series of loaded down with trivial details operations at server side.
Along with the raising of user, and, to the preserving type of uploading of picture or file, obviously be unsafty in existing data save mode, the especially reciprocal process to the raising that operating efficiency requires to the requirement of web browser experience.The user hopes to adopt more simply, more efficient mode realizes.
Summary of the invention
The present invention provides the method for the data in a kind of text input frame of preserving webpage; Through the text input frame of webpage, realized various data, for example text, picture or file are in the rapid saving of server side; Greatly improve user's operating efficiency, thereby improved user experience.
The method of the data in the text input frame of preservation webpage of the present invention comprises :-after the text input frame of webpage loads completion, generate the superposed layer that covers on the said text input frame;
-detect incident to said text input frame input data, obtain said input data;
-according to the data type of said input data, the plain and/or self-defined html element of html element that in the superposed layer of said text input frame, generates said data is plain;
-detect submission incident to the input data of said text input frame;
-plain and/or self-defined html element element is encoded with the html element of said generation, and upload, preserve the plain and/or self-defined html element element of the html element of said coding to server side.
Wherein, The step that said generation covers the superposed layer on the said text input frame comprises: after the said text input frame of webpage loads the completion Event triggered, call the customized treatment function that is provided by web browser and generate the superposed layer that covers on the said text input frame; Wherein, said superposed layer comprises DI V layer.Further, the said step that detects to the incident of said text input frame input data comprises: the ondragenter and the ondragover incident that detect said superposed layer and/or text input frame; Or detect the onbeforepaste and the onpaste incident of said superposed layer and/or text input frame.
Through the above-mentioned superposed layer that comprises the DIV layer that covers on the said text input frame; Realized comprising the input of the data of text, picture and/or file; And supported literal key entry, duplicate, pull; And the duplicating, pull of picture or file, greatly simplified the troublesome operation of existing various data inputs.
According to method of the present invention, dissimilar input data, it is plain in the superposed layer of said text input frame, can both to generate the plain and/or self-defined html element of corresponding html element, wherein:
When said input data were text, the plain step that generates of the plain and/or self-defined html element of said html element comprised: with the content of the said text of corresponding html tag mark, plain to be converted into the corresponding html element of said text.
When said input data were picture, the plain step that generates of the plain and/or self-defined html element of said html element comprised: said picture is uploaded to figure bed server, and from scheming the chained address that the bed server obtains said picture; And with the said picture of IMG label of HTML, plain to be converted into the corresponding html element of said picture, the source attribute of wherein said IMG label is the chained address of said picture.
When said input data were file, the plain step that generates of the plain and/or self-defined html element of said html element comprised: said file is uploaded to file server, and obtain the chained address of said file from file server; And with the said file of self-defined html tag mark, plain to be converted into the corresponding self-defined html element of said file, the source attribute of wherein said customized label is the chained address of said file.For example, said file comprises PDF or PPT file, and then said self-defined html element element is self-defining PDF or PPT element.
It is thus clear that; Data to text or picture/mb-type; The method of the invention has generated conventional HTML leading element; And for the file data such as PDF or PPT file, it is plain to have generated the self-defined html element that uses self-defined html tag, wherein said self-defined html tag be said web browser can support self-defining<pDF></PDF>Or<pPT></PPT>Label.
When detecting the submission incident of input data, use encoding and decoding such as BASE64 to the corresponding html element of various data plain and/or self-defined html element element encode, and with the side that uploads onto the server of the mode such as the PLAIN text; The control that wherein said submission incident is said text input frame loses focus, or the submit button of said text input frame is clicked.
Further, the present invention also provides a kind of above-mentioned text input frame method of coding data of having preserved that is used to show, comprising:
-to download the plain and/or self-defined html element of html element of said coding from server side plain;
-the html element element and/or the self-defined html element element of said coding carried out the correspondence decoding;
-show that said html element element corresponding data and/or self-defined html element are plain.
Wherein, have the chained address of image data in the said html element element, then said step display comprises: according to the chained address of said picture, download and show said picture.
Wherein, have the chained address of file data in the said self-defined html element element, then said step display:, download said file according to the chained address of said file data; And call the corresponding browser plug-in or the said file of corresponding browser side application program displays of said file.
On the other hand, the present invention also provides the device of the data in a kind of text input frame of preserving webpage, comprising:
-superposed layer generation unit, it is configured to after the text input frame of webpage loads completion, generate the superposed layer that covers on the said text input frame;
-data capture unit, it is configured to detect the incident to said text input frame input data, obtains said input data;
The plain generation unit of the plain and/or self-defined html element of-html element, it is configured to the data type according to said input data, and the plain and/or self-defined html element of html element that in the superposed layer of said text input frame, generates said data is plain;
-submit detecting unit to, it is configured to detect the submission incident to the input data of said text input frame;
-coding uploading unit, it is configured to the html element of said generation plain and/or self-defined html element element and encodes, and uploads, preserves the plain and/or self-defined html element element of the html element of said coding to server side.
Further, the present invention also provides a kind of device that is used to show the text input frame coded data of preserving according to preceding method, comprising:
-download unit, it is configured to download from server side the plain and/or self-defined html element element of html element of said coding;
-decoding unit, it is configured to the html element element of said coding and/or self-defined html element element are carried out the correspondence decoding;
-display unit, it is configured to show plain corresponding data of said html element and/or self-defined html element element.
According to the method for the invention, via the text input frame of webpage, realized that text, picture and/or file to the uploading fast, preserve of server side, greatly simplified user's operation.Wherein, For picture and/or file; What upload to server side is that it has comprised the web page element in the URL address of figure on the bed/data server, as long as said web page element is uploaded completion, need not wait until whether picture or file are accomplished to scheming uploading of bed/data server; Promptly show to upload and preserve successfully, improved user experience to the user.
Above-mentioned explanation only is the general introduction of technical scheme of the present invention; Understand technological means of the present invention in order can more to know; And can implement according to the content of instructions, and for let above and other objects of the present invention, feature and advantage can be more obviously understandable, below special act embodiment of the present invention; And conjunction with figs., specify as follows.
Description of drawings
Fig. 1 shows the process flow diagram of the method for the data in the text input frame of preservation webpage according to the invention;
Fig. 2 shows the process flow diagram of the text input frame method of coding data that is used to show according to the present invention and is preserved;
Fig. 3 is for using the synoptic diagram of the method for the invention issue microblogging;
Fig. 4 shows the schematic representation of apparatus of the data in the text input frame of preservation webpage according to the invention;
Fig. 5 shows the schematic representation of apparatus of the text input frame coded data that is used to show according to the present invention and is preserved.
Embodiment
The invention provides a kind of method of the data in the text input frame of preservation of webserver side and display web page, will be described with reference to the accompanying drawings as follows below.
Fig. 1 shows the method for the data in the text input frame of preservation webpage according to the invention, comprising: step 11, the text input frame of webpage load accomplish after, generate the superposed layer that covers on the said text input frame; Step 12 detects the incident to said text input frame input data, obtains said input data; Step 13, according to the data type of said input data, the plain and/or self-defined html element of html element that in the superposed layer of said text input frame, generates said data is plain; Step 14 detects the submission incident to the input data of said text input frame; And step 15, plain and/or self-defined html element element is encoded with the html element of said generation, and uploads, preserves the plain and/or self-defined html element element of the html element of said coding to server side.
For step 11, after the said text input frame textarea of webpage loads the completion Event triggered, call the customized treatment function that provides by web browser and generate the superposed layer that covers on the said text input frame, said superposed layer comprises a DIV layer.Wherein, said customized treatment function can weave at the web browser place in advance, is used to generate this superposed layer.Because DIV is range upon range of is added on the textarea, the DIV layer can receive alternative events in advance and handles than textarea, has realized thus on textarea reception and processing such as polytype data of text, picture or file.
For step 12; The incident that detects text input frame input data comprises ondragenter and the ondragover incident that detects said superposed layer and/or text input frame, or detects the onbeforepaste and the onpaste incident of said superposed layer and/or text input frame.
Especially, when local file/picture was dragged to the superposed layer that comprises the DIV layer, the ondragenter of DIV and ondragover incident were triggered.Forbid pulling data under some browser default situations such as IE, therefore need the default treatment of shielding harness to DIV.When the object that is pulled discharged on DIV, the Ondrop incident of DIV was triggered, and the HTML translation data of above-mentioned generation was added being written among the DIV that has generated.
Perhaps, when the file/picture in this locality copied to the superposed layer that comprises the DIV layer through clipbook, the onbeforepaste of DIV and onpaste incident were triggered.Forbid copy data under some browser default situations such as IE, therefore need the default treatment of shielding harness to DIV.When the onpaste of DIV incident is triggered, the HTML translation data of above-mentioned generation added being written among the DIV that has generated.
For step 13, according to various data type, text for example, picture or file, it is plain to generate the plain and/or self-defined html element of the corresponding html element of said input data.Especially,, in the ondrop or onpaste incident of DIV,, call the client-side program code, convert corresponding file/picture to HTML code, be inserted among the DIV through the external interface for picture that pulls or duplicate or file.
To different data types, specify step 13 below.
1) when going into data when being text
With the content of the said text of corresponding html tag mark, plain to be converted into the corresponding html element of said text.
In the corresponding html element element of text, can also come being configured with attributes such as size, style such as font size, display mode etc.Therefore, the present invention can support formatted text as data to be imported.
2) when the input data are picture
Said picture is uploaded to figure bed server, and from scheming the chained address that the bed server obtains said picture; And with the said picture of IMG label of HTML, plain to be converted into the corresponding html element of said picture, the source attribute of wherein said IMG label is the chained address of said picture.
For example, <img>identifies this picture with label, and points to the chained address URL of this picture with the src attribute, thereby converts thereof into corresponding html element element.
3) when the input data are file
Said file is uploaded to file server, and obtain the chained address of said file from file server; And with the said file of self-defined html tag mark, plain to be converted into the corresponding self-defined html element of said file, the source attribute of wherein said customized label is the chained address of said file.
For example, for PPT or pdf document,, plain to be converted into corresponding self-defined html element with this chained address URL of the discernible self-defined html tag of web browser like said files of mark such as < PPT >, < pdf >.Certainly, those skilled in the art understand, and said file is not limited to PPT, the file of PDF type.
For step 14,15, when detecting the submission incident of said input data, the plain and/or self-defined html element element of the html element that the various data of said generation are corresponding is encoded, and the element of uploading, preserve said coding is to server side.
Wherein, the control that said submission incident is said text input frame loses focus, or the submit button of said text input frame is clicked; During coding, can use the BASE64 encoding and decoding that said html element element and/or self-defined html element element are encoded; Then, html element element that is encoded and/or self-defined html element element are uploaded with the PLAIN text mode and are saved to server side.Certainly, those skilled in the art also know, and can use other decoding methods that are fit to come element is encoded, and also can use other modes to upload the element that is encoded.
Fig. 2 shows the text input frame method of coding data that is used to show according to the present invention and is preserved, and comprising: step 21, and the plain and/or self-defined html element of html element of downloading said coding from server side is plain; Step 22, plain and/or self-defined html element element carries out correspondence and decodes to the html element of said coding; With step 23, show that plain corresponding data of said html element and/or self-defined html element are plain.
For step 21; 22; Plain from the coding html element that server side is downloaded, code used method corresponding decoding method is decoded to it when using and uploading, and for example when uploading, uses BASE64 to encode; Then use BASE64 that coding html element element is decoded equally, thereby it is plain to obtain the plain and/or self-defined html element of the corresponding html element of said data.
For the data of text, because said html element element is conventional HTML leading element, wherein comprised content of text and attribute, web browser can directly show said content of text.
For the data of picture/mb-type, because said html element element is conventional HTML leading element, wherein comprised the chained address of picture at figure bed server, web browser is directly from the said figure said picture of bed downloaded and the content that directly Shows Picture.
For the data of file type, its corresponding self-defined html element element has comprised self-defined html tag, and the source attribute of said self-defined html tag is the chained address of said file.Web browser can show that said self-defined html element is plain, clicks said chained address via the user, to download said file from file server; Call the corresponding browser plug-in or the said file of corresponding browser side application program displays of said file then.
To combine Fig. 3 below is the application that example is introduced the method for the invention with the issue microblogging.
The user can directly pull picture or copy in the text input frame of the microblogging issue page; Simultaneously, literal can be keyed in through computer keyboard, also can be through pulling or copy in the text input frame.
After web browser detected the data incoming event, it was plain to have generated the corresponding html element of said text and picture in the superposed layer on said text input frame.Especially; Said picture can be uploaded to the figure bed server such as 360 companies of Qihoo; Obtain the chained address of said picture on figure bed server, and said chained address is set to the source attribute of the plain IMG label that is comprised of the corresponding html element of said picture.Certainly, except literal and picture, can also in this text input frame, pull or the data of xcopy type, such as PPT file or pdf document, generate corresponding self-defined html element this moment in the superposed layer of text input frame plain.
When said text input frame lost focus or user and clicks the Publish button, the said html element element in the superposed layer was carried out the BASE64 coding, and is uploaded to the microblogging server with the PLAIN text mode, and showed to the user and to issue successfully.
Use input data save method according to the invention, can in microblogging is issued the text input frame of the page, realize the diversiform data input of text, picture and file, greatly simplified the loaded down with trivial details step of user input data.And, when plain and/or self-defined html element element is uploaded to the microblogging server when the html element that is encoded, show to the user promptly and issue successfully that the picture or the file of big data quantity possibly also uploaded on the backstage in fact at this moment, but the user is invisible.Thus, the present invention has realized the quick issue of data such as picture, file in this locality, and has improved user experience.
Show said when uploading the data of preservation; When promptly on web browser, showing above-mentioned microblogging content; The html element of downloading the BASE64 coding from the microblogging server requests is plain; Then it is carried out BASE 64 decoding, and show the plain corresponding data of said html element, comprising display text with from the figure bed downloaded picture of 360 companies and Show Picture.
Fig. 4 shows an embodiment of the device of the data in the text input frame of preservation webpage according to the invention; Said device comprises: superposed layer generation unit 41; It is configured to after the text input frame of webpage loads completion, generate the superposed layer that covers on the said text input frame; Data capture unit 42, it is configured to detect the incident to said text input frame input data, obtains said input data; The plain generation unit 43 of the plain and/or self-defined html element of html element, it is configured to the data type according to said input data, and the plain and/or self-defined html element of html element that in the superposed layer of said text input frame, generates said data is plain; Submit detecting unit 44 to, it is configured to detect the submission incident to the input data of said text input frame; And coding uploading unit 45, it is configured to the html element of said generation plain and/or self-defined html element element and encodes, and uploads, preserves the plain and/or self-defined html element element of the html element of said coding to server side.
Further; When said input data are text; The plain generation unit of the plain and/or self-defined html element of said html element comprises the text subelement, and it is configured to: with the content of the said text of corresponding html tag mark, plain to be converted into the corresponding html element of said text.
When said input data were picture, the plain generation unit of the plain and/or self-defined html element of said html element comprised the picture subelement, and it is configured to: said picture is uploaded to figure bed server, and from scheming the chained address that the bed server obtains said picture; And with the said picture of IMG label of HTML, plain to be converted into the corresponding html element of said picture, the source attribute of wherein said IMG label is the chained address of said picture.
When said input data were file, the plain generation unit of the plain and/or self-defined html element of said html element comprised the file subelement, and it is configured to: said file is uploaded to file server, and obtain the chained address of said file from file server; And with the said file of self-defined html tag mark, plain to be converted into the corresponding self-defined html element of said file, the source attribute of wherein said customized label is the chained address of said file.
Wherein, said file comprises PDF or PPT file, and then said self-defined html element element is self-defining PDF or PPT element.
Fig. 5 shows an embodiment of the device of the text input frame coded data that is used to show according to the present invention and is preserved, and said device comprises: download unit 51, and its plain and/or self-defined html element of html element that is configured to download from server side said coding is plain; Decoding unit 52, it is configured to the html element element of said coding and/or self-defined html element element are carried out the correspondence decoding; Display unit 53, it is configured to show plain corresponding data of said html element and/or self-defined html element element.
Further, have the chained address of image data in the said html element element, then said display unit is configured to: according to the chained address of said picture, download and show said picture.
Have the chained address of file data in the said self-defined html element element, then said display unit is configured to: according to the chained address of said file data, download said file; And call the corresponding browser plug-in or the said file of corresponding browser side application program displays of said file.
Method among the invention described above embodiment, device and server are applicable in diverse network or the client environment; For example can be implemented in the computer equipment such as PC device, perhaps can be implemented in such as in other portable electric appts such as mobile phone, mobile communication equipment, PDA(Personal Digital Assistant) or the non-portable electric appts.What therefore those skilled in the art will be clear and definite is; Protection scope of the present invention is not limited to PC and goes up the data input function in the running browser, only is that data input function that adopted PC to go up in the running browser is in embodiments of the present invention described from the succinct and convenient of description.
Above embodiment only is used to technical scheme of the present invention is described, is not limited to protection scope of the present invention.Under the situation of spirit that does not break away from technical scheme of the present invention and scope, those skilled in the art can carry out various modifications or modification to technical scheme of the present invention.

Claims (24)

1. the method for the data in the text input frame of preserving webpage is characterized in that,
This method comprises:
After the text input frame of webpage loads completion, generate the superposed layer that covers on the said text input frame;
Detect incident, obtain said input data to said text input frame input data;
According to the data type of said input data, the plain and/or self-defined html element of html element that in the superposed layer of said text input frame, generates said data is plain;
Detect submission incident to the input data of said text input frame;
Plain and/or self-defined html element element is encoded with the html element of said generation, and uploads, preserves the plain and/or self-defined html element element of the html element of said coding to server side.
2. method according to claim 1 is characterized in that, wherein said text input frame at webpage generates the step that covers the superposed layer on the said text input frame and comprises after loading and accomplishing:
After the said text input frame of webpage loads the completion Event triggered, call the customized treatment function that provides by web browser and generate the superposed layer that covers on the said text input frame.
3. method according to claim 1 is characterized in that wherein said superposed layer comprises the DIV layer.
4. method according to claim 1 is characterized in that, the wherein said step that detects to the incident of said text input frame input data comprises:
Detect the ondragenter and the ondragover incident of said superposed layer and/or text input frame; Or
Detect the onbeforepaste and the onpaste incident of said superposed layer and/or text input frame.
5. method according to claim 1 is characterized in that, wherein said input data comprise text, picture and/or file.
6. method according to claim 5 is characterized in that, wherein when said input data were text, the plain step that generates of the plain and/or self-defined html element of said html element comprised:
With the content of the said text of corresponding html tag mark, plain to be converted into the corresponding html element of said text.
7. method according to claim 5 is characterized in that, wherein when said input data were picture, the plain step that generates of the plain and/or self-defined html element of said html element comprised:
Said picture is uploaded to figure bed server, and from scheming the chained address that the bed server obtains said picture; And,
With the said picture of IMG label of HTML, plain to be converted into the corresponding html element of said picture, the source attribute of wherein said IMG label is the chained address of said picture.
8. method according to claim 5 is characterized in that, wherein when said input data were file, the plain step that generates of the plain and/or self-defined html element of said html element comprised:
Said file is uploaded to file server, and obtain the chained address of said file from file server; And,
With the said file of self-defined html tag mark, plain to be converted into the corresponding self-defined html element of said file, the source attribute of wherein said customized label is the chained address of said file.
9. method according to claim 8 is characterized in that, wherein said file comprises PDF or PPT file, and then said self-defined html element element is self-defining PDF or PPT element.
10. method according to claim 1 is characterized in that, wherein uses the BASE64 encoding and decoding that said html element element and/or self-defined html element element are encoded.
11. method according to claim 10 is characterized in that, the html element element of wherein said coding and/or self-defined html element element are uploaded with the PLAIN text mode and are saved to server side.
12. method according to claim 1 is characterized in that, the control that wherein said submission incident is said text input frame loses focus, or the submit button of said text input frame is clicked.
13. one kind is used to show the arbitrary text input frame method of coding data of preserving according to claim 1-12, it is characterized in that this method comprises:
Plain and/or the self-defined html element of html element of downloading said coding from server side is plain;
Html element element and/or self-defined html element element to said coding carry out the correspondence decoding;
Show that plain corresponding data of said html element and/or self-defined html element are plain.
14. method according to claim 13 is characterized in that, has the chained address of image data in the wherein said html element element, then said step display comprises:
According to the chained address of said picture, download and show said picture.
15. method according to claim 13 is characterized in that, has the chained address of file data in the wherein said self-defined html element element, then said step display:
According to the chained address of said file data, download said file;
Call the corresponding browser plug-in or the said file of corresponding browser side application program displays of said file.
16. the device of the data in the text input frame of preserving webpage is characterized in that,
This device comprises:
Superposed layer generation unit (41), it is configured to after the text input frame of webpage loads completion, generate the superposed layer that covers on the said text input frame;
Data capture unit (42), it is configured to detect the incident to said text input frame input data, obtains said input data;
The plain generation unit (43) of the plain and/or self-defined html element of html element, it is configured to the data type according to said input data, and the plain and/or self-defined html element of html element that in the superposed layer of said text input frame, generates said data is plain;
Submit detecting unit (44) to, it is configured to detect the submission incident to the input data of said text input frame;
Coding uploading unit (45), it is configured to the html element of said generation plain and/or self-defined html element element and encodes, and uploads, preserves the plain and/or self-defined html element element of the html element of said coding to server side.
17. device according to claim 16 is characterized in that, wherein said input data comprise text, picture and/or file.
18. device according to claim 17 is characterized in that, wherein when said input data were text, the plain generation unit of the plain and/or self-defined html element of said html element comprised the text subelement, and it is configured to:
With the content of the said text of corresponding html tag mark, plain to be converted into the corresponding html element of said text.
19. device according to claim 17 is characterized in that, wherein when said input data were picture, the plain generation unit of the plain and/or self-defined html element of said html element comprised the picture subelement, and it is configured to:
Said picture is uploaded to figure bed server, and from scheming the chained address that the bed server obtains said picture; And,
With the said picture of IMG label of HTML, plain to be converted into the corresponding html element of said picture, the source attribute of wherein said IMG label is the chained address of said picture.
20. device according to claim 17 is characterized in that, wherein when said input data were file, the plain generation unit of the plain and/or self-defined html element of said html element comprised the file subelement, and it is configured to:
Said file is uploaded to file server, and obtain the chained address of said file from file server; And,
With the said file of self-defined html tag mark, plain to be converted into the corresponding self-defined html element of said file, the source attribute of wherein said customized label is the chained address of said file.
21. device according to claim 20 is characterized in that, wherein said file comprises PDF or PPT file, and then said self-defined html element element is self-defining PDF or PPT element.
22. one kind is used to show the device according to arbitrary text input frame coded data of preserving of claim 1-12, it is characterized in that this device comprises:
Download unit (51), it is configured to download from server side the plain and/or self-defined html element element of html element of said coding;
Decoding unit (52), it is configured to the html element element of said coding and/or self-defined html element element are carried out the correspondence decoding;
Display unit (53), it is configured to show plain corresponding data of said html element and/or self-defined html element element.
23. device according to claim 22 is characterized in that, has the chained address of image data in the wherein said html element element, then said display unit is configured to:
According to the chained address of said picture, download and show said picture.
24. device according to claim 22 is characterized in that, has the chained address of file data in the wherein said self-defined html element element, then said display unit is configured to:
According to the chained address of said file data, download said file;
Call the corresponding browser plug-in or the said file of corresponding browser side application program displays of said file.
CN201210226522.4A 2012-06-29 2012-06-29 The method and apparatus of data in the Text Entry of preservation and display web page Active CN102831154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210226522.4A CN102831154B (en) 2012-06-29 2012-06-29 The method and apparatus of data in the Text Entry of preservation and display web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210226522.4A CN102831154B (en) 2012-06-29 2012-06-29 The method and apparatus of data in the Text Entry of preservation and display web page

Publications (2)

Publication Number Publication Date
CN102831154A true CN102831154A (en) 2012-12-19
CN102831154B CN102831154B (en) 2015-11-25

Family

ID=47334291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210226522.4A Active CN102831154B (en) 2012-06-29 2012-06-29 The method and apparatus of data in the Text Entry of preservation and display web page

Country Status (1)

Country Link
CN (1) CN102831154B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383629A (en) * 2013-06-27 2013-11-06 广州市动景计算机科技有限公司 Input method and device based on HTML5
CN105205007A (en) * 2014-06-30 2015-12-30 北京金山安全软件有限公司 Data uploading method and device
CN105915657A (en) * 2016-06-30 2016-08-31 北京奇虎科技有限公司 Data synchronization method and device, and client
CN107832317A (en) * 2017-06-20 2018-03-23 越野族(北京)传媒科技有限公司 Content edition method and editing machine based on webpage
CN109189511A (en) * 2018-06-27 2019-01-11 张苗苗 A kind of tool and its method for customizing customizing browsing device net page for user
CN109885799A (en) * 2019-02-21 2019-06-14 浙江口碑网络技术有限公司 Content delivery method and device
CN111338739A (en) * 2020-03-17 2020-06-26 北京车智赢科技有限公司 Page content processing method, page content display method and page content display system
CN112861483A (en) * 2021-02-07 2021-05-28 吉林省科学技术信息研究所 Online editing method for demonstration manuscript

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926532A (en) * 2004-02-27 2007-03-07 夏普株式会社 Data processing device capable of performing data transmission by a predetermined access method
CN1983933A (en) * 2005-11-17 2007-06-20 电子湾有限公司 Method and system to transmit data
CN101178716A (en) * 2007-11-19 2008-05-14 优视动景(北京)技术服务有限公司 Method of micro-browsers processing JavaScript and micro-browsers thereof
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
CN101636733A (en) * 2007-03-23 2010-01-27 索尼爱立信移动通讯股份有限公司 Inline editing of web page input fields using a visibly prominent field

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926532A (en) * 2004-02-27 2007-03-07 夏普株式会社 Data processing device capable of performing data transmission by a predetermined access method
CN1983933A (en) * 2005-11-17 2007-06-20 电子湾有限公司 Method and system to transmit data
CN101636733A (en) * 2007-03-23 2010-01-27 索尼爱立信移动通讯股份有限公司 Inline editing of web page input fields using a visibly prominent field
CN101178716A (en) * 2007-11-19 2008-05-14 优视动景(北京)技术服务有限公司 Method of micro-browsers processing JavaScript and micro-browsers thereof
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103383629A (en) * 2013-06-27 2013-11-06 广州市动景计算机科技有限公司 Input method and device based on HTML5
CN103383629B (en) * 2013-06-27 2017-05-31 广州爱九游信息技术有限公司 A kind of input method and device based on HTML5
CN105205007A (en) * 2014-06-30 2015-12-30 北京金山安全软件有限公司 Data uploading method and device
CN105205007B (en) * 2014-06-30 2018-03-30 北京金山安全软件有限公司 Data uploading method and device
CN105915657A (en) * 2016-06-30 2016-08-31 北京奇虎科技有限公司 Data synchronization method and device, and client
CN105915657B (en) * 2016-06-30 2020-07-24 北京奇虎科技有限公司 Data synchronization method and device and client
CN107832317A (en) * 2017-06-20 2018-03-23 越野族(北京)传媒科技有限公司 Content edition method and editing machine based on webpage
CN109189511A (en) * 2018-06-27 2019-01-11 张苗苗 A kind of tool and its method for customizing customizing browsing device net page for user
CN109885799A (en) * 2019-02-21 2019-06-14 浙江口碑网络技术有限公司 Content delivery method and device
CN111338739A (en) * 2020-03-17 2020-06-26 北京车智赢科技有限公司 Page content processing method, page content display method and page content display system
CN111338739B (en) * 2020-03-17 2024-05-31 北京车智赢科技有限公司 Page content processing method, page content display method and page content display system
CN112861483A (en) * 2021-02-07 2021-05-28 吉林省科学技术信息研究所 Online editing method for demonstration manuscript

Also Published As

Publication number Publication date
CN102831154B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN102831154A (en) Method and device for storing and displaying data in text input box of webpage
US8403222B2 (en) Method of enabling the downloading of content
US9241030B2 (en) Scanner web service for web application and scanner driver communication
CN103092941B (en) The method and apparatus presenting content on an electronic device
CN105739963B (en) The method and apparatus for generating webpage
US9563449B2 (en) Mobilizing a web application to take advantage of a native device capability
CN102473171A (en) Communicating information about a local machine to a browser application
US10623354B2 (en) Preview of compressed file email attachments
CN111104631B (en) Webp picture format conversion method
CN102414681A (en) Methods and systems for processing document object models (DOM) to process video content
CN105335925A (en) Picture clipping method and browser device
CN102799371A (en) Extended data input device and method
US20170168997A1 (en) System and computer-implemented method for incorporating an image into a page of content for transmission from a web-site
WO2014090060A1 (en) Method and apparatus for processing a webpage
CN110471656B (en) Component hierarchy adjustment method and device
CN113382083A (en) Webpage screenshot method and device
JP2004220260A (en) Web page browsing system and image distribution server
CN104156421B (en) The page shows method, apparatus and system
CN116827637B (en) Canvas-based data encryption transmission method, system, equipment and medium
US10178268B2 (en) Communication system, server device, client device, and non-transitory computer readable medium
CN109918605B (en) Method for generating dynamic picture based on content distribution network
US10949488B1 (en) Image quality optimization during remote isolated sessions
JP2009211278A (en) Retrieval system using mobile terminal, and its retrieval method
US20140177006A1 (en) Carrier images
CN108932330B (en) Data display method and device

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

Effective date of registration: 20220803

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group 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.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230713

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing 360 Zhiling Technology Co.,Ltd.

Country or region after: China

Address before: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee before: Beijing Hongxiang Technical Service Co.,Ltd.

Country or region before: China