Method and system of realizing online previewing document on server on Android device

A server and server address technology, applied in the direction of instruments, program control design, natural language data processing, etc., can solve the problems of unusable, poor versatility, etc., and achieve the effect of high security, difficult to modify, and high reading performance

Inactive Publication Date: 2017-12-12
厦门天锐科技股份有限公司
View PDF1 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Its disadvantage is that it cannot be used on Android devices that do not support the Flash playback function, and requires the help of a third-party Flash browser program, which has poor versatility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system of realizing online previewing document on server on Android device
  • Method and system of realizing online previewing document on server on Android device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions and beneficial effects of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0032] The present invention provides a method for realizing online preview of documents on a server on an Android device. When implementing it, it must first ensure that the server and the Android terminal can communicate successfully, and that the two can receive and send data to each other. At this time, the Android terminal has displayed the A series of documents obtained by the server; the server and the Android terminal agree on a well-known data object, assuming that the object is named Document, and set the Document object to contain the following parameters: name: the name of the document; url: the address of the server where the document is located; uuid : A unique identifier for this document. Cooperate figure 2 As shown, the method includes the following steps:

[0033] Step 1. All documents displayed o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method of realizing online previewing a document on a server on an Android device. The method comprises the steps of sending a data object, which corresponds to the document needing to be online previewed, to the server by the Android terminal; parsing the data object by the server to obtain a unique identifier of the document, obtaining the corresponding document through database querying, and converting the same into a PDF format; writing a server address, where the document is located, into the data object by the server, and then sending the same to the Android terminal; receiving and parsing the data object, returned by the server, by the Android terminal to obtain the server address where the PDF-format document is located; acquiring a binary stream of the document from the server address by the Android terminal through Java technology, and utilizing an open-source program plug-in, which can read the PDF format, to display the PDF binary-stream to complete document display. The method can realize online previewing the document on the server by the Android device, is simple to realize, and improves the reading experience. The invention also discloses a system of realizing online previewing the document on the server on the Android device.

Description

technical field [0001] The invention belongs to the field of Android-related network information technology, and specifically relates to a method and system for online previewing documents on a server on an Android device. Background technique [0002] With the continuous development of technology, Android devices have gained popularity, and the demand for online preview of documents on these Android devices is increasing. Most of the current document online previews are realized with the help of browsers and Flash plug-ins. The specific implementation steps are: [0003] (1) convert various documents into swf format documents at first; [0004] (2) Use Flash technology to make a Flash playback interface for playing and previewing, and embed it in the webpage; [0005] (3) Load the preview file in swf format into the prepared Flash playback interface; [0006] (4) Displaying the Flash playback interface loaded with the preview document in swf format on the Android device,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/21G06F9/445
CPCG06F9/44521G06F40/106
Inventor 涂高元邱志斌蔡官香郭永兴陆云燕陈雅贤
Owner 厦门天锐科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products