CN106933545A - Application system and its starting protection method and device - Google Patents

Application system and its starting protection method and device Download PDF

Info

Publication number
CN106933545A
CN106933545A CN201511004993.0A CN201511004993A CN106933545A CN 106933545 A CN106933545 A CN 106933545A CN 201511004993 A CN201511004993 A CN 201511004993A CN 106933545 A CN106933545 A CN 106933545A
Authority
CN
China
Prior art keywords
data
application system
dependence
startup
application
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
CN201511004993.0A
Other languages
Chinese (zh)
Other versions
CN106933545B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201511004993.0A priority Critical patent/CN106933545B/en
Publication of CN106933545A publication Critical patent/CN106933545A/en
Application granted granted Critical
Publication of CN106933545B publication Critical patent/CN106933545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4416Network booting; Remote initial program loading [RIPL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

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

Abstract

The embodiment of the present application provides a kind of application system and its starting protection method and device, and the method includes:After initiating to obtain the request for starting and relying on data to second system in the first application system, judge whether to receive the dependence data that the second system is returned for the request in the range of setting time;If receiving the dependence data in the range of the setting time, judge whether the dependence data meet preset data form;If the dependence data do not meet the preset data form, or if not receiving the dependence data in the range of the setting time, that then calls first application system for the prestoring last time successfully starts up loaded corresponding data, is loaded during for this startup of first application system.The embodiment of the present application can improve the startup success rate of application system.

Description

Application system and its starting protection method and device
Technical field
The application is related to system start-up technique field, more particularly, to a kind of application system and its starting protection method and dress Put.
Background technology
The application system of Most current is generally made up of multiple subservice clusters.Such as one application system can include: Related subsystem of the related subsystem of user-related subsystem, transaction, account etc., simultaneously for some versatilities Resource file can carry out unifying storage, such as all of file is centrally stored in file subsystem etc..Such as Fig. 1 Shown, when an application system starts, it is likely to depend on multiple external datas, such as depend on:Other Some configuration informations of storage in the data that application system is provided, database (Database, DB), and file system Some of system file data etc..Therefore, the application system is only possible to after only getting the external data that these are relied on Normally start and corresponding business service is provided.
In actual applications, application system may due to some reasons (such as network jitter, environmental problem and Other system competition resources etc.) cause to start failure, machine, data especially because the suspension of network long-time, DB are delayed Started the online business service that can unsuccessfully directly influence application system caused by reason by surprisingly change etc..
Although many systems improve the reliability of system frequently with the mode of Redundancy Design, such as DB often provides main collection The mode of group+standby cluster;For file system, many numbers are preserved often according to different nodes in storage, when wherein Can be switched on other nodes during a certain node failure;And for application system, the mode frequently with cluster provides clothes Business, it is when wherein a certain subsystem occurs abnormal that its is offline, and change by other normal subsystem offer services.
However, inventors herein have recognized that, it is likely to be difficult to avoid that even with these DB, file system and answers Failed with the startup of system.Because, the network jitter between system is (accidental between such as application system and DB Property network jitter), may not or be not enough to trigger standby usage between switching, additionally, work as DB, file system The application service of system or bottom is normal, but it is wrong that its application system for providing starts relied on data Or missing (in some wrong data of such as DBA's accidental operation to DB, or bug Cause surprisingly to delete some files etc.), now can still cause the application system on upper strata to start failure.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of application system and its starting protection method and device, is answered with improving With the startup success rate of system.
To reach above-mentioned purpose, on the one hand, the embodiment of the present application provides a kind of application system starting protection method, bag Include following steps:
After initiating to obtain the request for starting and relying on data to second system in the first application system, judge whether in setting The dependence data that the second system is returned for the request are received in time range;
If receiving the dependence data in the range of the setting time, judge whether the dependence data meet Preset data form;
If the dependence data do not meet the preset data form, or if in the range of the setting time not Receive the dependence data, then call first application system that prestores it is last successfully start up loaded right Data are answered, is loaded during for this startup of first application system.
On the other hand, the embodiment of the present application additionally provides a kind of application system starting protection device, including:
Data reception module, the request for relying on data is started for initiating to obtain to second system in the first application system Afterwards, judge whether to receive the dependence data that the second system is returned for the request in the range of setting time;
Form judge module, for receiving the dependence in the range of the setting time when the data reception module During data, judge whether the dependence data meet preset data form;
First starts Coordination module, for not meeting the preset data form, or the number when the dependence data When the dependence data are not received in the range of the setting time according to receiver module, prestore described first is called to answer Loaded corresponding data is successfully started up with the system last time, is added during for this startup of first application system Carry.
Another further aspect, the embodiment of the present application additionally provides a kind of application system, and it includes that above-mentioned application system starts and protects Protection unit.
In embodiments herein, initiate to obtain the request for starting and relying on data to second system in the first application system Afterwards, judge whether to receive the dependence data that second system is returned for request in the range of setting time;If set Dependence data are not received in the range of fixing time, although or dependence data are received in the range of setting time should be according to Rely the form of data problematic, then that calls the first application system for the prestoring last time successfully starts up the corresponding number for being loaded According to loading during for this startup of the first application system.By application system it is last successfully start up loaded right It is correct to answer data, therefore, even if occurred in that between current application system and other related systems suspension, machine of delaying, The problems such as network jitter or dependence data formatting error, embodiments herein can still ensure that application system is starting When can be loaded into correct startup and rely on data, so as to improve the startup success rate of application system.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding the embodiment of the present application, constitutes the embodiment of the present application A part, does not constitute the restriction to the embodiment of the present application.In the accompanying drawings:
Fig. 1 is the composition structured flowchart of a group system in the prior art;
Fig. 2 is the flow chart of the application system starting protection method of the embodiment of the application one;
Fig. 3 is the structured flowchart of the application system starting protection device of the embodiment of the application one;
Fig. 4 is the structured flowchart of the application system starting protection device of another embodiment of the application;
Fig. 5 is the application system structured flowchart of the embodiment of the application one.
Specific embodiment
For the purpose, technical scheme and advantage for making the embodiment of the present application become more apparent, with reference to embodiment and attached Figure, is described in further details to the embodiment of the present application.Here, the illustrative examples of the embodiment of the present application and its saying It is bright for explaining the embodiment of the present application, but be not intended as the restriction to the embodiment of the present application.
Below in conjunction with the accompanying drawings, the specific embodiment to the embodiment of the present application is described in further detail.
With reference to shown in Fig. 2, the application system starting protection method of the embodiment of the present application is comprised the following steps:
Step S101, the first application system to second system initiate obtain start rely on data request after, connect Receive the dependence data that the second system is returned for the request.
In the embodiment of the present application, the second system include the second application system (i.e. relative to the first application system its His application system), file system and/or database.Additionally, first application system and second of the embodiment of the present application System may each be the system of unit, or the system (such as distributed system etc.) of cluster.
In the embodiment of the present application, startup described here relies on data, and to refer to that application system is required on startup deposit It is stored in the dependence data in other systems.As an example it is assumed that the first application system is A, it is on startup except needing The startup itself to store is relied on outside data a (such as some configuration informations etc.), in addition it is also necessary to respectively should to second B data are got with system B, after file system C gets c data, and database D gets d data It is only possible to normal startup.If A initiates to call the request for starting and relying on data to the second application system B, then It refers to just b data that startup now relies on data, similar, if A initiates to access to file system C started The request of relied on data, then it refers to just c data that startup now relies on data, if A is to database D Initiate inquiry and start the request for relying on data, then it refers to just d data that startup now relies on data.
In the embodiment of the present application, the first application system initiates to obtain the request opportunity for starting and relying on data to second system When typically can be that the first application system starts;Additionally, when the startup institute of first application system in second system When dependence data have renewal, first application system can also be initiated to obtain to start and rely on data to second system Request.
Step S102, judge whether to be received in the range of setting time the second system and returned for the request Dependence data.If receiving the dependence number that the second system is returned for the request in the range of setting time According to then performing step S103;If not receiving the second system in the range of setting time for the request The dependence data of return, then perform step S104.
In the embodiment of the present application, setting time scope can be typically first application system after the request is sent Stand-by period.And stand-by period of first application system after the request is sent can be with the side such as informing mechanism Formula is obtained, and described informing mechanism can for example be realized by call back function etc..
Step S103, judge it is described dependence data whether meet preset data form.General, the first application system The acquisition initiated to the second system can specify the data for starting and relying on data in starting the request for relying on data Form.If the dependence data do not meet the preset data form, step S104 is performed.
Step S104, call first application system that prestores it is last successfully start up loaded corresponding data, Loaded during for this startup of first application system.
In the embodiment of the present application, described last successfully starting up refers to that the last success of the first application system is opened It is dynamic.The last startup loaded when illustrating to start at that time that successfully starts up of first application system relies on data Be it is correct, and present application example by this correct data be back to first application system for its start-up loading without It is doubtful greatly to improve the successful probability of the first application system startup.
In other embodiments of the application, if preset data form, application system described in the dependence data fit System starting protection method can also comprise the following steps:
Dependence data described in step S105, comparing successfully start up institute with first application system last time for prestoring Whether the corresponding data of loading is consistent.If it is described rely on data it is last with first application system that prestores into Work(starts loaded corresponding data unanimously, then perform step S106;If dependence data and described in prestoring First application system it is last to successfully start up loaded corresponding data inconsistent, then perform step S107.
In the embodiment of the present application, described corresponding data refers to:First application system may be needed when starting every time Many number evidences are loaded, and a copy of it data of these many number evidences may be from the second system, then this The data that part comes from the second system are exactly the dependence data that this described second system is returned for the request Corresponding data.Such as, what first application system was last successfully start up, and that loaded data x comes from is described Second system, and the dependence data in the response that this described second system is returned for the request are x ', then number The corresponding data of data x ' is according to x, also just says that the comparison other in this step is x and x '.
Step S106, the preservation dependence data, and complete to include the dependence data in first application system Start-up loading after, the data loaded when by this loaded data markers of startup being the last successfully starting up.Its In, described preservation is generally local preservation (being such as saved in local disk).
Step S107, the preservation dependence data, and complete to include the dependence data in first application system Start-up loading after, check whether this startup of first application system succeeds;Wherein, described preservation is general (being such as saved in local disk) is preserved for local.If this of first application system starts successfully, hold Row step S108;If this of first application system starts failure, execution step S104 is redirected, that is, adjusted Loaded corresponding data is successfully started up with first application system last time for prestoring, for the described first application System is again started up loading.
Whether this of first application system described in the embodiment of the present application to start successful can be disposable if being checked Detection.In another embodiment of the application, whether this of inspection first application system starts successfully also Can be setting the time limit (for example first application system complete comprising it is described dependence data start-up loading after One hour) in repeatedly check first application system this start whether succeed, otherwise regarding described first should It is failure with this startup of system.In some embodiments of the present application, described multiple inspection can be examined for timing Test (such as once checked within every three minutes).In other embodiments of the application, described multiple inspection can Think randomized test.
Additionally, in the embodiment of the present application, the content of inspection can include whether system port is normal, system external response Whether whether normal, and/or system can provide normal service.And in another embodiment of the application, can also pass through The mode of event flag judges whether first application system normally starts, when first application system is normally opened It can carry out event flag (such as writing a file) after dynamic, if the setting after first application system startup The event flag is received in time and then shows that first application system has been successfully started up, otherwise show first application System starts failure.
Step S108, the data loaded when being the last successfully starting up by this loaded data markers of startup.
In the embodiment of the present application, the meaning for preserving the data loaded during the last successfully starting up is for described first should Facility is provided with the follow-up startup of system.In an embodiment of the application, synchronization can retain multiple history versions This data loaded when successfully starting up, when the data for having redaction are stored, expired version (i.e. earliest version) Data can be deleted, it is such to be advantageous in that, when first application system is loaded with the last success When still not successfully started up after the data of startup, it is also contemplated that by loading the added when successfully starting up of more older version The data of load restart.Certainly, in another embodiment of the application, in order to prevent history from loading overabundance of data Storage resource is taken, normally only needs to retain the data loaded when successfully starting up of several (such as three) versions.
In some embodiments of the present application, as a kind of Optimized Measures, if the dependence data should with described first With system it is last to successfully start up loaded corresponding data inconsistent, can also be problem by the dependence data markers Data are simultaneously preserved.It is intended that initiate to obtain to the second system in first application system next time starting institute When relying on the request of data, if receiving identical data, can be with Direct Recognition as problem data, not pre-add Carry, in order to avoid waste system resource.And in other embodiments of the application, if the dependence data and described the One application system it is last to successfully start up loaded corresponding data different, it is also possible to directly delete the dependence data, To save memory space.
Although procedures described above flow includes the multiple operations occurred with particular order, it should however be appreciated that understand, These processes can include more or less operation, and these operations can sequentially be performed or executed in parallel (is for example used Parallel processor or multi-thread environment).
In embodiments herein, initiate to obtain the request for starting and relying on data to second system in the first application system Afterwards, judge whether to receive the dependence data that second system is returned for request in the range of setting time;If set Dependence data are not received in the range of fixing time, although or dependence data are received in the range of setting time should be according to Rely the form of data problematic, then that calls the first application system for the prestoring last time successfully starts up the corresponding number for being loaded According to loading during for this startup of the first application system.By application system it is last successfully start up loaded right It is correct to answer data, therefore, even if occurred in that between current application system and other related systems suspension, machine of delaying, The problems such as network jitter or dependence data formatting error, embodiments herein can still ensure that application system is starting When can be loaded into correct startup and rely on data, so as to improve the startup success rate of application system.
If additionally, the dependence data fit preset data form received in the range of setting time, compares dependence number Whether consistent according to last with the first application system for prestoring if successfully starting up loaded corresponding data.If consistent, Then preserve and rely on data and be loaded directly into the dependence data;If it is inconsistent, preserve relying on data and in the first application System completes, comprising after the start-up loading for relying on data, to check whether this startup of the first application system succeeds.If Success, the then data loaded when being the last successfully starting up by the loaded data markers of this startup.If it fails, That then calls the first application system for the prestoring last time successfully starts up loaded corresponding data, for the first application system It is again started up loading.Therefore, even if the content of dependence data that returns of other related systems is vicious or have missing, Embodiments herein still can ensure that application system can be loaded into correct startup and rely on data on startup, from And further increase the startup success rate of application system.
With reference to shown in Fig. 3, the application system starting protection device of the embodiment of the application one includes:
Data reception module 31, data are relied on for initiating to obtain to start to second system in the first application system After request, judge whether to receive the dependence number that the second system is returned for the request in the range of setting time According to.
In the embodiment of the present application, the second system include the second application system (i.e. relative to the first application system its His application system), file system and/or database.Additionally, first application system and second of the embodiment of the present application System may each be the system of unit, or the system (such as distributed system etc.) of cluster.
In the embodiment of the present application, startup described here relies on data, and to refer to that application system is required on startup deposit It is stored in the dependence data in other systems.As an example it is assumed that the first application system is A, it is on startup except needing The startup itself to store is relied on outside data a (such as some configuration informations etc.), in addition it is also necessary to respectively should to second B data are got with system B, after file system C gets c data, and database D gets d data It is only possible to normal startup.If A initiates to call the request for starting and relying on data to the second application system B, then It refers to just b data that startup now relies on data, similar, if A initiates to access to file system C started The request of relied on data, then it refers to just c data that startup now relies on data, if A is to database D Initiate inquiry and start the request for relying on data, then it refers to just d data that startup now relies on data.
In the embodiment of the present application, the first application system initiates to obtain the request opportunity for starting and relying on data to second system When typically can be that the first application system starts;Additionally, when the startup institute of first application system in second system When dependence data have renewal, first application system can also be initiated to obtain to start and rely on data to second system Request.
In the embodiment of the present application, the first application system initiates to obtain the request opportunity for starting and relying on data to second system When typically can be that the first application system starts;Additionally, when the startup institute of first application system in second system When dependence data have renewal, first application system can also be initiated to obtain to start and rely on data to second system Request.
In the embodiment of the present application, setting time scope can be typically first application system after the request is sent Stand-by period.And stand-by period of first application system after the request is sent can be with the side such as informing mechanism Formula is obtained, and described informing mechanism can for example be realized by call back function etc..
Form judge module 30, for receiving institute in the range of the setting time when the data reception module 31 When stating dependence data, judge whether the dependence data meet preset data form.It is general, the first application system to The acquisition that the second system is initiated can specify the data lattice for starting and relying on data in starting the request for relying on data Formula.
First starts Coordination module 32, for not meeting the preset data form, Huo Zhesuo when the dependence data State data reception module 31 do not received in the range of the setting time it is described dependence data when, call the institute for prestoring That states the first application system last time successfully starts up loaded corresponding data, and for first application system, this is opened Loaded when dynamic.
The last startup loaded when illustrating to start at that time that successfully starts up of first application system relies on number According to being correct, and this correct data is back to first application system for its start-up loading by present application example Undoubtedly can greatly improve first application system and start successful probability.
In the application other embodiments, application system starting protection device can also include:
Data comparison module 33, for when preset data form described in the dependence data fit, it is relatively described according to Rely data it is last with first application system that prestores whether successfully start up loaded corresponding data consistent.
In the embodiment of the present application, described corresponding data refers to:First application system may be needed when starting every time Many number evidences are loaded, and a copy of it data of these many number evidences may be from the second system, then this The data that part comes from the second system are exactly the dependence data that this described second system is returned for the request Corresponding data.Such as, what first application system was last successfully start up, and that loaded data x comes from is described Second system, and the dependence data in the response that this described second system is returned for the request are x ', then number The corresponding data of data x ' is according to x, also just says that the comparison other in this step is x and x '.
Second starts Coordination module 35, for when the dependence data and first application system last time for prestoring Successfully start up loaded corresponding data it is inconsistent when, then preserve the dependence data.Wherein, described preservation one As be local to preserve (being such as saved in local disk).
Health examination module 36, for completing the start-up loading comprising the dependence data in first application system Afterwards, check whether this startup of first application system succeeds.
Whether this of first application system described in the embodiment of the present application to start successful can be disposable if being checked Detection.In another embodiment of the application, whether this of inspection first application system starts successfully also Can be setting the time limit (for example first application system complete comprising it is described dependence data start-up loading after One hour) in repeatedly check first application system this start whether succeed, otherwise regarding described first should It is failure with this startup of system.In some embodiments of the present application, described multiple inspection can be examined for timing Test (such as once checked within every three minutes).In other embodiments of the application, described multiple inspection can Think randomized test.
Additionally, in the embodiment of the present application, the content of inspection can include whether system port is normal, system external response Whether whether normal, and/or system can provide normal service.Because above-mentioned inspection content belongs to this area routine techniques Means, are not discussed in detail here.And in another embodiment of the application, can also be judged by way of event flag Whether first application system normally starts, and it can carry out event mark after first application system normally starts Note (such as writing a file), if first application system startup after setting time in receive the event flag Then show that first application system has been successfully started up, otherwise show that first application system starts failure.
3rd starts Coordination module 37, for when this startup of first application system fails, calling and prestoring First application system it is last successfully start up loaded corresponding data, for first application system again Secondary start-up loading.
4th starts Coordination module 34, for when the dependence data and first application system last time for prestoring Successfully start up loaded corresponding data it is consistent when, preserve the dependence data, and complete in first application system Into after the start-up loading comprising the dependence data, by the loaded data markers of this startup for the last time successfully opens The data loaded when dynamic.Wherein, described preservation is generally local preservation (being such as saved in local disk).
First data markers module 38, for when this of first application system starts successfully, this being opened Move the data loaded when loaded data markers are the last successfully starting up.
In the embodiment of the present application, the meaning for preserving the data loaded during the last successfully starting up is for described first should Facility is provided with the follow-up startup of system.In an embodiment of the application, synchronization can retain multiple history versions This data loaded when successfully starting up, when the data for having redaction are stored, expired version (i.e. earliest version) Data can be deleted, it is such to be advantageous in that, when first application system is loaded with the last success When still not successfully started up after the data of startup, it is also contemplated that by loading the added when successfully starting up of more older version The data of load restart.Certainly, in another embodiment of the application, in order to prevent history from loading overabundance of data Storage resource is taken, normally only needs to retain the data loaded when successfully starting up of several (such as three) versions.
Second data markers module 39, for when this of first application system starts failure, will it is described according to Data markers are relied to be problem data.In some embodiments of the present application, as a kind of Optimized Measures, if it is described according to Rely data and first application system it is last to successfully start up loaded corresponding data inconsistent, can also and incite somebody to action this Data markers are relied on to be problem data and preserve.It is intended that next to described second in first application system When system initiation acquisition startup relies on the request of data, if receiving identical data, can be with Direct Recognition Problem data, does not preload, in order to avoid waste system resource.
With reference to shown in Fig. 4, in another embodiment of the application, on the premise of other modules are constant, above-mentioned application system Second data markers module 39 of system starting protection device could alternatively be data removing module 39 '.The data are deleted Module 39 ' is deposited for when this startup of first application system fails, deleting the dependence data with saving Storage space.
In embodiments herein, initiate to obtain the request for starting and relying on data to second system in the first application system Afterwards, data reception module judges whether to receive the dependence number that second system is returned for request in the range of setting time According to;If not receiving dependence data in the range of setting time, although or received in the range of setting time according to Rely the form of data but the dependence data problematic, then the first startup Coordination module is called in the first application system for prestoring Once successfully start up loaded corresponding data, for the first application system this startup when load.Because application is Last the loaded corresponding data that successfully starts up of uniting is correct, therefore, even if current application system and other phases The problems such as suspension, machine of delaying, network jitter are occurred in that between relation system or data formatting error is relied on, the reality of the application Applying example can still ensure that application system can be loaded into correct startup and rely on data on startup, so as to improve application The startup success rate of system.
If additionally, the dependence data fit preset data form received in the range of setting time, data compare mould Block compare rely on data it is last with the first application system for prestoring successfully start up loaded corresponding data whether one Cause.If consistent, the 4th startup Coordination module preserves and relies on data and be loaded directly into the dependence data;If differed Cause, second starts Coordination module preserves dependence data and completed comprising the start-up loading for relying on data in the first application system Afterwards, whether this startup of the first application system of inspection succeeds.If it succeeds, the first data markers module by this Start the data loaded when loaded data markers are the last successfully starting up.If it fails, then the 3rd startup is assisted Mode transfer block call the first application system for prestoring it is last successfully start up loaded corresponding data, for the first application System is again started up loading.Therefore, even if the content of dependence data that returns of other related systems is vicious or have Missing, embodiments herein still can ensure that application system can be loaded into correct startup and rely on number on startup According to so as to further increase the startup success rate of application system.
For convenience of description, it is divided into various modules with function during description apparatus above to describe respectively.Certainly, implementing The function of each module can be realized in same or multiple softwares and/or hardware during the application.
Said apparatus can be arranged in application system as a part for application system, realize its function.As another kind Implementation method, said apparatus can also independently be arranged in and its function is realized between the first application system and second system.
With reference to shown in Fig. 5, the application system of the embodiment of the present application is on the basis of original module, to be provided with using system System starting protection device, i.e. application system starting protection device constitute a part for the application system of the embodiment of the present application, The application system starting protection device is interacted to realize it by the original module and local disk with application system Function (such as during data storage, is interacted, for another example, with the original of application system during returned data with local disk There is module to interact etc.).Specifically, referring to said apparatus embodiment, will not be repeated here.
Method or apparatus described by above the embodiment of the present application can be directly embedded into can be by the software mould of computing device In block.Software module can be stored in RAM memory, flash memory, ROM memory, eprom memory, Other arbitrary forms in eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area Storage medium in.Exemplarily, storage medium can be connected with processor, to allow processor from storage matchmaker Information is read in Jie, it is possible to deposit write information to storage medium.Alternatively, storage medium can also be integrated into processor In.
Those skilled in the art will also be appreciated that, various illustrative components, blocks that the embodiment of the present application is listed and step are also Can be realized by software and hardware combining, such as the spectrum analysis part of the embodiment of the present application be realized with hardware, and its His part is still implemented in software.Realize depending on specific application and whole to software or software and hardware combining is then passed through The design requirement of individual system.Those skilled in the art can be for every kind of specific application, it is possible to use various method realities Existing described function, but this realization is understood not to the scope beyond the embodiment of the present application protection.
Particular embodiments described above, purpose, technical scheme and beneficial effect to the application have been carried out further in detail Describe in detail bright, should be understood that the specific embodiment that the foregoing is only the embodiment of the present application, be not used to limit Determine the protection domain of the application, all any modifications within spirit herein and principle, made, equivalent, Improve etc., should be included within the protection domain of the application.

Claims (13)

1. a kind of application system starting protection method, it is characterised in that comprise the following steps:
After initiating to obtain the request for starting and relying on data to second system in the first application system, judge whether in setting The dependence data that the second system is returned for the request are received in time range;
If receiving the dependence data in the range of the setting time, judge whether the dependence data meet Preset data form;
If the dependence data do not meet the preset data form, or if in the range of the setting time not Receive the dependence data, then call first application system that prestores it is last successfully start up loaded right Data are answered, is loaded during for this startup of first application system.
2. application system starting protection method according to claim 1, it is characterised in that also include:
If preset data form described in the dependence data fit, more described to rely on data and described for prestoring One application system it is last whether successfully start up loaded corresponding data consistent;
If it is described rely on data it is last with first application system that prestores successfully start up loaded corresponding Data are inconsistent, then preserve the dependence data, and complete comprising the dependence data in first application system After start-up loading, check whether this startup of first application system succeeds;
If this of first application system starts failure, call first application system for prestoring last Successfully start up loaded corresponding data, for first application system be again started up loading.
3. application system starting protection method according to claim 2, it is characterised in that also include:
It is nearest one by the loaded data markers of this startup if this of first application system starts successfully The secondary data loaded when successfully starting up.
4. application system starting protection method according to claim 2, it is characterised in that should described first When being failed with this startup of system, also include:
The dependence data are deleted, or is problem data by the dependence data markers.
5. application system starting protection method according to claim 2, it is characterised in that described in the inspection Whether this startup of the first application system succeeds, including:
Repeatedly check whether this startup of first application system succeeds within the setting time limit.
6. application system starting protection method according to claim 1 and 2, it is characterised in that described second System includes the second application system, file system and/or database.
7. a kind of application system starting protection device, it is characterised in that including:
Data reception module, the request for relying on data is started for initiating to obtain to second system in the first application system Afterwards, judge whether to receive the dependence data that the second system is returned for the request in the range of setting time;
Form judge module, for receiving the dependence in the range of the setting time when the data reception module During data, judge whether the dependence data meet preset data form;
First starts Coordination module, for not meeting the preset data form, or the number when the dependence data When the dependence data are not received in the range of the setting time according to receiver module, prestore described first is called to answer Loaded corresponding data is successfully started up with the system last time, is added during for this startup of first application system Carry.
8. application system starting protection device according to claim 7, it is characterised in that also include:
Data comparison module, for when preset data form described in the dependence data fit, the relatively dependence number Whether consistent according to last with first application system that prestores if successfully starting up loaded corresponding data;
Second starts Coordination module, for when the dependence data and first application system that prestores it is last into When the loaded corresponding data of work(startup is inconsistent, then the dependence data are preserved;
Health examination module, after in first application system completion comprising the start-up loading for relying on data, Check whether this startup of first application system succeeds;
3rd starts Coordination module, for when this startup of first application system fails, calling the institute for prestoring That states the first application system last time successfully starts up loaded corresponding data, so that first application system is opened again Dynamic loading.
9. application system starting protection device according to claim 8, it is characterised in that also include:
First data markers module, for when this of first application system starts successfully, by this startup institute The data that the data markers of loading are loaded when being the last successfully starting up.
10. application system starting protection device according to claim 8, it is characterised in that also include:
Data removing module, for when this startup of first application system fails, deleting the dependence data;
Or, the second data markers module, for when this startup of first application system fails, by described in Dependence data markers are problem data.
11. application system starting protection devices according to claim 8, it is characterised in that the health examination Whether this startup of the first application system described in module check succeeds, including:
Repeatedly check whether this startup of first application system succeeds within the setting time limit.
The 12. application system starting protection device according to claim 7 or 8, it is characterised in that described second System includes the second application system, file system and/or database.
13. a kind of application systems, it is characterised in that it includes the application system described in claim 7~12 any one System starting protection device.
CN201511004993.0A 2015-12-29 2015-12-29 Application system and start protection method and device thereof Active CN106933545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511004993.0A CN106933545B (en) 2015-12-29 2015-12-29 Application system and start protection method and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511004993.0A CN106933545B (en) 2015-12-29 2015-12-29 Application system and start protection method and device thereof

Publications (2)

Publication Number Publication Date
CN106933545A true CN106933545A (en) 2017-07-07
CN106933545B CN106933545B (en) 2020-09-29

Family

ID=59458222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511004993.0A Active CN106933545B (en) 2015-12-29 2015-12-29 Application system and start protection method and device thereof

Country Status (1)

Country Link
CN (1) CN106933545B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595948A (en) * 2018-04-19 2018-09-28 深圳鼎智通讯股份有限公司 A kind of Android intelligence POS terminal prepackage APP and its means of defence
CN111722886A (en) * 2020-06-23 2020-09-29 平安医疗健康管理股份有限公司 Tool starting method and device, computer equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894032A (en) * 2010-06-30 2010-11-24 中兴通讯股份有限公司 Method for starting software system of base station, base station and master single board in base station
CN102591866A (en) * 2011-01-06 2012-07-18 中国移动通信有限公司 Method, device and system for starting browser
CN103500128A (en) * 2013-09-30 2014-01-08 上海斐讯数据通信技术有限公司 NVRAM data backup method
CN103516668A (en) * 2012-06-20 2014-01-15 中国银联股份有限公司 Broadcast-type database reconnection-based data processing server and broadcast-type database reconnection method
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894032A (en) * 2010-06-30 2010-11-24 中兴通讯股份有限公司 Method for starting software system of base station, base station and master single board in base station
CN102591866A (en) * 2011-01-06 2012-07-18 中国移动通信有限公司 Method, device and system for starting browser
CN103516668A (en) * 2012-06-20 2014-01-15 中国银联股份有限公司 Broadcast-type database reconnection-based data processing server and broadcast-type database reconnection method
CN103500128A (en) * 2013-09-30 2014-01-08 上海斐讯数据通信技术有限公司 NVRAM data backup method
CN104636165A (en) * 2015-02-02 2015-05-20 广东小天才科技有限公司 Mobile device starting method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595948A (en) * 2018-04-19 2018-09-28 深圳鼎智通讯股份有限公司 A kind of Android intelligence POS terminal prepackage APP and its means of defence
CN111722886A (en) * 2020-06-23 2020-09-29 平安医疗健康管理股份有限公司 Tool starting method and device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106933545B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
US5594861A (en) Method and apparatus for handling processing errors in telecommunications exchanges
US10917520B1 (en) Automated self-service callback for proactive and dynamic user assistance
EP3070609B1 (en) Method and apparatus of automatically backing up application data and performing restoration as required
US8909662B2 (en) Message based mobile object with native PIM integration
CN104778102A (en) Master-slave switching method and system
CN110096437A (en) The test method and Related product of micro services framework
CN110536024B (en) Outbound method, device, medium and computer equipment
CN111309524A (en) Distributed storage system fault recovery method, device, terminal and storage medium
CN107516547A (en) The processing method and processing device of internal memory hard error
CN102217230A (en) Provisioning method and system
CN104090839A (en) Simulation test method and device for abnormal scene
CN105573788B (en) The method and apparatus of patch processing and the method and apparatus for generating patch
CN105550071B (en) System file upgrades and detection method, communication equipment
CN109086065A (en) A kind of method for upgrading software, system and terminal device
CN106933545A (en) Application system and its starting protection method and device
WO2020253045A1 (en) Configured supplementary processing method and device for data of which forwarding has abnormality, and readable storage medium
CN110297822A (en) Key management method, device, equipment and storage medium towards block chain
CN102073523B (en) Realize the method and device of software version synchronization
CN110471906B (en) Database switching method, device and equipment
CN107402761A (en) Using restorative procedure and device
CN109960658B (en) Application programming interface testing method and device, electronic equipment and storage medium
CN104184614A (en) Rollback configuration method and apparatus
CN106909410A (en) A kind of update method and server system for server system
CN113055465B (en) Micro-service dynamic updating method supporting transaction consistency
CN108563578A (en) SDK compatibility detection method, device, equipment and readable storage medium storing program for executing

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right