CN102118500B - Software package-based online automatic updating method for open source operating system of mobile terminal - Google Patents

Software package-based online automatic updating method for open source operating system of mobile terminal Download PDF

Info

Publication number
CN102118500B
CN102118500B CN201010621838.4A CN201010621838A CN102118500B CN 102118500 B CN102118500 B CN 102118500B CN 201010621838 A CN201010621838 A CN 201010621838A CN 102118500 B CN102118500 B CN 102118500B
Authority
CN
China
Prior art keywords
file
software
module
compiling
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.)
Active
Application number
CN201010621838.4A
Other languages
Chinese (zh)
Other versions
CN102118500A (en
Inventor
董渊
王生原
张伟达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201010621838.4A priority Critical patent/CN102118500B/en
Publication of CN102118500A publication Critical patent/CN102118500A/en
Application granted granted Critical
Publication of CN102118500B publication Critical patent/CN102118500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a software package-based online automatic updating method for an open source operating system of a mobile terminal, which relates to the field of mobile terminal software and is applied to the open source operating system of the mobile terminal. By the method, the remote automatic updating of system software can be realized by taking a package as a unit, and convenience is brought to the rehabilitation of security holes and the installation of the operating system. The method comprises the two aspects that: a server automatically finishes structuring and publishing the software package, acquires all source codes of the operating system from an open source site, automatically divides and structures a proper software package, determines the updating information of the software package according to the version information and dependency of the source codes, and publishes the software package by utilizing a network; and the mobile terminal serving as a software package acquirer and user automatically checks the updating information by client software, and downloads and updates the system by taking the software package as the unit to fulfill the aim of automatic online updating. The method has the characteristics of high degree of automation and the like, and is easy to deploy in large scale and use.

Description

The portable terminal on-line automatic update method of operating system based on software kit of increasing income
Technical field
The present invention relates to moving communicating field, particularly a kind of portable terminal automatic on-line update method of operating system of increasing income.
Background technology
In China, the development of the Internet and mobile device influences each other, and forms powerful universal tide.Be portable terminal fast development in keen competition of representative with smart mobile phone, net book.Report claims according to the 26th the Internet surveys of CNNIC, by in June, 2010 whole nation 2.77 hundred million surfing Internet with cell phone users are arranged, account for the netizen overall nearly 66.0%.Along with mobile phone netizen's growth, the colony that only uses surfing Internet with cell phone that increases has gradually appearred, and this colony has accounted for 11.7% of netizen's integral body in 2010.
Be that the portable terminal of representative is increased income the usage ratio of operating system and capability of influence in continuous expansion with Android (Android) system.This system be at the very start with increase income, open development scheme, be subjected to the extensive concern of industry and academia, since issue, the version of Android basically every half a year a step advance.The opening of its platform has also attracted a large amount of third party developers to carry out application development, the BlackDuck report shows 2009 and increases 903 of the projects of increasing income newly, and just have 224 towards the project of Android, account for 25% more than, by contrast, iPhone and Windows Mobile created 76 and 75 projects of increasing income respectively in 2009.Predict that the Android system will become the world's second largest mobile terminal operating system that is only second to Nokia Symbian system 2010 years in the consultation report in the Gartner company 2010, and will leap to the whole world first in 2014.
In this case, the upgrading of operating system, maintenance management become major issue.Along with the development of modern software, people recognize that gradually software is service, and is not only a product.
Software systems need the mechanism of a continuous updating.Modern software is very complicated, and more or less all can there be defective in any system, and operating system is as a most complicated most important ring, and problem is particularly outstanding.Internet development has produced the influence of the pros and cons to the fail safe of network: on the one hand, user's possibility under attack strengthens; On the other hand, also easier acquisition system update copy of user.
Software systems should provide lasting renewable service for the user, so that each user can both experience the benefit that software upgrading brings.Modern software embodies is a kind of service and be not only a product, and the developer constantly strengthens function and lifting performance for software systems.If the end user can't experience this progress, the user may transfer to select other product.Why Here it is compares with traditional software, the website that upgrades in time, Web service one of the reason of more attractive that seems.
The increase income system update of operating system of portable terminal is extremely important:
Security update: do not have security update, software vulnerability is easy to allow the mobile terminal device virus overflowing.
Software error: irritating software error can be repaired soon and be published in the middle of user's the mobile phone.
Function renewal: the mobile terminal operating system of increasing income is a system of progress fast, and each user wishes to install new released version, and system update mechanism provides basic support for this reason.
Performance is upgraded: the mobile terminal operating system of increasing income is open platform, and systematic function, power consumption will be improved fast, and these update mechanisms have been arranged, and just can experience others' achievement in research easily.
Assuring before the reason system occurs, the renewal of software systems often means otherwise download patches and recompilate source code of system manager, covers original software.
The (SuSE) Linux OS of increasing income has the good reason mechanism of assuring.A lot of Linux distribution versions all comprise a special package manager, and the package manager of Linux originates from the epoch of Debian and S1ackware appearance, and these two systems all belong to the most ancient Linux distribution version of still upgrading.Debian assures the reason system which floor, and bottom is dpkg, and the front end of dpkg can be various softwares such as dselect, apt, and the function of dpkg has greatly been enriched in their appearance.Nearest popular Ubuntu also uses dpkg/apt based on Debian, and other distribution versions are as RedHat, and OpenSUSE etc. also respectively have the cover of oneself to assure the reason system, are called rpm/yum and yust respectively.
But compare with numerous reason systems that assure of Linux distribution version, Windows's is machine-processed different.Software kit management in the window control panel provides the unloading that software is installed entrance, and it and WindowsUpdate can provide good renewable service for system together.At first it only pays close attention to the renewal of Windows operating system or other Microsoft's products such as IE, Microsoft; Secondly WindowsUpdate does not have the concept of bag, and it obtains up-to-date system mend tabulation from Microsoft's Web site, and installs one by one.
Certain applications software also provides renewable mechanism, as Eclipse, Firefox etc.But this renewal is plug-in type often, and assures the reason system very big difference is also arranged, and for example provides a large amount of free expansions on the add-on assemble website of Firefox.The benefit of this renewal is cross operating system (striding the reason system that assures in other words), and to the no package manager system of Windows etc. also is replenishing of a kind of function.
Software package management system is defined as among the present invention: similar Linux assures the reason system, mainly is in charge of the software kit of operating system aspect.Software upgrading only is one of bag Functions of Management System, and in addition, other major functions of software package management system have:
The installation of each software kit in the management system, unloading life cycle.
The dependence of software kit in the management system is installed and the uninstall bag automatically according to dependence.
The conflict of management software packages, and to user report.
The last state of synchronizing software Bao Yuan, and the suggestion user upgrades.
Management software packages, guarantee from the horse's mouth, download and install complete, and rollback when wrong is appearring.
The software matrix of providing convenience index, can search for for the user.
Portable terminals such as the Android operating system of increasing income is only supported the software kit management aspect of application layer at present, can not satisfy the software upgrading demand of operating system aspect.The user can download software kit by internet access AndroidMarket, and the software kit that downloads to is the apk form, is responsible for installing and unloading by the AndroidPackageManager that carries in the Android system.Yet the Android system is divided into 4 levels, linux kernel, C/C++ storehouse, application framework, application layer, and AndroidPackageManager can only manage the software that is positioned at application layer, can not upgrade the software of other three levels (being referred to as system layer).Generally other levels of Android equipment can only upgrade by download system mirror image, the mode of writing with a brush dipped in Chinese ink Flash.
The present invention provides portable terminal and increases income operating system based on the on-line automatic update method of software kit, and the software that server end the is finished system level processing of packing automatically realizes the automatic renewal of client, can address the above problem well.Make the user to confirm to operate by simple, just can carry out system update.Have important and practical meanings and using value.
Summary of the invention
The present invention utilizes program analysis technique, design a kind of portable terminal on-line automatic update method of operating system based on software kit of increasing income, method (is example with the Android system at the system layer software in the open source code mobile terminal operating system that adopts at present extensively, then corresponding to linux kernel, C/C++ storehouse, application framework) replacement problem, the destination OS that requires to handle meets the following conditions: (1) can freely obtain whole source program codes; (2) system adopts the onrecurrent mode to compile, and namely all system layer softwares adopt single way of compiling control file Makefile or use and comprise a plurality of way of compiling control files that mechanism links together.
The present invention is included as server end and two parts of client, all adopts software to realize, is called server software and client software, referring to the square frame of accompanying drawing 1 the latter half.The former runs on server end, finishes that the operating system source code of increasing income obtains, automatically subpackage, produces lastest imformation and steps such as releasing software bag automatically automatically; The latter runs on portable terminal, finishes that lastest imformation automatic inspection, software kit are downloaded automatically and step such as installation.
Described method takes following steps to carry out:
Step (101), server end obtains the operating system source code of increasing income automatically.Server software adopts mode regularly from being dynamically connected open source code operating system code distribution site, download up-to-date source code by version management software, comprise C/C++/JAVA source code file and header file and way of compiling control file Makefile in the resulting source code, from edition management system, obtain the version updating information of source code simultaneously;
Step (102), server end are carried out source code and are analyzed subpackage, record renewal automatically.This method is analyzed the way of compiling control file in the operating system of increasing income, making up module with compiling is that unit carries out automatic subpackage, analyze and set up automatically the dependence between the bag, carry out on this basis that software kit is divided automatically, the lastest imformation management, concrete grammar is as follows:
1) definition of software kit.In this method the software module in each way of compiling control file is defined as a software kit.The file that the corresponding target designation of all these modules relies on all belongs to this software kit.The way of compiling control fileinfo mainly comprises rule and module information:
Rule.Every rule is made up of three parts: the precondition of establishing target, target-dependent, the required order of generation target.Wherein target and precondition all are files, therefore in fact defined the dependence between the file in the rule, also determine the structure order of file, in addition, constructing system can determine whether to rebuild a file according to the nearest modification time of file, if a target is all newer than its all dependences, then need not to rebuild this document.
Module.Module is for establishing target, and the operating system of increasing income way of compiling control file is establishing target with module definition, and each target corresponding rule.Generally speaking can generate a definitive document for each module, this definitive document is relevant static library file, executable file, shared library file of one of following type: C/C++, static class library file, class library file, executable application programs bag that Java is relevant.
2) read compiling management data library information.Server end operation compiler manager (make) is the compiling management database with the content that generates, and in text (being called database memory dump message file), this database format comprises with this data-base recording:
The beginning part is the version information of GNUMake,
For the output of Make order, use " n " option subsequently, this part is empty.
follows delegation, and ' part by database is followed in #Makedatabase, the beginning of printedon$DATE ' expression Make database, and each class data begins with delegation's note, if this row note is
' #Variables ': variable.Comprise all global variables and grand function definition.
' #Pattern-speci cVariableValues ': ignore, be indifferent to.
' #Directories ': ignore, be indifferent to.
' #ImplicitRules ': definition original language file is to the structure rule of file destination.
' #Files ': file dependence.Comprise the create-rule to each file, with note provided the definition of all local variables thereafter, comprise variable and built-in variable such as the “ $@ of some compiling management tools by rule definition ", “ $* " etc., provide the performed order of establishing target at last.
This database mainly comprises three part important contents: variable, rule and file dependence.
3) regular data is resolved.At first remove in the compiling database memory dump message file redundant informations such as non-goal rule, so-called non-goal rule refers to the target that this regular file destination never becomes a certain rule.Search " Variables ", " Files " keyword in database memory dump message file, the information that comprises Variables constitutes argument table, comprises the information composition rule table of Files.
Wherein argument table is defined as (title, numerical value), and wherein title has two kinds of implications: a kind of is the global variable name, and this moment, corresponding " numerical value " was represented the value of this variable, according to the rule of way of compiling control file, had comprised the module title in the global variable; Another is grand function definition, and this moment, corresponding " numerical value " was represented the definition of this function.
Rule list is defined as two tuples (precondition of establishing target, target-dependent), i.e. compiling makes up the first two section in the rule in the file, wherein comprise " installation file " of final installation and operation and mobile device in the establishing target and " path " is installed, and for generating the intermediate file that this installation file produces, comprise source file and library file that this installation file of generation relies in the precondition of target-dependent.
4) Module Division.From 3) extraction module title in the argument table of structure, all are run on the module of mobile device, be different module types according to belonging to signatures such as static library, shared library respectively in the compilation process, with two a tuples<module, module type〉represent.From rule list, search the installation file and the routing information that comprise in each module, with quadruple form<module, module type, path, installation file〉be established as module table, each module becomes a software kit in the target machine system with correspondence.For all modules are set up module table, then software kit is divided automatically and is finished.
5) extraction document and bag dependence.Extract generation in the rule list of file dependence from database, from rule list, extract each line discipline successively, for each " precondition that target relies on " in the rule, record two tuple clauses and subclauses<targets, rely on, the configuration file dependence.Module table has defined inclusion relation two tuples of module and installation file:<module, installation file 〉.Utilize this two kinds of relations, can extract all module dependences.
6) the software kit lastest imformation is judged.From operating system source code edition management system, obtained the version updating information of all source files in the step (101), if any one source file that comprises in certain software kit changes, then this lastest imformation is set to " needing to upgrade ", and other software kit that depends on this software kit during all compilings also all is set to " needing to upgrade ";
If all source code file all do not change in certain software kit, and all in when compiling other all software kits of relying on of this software kit do not change, then lastest imformation is set to " not needing to upgrade ".
Scan all software source codes, the logging software bag is new situation information more.
Step (103): releasing software bag and lastest imformation.The software kit and the lastest imformation that obtain in the step (102) are copied to the server ad-hoc location, for client-access, provide the automatic on-line update service;
Step (104): the mobile terminal check lastest imformation is also upgraded automatically.Portable terminal is installed the operating system software that increases income of some particular versions, install to be used for the client software that upgrades automatically, one of this software maintenance current all the software version information file has been installed.Possessing under the situation of network connection, the client software timing automatic connects the update service device, automatically download the lastest imformation of the software kit of installing, compare with current installation software version information, be higher than current installation version if find the version of certain software kit server software, can judge that this software kit is to be updated, notify the user, through after subscriber authorisation, download and install the software kit that needs renewal automatically, other software kits that do not need to upgrade remain unchanged; If finding does not have new available software bag, then do not carry out any renewal operation.
Can carry out automatic on-line and upgrade the operating system of increasing income of popular portable terminal at present according to the on-line automatic update method based on software kit of the present invention, the fast automatic upgrading that reaches systems soft ware is disposed, upgrading, the maintenance management problem of the operating system of solution user's needs.
This on-line automatic update method can be combined with the application software package Managed Solution of routine, can be applicable to the increase income mobile terminal software management of operating system of uses such as mobile phone, net book, be this kind equipment the systems soft ware distribution, dispose and means and channel that authentication is provided convenience.This automatic update method has the large scale deployment of being easy to, automaticity height, is easy to advantages such as use.
Description of drawings
Fig. 1 illustrates the interactive relation figure between the server end and portable terminal in the inventive method;
Fig. 2 illustrates the schematic flow sheet that the operating system automatic on-line of increasing income according to the present invention upgrades;
Fig. 3 illustrates the operating system automatic on-line client of increasing income among the present invention and assures the reason schematic flow sheet.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, operating system Android Android-X86 donut version is described in further detail embodiments of the present invention as an example to increase income.
Fig. 1 illustrates the interactive relation figure between the server end and portable terminal in the inventive method.The high in the clouds part is the operating system source code server of increasing income, and is the Internet resources outside the present invention, is www.android-x86.org in this example.Server end and client are institute of the present invention contents, and wherein the reason server of assuring of server end is made up of three parts, and client then is made up of a software package manager.
Basic system before the upgrading is prepared.Server end is downloaded the donut software version on November 24th, 2009 as the Android-x86 benchmark version A ' before the upgrading according to the step of Fig. 2 from the source code server, execution in step 101,102,103 is finished the software issue.Customer end adopted as hardware environment, is installed the image file that the donut software translating on November 24th, 2009 generates based on the net book of X 86 processor, and client software is installed simultaneously.
Fig. 2 shows the flow chart that the operating system automatic on-line of increasing income according to the present invention upgrades.Through exploitation after a while, Android donut has carried out the part software modification, and 18 days March in 2010, source code upgrades to version B, always has four software modules and upgrades, and thes contents are as follows:
As shown in Figure 2, content is finished automatically by the software that is deployed in server end shown in the step 101,102,103, can provide service for a large amount of client's sections simultaneously by network mode; Content shown in the step 104 is then finished automatically by the client-side program that is deployed in portable terminal.
At first in step 101, server software is from being dynamically connected the operating system source code distribution site of increasing income, utilize the source code management tool to obtain the source code update content of this website issue automatically, automatically up-to-date source code is downloaded to server end, these source codes are basic operation objects of follow-up work.
Then in step 102, automatically analyze the compiling management document in the above-mentioned source code, utilize the information that comprises in the compiling management document system that will increase income to divide separate software kit automatically, provide the dependence of software kit simultaneously according to the file dependence of compiling; Afterwards, according to the lastest imformation of source code, structure needs the software kit of renewal, fills in a software kit lastest imformation.
By analysis, have only these 4 software kit software kits to upgrade in the whole system, only revise these 4 information that bag is corresponding in all software kit lastest imformations, and only rebuild these 4 software kits and get final product.
In step 103, the ad-hoc location that the software kit that needs are upgraded and lastest imformation copy to the software kit publisher server is openly issued, and upgrades use for all clients.
4 software kits such as propagation software bag lastest imformation and above-mentioned ip-up-vpn, connectbot, filemanager and camera after the corresponding catalogue of server, completing steps 103.
In step 104, under the online situation, the client software that is installed on portable terminal obtains the software kit lastest imformation at first automatically, discovery has only 4 software kits such as ip-up-vpn, connectbot, filemanager and camera to need to upgrade, the software kit information that needs are upgraded, need information such as downloaded contents and flow to notify the user, after the process user confirms to agree, download needs the software kit that upgrades and installs, finish the automatic on-line upgrading of whole system, idiographic flow with reference to the accompanying drawings 3.
The experimental result of assessment down loading updating software kit shows that whole system is upgraded need download about 1M data.Compared with the nearly 500M of the size of whole system mirror image, this has saved very big network traffics.
Above execution mode only is used for explanation the present invention; but not limitation of the present invention; the those of ordinary skill of correlative technology field; under the situation that does not break away from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
The present invention has following advantage:
1. be easy to large scale deployment: the operating system use of increasing income that is used for intelligent terminal is very extensive, and its size of code is bigger, and the related software renewal is very fast, proposes very high request for the large scale deployment of software, quick distribution.This method network enabled mode, upgrading with the automatic on-line of software kit mode, can realize large scale deployment easily, is the update mode of unit with the software kit simultaneously, only needs to download a small amount of software kit to be updated, greatly reduces the network delivery flow rate;
2. automaticity height: this method is according to the compiling management document of the operating system of increasing income, automatically divide software kit, and determine automatically according to software update information whether needs upgrade software kit, and software kit is published on the webserver automatically, whole software bag construction process only needs a spot of manual intervention, has quite high automaticity;
3. be easy to use: for the user of service of portable terminal, the automatic Connection Service device of the package manager of installing, automatic down loading updating information also provides user prompt, the user is as long as check simply, system will download the software kit that needs renewal automatically and install afterwards, and the user namely can grasp without any need for professional knowledge.

Claims (2)

1. a portable terminal is increased income operating system based on the on-line automatic update method of software kit, and under network environment, it is as follows that described method is carried out step:
Step 101: server software adopts timing mode from being dynamically connected open source code operating system code distribution site, download up-to-date source code by version management software, comprise C/C++/JAVA source code file and header file and way of compiling control file Makefile in the resulting source code, from edition management system, obtain source code version updating information simultaneously, and with source code file, header file and way of compiling control file are stored in server end;
Step 102: server software is analyzed the way of compiling control file in the operating system of increasing income automatically, making up module with compiling is that unit carries out automatic subpackage, analyze and set up automatically the dependence between the bag, the update time of record different software bag, compilation scheme, dependence when analyzing and recording the compiling between the different software bag, by dependence and update time analysis software package whether need to upgrade, scan all software source codes, simultaneously the logging software bag is divided and new situation information more, carry out the compiling work from the source code to the executable code, according to software kit divide and more new situation information can carry out that arrangement is separate software kit with file destination, and fill in lastest imformation;
Step 103: the software kit and the lastest imformation that obtain in the step 102 are copied to the server ad-hoc location, for client-access, provide the automatic on-line update service;
Step 104: portable terminal connects network, use client software from being dynamically connected the update service device, check the lastest imformation of the software kit of installing, download and install software kit to be updated automatically under the situation of subscriber authorisation, other software kits that do not need to upgrade remain unchanged.
2. portable terminal according to claim 1 is increased income operating system based on the on-line automatic update method of software kit, wherein server end will be automatically to the way of compiling control file in the operating system of increasing income analyze, the step 102 of subpackage, record lastest imformation is further comprising the steps of:
Step 1: the software module in each way of compiling control file is defined as a software kit, and the file that the corresponding target designation of all these modules relies on all belongs to this software kit, and the way of compiling control fileinfo mainly comprises rule and module information:
Wherein every rule is made up of three parts: the precondition of establishing target, target-dependent, the required order of generation target, wherein target and precondition all are files, therefore in fact defined the dependence between the file in the rule, also determine the structure order of file, in addition, constructing system determines whether rebuild a file according to the nearest modification time of file, if a target is all newer than its all dependences, then need not to rebuild this document;
Wherein module is for establishing target, the operating system of increasing income way of compiling control file is establishing target with module definition, and each target corresponding rule, can generate a definitive document for each module, this definitive document is relevant static library file, executable file, shared library file of one of following type: C/C++, static class library file, class library file, executable application programs bag that Java is relevant;
Step 2: server end operation compiler manager make, set up the compiling management database according to the content that generates, the record of compiling management database is stored in the database memory dump message file with textual form, and the compiling management database mainly comprises three part important content: variable V ariables, regular Rules and file Files dependence;
Step 3: at first remove the redundant information in the compiling database memory dump message file in the server end analytic process, described redundant information comprises non-goal rule, and described non-goal rule refers to the target that this regular file destination never becomes a certain rule; Search " Variables ", " Files " keyword in database memory dump message file, the information that comprises Variables constitutes argument table, comprises the information composition rule table of Files;
Wherein argument table is defined as<title, numerical value 〉, wherein title has two kinds of implications: a kind of is the global variable name, this moment, corresponding " numerical value " was represented the value of this variable, according to the rule of way of compiling control file, had comprised the module title in the global variable; Another is grand function definition, and this moment, corresponding " numerical value " was represented the definition of this function;
Rule list is defined as the precondition of two a tuples<establishing target, target-dependent 〉, i.e. compiling makes up the first two section in the rule in the file, wherein comprise " installation file " of final installation and operation and mobile device in the establishing target and " path " is installed, and for generating the intermediate file that this installation file produces, comprise source file and library file that this installation file of generation relies in the precondition of target-dependent;
Step 4: extraction module title in institute's constructed variable table from step 3, all are run on the module of mobile device, according to belonging to static library in the compilation process respectively, signatures such as shared library are different module types, with two a tuples<module, module type〉expression, from rule list, search the installation file and the routing information that comprise in each module, with quadruple form<module, module type, path, installation file〉be established as module table, each module becomes a software kit in the target machine system with correspondence, for all modules are set up module table, then software kit is divided automatically and is finished;
Step 5: extract generation in the rule list of file dependence from database, from rule list, extract each line discipline successively, for each " precondition that target relies on " in the rule, record two tuple clauses and subclauses<targets, rely on, the configuration file dependence, module table has defined inclusion relation two tuples of module and installation file:<module, installation file 〉, these two kinds of relations namely constitute all module dependences;
Step 6: the module title of server end record operating system source code, update time, the compilation scheme of record different software bag, dependence when analyzing and recording the compiling between the different software bag, by dependence and update time analysis software package whether need to upgrade, specifically judge the following two kinds of situations that are divided into:
Situation 1: change if the source code of this software kit was compared with former version, lastest imformation is set to " needing to upgrade ", and other software kits that depend on this software kit during all compilings also all are set to " needing to upgrade ";
Situation 2: if this software kit does not change, and other software kit that relies on during all this software kits compiling all do not change, and then lastest imformation is set to " not needing to upgrade ";
Scan all software source codes, simultaneously the logging software bag is divided and new situation information more, carry out the compiling work from the source code to the executable code, according to software kit divide and more new situation information executable file and file destination arrangement are separate software kit, and fill in lastest imformation.
CN201010621838.4A 2010-12-27 2010-12-27 Software package-based online automatic updating method for open source operating system of mobile terminal Active CN102118500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010621838.4A CN102118500B (en) 2010-12-27 2010-12-27 Software package-based online automatic updating method for open source operating system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010621838.4A CN102118500B (en) 2010-12-27 2010-12-27 Software package-based online automatic updating method for open source operating system of mobile terminal

Publications (2)

Publication Number Publication Date
CN102118500A CN102118500A (en) 2011-07-06
CN102118500B true CN102118500B (en) 2013-08-21

Family

ID=44217084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010621838.4A Active CN102118500B (en) 2010-12-27 2010-12-27 Software package-based online automatic updating method for open source operating system of mobile terminal

Country Status (1)

Country Link
CN (1) CN102118500B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016149889A1 (en) * 2015-03-20 2016-09-29 华为技术有限公司 Application protection method, server and terminal

Families Citing this family (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541609B (en) * 2012-02-17 2014-07-02 北京星网锐捷网络技术有限公司 Installation program manufacturing method, device and network device
CN102663298B (en) * 2012-04-06 2014-12-17 北京空间飞行器总体设计部 Safety online detecting system facing to terminal computers
CN102693143B (en) * 2012-05-22 2015-03-11 华为技术有限公司 Method and device for installing patch
CN103530148B (en) * 2013-09-18 2016-09-07 国云科技股份有限公司 A kind of dissemination method of large-scale Linux software kit
CN103581883A (en) * 2013-10-31 2014-02-12 宇龙计算机通信科技(深圳)有限公司 Communication terminal and method for acquiring application data thereof
CN103605541B (en) * 2013-11-18 2018-04-20 四川长虹电器股份有限公司 Update the method for android system development kit
CN103731412A (en) * 2013-11-18 2014-04-16 广州多益网络科技有限公司 Client side online updating method
CN103631629A (en) * 2013-12-17 2014-03-12 江苏名通信息科技有限公司 Method for obtaining and automatically updating remote update file
CN103761107B (en) * 2014-02-13 2017-05-03 福建星网锐捷通讯股份有限公司 Software package customizing device and method
CN103870310B (en) * 2014-02-18 2017-07-14 小米科技有限责任公司 Program compiling method and relevant apparatus
CN104935623B (en) * 2014-03-21 2019-12-13 腾讯科技(深圳)有限公司 Application management method and update release server
CN104090805B (en) * 2014-07-15 2018-06-05 深圳市金立通信设备有限公司 A kind of method, equipment and system for updating terminal operating system
CN105589687B (en) * 2014-11-24 2019-01-18 中国银联股份有限公司 A kind of Oftware updating method based on cloud platform
US10216819B2 (en) * 2015-03-20 2019-02-26 International Business Machines Corporation Automated identification of complex transformations and generation of subscriptions for data replication
CN104991793B (en) * 2015-06-15 2019-04-02 上海海漾软件技术有限公司 A kind of method, apparatus and system for application program subpackage
CN105068840B (en) * 2015-08-11 2019-03-05 浪潮(北京)电子信息产业有限公司 A kind of method, server, controlling terminal and system updating kernel module
CN106648718A (en) * 2015-11-02 2017-05-10 天脉聚源(北京)科技有限公司 Server code deployment method and system
CN105740701A (en) * 2016-02-01 2016-07-06 中国人民大学 Reconstruction method and device of application execution environment of Android platform
CN107038352A (en) * 2016-02-03 2017-08-11 上海思立微电子科技有限公司 Intranet security access method, device and terminal
CN107145376B (en) * 2016-03-01 2021-04-06 中兴通讯股份有限公司 Active defense method and device
CN107193576A (en) * 2016-03-15 2017-09-22 阿里巴巴集团控股有限公司 The update method and device of a kind of application program for mobile terminal
CN107291436B (en) * 2016-04-13 2020-11-27 上海思立微电子科技有限公司 SDK packet generation method, device and terminal
CN107463390B (en) * 2016-06-02 2020-12-01 阿里巴巴集团控股有限公司 Software upgrading method and upgrading server
CN106095446A (en) * 2016-06-14 2016-11-09 深圳市彬讯科技有限公司 Software source code on-line detecting system and detection method thereof
CN106980501A (en) * 2017-02-23 2017-07-25 北京小鸟看看科技有限公司 A kind of software package management method, device and system
CN108196860A (en) * 2017-12-27 2018-06-22 深圳康佳信息网络有限公司 Network upgrade method, system and the storage medium of a kind of embedded device
CN108334333B (en) * 2018-01-05 2021-07-23 武汉斗鱼网络科技有限公司 Method and device for updating source code base
CN108388431B (en) * 2018-02-13 2021-03-02 Oppo广东移动通信有限公司 Control method and device for hot update of application program, storage medium and mobile terminal
CN108595190B (en) * 2018-04-23 2020-06-19 平安科技(深圳)有限公司 Report tool building method and device, computer device and storage medium
CN108920161A (en) * 2018-06-15 2018-11-30 广州视源电子科技股份有限公司 Oftware updating method, device and equipment, readable storage medium storing program for executing
KR102315791B1 (en) * 2018-11-30 2021-10-21 어드밴스드 뉴 테크놀로지스 씨오., 엘티디. A block chain data relationship structuring method based on binary log replication
CN110007953A (en) * 2018-12-26 2019-07-12 蔚来汽车有限公司 A kind of software front end development approach and its system
CN110083373A (en) * 2019-03-21 2019-08-02 中国平安财产保险股份有限公司 Method, apparatus, computer equipment and the storage medium of more new data
CN110502263B (en) * 2019-08-14 2023-04-07 深圳市东微智能科技股份有限公司 Upgrade package manufacturing method, system and computer readable storage medium
CN110780916B (en) * 2019-09-09 2022-11-04 国电南瑞科技股份有限公司 Software operation and maintenance method, device and system of power grid dispatching control system
CN110909365B (en) * 2019-12-03 2022-07-05 中国石油化工股份有限公司 Security patch pushing method and device
CN112286531B (en) * 2020-09-21 2023-07-04 麒麟软件有限公司 Method for realizing switching of RPM (revolutions per minute) package management tool into DPKG (digital per gram) package management tool in Redhat system release
CN112527381B (en) * 2020-12-07 2021-12-07 南京能云电力科技有限公司 Multi-platform software version management and updating system
CN112698846B (en) * 2020-12-30 2024-04-09 麒麟软件有限公司 Method and system for automatically installing patches in Linux system
CN112732333B (en) * 2021-04-02 2021-07-13 北京易捷思达科技发展有限公司 Version release method and device for cloud computing linux operating system and electronic equipment
US11675582B2 (en) 2021-07-15 2023-06-13 Kyndryl, Inc. Neural networks to identify source code
CN113391826B (en) * 2021-08-16 2021-11-09 统信软件技术有限公司 Solution method for software package dependence in customized mirror image
CN115934106B (en) * 2023-03-14 2023-06-02 麒麟软件有限公司 Method for rapidly detecting source dependency integrity of apt warehouse

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026850A (en) * 2007-03-09 2007-08-29 华为技术有限公司 Mobileterminal software autmatic upgrading method and system, mobile terminal and software management server
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
CN101630265A (en) * 2009-08-19 2010-01-20 深圳华为通信技术有限公司 Upgrading device, terminal device, method and system for updating software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4751785B2 (en) * 2006-07-31 2011-08-17 富士通株式会社 Transmission apparatus and software automatic update method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026850A (en) * 2007-03-09 2007-08-29 华为技术有限公司 Mobileterminal software autmatic upgrading method and system, mobile terminal and software management server
CN101593118A (en) * 2009-02-24 2009-12-02 浪潮集团山东通用软件有限公司 A kind of software upgrade method flexibly
CN101630265A (en) * 2009-08-19 2010-01-20 深圳华为通信技术有限公司 Upgrading device, terminal device, method and system for updating software

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016149889A1 (en) * 2015-03-20 2016-09-29 华为技术有限公司 Application protection method, server and terminal

Also Published As

Publication number Publication date
CN102118500A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN102118500B (en) Software package-based online automatic updating method for open source operating system of mobile terminal
Ruckebusch et al. Gitar: Generic extension for internet-of-things architectures enabling dynamic updates of network and application modules
Crnkovic Component‐based software engineering—new challenges in software development
CN102622241B (en) A kind of method for upgrading software and device
CN108388445B (en) Continuous integration method based on 'platform + application' mode
EP1548587A2 (en) Self-describing software image update components
CN107506219A (en) A kind of general version upgrade method based on android system
CN102422266A (en) System and method for building and updating a runtime environment
US7305376B2 (en) Multiple language-dependent resources compacted into a single resource file
CN101770375A (en) Method for realizing automatic update of software as well as system and device therefor
CN109947433A (en) A kind of generation method of small routine, update method and device
CN103324474B (en) Based on (SuSE) Linux OS across the method for System structure ISO and module
CN101040260A (en) Platform independent dynamic linking
CN104360871A (en) Quick starting method for installation of cell phone games
WO2008097816A2 (en) Direct access of language metadata
US11392366B1 (en) Optimized compilation of pipelines for continuous delivery of services on datacenters configured in cloud platforms
KR102052776B1 (en) Installation engine and package format for parallelizable, reliable installations
CN105763626A (en) SDK initialization method suitable for application client end payment
CN112631622A (en) Application installation method and device, server and computer readable medium
US7987457B2 (en) Targeted patching for native generation images
CN116783581A (en) Deploying software release on a data center configured in a cloud platform
US11029934B2 (en) Method and system for updating legacy software
US20040153990A1 (en) Component self-description package method and operation method
CN100470472C (en) System and method for implementing geographical information service based on interpreter and resolver
CN109753767B (en) Software distribution and updating method and device based on block chain, server and client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant