CN105786567A - Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method - Google Patents
Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method Download PDFInfo
- Publication number
- CN105786567A CN105786567A CN201610105738.3A CN201610105738A CN105786567A CN 105786567 A CN105786567 A CN 105786567A CN 201610105738 A CN201610105738 A CN 201610105738A CN 105786567 A CN105786567 A CN 105786567A
- Authority
- CN
- China
- Prior art keywords
- application
- light
- middleware
- light application
- gently
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
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)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses middleware for information interaction of a light application and a main application and an iOS application sub-module dynamic updating method.The middleware comprises an interaction layer, a detection layer and a management execution layer.The interaction layer is mainly responsible for information interaction of the main application and the light application, the detection layer is responsible for authority management and detection of application version information, users and the light application, and the management execution layer is responsible for scheduling and configuring of the light application, mapping conversion of method calling, downloading and data verifying of a light application installation file, and reading-writing, storing and encrypting of light application data.The updating method specifically includes the steps that a developer uploads an application updating module as a light application manufacturing light application dynamic library to a server, the server pushes renewed information, a client side receives the renewed information, downloading and installing are selectively achieved according to demands, and thus the iOS application sub-module dynamic updating is completed.The iOS application can be dynamically updated in time or a required module is installed, and the use smoothness of the applications is improved.
Description
Technical field
Embodiments of the present invention relate to computer technology and field of software development, more specifically, embodiments of the present invention relate to a kind of middleware mutual with main application message for gently application and iOS application submodule dynamic update method.
Background technology
IOS application distribution channel only has two kinds on the market at present, and one is that one is to be issued by enterprise in the AppStore added sale of Fructus Mali pumilae official.Enterprise's application App engineering in general is very huge, and functional module is more, it usually needs by whole application program sub-module, team unity, divide the work.The method using submodule dynamic update can individually be issued or upgrade submodule, without whole application item of upgrading, these submodules are also referred to as light application, light application has good autgmentability and cohesion, it is easy to management and the test of development process, particularly in scale of the project relatively large when, project can adapt to following change by little cost.In submodule dynamic update, the form being different from html5 (webpage) general at present realizes, and these submodules can be the Objective-C/Swift primary code of the iOS write, and can be accomplished by Consumer's Experience ultimate attainment, and operational efficiency is also high.
A application generally comprises native applications, web application and gently applies.Native applications have significantly high operational efficiency and can and system interact, but be as being on the increase of application function, may result in the volume of application and constantly increase too fat to move, and then take substantial amounts of system resource and reduce the fluency of system.And the maintenance of native applications and upgrade cost are high, are difficult to accomplish effective renewal.Although the volume that web application and light application can solve application is excessive, be difficult to the problems such as maintenance upgrade, but operational efficiency and and system poor alternately.
The cycle of exploitation will being made to become very long when the function of application is too much, if to wait all functional developments just to issue completely, efficiency will become very low.Secondly, user not necessarily just may require that all functions of a application, and function more useless not only could not be brought to user and promote in experience, also can reduce the experience of user on the contrary because of making application become too fat to move.
When grave error occurs in application program, developer should find out the place module of mistake as soon as possible and repair in time.But, developer wants that amended application is submitted to user and is but less than easy.Under traditional pattern, developer first can only submit the application version after updating to Fructus Mali pumilae, and Fructus Mali pumilae examination & verification just can down loading updating by rear user.But, the application examination & verification of Fructus Mali pumilae one week easily, sometimes even longer, user is usually and can not update bug timely.So Fructus Mali pumilae examination & verification application during this period of time in, the bug that could not repair in time not only can reduce the experience of user, but also the developer of application can be brought very big loss.
Summary of the invention
Instant invention overcomes the deficiencies in the prior art, a kind of middleware mutual with main application message for gently application and iOS application submodule dynamic update method are provided, the volume that can solve native applications with expectation is excessive, it is difficult to safeguard, light application operational efficiency is low, cause when application function is too much that application becomes too fat to move and reduces Consumer's Experience, and when mistake occurs in application, Fructus Mali pumilae Review Cycle length causes that renewal efficiency is low and waits series of problems.
For solving above-mentioned technical problem, one embodiment of the present invention by the following technical solutions:
A kind of middleware mutual with main application message for gently application, it is made up of framework, and inside is divided into 3 levels:
One, alternation of bed, including:
External interaction center, the information being responsible between therein and main application is mutual, activate application version detection module when receiving the light application download instruction UI interface of main application launched, receive and launch UI interface to main application when successful message is downloaded in the light application successively adjusted back and update instruction;
Two, detection layers, including:
Application version detection module, by the activation of external interaction center, is responsible for the relevant information of the light application received in detection and the main application of managing customer end, and sends it to authority detection module;
Authority detection module, it is responsible for user, the light rights management applied and detection, judge whether this user has the right to download this and gently apply including after receiving the information that application version detection module sends, obtain judged result and authority information, will determine that result is adjusted back external interaction center and is reported to the main application of client, and will determine that result and authority information are sent to application center;
Three, management execution level, including:
Application center, is responsible for the light application queue of maintenance, including the judged result receiving authority detection module, according to judged result, light application being scheduling and is configured, thus starting download management module, and scheduling and configuration information being returned to external interaction center;
Operation mapping block, the mapping being responsible for light application and main application both sides' method call converts, including the authority information configuration correlation map file provided according to authority detection module for method call and data manipulation;
Download management module, including downloader and checker, described downloader receives the scheduling at application center, is responsible for downloading light application from network, and the light application downloaded is carried out MD5 data check by described checker, is then passed to configuration information management module;
Configuration information management module, including database access device and file access device, it is responsible for data read-write operation, carries out database purchase or file encryption storage including MD5 data check is successfully gently applied, and successively pull back to external interaction center by gently applying the successful message of download.
In the above-mentioned middleware mutual with main application message for gently application, the relevant information of described light application is message of mourning in silence, and client is saved to message center after receiving message of mourning in silence, message content includes light application version.
In the above-mentioned middleware mutual with main application message for gently application, described middleware also includes data transfer module, needs the data provided for main application and the mutual call by passing the other side's interface of light application.
In the above-mentioned middleware mutual with main application message for gently application, described middleware also includes data memory module, and the data for depositing main application temporarily supply light application call.
Present invention also offers a kind of iOS application submodule dynamic update method, make use of the above-mentioned middleware mutual with main application message for gently application, it comprises the following steps:
(1) developer makes as required and gently applies dynamic base, and by the version information gently applied and realize the method for function and be written in corresponding file;
(2) being gently applied in after local packing encapsulates of having developed uploads to iOS server, and qualified application is pushed more new information according to the header length comprised in light application after getting up-to-date light application by server;
(3) subscription client receives the more fresh information of light application, is divided into two kinds of situations:
A1, this light application are that the light of optional installation is applied, if user refuses to install, light application is not installed but entered light list of application with installation after standby user, if user accepts to install, the main application of subscription client is automatically installed this and gently applied;
A2, this gently application be must install gently apply then system default solar obligation, notify that user accepts install and select set-up time and/or network environment;
(4), after user selects installation or system default solar obligation gently to apply, described middleware downloads light application from server;
(5) client of user gets the installation file of light application and carries out locally-installed, namely completes iOS application submodule dynamic update.
In above-mentioned iOS application submodule dynamic update method, the described selection set-up time refers to that user selects install retardation time when being inconvenient to install light application or selects a regular time to install, and described selection network environment refers to that selection is installed under WiFi network state or 3G/4G network state.
In above-mentioned iOS application submodule dynamic update method, described step (4) including:
B1, described middleware are downloaded before the installation file of light application from server, and the main application of client can detect current network conditions, just directly downloads if in WiFi network state, if 3G/4G network state just asks the user whether to continue to install;
B2, described middleware are downloaded from server before the installation file of light application, the main application and service device of client can carry out two-way safety verification, in two-way safety verification process, developer can specify special security protocol, only both sides meet this agreement and could pass through safety verification, then continued by safety verification to download, otherwise this install failure;
B3, described middleware are downloaded from server before the installation file of light application, the main application of client can check the local installation file that whether there is light application, without then downloading from a server, if existed, whether the main application of client detects local file of installing according to the version information of server push is up-to-date installation file, if it is directly install, if not then downloading from server.
In above-mentioned iOS application submodule dynamic update method, described step (5) including:
C1, the installation kit gently applied importing to the region of memory of the main application of client, in this process, main application is to being gently used as safety inspection;
C2, by after safety inspection, main application will gently be incorporated in the framework of its mastery routine in application;
What c3, main applications exploiting middleware completed main application and light application is connected work, including data, function interworking;
C4, through the exchange of the linking of middleware and data, light application has reformed into a module of main application.
In above-mentioned iOS application submodule dynamic update method, the process of described step c3 includes:
1. main application will gently apply the interface mappings that can call in described middleware, gently applying the interface mappings also main application can called in described middleware, and after completing mappings work, main application can call light application;
2. after main application and light application get the other side's interface message, in addition it is also necessary to tell that the other side's calling interface needs the corresponding data provided, carried out data transmission by the data transfer module of middleware;
3. light application calls the data in region of memory by middleware to main application application, or described data are stored in the data memory module of middleware by main application, and gently apply and can only access described data from middleware, main application gives light application permission by middleware;
4. gently apply by middleware to the specific region of memory of mastery routine application, be used for protecting privately owned application data.
In above-mentioned iOS application submodule dynamic update method, after described iOS application submodule dynamic update completes, user can optionally delete light application, deletes light application and comprises the steps of
D1, user select light application from the feature list of main application, send removal request;
After d2, main application get removal request, it is judged that whether light application can delete, if can not delete, this time asks failure, if it is possible to delete the removal request then responding this;
D3, main application send removal request to middleware, middleware finds corresponding light application after receiving removal request, after finding, first middleware is deleted this and is gently applied the data being saved in middleware and private room, then from the method mapping table of middleware, removal maps, and finally deletes the installation kit of light application;
In d4, main application, state of this light application is not installed from installing to change into.
Below technical scheme is further detailed.
The present invention utilizes a kind of middleware follow-on light application mutual with main application message for gently application, provide the method that a dynamic publishing supporting various iOS application submodules is installed, developer can first issue the major function of a application, the function being not as important comparatively speaking then can use the dynamic installation method subsequent issued of light application, and new sub-function module is added in the application being issued dynamically.Additionally user can pass through light application issuing function module, the function that selective installation needs, and thus can reduce the volume of application, promote the experience of user.When finding to test serious bug, the module at bug place just can be made light application and upload onto the server in time by developer in time, and such user just quickly can gently apply reparation bug by downloading and install, it is to avoid unnecessary loss.
Compared with prior art, one of beneficial effects of the present invention is: the present invention is that a kind of iOS application submodule supporting various channel to distribute dynamically is installed and the method upgraded, not only support the various iOS application being integrated with sub-application, also support the independent utility of non-integration application.The present invention make iOS application can in time, be dynamically updated or install the module of needs, each submodule is independent light application, and can carry out data, method etc. with main application and share mutual.The method ensure that application function comprehensive simultaneously, what application is greatly improved uses fluency, the stability of system and ease for maintenance.
Accompanying drawing explanation
Fig. 1 is that the present invention is for gently applying the middleware structure frame diagram mutual with main application message.
The flow chart of middleware detection before downloading gently is applied when Fig. 2 is iOS application submodule dynamic update of the present invention.
Fig. 3 gently applies the workflow diagram of each module of middleware in downloading process when being iOS application submodule dynamic update of the present invention.
Fig. 4 is the flow chart starting light application after iOS application submodule dynamic update of the present invention completes.
Fig. 5 is gently applied in after iOS application submodule dynamic update of the present invention completes in corresponding system to encapsulate the flow chart calling main application.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention is used for the structure of the light application middleware mutual with main application message as it is shown in figure 1, it is made up of framework, and inside is divided into 3 levels:
One, alternation of bed, including:
External interaction center, the information being responsible between therein and main application is mutual, activate application version detection module when receiving the light application download instruction UI interface of main application launched, receive and launch UI interface to main application when successful message is downloaded in the light application successively adjusted back and update instruction;
Two, detection layers, including:
Application version detection module, by the activation of external interaction center, is responsible for the relevant information of the light application received in detection and the main application of managing customer end, and sends it to authority detection module;
Authority detection module, it is responsible for user, the light rights management applied and detection, judge whether this user has the right to download this and gently apply including after receiving the information that application version detection module sends, obtain judged result and authority information, will determine that result is adjusted back external interaction center and is reported to the main application of client, and will determine that result and authority information are sent to application center;
Three, management execution level, including:
Application center, is responsible for the light application queue of maintenance, including the judged result receiving authority detection module, according to judged result, light application being scheduling and is configured, thus starting download management module, and scheduling and configuration information being returned to external interaction center;
Operation mapping block, the mapping being responsible for light application and main application both sides' method call converts, including the authority information configuration correlation map file provided according to authority detection module for method call and data manipulation;
Download management module, including downloader and checker, described downloader receives the scheduling at application center, is responsible for downloading light application from network, and the light application downloaded is carried out MD5 data check by described checker, is then passed to configuration information management module;
Configuration information management module, including database access device and file access device, it is responsible for data read-write operation, carries out database purchase or file encryption storage including MD5 data check is successfully gently applied, and successively pull back to external interaction center by gently applying the successful message of download.
The detailed technology embodiment of three above level modules is as follows, mainly comprises four flow processs:
Flow process one is as shown in Figure 2, comprise following sub-step: client downloads also installs main application, the light application framework dynamic base made is uploaded onto the server by developer, and push relevant information to the main application of client, this message is message of mourning in silence, will not ejecting prompting frame when client receives this message or prompt tone only preserves to message center after receiving this message, message content includes gently application dynamic library version and other relevant information.The main application of client terminal start-up, program activates application version detection module by the external interaction center of middleware after starting, and has detected whether that new opplication PUSH message arrives, such as step S0, S1, testing result is divided into two kinds of situations: branch 1 does not have new opplication PUSH message to arrive, process ends;Branch 2 has new opplication PUSH message to arrive, and namely this updates to judge this user whether to have permission this new opplication of download by authority detection module, such as step S2.The testing result of authority detection module is divided into two kinds of situations: branch 1 user does not have associated rights, does not point out user to download or updates, and terminates this flow process;Branch 2 user has associated rights, prompting user download or update, and user selects to download or update, and reports main application, main application Booting sequence two by external interaction center;User selects do not download or update, then process ends, and next main application restarts flow process one when starting.
Flow process two is as it is shown on figure 3, comprise following sub-step: step S0, and user clicks UI interface download button in client and opens download, and now, server and client side can carry out bidirectional safe checking, if checking is not passed through, then and process ends;If being verified, then by external interaction center, operation information is sent to authority detection module and carry out authority detection, if authority detects unsuccessfully, then terminate this flow process, if authority detects successfully, then operation information is sent to application center be scheduling, the operation such as configuration, such as step S1.Step S2, configures correlation map file for method call, data manipulation etc. according to authority information.Before download, whether client can detect this locality exists and gently applies dynamic base, testing result is divided into two kinds of situations: branch 1 this locality is absent from gently applying dynamic library file, then enter step S3, apply central dispatching download management, create downloader and open download sub-process, download carries out MD5 data check by checker after completing, such as step S4, if the failure of MD5 data check, terminate this flow process;If the success of MD5 data check, by configuration information management module, configuration information is managed, carries out database purchase, file encryption storage operation, such as step S5;Dynamic library file is gently applied in the local existence of branch 2, now judge whether local light application file is latest edition, judged result is divided into again two kinds of situations, branch's 1. light application file is latest edition, then not downloading, directly point out user installation, user selects not install then process ends, user selects to install, then perform installation process;Branch's 2. local light application file is not latest edition, enters step 3.Finally, message successively pulls back to external interaction center, and light application is downloaded and installed and notifies after successfully that main application updates UI interface, such as step S6.
Flow process three as shown in Figure 4, comprises following sub-step: step S0, and user clicks UI and starts light application, sends to authority detection module, branch 1: authority detects unsuccessfully, then Booting sequence terminates after being encapsulated by external interaction center;Branch 2: authority detects successfully, then send to application center and be scheduling configuration, such as step S1.Step S2, the configuration file created according to flow process two to this start operation (start application, delete application, down loading updating application, call application concrete grammar, to application transmission information etc.) carry out method coupling.Step S3, starts corresponding light application framework associative operation by applying center encapsulation event.
Flow process four is as it is shown in figure 5, comprise following sub-step: step S0, is gently applied in corresponding system encapsulation and calls main application process, by the light application queue constructor event in the minds of in applying.It is operated by mapping and is converted into concrete operation object, such as step S1.Step S2, is detected this operation by authority detection, branch 1: detect unsuccessfully, then terminates this flow process;Branch 2: detect successfully, then adjust back main application concrete grammar by external interaction center.
Dynamically installing of gently applying during the iOS application submodule dynamic update of the present invention is as follows:
Step one, developer make as required and gently apply dynamic base.Developer can a light application dynamic base of completely self-contained exploitation, and for web application, the required level of skill of the light application of exploitation is low, development difficulty is little.Developer has only to traditional gently gently to apply for developing modified model according to exploitation is a.After having developed, developer has only to the version information gently applied and realizes the method for function and be written in corresponding file.For the data message that some are important, light application can also arrange corresponding secrecy provision.
Step 2, the light application developed in this locality packing encapsulation, then can be uploaded onto the server dynamically again.After server gets up-to-date light application, it is possible to according to the header length comprised in light application, qualified application is pushed more new information.
Step 3, subscription client receive the more fresh information of light application, now again can be in two kinds of situation:
A1, this light application are that the light of optional installation is applied.Now light application can ask the user whether that needing to install this gently applies, if user is not as needs for the function gently applied, it is possible to selects refusal to install this and gently applies, then this light application will not be installed immediately but can be entered a light list of application.Need to install after user and just can continue to install time this gently applies.If user there is a need at this point for this function gently applied, then user may be selected by installing this immediately and gently applies, and the main application of client will be installed this automatically and gently be applied.
A2, this light application must be installed.If this application is the application that system default must be installed, then system can select to notify which kind of user can install and gently apply, or can install on backstage.If this application of the not very convenient installation of user now, user can also select postpone the set-up time of application or select a regular time to install.
Step 4, user select to install or after system default solar obligation, and the above-mentioned middleware mutual with main application message for gently application can download and install light application from server.
Further, the installation process described in step 4 comprises following sub-step:
B1, middleware are downloaded before the installation file of light application from server, and the main application of client can detect current network environment, just directly downloads if under WiFi state.If current network environment is 3G, 4G network, will asking the user whether to continue to install, user can also postpone according to the situation of network and downloading, or specifies and just must install under WiFi network environment.
B2, middleware are downloaded before the installation file of light application from server, and the main application and service device of client can carry out two-way safety verification.First server can send the safety certificate of light application to client, wherein just comprises the various version safety information of light application, and simultaneously, customer side also can send safety certificate to server, comprises the various safety information of local client.In the bi-directional verification process of local client and server, developer can specify special security protocol, and only both sides meet the requirement of agreement, just can pass through safety verification.If be proved to be successful, then continue installation process.If failure, then this install failure.
B3, described middleware are downloaded from server before the installation file of light application, the main application of client can check the local file that whether there is light application, if local not corresponding light application file, download from a server, if having there is corresponding file in this locality, then whether client can be up-to-date installation file according to the local file of the version information detection that service end pushes.If local file has been up-to-date installation file, then directly install.If not latest document, then download file from service end.
Step 5, client get the installation file of light application and carry out locally-installed process.
Further, the installation process described in step 5 kind comprises following sub-step:
C1, being imported to by the installation kit gently applied in the region of memory of the main application of client, this region is the memory headroom that this application is privately owned, this guarantees this gently with to obtain safety.By when gently application imports in internal memory, application program can, to being gently used as corresponding safety inspection, be also so prevent there is, in light application, the function threatening the main application safety of client.
C2, by after safety inspection, main application will gently be incorporated in the framework of its mastery routine in application.
C3, after light application enters into the function structure of main application, now can't use light application.What at this moment main applications exploiting middleware completed light application and main application is connected work, and this middleware is the functional module comprising several submodule in main application, and major function has been main application and the data gently applied, function interworking.
Further, the process described in step c3 comprises following sub-step:
1) some can gently be applied the interface mappings that can call in middleware by main application, and the interface mappings that main application also can be called by same light application is to middleware, and after completing mappings work, main application just can call light application.
2) after both sides get interface message, in addition it is also necessary to tell that the other side's calling interface needs the corresponding data provided.Now, middleware has the module of transmission data, and for certain data safety, middleware can also use security module that the data of transmission are carried out certain safe handling.
3) light application also can call the data in region of memory by middleware to main application application, such as various buffered datas and application data.Mastery routine can give, by middleware, the authority that light application is certain.Data can also be stored in the data module of middleware by middleware by mastery routine, and now light application just can only access data from middleware, this guarantees the safety of mastery routine.
4) light application can also pass through middleware to the specific region of memory of mastery routine application, is used for preserving privately owned application data.
C4, through the exchange of the link of middleware and data, now light application has reformed into a module of main application.
Step 6, light application are successfully installed.User can open light application.
After user installation is gently applied, it is also possible to select to delete specific light application, wherein delete light application and comprise the steps of
D1, the corresponding light application of selection from the feature list of main application, after user selects the light application of needs deletion, it is possible to send removal request.
After d2, main application get removal request, can judge whether this light application can delete.If can not delete, this time ask failure.If can delete, then respond this removal request.
D3, main application meeting are to the request of middleware transmission removing module, and middleware receives request and finds gently applying of correspondence.After finding corresponding light application, first middleware can be deleted this and gently apply the data being saved in middleware and private room, then can remove mapping from the method mapping table of middleware, finally then can delete the installation kit of light application.
In d4, main application, state of this light application is not installed from installing to change into.
Although reference be made herein to invention has been described for the explanatory embodiment of the present invention, but, it should be understood that those skilled in the art can be designed that a lot of other amendments and embodiment, these amendments and embodiment will drop within spirit disclosed in the present application and spirit.More specifically, in scope disclosed in the present application, it is possible to building block and/or layout to theme composite configuration carry out multiple modification and improvement.Except the modification that building block and/or layout are carried out and improvement, to those skilled in the art, other purposes also will be apparent from.
Claims (10)
1. apply the middleware mutual with main application message for light for one kind, it is characterised in that it is made up of framework, and inside is divided into 3 levels:
One, alternation of bed, including:
External interaction center, the information being responsible between therein and main application is mutual, activate application version detection module when receiving the light application download instruction UI interface of main application launched, receive and launch UI interface to main application when successful message is downloaded in the light application successively adjusted back and update instruction;
Two, detection layers, including:
Application version detection module, by the activation of external interaction center, is responsible for the relevant information of the light application received in detection and the main application of managing customer end, and sends it to authority detection module;
Authority detection module, it is responsible for user, the light rights management applied and detection, judge whether this user has the right to download this and gently apply including after receiving the information that application version detection module sends, obtain judged result and authority information, will determine that result is adjusted back external interaction center and is reported to the main application of client, and will determine that result and authority information are sent to application center;
Three, management execution level, including:
Application center, is responsible for the light application queue of maintenance, including the judged result receiving authority detection module, according to judged result, light application being scheduling and is configured, thus starting download management module, and scheduling and configuration information being returned to external interaction center;
Operation mapping block, the mapping being responsible for light application and main application both sides' method call converts, including the authority information configuration correlation map file provided according to authority detection module for method call and data manipulation;
Download management module, including downloader and checker, described downloader receives the scheduling at application center, is responsible for downloading light application from network, and the light application downloaded is carried out MD5 data check by described checker, is then passed to configuration information management module;
Configuration information management module, including database access device and file access device, it is responsible for data read-write operation, carries out database purchase or file encryption storage including MD5 data check is successfully gently applied, and successively pull back to external interaction center by gently applying the successful message of download.
2. the middleware mutual with main application message for gently application according to claim 1, it is characterized in that the relevant information of described light application is message of mourning in silence, client is saved to message center after receiving message of mourning in silence, message content includes light application version.
3. the middleware mutual with main application message for gently application according to claim 1, it is characterised in that also include data transfer module, needs the data provided for main application and the mutual call by passing the other side's interface of light application.
4. the middleware mutual with main application message for gently application according to claim 1, it is characterised in that described middleware also includes data memory module, the data for depositing main application temporarily supply light application call.
5. an iOS application submodule dynamic update method, it is characterised in that make use of the middleware mutual with main application message for gently application described in claim 1 or 2, it comprises the following steps:
(1) developer makes as required and gently applies dynamic base, and by the version information gently applied and realize the method for function and be written in corresponding file;
(2) being gently applied in after local packing encapsulates of having developed uploads to iOS server, and qualified application is pushed more new information according to the header length comprised in light application after getting up-to-date light application by server;
(3) subscription client receives the more fresh information of light application, is divided into two kinds of situations:
A1, this light application are that the light of optional installation is applied, if user refuses to install, light application is not installed but entered light list of application with installation after standby user, if user accepts to install, the main application of subscription client is automatically installed this and gently applied;
A2, this gently application be must install gently apply then system default solar obligation, notify that user accepts install and select set-up time and/or network environment;
(4), after user selects installation or system default solar obligation gently to apply, described middleware downloads light application from server;
(5) client of user gets the installation file of light application and carries out locally-installed, namely completes iOS application submodule dynamic update.
6. iOS application submodule dynamic update method according to claim 5, it is characterized in that the described selection set-up time refers to that user selects install retardation time when being inconvenient to install light application or selects a regular time to install, described selection network environment refers to that selection is installed under WiFi network state or 3G/4G network state.
7. iOS application submodule dynamic update method according to claim 5, it is characterised in that described step (4) including:
B1, described middleware are downloaded before the installation file of light application from server, and the main application of client can detect current network conditions, just directly downloads if in WiFi network state, if 3G/4G network state just asks the user whether to continue to install;
B2, described middleware are downloaded from server before the installation file of light application, the main application and service device of client can carry out two-way safety verification, in two-way safety verification process, developer can specify special security protocol, only both sides meet this agreement and could pass through safety verification, then continued by safety verification to download, otherwise this install failure;
B3, described middleware are downloaded from server before the installation file of light application, the main application of client can check the local installation file that whether there is light application, without then downloading from a server, if existed, whether the main application of client detects local file of installing according to the version information of server push is up-to-date installation file, if it is directly install, if not then downloading from server.
8. iOS application submodule dynamic update method according to claim 5, it is characterised in that described step (5) including:
C1, the installation kit gently applied importing to the region of memory of the main application of client, in this process, main application is to being gently used as safety inspection;
C2, by after safety inspection, main application will gently be incorporated in the framework of its mastery routine in application;
What c3, main applications exploiting middleware completed main application and light application is connected work, including data, function interworking;
C4, through the exchange of the linking of middleware and data, light application has reformed into a module of main application.
9. iOS application submodule dynamic update method according to claim 8, it is characterised in that the process of described step c3 includes:
1. main application will gently apply the interface mappings that can call in described middleware, gently applying the interface mappings also main application can called in described middleware, and after completing mappings work, main application can call light application;
2. after main application and light application get the other side's interface message, in addition it is also necessary to tell that the other side's calling interface needs the corresponding data provided, carried out data transmission by the data transfer module of middleware;
3. light application calls the data in region of memory by middleware to main application application, or described data are stored in the data memory module of middleware by main application, and gently apply and can only access described data from middleware, main application gives light application permission by middleware;
4. gently apply by middleware to the specific region of memory of mastery routine application, be used for protecting privately owned application data.
10. iOS application submodule dynamic update method according to claim 5, it is characterised in that after described iOS application submodule dynamic update completes, user can optionally delete light application, deletes light application and comprises the steps of
D1, user select light application from the feature list of main application, send removal request;
After d2, main application get removal request, it is judged that whether light application can delete, if can not delete, this time asks failure, if it is possible to delete the removal request then responding this;
D3, main application send removal request to middleware, middleware finds corresponding light application after receiving removal request, after finding, first middleware is deleted this and is gently applied the data being saved in middleware and private room, then from the method mapping table of middleware, removal maps, and finally deletes the installation kit of light application;
In d4, main application, state of this light application is not installed from installing to change into.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610105738.3A CN105786567B (en) | 2016-02-25 | 2016-02-25 | IOS application submodule dynamic update method and its intermediate system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610105738.3A CN105786567B (en) | 2016-02-25 | 2016-02-25 | IOS application submodule dynamic update method and its intermediate system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105786567A true CN105786567A (en) | 2016-07-20 |
CN105786567B CN105786567B (en) | 2019-01-11 |
Family
ID=56403024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610105738.3A Active CN105786567B (en) | 2016-02-25 | 2016-02-25 | IOS application submodule dynamic update method and its intermediate system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105786567B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227554A (en) * | 2016-07-08 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus carrying out applying heat renewal in ios system |
CN106341420A (en) * | 2016-10-21 | 2017-01-18 | 广东亿迅科技有限公司 | Method and system for rapid developing applications based on search and play mode |
CN106502656A (en) * | 2016-10-09 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | List View construction method and system in a kind of IOS systems |
CN107067298A (en) * | 2017-03-28 | 2017-08-18 | 北京小米移动软件有限公司 | Handle the method and device of article exhibition information |
CN108153832A (en) * | 2017-12-13 | 2018-06-12 | 北京小米移动软件有限公司 | Pushed information display methods and device |
CN108712377A (en) * | 2018-04-03 | 2018-10-26 | 国家电网公司 | A kind of portable terminal off-line operation pattern |
CN108874390A (en) * | 2017-05-10 | 2018-11-23 | 腾讯科技(北京)有限公司 | A kind of data processing method and device, equipment, storage medium |
CN108900487A (en) * | 2018-06-20 | 2018-11-27 | 河北上通云天网络科技有限公司 | A kind of shared Dropbox being implanted into middleware |
CN109271756A (en) * | 2017-07-14 | 2019-01-25 | 迈普通信技术股份有限公司 | Authority control method, device and server |
CN110333868A (en) * | 2019-06-12 | 2019-10-15 | 阿里巴巴集团控股有限公司 | For generating the method and system of the installation kit of sub- application |
CN110413292A (en) * | 2019-07-22 | 2019-11-05 | 深圳证券交易所 | Light application installation method, mobile terminal and the storage medium of application program |
CN110659021A (en) * | 2019-11-29 | 2020-01-07 | 南京百敖软件有限公司 | Development and test system for micro application in mobile terminal |
CN110908728A (en) * | 2018-09-15 | 2020-03-24 | Oppo广东移动通信有限公司 | Authority configuration method and related product |
CN111124450A (en) * | 2019-12-21 | 2020-05-08 | 广州鲁邦通物联网科技有限公司 | Distributed management method based on multi-level sharing center and cloud platform |
CN111399860A (en) * | 2020-03-06 | 2020-07-10 | 金蝶蝶金云计算有限公司 | Light application deployment method and device, computer equipment and storage medium |
CN111857805A (en) * | 2020-07-27 | 2020-10-30 | 广西美立方工程咨询有限公司 | Configuration-adjustable business process engine middleware system and use method thereof |
CN112579190A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Webpage embedded application interaction method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8146074B2 (en) * | 2006-04-14 | 2012-03-27 | Fujitsu Limited | Computer-readable recording medium containing application management program, and method and apparatus for application management |
CN103617218A (en) * | 2013-11-21 | 2014-03-05 | 北京奇虎科技有限公司 | Light application creating method and clients |
CN104158722A (en) * | 2014-07-21 | 2014-11-19 | 小米科技有限责任公司 | Message push method and device used for light applications, as well as terminal and server |
CN104572278A (en) * | 2014-12-22 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Method, device and equipment for light application to call local end capability |
-
2016
- 2016-02-25 CN CN201610105738.3A patent/CN105786567B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8146074B2 (en) * | 2006-04-14 | 2012-03-27 | Fujitsu Limited | Computer-readable recording medium containing application management program, and method and apparatus for application management |
CN103617218A (en) * | 2013-11-21 | 2014-03-05 | 北京奇虎科技有限公司 | Light application creating method and clients |
CN104158722A (en) * | 2014-07-21 | 2014-11-19 | 小米科技有限责任公司 | Message push method and device used for light applications, as well as terminal and server |
CN104572278A (en) * | 2014-12-22 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Method, device and equipment for light application to call local end capability |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106227554A (en) * | 2016-07-08 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus carrying out applying heat renewal in ios system |
CN106502656A (en) * | 2016-10-09 | 2017-03-15 | 武汉斗鱼网络科技有限公司 | List View construction method and system in a kind of IOS systems |
CN106502656B (en) * | 2016-10-09 | 2018-08-03 | 武汉斗鱼网络科技有限公司 | List View construction method and system in a kind of IOS systems |
CN106341420A (en) * | 2016-10-21 | 2017-01-18 | 广东亿迅科技有限公司 | Method and system for rapid developing applications based on search and play mode |
CN107067298A (en) * | 2017-03-28 | 2017-08-18 | 北京小米移动软件有限公司 | Handle the method and device of article exhibition information |
CN108874390B (en) * | 2017-05-10 | 2023-05-16 | 腾讯科技(北京)有限公司 | Data processing method and device, equipment and storage medium |
CN108874390A (en) * | 2017-05-10 | 2018-11-23 | 腾讯科技(北京)有限公司 | A kind of data processing method and device, equipment, storage medium |
CN109271756A (en) * | 2017-07-14 | 2019-01-25 | 迈普通信技术股份有限公司 | Authority control method, device and server |
CN108153832B (en) * | 2017-12-13 | 2022-01-11 | 北京小米移动软件有限公司 | Push information display method and device |
CN108153832A (en) * | 2017-12-13 | 2018-06-12 | 北京小米移动软件有限公司 | Pushed information display methods and device |
CN108712377A (en) * | 2018-04-03 | 2018-10-26 | 国家电网公司 | A kind of portable terminal off-line operation pattern |
CN108900487B (en) * | 2018-06-20 | 2021-09-28 | 河北上通云天网络科技有限公司 | Shared net disk for implanting middleware |
CN108900487A (en) * | 2018-06-20 | 2018-11-27 | 河北上通云天网络科技有限公司 | A kind of shared Dropbox being implanted into middleware |
CN110908728A (en) * | 2018-09-15 | 2020-03-24 | Oppo广东移动通信有限公司 | Authority configuration method and related product |
CN110908728B (en) * | 2018-09-15 | 2021-04-09 | Oppo广东移动通信有限公司 | Authority configuration method and related product |
CN110333868A (en) * | 2019-06-12 | 2019-10-15 | 阿里巴巴集团控股有限公司 | For generating the method and system of the installation kit of sub- application |
CN110333868B (en) * | 2019-06-12 | 2023-12-19 | 创新先进技术有限公司 | Method and system for generating installation packages of sub-applications |
CN110413292A (en) * | 2019-07-22 | 2019-11-05 | 深圳证券交易所 | Light application installation method, mobile terminal and the storage medium of application program |
CN110413292B (en) * | 2019-07-22 | 2023-11-14 | 深圳证券交易所 | Light application installation method of application program, mobile terminal and storage medium |
CN112579190A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Webpage embedded application interaction method and device |
CN110659021B (en) * | 2019-11-29 | 2020-03-17 | 南京百敖软件有限公司 | Development and test system for micro application in mobile terminal |
CN110659021A (en) * | 2019-11-29 | 2020-01-07 | 南京百敖软件有限公司 | Development and test system for micro application in mobile terminal |
CN111124450B (en) * | 2019-12-21 | 2023-09-19 | 广州鲁邦通物联网科技股份有限公司 | Distributed management method based on multilayer sharing center and cloud platform |
CN111124450A (en) * | 2019-12-21 | 2020-05-08 | 广州鲁邦通物联网科技有限公司 | Distributed management method based on multi-level sharing center and cloud platform |
CN111399860A (en) * | 2020-03-06 | 2020-07-10 | 金蝶蝶金云计算有限公司 | Light application deployment method and device, computer equipment and storage medium |
CN111399860B (en) * | 2020-03-06 | 2023-07-07 | 金蝶蝶金云计算有限公司 | Light application deployment method, light application deployment device, computer equipment and storage medium |
CN111857805A (en) * | 2020-07-27 | 2020-10-30 | 广西美立方工程咨询有限公司 | Configuration-adjustable business process engine middleware system and use method thereof |
CN111857805B (en) * | 2020-07-27 | 2024-05-31 | 广西美立方工程咨询有限公司 | Configuration-adjustable business process engine middleware system and using method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105786567B (en) | 2019-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105786567A (en) | Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method | |
CN111027921B (en) | Service processing method and device, electronic equipment and storage medium | |
CN102622241B (en) | A kind of method for upgrading software and device | |
WO2017088388A1 (en) | Method and system for upgrading sdk of application | |
US20190227794A1 (en) | Systems and methods for real time version control for integrating updated web-based components with a native application | |
US11340893B2 (en) | Mobile application update preserving changes to the application made by a client | |
US10296298B1 (en) | Systems and methods for cross platform information exchange mechanism for integrating web-based components with a native application | |
CN102609281B (en) | Distributed software patch update method and system | |
US10296309B1 (en) | Systems and methods for automatic API generation for bi-directional communication between native and web-based components of a mobile application | |
CN103034527B (en) | Hybrid virtualization cloud computing resources optimal control method and system | |
CN104615462B (en) | Cross-platform Mobile solution generation service end and system | |
CN103593207A (en) | High-speed automatic cluster system deployment method using virtual disk | |
CN106557347B (en) | Software updating method and device | |
CN102970342A (en) | Automatic update method of embedded terminal based on over the air (OTA) technology | |
US20150220318A1 (en) | Wireless firmware upgrades to an alarm security panel | |
CN102541596A (en) | Operating system upgrading method and device | |
Huang | AppACTS: Mobile app automated compatibility testing service | |
CN104301338A (en) | Cloud platform based automatic deploying method for application system | |
CN106452835B (en) | The method and device thereof that the terminal software of particular hardware configuration updates | |
CN111857777A (en) | System updating method and device based on double-core intelligent electric meter and computer equipment | |
CN112152846A (en) | Metering instrument remote upgrading method based on Internet of things | |
WO2020199543A1 (en) | Method and apparatus applicable to release and upgrade of hybrid application, and intelligent device | |
CN104318091A (en) | Moonlet ground testing method based on virtualization computer system | |
CN106484458B (en) | Open type software warehouse management system and management method thereof | |
CN102768628A (en) | Method and device for preinstallation of third party application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |