File trimming method, terminal and server

A server and trimming technology, which is applied in the direction of instruments, word processing, special data processing applications, etc., can solve the problems of large resources and occupation, and achieve the effect of improving the efficiency of trimming

Active Publication Date: 2013-06-12
XIAOMI INC
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the terminal needs to detect the edge trimming area of ​​each page in the PDF file in real time according to the algorithm, so that the edge trimming operation of the PDF file takes up a lot of resources, the embodiment of the present invention provides a file edge trimming method, a terminal and server

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
  • File trimming method, terminal and server
  • File trimming method, terminal and server
  • File trimming method, terminal and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Please refer to figure 1 , which shows the method flow chart of the file trimming method provided in Embodiment 1 of the present invention. The file trimming method can be applied to a system including a terminal and a server. The terminal can be a smart TV, a smart phone, or a tablet computer, etc. Wait. In the embodiment of the present invention, the application of the method in the terminal is taken as an example for illustration. The file trimming method includes:

[0034] Step 102: Send the file identifier of the corresponding file, the file includes at least one page;

[0035] The terminal sends the file identifier to the server, and the file identifier can be used to uniquely identify a file.

[0036] Step 104: Receive the edge trimming data packet fed back according to the file identification, where the edge trimming data packet includes edge trimming data of at least one page in the file;

[0037] After the server receives the file identification of the corr...

Embodiment 2

[0042] Please refer to figure 2 , which shows the method flow chart of the file edge trimming method provided in Embodiment 2 of the present invention. The file edge trimming method can be applied to a system including a terminal and a server. The terminal can be a smart TV, a smart phone, or a tablet computer, etc. Wait. In the embodiment of the present invention, the application of the method in the server is used as an example for illustration. The file trimming method includes:

[0043] Step 202: Receive the file identification of the corresponding file, the file includes at least one page;

[0044] The server receives the file identifier sent by the terminal, and the file identifier can be used to uniquely identify a file.

[0045] Step 204: Detect whether there is an edge trimming packet of the file corresponding to the file identifier locally, if it is detected that there is an edge trimming packet of the file corresponding to the file identifier locally, then perfor...

Embodiment 3

[0051]Please refer to image 3 , which shows the method flow chart of the file trimming method provided in Embodiment 3 of the present invention, the file trimming method can be applied to a system including a terminal and a server, and the terminal can be a smart TV, a smart phone, or a tablet computer, etc. Wait. In combination with Embodiment 1 and Embodiment 2, this embodiment of the present invention is described by taking the method as an example where the method is applied to a terminal and a server at the same time, and the server in the embodiment of the present invention generates a trimming data packet by receiving the page information collected by the terminal, and Feedback the trimmed data packet to the terminal. The file trimming methods include:

[0052] Step 302: the terminal sends the file identifier of the corresponding file, and the file includes at least one page;

[0053] Wherein, the terminal sends the file identifier of the corresponding file to the s...

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 file trimming method, a terminal and a server, and belongs to the technical field of computers, particularly relates to the field of electronic document display. The file trimming method comprises the following steps of sending a file identification of a corresponding file, wherein the file comprises at least one page; receiving a trimming data package which is fed back by the file identification, wherein the trimming data package comprises trimming data of at least one page in the file; and trimming the file according to the trimming data package. The terminal comprises a first sending module, a receiving module and a trimming module. The server comprises a third receiving module, a first detection module and a feedback module. The file trimming method, the terminal and the server solve the problem that a large amount of resources are occupied by trimming the file due to the fact that a trimming area of each page in the file needs to be detected in real time according to an algorithm, and achieve the effect that the trimming efficiency of the file is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to the field of displaying electronic documents, in particular to a method for trimming edges of documents, a terminal and a server. Background technique [0002] PDF (Portable Document Format) is an electronic file format that is applicable to all operating systems. Therefore, PDF has become an ideal document format for Internet electronic document distribution and digital information dissemination. [0003] When reading a PDF file on a terminal, because the PDF file has certain blank page margins, the blank page margins will occupy the display area of ​​the interface, resulting in the display area of ​​the text part being too small, which affects the reading effect. This situation is especially serious in scenarios where the screen display areas of handheld terminals such as smart phones, MP3, MP4 and e-book readers are small. In order to expand the display area of ​​th...

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/21G06F17/30
CPCG06F16/9574G06F40/106G06F40/131G06F16/00G06F40/10G06F40/103
Inventor 仇睿恒
Owner XIAOMI INC
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