CN106293790A - Application program updating method and apparatus based on Firefox operating system - Google Patents
Application program updating method and apparatus based on Firefox operating system Download PDFInfo
- Publication number
- CN106293790A CN106293790A CN201510283424.8A CN201510283424A CN106293790A CN 106293790 A CN106293790 A CN 106293790A CN 201510283424 A CN201510283424 A CN 201510283424A CN 106293790 A CN106293790 A CN 106293790A
- Authority
- CN
- China
- Prior art keywords
- application program
- program updating
- application
- bag
- operating system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The invention discloses a kind of application program updating method and apparatus based on Firefox operating system, wherein, above-mentioned application program updating method includes obtaining application program update information, and this application program update information includes: the download address of application program updating bag;Download application program updating bag from the position that this download address is specified, and this application program updating bag is stored in the User Catalog of Firefox operating system;Call the application programming interface function for copied files newly-increased in Gecko, the system directory of the destination application that this application program updating bag is copied to from User Catalog this upgrading, wherein, the described newly-increased application programming interface function for copied files possesses root authority;Restart this destination application to complete the upgrading to described destination application.The technical scheme that the present invention provides can effectively reduce the loss of the flow needed for upgrading and time.
Description
Technical field
The present invention relates to upgrade technique field, be specifically related to a kind of application journey based on Firefox operating system
Sequence upgrade method and device.
Background technology
Firefox operating system (OS, Operating System), is the opening being dominated research and development by Mozilla
Source code Mobile operating system, uses the Linux kernel heart, is applied to smart mobile phone, draws with Gecko browser
Holding up as core, system architecture is divided into Gonk, Gecko and Gaia tri-layers, and application program uses through the 5th time
HTML (HTML, Hypertext Markup Language) (the i.e. HTML of material alteration
5) develop.
The application program (App, Application) of Firefox OS can according to the location mode of resource file
To be divided into Package App and Hosted App two kinds, the former all resource files are all put into a catalogue
Under, after installation, all of resource file all stores on equipment;All resources of Hosted App are stored in net
On page server (i.e. Web Server), can come according to the manifest.webapp of application program after installation
Load resource file.
Hosted App is stored on Web Server due to its resource file, only needs to update during renewal
Respective resources file on Web Server, then equipment refreshes and can realize.
Non-webpage APP in Package App can only by the Gonk module upgrade of Firefox OS or
The mode of Gecko module upgrade realizes, this kind of upgrading mode due to need the whole of upgrading operation system or
Part of module, has time-consuming and consumes the defects such as flow, and if application program update is frequent, every time
The part of module of whole operating system or operating system of being required for upgrading realizes the renewal of an application program,
Consumer's Experience will be greatly reduced.
Summary of the invention
The present invention provides a kind of application program updating method and apparatus based on Firefox operating system, is used for dropping
Flow needed for low upgrading and the loss of time.
First aspect present invention provides a kind of application program updating method based on Firefox operating system, bag
Include: obtaining application program update information, described application program update information includes: application program updating bag
Download address;
Described application program updating bag is downloaded from the position that described download address is specified, and by described application program
AKU stores in the User Catalog of Firefox operating system;
Call the application program for copied files newly-increased in the Gecko of described Firefox operating system to compile
Journey interface function, answers the target that described application program updating bag copies this upgrading to from described User Catalog
With in the system directory of program, wherein, the described newly-increased application programming interface letter for copied files
Number possesses root authority;
Restart described destination application to complete the upgrading to described destination application.
Second aspect present invention provides a kind of application program updating based on Firefox operating system dress
Put, including: acquiring unit, it is used for obtaining application program update information, described application program update information bag
Include: the download address of application program updating bag;Download memory element, for specify from described download address
Described application program updating bag is downloaded in position, and described application program updating bag stores Firefox operation
In the User Catalog of system;Copy cell is new in the Gecko calling described Firefox operating system
The application programming interface function for copied files increased, by described application program updating bag from described use
In the system directory of the destination application that family catalogue copies this upgrading to, wherein, described newly-increased being used for
The application programming interface function of copied files possesses root authority;Restart unit, be used for restarting described mesh
Mark application program is to complete the upgrading to described destination application.
Therefore, the present invention increases newly in the Gecko of Firefox operating system for copied files and
There is the application programming interface function of root authority, during application program updating, by calling this
Application programming interface function, copies the application program updating bag in storage to User Catalog to this application
In the system directory of program, restart this application program afterwards and complete the upgrading of this application program, pass through the present invention
Scheme, the upgrading of any non-Web page application program in Firefox operating system can individually be carried out and nothing
The part of module of whole operating system or the operating system of need to upgrading, is effectively improved application program updating efficiency,
And reduce the flow needed for upgrading and the loss of time, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of based on Firefox operating system one reality of application program updating method that Fig. 1 provides for the present invention
Execute example schematic flow sheet;
A kind of based on Firefox operating system the application program updating method that Fig. 2 provides for the present invention another
Embodiment schematic flow sheet;
Application program updating system architecture schematic diagram under a kind of application scenarios that Fig. 3 provides for the present invention;
A kind of based on Firefox operating system one reality of application program updating device that Fig. 4 provides for the present invention
Execute example structural representation.
Detailed description of the invention
For making the goal of the invention of the present invention, feature, the advantage can be the most obvious and understandable, below will knot
Close the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely retouched
State, it is clear that described embodiment is only a part of embodiment of the present invention, and not all embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of application program updating method based on Firefox operating system, including:
Obtaining application program update information, described application program update information includes: the download of application program updating bag
Address;Described application program updating bag is downloaded from the position that described download address is specified, and by described application journey
Sequence AKU stores in the User Catalog of Firefox operating system;Call described Firefox operating system
The application programming interface function for copied files newly-increased in Gecko, by described application program updating
Wrap the system directory of the destination application copying this upgrading from described User Catalog to, wherein, described
The newly-increased application programming interface function for copied files possesses root authority;Restarting described target should
By program to complete the upgrading to described destination application.The embodiment of the present invention also provides for applying accordingly journey
Sequence update device, is described in detail individually below.
A kind of based on Firefox operating system the application program updating the side below embodiment of the present invention provided
Method is described, and refers to Fig. 1, and the application program updating method in the embodiment of the present invention includes:
101, obtaining application program update information, wherein, above-mentioned application program update information includes: application
The download address of program AKU;
Alternatively, when the application program updating bag of the redaction that server discovery exists a certain application program,
Above-mentioned application program update information is pushed to the application program updating device managing this application program;Or, should
Actively can also obtain above-mentioned application program update information from server with program upgrade apparatus, the present invention implements
The specific implementation obtaining application program update information is not defined by example.
102, download above-mentioned application program updating bag from the position that above-mentioned download address is specified, and answer above-mentioned
Store with program AKU in the User Catalog of Firefox operating system;
In the embodiment of the present invention, after application program updating device obtains above-mentioned application program update information, i.e.
Trigger the execution of step 102.
Alternatively, above-mentioned application program update information also includes: the version information of application program updating bag describes
File, when application program updating device obtains above-mentioned application program update information, application program updating device
Whether the version information according to above-mentioned application program updating bag describes file and detects this application program updating bag and be
The application program updating bag of redaction, when determining that this application program updating bag is the application program updating of redaction
Bag, just triggers the execution of step 102, otherwise, does not trigger the execution of step 102 and subsequent step.
Optionally, when application program updating device obtains above-mentioned application program update information, prompting user is
No triggering upgrading flow process, when user selects upgrading, triggers the execution of step 102, otherwise, does not trigger step
Rapid 102 and the execution of subsequent step.
103, the application journey for copied files newly-increased in the Gecko of above-mentioned Firefox operating system is called
Sequence DLL function, copies the mesh of this upgrading to by above-mentioned application program updating bag from above-mentioned User Catalog
In the system directory of mark application program;
Wherein, the above-mentioned newly-increased application programming interface function for copied files possesses root authority.
In the embodiment of the present invention, the Gecko in above-mentioned Firefox operating system increases newly for copied files in advance
Application programming interface function (API, Application Programming Interface).Alternatively,
This newly-increased API is according to web interface definitional language mode (IDL, Interface Definition Language)
Being added in the Gecko layer of above-mentioned Firefox operating system, concrete file copy function is at dynamic link library
File realizes, owing to this API is realized by web IDL in Gecko, belongs to system API, because of
This this API possesses root authority, it is possible to directly operating system catalogue.Specifically, above-mentioned dynamic link library
File use c language realize, can be put into Firefox operating system /external catalogue under, use
The compiling mounting means of Android, the dynamic link library file ultimately produced copies Firefox operating system to
/ data/local catalogue in.
In the embodiment of the present invention, application program updating device calls above-mentioned newly-increased API, step 102 is deposited
The application program updating bag storing up above-mentioned User Catalog copies the system of this destination application upgraded to
In catalogue.Specifically, application program updating device can be called by system App and have root authority
Above-mentioned newly-increased API, above-mentioned newly-increased API use in the above-mentioned dynamic link library file of dlopen function call
File copy function, step 102 is stored the application program updating bag of above-mentioned User Catalog and copies this to
In the system directory of the destination application of secondary upgrading.
Optionally, application program updating device is set up with system APP and is connected, and is called by this system APP
Above-mentioned API newly-increased in Gecko, application program updating bag step 102 stored in User Catalog is copied
In the system directory of the destination application that shellfish is upgraded to this.
104, above-mentioned destination application is restarted to complete the upgrading to above-mentioned destination application;
After the copy work completing step 103, application program updating device restarts above-mentioned intended application journey
Sequence, to complete the upgrading to above-mentioned destination application.
It should be noted that the application program updating method in the embodiment of the present invention is mainly used in Package
The upgrading of App, certainly, this application program updating method can also be applied to the liter of other type of APP
Level, is not construed as limiting herein.
It should be noted that the application program updating device in the embodiment of the present invention can be integrated in mobile whole
In the equipment of end, intelligent TV set or other loading Firefox operating system, or, it is also possible to independent of
The equipment of above-mentioned loading Firefox operating system, and can be entered with the said equipment by wired or wireless mode
The device of row communication, is not construed as limiting herein.
Therefore, the present invention increases newly in the Gecko of Firefox operating system for copied files and
There is the application programming interface function of root authority, during application program updating, by calling this
Application programming interface function, copies the application program updating bag in storage to User Catalog to this application
In the system directory of program, restart this application program afterwards and complete the upgrading of this application program, pass through the present invention
Scheme, the upgrading of any non-Web page application program in Firefox operating system can individually be carried out and nothing
The part of module of whole operating system or the operating system of need to upgrading, is effectively improved application program updating efficiency,
And reduce the flow needed for upgrading and the loss of time, improve Consumer's Experience.
Below with another embodiment to the one of the offer in the embodiment of the present invention based on Firefox operating system
Application program updating method be described, refer to Fig. 2, the application program updating in the embodiment of the present invention
Method includes:
201, obtaining application program update information, wherein, above-mentioned application program update information includes: application
The download address of program AKU and the version information of application program updating bag describe file;
Alternatively, when the application program updating bag of the redaction that server discovery exists a certain application program,
Above-mentioned application program update information is pushed to the application program updating device managing this application program;Or, should
Actively can also obtain above-mentioned application program update information from server with program upgrade apparatus, the present invention implements
The specific implementation obtaining application program update information is not defined by example.
202, according to the version information of application program updating bag, file is described, it is judged that application program updating bag is
The no application program updating bag for redaction;
In the embodiment of the present invention, when application program updating device obtains above-mentioned application program update information, should
Describe file with program upgrade apparatus according to the version information of above-mentioned application program updating bag and detect this application journey
Whether sequence AKU is the application program updating bag of redaction, when determining that this application program updating bag is redaction
Application program updating bag, perform step 203, otherwise, perform step 206.
203, download above-mentioned application program updating bag from the position that above-mentioned download address is specified, and answer above-mentioned
Store with program AKU in the User Catalog of Firefox operating system;
204, the application journey for copied files newly-increased in the Gecko of above-mentioned Firefox operating system is called
Sequence DLL function, copies the mesh of this upgrading to by above-mentioned application program updating bag from above-mentioned User Catalog
In the system directory of mark application program;
Wherein, the above-mentioned newly-increased application programming interface function for copied files possesses root authority.
In the embodiment of the present invention, the Gecko in above-mentioned Firefox operating system increases newly for copied files in advance
API.Alternatively, this newly-increased API is added on the Gecko of above-mentioned Firefox operating system according to web IDL
In Ceng, concrete file copy function realizes in dynamic link library file, owing to this API is in Gecko
Being realized by web IDL, belong to system API, therefore this API possesses root authority, it is possible to directly grasp
Make system directory.Specifically, above-mentioned dynamic link library file uses c language to realize, and can be put into Firefox
Operating system /external catalogue under, use Android compiling mounting means, ultimately produce is dynamic
Chained library file copy to Firefox operating system /data/local catalogue in.
In the embodiment of the present invention, application program updating device calls above-mentioned newly-increased API, step 203 is deposited
The application program updating bag storing up above-mentioned User Catalog copies the system of this destination application upgraded to
In catalogue.Specifically, application program updating device can be called by system App and have root authority
Above-mentioned newly-increased API, above-mentioned newly-increased API use dlopen function to adjust from above-mentioned dynamic link library file
Using file copy function, the application program updating bag that step 203 stores above-mentioned User Catalog copies this to
In the system directory of the destination application of secondary upgrading.
Optionally, application program updating device is set up with system APP and is connected, and is called by this system APP
Above-mentioned API newly-increased in Gecko, application program updating bag step 203 stored in User Catalog is copied
In the system directory of the destination application that shellfish is upgraded to this.
205, above-mentioned destination application is restarted to complete the upgrading to above-mentioned destination application;
After the copy work completing step 204, application program updating device restarts above-mentioned intended application journey
Sequence, to complete the upgrading to above-mentioned destination application.
206, this flow process is terminated.
It should be noted that the application program updating device in the embodiment of the present invention can be integrated in mobile whole
In the equipment of end, intelligent TV set or other loading Firefox operating system, it is not construed as limiting herein.
It should be noted that the application program updating method in the embodiment of the present invention is mainly used in Package
The upgrading of App, certainly, this application program updating method can also be applied to the liter of other type of APP
Level, is not construed as limiting herein.
Therefore, the present invention increases newly in the Gecko of Firefox operating system for copied files and
There is the application programming interface function of root authority, during application program updating, by calling this
Application programming interface function, copies the application program updating bag in storage to User Catalog to this application
In the system directory of program, restart this application program afterwards and complete the upgrading of this application program, pass through the present invention
Scheme, the upgrading of any non-Web page application program in Firefox operating system can individually be carried out and nothing
The part of module of whole operating system or the operating system of need to upgrading, is effectively improved application program updating efficiency,
And reduce the flow needed for upgrading and the loss of time, improve Consumer's Experience.
With a concrete application scenarios, the application program updating method in the embodiment of the present invention is illustrated below,
As.As it is shown on figure 3, the application program updating system in the embodiment of the present invention comprise on hardware server and
Client two parts, above-mentioned server is used for depositing application program updating bag and the version of application program updating bag
Information describes document, and above-mentioned client, based on Firefox OS, comprises System App, updating and management App
With Package App tri-part.
Increasing the API for copied files newly in the Gecko layer of above-mentioned Firefox OS, the interpolation of this API makes
By the mode of WebIDL, the work of concrete copy uses C language to realize, is compiled into dynamic link library, Gecko
File copy is realized by this dynamic link library of dlopen method call;
Above-mentioned System App is the first App started after Firefox OS starts, and has root authority,
Above-mentioned API, the file in copy system catalogue can be called;
Above-mentioned Package App be resource file be stored in this locality Web App, Privilige App and
Certified App, its resource file is positioned in system directory, and wherein the resource file of Certified App needs
Want root authority just can operate;
Above-mentioned updating and management App is used for realizing the upgrade function of Package App, when receiving server push
The application program update information sent, according to the version of the application program updating bag in this application program update information
Information describes document and determines that the version of this upgradeable application program updating bag is the most local higher than client
(this destination application is the application journey that this upgradeable application program updating bag is corresponding to destination application
Sequence) version, if, it is determined that this application program updating bag is the application program updating bag of redaction, holds
Row update action.
The AKU of above-mentioned Package App is downloaded containing edition comparison module, AKU, is preserved module and liter
Level module.Above-mentioned edition comparison module is that updating and management App receives the application program of server push more
After fresh information, the version information with local destination application compares, to determine whether to update;
Above-mentioned AKU download, preserve module be updating and management App from the application program of server push more
Fresh information obtains the download address of application program updating bag, downloads and preserve application program updating bag to client
The User Catalog that end is local;
Above-mentioned upgraded module is that updating and management App application sets up connections with System App, passes through
System App calls the above-mentioned API in Gecko layer, copies application program updating bag to intended application journey
In the corresponding system directory of sequence, the most above-mentioned destination application is to complete above-mentioned destination application
Upgrading.
With another embodiment, the embodiment of the present invention is provided below a kind of based on Firefox operating system should
It is described with program upgrade apparatus, refers to Fig. 4, the application program updating device in the embodiment of the present invention
400 include:
Acquiring unit 401, is used for obtaining application program update information, and described application program update information includes:
The download address of application program updating bag;
Download memory element 402, for downloading described application program liter from the position that described download address is specified
Level bag, and described application program updating bag is stored in the User Catalog of Firefox operating system;
Copy cell 403, newly-increased for copying for calling in the Gecko of described Firefox operating system
The application programming interface function of Buddhist script written on pattra leaves part, copies described application program updating bag from described User Catalog
In the system directory of the destination application upgraded to this, wherein, described newly-increased for copied files
Application programming interface function possesses root authority;
Restart unit 404, for restarting described destination application to complete described destination application
Upgrading.
Optionally, the described newly-increased application programming interface function for copied files connects according to web
Mouth definitional language mode is added in the dynamic link library file of described Firefox operating system;Copy cell
403 specifically for: use dlopen function call from described dynamic link library file described newly-increased for
The application programming interface function of copied files.
Optionally, described application program update information also includes: the version information of application program updating bag describes
File;Application program updating device in the embodiment of the present invention also comprises determining that unit, for according to described
The version information of application program updating bag describes file and determines that described application program updating bag is answering of redaction
Use program AKU.
Optionally, the application program updating device in the embodiment of the present invention also includes: receives unit, is used for:
Receive the upgrade command for described application program update information.
Optionally, acquiring unit 401 specifically for: receive server push application program update information.
It should be noted that the application program updating device in the embodiment of the present invention is mainly used in Package
The upgrading of App, certainly, this application program updating device can also be applied to the liter of other type of APP
Level, is not construed as limiting herein.
It should be noted that the application program updating device in the embodiment of the present invention can be integrated in mobile whole
In the equipment of end, intelligent TV set or other loading Firefox operating system, or, it is also possible to independent of
The equipment of above-mentioned loading Firefox operating system, and can be entered with the said equipment by wired or wireless mode
The device of row communication, is not construed as limiting herein.
Should be understood that the application program updating device in the embodiment of the present invention can carry in above-mentioned embodiment of the method
And application program updating device, may be used for the whole technical schemes realizing in said method embodiment, its
The function of each functional module can implement according to the method in said method embodiment, and it implements
Process can refer to the associated description in above-described embodiment, and here is omitted.
Therefore, the present invention increases newly in the Gecko of Firefox operating system for copied files and
There is the application programming interface function of root authority, during application program updating, by calling this
Application programming interface function, copies the application program updating bag in storage to User Catalog to this application
In the system directory of program, restart this application program afterwards and complete the upgrading of this application program, pass through the present invention
Scheme, the upgrading of any non-Web page application program in Firefox operating system can individually be carried out and nothing
The part of module of whole operating system or the operating system of need to upgrading, is effectively improved application program updating efficiency,
And reduce the flow needed for upgrading and the loss of time, improve Consumer's Experience.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can
To realize by another way.Such as, device embodiment described above is only schematically, example
Such as, the division of said units, being only a kind of logic function and divide, actual can have other drawing when realizing
Point mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some are special
Levy and can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling
Or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, Ke Yishi
Electrically, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, as
The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or
Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs
Unit realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit
In.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ SFU software functional unit
Form realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
Part that prior art is contributed by bright technical scheme the most in other words or this technical scheme complete
Portion or part can embody with the form of software product, and this computer software product is stored in a storage
In medium, including some instructions with so that computer equipment (can be personal computer, server,
Or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforementioned
Storage medium include: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various permissible
The medium of storage program code.
It should be noted that for aforesaid each method embodiment, in order to simplicity describes, therefore it is all stated
For a series of combination of actions, but those skilled in the art should know, the present invention is not by described
The restriction of sequence of movement, because according to the present invention, some step can use other order or carry out simultaneously.
Secondly, those skilled in the art also should know, embodiment described in this description belongs to be preferable to carry out
Example, involved action and module might not be all necessary to the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, in certain embodiment the most in detail
The part stated, may refer to the associated description of other embodiments.
It is more than to a kind of application program updating method based on Firefox operating system provided by the present invention
With the description of device, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, having
All will change on body embodiment and range of application, to sum up, it is right that this specification content should not be construed as
The restriction of the present invention.
Claims (10)
1. an application program updating method based on Firefox operating system, it is characterised in that including:
Obtaining application program update information, described application program update information includes: application program updating bag
Download address;
Described application program updating bag is downloaded from the position that described download address is specified, and by described application program
AKU stores in the User Catalog of Firefox operating system;
Call the application program for copied files newly-increased in the Gecko of described Firefox operating system to compile
Journey interface function, answers the target that described application program updating bag copies this upgrading to from described User Catalog
With in the system directory of program, wherein, the described newly-increased application programming interface letter for copied files
Number possesses root authority;
Restart described destination application to complete the upgrading to described destination application.
Method the most according to claim 1, it is characterised in that described newly-increased for copied files
Application programming interface function according to web interface definitional language mode be added on described Firefox operation
In the Gecko layer of system, file copy function realizes in dynamic link library file;
The application journey for copied files newly-increased in the described Gecko calling described Firefox operating system
Sequence DLL function, copies the mesh of this upgrading to by described application program updating bag from described User Catalog
In the system directory of mark application program, particularly as follows:
Call the application programming interface function for copied files newly-increased in described Gecko so that institute
That states that application programming interface function uses in dynamic link library file described in dlopen function call is described
File copy function, copies the target of this upgrading to by described application program updating bag from described User Catalog
In the system directory of application program.
Method the most according to claim 1 and 2, it is characterised in that
Described application program update information also includes: the version information of application program updating bag describes file;
Described from the described application program updating bag of position download that described download address is specified, include before:
Version information according to described application program updating bag describes file and determines described application program updating bag
Application program updating bag for redaction.
Method the most according to claim 1 and 2, it is characterised in that described from described download address
Described application program updating bag is downloaded in the position specified, and includes before:
Receive the upgrade command for described application program update information.
Method the most according to claim 1 and 2, it is characterised in that described acquisition application program is more
Fresh information is particularly as follows: receive the application program update information of server push.
6. an application program updating device based on Firefox operating system, it is characterised in that including:
Acquiring unit, is used for obtaining application program update information, and described application program update information includes: should
Download address with program AKU;
Download memory element, for downloading described application program updating from the position that described download address is specified
Bag, and described application program updating bag is stored in the User Catalog of Firefox operating system;
Copy cell, newly-increased for copying literary composition for calling in the Gecko of described Firefox operating system
The application programming interface function of part, copies described application program updating bag to this from described User Catalog
In the system directory of the destination application of secondary upgrading, wherein, the described newly-increased application for copied files
Program Interfaces function possesses root authority;
Restart unit, for restarting described destination application to complete the liter to described destination application
Level.
Application program updating device the most according to claim 6, it is characterised in that described newly-increased
Application programming interface function for copied files is added on institute according to web interface definitional language mode
Stating in the Gecko layer of Firefox operating system, file copy function realizes in dynamic link library file;
Described copy cell specifically for: call in described Gecko the newly-increased application journey for copied files
Sequence DLL function so that described application programming interface function uses described in dlopen function call
Described file copy function in dynamic link library file, by described application program updating bag from described user's mesh
In the system directory of the destination application that record copies this upgrading to.
8. according to the application program updating device described in claim 6 or 7, it is characterised in that described should
Also include with program more fresh information: the version information of application program updating bag describes file;
Described application program updating device also includes:
Determine unit, determine described answering for describing file according to the version information of described application program updating bag
With the application program updating bag that program AKU is redaction.
9. according to the application program updating device described in claim 6 or 7, it is characterised in that
Described application program updating device also includes:
Receive unit, be used for: receive the upgrade command for described application program update information.
10. according to the application program updating device described in claim 6 or 7, it is characterised in that described in obtain
Take unit specifically for: receive server push application program update information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510283424.8A CN106293790B (en) | 2015-05-28 | 2015-05-28 | application program upgrading method and device based on Firefox operating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510283424.8A CN106293790B (en) | 2015-05-28 | 2015-05-28 | application program upgrading method and device based on Firefox operating system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106293790A true CN106293790A (en) | 2017-01-04 |
CN106293790B CN106293790B (en) | 2019-12-13 |
Family
ID=57635467
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510283424.8A Active CN106293790B (en) | 2015-05-28 | 2015-05-28 | application program upgrading method and device based on Firefox operating system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293790B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357613A (en) * | 2017-06-28 | 2017-11-17 | 广州酷狗计算机科技有限公司 | Using update method, device and computer-readable recording medium |
CN109086066A (en) * | 2018-08-20 | 2018-12-25 | 平安普惠企业管理有限公司 | Update method, device, computer equipment and the storage medium of application program |
CN111324411A (en) * | 2020-03-26 | 2020-06-23 | 青岛海信传媒网络技术有限公司 | Method for upgrading user interface in display device and display device |
CN113127859A (en) * | 2019-12-30 | 2021-07-16 | Oppo广东移动通信有限公司 | Detection method and device for file to be detected, terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393591A (en) * | 2008-10-27 | 2009-03-25 | 中国科学院计算技术研究所 | Method and system for discovering unknown USB virus |
US20130227539A1 (en) * | 2012-02-29 | 2013-08-29 | Microsoft Corporation | Updating applications |
CN103885806A (en) * | 2014-04-02 | 2014-06-25 | 深圳市兰丁科技有限公司 | Implementation method and device for online upgrading of system software of set top box |
CN104182241A (en) * | 2013-05-24 | 2014-12-03 | 华为终端有限公司 | Webpage application program (Web App) update method and communication device |
CN104298532A (en) * | 2014-11-04 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | Upgrading method and upgrading system for software |
CN104375856A (en) * | 2014-09-24 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Application updating method and device |
-
2015
- 2015-05-28 CN CN201510283424.8A patent/CN106293790B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101393591A (en) * | 2008-10-27 | 2009-03-25 | 中国科学院计算技术研究所 | Method and system for discovering unknown USB virus |
US20130227539A1 (en) * | 2012-02-29 | 2013-08-29 | Microsoft Corporation | Updating applications |
CN104182241A (en) * | 2013-05-24 | 2014-12-03 | 华为终端有限公司 | Webpage application program (Web App) update method and communication device |
CN103885806A (en) * | 2014-04-02 | 2014-06-25 | 深圳市兰丁科技有限公司 | Implementation method and device for online upgrading of system software of set top box |
CN104375856A (en) * | 2014-09-24 | 2015-02-25 | 腾讯科技(深圳)有限公司 | Application updating method and device |
CN104298532A (en) * | 2014-11-04 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | Upgrading method and upgrading system for software |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107357613A (en) * | 2017-06-28 | 2017-11-17 | 广州酷狗计算机科技有限公司 | Using update method, device and computer-readable recording medium |
CN109086066A (en) * | 2018-08-20 | 2018-12-25 | 平安普惠企业管理有限公司 | Update method, device, computer equipment and the storage medium of application program |
CN109086066B (en) * | 2018-08-20 | 2023-12-19 | 中企瑞铭科技(北京)有限公司 | Application program updating method and device, computer equipment and storage medium |
CN113127859A (en) * | 2019-12-30 | 2021-07-16 | Oppo广东移动通信有限公司 | Detection method and device for file to be detected, terminal and storage medium |
CN113127859B (en) * | 2019-12-30 | 2024-04-12 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for detecting file to be detected |
CN111324411A (en) * | 2020-03-26 | 2020-06-23 | 青岛海信传媒网络技术有限公司 | Method for upgrading user interface in display device and display device |
CN111324411B (en) * | 2020-03-26 | 2023-12-22 | Vidaa(荷兰)国际控股有限公司 | User interface upgrading method in display equipment and display equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106293790B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105867947B (en) | Data processing method and device after preset application program updating | |
CN104750528B (en) | A kind of assembly management method and apparatus in Android program | |
US9928059B1 (en) | Automated deployment of a multi-version application in a network-based computing environment | |
CN107391104B (en) | Client and reactive native code update dependence management method, device and system | |
CN104182255A (en) | Method and terminal for upgrading library files of system application | |
JP2008507775A (en) | System and method for extracting and creating application meta information in a software application repository | |
CN108255708B (en) | Method, device, storage medium and equipment for accessing production file in test environment | |
US9542173B2 (en) | Dependency handling for software extensions | |
CN103365644A (en) | Method and device for expanding software functions | |
CN104731622B (en) | The loading method of a kind of application program, device and mobile terminal | |
CN107870769A (en) | The installation method and device of operating system | |
CN104216719A (en) | Method and device for updating android system | |
CN109863474A (en) | Update migratory system and method | |
CN106293790A (en) | Application program updating method and apparatus based on Firefox operating system | |
CN103677937B (en) | Method and device for upgrading and running software | |
CN110463162A (en) | Using dispositions method, apparatus and system | |
KR102052776B1 (en) | Installation engine and package format for parallelizable, reliable installations | |
CN114880100A (en) | Container dynamic scheduling method and device, computer equipment and storage medium | |
CN116049207A (en) | Application SQL script processing method and device, processor and electronic equipment | |
CN106201584B (en) | Version upgrading method and terminal device | |
CN110045998A (en) | Load the method and device of dynamic base | |
US10552135B1 (en) | Reducing a size of an application package | |
US20160335068A1 (en) | Checks for software extensions | |
CN113031996A (en) | OTA (over the air) upgrading method and device of electronic equipment, control terminal and medium | |
CN104573496A (en) | Method and device for inhibiting starting items from starting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |