CN105302604A - Application version update method and apparatus - Google Patents

Application version update method and apparatus Download PDF

Info

Publication number
CN105302604A
CN105302604A CN201510726614.2A CN201510726614A CN105302604A CN 105302604 A CN105302604 A CN 105302604A CN 201510726614 A CN201510726614 A CN 201510726614A CN 105302604 A CN105302604 A CN 105302604A
Authority
CN
China
Prior art keywords
target
version
list
monitored
monitoring
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
CN201510726614.2A
Other languages
Chinese (zh)
Other versions
CN105302604B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510726614.2A priority Critical patent/CN105302604B/en
Publication of CN105302604A publication Critical patent/CN105302604A/en
Application granted granted Critical
Publication of CN105302604B publication Critical patent/CN105302604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses an application version update method and apparatus. The method comprises: acquiring a first process list corresponding to a first version of an application, and marking multiple processes in accordance with a predetermined feature in the first process list as target processes, and deleting each target process in parallel; and acquiring a second process list corresponding to a second version of the application, and releasing each process in the second process list in parallel. According to the method, version releasing time can be significantly shortened, so that version releasing efficiency is improved, and at least the technical problems of long version releasing time and low version releasing efficiency in the conventional version updating method can be solved.

Description

The method for updating edition of application program and device
Technical field
The present invention relates to network communication technology field, be specifically related to a kind of method for updating edition and device of application program.
Background technology
Along with reaching its maturity of Internet technology, kind and the quantity of network application also get more and more, and have occurred diversified network application, such as online game, network direct broadcasting etc., and the function of these network applications is realized by the web application of correspondence.Web application is divided into again client application and server application.Wherein, client application is mounted in client, direct user oriented application program, for for user; Server application be then arrangement on the server, application-oriented developer's, for realize administer and maintain function.
When web application exists some defects (such as creating several bug in debug process), or when needing to improve some functions (such as add New function or improve etc. original function), need to carry out version updating to server application.In the process of version updating, need first will in the application program of legacy version, to provide the old process of related service pick out one by one and delete one by one, and then the new process of each in the application program of redaction is issued one by one.When network application is at the early-stage, the network application function of release is comparatively simple, data volume is less, and the process number wherein comprised is also corresponding less, thus thisly deletes old process one by one, and the mode issuing new process one by one receives and promotes widely.But, along with the develop rapidly of network application, there is the network application that more and more function is complicated, data volume is huge, the process number wherein comprised often reaches tens, adopt and thisly delete old process one by one, and the mode of issuing new process one by one often causes sending out version for up to dozens of minutes, significant prolongation sends out the working time of version personnel, reduces and sends out version efficiency.As can be seen here, traditional version updating mode cannot meet the demand of network application develop rapidly, needs a kind of version updating mode efficiently badly.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the method for updating edition of application program solved the problem at least in part and device.
According to one aspect of the present invention, provide a kind of method for updating edition of application program, comprise: the first process list corresponding to first version obtaining application program, be target process by the multiple Processes Tags meeting predetermined characteristic in the first process list, delete each target process in a parallel fashion; Obtain second process list corresponding to the second edition of application program, issue each process in the second process list in a parallel fashion.
According to another aspect of the present invention, provide a kind of version updating device of application program, comprising: the first acquisition module, be suitable for the first process list corresponding to first version obtaining application program; Removing module, being suitable for the multiple Processes Tags meeting predetermined characteristic in the first process list is target process, deletes each target process in a parallel fashion; Second acquisition module, is suitable for the second process list corresponding to the second edition obtaining application program; Release module, is suitable for each process issued in a parallel fashion in the second process list.
In the method for updating edition and device of application program provided by the invention, on the one hand, can according to the feature of process, be target process by the multiple Processes Tags meeting predetermined characteristic in the first process list corresponding to the first version of application program, and delete each target process by parallel mode simultaneously, thus old process to be deleted need not be selected one by one, significantly improve processing speed when deleting old process.On the other hand, because the old process of this deletion is all deleted, therefore, each new process can be issued in a parallel fashion when issuing new process simultaneously, thus significantly improve issue speed when issuing new process.Thus, will send out the version time and significantly shorten, and improve and send out version efficiency.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the process flow diagram of the method for updating edition of the application program that one embodiment of the invention provides;
Fig. 2 shows the process flow diagram of the method for updating edition of the application program that the present invention's specific embodiment provides; And,
Fig. 3 shows the functional block diagram of the version updating device of the application program that one embodiment of the invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of method for updating edition and device of application program, at least can solve traditional method for updating edition and send out edition time length, an inefficient technical matters.
Fig. 1 shows the process flow diagram of the method for updating edition of the application program that one embodiment of the invention provides.As shown in Figure 1, the method comprises the steps:
Step S110: the first process list corresponding to first version obtaining application program.
Wherein, the first version of application program is early version to be updated.During concrete acquisition, according to the version identifier of the first version of application program, the process corresponding with this version identifier can be obtained, the progress information of each process got be loaded in the first process list.
Step S120: be target process by the multiple Processes Tags meeting predetermined characteristic in the first process list.
Wherein, the multiple processes meeting predetermined characteristic are old process to be deleted.Determine whether each process in the first process list meets predetermined characteristic in the following manner: judge whether comprise default feature field in the information field of each process in the first process list and/or check field, if judged result is yes, then determine that this process meets predetermined characteristic; If judged result is no, then determine that this process does not meet predetermined characteristic.
Step S130: delete each target process in a parallel fashion.
Wherein, when deleting in a parallel fashion, the mode that can be performed by multi-course concurrency performs deletion action to each target process simultaneously.
Step S140: the second process list corresponding to the second edition obtaining application program.
Wherein, the second edition of application program is the redaction will replacing early version, and therefore, the version number of the second edition is usually above the version number of first version.The whole processes needed for redaction are stored in the second process list.
Step S150: issue each process in the second process list in a parallel fashion.
Wherein, when issuing in a parallel fashion, the mode that can be performed by multi-course concurrency performs issue operation to each process in the second process list simultaneously.
As can be seen here, because the old process of this deletion in the present invention is deleted by parallel mode simultaneously, therefore, each new process can be issued in a parallel fashion when issuing new process simultaneously, thus significantly improve issue speed when issuing new process.Thus, will send out the version time and significantly shorten, and improve and send out version efficiency.
Fig. 2 shows the process flow diagram of the method for updating edition of the application program that the present invention's specific embodiment provides.For the ease of understanding, be payment application in the present embodiment with application program for example is described.Particularly, this application program is used for realizing electronic payment function, such as, can be each class method such as Alipay, Mobile banking.As shown in Figure 2, the method comprises the steps:
Step S210: the old process list corresponding to early version obtaining payment application.
Wherein, the early version of payment application is the version needing to carry out version updating.Generally, the early version of payment application refers to the version of user oriented use, such as Alipay 7.7 version, Alipay 8.0 version etc.
Operation due to version updating is normally realized by Develop Application System/operation maintenance personnel, therefore, the process corresponding to early version of payment application is obtained for the ease of exploitation/operation maintenance personnel, can according to the version identifier of the early version of payment application, obtain the process corresponding with this version identifier, and the progress information of each process got is loaded in default old process list, so that follow-up version updating operation.Wherein, progress information comprises the resource file etc. needed for process title, process.The mode being obtained process by version identifier at least possesses following 2 advantages: first, required process can be found all sidedly fast by version identifier lookup process, second, can also the access rights of defining application by version identifier, make application program can only have access to the process be associated with this application program, and the process of other application programs cannot be had access to, thus improve the security of application program.
Because process refers to the program example run, therefore, each process will certainly take certain resource in operational process, so, for the ease of the execution of subsequent step, the resource file of each process needed in operational process in the early version of this payment application can also be listed in the lump in old process list.Particularly, the resource that each process that can obtain the early version of this payment application by the following two kinds mode is required in operational process: in first kind of way, in advance the resource corresponding to each version identifier is stored in the resources bank corresponding with this version identifier respectively, such as, Alipay 7.7 version correspond to a resources bank, and the whole resources of each process in this version needed in operational process are all stored in this resources bank; With it similarly, Alipay 8.0 version then correspond to an other resources bank.Therefore, navigate to corresponding resources bank according to the version identifier of application program, the whole resource informations in this resources bank can be obtained.In the second way, will each resource not leave in corresponding resources bank respectively, only need make to carry corresponding version identifier in the resource information of each resource (such as resource name).Such as, the resource that each process of Alipay 8.0 version is required in operational process carries version identifier " Alipay 8.0 version ", the resource that each process of Alipay 7.7 version is required in operational process then carries version identifier " Alipay 7.7 version ", in addition, some resource may appear in the process corresponding to application program of two even more versions simultaneously, in this kind of resource, therefore carry the version identifier of two even more versions simultaneously.In this way, directly can get rapidly the whole resources corresponding with this version identifier according to version identifier, and when there is a large amount of same asset when between different editions, this kind of mode significantly can save storage space.
Step S220: be target process by the multiple Processes Tags meeting predetermined characteristic in old process list.
The effect of this step is: according to the feature of process, identifies unified for each process needing in early version to delete and be labeled as target process, to seek unity of action deletion action in subsequent step.Particularly, need to delete which process normally decides by the object of this version updating.Such as, when the object of certain version updating is to repair some program errors (bug) in early version, during to reduce the rate that reports an error of program, need the process of deleting mainly to refer to: the process reported an error in the process of implementation, and there is the process of incidence relation with the process reported an error.At this moment, can identify and target-marking process according to the process feature of the process reported an error (type feature of such as process, the name feature of process) etc.And for example, when the object of certain version updating is some functions improving early version, and/or during extra some New function of increase, the process of deleting is needed mainly to refer to: the process be associated with the function of To be improved.Suppose to need to improve or increase newly a third party on behalf of the function paid, then need the process of deleting mainly to refer to: for realizing paying out the process of function and there is the process of incidence relation with the process realizing paying out function in early version.At this moment, can according to the feature of process, such as, whether comprise default feature field to identify and target-marking process in the information field of process and/or check field: when comprising default feature field in the information field and/or check field of a process, determine that this process meets predetermined characteristic; When not comprising default feature field in the information field and/or check field of a process, then determine that this process does not meet predetermined characteristic.Wherein, feature field generally refers to the total field that all multi-process realizing paying out function possess.
When specific implementation, suppose to have 50 processes in the old process list corresponding to the early version of payment application, that is: the payment application of this early version needs startup 50 processes in start-up course, the number of processes being wherein marked as target process by this step may be 10,20, also may be 50.In a word, the number of processes being marked as target process depends on concrete application scenarios, both can be the Partial Process in old process list, also can be the whole processes in old process list.
Step S230: each process determining to be labeled as target process is respectively monitoring process or monitored process, when determining that a process is monitoring process, performs step S240; When determining that a process is monitored process, perform step S250.
Such as, suppose to have 50 processes in the old process list corresponding to the early version of payment application, in step S220, altogether mark 10 target process, then in this step, judge that each process in 10 target process belongs to monitoring process or monitored process respectively.Wherein, monitoring process and monitored process are one to one, and a monitoring process must correspond to a monitored process, and a monitored process also must correspond to a monitoring process.The effect of monitoring process is: monitor the monitored running state of a process corresponding with it, when monitoring monitored running state of a process abnormal (comprise report an error, abnormal exit), then re-create a new monitored process, occur abnormal monitored process with alternative.In this step, can determine that it belongs to monitoring process or monitored process by the attribute information of process.
Step S240: when determining that a process is monitoring process, judge whether the monitored process corresponding to this monitoring process is marked as target process, when judged result is no, search the monitored process corresponding to this monitoring process, and be target process by the monitored Processes Tag found.
Particularly, when determining that a process is monitoring process, search 10 target process being labeled out in old process list, to determine the monitored process whether comprised in these 10 target process corresponding to this monitoring process, if comprised the monitored process corresponding to this monitoring process in 10 target process, then without the need to carrying out any extra process; If do not comprise the monitored process corresponding to this monitoring process in 10 target process, then need the monitored process of searching further corresponding to this monitoring process, and be target process by the monitored process supplemental markers found.When specifically searching, can first search in old process list, when inquiring about not then in old process list, other associated process lists in all right query manipulation system further, and be target process by the monitored process supplemental markers found.
Step S250: when determining that a process is monitored process, judge whether this monitoring process corresponding to monitored process is marked as target process, when judged result is no, searches this monitoring process corresponding to monitored process, and the monitoring process found is labeled as target process.
Particularly, when determining that a process is monitored process, search 10 target process being labeled out in old process list, to determine the monitoring process whether comprised in these 10 target process corresponding to this monitored process, if comprised this monitoring process corresponding to monitored process in 10 target process, then without the need to carrying out any extra process; If do not comprise this monitoring process corresponding to monitored process in 10 target process, then need to search further this monitoring process corresponding to monitored process, and be target process by the monitoring process supplemental markers found.When specifically searching, can first search in old process list, when inquiring about not then in old process list, other associated process lists in all right query manipulation system further, and be target process by the monitoring process supplemental markers found.
Due in follow-up deletion action, if only delete monitored process and do not delete the monitoring process of its correspondence, monitoring process can re-create a new monitored process after monitored process is deleted, thus the deletion action before causing loses meaning; If only delete monitoring process and do not delete the monitored process of its correspondence, then this monitored process can be caused to hold over system resource, not only cause the waste of resource, also easily cause program to report an error.As can be seen here, by step S230 to step S250, target process to be deleted can be made more comprehensive.
Step S260: delete each target process according to parallel mode.
The target process deleted is needed to be included in the target complete process marked in step S220 to step S250 in this step.When deleting each target process in a parallel fashion, can first each target process be added in the first default concurrent pond, then, delete each target process in the first concurrent pond by the deletion process of multiple concurrence performance.Such as, suppose in step S220 to step S250, marked 15 target process altogether, then first these 15 target process are joined in the first concurrent pond, then, create the deletion process of 15 concurrence performance, make each deletion process and each target process one_to_one corresponding, each deletion process takes out corresponding target process and is deleted from the first concurrent pond, thus, deletion action can be performed for 15 target process simultaneously, significantly improve the efficiency of deletion action, shorten the stand-by period.The mode creating a corresponding deletion process for each target process respectively farthest can improve deletion efficiency, but, because each deletion process all can take certain system resource in the process of implementation, therefore, when limited system resources, also first target process can be divided into multiple target process set, then for each target process set creates a corresponding deletion process, thus reduce the quantity of deletion process, save system resource, such as, 15 target process can be divided into 5 target process set, then delete each target process set by the deletion process of 5 concurrence performance simultaneously.Particularly, the establishment of deletion process and deletion mode can realize in accordance with redim rule, and, when deletion process, also need the resource be associated with this process to delete in the lump.
When deleting target process, those skilled in the art can also carry out deletion process by third party's instrument (such as rigger etc. send out version instrument), and, also can be realized by the order line form for batch deletion process, particularly, in an order line, comprise whole target process, thus all target process are deleted simultaneously.And, after deletion target process, can also further each process deleted be displayed, for confirmation in the delete list preset.
In addition, interrupt to prevent the service function corresponding to each target process, after each target process of deletion, can also judge that data content corresponding to each target process is the need of process further: the data content corresponding to a target process does not need process if judge, then direct the data content corresponding with this target process to be deleted in the lump, such as, when the service function corresponding to a target process is cancelled, data content corresponding to it does not need to perform subsequent treatment yet, therefore deletes in the lump; If judge, the data content corresponding to a target process still needs process, then the data content corresponding with this target process is stored in default message queue, for the process process in redaction, such as, when the service function corresponding to a target process is replaced by the process in redaction, data content corresponding to it still need turn by the process process in redaction, therefore by its stored in preset message queue in, wait until the process process in redaction.Wherein, message queue is the container preserving message in message transmitting procedure, and the message received can store by according to the order of sequence.
Step S270: the new process list corresponding to redaction obtaining payment application.
Wherein, the redaction of payment application refers to the version after carrying out version updating.Generally, the version number of redaction is higher than the version number of early version, and such as, for the early versions such as Alipay 7.7 and Alipay 8.0, redaction may be Alipay 9.0 version.In the new process list corresponding to redaction, comprise whole progress informations required when issuing redaction, these progress informations comprise the resource file etc. needed for process title, process.
Step S280: issue each process in new process list according to parallel mode.
Wherein, when issuing each process in new process list in a parallel fashion, can first the progress information of each process in new process list be added in the second default concurrent pond, then, issue each process in the second concurrent pond by the publishing process of multiple concurrence performance.Such as, suppose in new process list, to comprise 20 processes altogether, then first these 20 processes are joined in the second concurrent pond, then, the corresponding publishing process creating 20 concurrence performance, each publishing process takes out corresponding process and carries out issue operation to it from the second concurrent pond, thus, can perform for 20 processes simultaneously issue operation, significantly improve the efficiency of issue operation, shorten the stand-by period.In addition, also can be first multiple process collection by the process division in the second concurrent pond, then for each process collection creates a corresponding publishing process, such as, can be 10 target process set by 20 process divisions, then issue each process collection by the publishing process of 10 concurrence performance simultaneously.Particularly, the establishment of publishing process and deletion mode also can realize in accordance with redim rule.In addition, when the issue operation of executive process, those skilled in the art also can realize by third party's instrument (such as rigger etc. send out version instrument).
In addition, in order to make the early version before redaction compatibility, after issuing each process in new process list, take out data content in the message queue that new process can also be mentioned from step S260 and process according to the order of sequence, thus making new process substitute old process to provide service.
By the method in the present embodiment, old process to be deleted is unified and can identify and be marked, thus deleting fast in a parallel fashion, can also by new process release quickly in a parallel fashion to be released, what significantly shorten application program sends out the version time, improves and sends out version efficiency.
Fig. 3 shows the functional block diagram of the version updating device of the application program that one embodiment of the invention provides.As shown in Figure 3, this device 300 comprises:
First acquisition module 31, is suitable for the first process list corresponding to first version obtaining application program;
Removing module 32, being suitable for the multiple Processes Tags meeting predetermined characteristic in the first process list is target process, deletes each target process in a parallel fashion;
Second acquisition module 33, is suitable for the second process list corresponding to the second edition obtaining application program;
Release module 34, is suitable for each process issued in a parallel fashion in the second process list.
Wherein, the first acquisition module 31 specifically for: according to the version identifier of the first version of application program, obtain the process corresponding with this version identifier, the progress information of each process got be loaded in the first process list.
Wherein, removing module 32 specifically for: judge whether comprise default feature field in the information field of each process in the first process list and/or check field, if judged result is yes, then determine that this process meets predetermined characteristic; If judged result is no, then determine that this process does not meet predetermined characteristic.
Further, removing module 32 is further used for: each process determining to be labeled as target process is respectively monitoring process or monitored process; When determining that a process is monitoring process, judge whether the monitored process corresponding to this monitoring process is marked as target process, when judged result is no, search the monitored process corresponding to this monitoring process, and be target process by the monitored Processes Tag found; When determining that a process is monitored process, judge whether this monitoring process corresponding to monitored process is marked as target process, when judged result is no, searches this monitoring process corresponding to monitored process, and the monitoring process found is labeled as target process.
Removing module 32 specifically for: each target process is added in the first concurrent pond, deletes each target process in the first concurrent pond by the deletion process of multiple concurrence performance; Release module 34 specifically for: each process in the second process list is added in the second concurrent pond, issues each process in the second concurrent pond by the publishing process of multiple concurrence performance.
Alternatively, in order to avoid loss of data, this device comprises further: memory module, is suitable for the data content corresponding to each target process to be stored in default message queue, for each process process in the second process list.
The specific works mode of above-mentioned modules can refer to the description of appropriate section in embodiment of the method, repeats no more herein.
In the method for updating edition and device of application program provided by the invention, on the one hand, can according to the feature of process, be target process by the multiple Processes Tags meeting predetermined characteristic in the first process list corresponding to the first version of application program, and delete each target process by parallel mode simultaneously, thus old process to be deleted need not be selected one by one, significantly improve processing speed when deleting old process.On the other hand, because the old process of this deletion is all deleted, therefore, each new process can be issued in a parallel fashion when issuing new process simultaneously, thus significantly improve issue speed when issuing new process.Thus, will send out the version time and significantly shorten, and improve and send out version efficiency.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although to comprise in other embodiment some included feature instead of further feature in this some embodiments, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention also discloses the version updating device of A7, a kind of application program, comprising:
First acquisition module, is suitable for the first process list corresponding to first version obtaining application program;
Removing module, the multiple Processes Tags be suitable for meeting predetermined characteristic in described first process list are target process, delete each target process in a parallel fashion;
Second acquisition module, is suitable for the second process list corresponding to the second edition obtaining described application program;
Release module, is suitable for issuing each process in described second process list in a parallel fashion.
A8, device according to A7, wherein, described first acquisition module specifically for: according to the version identifier of the first version of described application program, obtain the process corresponding with this version identifier, the progress information of each process got be loaded in described first process list.
A9, device according to A7 or 8, wherein, described removing module specifically for: judge whether comprise default feature field in the information field of each process in described first process list and/or check field, if judged result is yes, then determine that this process meets predetermined characteristic; If judged result is no, then determine that this process does not meet predetermined characteristic.
A10, according to the arbitrary described device of A7-9, wherein, described removing module is further used for: each process determining to be labeled as target process is respectively monitoring process or monitored process; When determining that a process is monitoring process, judge whether the monitored process corresponding to this monitoring process is marked as target process, when judged result is no, search the monitored process corresponding to this monitoring process, and be target process by the monitored Processes Tag found; When determining that a process is monitored process, judge whether this monitoring process corresponding to monitored process is marked as target process, when judged result is no, searches this monitoring process corresponding to monitored process, and the monitoring process found is labeled as target process.
A11, according to the arbitrary described device of A7-10, wherein, described removing module specifically for: each target process is added in the first concurrent pond, is deleted each target process in described first concurrent pond by the deletion process of multiple concurrence performance;
Wherein, described release module specifically for: each process in described second process list is added in the second concurrent pond, issues each process in described second concurrent pond by the publishing process of multiple concurrence performance.
A12, according to the arbitrary described device of A7-11, wherein, comprise further: memory module, be suitable for the data content corresponding to each target process to be stored in default message queue, for each process process in described second process list.

Claims (10)

1. a method for updating edition for application program, comprising:
Obtain first process list corresponding to first version of application program, be target process by the multiple Processes Tags meeting predetermined characteristic in described first process list, delete each target process in a parallel fashion;
Obtain second process list corresponding to the second edition of described application program, issue each process in described second process list in a parallel fashion.
2. method according to claim 1, wherein, the implementation of first process list corresponding to first version of described acquisition application program comprises:
According to the version identifier of the first version of described application program, obtain the process corresponding with this version identifier, the progress information of each process got is loaded in described first process list.
3. method according to claim 1 and 2, wherein, determine whether each process in described first process list meets predetermined characteristic in the following manner:
Judge whether comprise default feature field in the information field of each process in described first process list and/or check field, if judged result is yes, then determine that this process meets predetermined characteristic; If judged result is no, then determine that this process does not meet predetermined characteristic.
4., according to the arbitrary described method of claim 1-3, wherein, comprise further after the multiple Processes Tags meeting predetermined characteristic are the step of target process in described first process list:
The each process determining to be labeled as target process is respectively monitoring process or monitored process;
When determining that a process is monitoring process, judge whether the monitored process corresponding to this monitoring process is marked as target process, when judged result is no, search the monitored process corresponding to this monitoring process, and be target process by the monitored Processes Tag found;
When determining that a process is monitored process, judge whether this monitoring process corresponding to monitored process is marked as target process, when judged result is no, searches this monitoring process corresponding to monitored process, and the monitoring process found is labeled as target process.
5. according to the arbitrary described method of claim 1-4, wherein, the implementation of deleting each target process in a parallel fashion comprises: added by each target process in the first concurrent pond, is deleted each target process in described first concurrent pond by the deletion process of multiple concurrence performance;
Wherein, the implementation issuing each process in described second process list in a parallel fashion comprises: each process in described second process list added in the second concurrent pond, is issued each process in described second concurrent pond by the publishing process of multiple concurrence performance.
6., according to the arbitrary described method of claim 1-5, wherein, comprise step further: be stored in default message queue by the data content corresponding to each target process, for each process process in described second process list.
7. a version updating device for application program, comprising:
First acquisition module, is suitable for the first process list corresponding to first version obtaining application program;
Removing module, the multiple Processes Tags be suitable for meeting predetermined characteristic in described first process list are target process, delete each target process in a parallel fashion;
Second acquisition module, is suitable for the second process list corresponding to the second edition obtaining described application program;
Release module, is suitable for issuing each process in described second process list in a parallel fashion.
8. device according to claim 7, wherein, described first acquisition module specifically for: according to the version identifier of the first version of described application program, obtain the process corresponding with this version identifier, the progress information of each process got be loaded in described first process list.
9. the device according to claim 7 or 8, wherein, described removing module specifically for: judge whether comprise default feature field in the information field of each process in described first process list and/or check field, if judged result is yes, then determine that this process meets predetermined characteristic; If judged result is no, then determine that this process does not meet predetermined characteristic.
10., according to the arbitrary described device of claim 7-9, wherein, described removing module is further used for: each process determining to be labeled as target process is respectively monitoring process or monitored process; When determining that a process is monitoring process, judge whether the monitored process corresponding to this monitoring process is marked as target process, when judged result is no, search the monitored process corresponding to this monitoring process, and be target process by the monitored Processes Tag found; When determining that a process is monitored process, judge whether this monitoring process corresponding to monitored process is marked as target process, when judged result is no, searches this monitoring process corresponding to monitored process, and the monitoring process found is labeled as target process.
CN201510726614.2A 2015-10-30 2015-10-30 The method for updating edition and device of application program Active CN105302604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510726614.2A CN105302604B (en) 2015-10-30 2015-10-30 The method for updating edition and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510726614.2A CN105302604B (en) 2015-10-30 2015-10-30 The method for updating edition and device of application program

Publications (2)

Publication Number Publication Date
CN105302604A true CN105302604A (en) 2016-02-03
CN105302604B CN105302604B (en) 2018-10-23

Family

ID=55199899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510726614.2A Active CN105302604B (en) 2015-10-30 2015-10-30 The method for updating edition and device of application program

Country Status (1)

Country Link
CN (1) CN105302604B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446219A (en) * 2018-03-01 2018-08-24 网易宝有限公司 Operating method, system, medium and the computing device of application program
CN116400935A (en) * 2023-06-09 2023-07-07 贵州爱信诺航天信息有限公司 Cross-platform deployment system and method based on domestic platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136770A (en) * 2006-10-13 2008-03-05 中兴通讯股份有限公司 Automatically updating method and apparatus for telecom multi-branch network management system
CN101329633A (en) * 2008-07-25 2008-12-24 北大方正集团有限公司 Method and apparatus for upgrading software
CN102955702A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Method and device for installing and upgrading software
CN104461723A (en) * 2014-12-16 2015-03-25 北京奇虎科技有限公司 Process control method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136770A (en) * 2006-10-13 2008-03-05 中兴通讯股份有限公司 Automatically updating method and apparatus for telecom multi-branch network management system
CN101329633A (en) * 2008-07-25 2008-12-24 北大方正集团有限公司 Method and apparatus for upgrading software
CN102955702A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Method and device for installing and upgrading software
CN104461723A (en) * 2014-12-16 2015-03-25 北京奇虎科技有限公司 Process control method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446219A (en) * 2018-03-01 2018-08-24 网易宝有限公司 Operating method, system, medium and the computing device of application program
CN116400935A (en) * 2023-06-09 2023-07-07 贵州爱信诺航天信息有限公司 Cross-platform deployment system and method based on domestic platform
CN116400935B (en) * 2023-06-09 2023-08-18 贵州爱信诺航天信息有限公司 Application installation system and method

Also Published As

Publication number Publication date
CN105302604B (en) 2018-10-23

Similar Documents

Publication Publication Date Title
US8010962B2 (en) Infrastructure for the automation of the assembly of schema maintenance scripts
CN107038519B (en) Method and system for bidirectional data synchronization between systems
CN103559065B (en) Method and system for OTA (Over-the-Air Technology) upgrade
CN104572327A (en) Method, device and system for processing browser crash
CN104915595A (en) Virtualization bug fixing method and device through cloud platform
CN111240689A (en) Application program construction method, device, equipment and storage medium
EP3166029B1 (en) Exporting hierarchical data from a source code management (scm) system to a product lifecycle management (plm) system
CN105159718A (en) Firmware updating method and device
CN111782339A (en) Container creation method and device, electronic equipment and storage medium
CN103902562A (en) Method and device for upgrading terminal databases
CN108920691B (en) Front-end static resource management method and device, computer equipment and storage medium
CN104881454A (en) Updating method and system of parameter
CN108415736B (en) Method, device and equipment for marking program process by using process file system
CN111240772A (en) Data processing method and device based on block chain and storage medium
CN111352612A (en) Scheduling method and device for code deployment, electronic equipment and storage medium
CN111159301A (en) Data creating method, device, equipment and storage medium based on intelligent contract
CN110716804A (en) Method and device for automatically deleting useless resources, storage medium and electronic equipment
CN105302604A (en) Application version update method and apparatus
US20190147047A1 (en) Object-level image query and retrieval
CN116578497A (en) Automatic interface testing method, system, computer equipment and storage medium
CN110968339A (en) Method and device for front-end construction tool and electronic equipment
CN112395337A (en) Data export method and device
CN113791809B (en) Application exception handling method and device and computer readable storage medium
EP3166030B1 (en) Exporting hierarchical data from a product lifecycle management (plm) system to a source code management (scm) system
CN117441157A (en) Software updater

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.