Check patentability & draft patents in minutes with Patsnap Eureka AI!

File merging method and device

A file and sub-file technology, applied in the field of Web development, can solve the problems of tediousness, low efficiency, and heavy manual workload, and achieve the effects of improving efficiency, reducing errors, and reducing manual workload

Inactive Publication Date: 2014-11-26
XIAOMI INC
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The merging of many scattered file blocks is a cumbersome process, with a lot of manual work and low efficiency. This is a common problem in the front-end development process. However, there is no good solution in related technologies.

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 merging method and device
  • File merging method and device
  • File merging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0056] figure 1 It is a flow chart of a method for merging files according to an exemplary embodiment. see figure 1 As shown, the method may include:

[0057] In step S101, when a browser accesses a webpage, the server receives a request for accessing a target file, wherein the target file is a file required by the browser to open the webpage.

[0058] In step S102, it is determined whether ...

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 embodiment of the invention discloses a file merging method and device. The file merging method comprises the steps that when a browser accesses a webpage, a server receives a request for accessing a target file, wherein the target file is a file needed by the browser for opening the webpage; whether the target file is formed by merging subfiles is determined; if the target file is formed by merging the subfiles, the merging rule of the target file is obtained, the subfiles are read according to the merging rule of the target file, the target file is synthesized and output, and the browser can execute the target file to open the webpage conveniently. According to the file merging method and device, whether the target file needs to be formed by merging the subfiles is judged firstly, and if yes, the subfiles are automatically read and synthesized according to the merging rule of the target file. According to the scheme, the workload of manual work is reduced greatly, errors are reduced, and file merging efficiency is improved.

Description

technical field [0001] The present disclosure relates to the technical field of Web development, in particular to a file merging method and device. Background technique [0002] In the web front-end development process of the website, resources such as javascript and css need to be used. The development of the website often makes resources such as javascript more and more bloated. In this case, resources such as javascript can be divided to correspond to multiple sub-files (or called file blocks, or components). Each sub-file can be handed over to different developers to develop different functions, and finally these sub-files are packaged together before going online. That is to say, when it is necessary to implement a web page with the functions contained in multiple sub-files, it is necessary to manually merge (or package) these sub-files together, thereby merging and generating a valid file, which is then displayed by the browser implement. In this way, the webpage pr...

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
IPC IPC(8): G06F9/44
Inventor 漆昱恒潘俊江岱霖
Owner XIAOMI INC
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More