CN107734022A - Static resource document down loading method, mobile terminal and computer-readable recording medium - Google Patents

Static resource document down loading method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107734022A
CN107734022A CN201710927731.4A CN201710927731A CN107734022A CN 107734022 A CN107734022 A CN 107734022A CN 201710927731 A CN201710927731 A CN 201710927731A CN 107734022 A CN107734022 A CN 107734022A
Authority
CN
China
Prior art keywords
static resource
resource file
server
file
static
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.)
Granted
Application number
CN201710927731.4A
Other languages
Chinese (zh)
Other versions
CN107734022B (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710927731.4A priority Critical patent/CN107734022B/en
Publication of CN107734022A publication Critical patent/CN107734022A/en
Application granted granted Critical
Publication of CN107734022B publication Critical patent/CN107734022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of static resource document down loading method, mobile terminal and computer-readable recording medium, the static resource document down loading method comprises the following steps, in program application launch, the request of static resource file download is sent to server, so that the server is when some index numbers in being asked based on the static resource file download get corresponding some static resource files, packing compression is carried out to some static resource files, to obtain static resource compressing file bag, and the static resource compressing file bag is back to mobile terminal;The static resource compressing file bag that the server is returned based on static resource file download request is received, and parses the static resource compressing file bag, to obtain some static resource files.The present invention is significantly reduced the download time of static resource file, improves the toggle speed of program application by reducing the parsing time of server, removing the unnecessary Connection Time and reducing volume of transmitted data.

Description

Static resource document down loading method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to Internet technical field, more particularly to a kind of static resource document down loading method, mobile terminal and Computer-readable recording medium.
Background technology
With the fast development of mobile terminal, the popularity rate of mobile terminal also more and more higher, by pacifying in mobile terminal Program application is filled, to realize the Function Extension of mobile terminal.Mobile terminal is when startup program is applied, it is necessary to from background server It is middle to download the static resource files such as greater number of resource picture and resource icon.Because static resource file is more, it is necessary to consume Expense longer time could complete the download of static resource file.
At present, static resource file is realized by CDN (Content Delivery Network, content distributing network) Download and accelerate, reduce the download time of static resource file.But each static resource file is individually downloaded, and is downloaded every time Journey is required to the connection established with server, it is necessary to expend the more Connection Time, in addition, under each static resource file is independent Carry, the space that can be compressed is smaller, and volume of transmitted data is larger, it is necessary to expend more biography after each static resource file superposition The defeated time, cause the download time of static resource file longer, influence the toggle speed of program application.
The above is only used for auxiliary and understands technical scheme, does not represent and recognizes that the above is existing skill Art.
The content of the invention
It is a primary object of the present invention to provide a kind of static resource document down loading method, mobile terminal and computer-readable Storage medium, it is intended to solve the download time for how reducing static resource file, so as to improve the toggle speed of program application Technical problem.
To achieve the above object, the present invention provides a kind of static resource document down loading method, under the static resource file Support method comprises the following steps:
In program application launch, the request of static resource file download is sent to server, so that the server is in base When some index numbers in static resource file download request get corresponding some static resource files, to institute State some static resource files and carry out packing compression, to obtain static resource compressing file bag, and by the static resource file Compressed package is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and The static resource compressing file bag is parsed, to obtain some static resource files.
Alternatively, before the step of transmission static resource file download request to server, in addition to:
In program application launch, judge whether be cached with static resource file in default storage region;
If being cached with static resource file in default storage region, the static money of caching is obtained from default storage region Source file;
If uncached in default storage region have static resource file, perform described to server transmission static resource text The step of part download request;
The parsing static resource compressing file bag, the step of to obtain some static resource files after:
By some static resource file caches to the default storage region.
Alternatively, it is described caching is obtained from default storage region static resource file the step of before, in addition to:
If being cached with static resource file in default storage region, renewal checking interface is called to obtain in the server The timestamp of static resource File Index Table;
Judge whether the static resource File Index Table in the server has updated according to the timestamp
If the static resource File Index Table in the server has updated, perform described to the static money of server transmission The step of source file download request;
If the static resource File Index Table in the server does not update, obtained described in execution from default storage region The step of taking the static resource file of caching.
Alternatively, the static resource document down loading method also includes:
With interval preset time call renewal checking interface obtain static resource File Index Table in the server when Between stab, and judge whether the static resource File Index Table in the server has updated according to the timestamp;
When static resource File Index Table in the server has updated, sent to server under static resource file Request is carried, and receives the static resource compressing file bag that the server is returned based on static resource file download request;
The static resource compressing file bag is parsed, to obtain newest static resource file, and by default storage region The static resource file of caching replaces with the newest static resource file.
Alternatively, it is described to send the request of static resource file download to server, and the server is received based on described Before the step of static resource compressing file bag that the request of static resource file download returns, in addition to:
When static resource File Index Table in the server has updated, whether detection current network conditions are wireless Network environment;
When it is wireless network environment to detect current network conditions, perform described to server transmission static resource file Download request, and receive the static resource compressing file bag that the server is returned based on static resource file download request The step of.
Alternatively, before the step of transmission static resource file download request to server, in addition to:
In program application launch, judge whether system spare free memory is more than in needed for operation described program application Deposit;
If system spare free memory performs described to server transmission more than internal memory needed for operation described program application The step of static resource file download is asked;
If system spare free memory is less than or equal to internal memory needed for operation described program application, cleaning operation program should With to discharge Installed System Memory.
Alternatively, the cleaning operation program application, includes the step of to discharge Installed System Memory:
The EMS memory occupation value and frequency of use applied according to each operation program, it is determined that the cleaning of each operation program application Sequentially;
According to operation program application corresponding to the cleaning successively of cleaning order, to discharge Installed System Memory, until system remains Remaining free memory is more than internal memory needed for operation described program application.
Alternatively, the EMS memory occupation value and frequency of use of each operation program application of the basis, it is determined that each running journey The step of cleaning order of sequence application, includes:
The EMS memory occupation value and frequency of use applied according to each operation program, calculate the cleaning of each operation program application Fraction;
The cleaning fraction applied according to each operation program determines the cleaning order that each operation program is applied.
In addition, to achieve the above object, the present invention also provides a kind of mobile terminal, and the mobile terminal includes:Memory, Processor and the static resource file download program that is stored on the memory and can run on the processor, it is described quiet State resource file realizes following steps when downloading by the computing device:
In program application launch, the request of static resource file download is sent to server, so that the server is in base When some index numbers in static resource file download request get corresponding some static resource files, to institute State some static resource files and carry out packing compression, to obtain static resource compressing file bag, and by the static resource file Compressed package is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and The static resource compressing file bag is parsed, to obtain some static resource files.
The present invention also provides a kind of computer-readable recording medium, and static state is stored with the computer-readable recording medium Resource file downloads, and the static resource file download program realizes following steps when being executed by processor:
In program application launch, the request of static resource file download is sent to server, so that the server is in base When some index numbers in static resource file download request get corresponding some static resource files, to institute State some static resource files and carry out packing compression, to obtain static resource compressing file bag, and by the static resource file Compressed package is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and The static resource compressing file bag is parsed, to obtain some static resource files.
The present invention provides a kind of static resource document down loading method, mobile terminal and computer-readable recording medium, in journey When sequence application starts, the request of static resource file download is sent to server, so that the server is based on static resource text When some index numbers in part download request get corresponding some static resource files, to some static resource files Packing compression is carried out, to obtain static resource compressing file bag, and the static resource compressing file bag is back to mobile terminal, Then mobile terminal receives the static resource compressing file bag that the server is returned based on static resource file download request, and The static resource compressing file bag is parsed, to obtain some static resource files, this programme is needed based on program application launch All static resource files establish static resource File Index Table, reduce the parsing time of server, in addition by static resource text Part is all packed, and is repeatedly downloaded and is changed to once download, removes the unnecessary Connection Time, meanwhile, it is quiet after compression packing State resource file, volume of transmitted data can be reduced, due to reducing the parsing time of server, eliminating the unnecessary Connection Time With reduce volume of transmitted data, therefore greatly reduce the download time of static resource file, improve the startup of program application Speed.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the schematic flow sheet of static resource document down loading method first embodiment of the present invention;
Fig. 3 is the schematic flow sheet of static resource document down loading method second embodiment of the present invention;
Fig. 4 is the schematic flow sheet of static resource document down loading method fourth embodiment of the present invention;
Fig. 5 is the schematic flow sheet of static resource document down loading method sixth embodiment of the present invention;
Fig. 6 is that operation program application is cleared up described in Fig. 5, to discharge the refinement schematic flow sheet of Installed System Memory step.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, display unit 106, user input unit 107th, the part such as interface unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that The mobile terminal structure shown in Fig. 1 does not form the restriction to mobile terminal, mobile terminal can include than illustrate it is more or Less part, either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of mobile terminal of the present invention is proposed.
Fig. 1 is refer to, in the first embodiment of mobile terminal of the present invention, the mobile terminal includes:Memory 109, place The static resource file download program of device 110 and storage in memory is managed, processor 110 can be used for calling memory 109 The static resource file download program of middle storage, and perform following steps:
In program application launch, the request of static resource file download is sent to server, so that the server is in base When some index numbers in static resource file download request get corresponding some static resource files, to institute State some static resource files and carry out packing compression, to obtain static resource compressing file bag, and by the static resource file Compressed package is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and The static resource compressing file bag is parsed, to obtain some static resource files.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
In program application launch, judge whether be cached with static resource file in default storage region;
If being cached with static resource file in default storage region, the static money of caching is obtained from default storage region Source file;
If uncached in default storage region have static resource file, perform described to server transmission static resource text The step of part download request;
The parsing static resource compressing file bag, the step of to obtain some static resource files after:
By some static resource file caches to the default storage region.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
If being cached with static resource file in default storage region, renewal checking interface is called to obtain in the server The timestamp of static resource File Index Table;
Judge whether the static resource File Index Table in the server has updated according to the timestamp
If the static resource File Index Table in the server has updated, perform described to the static money of server transmission The step of source file download request;
If the static resource File Index Table in the server does not update, obtained described in execution from default storage region The step of taking the static resource file of caching.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
With interval preset time call renewal checking interface obtain static resource File Index Table in the server when Between stab, and judge whether the static resource File Index Table in the server has updated according to the timestamp;
When static resource File Index Table in the server has updated, sent to server under static resource file Request is carried, and receives the static resource compressing file bag that the server is returned based on static resource file download request;
The static resource compressing file bag is parsed, to obtain newest static resource file, and by default storage region The static resource file of caching replaces with the newest static resource file.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
When static resource File Index Table in the server has updated, whether detection current network conditions are wireless Network environment;
When it is wireless network environment to detect current network conditions, perform described to server transmission static resource file Download request, and receive the static resource compressing file bag that the server is returned based on static resource file download request The step of.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
In program application launch, judge whether system spare free memory is more than in needed for operation described program application Deposit;
If system spare free memory performs described to server transmission more than internal memory needed for operation described program application The step of static resource file download is asked;
If system spare free memory is less than or equal to internal memory needed for operation described program application, cleaning operation program should With to discharge Installed System Memory.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
The EMS memory occupation value and frequency of use applied according to each operation program, it is determined that the cleaning of each operation program application Sequentially;
According to operation program application corresponding to the cleaning successively of cleaning order, to discharge Installed System Memory, until system remains Remaining free memory is more than internal memory needed for operation described program application.
Further, processor 110 can be used for calling the static resource file download program stored in memory 109, Also perform following steps:
The EMS memory occupation value and frequency of use applied according to each operation program, calculate the cleaning of each operation program application Fraction;
The cleaning fraction applied according to each operation program determines the cleaning order that each operation program is applied.
Each specific embodiment base of the specific embodiment of mobile terminal of the present invention and following static resource document down loading methods This is identical, and therefore not to repeat here.
Further, the present invention also provides a kind of hotspot sharing method, applied to the mobile terminal shown in Fig. 1, ginseng According to Fig. 2, Fig. 2 is the schematic flow sheet of static resource document down loading method first embodiment of the present invention.
In the present embodiment, the static resource document down loading method includes:
Step S101, in program application launch, the request of static resource file download is sent to server, for the clothes Some index numbers of the business device in being asked based on the static resource file download get corresponding some static resources texts During part, packing compression is carried out to some static resource files, to obtain static resource compressing file bag, and by the static state Resource file compressed package is back to mobile terminal;
The static resource document down loading method is applied to mobile terminal, and the mobile terminal includes smart mobile phone and tablet personal computer Deng being provided with several program applications, such as wechat, Tengxun's video and Netease's cloud music program application in the mobile terminal.With Family can be based on program application corresponding to the program application icon startup that mobile terminal main interface is shown.The mobile terminal is detecting During program application launch, the request of static resource file download is sent to server, the server receives the quiet of mobile terminal transmission State resource file download request, and some index numbers are obtained from static resource file download request, if then basis should Dry index number is obtained from static resource File Index Table corresponding to some static resource files, i.e., based on some index volumes The download address of some static resource files corresponding to number obtaining, and the download address based on each static resource file is from static state Some static resource files are finally carried out packing pressure by some static resource files corresponding to being obtained in resource file concordance list Contracting, to obtain static resource compressing file bag, and is back to mobile terminal by the static resource compressing file bag.The server root The static resource File Index Table of each program application is established using required whole static resource files according to each program, then The download address of each static resource file is changed according to the static resource File Index Table, shortens download address, greatly Reduce the time of server parsing download address.
For example, it is assumed that download address corresponding to the static resource file that index number is 1 is http:// Game.nubia.cn/images/arrow_triangle_up.jpg, and index number is corresponding to 2 static resource file Download address is http://game.nubia.cn/images/arrow_triangle_down.jpg, then based on static resource Above-mentioned two download address is respectively converted into http by the index number in File Index Table://game.nubia.cn/1 and http://game.nubia.cn/2。
Some static resource files are packaged as the static resource file bag of preset data form by the server, specifically, The data format of the static resource file bag is " filename length+filename+file size+file content ", wherein, static state money Source filename length accounts for 1 byte, and file size accounts for 4 bytes, and file content is binary data format.For example, static money Source file is three, respectively static resource file A, static resource file B and static resource file C, and above three is static It is " static resource file A filename length+static resource file that resource, which is packaged as the data format after static resource file bag, A file name+static resource file A file size+static resource file A file content+static resource file B text Part name length+static resource file B file name+static resource file B file size+static resource file B file Content+static resource file C filename length+static resource file C file name+static resource file C file is big Small+static resource file C file content ".
In specific implementation, the server calculates the static state of each sequential combination when packing some static resource files The data compression ratio of resource bundle, and the data compression ratio of the static resource file bag of more each sequential combination, obtain number According to the static resource file bag of the maximum sequential combination of compression ratio, if being then based on the maximum sequential combination packing of data compression ratio Dry static resource file, and be compressed, to obtain static resource compressing file bag, ensure to be transferred to the data volume of mobile terminal At least, with further improve program application toggle speed.For example, static resource file is three, respectively static resource is literary Part A, static resource file B and static resource file C, then sequential combination is including six kinds, and respectively sequential combination 1, i.e. static state provide Source file A, static resource file B and static resource file C;Sequential combination 2, i.e. static resource file A, static resource file C With static resource file B;Sequential combination 3, i.e. static resource file B, static resource file A and static resource file C;Order group Conjunction 4, i.e. static resource file B, static resource file C and static resource file A;It is sequential combination 5, i.e. static resource file C, quiet State resource file A and static resource file B;Sequential combination 6, i.e. static resource file C, static resource file B and static resource File A.By the way that sequential combination 1, sequential combination 2, sequential combination 3, sequential combination 4, sequential combination 5 and sequential combination is calculated 6 data compression ratio is respectively a, b, c, d, e, f, maximum by the data compression ratio d for comparing to obtain sequential combination 4, then according to Some static resources of order packing of sequential combination 4, i.e. static resource file B, static resource file C and static resource file A File, and be compressed.It should be noted that when maximum data compression ratio has multiple, any one data compression ratio is selected Maximum some static resource files of sequential combination packing, and be compressed.
Step S102, receive the static resource file that the server is returned based on static resource file download request Compressed package, and the static resource compressing file bag is parsed, to obtain some static resource files.
When the static resource compressing file bag is back to mobile terminal by the server, the mobile terminal the reception server base In the static resource compressing file bag that static resource file download request returns, and the static resource compressing file bag is parsed, To obtain static resource file, specifically, the static resource compressing file bag is decompressed, to obtain static resource file Bag, then extracts some static resource files in the static resource file bag, and stores some static resource files, finally exists When program application launch is completed, call some static resource files of storage, and program application homepage show it is some quiet State resource file, because data format adds using regular length label the form of variable-length content, therefore resolution speed It is very fast, further improves the toggle speed of program application.
In specific implementation, in program application launch, first verify that static money whether is cached with default storage region Source file, if uncached in default storage region have static resource file, static resource file download is sent to server Request, if being cached with static resource file in default storage region, further whether the static resource file of checking caching For newest static resource file, if the static resource file of caching is newest static resource file, from default storage The static resource file of caching is obtained in region, and some static resource files are shown in the homepage of program application, by slow Static resource file is deposited, further increasing the toggle speed of program application.
In the present embodiment, the present invention establishes static resource based on all static resource files that program application launch needs File Index Table, the parsing time of server is reduced, static resource file is all packed in addition, repeatedly downloaded and be changed to one Secondary download, the unnecessary Connection Time is removed, meanwhile, the static resource file after compression packing, volume of transmitted data can be reduced, Due to reducing the parsing time of server, eliminating the unnecessary Connection Time and reducing volume of transmitted data, therefore greatly Reduce the download time of static resource file, improve the toggle speed of program application.
Further, reference picture 3, static resource document down loading method of the present invention is proposed based on above-mentioned first embodiment Second embodiment, the difference with previous embodiment are, before step S101, in addition to:
Step S103, in program application launch, judge whether be cached with static resource file in default storage region;
Step S104, if being cached with static resource file in default storage region, obtained from default storage region slow The static resource file deposited;
If uncached in default storage region have static resource file, step S101 is performed, i.e., is sent to server quiet State resource file download request;
After step S102, in addition to:
Step S105, by some static resource file caches to the default storage region.
It should be noted that the present invention proposes one kind by caching static resource file based on previous embodiment, to improve The concrete mode of the toggle speed of program application, is only explained below, other to can refer to previous embodiment.
The mobile terminal first determines whether be cached with static state in default storage region when detecting program application launch Resource file, if being cached with static resource file in default storage region, the quiet of caching is obtained from default storage region State resource file, and when program application is completed to start, the static resource file of display caching, if in default storage region not Static resource file is cached with, then needs to download static resource file, therefore send static resource file download to server and ask Ask, and the static resource compressing file bag that the reception server is returned based on static resource file download request, then parsing should Static resource compressing file bag, to obtain some static resource files, and some static resource file caches are deposited to default Storage area domain, during so as to next program application launch, preset from this and static resource file is directly obtained in storage region.
In the present embodiment, the present invention is pre- from this when being easy to next program application launch by caching static resource file If directly obtaining static resource file in storage region, the toggle speed of program application is further improved.
Further, propose static resource document down loading method of the present invention based on above-mentioned second embodiment the 3rd implements Example, the difference with previous embodiment is, before step S104, in addition to:
If being cached with static resource file in default storage region, renewal checking interface is called to obtain in the server The timestamp of static resource File Index Table;
Judge whether the static resource File Index Table in the server has updated according to the timestamp
If the static resource File Index Table in the server has updated, perform described to the static money of server transmission The step of source file download request;
If the static resource File Index Table in the server does not update, obtained described in execution from default storage region The step of taking the static resource file of caching.
It should be noted that the present invention proposes one kind by caching static resource file based on previous embodiment, to improve The concrete mode of the toggle speed of program application, is only explained below, other to can refer to previous embodiment.
The mobile terminal first determines whether be cached with static state in default storage region when detecting program application launch Resource file, if being cached with static resource file in default storage region, the static resource file that further checking caches Whether it is newest static resource file, specifically, calling renewal checking interface to obtain static resource text in the server first The timestamp of part concordance list, then judge static resource File Index Table in the server whether more according to the timestamp Newly, if the static resource File Index Table in server has updated, then it represents that the static resource cached in default storage region File is the static resource file not updated, it is therefore desirable to re-downloads static resource file, then sends static money to server Source file download request, and the static resource compressing file that the reception server is returned based on static resource file download request Bag, then parses the static resource compressing file bag, to obtain static resource file, and is replaced in advance based on the static resource file If the static resource file cached in storage region;If the static resource File Index Table in server does not update, then it represents that The static resource file cached in default storage region is newest static resource file, then is obtained from default storage region slow The static resource file deposited, and show some static resource files in the homepage of program application.
In the present embodiment, by caching static resource file, the download time of static resource file is reduced, also can be The power consumption of mobile terminal is reduced to a certain extent, also further improves the toggle speed of program application.
Further, reference picture 4, static resource text of the present invention is proposed based on above-mentioned first, second or third embodiment The fourth embodiment of part method for down loading, the difference with previous embodiment are that the static resource document down loading method also includes:
Step S106, renewal checking interface is called to obtain static resource file rope in the server with interval preset time Draw the timestamp of table, and judge whether the static resource File Index Table in the server has updated according to the timestamp;
Step S107, when the static resource File Index Table in the server has updated, sent to server static Resource file download request, and receive the static resource text that the server is returned based on static resource file download request Part compressed package;
Step S108, the static resource compressing file bag is parsed, to obtain newest static resource file, and deposited default The static resource file cached in storage area domain replaces with the newest static resource file.
It should be noted that the present invention proposed based on previous embodiment a kind of static resource file of caching it is specific more New paragon, only it is explained below, it is other to can refer to previous embodiment.
The mobile terminal calls renewal checking interface to obtain static resource file rope in the server with interval preset time Draw the timestamp of table, and judge whether the static resource File Index Table in the server has updated according to the timestamp, if Static resource File Index Table in server has updated, then sends the request of static resource file download to server, and receive The static resource compressing file bag that the server is returned based on static resource file download request, then parses the static resource Compressing file bag, to obtain newest static resource file, and the static resource file cached in default storage region is replaced with The newest static resource file.
In the present embodiment, the present invention updates the static resource text cached in default storage region with interval preset time Part so that program application on startup, without downloading static resource file from server, greatly improves the startup of program application Speed.
Further, propose static resource document down loading method of the present invention based on above-mentioned fourth embodiment the 5th implements Example, the difference with previous embodiment is, before step S107, in addition to:
When static resource File Index Table in the server has updated, whether detection current network conditions are wireless Network environment;
When it is wireless network environment to detect current network conditions, step S107 is performed, i.e., is sent to server static Resource file download request, and receive the static resource text that the server is returned based on static resource file download request Part compressed package.
It should be noted that the present invention be based on previous embodiment, it is proposed that a kind of static resource compressing file bag it is specific Transmission means, only it is explained below, it is other to can refer to previous embodiment.
The mobile terminal finds that the static resource File Index Table in server has updated by judging, then detects current net Whether network environment is wireless network environment, when detecting that current network conditions are wireless network environment, is then sent to server quiet State resource file download request, and receive the static resource file that the server is returned based on static resource file download request Compressed package, the static resource compressing file bag is then parsed, to obtain newest static resource file, and by default storage region The static resource file of caching is updated to the newest static resource file.
In the present embodiment, the present invention is updated in default storage region when current network conditions are wireless network environment The static resource file of caching, the data traffic of user can be saved.
Further, reference picture 5, based on above-mentioned first, second, third, fourth or the 5th embodiment propose the present invention The sixth embodiment of static resource document down loading method, the difference with previous embodiment are, before step S101, also wrap Include:
Step S109, in program application launch, judge whether system spare free memory is more than operation described program and answers With required internal memory;
If system spare free memory is more than internal memory needed for operation described program application, it is to service to perform step S101 Device sends the request of static resource file download;
Step S110, if system spare free memory is cleared up less than or equal to internal memory needed for operation described program application Operation program application, to discharge Installed System Memory.
It should be noted that the present invention is based on previous embodiment, it is proposed that a kind of specific delivery mode of Installed System Memory, with Under be only explained, it is other to can refer to previous embodiment.
The mobile terminal obtains the remaining free memory of mobile terminal in program application launch, and judges that the system remains Whether remaining free memory, which is more than, is run internal memory needed for program application, if whether system spare free memory, which is more than, is run the journey Internal memory needed for sequence application, then the request of static resource file download is sent to server, and receive the server and provided based on the static state The static resource compressing file bag that source file download request returns, then parses the static resource compressing file bag, to obtain most New static resource file, and the static resource file cached in default storage region is updated to the newest static resource file; If the system spare free memory, which is less than or equal to, runs internal memory needed for program application, cleaning operation program application, with Discharge Installed System Memory.
Specifically, reference picture 6, Fig. 6 are the refinement schematic flow sheet of step S110 in Fig. 5, and step S110 includes:
Step S1101, the EMS memory occupation value and frequency of use applied according to each operation program, it is determined that each operation program The cleaning order of application;
Step S1102, the operation program application according to corresponding to cleaning order is cleared up successively, to discharge Installed System Memory, Until system spare free memory is more than internal memory needed for operation described program application.
If the system spare free memory be less than or equal to run the program application needed for internal memory, the mobile terminal according to The EMS memory occupation value and frequency of use of each operation program application, it is determined that the cleaning order of each operation program application, and according to Cleaning order operation program application corresponding to cleaning successively, to discharge Installed System Memory, until system spare free memory is more than Internal memory needed for program application is run, specifically, the EMS memory occupation value and frequency of use applied according to each operation program, are calculated The cleaning fraction of each operation program application, that is, obtain EMS memory occupation value and the respective weight coefficient of frequency of use, then basis The EMS memory occupation value of each operation program application and corresponding weight coefficient, and the frequency of use of each operation program application and Weight coefficient, calculates the cleaning fraction of each operation program application, and the cleaning fraction then applied according to each operation program is true The cleaning order of fixed each operation program application is, it is necessary to which explanation, the weight coefficient can be by those skilled in the art according to reality Border situation is configured, and is not specifically limited in the present embodiment.
In the present embodiment, the present invention can be in program application launch, and during system spare low free memory, cleaning is transported Line program application, to discharge Installed System Memory, ensure the program application normal operation started.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with static resource file download program, following walk is realized when the static resource file download program is executed by processor Suddenly:
In program application launch, the request of static resource file download is sent to server, so that the server is in base When some index numbers in static resource file download request get corresponding some static resource files, to institute State some static resource files and carry out packing compression, to obtain static resource compressing file bag, and by the static resource file Compressed package is back to mobile terminal.
The static resource compressing file bag that the server is returned based on static resource file download request is received, and The static resource compressing file bag is parsed, to obtain some static resource files.
Further, following steps are also realized when the static resource file download program is executed by processor:
In program application launch, judge whether be cached with static resource file in default storage region;
If being cached with static resource file in default storage region, the static money of caching is obtained from default storage region Source file;
If uncached in default storage region have static resource file, perform described to server transmission static resource text The step of part download request;
The parsing static resource compressing file bag, the step of to obtain some static resource files after, also wrap Include:
By some static resource file caches to the default storage region.
Further, following steps are also realized when the static resource file download program is executed by processor:
If being cached with static resource file in default storage region, renewal checking interface is called to obtain in the server The timestamp of static resource File Index Table;
Judge whether the static resource File Index Table in the server has updated according to the timestamp
If the static resource File Index Table in the server has updated, perform described to the static money of server transmission The step of source file download request;
If the static resource File Index Table in the server does not update, obtained described in execution from default storage region The step of taking the static resource file of caching.
Further, following steps are also realized when the static resource file download program is executed by processor:
With interval preset time call renewal checking interface obtain static resource File Index Table in the server when Between stab, and judge whether the static resource File Index Table in the server has updated according to the timestamp;
When static resource File Index Table in the server has updated, sent to server under static resource file Request is carried, and receives the static resource compressing file bag that the server is returned based on static resource file download request;
The static resource compressing file bag is parsed, to obtain newest static resource file, and by default storage region The static resource file of caching replaces with the newest static resource file.
Further, following steps are also realized when the static resource file download program is executed by processor:
When static resource File Index Table in the server has updated, whether detection current network conditions are wireless Network environment;
When detecting that current network conditions are wireless network environment, then perform described to server transmission static resource file Download request, and receive the static resource compressing file bag that the server is returned based on static resource file download request The step of.
Further, following steps are also realized when the static resource file download program is executed by processor:
In program application launch, judge whether system spare free memory is more than in needed for operation described program application Deposit;
If system spare free memory performs described to server transmission more than internal memory needed for operation described program application The step of static resource file download is asked;
If system spare free memory is less than or equal to internal memory needed for operation described program application, cleaning operation program should With to discharge Installed System Memory.
Further, following steps are also realized when the static resource file download program is executed by processor:
The EMS memory occupation value and frequency of use applied according to each operation program, it is determined that the cleaning of each operation program application Sequentially;
According to operation program application corresponding to the cleaning successively of cleaning order, to discharge Installed System Memory, until system remains Remaining free memory is more than internal memory needed for operation described program application.
Further, following steps are also realized when the static resource file download program is executed by processor:
The EMS memory occupation value and frequency of use applied according to each operation program, calculate the cleaning of each operation program application Fraction;
The cleaning fraction applied according to each operation program determines the cleaning order that each operation program is applied.
Each tool of the specific embodiment of computer-readable recording medium of the present invention and above-mentioned static resource document down loading method Body embodiment is essentially identical, and therefore not to repeat here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of static resource document down loading method, it is characterised in that the static resource document down loading method includes following step Suddenly:
In program application launch, the request of static resource file download is sent to server, so that the server is based on institute State static resource file download request in some index numbers get corresponding to some static resource files when, if to described Dry static resource file carries out packing compression, to obtain static resource compressing file bag, and by the static resource compressing file Bag is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and is parsed The static resource compressing file bag, to obtain some static resource files.
2. static resource document down loading method as claimed in claim 1, it is characterised in that described to send static money to server Before the step of source file download request, in addition to:
In program application launch, judge whether be cached with static resource file in default storage region;
If being cached with static resource file in default storage region, the static resource text of caching is obtained from default storage region Part;
If uncached in default storage region have static resource file, perform under the transmission static resource file to server The step of carrying request;
The parsing static resource compressing file bag, the step of to obtain some static resource files after, in addition to:
By some static resource file caches to the default storage region.
3. static resource document down loading method as claimed in claim 2, it is characterised in that described to be obtained from default storage region Before the step of taking the static resource file of caching, in addition to:
If being cached with static resource file in default storage region, renewal checking interface is called to obtain static in the server The timestamp of resource file concordance list;
Judge whether the static resource File Index Table in the server has updated according to the timestamp
If the static resource File Index Table in the server has updated, perform described to server transmission static resource text The step of part download request;
If the static resource File Index Table in the server does not update, perform described obtained from default storage region and delay The step of static resource file deposited.
4. static resource document down loading method as claimed in claim 2, it is characterised in that the static resource file download side Method also includes:
The timestamp of static resource File Index Table in the renewal checking interface acquisition server is called with interval preset time, And judge whether the static resource File Index Table in the server has updated according to the timestamp;
When static resource File Index Table in the server has updated, sending static resource file download to server please Ask, and receive the static resource compressing file bag that the server is returned based on static resource file download request;
The static resource compressing file bag is parsed, to obtain newest static resource file, and will be cached in default storage region Static resource file replace with the newest static resource file.
5. static resource document down loading method as claimed in claim 4, it is characterised in that described to send static money to server Source file download request, and receive the static resource file that the server is returned based on static resource file download request Before the step of compressed package, in addition to:
When static resource File Index Table in the server has updated, whether detection current network conditions are wireless network Environment;
When it is wireless network environment to detect current network conditions, perform described to server transmission static resource file download Request, and receive the step for the static resource compressing file bag that the server is returned based on static resource file download request Suddenly.
6. the static resource document down loading method as any one of claim 1-5, it is characterised in that described to server Before the step of sending the request of static resource file download, in addition to:
In program application launch, judge whether system spare free memory is more than internal memory needed for operation described program application;
If system spare free memory performs described static to server transmission more than internal memory needed for operation described program application The step of resource file download request;
If system spare free memory, which is less than or equal to, runs internal memory needed for described program application, cleaning operation program application, To discharge Installed System Memory.
7. static resource document down loading method as claimed in claim 6, it is characterised in that the cleaning operation program application, The step of to discharge Installed System Memory, includes:
The EMS memory occupation value and frequency of use applied according to each operation program, it is determined that the cleaning of each operation program application is suitable Sequence;
According to operation program application corresponding to the cleaning successively of cleaning order, to discharge Installed System Memory, until system spare can It is more than internal memory needed for operation described program application with internal memory.
8. static resource document down loading method as claimed in claim 7, it is characterised in that each operation program of basis should EMS memory occupation value and frequency of use, it is determined that the step of cleaning order of each operation program application includes:
The EMS memory occupation value and frequency of use applied according to each operation program, calculate the cleaning point of each operation program application Number;
The cleaning fraction applied according to each operation program determines the cleaning order that each operation program is applied.
9. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Memory, processor and it is stored in the storage On device and the static resource file download program that can run on the processor, the static resource file download program is by institute Following steps are realized when stating computing device:
In program application launch, the request of static resource file download is sent to server, so that the server is based on institute State static resource file download request in some index numbers get corresponding to some static resource files when, if to described Dry static resource file carries out packing compression, to obtain static resource compressing file bag, and by the static resource compressing file Bag is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and is parsed The static resource compressing file bag, to obtain some static resource files.
10. a kind of computer-readable recording medium, it is characterised in that static money is stored with the computer-readable recording medium Source file downloads, and the static resource file download program realizes following steps when being executed by processor:
In program application launch, the request of static resource file download is sent to server, so that the server is based on institute State static resource file download request in some index numbers get corresponding to some static resource files when, if to described Dry static resource file carries out packing compression, to obtain static resource compressing file bag, and by the static resource compressing file Bag is back to mobile terminal;
The static resource compressing file bag that the server is returned based on static resource file download request is received, and is parsed The static resource compressing file bag, to obtain some static resource files.
CN201710927731.4A 2017-09-30 2017-09-30 Static resource file downloading method, mobile terminal and computer readable storage medium Active CN107734022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710927731.4A CN107734022B (en) 2017-09-30 2017-09-30 Static resource file downloading method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710927731.4A CN107734022B (en) 2017-09-30 2017-09-30 Static resource file downloading method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107734022A true CN107734022A (en) 2018-02-23
CN107734022B CN107734022B (en) 2021-08-10

Family

ID=61208551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710927731.4A Active CN107734022B (en) 2017-09-30 2017-09-30 Static resource file downloading method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107734022B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595188A (en) * 2018-03-30 2018-09-28 北京五八信息技术有限公司 A kind of acquisition methods of application file, device, equipment and storage medium
CN109587524A (en) * 2018-10-31 2019-04-05 视联动力信息技术股份有限公司 It is a kind of to regard networked resources and device to internet terminal is synchronous
CN109635217A (en) * 2018-12-14 2019-04-16 平安普惠企业管理有限公司 H5 page loading method, device, computer equipment and the storage medium of APP
CN111309391A (en) * 2020-01-20 2020-06-19 北京无限光场科技有限公司 Application program starting method, device, equipment and medium
CN111367673A (en) * 2020-03-05 2020-07-03 山东中创软件商用中间件股份有限公司 Static resource acquisition method, device and related equipment
CN112565472A (en) * 2019-09-10 2021-03-26 北京京东尚科信息技术有限公司 Static resource processing method and device
CN113127072A (en) * 2020-01-14 2021-07-16 荣耀终端有限公司 Method for controlling display of electronic equipment and display control device
CN113286006A (en) * 2021-06-09 2021-08-20 维沃移动通信有限公司 File loading method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251343A (en) * 2001-02-23 2002-09-06 Nec Nexsolutions Ltd System, method and program for collectively downloading plural files
CN101478370A (en) * 2009-01-20 2009-07-08 中兴通讯股份有限公司 File compression method and apparatus based on file system
CN103020155A (en) * 2012-11-23 2013-04-03 中国电信股份有限公司云计算分公司 Web front end resource request processing method and device
US20140164561A1 (en) * 2012-12-12 2014-06-12 Hon Hai Precision Industry Co., Ltd. Compressed package upload management system and method
CN104601683A (en) * 2014-12-31 2015-05-06 广东欧珀移动通信有限公司 File download management method, mobile terminal and communication system
CN105100084A (en) * 2015-07-07 2015-11-25 中国科学院计算技术研究所 Method and system for preventing cross-site request forgery attack
US9201883B1 (en) * 2012-10-08 2015-12-01 Amazon Technologies, Inc. Remote file archiving using package files
CN105446975A (en) * 2014-06-23 2016-03-30 广州爱九游信息技术有限公司 File packing method and device
CN105893153A (en) * 2016-03-31 2016-08-24 北京百纳威尔无线通信设备有限公司 Memory cleaning method and device for mobile terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002251343A (en) * 2001-02-23 2002-09-06 Nec Nexsolutions Ltd System, method and program for collectively downloading plural files
CN101478370A (en) * 2009-01-20 2009-07-08 中兴通讯股份有限公司 File compression method and apparatus based on file system
US9201883B1 (en) * 2012-10-08 2015-12-01 Amazon Technologies, Inc. Remote file archiving using package files
CN103020155A (en) * 2012-11-23 2013-04-03 中国电信股份有限公司云计算分公司 Web front end resource request processing method and device
US20140164561A1 (en) * 2012-12-12 2014-06-12 Hon Hai Precision Industry Co., Ltd. Compressed package upload management system and method
CN105446975A (en) * 2014-06-23 2016-03-30 广州爱九游信息技术有限公司 File packing method and device
CN104601683A (en) * 2014-12-31 2015-05-06 广东欧珀移动通信有限公司 File download management method, mobile terminal and communication system
CN105100084A (en) * 2015-07-07 2015-11-25 中国科学院计算技术研究所 Method and system for preventing cross-site request forgery attack
CN105893153A (en) * 2016-03-31 2016-08-24 北京百纳威尔无线通信设备有限公司 Memory cleaning method and device for mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595188A (en) * 2018-03-30 2018-09-28 北京五八信息技术有限公司 A kind of acquisition methods of application file, device, equipment and storage medium
CN109587524A (en) * 2018-10-31 2019-04-05 视联动力信息技术股份有限公司 It is a kind of to regard networked resources and device to internet terminal is synchronous
CN109587524B (en) * 2018-10-31 2021-08-03 视联动力信息技术股份有限公司 Method and device for synchronizing video networking resources to Internet terminal
CN109635217A (en) * 2018-12-14 2019-04-16 平安普惠企业管理有限公司 H5 page loading method, device, computer equipment and the storage medium of APP
CN112565472A (en) * 2019-09-10 2021-03-26 北京京东尚科信息技术有限公司 Static resource processing method and device
CN112565472B (en) * 2019-09-10 2024-05-17 北京京东尚科信息技术有限公司 Static resource processing method and device
CN113127072A (en) * 2020-01-14 2021-07-16 荣耀终端有限公司 Method for controlling display of electronic equipment and display control device
CN113127072B (en) * 2020-01-14 2023-08-08 荣耀终端有限公司 Method for controlling display of electronic equipment and display control device
CN111309391A (en) * 2020-01-20 2020-06-19 北京无限光场科技有限公司 Application program starting method, device, equipment and medium
CN111367673A (en) * 2020-03-05 2020-07-03 山东中创软件商用中间件股份有限公司 Static resource acquisition method, device and related equipment
CN113286006A (en) * 2021-06-09 2021-08-20 维沃移动通信有限公司 File loading method and device

Also Published As

Publication number Publication date
CN107734022B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN107734022A (en) Static resource document down loading method, mobile terminal and computer-readable recording medium
CN103402190B (en) Method and device for selecting network as well as terminal
CN110152299B (en) Game resource construction method and device
CN107967322A (en) Document classification display methods, mobile terminal and computer-readable recording medium
CN104519404A (en) Graphics interchange format file playing method and device
CN107634962A (en) The management method and Related product of network bandwidth
CN110780940A (en) Application program loading method, electronic device and storage medium
CN107734023A (en) Static resource document down loading method, mobile terminal and computer-readable recording medium
CN107220050A (en) Adaptive display method, terminal and computer-readable recording medium
CN107391587A (en) Link is shared and access method, server, terminal and computer-readable storage medium
CN107239522A (en) Picture storage method, equipment and computer-readable storage medium
WO2014194759A1 (en) A method, apparatus, and system for controlling voice data transmission
CN107480169A (en) Picture loading method, terminal and computer-readable recording medium
CN107748699A (en) Resource allocation methods and Related product
CN106919458B (en) Method and device for Hook target kernel function
CN108551499A (en) A kind of display terminal
CN108536768A (en) picture loading method, terminal and computer readable storage medium
CN106682189B (en) File name display method and device
CN108595672A (en) The method, apparatus and readable storage medium storing program for executing of file type are downloaded in a kind of identification
CN106649595B (en) Object pool-based webpage starting acceleration method and device and terminal
CN108377292A (en) Solve method, terminal, server and the computer storage media of RAM leakage
CN107241394A (en) A kind of log transmission method, device and computer-readable recording medium
CN107786412A (en) A kind of communication means and Related product of game virtual dedicated network
WO2020052354A1 (en) Game loading method and related products
CN107451475A (en) Multimedia file scan method and equipment, computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant