CN106227554A - A kind of method and apparatus carrying out applying heat renewal in ios system - Google Patents

A kind of method and apparatus carrying out applying heat renewal in ios system Download PDF

Info

Publication number
CN106227554A
CN106227554A CN201610538602.1A CN201610538602A CN106227554A CN 106227554 A CN106227554 A CN 106227554A CN 201610538602 A CN201610538602 A CN 201610538602A CN 106227554 A CN106227554 A CN 106227554A
Authority
CN
China
Prior art keywords
application
new script
subscriber equipment
specific
system version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610538602.1A
Other languages
Chinese (zh)
Inventor
郭金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610538602.1A priority Critical patent/CN106227554A/en
Publication of CN106227554A publication Critical patent/CN106227554A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a kind of method and apparatus carrying out in ios system and applying heat renewal, obtain the system version of corresponding subscriber equipment;According to described system version, determine for the application of application-specific more new script in described subscriber equipment;Described application more new script is issued to described subscriber equipment;That the corresponding network equipment is issued by application loader, for the application of application-specific during more new script is loaded onto the internal memory of subscriber equipment, wherein, described application more new script determines according to the system version of described subscriber equipment;According to described system version, perform described application more new script, described application-specific to be applied heat renewal.The present invention uses the technical scheme in being issued to subscriber equipment corresponding according to the system version of subscriber equipment more new script is loaded onto the internal memory of subscriber equipment by the network equipment, directly update the application program in internal memory, shorten the time of application program update, solve the compatibility issue of the hot update scheme of different system version.

Description

A kind of method and apparatus carrying out applying heat renewal in ios system
Technical field
The present invention relates to networking technology area, particularly relate to a kind of method carrying out applying heat renewal in ios system and Device.
Background technology
For sending out the application of version, iOS system uses technological means to forbid it is dynamically updated (the hottest renewal), when When developer needs to be updated described application, currently existing scheme is to be submitted to Herba Marsileae Quadrifoliae by recompilating the complete application generated Really server, wait Fructus Mali pumilae server through very long examination & verification, when examination & verification by after, user re-downloads this application of installation with more This application new.
Owing to Fructus Mali pumilae server Review Cycle is the longest, need to pay huge time cost and just can complete application-specific Repair or function renewal.
Therefore, how a kind of very long review process needing not move through Fructus Mali pumilae server and can be to different system version is provided Originally the ios system carrying out compatibility applies hot update method to become one of those skilled in the art's problem needing solution badly.
Summary of the invention
It is an object of the invention to provide a kind of method and dress carrying out applying heat renewal in the ios system of subscriber equipment Put.
According to an aspect of the present invention, it is provided that a kind of side carrying out applying heat renewal in the ios system of subscriber equipment Method, wherein, the method comprises the following steps:
Application more new script that the corresponding network equipment is issued by application loader, for application-specific is loaded onto use In the internal memory of family equipment, wherein, described application more new script determines according to the system version of described subscriber equipment;
According to described system version, perform described application more new script, described application-specific to be applied heat renewal.
Preferably, described according to described system version, perform described application more new script, so that described application-specific to be carried out The step that application heat updates includes:
If described system version is optionally greater than version threshold value, directly perform described application more new script, with to described specific Application carries out applying heat renewal.
If described system version is less than described version threshold value, described application more new script is explained conversion, and performs Through the described described application more new script explained after changing, described application-specific to be applied heat renewal.
Preferably, carry out applying the method for heat renewal also to include in the ios system of subscriber equipment:
Whether the described application-specific after detection updates can be properly functioning;
If can not, according to loading the path of described application more new script, apply more new script described in Opposite side loading.
Preferably, described application more new script is encrypted, wherein, carries out applying heat more in the ios system of subscriber equipment New method also includes:
Encrypted described application more new script is decrypted, to obtain the application more new script after deciphering;
Wherein, described according to described system version, perform described application more new script, to carry out described application-specific answering The step updated by heat includes:
According to described system version, perform the more new script of the application after described deciphering, to carry out described application-specific answering Update by heat.
Preferably, carry out applying the method for heat renewal also to include in the ios system of subscriber equipment:
Application after described deciphering more new script is carried out security verification, to obtain the application more new script of safety;
Wherein, described according to described system version, perform described application more new script, to carry out described application-specific answering The step updated by heat includes:
According to described system version, perform described safe application more new script, so that described application-specific to be applied Heat updates.
Preferably, header file, library file and resource file in described application loader are packed together.
Realize ios system is applied according to an aspect of the invention, it is provided one assists in the network device The method that heat updates, wherein, the method comprises the following steps:
Obtain the system version of corresponding subscriber equipment;
According to described system version, determine for the application of application-specific more new script in described subscriber equipment;
Described application more new script is issued to described subscriber equipment.
Preferably, the method also includes:
Described application more new script is encrypted, to obtain the application more new script after encrypting;
Wherein, described issue the step of described application more new script to described subscriber equipment and include:
Application more new script after described subscriber equipment issues described encryption.
According to another aspect of the present invention, additionally provide and a kind of in the ios system of subscriber equipment, carry out application heat The first updating device updated, wherein, this first updating device includes following device:
For that the corresponding network equipment is issued by application loader, for the application more new script of application-specific The device being loaded onto in the internal memory of subscriber equipment, wherein, described application more new script is according to the system version of described subscriber equipment Determine;
For according to described system version, perform described application more new script, described application-specific to be carried out application heat The device updated.
Preferably, described described application more new script is performed for according to described system version, with to described application-specific Carry out applying the device of heat renewal to include:
If for described system version optionally greater than version threshold value, directly perform described application more new script, with to described Application-specific carries out applying the unit of heat renewal.
If for described system version less than described version threshold value, described application more new script being explained conversion, and Perform through the described described application more new script explained after changing, described application-specific to be applied the unit of heat renewal.
Preferably, this first updating device also includes:
Described application-specific after detecting renewal whether can be properly functioning device;
If for can not, according to loading the path of described application more new script, apply more new script described in Opposite side loading Device.
Preferably, described application more new script is encrypted, and wherein, this first updating device also includes:
For encrypted described application more new script is decrypted, to obtain the dress of the application more new script after deciphering Put;
Wherein, for described according to described system version, perform described application more new script, so that described application-specific to be entered The device that row application heat updates includes:
For according to described system version, perform the more new script of the application after described deciphering, so that described application-specific to be entered The unit that row application heat updates.
Preferably, this first updating device also includes:
For the more new script of the application after described deciphering is carried out security verification, to obtain the application more new script of safety Device;
Wherein, described described application more new script is performed for according to described system version, so that described application-specific to be entered The device that row application heat updates includes:
For according to described system version, perform described safe application more new script, so that described application-specific to be carried out The unit that application heat updates.
Preferably, header file, library file and resource file in described application loader are packed together.
According to another aspect of the present invention, it is provided that one assists in the network device and realizes carrying out in ios system answering The second updating device updated by heat, wherein, this second updating device includes following device:
For obtaining the device of the system version of the subscriber equipment of correspondence;
For according to described system version, determine for the dress of the application of application-specific more new script in described subscriber equipment Put;
For issuing the device of described application more new script to described subscriber equipment.
Preferably, this second updating device also includes:
For described application more new script is encrypted, to obtain the device of the application more new script after encrypting;
Wherein, the described device for issuing described application more new script to described subscriber equipment includes:
The unit of the application more new script after issuing described encryption to described subscriber equipment.
Compared with prior art, the invention have the advantages that
The present invention uses the corresponding renewal that the network equipment is issued to subscriber equipment according to the system version of subscriber equipment Script is loaded onto the technical scheme in the internal memory of subscriber equipment, directly updates the application program in internal memory, it is not necessary to take through Fructus Mali pumilae The examination & verification of business device, shortens the time of application program update, improves the experience of user, and set according to different users Standby system version uses different application more new scripts, solves the compatibility issue of the hot update scheme of different system version, has Effect reduces developing plug joint debugging cost, improves extensibility and the stability of plug-in unit.
Further, the present invention also adds method back-loading mechanism on existing optimized integration, and the safety in transmission adds Close strategy and security verification mechanism, improve the safety that application updates.
Accompanying drawing explanation
By the detailed description that non-limiting example is made made with reference to the following drawings of reading, other of the present invention Feature, purpose and advantage will become more apparent upon:
Fig. 1 illustrates that the first updating device 1 and the second updating device 2 complete to carry out in the ios system of subscriber equipment jointly The updating device schematic diagram that application heat updates;
Fig. 2 illustrates that the first updating device 1 and the second updating device 2 complete to carry out in the ios system of subscriber equipment jointly The method flow schematic diagram that application heat updates.
In accompanying drawing, same or analogous reference represents same or analogous parts.
Detailed description of the invention
It should be mentioned that, some exemplary embodiments are described as before being discussed in greater detail exemplary embodiment The process described as flow chart or method.Although flow chart operations is described as order process, but therein permitted Multioperation can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of operations can be rearranged.When it When having operated, described process can be terminated, it is also possible to have the additional step being not included in accompanying drawing.Described process Can correspond to method, function, code, subroutine, subprogram etc..
Alleged " computer equipment " within a context, also referred to as " computer ", refer to by running preset program or to refer to Order performs the intelligent electronic device of the predetermined process process such as numerical computations and/or logical calculated, its can include processor with Memorizer, processor the survival performing to prestore in memory instruction performs predetermined process process, or by ASIC, The hardware such as FPGA, DSP performs predetermined process process, or is combined by said two devices and realize.Computer equipment includes but does not limits In server, PC, notebook computer, panel computer, smart mobile phone etc..
Described computer equipment includes subscriber equipment and the network equipment.Wherein, described subscriber equipment includes but not limited to electricity Brain, smart mobile phone, PDA etc.;The described network equipment includes but not limited to what single network server, multiple webserver formed Server group or the cloud being made up of a large amount of computers or the webserver based on cloud computing (Cloud Computing), wherein, Cloud computing is the one of Distributed Calculation, the super virtual machine being made up of a group loosely-coupled computer collection.Its In, described computer equipment isolated operation can realize the present invention, it is possible to access network and by with in network other calculate The interactive operation of machine equipment realizes the present invention.Wherein, the network residing for described computer equipment include but not limited to the Internet, Wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..
It should be noted that described subscriber equipment, the network equipment and network etc. are only for example, other are existing or from now on may be used Computer equipment or the network that can occur such as are applicable to the present invention, within also should being included in scope, and to draw It is incorporated herein by mode.
Method (some of them are illustrated by flow chart) discussed hereafter can pass through hardware, software, firmware, centre Part, microcode, hardware description language or its combination in any are implemented.When implementing by software, firmware, middleware or microcode Time, program code or code segment in order to implement necessary task can be stored in machine or computer-readable medium (is such as deposited Storage media) in.(one or more) processor can implement the task of necessity.
Concrete structure disclosed herein and function detail are the most representational, and are for describing showing of the present invention The purpose of example embodiment.But the present invention can be implemented by many alternative forms, and is not interpreted as It is limited only by the embodiments set forth herein.
Although it should be appreciated that here may have been used term " first ", " second " etc. to describe unit, But these unit should not be limited by these terms.These terms are used to be only used to a unit and another unit Make a distinction.For example, in the case of without departing substantially from the scope of exemplary embodiment, it is single that first module can be referred to as second Unit, and second unit can be referred to as first module similarly.Term "and/or" used herein above include one of them or Any and all combination of more listed associated item.
It should be appreciated that when a unit is referred to as " connection " or during " coupled " to another unit, and it can directly connect Connect or be coupled to another unit described, or temporary location can be there is.On the other hand, it is referred to as " directly connecting when a unit Connect " or " direct-coupling " to another unit time, the most there is not temporary location.Should explain in a comparable manner and be used for retouching State the relation between unit other words (such as " and be in ... between " compared to " and be directly in ... between ", " with ... adjacent Closely " compared to " with ... be directly adjacent to " etc.).
Term used herein above is only used to describe specific embodiment and be not intended to limit exemplary embodiment.Unless Context refers else clearly, and singulative the most used herein above " ", " one " also attempt to include plural number.Also should When being understood by, term used herein above " include " and/or " comprising " specify stated feature, integer, step, operation, Unit and/or the existence of assembly, and do not preclude the presence or addition of other features one or more, integer, step, operation, unit, Assembly and/or a combination thereof.
It should further be mentioned that in some replace implementation, the function/action being previously mentioned can be attached according to being different from The order indicated in figure occurs.For example, depending on involved function/action, the two width figures in succession illustrated actually may be used Substantially simultaneously to perform or sometimes can perform in a reverse order.
Below in conjunction with the accompanying drawings the present invention is described in further detail.
Fig. 1 illustrates that the first updating device 1 and the second updating device 2 complete to carry out in the ios system of subscriber equipment jointly The updating device schematic diagram that application heat updates.
First updating device 1 interacts communication by network and the second updating device 2, jointly completes at subscriber equipment Ios system is carried out apply heat renewal.First updating device 1 includes: 1) for being set by corresponding network by application loader Standby that issued, for device during more new script is loaded onto the internal memory of subscriber equipment of the application of application-specific, hereinafter referred to as add Carrying and put 101, wherein, described application more new script determines according to the system version of described subscriber equipment;2) for according to described System version, performs described application more new script, so that described application-specific to be applied the device of heat renewal, hereinafter referred to as holds Luggage puts 102.Second updating device 2 includes: 1) for obtaining the device of the system version of the subscriber equipment of correspondence, hereinafter referred to as Acquisition device 201;2) for according to described system version, determine and update foot for the application of application-specific in described subscriber equipment This device, hereinafter referred to as determines device 202;3) for issuing the device of described application more new script to described subscriber equipment, Hereinafter referred to as descend transmitting apparatus 203.
Here, the first updating device 1 is positioned in subscriber equipment, charger 101 that the first updating device 1 includes and performing Device 102 also is located in this subscriber equipment, this subscriber equipment include but not limited to PC, portable computer, panel computer, Smart mobile phone, PDA etc. use the subscriber equipment of ios system, such as, can be iPhone, iPod touch, iPad or Apple TV etc..Here, iOS is the Mobile operating system developed by Apple, belong to the commercial operating systems of class Unix.Second updates Device 2 is positioned in the network equipment, acquisition device 201 that the second updating device 2 includes, determines device 202 and lower transmitting apparatus 203 also It is positioned in this network equipment.Those skilled in the art will be understood that above-mentioned subscriber equipment is only for example, existing or from now on may be used The subscriber equipment that can occur such as is applicable to the present invention and also should be included in scope, and comprises by reference In this.
Wherein, the acquisition device 201 in the second updating device 2 obtains the system version of corresponding subscriber equipment.Specifically, After user opens the application-specific installed on a user device, ask whether more redaction to the network equipment, if existing More redaction, then the network equipment such as sends acquisition version request in subscriber equipment by acquisition device 201, subscriber equipment receipts Rear to described request sends system version information to the network equipment;Acquisition device 201 is by once or repeatedly calling user The application programming interfaces (API) that device systems provides obtain system version or the subscriber equipment active reporting system of subscriber equipment Version, is then obtained this system version by acquisition device 201.Such as, during user opens the subscriber equipment using ios7 system The a certain application program that purchases by group, described application program has asked whether more redaction to the network equipment, if there being more redaction, obtains dress Put 201 and inform that its system version or the system version by oneself inquiry acquisition subscriber equipment are by request subscriber equipment ios7。
Those skilled in the art will be understood that the method for the system version of above-mentioned acquisition subscriber equipment is only for example, existing Or the method for system version obtaining subscriber equipment that will be likely to occur from now on be such as applicable to the present invention, all should be included in this In the protection domain of invention, and it is incorporated herein by reference at this.
Determine that device 202, according to described system version, determines and updates for the application of application-specific in described subscriber equipment Script.Specifically, if it is ios7 that the network equipment gets described system version by acquisition device 201, it is determined that 202, device Determine according to this system version and use application more new script corresponding with application-specific in the subscriber equipment of ios7.Such as, user is worked as When the system version of equipment is ios7, the renewal used for the application-specific in this version number of ios7 in the network equipment Scheme is: with JavaScriptCore.framework built-in for iOS as JS engine, by Objective-C Runtime, From JS transmission class name function name to be called to Objective-C, re-use the OC side that NSInvocation dynamic call is corresponding Method.Determine that device 202 determines the application more new script of the application-specific issued to subscriber equipment for being applicable to above-mentioned renewal side The application for ios7 of case more new script.
Here, first the determination device 202 of the network equipment determines the system version of subscriber equipment, for different system versions This, determine the application more new script of the application-specific corresponding to this system version, and then issue according to system version to subscriber equipment This application determined more new script, reduces the joint debugging cost of script exploitation, improves class autgmentability and the stability of script, solves The compatibility issue of the hot update scheme of different system of having determined version.
Those skilled in the art will be understood that the system version of above-mentioned subscriber equipment is that ios7 is only for example, subscriber equipment Version number can also be more than ios7 or ios6 and following, use different update scheme according to different system versions, As long as be determined by version number, different versions use the technical scheme of different more new scripts all should be included in the present invention In protection domain, and it is incorporated herein by reference at this.
Lower transmitting apparatus 203 issues described application more new script to described subscriber equipment.Specifically, acquisition device 201 obtains The system version of corresponding subscriber equipment, and determine that device 202 determines in described subscriber equipment special according to described system version The application more new script that fixed application is corresponding, before issuing described application more new script to subscriber equipment, lower transmitting apparatus 203 basis First the setting of subscriber equipment inquires about the networking state of described subscriber equipment, if subscriber equipment is set to: only connect shape at WIFI Receive under state and apply more new script, then descend transmitting apparatus 203 first to inquire about whether described subscriber equipment is WIFI connection status, if It is then to descend transmitting apparatus 203 by the information of described subscriber equipment and described application more new script are carried out the modes such as packing by institute State and apply more new script to be issued to described subscriber equipment.Such as, subscriber equipment be arranged to when subscriber equipment be connected to WIFI or Receiving the more new script that the network equipment issues during other wireless networks of person, lower transmitting apparatus 203 detects that subscriber equipment is just connected to During operator mobile network, not issuing described application more new script to described subscriber equipment, transmitting apparatus 203 detects use instantly When family equipment is just connected to a certain WIFI network, issues to described subscriber equipment and include applying setting of more new script and subscriber equipment The application bag of the information such as standby mark.
Here, after the second updating device 2 gets the system version of subscriber equipment by acquisition device 201, determine device 202 determine the application more new script of the application-specific that will be issued to subscriber equipment according to described system version, then by issuing Described application more new script is issued in the first updating device 1 being positioned in subscriber equipment by device 203, with the first updating device The charger 101 of 1 and execution device 102 complete to carry out applying heat renewal in the ios system of subscriber equipment jointly.
Application that the corresponding network equipment is issued by charger 101 by application loader, for application-specific During more new script is loaded onto the internal memory of subscriber equipment, wherein, described application more new script is according to the system version of described subscriber equipment This determines.Specifically, after user opens the application-specific installed on a user device, the network equipment passes through acquisition device 201 system versions obtaining described subscriber equipment, according to the system version of the described subscriber equipment got, determine device 202 Determine that, for the application of application-specific more new script in described subscriber equipment, lower transmitting apparatus 203 issues for peace to subscriber equipment The application more new script of the application-specific being contained in described subscriber equipment, described Application-script is applicable to described subscriber equipment System version, charger 101 by application loader by described application during more new script is loaded onto the internal memory of subscriber equipment. Such as, user opens after installing application-specific on a user device, the inquiry network equipment whether exist described specific should By the more new script of program, if equipment exists the more new script of described application-specific on network, send to the network equipment and think Receiving the request of more new script, the network equipment detects the system version of described subscriber equipment, if the system of described subscriber equipment Version is ios7 and system above, the network equipment issue to subscriber equipment be applicable to ios7 and system above for subscriber equipment The more new script of application-specific, the described network equipment such as completes script by Javascript language and dynamically issues;If it is described The system version of subscriber equipment is ios6 and following system, and the network equipment issues to subscriber equipment and is applicable to ios6 and following system The more new script for subscriber equipment application-specific, the described network equipment such as completes script by Lua language and dynamically issues, The described more new script for subscriber equipment application-specific is loaded onto the internal memory of subscriber equipment by charger 101 by loader In.
Here, the network equipment is issued to the correspondence of subscriber equipment by charger 101 according to the system version of subscriber equipment During more new script is loaded onto the internal memory of subscriber equipment, directly update the application program in internal memory, it is not necessary to through Fructus Mali pumilae server Examination & verification, shorten the time of application program update, improve the experience of user.And charger 101 is loaded onto use Described more new script in the device memory of family is that the system version according to subscriber equipment determines, solves different system version heat The compatibility issue of update scheme.
Preferably, above-mentioned application loader can be the loader in described application-specific, such as, downloading this spy of installation Surely the loader carried during application;Can also be the loader of other application, this application-specific and other application can share one Individual loader, when described application-specific needs to load more new script or other plug-in units, authorizes this loader Then this loader load described in more new script or other plug-in units in the internal memory of subscriber equipment.Preferably, described application adds The header file, library file and the resource file that carry in device are packed together.
Those skilled in the art will be understood that the type of above-mentioned loader is only for example, existing or be likely to occur from now on The type of loader be such as applicable to the present invention and all should be included in scope, and wrap by reference at this It is contained in this.
Execution device 102, according to described system version, performs described application more new script, to carry out described application-specific Application heat updates.Specifically, the more new script of the application for application-specific is loaded onto by charger 101 when subscriber equipment After in the internal memory of subscriber equipment, wherein, described application more new script is to be issued by the corresponding network equipment, charger 101 By application loader, this application during more new script is loaded onto the internal memory of subscriber equipment, is performed device 102 according to described user The height of device systems version, uses different methods to perform to apply more new script, carries out described application-specific applying heat more Newly.Such as, after user opens a certain JICQ being installed on subscriber equipment, charger 101 is by this instant messaging Application for this JICQ more new script is loaded onto the internal memory of this subscriber equipment by the application loader that instrument carries In, in internal memory, directly update the corresponding script of JICQ, if the system version of described subscriber equipment be ios7 and with Upper version, perform device 102 directly perform described application more new script, it is not necessary to through the process of compiling and interpreting, complete to this be Time means of communication application heat update.
Here, when the application-specific in the ios system of subscriber equipment performs to update operation, it is not necessary to take through Fructus Mali pumilae The very long Review Cycle of business device, can carry out described application-specific applying heat renewal, improve the experience of user.
Preferably, perform device 102 to include: 1) if for described system version optionally greater than version threshold value, directly performing Described application more new script, so that described application-specific to be applied the unit of heat renewal, the hereinafter referred to as first performance element is (not Illustrate);2) if for described system version less than described version threshold value, described application more new script being explained conversion, and Perform through the described described application more new script explained after changing, described application-specific to be applied the unit of heat renewal, Hereinafter referred to as Interpretation unit (not shown).
If described system version is optionally greater than version threshold value, the first performance element directly performs described application more new script, Described application-specific to be applied heat renewal.Specifically, pre-setting a version threshold value, such as, this version threshold value is arranged For ios7, it is ios7 or the subscriber equipment higher than ios7 for system version, applies more new script to be realized by below scheme: With JavaScriptCore.framework built-in for iOS as JS engine, by Objective-C Runtime, pass from JS Pass class name function name to be called to Objective-C, re-use the OC method that NSInvocation dynamic call is corresponding, because JavaScriptCore.framework only supports ios7 and system above, is not therefore suitable for ios6 and following version.Load Device 101 by application loader by this application during more new script is loaded onto the internal memory of subscriber equipment after, perform device 102 first The system version of described subscriber equipment is compared with version threshold value ios7, if described system version is ios7 or ios7 During above version, it is not necessary to being compiled described application more new script explaining, the first performance element is directly at subscriber equipment internal memory Middle execution described application more new script, it is achieved the application heat of described application-specific is updated.
If described system version is less than described version threshold value, described application more new script is explained and turns by Interpretation unit Change, and perform through the described described application more new script explained after changing, described application-specific to be applied heat renewal.Tool Body ground, pre-sets a version threshold value, and such as, this version threshold value is set to ios6, is ios6 for system version or is less than The subscriber equipment of ios6, applies more new script to use Lua+Objc Runtime scheme, replaces Javascript by Lua language Language completes more new script and dynamically issues.This application more new script is loaded onto user by application loader by charger 101 After in the internal memory of equipment, perform device 102 and first the system version of described subscriber equipment compared with version threshold value ios7, If described system version is ios6 or below ios6 version, Interpretation unit needs above-mentioned application by such as resolver More new script resolves, and explains and is converted into executable file, and performs to update foot through the described described application explained after changing This, to apply heat renewal to described application-specific.
Communication is interacted by the first updating device device 1 by network and the second updating device 2 here, of the present invention The updating device jointly completing to carry out applying heat renewal in the ios system of subscriber equipment is according to different user device system versions The application more new script that this employing is different, for ios7 and system above, uses JavaScriptCore.framework conduct JS engine completes to apply more new script, is degenerated to Lua+ObjC Runtime scheme for ios6 and following version, with Lua language Replace Javascript language to complete script and dynamically issue, it is ensured that scheme completeness, solve the scheme of ios6 and once version Compatibility issue.
Preferably, the first updating device 1 also includes: 1) whether the described application-specific after detecting renewal can be normal The device run, hereinafter referred to as detection device (not shown);2) if for can not, according to loading described application more new script Path, applies the device of more new script, hereinafter referred to as Opposite side loading device (not shown) described in Opposite side loading.
Wherein, whether the described application-specific after the detection of detection device updates can be properly functioning.Specifically, device is performed After the 102 application heat completing to carry out application-specific update, can the application-specific after detection device needs detection to be updated Properly functioning, or detect described application-specific through application heat update after there is problems of no solving in application-specific The problem existed, or bring bigger problem whether to described application-specific, if the application-specific after being updated can be normal Run, and bring bigger problem to described application-specific, the most do not do other and process.If detection device detection is updated After application-specific after, find that described application-specific is not normally functioning, or the application-specific after overheated renewal go out Having showed bigger problem, the most described back-loading device, should described in Opposite side loading according to loading the path of described application more new script By more new script, i.e. cancel above-mentioned loading procedure, make described application recovery to original shape not carrying out overheated renewal State.
Here, the present invention can remember to load the path applying more new script, and, existing optimized integration adds Method back-loading mechanism, for have bigger bug heat update or update after application system can not normally use in the case of Back-loading mechanism can be used, cancel described loading procedure, prevent immature more new script from bringing bigger to existing application-specific Defect and affect the experience of user, it is ensured that the user's normal use to described application-specific.
Preferably, described second updating device 2 also includes: for being encrypted described application more new script, to obtain The device of the more new script of the application after encryption, hereinafter referred to as encryption device (not shown);Wherein, described lower transmitting apparatus 203 includes: The unit of the application more new script after issuing described encryption to described subscriber equipment, hereinafter referred to as issues unit and (does not shows Go out).
Described application more new script is encrypted by encryption device, to obtain the application more new script after encrypting.Specifically, In order to ensure subscriber equipment application-specific can safety be updated, prevent described application more new script by the network equipment It is issued to during subscriber equipment intercepted by malicious third parties and implant internet worm, is using such as Javascript language Or after Lua language is according to development specifications exploitation application scenarios, before lower transmitting apparatus 203 performs to issue operation, by right Claim the encryption method such as key or unsymmetrical key that described application more new script is encrypted, it is thus achieved that the application after encryption updates Script, to ensure to apply more new script safe transmission in a network.Above-mentioned process is added by the unit that issues in lower transmitting apparatus 203 Application after close more new script carries out issuing operation.
Here, after having developed application-specific script of the present invention, described application-specific more new script is packed Encryption, it is ensured that apply the safety in transmitting procedure of the more new script.
Preferably, above-mentioned application more new script is encrypted, and wherein, the first updating device 1 also includes: for encrypted Described application more new script is decrypted, and to obtain the device of the application more new script after deciphering, hereinafter referred to as deciphers device (not Illustrate);Wherein, described execution device 102 includes: for according to described system version, performs the application after described deciphering and updates Script, to apply the unit of heat renewal, the hereinafter referred to as second performance element (not shown) to described application-specific.
Encrypted described application more new script is decrypted by deciphering device, updates foot with the application after obtaining deciphering This.Specifically, charger 101 by application loader by the application after this encryption in more new script is loaded onto subscriber equipment After depositing, it is necessary first to deciphering device is decrypted according to encryption rule and key, it is thus achieved that the original application after deciphering updates foot This, then perform the second performance element in device 102 according to system version, it is judged that directly perform the application after described deciphering more New script, with described application-specific is applied heat update or by after the compiling and interpreting of resolver to described specific should With carrying out applying heat renewal.
Preferably, the first updating device 1 also includes: for the more new script of the application after described deciphering is carried out safety school Test, to obtain the device of the application more new script of safety, hereinafter referred to as calibration equipment (not shown);Wherein, perform device 102 to wrap Include: for according to described system version, perform described safe application more new script, described application-specific to be carried out application heat The unit updated, the hereinafter referred to as the 3rd performance element (not shown).
Calibration equipment carries out security verification to the more new script of the application after described deciphering, to obtain the application renewal of safety Script.Specifically, calibration equipment carries out security verification to by the application more new script after deciphering device deciphering, it may for example comprise Address check, uses the mode of pairing to the source port address in the header of the message sending more new script and destination interface address Carry out address check, filter out the unmatched message of source address and destination address;Or it is described by detection method verification Trojan horse program or the fishing program etc. that whether there is malice interpolation in deciphering device endanger the program of subscriber equipment use safety, If there is such program, then mutual by with this subscriber equipment of calibration equipment, as one or many calls subscriber equipment should Antivirus applet or other cleaning tools of subscriber equipment is called, by above-mentioned by modes such as the application programming interfaces (AP I) provided The program of harm subscriber equipment safety is purged processing, or reloads the application more new script that the network equipment issues, with Obtain the application more new script of safety.Then the 3rd performance element of execution device 102 is according to described system version, performs to pass through Calibration equipment verifies and determines the application more new script after safety, completes the application heat to application-specific and updates.
Here, the network equipment is issued to the right of subscriber equipment according to the system version of subscriber equipment by the first updating device 1 Answer during more new script is loaded onto the internal memory of subscriber equipment, directly update the application program in internal memory, it is not necessary to through Fructus Mali pumilae service The examination & verification of device, shortens the time of application program update, improves the experience of user, and according to different subscriber equipmenies System version uses different application more new scripts, solves the compatibility issue of the hot update scheme of different system version, effectively Reduce developing plug joint debugging cost, improve extensibility and the stability of plug-in unit.The present invention is also on existing optimized integration Add method back-loading mechanism, the safe encryption policy in transmission and security verification mechanism, improve the peace that application updates Quan Xing.
Fig. 2 illustrates that the first updating device 1 and the second updating device 2 complete to carry out in the ios system of subscriber equipment jointly The method flow schematic diagram that application heat updates.
First updating device 1 interacts communication by network and the second updating device 2, jointly completes at subscriber equipment Ios system is carried out apply heat renewal.Wherein, in step sl, the second updating device 2 obtains the system of corresponding subscriber equipment Version.Specifically, after user opens the application-specific installed on a user device, renewal has been asked whether to the network equipment Version, if there is more redaction, the most in step sl, the network equipment such as sends acquisition version by the second updating device 2 please Asking to subscriber equipment, subscriber equipment receives the rear of described request and sends system version information to the network equipment;Second more new clothes 2 application programming interfaces (API) provided by once or repeatedly calling user device system are provided and obtain the system of subscriber equipment Version or subscriber equipment active reporting system version, the most in step sl, obtained this system version by the second updating device 2 This.Such as, user opens a certain application program that purchases by group in the subscriber equipment using ios7 system, and described application program is to network Whether environment inquiry has more redaction, if there being more redaction, the second updating device 2 informs its system version by request subscriber equipment Originally obtain described system version to be ios7 or be ios7 by oneself inquiring about the system version of acquisition subscriber equipment.
Those skilled in the art will be understood that the method for the system version of above-mentioned acquisition subscriber equipment is only for example, existing Or the method for system version obtaining subscriber equipment that will be likely to occur from now on be such as applicable to the present invention, all should be included in this In the protection domain of invention, and it is incorporated herein by reference at this.
In step s 2, the second updating device 2, according to described system version, determines and answers for specific in described subscriber equipment Application more new script.Specifically, if it is ios7 that the network equipment gets described system version in step sl, then in step In S2, the second updating device 2 determines application corresponding with application-specific in the subscriber equipment of use ios7 according to this system version More new script.Such as, when the system version of subscriber equipment is ios7, in the subscriber equipment using ios7 in the network equipment The update scheme that uses of application-specific be: with the built-in JavaScriptCore.framework of iOS as JS engine, By Objective-C Runtime, from JS transmission class name function name to be called to Objective-C, re-use The OC method that NSInvocation dynamic call is corresponding.In step s 2, the second updating device 2 determines and will issue to subscriber equipment The application more new script of application-specific be the more new script of the application for ios7 being applicable to above-mentioned update scheme.
Here, in step s 2, first the second updating device 2 being positioned at the network equipment determines the system version of subscriber equipment This, for different system versions, determine the application more new script of the application-specific corresponding to this system version, and then to user Equipment issues the application more new script determined according to system version, reduces the joint debugging cost of script exploitation, improves script Class autgmentability and stability, solve the compatibility issue of the hot update scheme of different system version.
Those skilled in the art will be understood that the system version of above-mentioned subscriber equipment is that ios7 is only for example, subscriber equipment Version number can also be more than ios7 or ios6 and following, use different update scheme according to different system versions, As long as be determined by version number, different versions use the technical scheme of different more new scripts all should be included in the present invention In protection domain, and it is incorporated herein by reference at this.
In step s3, the second updating device 2 issues described application more new script to described subscriber equipment.Specifically, exist In step S1, the second updating device 2 obtains the system version of subscriber equipment of correspondence, and in step s 2, the second more new clothes Put 2 and determine, according to described system version, the application more new script that in described subscriber equipment, application-specific is corresponding, to subscriber equipment Before issuing described application more new script, in step s3, first the second updating device 2 inquires about institute according to the setting of subscriber equipment State the networking state of subscriber equipment, if subscriber equipment is set to: only receive under WIFI connection status and apply more new script, then exist In step S3, first the second updating device 2 inquires about whether described subscriber equipment is WIFI connection status, if it is, in step In S3, the second updating device 2 will by the information of described subscriber equipment and described application more new script carry out the modes such as packing Described application more new script is issued to described subscriber equipment.Such as, subscriber equipment is arranged to when subscriber equipment is connected to WIFI Or receiving the more new script that the network equipment issues during other wireless networks, in step s3, the second updating device 2 detects use When family equipment is just being connected to operator mobile network, do not issue described application more new script to described subscriber equipment, when in step In rapid S3, the second updating device 2 detects when subscriber equipment is just connected to a certain WIFI network, gives out a contract for a project under described subscriber equipment Include the application bag of the information such as the device identification of applying more new script and subscriber equipment.
Here, after the second updating device 2 gets the system version of subscriber equipment by step S1, in step s 2, the Two updating devices 2 determine the application more new script of the application-specific that will be issued to subscriber equipment according to described system version, so After in step sl, the second updating device 2 described application more new script is issued to the first renewal being positioned in subscriber equipment In device 1, jointly complete to carry out applying heat renewal in the ios system of subscriber equipment with the first updating device 1.
In step s 4, the first updating device 1 passes through that the corresponding network equipment is issued by application loader, for spy The application of fixed application is during more new script is loaded onto the internal memory of subscriber equipment, and wherein, described application more new script is according to described user The system version of equipment determines.Specifically, after user opens the application-specific installed on a user device, the network equipment leads to Cross the first updating device 1 and obtain the system version of described subscriber equipment in step sl, according to the described subscriber equipment got System version, in step s 2, the first updating device 2 determine in described subscriber equipment application-specific application update foot This, in step s3, the first updating device 2 issues for the application-specific being arranged in described subscriber equipment to subscriber equipment Applying more new script, described Application-script to be applicable to the system version of described subscriber equipment, in step s 4, first updates Device 1 by application loader by described application during more new script is loaded onto the internal memory of subscriber equipment.Such as, user opens installation After application-specific on a user device, whether the inquiry network equipment exists the more new script of described application-specific, If equipment exists the more new script of described application-specific on network, send to the network equipment and want to receive asking of more new script Asking, the network equipment detects the system version of described subscriber equipment, if the system version of described subscriber equipment is ios7 and above system System, the network equipment issues the renewal foot for subscriber equipment application-specific being applicable to ios7 and system above to subscriber equipment This, the described network equipment such as completes script by Javascript language and dynamically issues;If the system version of described subscriber equipment This be ios6 and following system, the network equipment issue to subscriber equipment be applicable to ios6 and following system for subscriber equipment spy The more new script of fixed application, the described network equipment such as completes script by Lua language and dynamically issues, in step s 4, first The described more new script for subscriber equipment application-specific is loaded onto the internal memory of subscriber equipment by updating device 1 by loader In.
Here, in step s 4, the network equipment is issued to use by the first updating device 1 according to the system version of subscriber equipment Family equipment corresponding be during more new script is loaded onto the internal memory of subscriber equipment, the directly application program in renewal internal memory, it is not necessary to warp Cross the examination & verification of Fructus Mali pumilae server, shorten the time of application program update, improve the experience of user.And in step S4 In, the described more new script that the first updating device 1 is loaded onto in subscriber equipment internal memory is that the system version according to subscriber equipment is true Fixed, solve the compatibility issue of the hot update scheme of different system version.
Preferably, above-mentioned application loader can be the loader in described application-specific, such as, downloading this spy of installation Surely the loader carried during application;Can also be the loader of other application, this application-specific and other application can share one Individual loader, when described application-specific needs to load more new script or other plug-in units, authorizes this loader Then this loader load described in more new script or other plug-in units in the internal memory of subscriber equipment.Preferably, described application adds The header file, library file and the resource file that carry in device are packed together.
Those skilled in the art will be understood that the type of above-mentioned loader is only for example, existing or be likely to occur from now on The type of loader be such as applicable to the present invention and all should be included in scope, and wrap by reference at this It is contained in this.
In step s 5, the first updating device 1, according to described system version, performs described application more new script, with to institute State application-specific to carry out applying heat renewal.Specifically, in step s 4 will be for spy by the first updating device 1 when subscriber equipment After the application of fixed application is during more new script is loaded onto the internal memory of subscriber equipment, wherein, described application more new script is by corresponding The network equipment issues, and in step s 4, this application more new script is loaded onto use by application loader by the first updating device 1 In the internal memory of family equipment, in step s 5, the first updating device 1, according to the height of described user device system version, uses not Same method performs to apply more new script, and described application-specific is applied heat renewal.Such as, user opens and is installed on user After a certain JICQ of equipment, in step s 4, the application that the first updating device 1 is carried by this JICQ Loader is by the application for this JICQ during more new script is loaded onto the internal memory of this subscriber equipment, directly in internal memory Update the corresponding script of JICQ, if the system version of described subscriber equipment is ios7 and above version, in step S5 In, the first updating device 1 directly performs described application more new script, it is not necessary to through the process of compiling and interpreting, complete this instant The application heat of means of communication updates.
Here, when the application-specific in the ios system of subscriber equipment performs to update operation, it is not necessary to take through Fructus Mali pumilae The very long Review Cycle of business device, can carry out described application-specific applying heat renewal, improve the experience of user.
Preferably, step S5 includes sub-step S51 (not shown) and sub-step S52 (not shown).
In sub-step S51, if described system version is optionally greater than version threshold value, the first updating device 1 directly performs institute State and apply more new script, described application-specific to be applied heat renewal.Specifically, pre-set a version threshold value, such as, This version threshold value is set to ios7, is ios7 or the subscriber equipment higher than ios7 for system version, applies more new script to lead to Cross below scheme to realize: with JavaScriptCore.framework built-in for iOS as JS engine, pass through Objective-C Runtime, from JS transmission class name function name to be called to Objective-C, re-uses NSInvocation dynamic call pair The OC method answered, because JavaScriptCore.framework only supports ios7 and system above, is not therefore suitable for ios6 And following version.In step s 4, this application more new script is loaded onto user by application loader and sets by the first updating device 1 After in standby internal memory, in step s 5, the first updating device 1 is first by the system version of described subscriber equipment and version threshold value Ios7 compares, if described system version is ios7 or more than ios7 version, it is not necessary to described application more new script Being compiled explaining, in sub-step S51, the first updating device 1 directly performs described application in subscriber equipment internal memory and updates Script, it is achieved the application heat of described application-specific is updated.
In sub-step S52, if described system version is less than described version threshold value, the first updating device 1 is to described application More new script explains conversion, and perform through described explain conversion after described application more new script, with to described specific should With carrying out applying heat renewal.Specifically, pre-setting a version threshold value, such as, this version threshold value is set to ios6, for system Version is ios6 or the subscriber equipment less than ios6, applies more new script to use Lua+Objc Runtime scheme, passes through Lua Language replacement Javascript language completes more new script and dynamically issues.In step s 4, the first updating device 1 is added by application Carry device by this application during more new script is loaded onto the internal memory of subscriber equipment after, in step s 5, the first updating device 1 is first by institute The system version stating subscriber equipment compares with version threshold value ios7, if described system version is ios6 or below ios6 During version, in sub-step S51, the first updating device 1 needs above-mentioned application more new script to be solved by such as resolver Analysis, explains and is converted into executable file, and performs through the described described application more new script explained after changing, with to described specific Application carries out applying heat renewal.
Communication is interacted jointly by the first updating device 1 by network and the second updating device 2 here, of the present invention The method completing to carry out applying heat renewal in the ios system of subscriber equipment uses not according to different user device system versions Same application more new script, for ios7 and system above, uses JavaScriptCore.framework complete as JS engine Become to apply more new script, Lua+ObjC Runtime scheme is degenerated to for ios6 and following version, replace with Lua language Javascript language completes script and dynamically issues, it is ensured that scheme completeness, and the scheme solving ios6 and following version is compatible Sex chromosome mosaicism.
Preferably, the method also includes step S6 and S7.In step s 6, the institute after the first updating device 1 detection updates Whether state application-specific can be properly functioning;If can not, in the step s 7, the first updating device 1 is according to loading described application The path of more new script, applies more new script described in Opposite side loading.
Wherein, in step s 6, whether the described application-specific after the first updating device 1 detection updates can normally transport OK.Specifically, in the step s 7, after the application heat that the first updating device 1 completes to carry out application-specific updates, in step S6 In, can the application-specific after the first updating device 1 needs detection to be updated properly functioning, or detects described application-specific warp Cross and there is problems of after application heat updates no solving problem present in application-specific, or whether give described specific should With bringing bigger problem, if the application-specific after being updated can be properly functioning, and bring to described application-specific Bigger problem, does not the most do other and processes.In step s 6, if after the first updating device 1 detects the application-specific being updated, Find that described application-specific is not normally functioning, or the application-specific after overheated renewal occurs in that bigger problem, then In the step s 7, the first updating device 1 is according to loading the path of described application more new script, and application described in Opposite side loading updates foot This, i.e. cancel above-mentioned loading procedure, make described application recovery to original state not carrying out overheated renewal.
Here, the present invention can remember to load the path applying more new script, and, existing optimized integration adds Method back-loading mechanism, for have bigger bug heat update or update after application system can not normally use in the case of Back-loading mechanism can be used, cancel described loading procedure, prevent immature more new script from bringing bigger to existing application-specific Defect and affect the experience of user, it is ensured that the user's normal use to described application-specific.
Preferably, the method also includes step S8 (not shown), and in step s 8, the second updating device 2 is to described application More new script is encrypted, to obtain the application more new script after encrypting;Wherein, step S3 also includes that sub-step S31 (is not shown Go out), in sub-step S31, second updating device 2 application more new script after described subscriber equipment issues described encryption.
In step s 8, described application more new script is encrypted by the second updating device 2, to obtain the application after encrypting More new script.Specifically, in order to ensure subscriber equipment application-specific can safety be updated, prevent described application from updating Script is intercepted by malicious third parties during be issued to subscriber equipment by the network equipment and implants internet worm, makes use-case After developing application scenarios such as Javascript language or Lua language according to development specifications, perform step at the second updating device 2 Before rapid S3, in step s 8, the second updating device 2 is answered described by the encryption method such as symmetric key or unsymmetrical key It is encrypted by more new script, it is thus achieved that the more new script of the application after encryption, to ensure to apply more new script safety in a network Transmission.In sub-step S31, the second updating device 2 issues operation to above-mentioned application more new script after encryption.
Here, after having developed application-specific script of the present invention, described application-specific more new script is packed Encryption, it is ensured that apply the safety in transmitting procedure of the more new script.
Preferably, above-mentioned application more new script is encrypted, and wherein, the method also includes step S9, in step s 9, first Encrypted described application more new script is decrypted by updating device 1, to obtain the application more new script after deciphering;Wherein, Step S5 also includes sub-step S52 (not shown), and in sub-step S52, the first updating device 1, according to described system version, is held Application more new script after the described deciphering of row, to apply heat renewal to described application-specific.
In step s 9, encrypted described application more new script is decrypted by the first updating device 1, to obtain deciphering After application more new script.Specifically, in step s 4, the first updating device 1 passes through application loader by answering after this encryption After during more new script is loaded onto the internal memory of subscriber equipment, it is necessary first to the first updating device 1 is in step s 9 according to encryption rule Then it is decrypted with key, it is thus achieved that the more new script of the original application after deciphering, then in sub-step S52, the first updating device 1 According to system version, it is judged that directly perform the application more new script after described deciphering, described application-specific to be carried out application heat Update or by described application-specific being applied after the compiling and interpreting of resolver heat renewal.
Preferably, the method also includes step S10, and in step slo, the first updating device 1 is to answering after described deciphering Security verification is carried out, to obtain the application more new script of safety by more new script;Wherein, step S5 includes that sub-step S53 is (not Illustrate), in sub-step S53, the first updating device 1, according to described system version, performs described safe application more new script, Described application-specific to be applied heat renewal.
In step slo, the first updating device 1 carries out security verification to the more new script of the application after described deciphering, with Obtain the application more new script of safety.Specifically, in step slo, the first updating device 1 is to by answering after step S9 is deciphered Security verification is carried out, it may for example comprise address check, to the source in the header of the message sending more new script by more new script Port address and destination interface address use the mode of pairing to carry out address check, do not filter out source address and destination address not The message joined;Or whether the information after verifying described deciphering by detection method exists malice add trojan horse program or The harm subscriber equipment such as fishing program uses the program of safety, if there is such program, the most in step slo, first updates Mutual, as one or many calls the application programming interfaces that user equipment applications provides by with this subscriber equipment of device 1 Etc. (API) mode calls antivirus applet or other cleaning tools of subscriber equipment, by the journey of above-mentioned harm subscriber equipment safety Sequence is purged processing, or reloads the application more new script that the network equipment issues, to obtain the application renewal foot of safety This.Then, in sub-step S53, the first updating device 1 is according to described system version, after performing by verification determining safety Application more new script, complete the application heat to application-specific update.
Here, the network equipment is issued to the right of subscriber equipment according to the system version of subscriber equipment by the first updating device 1 Answer during more new script is loaded onto the internal memory of subscriber equipment, directly update the application program in internal memory, it is not necessary to through Fructus Mali pumilae service The examination & verification of device, shortens the time of application program update, improves the experience of user, and according to different subscriber equipmenies System version uses different application more new scripts, solves the compatibility issue of the hot update scheme of different system version, effectively Reduce developing plug joint debugging cost, improve extensibility and the stability of plug-in unit.The present invention is also on existing optimized integration Add method back-loading mechanism, the safe encryption policy in transmission and security verification mechanism, improve the peace that application updates Quan Xing.
It should be noted that the present invention can be carried out in the assembly of hardware at software and/or software, such as, this Each bright device can use special IC (ASIC) or any other similar hardware device to realize.An embodiment In, the software program of the present invention can perform to realize steps described above or function by processor.Similarly, the present invention Software program (including the data structure being correlated with) can be stored in computer readable recording medium storing program for performing, such as, and RAM memory, Magnetically or optically driver or floppy disc and similar devices.It addition, some steps of the present invention or function can employ hardware to realize, example As, perform the circuit of each step or function as coordinating with processor.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of the spirit or essential attributes of the present invention, it is possible to realize the present invention in other specific forms.Therefore, no matter From the point of view of which point, all should regard embodiment as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all by fall in the implication of equivalency and scope of claim Change is included in the present invention.Should not be considered as limiting involved claim by any reference in claim.This Outward, it is clear that " including ", a word was not excluded for other unit or step, and odd number is not excluded for plural number.In system claims, statement is multiple Unit or device can also be realized by software or hardware by a unit or device.The first, the second word such as grade is used for table Show title, and be not offered as any specific order.

Claims (16)

1. the method carrying out applying heat renewal in the ios system of subscriber equipment, wherein, the method comprises the following steps:
Application more new script that the corresponding network equipment is issued by application loader, for application-specific is loaded onto user and sets In standby internal memory, wherein, described application more new script determines according to the system version of described subscriber equipment;
According to described system version, perform described application more new script, described application-specific to be applied heat renewal.
Method the most according to claim 1, wherein, described according to described system version, perform described application more new script, So that described application-specific to be applied the step of heat renewal include:
If described system version is optionally greater than version threshold value, directly perform described application more new script, with to described application-specific Carry out applying heat renewal.
If described system version is less than described version threshold value, described application more new script is explained conversion, and performs through institute State the described application more new script after explaining conversion, described application-specific to be applied heat renewal.
Method the most according to claim 1 and 2, wherein, the method also includes:
Whether the described application-specific after detection updates can be properly functioning;
If can not, according to loading the path of described application more new script, apply more new script described in Opposite side loading.
Method the most according to claim 1 and 2, wherein, described application more new script is encrypted, and wherein, the method is also wrapped Include:
Encrypted described application more new script is decrypted, to obtain the application more new script after deciphering;
Wherein, described according to described system version, perform described application more new script, described application-specific to be carried out application heat The step updated includes:
According to described system version, perform the more new script of the application after described deciphering, described application-specific to be carried out application heat Update.
Method the most according to claim 4, wherein, the method also includes:
Application after described deciphering more new script is carried out security verification, to obtain the application more new script of safety;
Wherein, described according to described system version, perform described application more new script, described application-specific to be carried out application heat The step updated includes:
According to described system version, perform described safe application more new script, to carry out described application-specific applying heat more Newly.
Method the most according to claim 1 and 2, wherein, header file, library file and the resource literary composition in described application loader Part is packed together.
7. auxiliary realizes carrying out in ios system the method applying heat renewal in the network device, wherein, the method include with Lower step:
Obtain the system version of corresponding subscriber equipment;
According to described system version, determine for the application of application-specific more new script in described subscriber equipment;
Described application more new script is issued to described subscriber equipment.
Method the most according to claim 7, wherein, the method also includes:
Described application more new script is encrypted, to obtain the application more new script after encrypting;
Wherein, described issue the step of described application more new script to described subscriber equipment and include:
Application more new script after described subscriber equipment issues described encryption.
9. in the ios system of subscriber equipment, carry out applying first updating device of heat renewal, wherein, these first more new clothes Put and include following device:
For that by application loader, the corresponding network equipment is issued, load for the application more new script of application-specific Device to the internal memory of subscriber equipment, wherein, described application more new script determines according to the system version of described subscriber equipment;
For according to described system version, perform described application more new script, described application-specific to be applied heat renewal Device.
First updating device the most according to claim 9, wherein, described for according to described system version, perform described Apply more new script, so that described application-specific to be applied the device of heat renewal include:
If for described system version optionally greater than version threshold value, directly perform described application more new script, with to described specific Application carries out applying the unit of heat renewal.
If for described system version less than described version threshold value, described application more new script being explained conversion, and performs Through the described described application more new script explained after changing, described application-specific to be applied the unit of heat renewal.
11. according to the first updating device described in claim 9 or 10, and wherein, this first updating device also includes:
Described application-specific after detecting renewal whether can be properly functioning device;
If for can not, according to loading the path of described application more new script, apply the dress of more new script described in Opposite side loading Put.
12. according to the first updating device described in claim 9 or 10, and wherein, described application more new script is encrypted, wherein, This first updating device also includes:
For encrypted described application more new script is decrypted, to obtain the device of the application more new script after deciphering;
Wherein, for described according to described system version, perform described application more new script, to carry out described application-specific answering The device updated by heat includes:
For according to described system version, perform the more new script of the application after described deciphering, to carry out described application-specific answering The unit updated by heat.
13. first updating devices according to claim 12, wherein, this first updating device also includes:
For the more new script of the application after described deciphering is carried out security verification, to obtain the dress of the application more new script of safety Put;
Wherein, described perform described application more new script for according to described system version, so that carry out described application-specific should The device updated by heat includes:
For according to described system version, perform described safe application more new script, so that described application-specific to be applied The unit that heat updates.
14. according to the first updating device described in claim 9 or 10, wherein, the header file in described application loader, library text Part and resource file are packed together.
15. 1 kinds assist the second updating device realizing carrying out applying heat renewal in ios system in the network device, wherein, are somebody's turn to do Second updating device includes following device:
For obtaining the device of the system version of the subscriber equipment of correspondence;
For according to described system version, determine for the device of the application of application-specific more new script in described subscriber equipment;
For issuing the device of described application more new script to described subscriber equipment.
16. second updating devices according to claim 15, wherein, this second updating device also includes:
For described application more new script is encrypted, to obtain the device of the application more new script after encrypting;
Wherein, the described device for issuing described application more new script to described subscriber equipment includes:
The unit of the application more new script after issuing described encryption to described subscriber equipment.
CN201610538602.1A 2016-07-08 2016-07-08 A kind of method and apparatus carrying out applying heat renewal in ios system Pending CN106227554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610538602.1A CN106227554A (en) 2016-07-08 2016-07-08 A kind of method and apparatus carrying out applying heat renewal in ios system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610538602.1A CN106227554A (en) 2016-07-08 2016-07-08 A kind of method and apparatus carrying out applying heat renewal in ios system

Publications (1)

Publication Number Publication Date
CN106227554A true CN106227554A (en) 2016-12-14

Family

ID=57520426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610538602.1A Pending CN106227554A (en) 2016-07-08 2016-07-08 A kind of method and apparatus carrying out applying heat renewal in ios system

Country Status (1)

Country Link
CN (1) CN106227554A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878380A (en) * 2016-12-27 2017-06-20 北京五八信息技术有限公司 The method of bug, device and terminal on a kind of reparation APP lines
CN107133064A (en) * 2017-03-16 2017-09-05 武汉斗鱼网络科技有限公司 The hot update method of the page and device of native applications
CN107203402A (en) * 2017-04-06 2017-09-26 珠海金山网络游戏科技有限公司 It is a kind of that the multiple method of hot repair is carried out to operation code
CN107231490A (en) * 2017-07-19 2017-10-03 中国银行股份有限公司 Dynamic updates method, client and the server of IOS system applications
CN107391171A (en) * 2017-06-14 2017-11-24 广东网金控股股份有限公司 The method and user terminal of a kind of multiple problem of solution iOS hot repairs
CN107425878A (en) * 2017-05-27 2017-12-01 南京泛和电力自动化有限公司 Wireless communications method and wireless terminal for photovoltaic generation monitoring
CN108681460A (en) * 2018-04-18 2018-10-19 北京奇虎科技有限公司 A kind of method and electric terminal of upgrading plug-in unit
CN108733589A (en) * 2018-04-12 2018-11-02 阿里巴巴集团控股有限公司 The implementation method and device of distributed transaction heat deployment
CN109460263A (en) * 2017-08-30 2019-03-12 ***通信有限公司研究院 A kind of application automatic update method and terminal
CN109828772A (en) * 2019-02-19 2019-05-31 百度在线网络技术(北京)有限公司 Hot update method, operating system, terminal device and storage medium
CN110058996A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Program debugging method, device, equipment and storage medium
CN110780906A (en) * 2019-11-05 2020-02-11 福州汇思博信息技术有限公司 Method, device, equipment and medium for updating distributed application of terminal
CN110908694A (en) * 2019-11-18 2020-03-24 政采云有限公司 Hot updating system and method for electronic bidding client application
CN111679842A (en) * 2019-03-11 2020-09-18 阿里巴巴集团控股有限公司 Application program hot update processing method, device and system
CN112764827A (en) * 2020-12-31 2021-05-07 重庆广播电视大学重庆工商职业学院 Java class hot loading method with safety verification

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052702A1 (en) * 2010-12-13 2014-02-20 Google Inc. Remotely updated toolbar language translation service
CN104111855A (en) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 Method for dynamic update of iOS (Iphone Operation System) client based on Lua
US20160110405A1 (en) * 2014-10-17 2016-04-21 ConnectID Limited Systems and methods for updating native contact information
CN105677415A (en) * 2016-01-06 2016-06-15 网易(杭州)网络有限公司 Hot updating method and device
US20160182733A1 (en) * 2014-12-22 2016-06-23 Major Langer Method for automatically responding to a call
CN105743984A (en) * 2016-03-11 2016-07-06 中国建设银行股份有限公司 Method, device and system for automatically updating mobile application
CN105786567A (en) * 2016-02-25 2016-07-20 四川长虹电器股份有限公司 Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052702A1 (en) * 2010-12-13 2014-02-20 Google Inc. Remotely updated toolbar language translation service
CN104111855A (en) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 Method for dynamic update of iOS (Iphone Operation System) client based on Lua
US20160110405A1 (en) * 2014-10-17 2016-04-21 ConnectID Limited Systems and methods for updating native contact information
US20160182733A1 (en) * 2014-12-22 2016-06-23 Major Langer Method for automatically responding to a call
CN105677415A (en) * 2016-01-06 2016-06-15 网易(杭州)网络有限公司 Hot updating method and device
CN105786567A (en) * 2016-02-25 2016-07-20 四川长虹电器股份有限公司 Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method
CN105743984A (en) * 2016-03-11 2016-07-06 中国建设银行股份有限公司 Method, device and system for automatically updating mobile application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HAHAXIXI: ""IOS7里的JavaScriptCore framework"", 《HTTP://WWW.360DOC.CN/ARTICLE/26281448_494755695.HTML》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878380A (en) * 2016-12-27 2017-06-20 北京五八信息技术有限公司 The method of bug, device and terminal on a kind of reparation APP lines
CN107133064B (en) * 2017-03-16 2020-02-07 武汉斗鱼网络科技有限公司 Page hot updating method and device for native application
CN107133064A (en) * 2017-03-16 2017-09-05 武汉斗鱼网络科技有限公司 The hot update method of the page and device of native applications
CN107203402A (en) * 2017-04-06 2017-09-26 珠海金山网络游戏科技有限公司 It is a kind of that the multiple method of hot repair is carried out to operation code
CN107425878A (en) * 2017-05-27 2017-12-01 南京泛和电力自动化有限公司 Wireless communications method and wireless terminal for photovoltaic generation monitoring
CN107391171A (en) * 2017-06-14 2017-11-24 广东网金控股股份有限公司 The method and user terminal of a kind of multiple problem of solution iOS hot repairs
CN107391171B (en) * 2017-06-14 2020-06-09 广东网金控股股份有限公司 Method for solving iOS thermal repair problem and user terminal
CN107231490A (en) * 2017-07-19 2017-10-03 中国银行股份有限公司 Dynamic updates method, client and the server of IOS system applications
CN109460263A (en) * 2017-08-30 2019-03-12 ***通信有限公司研究院 A kind of application automatic update method and terminal
CN108733589A (en) * 2018-04-12 2018-11-02 阿里巴巴集团控股有限公司 The implementation method and device of distributed transaction heat deployment
CN108733589B (en) * 2018-04-12 2021-11-02 创新先进技术有限公司 Method and device for realizing distributed transaction hot deployment
CN108681460A (en) * 2018-04-18 2018-10-19 北京奇虎科技有限公司 A kind of method and electric terminal of upgrading plug-in unit
CN109828772B (en) * 2019-02-19 2022-03-11 百度在线网络技术(北京)有限公司 Thermal update method, operating system, terminal device, and storage medium
CN109828772A (en) * 2019-02-19 2019-05-31 百度在线网络技术(北京)有限公司 Hot update method, operating system, terminal device and storage medium
CN111679842A (en) * 2019-03-11 2020-09-18 阿里巴巴集团控股有限公司 Application program hot update processing method, device and system
CN111679842B (en) * 2019-03-11 2023-06-23 阿里巴巴集团控股有限公司 Application program hot update processing method, device and system
CN110058996A (en) * 2019-03-12 2019-07-26 天津五八到家科技有限公司 Program debugging method, device, equipment and storage medium
CN110780906A (en) * 2019-11-05 2020-02-11 福州汇思博信息技术有限公司 Method, device, equipment and medium for updating distributed application of terminal
CN110908694A (en) * 2019-11-18 2020-03-24 政采云有限公司 Hot updating system and method for electronic bidding client application
CN112764827A (en) * 2020-12-31 2021-05-07 重庆广播电视大学重庆工商职业学院 Java class hot loading method with safety verification

Similar Documents

Publication Publication Date Title
CN106227554A (en) A kind of method and apparatus carrying out applying heat renewal in ios system
Song et al. Privacyguard: A vpn-based platform to detect information leakage on android devices
CN104375861B (en) Application program based on Android platform exempts from method, device and the terminal of installation and operation
US9721101B2 (en) System wide root of trust chaining via signed applications
CN103365644B (en) A kind of method and device of expanding software function
US20120102483A1 (en) Handling calls to native code in a managed code environment
CN105357323A (en) HTML5 page debugging method and device in APP
US10061567B2 (en) Multi-sized data types for managed code
CN109710428A (en) A kind of dynamic call method and device for realizing class
JP2013070597A (en) Systems and methods for accessing charging capabilities of electric vehicle charging stations
CN105335137A (en) Method and device used for processing source file
US10754717B2 (en) Fast and accurate identification of message-based API calls in application binaries
CN105022936A (en) Class file encryption and decryption method and class file encryption and decryption device
CN104331662A (en) Method and device for detecting Android malicious application
CN104978253A (en) Target file checking method and apparatus
CN104184774A (en) Information processing method based on sandbox environment and system thereof
CN110363009A (en) Application security test method, device and computer readable storage medium
CN105868639A (en) Kernel vulnerability repair method and device
CN103268444A (en) Android malicious code detection system and method based on plugin loading
CN112153012A (en) Multi-terminal contact access method, device and storage medium
US10936718B2 (en) Detecting security risks in binary software code
CN103714293A (en) Correcting workflow security vulnerability via static analysis and virtual patching
CN112905220B (en) Thermal restoration method, device, equipment and storage medium
Pagano et al. SEBASTiAn: A static and extensible black-box application security testing tool for iOS and Android applications
CN105260200A (en) Processing method and device for upgrading operating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214