CN102622437A - Method and system for supporting remote document conversion by browsers - Google Patents

Method and system for supporting remote document conversion by browsers Download PDF

Info

Publication number
CN102622437A
CN102622437A CN2012100502973A CN201210050297A CN102622437A CN 102622437 A CN102622437 A CN 102622437A CN 2012100502973 A CN2012100502973 A CN 2012100502973A CN 201210050297 A CN201210050297 A CN 201210050297A CN 102622437 A CN102622437 A CN 102622437A
Authority
CN
China
Prior art keywords
document
browser
format
supported
remote
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.)
Pending
Application number
CN2012100502973A
Other languages
Chinese (zh)
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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN2012100502973A priority Critical patent/CN102622437A/en
Publication of CN102622437A publication Critical patent/CN102622437A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention suitable for the field of embedded systems provides a method and a system for supporting remote document conversion by browsers in the embedded systems (such as a mobile phone, a set-top box and a digital television all-in-one machine). The method comprises the following steps: obtaining a document; judging if the document format of the document is supported by the browsers; and when the document format of the document is not supported by the browsers, converting the document into an HTML document. According to the method and the system, the document with the document format unsupported by the browsers can be converted into the HTML document through front-end conversion, so that the browsers can be conveniently used to browse the document.

Description

Browser is supported the method and system of remote document conversion
Technical field
The present invention relates to the built-in browser field, relate in particular to the method and system that a kind of browser that is applied to embedded system is supported the remote document conversion.
Background technology
Current, the Web application technology is very ripe, and Internet technology also is with rapid changepl. never-ending changes and improvements, and browser is exactly based on network a kind of client.At PC (personal computer; PC) browser on is because operating system has carried corresponding local the application; When browser runs into the document (for example word, pdf, txt and zip/rar compressed format etc.) of some specific formats, can resolve through the local application of method startup of calling local service and browse.Yet for embedded system (like mobile phone, STB, digital TV integrated machine etc.), it is difficult that said method implements.At first, it is a pretty troublesome thing that corresponding local application is installed, and the user need be through a plurality of corresponding application program of network download and successfully installed, and not necessarily all embedded systems all support local the application to install.Secondly, because said application program expense is bigger, therefore higher to the performance requirement of system.When the user used said application program to open bigger slightly file or a plurality of file, the delay that occurs easily causing inadequately because of system resource even the phenomenon of deadlock made the user experience extreme difference.
Therefore, need badly and want a kind of new method to reduce the requirement of document browsing, and strengthen satisfaction of users system performance.
Summary of the invention
For solving the problems of the technologies described above the following technical scheme of special proposition:
Embodiments of the invention provide a kind of browser to support the method for remote document conversion, are applied to embedded system, it is characterized in that said method comprises following steps: obtain document; Judge whether said browser supports the document format of said document; And when said browser is not supported the document format of said document, convert said document into html format document.
More excellent, said method further comprises following steps: resolve said html format document; And utilize the said html format document after said browser display is resolved.
More excellent, in said method, when said browser is supported the document format of said document, utilize the said document of said browser direct display.
More excellent, in said method, the step that said document is converted into said html format document comprises following steps: convert said document into initial html format document; And at said initial html format document insertion self-defined information, to produce said html format document.
More excellent, in said method, said self-defined information comprises picture and/or literal.
Embodiments of the invention provide a kind of browser to support the system of remote document conversion in addition; It is characterized in that; Said system comprises with lower device: the document change server is used for converting the document with the unsupported document format of said browser into html format document; Wherein, said browser obtains said document, and when the document format of judging said document is not supported, said document is sent to said document change server.
More excellent, in said system, said browser is sent to said document change server through HTTP/HTTPS agreement or self-defined Extended Protocol with said document.
More excellent; In said system; Said browser comprises document manager, and whether the document format that said document manager is used to judge said document by said browser support, and when the document format of said document is not supported, said document is sent to said document change server.
The method and system that above-described browser supports remote document to change can will have browser through the front end conversion and not support the document of form to convert html format document to, thereby be convenient to utilize browser to browse said document.
Description of drawings
Fig. 1 is a block schematic diagram of supporting the system of remote document conversion according to the browser of one embodiment of the invention;
Fig. 2 is a process flow diagram of supporting the method for remote document conversion according to the browser of one embodiment of the invention;
Fig. 3 is system's concrete action flow chart during method in execution graph 2 among Fig. 1.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
HTML (Hyper Text Mark-up Language) is HTML or HTML, is most widely used language on the present network, also is the main language that constitutes web document.Compare with WAP (Wireless Application Protocol, i.e. WAP) form, the html document agreement can be supported abundant content; Can cut CSS, JavaScript script; And can dynamically update, extendability is stronger, and it is also abundanter that the user represents form.
Fig. 1 is a block schematic diagram of supporting the system 10 of remote document conversion according to the browser of one embodiment of the invention.As shown in Figure 1, said system 10 comprises browser 102 and document change server 104.Browser 102 needs automatically which document format of monitoring identification not to support, and the document that initiatively will have a unsupported document format (for example word, pdf, txt and zip/rar compressed format etc.) sends to document change server 104 through HTTP/HTTPS agreement or self-defined Extended Protocol.104 of document change server convert said document to html format and send back to browser 102 again, so browser 102 both can as long as resolve html format document.Said html format document can use CSS CSS and Javascript script, also can insert self-defined content so that additional value-added service (like self-defined contents such as advertisement, information announcement) to be provided at html format document simultaneously.
Wherein, the document manager 102a in the browser 102 is the manager of a self-defined realization, and different browsers can be realized with diverse ways.The major function of document manager 102a is to judge whether document format is supported by browser, and can carry out network interaction with the document change server 104 of front end, to realize the purpose of transferring documents.
Fig. 2 is a process flow diagram of supporting the method 20 of remote document conversion according to the browser of one embodiment of the invention, and said method comprises following steps:
Step S202: beginning;
Step S204: obtain document;
Step S206: whether the document format of judging said document is by the browser support, if do not support, execution in step S208 is if support execution in step S212;
Step S208: the document that said document is converted to html format;
Step S210: the document of resolving said html format;
Step S212: display document;
Step S214: finish.
Please in the lump with reference to figure 1 and Fig. 2, in step S206, when the document format of judging said document was not browser 102 supports, document manager 102a was sent to document change server 104 with said document.In step S208, document change server 104 converts said document into initial html format document earlier, carries out personalized customization subsequently, for example inserts self-defined informations such as picture and/or literal, and the expansion of rising in value is to form final html format document.Subsequently, browser 102 is resolved said html format document (step S210) and is shown (step S212).
Fig. 3 is system's concrete action flow chart during method in execution graph 2 among Fig. 1, and the action that browser 102 and document change server 104 are carried out in the said system comprises following steps:
Step S302: beginning;
Step S304: obtain document;
Step S306: whether the document format of judging said document is by the browser support, if do not support, execution in step S308 is if support execution in step S322;
Step S308: start document manager document is sent to the document change server;
Step S310: receive document;
Step S312: convert said document to html format, and insert self-defined information;
Step S314: said html format document is fed back to browser;
Step S316: get into and wait for document change server return message;
Step S318: whether return to document, if execution in step S320 if not, goes to step S316;
Step S320: resolve said html format document;
Step S322: display document;
Step S324: finish.
In above-mentioned steps, step S302, S304, S306, S308, S316, S318, S320, S322 are carried out by browser 102, and step S310, S312, S314 are then carried out by document change server 104.
Through above method and system, can realize the document with the unsupported document format of browser is represented, finally on browser, appear through html format.In addition, after converting html format into, can also in said html document, insert self-defined information (for example picture and/or literal etc.) as expansion of content or advertisement etc., thereby have added value.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a browser is supported the method that remote document is changed, and is applied to embedded system, it is characterized in that said method comprises following steps:
Obtain document;
Judge whether said browser supports the document format of said document; And
When said browser is not supported the document format of said document, convert said document into html format document.
2. browser as claimed in claim 1 is supported the method for remote document conversion, it is characterized in that said method further comprises following steps:
Resolve said html format document; And
Utilize the said html format document after said browser display is resolved.
3. browser as claimed in claim 1 is supported the method for remote document conversion, it is characterized in that, when said browser is supported the document format of said document, utilizes the said document of said browser direct display.
4. support the method for remote document conversion like each described browser in the claim 1 to 3, it is characterized in that the step that said document is converted into said html format document comprises following steps:
Convert said document into initial html format document; And
Insert self-defined information at said initial html format document, to produce said html format document.
5. browser as claimed in claim 4 is supported the method for remote document conversion, it is characterized in that said self-defined information comprises picture and/or literal.
6. a browser is supported the system that remote document is changed, and it is characterized in that said system comprises with lower device:
The document change server is used for converting the document with the unsupported document format of said browser into html format document;
Wherein, said browser obtains said document, and when the document format of judging said document is not supported, said document is sent to said document change server.
7. browser as claimed in claim 6 is supported the system of remote document conversion, it is characterized in that after converting said document into said html format document, said document change server more inserts self-defined information in said html format document.
8. browser as claimed in claim 7 is supported the system of remote document conversion, it is characterized in that said self-defined information comprises picture and/or literal.
9. support the system of remote document conversion like each described browser in the claim 6 to 8, it is characterized in that said browser is sent to said document change server through HTTP/HTTPS agreement or self-defined Extended Protocol with said document.
10. browser as claimed in claim 9 is supported the system of remote document conversion; It is characterized in that; Said browser comprises document manager; Whether the document format that said document manager is used to judge said document by said browser support, and when the document format of said document is not supported, said document is sent to said document change server.
CN2012100502973A 2012-03-01 2012-03-01 Method and system for supporting remote document conversion by browsers Pending CN102622437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100502973A CN102622437A (en) 2012-03-01 2012-03-01 Method and system for supporting remote document conversion by browsers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100502973A CN102622437A (en) 2012-03-01 2012-03-01 Method and system for supporting remote document conversion by browsers

Publications (1)

Publication Number Publication Date
CN102622437A true CN102622437A (en) 2012-08-01

Family

ID=46562356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100502973A Pending CN102622437A (en) 2012-03-01 2012-03-01 Method and system for supporting remote document conversion by browsers

Country Status (1)

Country Link
CN (1) CN102622437A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598153A (en) * 2019-09-12 2019-12-20 南京红松信息技术有限公司 Method for generating word document in specified format based on user side browser
CN110956016A (en) * 2018-09-25 2020-04-03 珠海金山办公软件有限公司 Document content format adjusting method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956016A (en) * 2018-09-25 2020-04-03 珠海金山办公软件有限公司 Document content format adjusting method and device and electronic equipment
CN110956016B (en) * 2018-09-25 2024-03-22 珠海金山办公软件有限公司 Document content format adjusting method and device and electronic equipment
CN110598153A (en) * 2019-09-12 2019-12-20 南京红松信息技术有限公司 Method for generating word document in specified format based on user side browser
CN110598153B (en) * 2019-09-12 2022-11-15 南京红松信息技术有限公司 Method for generating word document in specified format based on user side browser

Similar Documents

Publication Publication Date Title
CN101296255B (en) Web page browsing method, system, proxy server and mobile phone browser
CN105718540B (en) Data loading method and device
CN102722551B (en) Intelligent switching method and system for browser kernels
CN101202755A (en) System, method and device for displaying picture of mobile terminal
CN110234080B (en) Information display method, device and system
CN102487402A (en) Method, device and system for realizing webpage rendering by server side
CN103389969A (en) Method, device and system for previewing PDF (portable document format) file on mobile terminal
US20090201908A1 (en) System and method for flexible data retrieval for mobile communication devices
KR20070092486A (en) Method and system for providing dynamic wall paper service based contents
CN103179159B (en) A kind of method and terminal browser processing third-party application
TWI656768B (en) Method, system, client device and server for providing internet application service
CN102916994A (en) Page viewing method, server and terminal
CN103428205B (en) A kind of information broadcasting system and method based on Android platform
US20150281334A1 (en) Information processing terminal and information processing method
KR100698324B1 (en) Device and method for forwarding WAP contents using MMS message
CN103618779A (en) Method and system for resource sharing
CN101620621A (en) Method and system for segmenting web page
CN102622437A (en) Method and system for supporting remote document conversion by browsers
JP2009211278A (en) Retrieval system using mobile terminal, and its retrieval method
CN103853790A (en) Method and device for processing upload information of mobile terminal browser
CN104077117A (en) Information processing method and control point equipment
CN101478599B (en) JAVA program installation method and device in mobile communication terminal thereof
Bae et al. Adaptive transformation for a scalable user interface framework supporting multi-screen services
CN102664959A (en) Mobile platform wireless middleware
JP2002342213A (en) Method of providing contents

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120801