CN109408150A - It is a kind of to apply loading method and mobile terminal fastly - Google Patents

It is a kind of to apply loading method and mobile terminal fastly Download PDF

Info

Publication number
CN109408150A
CN109408150A CN201811279464.5A CN201811279464A CN109408150A CN 109408150 A CN109408150 A CN 109408150A CN 201811279464 A CN201811279464 A CN 201811279464A CN 109408150 A CN109408150 A CN 109408150A
Authority
CN
China
Prior art keywords
configuration information
fastly
browser
local cache
target
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.)
Pending
Application number
CN201811279464.5A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811279464.5A priority Critical patent/CN109408150A/en
Publication of CN109408150A publication Critical patent/CN109408150A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Loading method is applied fastly the present invention provides a kind of, and method includes: each the first configuration information applied fastly stored in the local cache for obtain browser;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface;Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply corresponding first configuration information fastly and load.What is provided through the invention is fast using loading scheme, without occupying the load time to the configuration information real-time loading applied fastly, and directly by obtaining the first configuration information from local cache, can the very fast fast application of opening, promote loading velocity.

Description

It is a kind of to apply loading method and mobile terminal fastly
Technical field
The present invention relates to technical field of mobile terminals, apply loading method and mobile terminal fastly more particularly to a kind of.
Background technique
The response speed that browser opens webpage will have a direct impact on the usage experience of user.The webpage waiting time is longer, uses The probability that webpage is closed at family is bigger.Currently in order to promoting the loading velocity of webpage, there are some solutions on the market, such as: QQ browser passes through the scheme that wechat is applied fastly, and the template that wechat is applied fastly is built-in in a browser, and by being largely adapted to It works to allow wechat fastly using being able to run on QQ browser, to reach the realization purpose of similar " webpage APP ".
However, the cost of implementation of the program is very high, the developer's concerted effort for needing browser end and applying fastly is suitable with merging With being just achieved, and this set implementation method has no standard agreement support, and additional study is needed for web developers Cost, client adaptation also bring along more workload.
Also, above scheme needs clicking fast in application, obtaining from server in real time fast for the load applied fastly Using corresponding configuration information, this kind of mode still can not be accelerated to the speed for opening browser.
Summary of the invention
The embodiment of the present invention provides one kind fastly using loading method and mobile terminal, to solve in the prior art for answering fastly With the problem that loading velocity is excessively slow.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, applying loading method fastly the embodiment of the invention provides a kind of, comprising: the local for obtaining browser is slow Deposit each the first configuration information applied fastly of middle storage;The browser is loaded according to each first configuration information applied fastly Interface;Each icon applied fastly is shown in the browser interface;User is received to target in the browser interface The clicking operation for the icon applied fastly;The target is read from the local cache applies corresponding first configuration information fastly simultaneously Load.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal includes: the first acquisition mould Block, each the first configuration information applied fastly stored in the local cache for obtaining browser;First loading module, for according to The browser interface is loaded according to each first configuration information applied fastly;Display module, in the browser interface Middle each icon applied fastly of display;Receiving module is applied target in the browser interface fastly for receiving user The clicking operation of icon;Second loading module applies corresponding first for reading the target from the local cache fastly Configuration information simultaneously loads.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the fast application loading method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, is realized when the computer program is executed by processor described fast using loading method Step.
In embodiments of the present invention, each first applied fastly stored in the local cache by obtaining browser is with confidence Breath;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface; Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply fastly pair The first configuration information for answering simultaneously loads, and what is provided through the invention is fast using loading scheme, without to the configuration information applied fastly Real-time loading occupies the load time, and directly by obtaining the first configuration information from local cache, it very fast can open and answer fastly With promotion loading velocity.
Detailed description of the invention
Fig. 1 is that one kind of the embodiment of the present invention one applies the step flow chart of loading method fastly;
Fig. 2 is that one kind of the embodiment of the present invention two applies the step flow chart of loading method fastly;
The structural block diagram of a kind of mobile terminal of the embodiment of the present invention three when Fig. 3;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention five.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, the one kind for showing the embodiment of the present invention one applies the step flow chart of loading method fastly.
Fast application loading method provided in an embodiment of the present invention the following steps are included:
Step 101: obtaining each the first configuration information applied fastly stored in the local cache of browser.
When user opens browser, each the first configuration information applied fastly in local cache is obtained, wherein first matches Confidence breath includes HTML (Hyper Text Mark-up Language, hypertext markup language) file, CSS (Cascading Style Sheets, cascading style sheets) file, JavaScript script file, text, at least one of picture.
Step 102: loading browser interface according to each the first configuration information applied fastly.
Such as: current browser needs to load ten fast applications, then ten the first configuration informations applied fastly of acquisition, and Ten fast applications are shown in browser.
It should be noted that each the first configuration information applied fastly is directly acquired from local cache, that is, it is loaded directly into , no longer need to obtain in real time in the server, shorten the time for obtaining the first configuration information.
Step 103: each icon applied fastly is shown in browser interface.
Step 104: receiving the clicking operation for the icon that user applies target in browser interface fastly.
Step 105: reading target from local cache and apply corresponding first configuration information fastly and load.
When user needs to check the fast application in browser interface, clicks target and apply fastly, the click according to user Operation, the first configuration information that target is applied fastly is directly read from local cache, target is applied fastly first is loaded directly into and matches Confidence breath, completes load.
In embodiments of the present invention, each first applied fastly stored in the local cache by obtaining browser is with confidence Breath;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface; Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply fastly pair The first configuration information for answering simultaneously loads, and what is provided through the invention is fast using loading scheme, without to the configuration information applied fastly Real-time loading occupies the load time, and directly by obtaining the first configuration information from local cache, it very fast can open and answer fastly With promotion loading velocity.
Embodiment two
Referring to Fig. 2, the one kind for showing the embodiment of the present invention two applies the step flow chart of loading method fastly.
Fast application loading method provided in an embodiment of the present invention the following steps are included:
Step 201: Service Worker is installed into browser.
Service Worker is that the script of browser operation behind is realized independently of browser page and is not necessarily to one A page or the function of user's interaction.
Service Worker is registered in the JavaScript of webpage.Service Worker is registered to need to delay Deposit some static resources.If All Files all cache success, Service Worker will be mounted.
Step 202: registering at least one fast application in a browser.
Step 203: obtaining each the first configuration information applied fastly of registration from server, and by each first applied fastly Configuration information is stored into the local cache of browser.
After browser starting, corresponding first configuration information is pulled from server, and pass through Service Worker Each the first configuration information applied fastly of standard interface offline cache into local cache.
It should be noted that in the 5th generation of standard interface HTML5, HTML5 application hypertext markup language, opened based on HTML5 The webpage APP of hair possesses shorter starting time, faster networking speeds.
Step 204: it include renewal time interval in the first configuration information, for each of registering fast application in browser, According to using the renewal time interval for including in corresponding first configuration information, Service Worker is from server for calling fastly Obtain the second configuration information applied fastly.
Wherein, the second configuration information is the information after the first configuration information update.
Such as: include two fast applications, the update of test.com and test2.com, test.com in the first configuration information Time is one day, and the renewal time of test2.com is 12 hours.Then primary update was completed to test.com in one day, it is 12 small When primary update is completed to test2.com.
Behind renewal time interval, the configuration information of the corresponding update of the first configuration information is obtained from server, according to The first configuration information is updated according to the second configuration information.
Step 205: the first configuration information being updated according to the second configuration information.
When to the first configuration information update, the second configuration information directly can be replaced into the first configuration information, or delete First configuration information saves the second configuration information, to complete the update to the first configuration information.
Before opening browser, the configuration information of browser during idle time, can be sent to browser by server Terminal, wherein the configuration information for browsing it can be for (Uniform Resource Locat, unified resource be fixed using entrance URL Position symbol), main configuration script and the configuration of self refresh frequency.It can be complete according to prefixed time interval for the configuration information of browser It is updated at primary.Those skilled in the art can according to the actual situation be configured prefixed time interval, wherein preset time Interval can be 1 day, 1 hour etc..
Step 206: obtaining each the first configuration information applied fastly stored in the local cache of browser.
Step 207: loading browser interface according to each the first configuration information applied fastly.
When user opens browser, each the first configuration information applied fastly and browser in local cache are obtained Other configurations information loads browser interface.
Wherein, the first configuration information includes HTML (Hyper Text Mark-up Language, hypertext markup language) File, CSS (Cascading Style Sheets, cascading style sheets) file, JavaScript script file, text, picture At least one of.
Step 208: each icon applied fastly is shown in browser interface.
Step 209: receiving the clicking operation for the icon that user applies target in browser interface fastly.
Step 210: reading target from local cache and apply corresponding first configuration information fastly and load.
Such as: current browser needs to load ten fast applications, then ten the first configuration informations applied fastly of acquisition, and Ten fast applications are shown in browser.
It should be noted that each the first configuration information applied fastly is directly acquired from local cache, that is, it is loaded directly into , no longer need to obtain in real time in the server, shorten the time for obtaining the first configuration information.
Step 211: the first configuration information further includes effective time, detects user after exiting target and applying fastly and again When the clicking operation applied fastly to target, the storage duration of the first configuration information that target is applied fastly in local cache is determined.
The storage duration of the first configuration information that target is applied fastly in local cache is determined, when storage duration is greater than first When the effective time of configuration information, then the first configuration information for showing that the target in local cache is applied fastly is expired, when storage When the long effective time for being less than or equal to the first configuration information, then show the first configuration that the target in local cache is applied fastly Information is not out of date.
Step 212: if storage duration is greater than effective time, determining that the first configuration information is out of date.
Step 213: obtaining the third configuration information that target is applied fastly from server by Service Worker.
When the first configuration information for determining that target is applied fastly is expired, then pass through the sw.js script of Service Worker, from The third configuration information applied fastly is pulled in browser configuration information, or target is applied fastly is directly pulled from server Three configuration informations, to complete to load.
In embodiments of the present invention, each first applied fastly stored in the local cache by obtaining browser is with confidence Breath;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface; Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply fastly pair The first configuration information for answering simultaneously loads, and what is provided through the invention is fast using loading scheme, without to the configuration information applied fastly Real-time loading occupies the load time, and directly by obtaining the first configuration information from local cache, it very fast can open and answer fastly With promotion loading velocity.Furthermore, it is possible to allow browser that timing can be realized offline by the Service Worker interface of standard The ability of resource is significantly promoted so that opening the speed applied fastly.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first acquisition module 301, and the local for obtaining browser is slow Deposit each the first configuration information applied fastly of middle storage;First loading module 302, for matching according to each first applied fastly Confidence breath loads the browser interface;Display module 303, for showing in the browser interface each described apply fastly Icon;Receiving module 304, for receiving the clicking operation for the icon that user applies target in the browser interface fastly;The Two loading modules 305, for reading the target from the local cache fastly using corresponding first configuration information and loading.
In embodiments of the present invention, each first applied fastly stored in the local cache by obtaining browser is with confidence Breath;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface; Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply fastly pair The first configuration information for answering simultaneously loads, and what is provided through the invention is fast using loading scheme, without to the configuration information applied fastly Real-time loading occupies the load time, and directly by obtaining the first configuration information from local cache, it very fast can open and answer fastly With promotion loading velocity.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first acquisition module 401, and the local for obtaining browser is slow Deposit each the first configuration information applied fastly of middle storage;First loading module 402, for matching according to each first applied fastly Confidence breath loads the browser interface;Display module 403: for showing in the browser interface each described apply fastly Icon;Receiving module 404, the clicking operation that target in the browser interface is applied fastly for receiving user;Second load Module 405, for reading the target from the local cache fastly using corresponding first configuration information and loading.
Preferably, the mobile terminal further include: installation module 406, it is clear for being obtained in the first acquisition module 401 It lookes in the local cache of device before each the first configuration information applied fastly for storing, Service Worker is installed to described clear It lookes in device;Registration module 407, for registering at least one fast application in the browser;Memory module 408 is used for from clothes Each first configuration information applied fastly of registration is obtained in business device, and each first configuration information applied fastly is stored Into the local cache of the browser.
It preferably, include renewal time interval in first configuration information;The mobile terminal further include: calling module 409, for each first configuration information applied fastly of registration to be obtained from server in the memory module 408, and will After each first configuration information applied fastly is stored into the local cache of the browser, for being infused in the browser The fast application of each of volume, according to described fastly using the renewal time interval for including in corresponding first configuration information, described in calling Service Worker obtains second configuration information applied fastly from the server, wherein described second matches confidence Breath is the information after first configuration information update;Update module 410, for according to second configuration information to described the One configuration information is updated.
Preferably, the mobile terminal further include: the first determining module 411, for second loading module 405 from The target is read in the local cache fastly using corresponding first configuration information and after loading, the target is fast exiting When detecting the clicking operation that user applies the target fastly after and again, determine that the target is applied fastly first matches Confidence ceases the storage duration in the local cache;Second determining module 412, if having for the storage duration greater than described Duration is imitated, determines that first configuration information is out of date;Second obtains module 413, for passing through the Service Worker The third configuration information that the target is applied fastly is obtained from the server.
Preferably, first configuration information include html file, CSS file, JavaScript script file, text, At least one of picture.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realize Each process, to avoid repeating, which is not described herein again.
In embodiments of the present invention, each first applied fastly stored in the local cache by obtaining browser is with confidence Breath;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface; Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply fastly pair The first configuration information for answering simultaneously loads, and what is provided through the invention is fast using loading scheme, without to the configuration information applied fastly Real-time loading occupies the load time, and directly by obtaining the first configuration information from local cache, it very fast can open and answer fastly With promotion loading velocity.Furthermore, it is possible to allow browser that timing can be realized offline by the Service Worker interface of standard The ability of resource is significantly promoted so that opening the speed applied fastly.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, each the first configuration information applied fastly stored in the local cache for obtaining browser;Foundation Each first configuration information applied fastly loads the browser interface;Each described answer fastly is shown in the browser interface Icon;Receive the clicking operation for the icon that user applies target in the browser interface fastly;From the local cache The middle reading target using corresponding first configuration information and loads fastly.
In embodiments of the present invention, each first applied fastly stored in the local cache by obtaining browser is with confidence Breath;Browser interface is loaded according to each the first configuration information applied fastly;Each icon applied fastly is shown in browser interface; Receive the clicking operation for the icon that user applies target in browser interface fastly;Target is read from local cache to apply fastly pair The first configuration information for answering simultaneously loads, and what is provided through the invention is fast using loading scheme, without to the configuration information applied fastly Real-time loading occupies the load time, and directly by obtaining the first configuration information from local cache, it very fast can open and answer fastly With promotion loading velocity.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it 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 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 The above-mentioned fast each process using loading method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, this In repeat no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize above-mentioned fast each process using loading method embodiment when being executed by processor, and Identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as Read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of apply loading method fastly, it is applied to mobile terminal, which is characterized in that the described method includes:
Obtain each the first configuration information applied fastly stored in the local cache of browser;
The browser interface is loaded according to each first configuration information applied fastly;
Each icon applied fastly is shown in the browser interface;
Receive the clicking operation for the icon that user applies target in the browser interface fastly;
The target is read from the local cache to apply corresponding first configuration information fastly and load.
2. the method according to claim 1, wherein being stored in the local cache for obtaining browser each Before the step of the first configuration information applied fastly, the method also includes:
Service Worker is installed into browser;
At least one fast application is registered in the browser;
Each first configuration information applied fastly of registration is obtained from server, and each first applied fastly is configured Information is stored into the local cache of the browser.
3. according to the method described in claim 2, it is characterized in that, including renewal time interval in first configuration information; In each first configuration information applied fastly for obtaining registration from server, and each first applied fastly is matched After confidence breath stores the step into the local cache of the browser, the method also includes:
For each of registering fast application in the browser, according to described fastly using including in corresponding first configuration information Renewal time interval calls the Service Worker to obtain second applied fastly from the server with confidence Breath, wherein second configuration information is the information after first configuration information update;
First configuration information is updated according to second configuration information.
4. according to the method described in claim 2, it is characterized in that, first configuration information further includes effective time, in institute It states after reading the step of target is applied corresponding first configuration information fastly and loaded in the local cache, the side Method further include:
When detecting the clicking operation that user applies the target fastly after exiting the target and applying fastly and again, institute is determined State the storage duration of the first configuration information that target is applied fastly in the local cache;
If the storage duration is greater than the effective time, determine that first configuration information is out of date;
The third configuration information that the target is applied fastly is obtained from the server by the Service Worker.
5. the method according to claim 1, wherein first configuration information includes html file, CSS text At least one of part, JavaScript script file, text, picture.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First obtains module, each the first configuration information applied fastly stored in the local cache for obtaining browser;
First loading module, for loading the browser interface according to each first configuration information applied fastly;
Display module, for showing each icon applied fastly in the browser interface;
Receiving module, for receiving the clicking operation for the icon that user applies target in the browser interface fastly;
Second loading module, for read from the local cache target fastly application corresponding first configuration information and add It carries.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Module is installed, each first applied fastly for storing in the local cache that the first acquisition module obtains browser Before configuration information, Service Worker is installed into the browser;
Registration module, for registering at least one fast application in the browser;
Memory module, for obtaining each first configuration information applied fastly of registration from server, and will be each described fast First configuration information of application is stored into the local cache of the browser.
8. mobile terminal according to claim 7, which is characterized in that including between renewal time in first configuration information Every;The mobile terminal further include:
Calling module, for obtaining each first applied fastly of registration from server in the memory module with confidence Breath, and after each first configuration information applied fastly is stored into the local cache of the browser, for described clear It lookes in device and each of registers fast application, according to described fastly using the renewal time interval for including in corresponding first configuration information, The Service Worker is called to obtain second configuration information applied fastly from the server, wherein described Two configuration informations are the information after first configuration information update;
Update module, for being updated according to second configuration information to first configuration information.
9. mobile terminal according to claim 7, which is characterized in that the mobile terminal further include:
First determining module, for reading the target from the local cache in second loading module, application is corresponded to fastly The first configuration information and after loading, detect that user answers the target fastly after exiting the target and applying fastly and again When clicking operation, the storage duration of the first configuration information that the target is applied fastly in the local cache is determined;
Second determining module determines that first configuration information is already expired if being greater than the effective time for the storage duration Phase;
Second obtains module, for obtaining what the target was applied fastly from the server by the Service Worker Third configuration information.
10. mobile terminal according to claim 6, which is characterized in that first configuration information include html file, At least one of CSS file, JavaScript script file, text, picture.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in fast application loading method the step of.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence is realized fast using loading method as described in any one of claims 1 to 5 when the computer program is executed by processor The step of.
CN201811279464.5A 2018-10-30 2018-10-30 It is a kind of to apply loading method and mobile terminal fastly Pending CN109408150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811279464.5A CN109408150A (en) 2018-10-30 2018-10-30 It is a kind of to apply loading method and mobile terminal fastly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811279464.5A CN109408150A (en) 2018-10-30 2018-10-30 It is a kind of to apply loading method and mobile terminal fastly

Publications (1)

Publication Number Publication Date
CN109408150A true CN109408150A (en) 2019-03-01

Family

ID=65470425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811279464.5A Pending CN109408150A (en) 2018-10-30 2018-10-30 It is a kind of to apply loading method and mobile terminal fastly

Country Status (1)

Country Link
CN (1) CN109408150A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321178A (en) * 2019-06-28 2019-10-11 百度在线网络技术(北京)有限公司 Starting processing method, device, equipment and the storage medium of attached application end
CN110333912A (en) * 2019-07-11 2019-10-15 百度在线网络技术(北京)有限公司 A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN110909319A (en) * 2019-11-29 2020-03-24 Oppo(重庆)智能科技有限公司 Application processing method and related product
CN110990075A (en) * 2019-11-18 2020-04-10 北京小米移动软件有限公司 Starting method, device and equipment of fast application and storage medium
CN111782989A (en) * 2020-07-03 2020-10-16 Oppo广东移动通信有限公司 Fast application association method and related device
WO2021057390A1 (en) * 2019-09-26 2021-04-01 华为技术有限公司 Method for launching quick application, and related device
CN112783565A (en) * 2019-11-11 2021-05-11 上海博泰悦臻电子设备制造有限公司 Starting method and starting system of fast application service, storage medium and electronic equipment
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
WO2022247458A1 (en) * 2021-05-28 2022-12-01 华为技术有限公司 Page display method, electronic device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587495A (en) * 2009-07-08 2009-11-25 伍帝州 Method and system for downloading and disposing application through browser and providing application entrance
CN102955694A (en) * 2011-08-31 2013-03-06 中国电信股份有限公司 Client implementation method based on WebKit browser and client
CN103338272A (en) * 2013-07-23 2013-10-02 星云融创(北京)信息技术有限公司 Content distribution network and cache implementation method thereof
CN103544029A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Web application engine system and implementation method thereof
CN106201610A (en) * 2016-07-06 2016-12-07 青岛海信移动通信技术股份有限公司 Web application accesses the method and device of the primary function of terminal
CN106326489A (en) * 2016-09-09 2017-01-11 腾讯科技(深圳)有限公司 Network resource updating method and device
CN108287917A (en) * 2018-02-13 2018-07-17 广东欧珀移动通信有限公司 file open method, device, storage medium and electronic equipment
CN108549568A (en) * 2018-04-18 2018-09-18 Oppo广东移动通信有限公司 Using entrance processing method, apparatus, storage medium and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587495A (en) * 2009-07-08 2009-11-25 伍帝州 Method and system for downloading and disposing application through browser and providing application entrance
CN102955694A (en) * 2011-08-31 2013-03-06 中国电信股份有限公司 Client implementation method based on WebKit browser and client
CN103544029A (en) * 2013-07-02 2014-01-29 Tcl集团股份有限公司 Web application engine system and implementation method thereof
CN103338272A (en) * 2013-07-23 2013-10-02 星云融创(北京)信息技术有限公司 Content distribution network and cache implementation method thereof
CN106201610A (en) * 2016-07-06 2016-12-07 青岛海信移动通信技术股份有限公司 Web application accesses the method and device of the primary function of terminal
CN106326489A (en) * 2016-09-09 2017-01-11 腾讯科技(深圳)有限公司 Network resource updating method and device
CN108287917A (en) * 2018-02-13 2018-07-17 广东欧珀移动通信有限公司 file open method, device, storage medium and electronic equipment
CN108549568A (en) * 2018-04-18 2018-09-18 Oppo广东移动通信有限公司 Using entrance processing method, apparatus, storage medium and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113474756A (en) * 2019-04-12 2021-10-01 深圳市欢太科技有限公司 Application processing method and device, storage medium and electronic equipment
CN110321178A (en) * 2019-06-28 2019-10-11 百度在线网络技术(北京)有限公司 Starting processing method, device, equipment and the storage medium of attached application end
CN110333912A (en) * 2019-07-11 2019-10-15 百度在线网络技术(北京)有限公司 A kind of method, apparatus and computer readable storage medium of small routine data pre-fetching
CN110333912B (en) * 2019-07-11 2023-04-18 百度在线网络技术(北京)有限公司 Method and device for prefetching applet data and computer readable storage medium
WO2021057390A1 (en) * 2019-09-26 2021-04-01 华为技术有限公司 Method for launching quick application, and related device
CN114706621A (en) * 2019-09-26 2022-07-05 华为技术有限公司 Method for starting fast application and related device
CN112783565A (en) * 2019-11-11 2021-05-11 上海博泰悦臻电子设备制造有限公司 Starting method and starting system of fast application service, storage medium and electronic equipment
CN110990075A (en) * 2019-11-18 2020-04-10 北京小米移动软件有限公司 Starting method, device and equipment of fast application and storage medium
CN110990075B (en) * 2019-11-18 2023-08-29 北京小米移动软件有限公司 Method, device, equipment and storage medium for starting fast application
CN110909319A (en) * 2019-11-29 2020-03-24 Oppo(重庆)智能科技有限公司 Application processing method and related product
CN111782989A (en) * 2020-07-03 2020-10-16 Oppo广东移动通信有限公司 Fast application association method and related device
WO2022247458A1 (en) * 2021-05-28 2022-12-01 华为技术有限公司 Page display method, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
CN109408150A (en) It is a kind of to apply loading method and mobile terminal fastly
CN109271121A (en) A kind of application display method and mobile terminal
CN109445894A (en) A kind of screenshot method and electronic equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107908765B (en) Game resource processing method, mobile terminal and server
CN108415652A (en) A kind of text handling method and mobile terminal
CN110224920B (en) Sharing method and terminal equipment
CN110795310B (en) Information reminding method and electronic equipment
CN109635205A (en) Information-pushing method and terminal device
CN109284144A (en) A kind of fast application processing method and mobile terminal
CN109358931A (en) A kind of interface display method and terminal
CN109885302A (en) A kind of methods of exhibiting and terminal device applied fastly
WO2015003636A1 (en) Method and device for interception of page elements
CN107885799A (en) Info web display methods and device
CN110035181A (en) It is a kind of to apply card theme setting method and terminal fastly
CN110381204A (en) A kind of information display method and mobile terminal
CN109491670A (en) A kind of page display method and terminal device
CN110888705A (en) Method for processing unread message corner mark and electronic equipment
CN107765954B (en) Application icon updating method, mobile terminal and server
CN109901761A (en) A kind of content display method and mobile terminal
CN110046013A (en) A kind of interface display method and terminal device
CN110147174A (en) A kind of control method and terminal device
CN108763544A (en) A kind of display methods and terminal
CN108920054A (en) A kind of application recommended method and terminal
CN107766222A (en) Blank screen detection method, mobile terminal and 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190301