File conversion method and device and file transmission system

A file conversion and text technology, applied in special data processing applications, instruments, website content management, etc., can solve the problem of single way to reduce the data volume of text files, and achieve the effect of enriching the data volume

Active Publication Date: 2017-05-31
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem that the method of reducing the data volume of text files in the prior art is relatively simple, and the browser must use a corresponding decompression algorithm to decompress the compressed text files before displaying the webpage according to the decompressed text files , the embodiment of the present invention provides a file conversion method, device and file transmission system

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 conversion method and device and file transmission system
  • File conversion method and device and file transmission system
  • File conversion method and device and file transmission system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0047] The "plurality" mentioned herein means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0048] For the convenience of understanding, the terms involved in the embodiments of the present invention are explained below.

[0049] Color Mode: A way of recording the color of an image, usually a certain color in numerical form. Common color modes include RGB (Red-Green-Blue, red-green-blue) mode, RGBA (Red-Green-Blue-Alpha, red-green-blue-...

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 conversion method and device and a file transmission system and belongs to the field of file compression. The file conversion method comprises the steps that text contents in target text files are converted into numerical value sequences in a predetermined character encoding mode, wherein numerical values in the numerical value sequences belong to a predetermined color value range interval; the numerical value sequences are divided into a plurality of color n tuples, and each color n tuple contains m adjacent numerical values in the numerical value sequences and is used for indicating the color of one pixel point, wherein n is greater than or equal to 3; target pictures generated according to the color n tuples are stored, and the pixel points in the target pictures are generated according to the color n tuples. A file compression scheme for converting text files into pictures is provided under the situation that a browser does not support an uncompressing algorithm, the compression effect similar to an existing compression algorithm is achieved, accordingly modes of decreasing text file data volume is enriched, and it is ensured that the browser can perform normal display of webpage contents.

Description

technical field [0001] The embodiments of the present invention relate to the field of file compression, in particular to a file conversion method, device and file transmission system. Background technique [0002] In the process of displaying the webpage, the browser needs to download the script text file and style text file corresponding to the webpage from the server, such as JavaScript (Java script) text file and CSS (Cascading Style Sheets, Cascading Style Sheet) text file. By parsing these text files, the browser controls the logic and display style of the web page. [0003] In order to increase the transmission rate of text files and thereby speed up the display speed of web pages, before the server sends the text files to the browser, it needs to use a compression algorithm to compress the text files, and transmit the compressed text files to the browser, thereby reducing the transmitted data Correspondingly, the browser uses a decompression algorithm to decompress ...

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/30
CPCG06F16/1744G06F16/1794G06F16/986
Inventor 黄佳生
Owner TENCENT TECH (SHENZHEN) CO LTD
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