CN105302604B - The method for updating edition and device of application program - Google Patents

The method for updating edition and device of application program Download PDF

Info

Publication number
CN105302604B
CN105302604B CN201510726614.2A CN201510726614A CN105302604B CN 105302604 B CN105302604 B CN 105302604B CN 201510726614 A CN201510726614 A CN 201510726614A CN 105302604 B CN105302604 B CN 105302604B
Authority
CN
China
Prior art keywords
target
version
list
monitored
application program
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.)
Active
Application number
CN201510726614.2A
Other languages
Chinese (zh)
Other versions
CN105302604A (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 invention discloses a kind of method for updating edition of application program and devices.This method includes:The first process list corresponding to the first version of application program is obtained, is target process by multiple Processes Tags of predetermined characteristic are met in the first process list, deletes each target process in a parallel fashion;The second process list corresponding to the second edition of application program is obtained, issues each process in the second process list in a parallel fashion.This method can substantially shorten the hair version time, improve hair version efficiency, can at least solve traditional method for updating edition hair technical problem that the version time is long, efficiency is low.

Description

The method for updating edition and device of application program
Technical field
The present invention relates to network communication technology fields, and in particular to a kind of method for updating edition and device of application program.
Background technology
With reaching its maturity for Internet technology, the type and quantity of network application are also more and more, occur a variety of more The function of network application of sample, such as online game, network direct broadcasting etc., these network applications is by corresponding network application journey Sequence is realized.Web application is divided into as client application and server application.Wherein, client application journey Sequence is mounted in client, is directly facing the application program of user, for for users to use;Server application is then cloth It affixes one's name on the server, application-oriented developer's, for realizing management and maintenance function.
When there are some defects (such as producing several bug in debugging process), or needs are perfect for web application When some function (such as add new function or be improved original function), need to carry out version to server application Update.During version updating, need first to choose the old process that related service is provided in the application program of legacy version one by one It elects and deletes one by one, then each new process in the application program of new version is issued one by one again.It is answered in network With it is at the early-stage when, the network application function of release is relatively simple, data volume is less, it is wherein included into number of passes also accordingly compared with It is few, thus this mode deleted old process one by one, and issue new process one by one receives extensive popularization.However, with net There is the network application that more and more functions are complicated, data volume is huge in the rapid development of network application, wherein included into number of passes Often up to tens, the hair version time is often led to using this mode deleted old process one by one, and issue new process one by one Up to dozens of minutes, the working time of hair version personnel is significantly extended, reduces hair version efficiency.It can be seen that traditional version Update mode can no longer meet the demand of network application rapid development, and there is an urgent need for a kind of efficient version updating modes.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State the method for updating edition and device of the application program of problem.
One side according to the present invention provides a kind of method for updating edition of application program, including:It obtains and applies journey The multiple Processes Tags for meeting predetermined characteristic in first process list are by the first process list corresponding to the first version of sequence Target process deletes each target process in a parallel fashion;Obtain the second process row corresponding to the second edition of application program Table issues each process in the second process list in a parallel fashion.
Another aspect according to the present invention provides a kind of version updating device of application program, including:First obtains mould Block is suitable for obtaining the first process list corresponding to the first version of application program;Removing module is suitable for the first process list In meet predetermined characteristic multiple Processes Tags be target process, delete each target process in a parallel fashion;Second obtains mould Block is suitable for obtaining the second process list corresponding to the second edition of application program;Release module is adapted to issue Each process in second process list.
In the method for updating edition and device of application program provided by the invention, on the one hand, can be according to the spy of process It levies, multiple Processes Tags that predetermined characteristic is met in the first process list corresponding to the first version by application program are target Process, and each target process is deleted by parallel mode simultaneously, from without selecting old process to be deleted one by one, significantly carry Processing speed when the old process of high deletion.On the other hand, since the old process of the deletion has all been deleted, it is sending out Can each new process be issued simultaneously in a parallel fashion when the new process of cloth, publication speed when new process is issued to significantly improve Degree.The hair version time is substantially shortened as a result, improves hair version efficiency.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the method for updating edition of application program provided by one embodiment of the present invention;
Fig. 2 shows the flow charts of the method for updating edition of the application program of specific embodiment offer of the invention;With And
Fig. 3 shows the functional block diagram of the version updating device of application program provided by one embodiment of the present invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of method for updating edition of application program and devices, can at least solve traditional The method for updating edition hair technical problem that the version time is long, efficiency is low.
Fig. 1 shows the flow chart of the method for updating edition of application program provided by one embodiment of the present invention.Such as Fig. 1 institutes Show, this method comprises the following steps:
Step S110:Obtain the first process list corresponding to the first version of application program.
Wherein, the first version of application program is early version to be updated.It, can be according to application program when specific acquisition The version identifier of first version obtains process corresponding with the version identifier, by the progress information of each process got It is loaded into the first process list.
Step S120:It is target process by the multiple Processes Tags for meeting predetermined characteristic in the first process list.
Wherein, the multiple processes for meeting predetermined characteristic are old process to be deleted.The first process is determined in the following manner Whether each process in list meets predetermined characteristic:Judge each process in the first process list information field and/or Whether include preset feature field in check field, if it is judged that being yes, it is determined that the process meets predetermined characteristic;Such as Fruit judging result is no, it is determined that the process does not meet predetermined characteristic.
Step S130:Each target process is deleted in a parallel fashion.
Wherein, when deleting in a parallel fashion, can multi-course concurrency execution by way of to each target process simultaneously Execute delete operation.
Step S140:Obtain the second process list corresponding to the second edition of application program.
Wherein, the second edition of application program is that will replace the new version of early version, therefore, the version number of the second edition Usually above the version number of first version.Whole processes needed for new version are stored in the second process list.
Step S150:Each process in the second process list is issued in a parallel fashion.
It wherein, can be by way of multi-course concurrency execution in the second process list when issuing in a parallel fashion Each process is performed simultaneously publication operation.
It can be seen that the old process due to the deletion in the present invention has been deleted by parallel mode simultaneously, it is sending out Can each new process be issued simultaneously in a parallel fashion when the new process of cloth, publication speed when new process is issued to significantly improve Degree.The hair version time is substantially shortened as a result, improves hair version efficiency.
Fig. 2 shows the flow charts of the method for updating edition of the application program of specific embodiment offer of the invention.For It is easy to understand, is illustrated so that application program is payment application as an example in the present embodiment.Specifically, the application program For realizing electronic payment function, for example, it may be each class method such as Alipay, Mobile banking.As shown in Fig. 2, this method packet Include following steps:
Step S210:Obtain the old process list corresponding to the early version of payment application.
Wherein, the early version of payment application is the version for needing to carry out version updating.Under normal circumstances, payment application The early version of program refers to version that user oriented uses, such as 7.7 version of Alipay, 8.0 version of Alipay etc..
It is realized since the operation of version updating is typically exploitation/operation maintenance personnel by application program, in order to just The process corresponding to the early version of payment application is obtained in exploitation/operation maintenance personnel, it can be according to the old of payment application The version identifier of version obtains process corresponding with the version identifier, and the progress information of each process got is added It is downloaded in preset old process list, in order to which subsequent version updating operates.Wherein, progress information include process title, into The resource file etc. of Cheng Suoxu.At least have following 2 advantages by way of obtaining process version identifier:First, pass through Version identifier lookup process quickly can comprehensively find required process, and second, application can also be limited by version identifier The access rights of program make application program that process associated with the application program can only be accessed, and other can not be accessed The process of application program, to improve the safety of application program.
Since process refers to the program example being currently running, each process will certainly occupy one in the process of running Fixed resource, so, for the ease of the execution of subsequent step, the payment application journey can also be listed together in old process list Each process in the early version of sequence in the process of running needed for resource file.Specifically, the following two kinds mode can be passed through Come obtain the payment application early version each process in the process of running needed for resource:In the first way, The resource corresponding to each version identifier is respectively stored in resources bank corresponding with the version identifier in advance, for example, branch Pay precious 7.7 versions and correspond to a resources bank, each process in the version in the process of running needed for whole resources all deposit Storage is in the resources bank;Therewith similarly, 8.0 version of Alipay then corresponds to an other resources bank.Therefore, according to application The version identifier of program navigates to corresponding resources bank, you can obtains whole resource informations in the resources bank.In second of side In formula, it is not necessary to each resource is stored in respectively in corresponding resources bank, need to only make resource information (such as the resource of each resource Name) in carry corresponding version identifier.For example, each process of 8.0 version of Alipay in the process of running needed for money Source carries version identifier " 8.0 version of Alipay ", each process of 7.7 version of Alipay in the process of running needed for resource Version identifier " 7.7 version of Alipay " is then carry, in addition, some resources may appear in two even more versions simultaneously Application program corresponding to process in, therefore in this kind of resource simultaneously carry two even more versions version mark Know.In this way, whole resources corresponding with the version identifier directly can be got rapidly according to version identifier, and When, there are when a large amount of same assets, this kind of mode can significantly save memory space between different editions.
Step S220:It is target process by the multiple Processes Tags for meeting predetermined characteristic in old process list.
The effect of this step is:According to the feature of process, it will need each process deleted is unified to identify in early version Out and it is labeled as target process, so as to delete operation of seeking unity of action in subsequent step.In particular it is required which process deleted Typically determined by the purpose of this version updating.For example, when the purpose of certain version updating is to repair early version In some program errors (bug), with reduce program report an error rate when, need the process deleted to be primarily referred to as:In implementation procedure In the process that reports an error, and there are the processes of incidence relation with the process that reports an error.It at this moment, can be according to the process of the process to report an error Feature (such as name feature of the type feature of process, process) etc. identifies and marks target process.For another example, when certain primary version This newer purpose is to improve some functions of early version, and/or when additionally increasing some new functions, needs the process deleted It is primarily referred to as:Process associated with function to be improved.Assuming that needing the work(for improving or increasing newly a third party on behalf of payment Can, then need the process deleted to be primarily referred to as:In early version work(is paid out for realizing the process for paying out function and with realization There are the processes of incidence relation for the process of energy.It at this moment, can be according to the feature of process, such as the information field of process and/or school It tests in field and whether to identify comprising preset feature field and mark target process:When process information field and/or When in check field including preset feature field, determine that the process meets predetermined characteristic;When a process information field and/ Or when not including preset feature field in check field, it is determined that the process does not meet predetermined characteristic.Wherein, feature field one As refer to realize pay out the shared field that all multi-process of function have.
Specific implementation when, it is assumed that shared in the old process list corresponding to the early version of payment application 50 into Journey, i.e.,:The payment application of the early version needs to start 50 processes in start-up course, wherein labeled by this step Number of processes for target process may be 10,20, it is also possible to be 50.In short, being marked as the process of target process Quantity depends on specific application scenarios, either the Partial Process in old process list, can also be in old process list Whole processes.
Step S230:Respectively determine have been labeled as target process each process be monitoring process or monitored process, when When determining that a process is monitoring process, step S240 is executed;When the process that determines is monitored process, step S250 is executed.
For example, it is assumed that 50 processes are shared in old process list corresponding to the early version of payment application, in step Mark 10 target process in total in rapid S220, then in this step, judge respectively in 10 target process each into Journey belongs to monitoring process still monitored process.Wherein, monitoring process is one-to-one with monitored process, one monitor into Cheng Biran corresponds to a monitored process, and a monitored process also necessarily corresponds to a monitoring process.Monitoring process Effect is:Corresponding monitored running state of a process is monitored, when monitoring that monitored running state of a process is abnormal When (including report an error, abnormal exit), then re-create a new monitored process, with substitute occur it is abnormal be monitored into Journey.In this step, it can determine that it belongs to monitoring process still monitored process by the attribute information of process.
Step S240:When the process that determines is monitoring process, judge that the monitored process corresponding to the monitoring process is It is no to be marked as target process, when judging result is no, the monitored process corresponding to the monitoring process is searched, and will look into The monitored Processes Tag found is target process.
Specifically, it when the process that determines is monitoring process, searches and is labeled 10 targets out in old process list Process, to determine whether comprising the monitored process corresponding to the monitoring process in this 10 target process, if 10 targets Include the monitored process corresponding to the monitoring process in process, has then been not necessarily to carry out any extra process;If 10 targets Do not include the monitored process corresponding to the monitoring process in process, then needs to further search for the quilt corresponding to the monitoring process Monitoring process, and be target process by the monitored process supplemental markers found.When specific lookup, can first it be arranged in old process It is searched in table, when being inquired not in old process list then, further can also mutually be put into other in inquiry operation system Cheng Liebiao, and be target process by the monitored process supplemental markers found.
Step S250:When the process that determines is monitored process, the monitoring process corresponding to the monitored process is judged Whether it is marked as target process, when judging result is no, has searched the monitoring process corresponding to the monitored process, and will The monitoring process found is labeled as target process.
Specifically, it when the process that determines is monitored process, searches and is labeled 10 mesh out in old process list Mark process, to determine whether comprising the monitoring process corresponding to the monitored process in this 10 target process, if 10 mesh Include the monitoring process corresponding to the monitored process in mark process, has then been not necessarily to carry out any extra process;If 10 mesh Do not include the monitoring process corresponding to the monitored process in mark process, then needs to further search for corresponding to the monitored process Monitoring process, and by the monitoring process supplemental markers found be target process.When specific lookup, can first it be arranged in old process It is searched in table, when being inquired not in old process list then, further can also mutually be put into other in inquiry operation system Cheng Liebiao, and be target process by the monitoring process supplemental markers found.
Due in subsequent delete operation, if only delete monitored process without delete its it is corresponding monitor into Journey, monitoring process can re-create a new monitored process after monitored process is deleted, so as to cause deleting before Division operation loses meaning;If only deleting monitoring process without deleting its corresponding monitored process, the quilt can be caused Monitoring process holds over system resource, not only causes the waste of resource, is also easy to that program is caused to report an error.It can be seen that passing through Step S230 to step S250, can make target process to be deleted more comprehensive.
Step S260:Each target process is deleted according to parallel mode.
Needed in this step the target process deleted be included in the target complete that is marked in step S220 to step S250 into Journey.When deleting each target process in a parallel fashion, first each target process can be added in preset first concurrent pond, so Afterwards, each target process in the first concurrent pond is deleted by multiple deletion process concurrently executed.For example, it is assumed that in step 15 target process are marked in S220 to step S250 altogether, then this 15 target process are added to the first concurrent pond first In, then, 15 deletion process concurrently executed are created, each deletion process is made to be corresponded with each target process, it is each Deletion process takes out corresponding target process and is deleted from the first concurrent pond, and thereby, it is possible to be directed to 15 targets simultaneously Process executes delete operation, significantly improves the efficiency of delete operation, shortens the stand-by period.Distinguish for each target process Deletion efficiency can farthest be improved by creating the mode of a corresponding deletion process, still, due to each deletion process Certain system resource can be all occupied in the process of implementation, it therefore, can also be first by target in the case of limited system resources Process is divided into multiple target process set, then creates a corresponding deletion process for each target process set, to The quantity of deletion process is reduced, system resource is saved, for example, 15 target process can be divided into 5 target process set, Then the deletion process that is concurrently executed by 5 while each target process set is deleted.Specifically, the establishment of deletion process and Deletion mode can be realized in accordance with redim rules, moreover, in deletion process, it is also necessary to will resource associated with the process It deletes together.
In delete target process, those skilled in the art can also by third party's tool (such as rigger etc. send out version Tool) carry out deletion process, furthermore, it is also possible to by the order line form realization for batch deletion process, specifically, at one Comprising whole target process in order line, to which all target process be deleted simultaneously.Moreover, delete target process it Afterwards, further deleted each process can also be shown in preset delete list, for confirming.
In addition, the service function corresponding to each target process is interrupted in order to prevent, after deleting each target process, It can also further judge whether the data content corresponding to each target process needs to handle:If judging a target process Corresponding data content is not required to handle, then directly deletes data content corresponding with the target process together, for example, working as When service function corresponding to one target process is cancelled, corresponding to data content need not also execute subsequent processing, Therefore it deletes together;If judging, the data content corresponding to a target process still needs to handle, will with the target into In the corresponding data content storage to preset message queue of journey, for the process processing in new version, for example, when a mesh When service function corresponding to mark process is replaced by the process in new version, corresponding to data content still need to turn by new version In process processing, therefore be deposited into preset message queue, remain the process processing in new version.Wherein, message team Row are the containers that message is preserved in message transmitting procedure, can sequentially store the message received.
Step S270:Obtain the new process list corresponding to the new version of payment application.
Wherein, the new version of payment application refers to the version carried out after version updating.Under normal circumstances, new version Version number is higher than the version number of early version, for example, for the early versions such as Alipay 7.7 and Alipay 8.0, new version can It can be 9.0 version of Alipay.Required whole processes when in the new process list corresponding to new version comprising publication new version Information, these progress informations include process title, the resource file etc. needed for process.
Step S280:Each process in new process list is issued according to parallel mode.
It wherein, can first will be each in new process list when issuing each process in new process list in a parallel fashion The progress information of a process is added in preset second concurrent pond, then, is issued by multiple publishing process concurrently executed Each process in second concurrent pond.For example, it is assumed that including altogether 20 processes in new process list, then first by this 20 processes It is added in the second concurrent pond, then, corresponding to create 20 publishing process concurrently executed, each publishing process is concurrent from second Corresponding process is taken out in pond and publication operation is carried out to it, thereby, it is possible to execute publication operation for 20 processes simultaneously, is shown The efficiency for improving publication operation is write, the stand-by period is shortened.Alternatively, it is also possible to which first the process in the second concurrent pond is divided into Then multiple process collections create a corresponding publishing process for each process collection, for example, can divide 20 processes For 10 target process set, the publishing process then concurrently executed by 10 while each process collection is issued.Specifically, The establishment of publishing process and deletion mode can also be realized in accordance with redim rules.In addition, in the publication operation of executive process, Those skilled in the art can also realize by third party's tool (such as the hair version such as rigger tool).
In addition, for the early version before making new version be compatible with, after each process in issuing new process list, newly Data content is taken out in the message queue that process can also be mentioned from step S260 and is sequentially handled, to make new process It substitutes old process and service is provided.
Old process to be deleted uniformly can be identified and be marked by the method in through this embodiment, to simultaneously Line mode is quickly deleted, additionally it is possible to by new process to be released release quickly in a parallel fashion, application program be greatly shortened The version time is sent out, hair version efficiency is improved.
Fig. 3 shows the functional block diagram of the version updating device of application program provided by one embodiment of the present invention.Such as Fig. 3 Shown, which includes:
First acquisition module 31 is suitable for obtaining the first process list corresponding to the first version of application program;
Removing module 32, suitable for being target process by the multiple Processes Tags for meeting predetermined characteristic in the first process list, Each target process is deleted in a parallel fashion;
Second acquisition module 33 is suitable for obtaining the second process list corresponding to the second edition of application program;
Release module 34, each process being adapted in the second process list of publication.
Wherein, the first acquisition module 31 is specifically used for:According to the version identifier of the first version of application program, obtains and be somebody's turn to do The corresponding process of version identifier, the progress information of each process got is loaded into the first process list.
Wherein, removing module 32 is specifically used for:Judge information field and/or the school of each process in the first process list Whether include preset feature field, if it is judged that being yes, it is determined that the process meets predetermined characteristic if testing in field;If Judging result is no, it is determined that the process does not meet predetermined characteristic.
Also, removing module 32 is further used for:Respectively determine have been labeled as target process each process be monitor into Journey or monitored process;When the process that determines is monitoring process, judge whether is monitored process corresponding to the monitoring process It has been marked as target process, when judging result is no, has searched the monitored process corresponding to the monitoring process, and will search The monitored Processes Tag arrived is target process;When the process that determines is monitored process, judge that the monitored process institute is right Whether the monitoring process answered has been marked as target process, when judging result is no, searches corresponding to the monitored process Monitoring process, and the monitoring process found is labeled as target process.
Removing module 32 is specifically used for:Each target process is added in the first concurrent pond, is concurrently executed by multiple Deletion process deletes each target process in the first concurrent pond;Release module 34 is specifically used for:It will be in the second process list Each process is added in the second concurrent pond, by multiple publishing process concurrently executed issue in the second concurrent ponds it is each into Journey.
Optionally, in order to avoid loss of data, which further comprises:Memory module is suitable for each target process In corresponding data content storage to preset message queue, for each process processing in the second process list.
The specific working mode of above-mentioned modules can refer to the description of corresponding portion in embodiment of the method, no longer superfluous herein It states.
In the method for updating edition and device of application program provided by the invention, on the one hand, can be according to the spy of process It levies, multiple Processes Tags that predetermined characteristic is met in the first process list corresponding to the first version by application program are target Process, and each target process is deleted by parallel mode simultaneously, from without selecting old process to be deleted one by one, significantly carry Processing speed when the old process of high deletion.On the other hand, since the old process of the deletion has all been deleted, it is sending out Can each new process be issued simultaneously in a parallel fashion when the new process of cloth, publication speed when new process is issued to significantly improve Degree.The hair version time is substantially shortened as a result, improves hair version efficiency.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means to be in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is arbitrary it One mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize some or all portions in device according to the ... of the embodiment of the present invention The some or all functions of part.The present invention is also implemented as the part or complete for executing method as described herein The equipment or program of device (for example, computer program and computer program product) in portion.Such program for realizing the present invention It can may be stored on the computer-readable medium, or can be with the form of one or more signal.Such signal can be with It downloads and obtains from internet website, either provided on carrier signal or provide in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.
The invention also discloses A7, a kind of version updating devices of application program, including:
First acquisition module is suitable for obtaining the first process list corresponding to the first version of application program;
Removing module, suitable for will meet in first process list predetermined characteristic multiple Processes Tags be target into Journey deletes each target process in a parallel fashion;
Second acquisition module is suitable for obtaining the second process list corresponding to the second edition of the application program;
Release module is adapted to issue each process in second process list.
A8, the device according to A7, wherein first acquisition module is specifically used for:According to the application program The version identifier of first version obtains process corresponding with the version identifier, by the progress information of each process got It is loaded into first process list.
A9, the device according to A7 or 8, wherein the removing module is specifically used for:Judge first process list In each process information field and/or check field in whether include preset feature field, if it is judged that be it is yes, Then determine that the process meets predetermined characteristic;If it is judged that being no, it is determined that the process does not meet predetermined characteristic.
A10, according to any devices of A7-9, wherein the removing module is further used for:It determines respectively marked Each process for target process is monitoring process or monitored process;When the process that determines is monitoring process, the prison is judged Whether the monitored process corresponding to control process has been marked as target process, when judging result be it is no when, search the monitoring into Monitored process corresponding to journey, and be target process by the monitored Processes Tag found;When the process that determines is to be supervised When control process, judge whether the monitoring process corresponding to the monitored process has been marked as target process, when judging result is When no, the monitoring process corresponding to the monitored process is searched, and the monitoring process found is labeled as target process.
A11, according to any devices of A7-10, wherein the removing module is specifically used for:By each target process Be added in the first concurrent pond, by multiple deletion process concurrently executed delete each target in the described first concurrent pond into Journey;
Wherein, the release module is specifically used for:It is concurrent that each process in second process list is added second Chi Zhong issues each process in the described second concurrent pond by multiple publishing process concurrently executed.
A12, according to any devices of A7-11, wherein further comprise:Memory module, be suitable for by each target into In data content storage to preset message queue corresponding to journey, at each process in second process list Reason.

Claims (12)

1. a kind of method for updating edition of application program, including:
The first process list corresponding to the first version of application program is obtained, predetermined spy will be met in first process list Multiple Processes Tags of sign are target process, delete each target process in a parallel fashion;
The second process list corresponding to the second edition of the application program is obtained, issues second process in a parallel fashion Each process in list;
Wherein, the laggard of the step of multiple Processes Tags of predetermined characteristic are target process will be met in first process list One step includes:
Determine that each process for having been labeled as target process is monitoring process or monitored process respectively;
When the process that determines is monitoring process, judge whether the monitored process corresponding to the monitoring process has been marked as mesh Mark process searches the monitored process corresponding to the monitoring process when judging result is no, and by being monitored of finding into Journey is labeled as target process;
When the process that determines is monitored process, judge whether the monitoring process corresponding to the monitored process has been marked as Target process searches the monitoring process corresponding to the monitored process when judging result is no, and by the monitoring found into Journey is labeled as target process.
2. according to the method described in claim 1, wherein, the first process corresponding to the first version for obtaining application program The realization method of list includes:
According to the version identifier of the first version of the application program, process corresponding with the version identifier is obtained, will be obtained To the progress information of each process be loaded into first process list.
3. method according to claim 1 or 2, wherein determine in the following manner each in first process list Whether a process meets predetermined characteristic:
Judge in the information field and/or check field of each process in first process list whether to include preset spy Field is levied, if it is judged that being yes, it is determined that the process meets predetermined characteristic;If it is judged that being no, it is determined that should be into Journey does not meet predetermined characteristic.
4. method according to claim 1 or 2, wherein delete the realization method packet of each target process in a parallel fashion It includes:Each target process is added in the first concurrent pond, it is concurrent to delete described first by multiple deletion process concurrently executed Each target process in pond;
Wherein, the realization method for issuing each process in second process list in a parallel fashion includes:By described second Each process in process list is added in the second concurrent pond, simultaneously by multiple publishing process publications described second concurrently executed Send out each process in pond.
5. method according to claim 1 or 2, wherein further comprise step:By the number corresponding to each target process It is stored into preset message queue according to content, for each process processing in second process list.
6. a kind of version updating device of application program, including:
First acquisition module is suitable for obtaining the first process list corresponding to the first version of application program;
Removing module, suitable for being target process by the multiple Processes Tags for meeting predetermined characteristic in first process list, with Parallel mode deletes each target process;
Second acquisition module is suitable for obtaining the second process list corresponding to the second edition of the application program;
Release module is adapted to issue each process in second process list;
Wherein, the removing module is further used for:Determine that each process for having been labeled as target process is monitoring process respectively Or monitored process;When the process that determines is monitoring process, judge monitored process corresponding to the monitoring process whether It is marked as target process, when judging result is no, searches the monitored process corresponding to the monitoring process, and will find Monitored Processes Tag be target process;When the process that determines is monitored process, judge corresponding to the monitored process Monitoring process whether be marked as target process, when judging result is no, search the prison corresponding to the monitored process Control process, and the monitoring process found is labeled as target process.
7. device according to claim 6, wherein first acquisition module is specifically used for:According to the application program First version version identifier, corresponding with version identifier process is obtained, by the process letter of each process got Breath is loaded into first process list.
8. the device described according to claim 6 or 7, wherein the removing module is specifically used for:Judge the first process row Whether include preset feature field in the information field and/or check field of each process in table, if it is judged that being It is, it is determined that the process meets predetermined characteristic;If it is judged that being no, it is determined that the process does not meet predetermined characteristic.
9. the device described according to claim 6 or 7, wherein the removing module is specifically used for:Each target process is added In first concurrent pond, each target process in the described first concurrent pond is deleted by multiple deletion process concurrently executed;
Wherein, the release module is specifically used for:Each process in second process list is added in the second concurrent pond, Each process in the described second concurrent pond is issued by multiple publishing process concurrently executed.
10. the device described according to claim 6 or 7, wherein further comprise:Memory module is suitable for each target process In corresponding data content storage to preset message queue, for each process processing in second process list.
11. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of the method for updating edition of the application program described in any one of 1-5.
12. a kind of computer storage media, an at least executable instruction, the executable instruction are stored in the storage medium Make the corresponding operation of method for updating edition of application program of the processor execution as described in any one of claim 1-5.
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 CN105302604A (en) 2016-02-03
CN105302604B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446219B (en) * 2018-03-01 2021-07-13 网易宝有限公司 Application program operation method, system, medium and computing device
CN117369835A (en) * 2023-06-09 2024-01-09 贵州爱信诺航天信息有限公司 Forced patch installation method based on daemon

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

Also Published As

Publication number Publication date
CN105302604A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
EP3769223B1 (en) Unified test automation system
US20210342313A1 (en) Autobuild log anomaly detection methods and systems
US8225288B2 (en) Model-based testing using branches, decisions, and options
US7984426B2 (en) Graphical representation of dependencies between changes of source code
US9734043B2 (en) Test selection
US9251165B2 (en) End to end automation of application deployment
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
US8713554B1 (en) Automated hotfix handling model
CN103632219A (en) Method and system for reallocating jobs for checking data quality
US9542173B2 (en) Dependency handling for software extensions
US20200364132A1 (en) System and method of writing, planning and executing manual tests utilizing hosting services for version control and project boards
CN106227769B (en) Date storage method and device
CN105302604B (en) The method for updating edition and device of application program
US11544050B1 (en) Software patch automation
US9716625B2 (en) Identifying compatible system configurations
CN110413210A (en) For handling the method, equipment and computer program product of data
CN112734387A (en) Document approval method and device, electronic equipment and storage medium
US10116512B2 (en) Service discovery and/or effort estimation in networked computing environments
CN102682038A (en) Database change method and device
CN112130962B (en) Continuous delivery platform and method for deploying application system by using same
CN114936152A (en) Application testing method and device
US10657476B2 (en) Just in time compilation (JIT) for business process execution
US20130090962A1 (en) Providing variability and materialization over links connecting product line resources
Logesh et al. Supply Chain Data Management for Web Services
US11748680B2 (en) System for internal audit and internal control management and related methods

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

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.

TR01 Transfer of patent right