CN107463400A - The hot update method and terminal device of Mobile solution - Google Patents

The hot update method and terminal device of Mobile solution Download PDF

Info

Publication number
CN107463400A
CN107463400A CN201710637113.6A CN201710637113A CN107463400A CN 107463400 A CN107463400 A CN 107463400A CN 201710637113 A CN201710637113 A CN 201710637113A CN 107463400 A CN107463400 A CN 107463400A
Authority
CN
China
Prior art keywords
framework level
renewal
level
framework
mobile solution
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
Application number
CN201710637113.6A
Other languages
Chinese (zh)
Other versions
CN107463400B (en
Inventor
潘伟洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201710637113.6A priority Critical patent/CN107463400B/en
Priority to PCT/CN2017/104531 priority patent/WO2019024229A1/en
Publication of CN107463400A publication Critical patent/CN107463400A/en
Application granted granted Critical
Publication of CN107463400B publication Critical patent/CN107463400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The invention provides the hot update method and terminal device of a kind of Mobile solution, suitable for Mobile solution technical field, this method includes:The each framework level for occurring version updating prompting in Mobile solution is obtained respectively;If the framework level for version updating prompting occur is multiple, according to default framework level and the corresponding relation of dispatching priority, dispatching priority corresponding to each framework level is obtained respectively;Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal operation successively.Sequence of the invention based on dispatching priority, each framework level is controlled to perform heat renewal operation successively, realize the orderly scheduling between multiple framework levels, avoid between multiple framework levels and heat renewal occur and seize or the phenomenon of hot update inconsistency, so as to ensure that Mobile solution can continue normal operation in hot renewal process, the stability of Mobile solution is which thereby enhanced.

Description

The hot update method and terminal device of Mobile solution
Technical field
The invention belongs to the hot update method and terminal of Mobile solution technical field, more particularly to a kind of Mobile solution to set It is standby.
Background technology
In order to meet the mobilism demand of user, the leak in Mobile solution is repaired in time, strengthens the operation of Mobile solution Ability, at present, Mobile solution have been provided for the hot more New function of a variety of aspects, such as Native layers, React Native layers And the hot more New function of the different frames layer such as H5 layers.
For a Mobile solution, if there is hot renewal simultaneously in many levels, it is possible that different aspects The problem of heat renewal is seized and collided with each other mutually.For example, if the heat renewal duration of React Native layers and H5 layers is not Together, then React Native layers heat renewal be finished after, Mobile solution will auto-returned application homepage, thus can cause The heat renewal of H5 layers is interrupted, so as to normally complete the renewal of H5 layers so that Mobile solution collapses and can not be normal Operation.For another example due to Native layers be Mobile solution the bottom, if thus React Native layers preempt Native layers Heat renewal is performed, then the React Native layers after updating can equally go out because that can not call the component for the Native layers not updated The problem of existing Mobile solution collapse.
To sum up, in the prior art, exist because different aspects heat renewal mutually seize cause Mobile solution to be difficult to normally The problem of operation.
The content of the invention
In view of this, the embodiments of the invention provide the hot update method and terminal device of a kind of Mobile solution, to solve In the prior art because different aspects heat renewal mutually seize cause Mobile solution to be difficult to normal operation the problem of.
The first aspect of the embodiment of the present invention provides a kind of hot update method of Mobile solution, including:
The each framework level for occurring version updating prompting in Mobile solution is obtained respectively;
If the framework level for version updating prompting occur is multiple, according to default framework level and dispatching priority The corresponding relation of level, obtains dispatching priority corresponding to each framework level respectively;
Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal operation successively.
The second aspect of the embodiment of the present invention provides a kind of hot updating device of Mobile solution, including:
First acquisition unit, occurs each framework level of version updating prompting in Mobile solution for obtaining respectively;
Second acquisition unit, if being multiple for there is the framework level of version updating prompting, according to default The corresponding relation of framework level and dispatching priority, dispatching priority corresponding to each framework level is obtained respectively;
Hot updating block, for the sequence based on the dispatching priority, each framework level is controlled successively Perform heat renewal operation.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, computer program described in the computing device When, realize following steps:
The each framework level for occurring version updating prompting in Mobile solution is obtained respectively;
If the framework level for version updating prompting occur is multiple, according to default framework level and dispatching priority The corresponding relation of level, obtains dispatching priority corresponding to each framework level respectively;
Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal operation successively.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
The each framework level for occurring version updating prompting in Mobile solution is obtained respectively;
If the framework level for version updating prompting occur is multiple, according to default framework level and dispatching priority The corresponding relation of level, obtains dispatching priority corresponding to each framework level respectively;
Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal operation successively.
It is every by obtaining when the quantity for the framework level for version updating prompting occur is multiple in the embodiment of the present invention One framework level presets corresponding dispatching priority, can the sequence based on dispatching priority, control each frame successively Rack-layer level performs heat renewal operation, realizes the orderly scheduling between multiple framework levels, avoids between multiple framework levels Appearance heat renewal is seized or the phenomenon of hot update inconsistency, can continue normally so as to ensure that Mobile solution in hot renewal process Operation, which thereby enhance the stability of Mobile solution.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process figure of the hot update method of Mobile solution provided in an embodiment of the present invention;
Fig. 2 is the hot update method S103 of Mobile solution provided in an embodiment of the present invention specific implementation flow chart;
Fig. 3 is the schematic diagram provided in an embodiment of the present invention for including the prompt window using renewal description information;
Fig. 4 is the hot update method S301 of Mobile solution provided in an embodiment of the present invention specific implementation flow chart;
Fig. 5 is the hot update method S301 for the Mobile solution that another embodiment of the present invention provides specific implementation flow chart;
Fig. 6 is the implementation process figure of the hot update method for the Mobile solution that further embodiment of this invention provides;
Fig. 7 is the schematic diagram for the progress bar for being showed in interface of mobile terminal that further embodiment of this invention provides;
Fig. 8 is the structured flowchart of the hot updating device of Mobile solution provided in an embodiment of the present invention;
Fig. 9 is the structured flowchart of the hot updating device for the Mobile solution that further embodiment of this invention provides;
Figure 10 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 shows the implementation process of the hot update method of Mobile solution provided in an embodiment of the present invention, this method flow Including step S101 to S103.The specific implementation principle of each step is as follows:
S101:The each framework level for occurring version updating prompting in Mobile solution is obtained respectively.
In the embodiment of the present invention, framework level include but is not limited to Native layers, React Native layers, H5 layers, The front end frame levels such as Xscript layers, JS layers and WEEX layers.According to the difference of Mobile solution, it is present in Mobile solution Framework level is also different.For example, for a Mobile solution based on H5 exploitations, its framework level may include Native Layer and H5 layers.And applied for a React Native, its framework level may then include Native layers, React Native Layer and H5 layers.Therefore, before each framework level for occurring version updating prompting in obtaining Mobile solution, first detection is mobile should Each framework level in the presence of.When the renewal detecting event based on each framework level is triggered, connection backstage takes Business device, the version updating related to each framework level is returned to request server and prompted.Wherein, renewal detecting event is triggered Mode for example can be:When detecting that Mobile solution starts, triggering renewal detecting event;Or answered when detecting to move When being selected in for detecting the control of renewal, triggering renewal detecting event.
If the current version of a certain framework level is less than the latest edition of the announced framework level in background server, Then in Mobile solution, it will detect that version updating prompting occurs in the framework level.To each framework level in Mobile solution It is identified, to determine whether each framework level version updating prompting occurs, thus can obtain current time version occurs more The each framework level newly prompted.
S102:If the framework level for version updating prompting occur is multiple, according to default framework level with adjusting The corresponding relation of priority is spent, obtains dispatching priority corresponding to each framework level respectively.
Mobile solution has been previously provided with the corresponding relation of each framework level and each dispatching priority.If detect current The quantity for carving the framework level of existing version updating prompting is more than one, then version occurs according to the default corresponding relation, acquisition Renewal prompting each framework level distinguish corresponding to dispatching priority.Wherein, dispatching priority representational framework level is being held Priority level during row heat renewal operation.
S103:Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal successively Operation.
The sequence of dispatching priority according to corresponding to each framework level, perform successively in each framework level Heat renewal.The download of the process including updated data package of heat renewal, decompress and what is updated the data comes into force.When the heat renewal of H5 layers When operation is completed, refresh the page that current Mobile solution is shown;, will when the heat renewal operation of React Native layers is completed The page jump that current Mobile solution is shown extremely applies homepage;When the heat renewal operation of Native layers is completed, restarting Mobile solution.Also, for Mobile solution gets over the framework level of bottom, its corresponding dispatching priority is higher.
Exemplarily, if current time framework level that version updating prompting occur has three, respectively Native layers, React Native layers and H5 layers, then preset the dispatching priority corresponding to the Native layers in the Mobile solution bottom For the superlative degree, the dispatching priority corresponding to the React Native layers in intermediate layer is preset as time advanced, will be in and move Dispatching priority corresponding to the dynamic H5 layers using top layer is preset as lowermost level.According to Native layers, React Native layers with And H5 layers distinguish corresponding to dispatching priority, the sequence that can draw dispatching priority is Native layers>React Native layers>H5 layers.Therefore, Native layers are made to perform heat renewal, and when the heat renewal of Native layers is completed, then control ReactNative layers perform heat renewal.Similarly, when the heat renewal of React Native layers is completed, then H5 layers are controlled to perform heat Renewal.Framework level based on more bottom, the higher principle of dispatching priority of its heat renewal, it is ensured that in the ccf layer of high level When renewal failure occurs in level, the normal operation of each component in the framework level of bottom is not interfered with, ensure that Mobile solution not yet The problem of as being collapsed in hot renewal process.Furthermore it is ensured that each framework level on Mobile solution upper strata can Its required bottom component and underlying programs relied on of normal call, thus also improve the reliability of Mobile solution.
It is every by obtaining when the quantity for the framework level for version updating prompting occur is multiple in the embodiment of the present invention One framework level presets corresponding dispatching priority, can the sequence based on dispatching priority, control each frame successively Rack-layer level performs heat renewal operation, realizes the orderly scheduling between multiple framework levels, avoids between multiple framework levels Appearance heat renewal is seized or the phenomenon of hot update inconsistency, can continue normally so as to ensure that Mobile solution in hot renewal process Operation, which thereby enhance the stability of Mobile solution.
As one embodiment of the present of invention, Fig. 2 shows the hot renewal side of Mobile solution provided in an embodiment of the present invention Method S103 specific implementation flow, details are as follows:
S301:Obtain the version updating description information of each framework level.
In the embodiment of the present invention, version updating description information is pre-set by version developer.Platform service after the acquisition During the version updating prompting that device returns, the version updating description information of each framework level will be also obtained.Each framework level Version updating description information is used for after the completion of describing this heat renewal, to the content modification made by the framework level.
S302:Each version updating description information is collected, be applied renewal description information.
S303:Application renewal description information is showed in the interface of the Mobile solution, and sent and the application Update the related renewal confirmation request of description information.
Different framework levels, it needs to make different content modifications respectively after the completion of heat updates.By each version more New description information collects the same prompt window for being shown in Mobile solution interface.Every content described in prompt window can Reflect made every modification after Mobile solution heat renewal on the whole, thus each version updating description letter after collecting Breath output is application renewal description information.
As shown in figure 3, in prompt window, after each version updating description information, the frame corresponding to it is marked respectively Rack-layer level so that the user of Mobile solution can directly browse on the same prompt window of Mobile solution and distinguish each frame The version updating description information of rack-layer level.
In the embodiment of the present invention, prompt window updates prompt window to force to update prompt window or suggestion.
When prompt window is forces renewal prompt window, in the predeterminated position of prompt window, only show that one determines selection Control, it is used to ask user to send renewal confirmation after browse application updates description information.
When prompt window is suggests renewal prompt window, displaying, which has, in prompt window determines selection control and cancellation Control is selected, it is used to ask user to send renewal confirmation after browse application updates description information, and can also be used to obtain Instruction is cancelled in the renewal that user sends.
S304:If receiving the renewal that user sends at the interface confirms instruction, based on the dispatching priority Sequence, each framework level is controlled to perform heat renewal operation successively.
When detecting that above-mentioned determination selection control is selected, it is determined that receiving the renewal that user sends confirms instruction.Root According to each scheduling priority for needing to perform the framework level of heat renewal operation, the heat renewal of each framework level is sequentially completed.
In the embodiment of the present invention, Mobile solution is shown in by the way that the version updating description information of multiple framework levels is merged Same prompt window, avoid user need to consult respectively the only prompt window comprising version updating description information come it is true Recognize renewal, reduce the operation complexity of user, improve the efficiency of heat renewal.By being sent in renewal prompt window is forced Based on a renewal confirmation request for determining selection control so that user is only capable of sending out when access is finished using renewal description information Go out renewal and confirm instruction, avoid user and send renewal cancellation instruction, it is thus achieved that the pressure renewal of framework level, ensure that Mobile solution can run relatively stable version, improve the stability of Mobile solution.By suggesting updating prompt window Middle displaying determines selection control and cancels selection control so that user is capable of the renewal opportunity of unrestricted choice framework level, real The flexible control that user updates operation to heat is showed.
As one embodiment of the present of invention, as shown in figure 4, above-mentioned S301 is specifically included:
S3011:The hot generation patterns of each framework level are obtained, the hot generation patterns include forcing renewal, built View renewal and silent renewal.
In the embodiment of the present invention, the hot generation patterns for each framework level for needing to perform heat renewal operation are obtained, it is each The hot generation patterns of framework level by default are pre-set by the developer of version developer or Mobile solution. The hot generation patterns of each framework level is force to update, one kind in suggestion renewal and silent renewal.
Forcing renewal representational framework level, user can only send renewal and confirm instruction, otherwise not before heat renewal is completed User is allowed to be continuing with Mobile solution;It is recommended that after the updated data package of renewal representational framework level is downloaded, built in prompt window View user is immediately performed the heat renewal of the framework level, but user also may be selected to cancel renewal, to start Mobile solution in next time When perform again the framework level heat renewal;Silence renewal representational framework level updates the data in silent download in Mobile solution backstage Bag, and the silent execution heat renewal when starting Mobile solution next time, its hot renewal process is sightless for a user.
S3012:In each framework level, the hot generation patterns are determined to force renewal or suggesting renewal Framework level.
S3013:Obtain the version updating description information for each framework level determined.
In multiple framework levels of different hot generation patterns, hot generation patterns are filtered out to force renewal or suggesting renewal Each framework level.After the version updating description information for obtaining each framework level filtered out, follow-up step is performed S302 to S304.
In the embodiment of the present invention, by determining the hot generation patterns of different frames level, and only obtain hot generation patterns and be Force renewal or suggest the version updating description information of the framework level of renewal so that show in S304 Mobile solution interface The application renewal description information shown can not include the version updating description information of the framework level of silent renewal, ensure that silence Even if the framework level of renewal sequentially performs hot renewal with other framework levels, user can not also understand silence renewal ccf layer Every hot fresh information of level, enhance the data safety of Mobile solution framework level.
As an alternative embodiment of the invention, as shown in figure 5, before above-mentioned S3012, in addition to:
S3014:If the hot generation patterns be present to force the first framework level of renewal, the dispatching priority is obtained Level is higher than the second framework level of the first framework level, and obtains the dispatching priority and be less than the first framework level And the hot generation patterns are the 3rd framework level of suggestion renewal.
For the ease of distinguishing each framework level of different hot generation patterns, the framework by hot generation patterns for pressure renewal Level is referred to as the first framework level;The dispatching priority framework level higher than the framework level is referred to as the second framework level;Will Dispatching priority is less than the first framework level, and hot generation patterns are referred to as the 3rd framework level for the framework level of suggestion renewal.
In addition, framework level of the hot generation patterns for suggestion renewal is referred to as the 4th framework level.
After the first framework level, the second framework level and the 3rd framework level at each moment is determined, perform S3015.After the 4th framework level at each moment is determined, S3016 is performed.
S3015:The hot generation patterns of the second framework level and the 3rd framework level are adjusted to strong System renewal.
S3016:If the hot generation patterns be present to suggest the 4th framework level of renewal, the dispatching priority is obtained Level is higher than the 5th framework level of the 4th framework level, and the hot generation patterns of the 5th framework level are adjusted To force renewal or suggesting renewal.
In the embodiment of the present invention, hot generation patterns of the dispatching priority higher than the framework level of the 4th framework level are adjusted To force renewal or suggesting renewal.
If the hot generation patterns of each framework level are silent renewal under default conditions, not to each framework level heat more New model is adjusted.
For example, the framework level for occurring version updating prompting in Mobile solution is Native layers, React Native layers And H5 layers, and in the case that the sequence of dispatching priority is followed successively by Native layers, React Native layers and H5 layers, If the hot generation patterns of the React Native layers acquired to force to update, the hot generation patterns of Native layers for it is silent more Newly, then dispatching priority is adjusted to force to update higher than the hot generation patterns of the Native layers of React Native layers;If H5 The hot generation patterns of layer then adjust hot generation patterns of the dispatching priority less than the H5 layers of React Native layers to suggest updating It is whole to be updated for pressure.In another example if the hot generation patterns of the React Native layers acquired update for suggestion, Native layers Hot generation patterns updated to be silent, then by hot generation patterns of the dispatching priority higher than the Native layers of React Native layers It is adjusted to force renewal or suggests renewal.In this case, it is assumed that the hot generation patterns of Native layers are adjusted to force renewal, then It can again return to and perform S3014, dispatching priority is updated less than the React Native layers of Native layers and the heat of H5 layers Mode adjustment updates for pressure.Therefore, in this example, plan is adjusted corresponding to above-mentioned S3014 to S3016 hot generation patterns Slightly, table 1 is shown under this hot generation patterns adjustable strategies, the hot generation patterns for each framework level that may finally occur Assembled scheme:
Table 1
Assembled scheme Native layers React Native layers H5 layers
1 Force renewal Force renewal Force renewal
2 Force renewal Force renewal Silence renewal
3 Force renewal Silence renewal Silence renewal
4 It is recommended that renewal It is recommended that renewal It is recommended that renewal
5 It is recommended that renewal It is recommended that renewal Silence renewal
6 It is recommended that renewal Silence renewal Silence renewal
7 Silence renewal Silence renewal Silence renewal
In the embodiment of the present invention, due to the higher framework level of dispatching priority, it is the frame that bottom is got in Mobile solution Frame, thus when the first higher framework level of dispatching priority needs to force renewal, by the way that dispatching priority is less than into first The hot generation patterns of second framework level of framework level are adjusted to force renewal so that the ccf layer of higher level in Mobile solution In the case where forcing to update, the framework level of bottom must also force to update level, ensure that the framework level of higher level strong The framework level that bottom is still able to rely on after system renewal carrys out normal operation.By the way that dispatching priority is less than into the first ccf layer The hot generation patterns of the 3rd framework level of level and hot generation patterns to suggest updating are adjusted to force renewal, avoid in S302 It is middle to need to confirm to refer to obtain the renewal that user sends using pressure renewal prompt window and suggestion renewal prompt window simultaneously Order, ensure that version updating description information can collect display in the same window.
In the embodiment of the present invention, by obtaining hot generation patterns to suggest the 4th framework level of renewal, and it will dispatch excellent First level is adjusted to force renewal higher than the hot generation patterns of the 5th framework level of the 4th framework level, can occur forcing more In the case of the 5th new framework level, return to and perform S3014, thus achieve the orientation adjustment of hot generation patterns, with Reach above-mentioned beneficial effect.By the way that hot generation patterns of the dispatching priority higher than the 5th framework level of the 4th framework level are adjusted It is whole to be updated for suggestion so that the framework level of higher level and the framework level compared with bottom can suggest more simultaneously in Mobile solution Newly, the framework level that ensure that higher level be able to rely on bottom framework level come it is normal update operation in the case of, also Realizing the version updating description information of two framework levels can suggest collecting display in renewal prompt window same.
As another embodiment of the present invention, on the basis of above-mentioned each embodiment, to the real-time of each framework level Renewal progress display mode further limits.As shown in fig. 6, after above-mentioned S103, in addition to:
S104:The first real-time update progress according to corresponding to being distinguished each framework level, calculating the movement should Second real-time update progress.
S105:In the interface of the mobile terminal, the progress bar based on the second real-time update progress is generated.
Each framework level perform heat renewal operation during, detect each framework level corresponding to real-time update enter Degree.The calculation of real-time update progress is such as the decompression installation progress of updated data package that can be each framework level.
The renewal of each framework level is need to rely on due to the whole updating of Mobile solution to be completed, therefore based on each Ccf layer level respectively corresponding to real-time update progress, by preset algorithm calculate Mobile solution on whole meaning in real time more New progress.Also, the preset algorithm may be such that the real-time update progress of last framework level in hot renewal process reaches When 100%, the real-time update progress of Mobile solution is also 100%.
As shown in fig. 7, including the subregion 1 for characterizing hot renewal progress in progress bar, occupied according to the subregion The real-time scale of the progress bar gross area 2 is different, can generate the progress bar of dynamic change.
When the real-time update progress of Mobile solution reaches 100%, refresh the page or again of current time Mobile solution It is new to start Mobile solution, so that updating the data for each framework level can come into force.
In the embodiment of the present invention, by calculating Mobile solution based on the first real-time update progress of each framework level The second real-time update progress, can merge in Mobile solution interface generation be easy to user intuitively to observe a progress bar, Without checking the real-time update progress of different frames level respectively again;Due to user is generally concerned only with Mobile solution when can be more Newly finish and recover normal operation, thus a unique progress bar is shown by merging in Mobile solution interface, improve The prompting validity of hot renewal progress.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Corresponding to the hot update method of the Mobile solution described in foregoing embodiments, Fig. 8 shows that the embodiment of the present invention provides Mobile solution hot updating device structured flowchart, for convenience of description, illustrate only the portion related to the embodiment of the present invention Point.
Reference picture 8, the device include:
First acquisition unit 81, occurs each framework level of version updating prompting in Mobile solution for obtaining respectively.
Second acquisition unit 82, if being multiple for there is the framework level of version updating prompting, according to default Framework level and dispatching priority corresponding relation, obtain dispatching priority corresponding to each framework level respectively.
Hot updating block 83, for the sequence based on the dispatching priority, each ccf layer is controlled successively Level performs heat renewal operation.
Alternatively, the hot updating block 83 includes:
Subelement is obtained, for obtaining the version updating description information of each framework level.
Collect subelement, for each version updating description information to be collected, be applied renewal description letter Breath.
Subelement is shown, for application renewal description information to be showed in into the interface of the Mobile solution, and is sent The renewal confirmation request related to application renewal description information.
Subelement is controlled, if instruction is confirmed for receiving the renewal that user sends at the interface, based on the tune The sequence of priority is spent, controls each framework level to perform heat renewal operation successively.
Alternatively, the acquisition subelement is specifically used for:
The hot generation patterns of each framework level are obtained, the hot generation patterns include forcing renewal, suggest renewal And silent renewal;
In each framework level, the hot generation patterns are determined to force renewal or suggesting the ccf layer of renewal Level;
Obtain the version updating description information for each framework level determined.
Alternatively, the framework level includes the first framework level, the second framework level, the 3rd framework level, the 4th frame Rack-layer level and the 5th framework level, the acquisition subelement are additionally operable to:
If the hot generation patterns be present to force the first framework level of renewal, obtain the dispatching priority and be higher than Second framework level of the first framework level, and the dispatching priority is obtained less than the first framework level and described The 3rd framework level that hot generation patterns update for suggestion;
The hot generation patterns of the second framework level and the 3rd framework level are adjusted to force renewal;
If the hot generation patterns be present to suggest the 4th framework level of renewal, obtain the dispatching priority and be higher than 5th framework level of the 4th framework level, and the hot generation patterns of the 5th framework level are adjusted to force Renewal is suggested in renewal.
Alternatively, as shown in figure 9, the hot updating device of the Mobile solution also includes:
Computing unit 84, for the first real-time update progress corresponding to being distinguished according to each framework level, calculate Second real-time update progress of the Mobile solution.
Generation unit 85, in the interface of the mobile terminal, generating based on the second real-time update progress Progress bar.
It is every by obtaining when the quantity for the framework level for version updating prompting occur is multiple in the embodiment of the present invention One framework level presets corresponding dispatching priority, can the sequence based on dispatching priority, control each frame successively Rack-layer level performs heat renewal operation, realizes the orderly scheduling between multiple framework levels, avoids between multiple framework levels Appearance heat renewal is seized or the phenomenon of hot update inconsistency, can continue normally so as to ensure that Mobile solution in hot renewal process Operation, which thereby enhance the stability of Mobile solution.
Figure 10 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in Figure 10, the terminal of the embodiment Equipment 10 includes:Processor 1000, memory 1001 and it is stored in the memory 1001 and can be in the processor The computer program 1002 run on 1000, such as the hot more new procedures of Mobile solution.The processor 1000 performs the meter The step in the hot update method embodiment of above-mentioned each Mobile solution, such as the step shown in Fig. 1 are realized during calculation machine program 1002 Rapid 101 to 103.Or the processor 1000 is realized in above-mentioned each device embodiment when performing the computer program 1002 The function of each module/unit, such as the function of unit 81 to 83 shown in Fig. 8.
Exemplary, the computer program 1002 can be divided into one or more module/units, it is one or Multiple module/the units of person are stored in the memory 1001, and are performed by the processor 1000, to complete the present invention. One or more of module/units can be the series of computation machine programmed instruction section that can complete specific function, the instruction Section is used to describe implementation procedure of the computer program 1002 in the terminal device 10.
The terminal device 10 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The terminal device may include, but be not limited only to, processor 1000, memory 1001.Those skilled in the art can manage Solution, Figure 10 is only the example of terminal device 10, does not form the restriction to terminal device 10, can include than illustrate it is more or Less part, some parts or different parts are either combined, such as the terminal device can also include input and output Equipment, network access equipment, bus etc..
Alleged processor 1000 can be CPU (Central Processing Unit, CPU), can be with It is other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 1001 can be the internal storage unit of the terminal device 10, such as the hard disk of terminal device 10 Or internal memory.The memory 1001 can also be the External memory equipment of the terminal device 10, such as the terminal device 10 The plug-in type hard disk of upper outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card) etc..Further, the memory 1001 can also both include the terminal device 10 Internal storage unit also include External memory equipment.The memory 1001 is used to store the computer program and described Other programs and data needed for terminal device.The memory 1001, which can be also used for temporarily storing, to have exported or has incited somebody to action The data to be exported.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. hot update method of Mobile solution, it is characterised in that including:
    The each framework level for occurring version updating prompting in Mobile solution is obtained respectively;
    If there is the framework level of version updating prompting to be multiple, according to default framework level and dispatching priority Corresponding relation, dispatching priority corresponding to each framework level is obtained respectively;
    Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal operation successively.
  2. 2. the hot update method of Mobile solution as claimed in claim 1, it is characterised in that described to be based on the dispatching priority Sequence, control each framework level to perform heat renewal operation successively, including:
    Obtain the version updating description information of each framework level;
    Each version updating description information is collected, be applied renewal description information;
    Application renewal description information is showed in the interface of the Mobile solution, and sends and updates description letter with the application The renewal confirmation request that manner of breathing closes;
    If receiving the renewal that user sends at the interface confirms instruction, based on the sequence of the dispatching priority, Each framework level is controlled to perform heat renewal operation successively.
  3. 3. the hot update method of Mobile solution as claimed in claim 2, it is characterised in that described to obtain each ccf layer The version updating description information of level, including:
    Obtain the hot generation patterns of each framework level, the hot generation patterns include forcing renewal, suggest renewal and Silence renewal;
    In each framework level, the hot generation patterns are determined to force renewal or suggesting the framework level of renewal;
    Obtain the version updating description information for each framework level determined.
  4. 4. the hot update method of Mobile solution as claimed in claim 3, it is characterised in that the framework level includes the first frame Rack-layer level, the second framework level, the 3rd framework level, the 4th framework level and the 5th framework level, described in each institute State in framework level, before determining the framework level that the hot generation patterns update for pressure renewal or suggestion, in addition to:
    If the hot generation patterns be present to force the first framework level of renewal, the dispatching priority is obtained higher than described Second framework level of the first framework level, and obtain the dispatching priority less than the first framework level and it is described heat more The 3rd framework level that new model updates for suggestion;
    The hot generation patterns of the second framework level and the 3rd framework level are adjusted to force renewal;
    If the hot generation patterns be present to suggest the 4th framework level of renewal, the dispatching priority is obtained higher than described 5th framework level of the 4th framework level, and the hot generation patterns of the 5th framework level are adjusted to force to update Or suggest renewal.
  5. 5. the hot update method of the Mobile solution as described in any one of Claims 1-4, it is characterised in that also include:
    The first real-time update progress according to corresponding to being distinguished each framework level, calculate the Mobile solution second are real Shi Gengxin progresses;
    In the interface of the mobile terminal, the progress bar based on the second real-time update progress is generated.
  6. 6. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that described in the computing device during computer program, realize following steps:
    The each framework level for occurring version updating prompting in Mobile solution is obtained respectively;
    If there is the framework level of version updating prompting to be multiple, according to default framework level and dispatching priority Corresponding relation, dispatching priority corresponding to each framework level is obtained respectively;
    Based on the sequence of the dispatching priority, each framework level is controlled to perform heat renewal operation successively.
  7. 7. terminal device as claimed in claim 6, it is characterised in that the sequence based on the dispatching priority, The step of controlling each framework level to perform heat renewal operation successively, specifically includes:
    Obtain the version updating description information of each framework level;
    Each version updating description information is collected, be applied renewal description information;
    Application renewal description information is showed in the interface of the Mobile solution, and sends and updates description letter with the application The renewal confirmation request that manner of breathing closes;
    If receiving the renewal that user sends at the interface confirms instruction, based on the sequence of the dispatching priority, Each framework level is controlled to perform heat renewal operation successively.
  8. 8. terminal device as claimed in claim 7, it is characterised in that the version updating for obtaining each framework level The step of description information, specifically include:
    Obtain the hot generation patterns of each framework level, the hot generation patterns include forcing renewal, suggest renewal and Silence renewal;
    In each framework level, the hot generation patterns are determined to force renewal or suggesting the framework level of renewal;
    Obtain the version updating description information for each framework level determined.
  9. 9. terminal device as claimed in claim 8, it is characterised in that the framework level includes the first framework level, second Framework level, the 3rd framework level, the 4th framework level and the 5th framework level, computer journey described in the computing device During sequence, following steps are also realized:
    If the hot generation patterns be present to force the first framework level of renewal, the dispatching priority is obtained higher than described Second framework level of the first framework level, and obtain the dispatching priority less than the first framework level and it is described heat more The 3rd framework level that new model updates for suggestion;
    The hot generation patterns of the second framework level and the 3rd framework level are adjusted to force renewal;
    If the hot generation patterns be present to suggest the 4th framework level of renewal, the dispatching priority is obtained higher than described 5th framework level of the 4th framework level, and the hot generation patterns of the 5th framework level are adjusted to force to update Or suggest renewal.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
CN201710637113.6A 2017-07-31 2017-07-31 Hot updating method of mobile application and terminal equipment Active CN107463400B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710637113.6A CN107463400B (en) 2017-07-31 2017-07-31 Hot updating method of mobile application and terminal equipment
PCT/CN2017/104531 WO2019024229A1 (en) 2017-07-31 2017-09-29 Hot update method and apparatus for mobile application, electronic device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710637113.6A CN107463400B (en) 2017-07-31 2017-07-31 Hot updating method of mobile application and terminal equipment

Publications (2)

Publication Number Publication Date
CN107463400A true CN107463400A (en) 2017-12-12
CN107463400B CN107463400B (en) 2019-12-13

Family

ID=60547937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710637113.6A Active CN107463400B (en) 2017-07-31 2017-07-31 Hot updating method of mobile application and terminal equipment

Country Status (2)

Country Link
CN (1) CN107463400B (en)
WO (1) WO2019024229A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032634A (en) * 2018-07-16 2018-12-18 北京百度网讯科技有限公司 For updating method, apparatus, equipment and the computer readable storage medium of application
CN109656611A (en) * 2018-12-24 2019-04-19 成都四方伟业软件股份有限公司 Three-dimensional visualization applies hot update method, device and terminal
CN109828772A (en) * 2019-02-19 2019-05-31 百度在线网络技术(北京)有限公司 Hot update method, operating system, terminal device and storage medium
CN109857403A (en) * 2018-12-05 2019-06-07 腾讯科技(深圳)有限公司 A kind of renewal of the page, page processing method and device
CN110995793A (en) * 2019-11-19 2020-04-10 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN111596941A (en) * 2020-05-20 2020-08-28 中国工商银行股份有限公司 Application updating method and device, electronic equipment and medium
CN111694582A (en) * 2020-04-28 2020-09-22 中国平安人寿保险股份有限公司 Application program resource package processing method, device, equipment and readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535211B (en) * 2021-09-15 2021-12-28 中航信移动科技有限公司 Application program updating method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135895A (en) * 2010-12-29 2011-07-27 华为软件技术有限公司 System upgrading method and system
CN102722381A (en) * 2011-03-25 2012-10-10 微软公司 Techniques to optimize upgrade tasks
CN103914310A (en) * 2012-12-29 2014-07-09 北京谊安医疗系统股份有限公司 Anaesthesia machine upgrading method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533356B (en) * 2009-04-21 2013-02-27 华为技术有限公司 A method, a device and a system for realizing software online upgrade
CN103365692A (en) * 2013-07-15 2013-10-23 北京奇虎科技有限公司 Method and device for pushing prompt messages of software upgrading
CN104598262A (en) * 2014-11-25 2015-05-06 深圳市腾讯计算机系统有限公司 Method and device for updating mobile application
CN106528192A (en) * 2015-09-15 2017-03-22 阿里巴巴集团控股有限公司 Service logic updating method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135895A (en) * 2010-12-29 2011-07-27 华为软件技术有限公司 System upgrading method and system
CN102722381A (en) * 2011-03-25 2012-10-10 微软公司 Techniques to optimize upgrade tasks
CN103914310A (en) * 2012-12-29 2014-07-09 北京谊安医疗系统股份有限公司 Anaesthesia machine upgrading method and device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032634B (en) * 2018-07-16 2021-11-26 北京百度网讯科技有限公司 Method, apparatus, device and computer-readable storage medium for updating applications
US11507856B2 (en) 2018-07-16 2022-11-22 Beijing Baidu Netcom Science And Technology Co., Ltd. Method and apparatus for updating application
CN109032634A (en) * 2018-07-16 2018-12-18 北京百度网讯科技有限公司 For updating method, apparatus, equipment and the computer readable storage medium of application
CN109857403B (en) * 2018-12-05 2022-04-19 腾讯科技(深圳)有限公司 Page updating method and device, page processing method and device
CN109857403A (en) * 2018-12-05 2019-06-07 腾讯科技(深圳)有限公司 A kind of renewal of the page, page processing method and device
CN109656611A (en) * 2018-12-24 2019-04-19 成都四方伟业软件股份有限公司 Three-dimensional visualization applies hot update method, device and terminal
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
CN110995793A (en) * 2019-11-19 2020-04-10 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN110995793B (en) * 2019-11-19 2022-07-05 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN111694582A (en) * 2020-04-28 2020-09-22 中国平安人寿保险股份有限公司 Application program resource package processing method, device, equipment and readable storage medium
CN111596941A (en) * 2020-05-20 2020-08-28 中国工商银行股份有限公司 Application updating method and device, electronic equipment and medium
CN111596941B (en) * 2020-05-20 2023-09-29 中国工商银行股份有限公司 Application updating method, device, electronic equipment and medium

Also Published As

Publication number Publication date
WO2019024229A1 (en) 2019-02-07
CN107463400B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN107463400A (en) The hot update method and terminal device of Mobile solution
CN108986821B (en) Method and equipment for setting relation between room and equipment
CN104090725B (en) Method and system for unlocking touch screen of mobile terminal
CN106598924A (en) Form generation method and device
CN109240924A (en) A kind of test method and equipment of application program
CN110457666A (en) A kind of report form generation method, system and electronic equipment and storage medium
CN109243619A (en) Generation method, device and the computer readable storage medium of prediction model
CN111198705A (en) Memory backup method and device for preventing ECU from being swiped up, storage medium and electronic equipment
CN107845420A (en) Online diagnosis and treatment method and device
CN111210883A (en) Method, system, device and storage medium for generating follow-up data of brain tumor patient
CN110515871A (en) A kind of interrupt method, device and FPGA and storage medium
CN107657993A (en) Electronic prescription generation method and system
CN104424620A (en) Image processing device and image processing program
CN109243592A (en) Medical item based on artificial intelligence uses method for detecting abnormality and relevant apparatus
CN103593575A (en) Medical advice reminding method and medical advice reminding system
CN108710304B (en) Client operation management method and client
CN109634428A (en) Electronic equipment, feedback prompts method, apparatus and terminal device
CN113852719A (en) Method for determining relation of vibration effects of multiple motors and related equipment
CN105589671A (en) Context Based Content Display In A Wearable Device
CN107341074A (en) One kind upgrades abnormal restorative procedure, upgrading exception prosthetic device and intelligent terminal
CN112132291A (en) Intelligent brain optimization method and device applied to government affair system, storage medium and terminal
CN109377184A (en) Job cardss method, apparatus, storage medium and terminal
CN103955854B (en) A kind of account management device and method
CN108280625A (en) One kind seeing that the room time determines method and device
CN105989516B (en) A kind of method for information display and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180612

Address after: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant after: Shenzhen one ledger Intelligent Technology Co., Ltd.

Address before: 200000 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Applicant before: Shanghai Financial Technologies Ltd

TA01 Transfer of patent application right
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1244912

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant