Embodiment
The embodiment of the present application provides a kind of H5 application calls method, apparatus and mobile terminal.
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection
Scope.
In order to facilitate the embodiment of the present application is understood, introduced first at this embodiment of the present application description in can introduce it is several will
Element.
H5:That is the 5th generation version of HyperText Markup Language (HyperText Markup Language, HTML).H5
Purpose of design be to support multimedia on the mobile apparatus.In order to support multimedia, H5 introduce video, audio and
Canvas etc. is marked.In addition, H5 has also introduced new function, thus it is possible to vary the interactive mode of user and document, including:It is offline to compile
Volume function, from a H5 document to the drag-and -drop function another H5 document, etc..
Hybrid is applied:The H5 applications run in primary App on terminal platform beyond general browser.This
The service logic of H5 applications has used the ability that Native is provided, and relies on these abilities, can not split.
Offline H5 applications:Whole code is compressed according to specification, compressed package is formed, user's hand is issued to by network
In machine, make user's access performance optimal.
Fig. 1 is the flow chart of the call method of one embodiment H5 applications of the application.Fig. 1 method can be applied by H5
Calling device performs.In specific H5 applications, the H5 application calls device can be the One function module of Hybrid applications,
The functional module of either other H5 applications.In addition, Fig. 1 method by H5 application calls supervising device by can also be performed.Fig. 1
Method may include:
S101, detect the H5 and apply offline versions in mobile terminal.
S102, if detect the mobile terminal be not present the H5 application offline versions, call the H5 apply
Line version is simultaneously run.
Specifically, ask H5 application online version when, can by the address for the online version that the H5 is applied, such as
URL addresses etc., the online version of request call H5 applications and operation.
In the embodiment of the present application, by the terminal be not present H5 application offline versions when call H5 application
Line version, so as to the situation for the offline versions applied independent of H5 in mobile terminal, ensure the smooth tune to H5 applications
With improving Consumer's Experience.
It should be understood, of course, that this method may also include:If the offline versions of H5 applications in the mobile terminal be present,
Call the offline versions that the H5 is applied and operation.
Alternatively, this method may also include:The offline versions of H5 applications are downloaded, and are installed on the mobile terminal, with
The offline versions that the H5 is applied and operation are called when calling the H5 to apply next time.
In the embodiment of the present application, by downloading the offline versions of H5 applications, and installed on the mobile terminal so that use
When family can call H5 applications in next time, offline versions and the operation of H5 applications can be directly invoked.
Alternatively, as one embodiment, the offline versions of H5 applications are downloaded, specifically can be achieved be:
When running the online version of H5 applications, parallel starting downloads the process of the offline versions of H5 applications.
In the embodiment of the present application, the Parallel download offline versions when running the online version of H5 applications so that Yong Huke
To obtain offline versions as early as possible, so that next time calls.
Alternatively, as another embodiment, the offline versions of H5 applications are downloaded, specifically can be achieved be:
Precontract task is established, the precontract task is used to preengage the offline versions for downloading H5 applications;
When reaching the entry condition of the precontract task, start the precontract task.
In the embodiment of the present application, offline versions are downloaded by establishing precontract task so that mobile terminal can meet to open
Start precontract task after dynamic condition, more preferable download policy can be provided the user.
Specifically, in a kind of implementation of the embodiment of the present application, the entry condition can include at the mobile terminal
In WIFI connection modes.
In this implementation, restart precontract task when mobile terminal is in WIFI connection modes, it is possible to reduce move
The consumption of the mobile data flow of dynamic terminal.
Specifically, in another implementation of the embodiment of the present application, the entry condition can include H5 applications and move back
Go out.
In this implementation, restart precontract task when H5 applications are exited, can avoid in H5 application run-times
Between with H5 application competitive resources, for H5 application operation good resource environment is provided.
It should be understood, of course, that the entry condition can also be other situations.For example, the entry condition includes:The mobile terminal
Exited in WIFI connection modes and H5 applications;In another example the entry condition includes:The network quality of mobile terminal is more than predetermined
Threshold value, etc..Several possible entry conditions of precontract task are enumerated above, in specific application, it is also possible to it be present
Its entry condition, the embodiment of the present application are numerous to list herein.
Alternatively, as one embodiment, when downloading the offline versions of H5 applications, this method also includes:Display should
The download progress of the offline versions of H5 applications.
In the embodiment of the present application, the download progress of the offline versions by showing H5 applications, it can make it that user can be with
The download situation of offline versions can be clearly seen.
Specifically, the download progress can be represented with download progress bar, or be represented with the percentages downloaded, this Shen
Please embodiment this is not restricted.
Alternatively, as one embodiment, step S102 specifically can be achieved be:
If detecting that the offline versions of H5 applications are not present in the mobile terminal, user's request to the mobile terminal is
The online version of no calling H5 applications;
After the online version that the user allows to call that the H5 is applied, online version and operation that the H5 is applied are called.
In the embodiment of the present application, by whether being adjusted to user's request in offline versions of the mobile terminal in the absence of H5 applications
The online version applied with H5, has provided the user selectable scheme, has enabled to user to obtain more preferable Consumer's Experience.
Alternatively, when this method is performed by H5 application calls supervising device, this method also includes:Monitor H5 application calls
Request, wherein, the H5 application invocation requests are applied for request call H5;
Wherein, step S101 specifically can be achieved be:When monitoring the call request to H5 applications, detect the H5 and apply
The offline versions of the mobile terminal.
In the embodiment of the present application, examined by monitoring H5 application invocation requests, and according to the H5 application invocation requests listened to
The offline versions with the presence or absence of corresponding H5 applications are surveyed, and call what the H5 was applied in the offline versions applied in the absence of the H5
Online version, so as to the situation for the offline versions applied independent of H5 in mobile terminal, ensure to the smooth of H5 applications
Call, improve Consumer's Experience.
Alternatively, the H5 applications that the H5 application invocation requests monitored in the embodiment of the present application are called, can be all
H5 is applied.
Or alternatively, the H5 applications that the H5 application invocation requests monitored in the embodiment of the present application are called, it can refer to
Fixed H5 applications.For example, a H5 list of application can be safeguarded, when the H5 applications that the H5 application invocation requests listened to are called
In the H5 list of applications, then perform the embodiment of the present application method.Specifically, H5 applications are may include in the H5 list of applications
Mark, and online version address, etc. corresponding to H5 applications.
Below, the method for the embodiment of the present application will be further described in conjunction with specific embodiments.
Fig. 2 is the particular flow sheet of the call method of one embodiment H5 applications of the application.
201, open H5 applications A.
In the embodiment of the present application, first have to open a H5 application, H5 applications A might as well be assumed to be.It should be understood that Fig. 1 institutes
Show the H5 application call devices of embodiment, can be the H5 application A of the embodiment of the present application, or the H5 of the embodiment of the present application should
With the One function module in A.
202, H5 application A detect whether the offline versions that H5 applications B be present.
H5 applications A is before H5 applications B is called, it is necessary to detect whether H5 be present in the mobile terminal where H5 applications A
Using B offline versions.
If detecting H5 applications B offline versions in mobile terminal be present, step 203 is performed;
If detecting the offline versions that H5 applications B is not present in mobile terminal, step 204 is performed.
203, H5 application A call H5 applications B offline versions.
When detecting the information that H5 applications B in mobile terminal be present, then H5 applications A can directly invoke the offline of H5 applications B
Version.
204, H5 application A call H5 applications B online version and operation.
When detect in mobile terminal be not present H5 applications B information, then H5 applications A can call H5 applications B online version
This simultaneously runs.
Specifically, for example, H5 applications A can by the URL addresses of H5 applications B online version, request call H5 applications B's
Online version and operation, etc..Of course, it is also possible to the mode of other calling H5 applications B online version be present, the application is implemented
This is not restricted for example.
205, H5 application A initiate RPC flows, and H5 application B information is downloaded in request.
After H5 applications B online version is called, H5 applications A can also initiate remote procedure call protocol (Remote
Procedure Call Protocol, RPC) flow, request download H5 applications B offline versions.
For example, RPC requests can be transmitted in H5 applications A, H5 applications B is carried in RPC requests applies ID.Asked by RPC,
H5 applications A can obtain H5 applications B configuration information.Wherein, H5 applications B offline version can be included in H5 applications B configuration information
This resource address etc..After H5 applications A obtains the resource address of H5 applications B offline versions, the download that can initiate H5 applications B please
Ask.
Alternatively, H5 applications A can initiate H5 applications B download request immediately, in the online of H5 applications A calling H5 applications B
Parallel starting downloading process during version.
Or alternatively, H5 applications A can create reservation downloading task, H5 applications B download is downloaded in reservation, then up to
Start precontract task after to the entry condition of precontract task.Specifically, entry condition, for example, it may be mobile terminal is in
WIFI connection modes, or H5 applications are exited, or other conditions.It should be understood, of course, that the entry condition can also be more
The combination of individual condition.
206, H5 application B are downloaded.
H5 applications B, which starts, to be downloaded.When H5 applications B starts and downloaded, it can show that H5 applications B offline versions are downloaded into
Degree.Specifically, the download progress can be a progress bar, or progress percentage, etc..
207, H5 application B are installed.
After H5 applications B is downloaded, you can carry out H5 applications B installation.
Fig. 3 is the particular flow sheet of the monitoring call method of another embodiment H5 applications of the application.
301, H5 application call supervising devices monitor H5 applications C call request.
It should be understood that in the embodiment of the present application, H5 application calls supervising device can be disposed on mobile terminals, and monitoring, which intercepts, to move
The call request of H5 applications in dynamic terminal.
Alternatively, H5 application calls supervising device can monitor the call request of all H5 applications, or the H5 that monitoring is specified
The call request of application.The H5 specified is applied, for example, it may be H5 applications in some H5 list of application, etc..
It might as well assume that H5 applications C is satisfactory H5 applications, and H5 application call supervising devices monitor H5 applications C's
Call request.
302, detect whether H5 applications C offline versions be present.
After H5 application call supervising devices monitor H5 applications C call request, it can detect whether H5 applications C be present first
Offline versions.
If detecting H5 applications C offline versions in mobile terminal be present, H5 application call supervising devices can perform
Step 303;
If detecting the offline versions that H5 applications C is not present in mobile terminal, H5 application calls supervising device can be held
Row step 304.
303, call H5 applications C offline versions and operation.
When H5 application call supervising devices detect the information that H5 applications C in mobile terminal be present, then H5 application calls are supervised
Control device can directly invoke H5 applications C offline versions.
304, call H5 applications C online version and operation.
H5 applications C information is not present in mobile terminal when H5 application call supervising devices detect, then H5 application calls
Supervising device can call H5 applications C online version and operation.
For example, H5 application calls supervising device can call H5 applications C's by the URL addresses of H5 applications C online version
Online version and operation, etc..In addition, H5 application calls supervising device can safeguard a H5 application call list, H5 store
The mark of application and corresponding online version address;Or H5 application calls supervising device can store H5 otherwise
The mark of application and the mapping relations of corresponding online version address, the embodiment of the present application are without limitation.
305, H5 application call supervising devices initiate RPC flows, and H5 application C information is downloaded in request.
306, H5 application C are downloaded.
307, H5 application C are installed.
Step 305-307 specific implementation refers to the step 205-207 of embodiment illustrated in fig. 2, and the embodiment of the present application exists
This is repeated no more.
Fig. 3 is the structural representation of one embodiment electronic equipment of the application.Fig. 3 is refer to, in hardware view, the electricity
Sub- equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include interior
Deposit, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, controlling bus
Deng.For ease of representing, only represented in Fig. 3 with a four-headed arrow, it is not intended that an only bus or a type of total
Line.
Memory, for depositing program.Specifically, program can include program code, and the program code includes computer
Operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
H5 application call devices are formed on face.Processor, the program that memory is deposited is performed, and specifically for performing following operate:
Detection H5 applies the offline versions in mobile terminal;
If the offline versions of H5 applications are not present in the mobile terminal, online version and fortune that the H5 is applied are called
OK.
The method that above-mentioned H5 application calls device or H5 applications A as disclosed in the application Fig. 1, embodiment illustrated in fig. 2 performs
It can apply in processor, or realized by processor.Processor is probably a kind of IC chip, has the place of signal
Reason ability.In implementation process, each step of the above method can by the integrated logic circuit of the hardware in processor or
The instruction of software form is completed.Above-mentioned processor can be general processor, including central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing
Device (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated
Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the application implementation
Disclosed each method, step and logic diagram in example.General processor can be that microprocessor or the processor can also
It is any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding
Computing device is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can position
In random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register
Deng in the ripe storage medium in this area.The storage medium is located at memory, and processor reads the information in memory, with reference to it
Hardware completes the step of above method.
The electronic equipment can also carry out Fig. 1 method, and realize H5 application calls device or H5 applications A in Fig. 1, Fig. 2 institute
Show the function of embodiment, the embodiment of the present application will not be repeated here.
The embodiment of the present application additionally provides a kind of mobile terminal, includes the H5 application call devices of embodiment illustrated in fig. 4.
Certainly, in addition to software realization mode, the electronic equipment of the application is not precluded from other implementations, for example patrols
Collect mode of device or software and hardware combining etc., that is to say, that the executive agent of following handling process is not limited to each patrol
Collect unit or hardware or logical device.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is when the portable electronic for being included multiple application programs
When equipment performs, the method for portable electric appts execution embodiment illustrated in fig. 1 can be made.
Fig. 5 is the structural representation of one embodiment H5 application calls device 500 of the application.Fig. 5 is refer to, in one kind
In Software Implementation, H5 application calls device 500 may include:Detection unit 510 and call unit 520.
Detection unit 510, detection H5 apply the offline versions in mobile terminal;
Call unit 520, if the offline versions of H5 applications are not present in the mobile terminal, call what the H5 was applied
Online version is simultaneously run.
In the embodiment of the present application, H5 application calls device 500 passes through in the terminal in the absence of the offline version of H5 applications
This when, calls the online version of H5 applications, so as to the situation for the offline versions applied independent of H5 in mobile terminal, protects
The smooth calling to H5 applications is demonstrate,proved, improves Consumer's Experience.
Alternatively, download unit 530 is may also include as one embodiment, H5 application calls device 500, downloading the H5 should
Offline versions, and installed on the mobile terminal.
Alternatively, in a kind of implementation of the present embodiment, the online version of H5 applications is run in call unit 520
When, the parallel starting of download unit 530 downloads the process of the offline versions of H5 applications.
Or alternatively, in another implementation of the present embodiment, H5 applications are run in call unit 520
During online version, download unit 530 establishes precontract task, and the precontract task is used to preengage the offline versions for downloading H5 applications;
When reaching the entry condition of the precontract task, start the precontract task.
Further, the entry condition includes:The mobile terminal is in WIFI connection modes, and/or, H5 applications are moved back
Go out.
Alternatively, H5 application calls device 500 may also include progress display unit 540, and the H5 is downloaded in download unit 530
During the offline versions of application, the download progress of the offline versions of H5 applications is shown.
Alternatively, H5 application calls device 500 may also include request unit 550, if the H5 is not present in the mobile terminal
Whether the offline versions of application, user request of the request unit 550 to the mobile terminal call the online version that the H5 is applied;Adjust
With unit 520 after the online version that the user allows to call that the H5 is applied, online version and operation that the H5 is applied are called.
Alternatively, if the offline versions of H5 applications in the mobile terminal be present, call unit 520 also calls the H5
The offline versions of application and operation.
In the embodiment of the present application, H5 application calls device 500 can also carry out Fig. 1 method, and realize that H5 application calls fill
The function in Fig. 1, embodiment illustrated in fig. 2 is put, the embodiment of the present application will not be repeated here.
Present invention also provides a kind of mobile terminal, the mobile terminal may include the H5 application calls of embodiment illustrated in fig. 5
Device 500, or the H5 application call devices stored in the electronic equipment of embodiment illustrated in fig. 4.
Fig. 6 is the structural representation of one embodiment electronic equipment of the application.Fig. 6 is refer to, in hardware view, the electricity
Sub- equipment includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include interior
Deposit, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the electronic equipment is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, controlling bus
Deng.For ease of representing, only represented in Fig. 6 with a four-headed arrow, it is not intended that an only bus or a type of total
Line.
Memory, for depositing program.Specifically, program can include program code, and the program code includes computer
Operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
H5 application call supervising devices are formed on face.Processor, the program that memory is deposited is performed, and specifically for performing following grasp
Make:
H5 application invocation requests are monitored, the H5 application invocation requests are applied for request call H5;
When monitoring the call request to H5 applications, detect the H5 and apply offline versions in the mobile terminal;
If the offline versions of H5 applications are not present in the mobile terminal, online version and fortune that the H5 is applied are called
OK.
Above-mentioned H5 application calls supervising device or H5 applications A as disclosed in the application Fig. 1, embodiment illustrated in fig. 3 performs
Method can apply in processor, or be realized by processor.Processor is probably a kind of IC chip, has signal
Disposal ability.In implementation process, each step of the above method can pass through the integrated logic circuit of the hardware in processor
Or the instruction of software form is completed.Above-mentioned processor can be general processor, including central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be Digital Signal Processing
Device (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated
Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.It can realize or perform the application implementation
Disclosed each method, step and logic diagram in example.General processor can be that microprocessor or the processor can also
It is any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding
Computing device is completed, or performs completion with the hardware in decoding processor and software module combination.Software module can position
In random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register
Deng in the ripe storage medium in this area.The storage medium is located at memory, and processor reads the information in memory, with reference to it
Hardware completes the step of above method.
The electronic equipment can also carry out Fig. 1 method, and realize H5 application calls supervising device or H5 applications A in Fig. 1, figure
The function of 3 illustrated embodiments, the embodiment of the present application will not be repeated here.
The embodiment of the present application additionally provides a kind of mobile terminal, includes the H5 application calls monitoring dress of embodiment illustrated in fig. 6
Put.
Certainly, in addition to software realization mode, the electronic equipment of the application is not precluded from other implementations, for example patrols
Collect mode of device or software and hardware combining etc., that is to say, that the executive agent of following handling process is not limited to each patrol
Collect unit or hardware or logical device.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is when the portable electronic for being included multiple application programs
When equipment performs, the method for portable electric appts execution embodiment illustrated in fig. 1 can be made.
Fig. 7 is the structural representation of one embodiment H5 application calls supervising device 700 of the application.Fig. 7 is refer to,
In a kind of Software Implementation, H5 application calls supervising device 700 may include:Detection unit 720 and call unit 730.
Monitoring unit 710, monitors H5 application invocation requests, and the H5 application invocation requests are applied for request call H5;
Detection unit 720, when monitor to the H5 application call request when, detect the H5 apply the mobile terminal from
Line version;
Call unit 730, if the offline versions of H5 applications are not present in the mobile terminal, call what the H5 was applied
Online version is simultaneously run.
In the embodiment of the present application, H5 application calls supervising device 700 is being moved eventually by monitoring H5 application invocation requests
The online version for calling the H5 to apply during the offline versions for the H5 applications that H5 application invocation requests are called is not present in end, so as to
It can ensure the smooth calling to H5 applications independent of the situation of the offline versions applied of H5 in mobile terminal, improve use
Experience at family.
Alternatively, as one embodiment, H5 application calls supervising device 700 may also include download unit 740, and downloading should
The offline versions of H5 applications, and installed on the mobile terminal.
Alternatively, in a kind of implementation of the present embodiment, the online version of H5 applications is run in call unit 730
When, the parallel starting of download unit 740 downloads the process of the offline versions of H5 applications.
Or alternatively, in another implementation of the present embodiment, H5 applications are run in call unit 730
During online version, download unit 740 establishes precontract task, and the precontract task is used to preengage the offline versions for downloading H5 applications;
When reaching the entry condition of the precontract task, start the precontract task.
Further, the entry condition includes:The mobile terminal is in WIFI connection modes, and/or, H5 applications are moved back
Go out.
Alternatively, H5 application calls supervising device 700 may also include progress display unit 750, be downloaded in download unit 740
During the offline versions of H5 applications, the download progress of the offline versions of H5 applications is shown.
Alternatively, H5 application calls supervising device 700 may also include request unit 760,
If the offline versions of H5 applications, user of the request unit 760 to the mobile terminal is not present in the mobile terminal
Whether request calls the online version that the H5 is applied;
Call unit 730 is after the online version that the user allows to call that the H5 is applied, the online version of calling the H5 to apply
This simultaneously runs.
Alternatively, if the offline versions of H5 applications in the mobile terminal be present, call unit 730 also calls the H5
The offline versions of application and operation.
In the embodiment of the present application, H5 application calls supervising device 700 can also carry out Fig. 1 method, and realize that H5 applications are adjusted
It is will not be repeated here with supervising device in Fig. 1, the function of embodiment illustrated in fig. 3, the embodiment of the present application.
Present invention also provides another mobile terminal, the mobile terminal may include that the H5 applications of embodiment illustrated in fig. 7 are adjusted
With supervising device 700, or the H5 application call supervising devices stored in the electronic equipment of embodiment illustrated in fig. 6.
Present invention also provides a kind of computer-readable recording medium, the computer-readable recording medium storage one or more
Individual program, one or more programs are when the electronic equipment for being included multiple application programs performs so that the electronic equipment is held
Row is following to be operated:
Detection H5 applies the offline versions in mobile terminal;
If the offline versions of H5 applications are not present in the mobile terminal, online version and fortune that the H5 is applied are called
OK.
Present invention also provides another computer-readable recording medium, the computer-readable recording medium storage one or
Multiple programs, one or more programs are when the electronic equipment for being included multiple application programs performs so that the electronic equipment
Perform following operate:
H5 application invocation requests are monitored, the H5 application invocation requests are applied for request call H5;
When monitoring the call request to H5 applications, detect the H5 and apply offline versions in the mobile terminal;
If the offline versions of H5 applications are not present in the mobile terminal, online version and fortune that the H5 is applied are called
OK.
In a word, the preferred embodiment of the application is the foregoing is only, is not intended to limit the protection domain of the application.
All any modification, equivalent substitution and improvements within spirit herein and principle, made etc., should be included in the application's
Within protection domain.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of elements not only include those key elements, but also wrapping
Include the other element being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Other identical element also be present in the process of element, method, commodity or equipment.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.