CN106897095B - Method and device for hot repairing application program, readable storage medium and computing equipment - Google Patents

Method and device for hot repairing application program, readable storage medium and computing equipment Download PDF

Info

Publication number
CN106897095B
CN106897095B CN201710104390.0A CN201710104390A CN106897095B CN 106897095 B CN106897095 B CN 106897095B CN 201710104390 A CN201710104390 A CN 201710104390A CN 106897095 B CN106897095 B CN 106897095B
Authority
CN
China
Prior art keywords
application program
repair
hot
hot repair
server
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
CN201710104390.0A
Other languages
Chinese (zh)
Other versions
CN106897095A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710104390.0A priority Critical patent/CN106897095B/en
Publication of CN106897095A publication Critical patent/CN106897095A/en
Application granted granted Critical
Publication of CN106897095B publication Critical patent/CN106897095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a method and a device for hot repairing of an application program, a readable storage medium and a computing device. The method comprises the following steps: when an application program is started, a hot repair mechanism for carrying out hot repair on the application program is requested from a server; acquiring a hot repair mechanism indicated by the server; and performing hot repair on the application program based on the hot repair mechanism indicated by the server. The technical scheme of the invention can flexibly select the hot repair mechanism of the application program according to the actual situation, thereby ensuring the defect of the application program to be repaired in time and ensuring the use experience of a user.

Description

Method and device for hot repairing application program, readable storage medium and computing equipment
Technical Field
The embodiment of the invention relates to the technical field of communication and computers, in particular to a method, a device, a readable storage medium and a computing device for application program hot repair.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
The hot repair is a way of quickly repairing defects of an Application program (App for short) version at low cost, and does not depend on version update of the Application program to repair bugs of the Application program.
At present, the hot repair mechanisms proposed in the related art mainly include an asynchronous repair mechanism and a synchronous repair mechanism. The asynchronous repair mechanism is that when the App is started, the server is asynchronously inquired whether the App needs to be subjected to hot repair, if so, a hot repair patch is downloaded and stored in an asynchronous thread, and then the hot repair patch is loaded at a proper time to repair the existing defects of the App; the synchronous repair mechanism is used for inquiring whether a server needs hot repair when the App is started, and if so, firstly executing the downloading and loading processes of a hot repair patch and then running the App.
Disclosure of Invention
However, the thermal repair mechanism adopted by App in the prior art cannot be flexibly selected according to actual conditions, so that certain defects exist in the thermal repair process more or less. Specifically, when an asynchronous repair mechanism is used, if the crash defect of the App occurs in the period from the start of the App to the completion of the downloading of the hot repair patch, the hot repair patch cannot be downloaded forever, and the defect of the App cannot be repaired; when a synchronous repair mechanism is used, if a hot repair patch needs to be downloaded when an App is started, and a patch file is large or a network environment is poor, the problem that the App can normally run after waiting for a long time occurs, and user experience is seriously influenced.
Therefore, an improved thermal repair scheme is highly needed, which can flexibly select a thermal repair mechanism of an application program according to actual conditions, thereby ensuring timely repair of defects of the application program and ensuring user experience.
In this context, embodiments of the present invention are intended to provide a method and apparatus for application hot-fix.
In a first aspect of embodiments of the present invention, there is provided a method for application program hot repair, including: when an application program is started, a hot repair mechanism for carrying out hot repair on the application program is requested from a server; acquiring a hot repair mechanism indicated by the server; and performing hot repair on the application program based on the hot repair mechanism indicated by the server.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: detecting whether a connection can be established with the server; and when detecting that the connection with the server can be established, requesting a hot repair mechanism for performing hot repair on the application program from the server.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: when detecting that the connection with the server cannot be established, judging whether a hot repair patch of the application program is downloaded; if the hot repair patch of the application program is downloaded, loading the hot repair patch, and running the application program after the hot repair patch is loaded; and if the hot repair patch of the application program is not downloaded, directly running the application program.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: judging whether the application program needs to be forcibly repaired or not; requesting a hot repair mechanism for hot repairing the application program from the server when judging that the forced repairing of the application program is not needed; and when the application program needs to be forcibly repaired, acquiring and loading a hot repair patch of the application program, and running the application program after the hot repair patch is loaded.
In some embodiments of the present invention, the step of determining whether to perform forced repair on the application program based on the foregoing scheme includes: detecting whether the hot repair state of the application program is a forced repair state; and when the hot repair state of the application program is a forced repair state, judging that the forced repair of the application program is needed.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: and if the application program crashes in the running process, setting the hot repair state of the application program as the forced repair state.
In some embodiments of the present invention, based on the foregoing solution, in a case that the server-indicated hot repair mechanism is a synchronous repair mechanism, the step of performing hot repair on the application based on the server-indicated hot repair mechanism includes: acquiring a hot repair patch of the application program; loading a hot fix patch of the application; running the application after loading the hot fix patch.
In some embodiments of the present invention, based on the foregoing solution, in a case that the server-indicated hot repair mechanism is an asynchronous repair mechanism, the step of performing hot repair on the application based on the server-indicated hot repair mechanism includes: judging whether a hot repair patch of the application program is stored or not based on a first thread, and downloading the hot repair patch of the application program based on a second thread; if the first thread determines that the hot repair patch of the application program is stored, loading the hot repair patch of the application program, and running the application program after the hot repair patch is loaded; and if the first thread judges that the hot repair patch of the application program is not stored, directly running the application program.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: and when the server indicates that the application program is not subjected to hot repair, directly running the application program.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: in the running process of the application program, if the application program is detected to be abnormal, determining the type of the abnormality; and reporting the type of the exception to the server.
In some embodiments of the present invention, based on the foregoing scheme, the type of the exception includes an exception caused by the version of the application and/or an exception caused by a hot fix patch of the application.
In a second aspect of the embodiments of the present invention, there is provided a method for application program hot repair, including: receiving request information from a client; responding the request information to allocate a hot repair mechanism for performing hot repair on the application program to the client; indicating the assigned hot repair mechanism to the client.
In some embodiments of the invention, based on the foregoing scheme, the client is assigned the hot fix mechanism according to a combination of any one or more of the following factors:
the data size of the hot repair patch of the application program, the network state between the application program and the client and the requirement on the starting delay of the client.
In a third aspect of embodiments of the present invention, there is provided an apparatus for application program thermal repair, including: the device comprises a request unit, a processing unit and a processing unit, wherein the request unit is used for requesting a hot repair mechanism for performing hot repair on an application program from a server when the application program is started; an obtaining unit, configured to obtain a thermal repair mechanism indicated by the server; and the processing unit is used for performing hot repair on the application program based on the hot repair mechanism indicated by the server.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: the detection unit is used for detecting whether the client of the application program can establish connection with the server or not; the request unit is configured to request a hot repair mechanism for hot repair of the application program from the server when the detection unit detects that the client can establish connection with the server.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: a first judging unit, configured to judge whether a hot fix patch of the application program has been downloaded when the detecting unit detects that the client cannot establish a connection with the server; the processing unit is further configured to load the hot repair patch when the first determination unit determines that the hot repair patch of the application program has been downloaded, run the application program after the hot repair patch is loaded, and directly run the application program when the first determination unit determines that the hot repair patch of the application program has not been downloaded.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: the second judgment unit is used for judging whether the forced repair of the application program is needed or not; the requesting unit is configured to request a hot repair mechanism for performing hot repair on the application program from the server when the second determining unit determines that forced repair on the application program is not required; the processing unit is further configured to, when the second determination unit determines that the forced repair of the application program is required, obtain and load a hot repair patch of the application program, and run the application program after the hot repair patch is loaded.
In some embodiments of the present invention, based on the foregoing solution, the second determination unit is configured to: detecting whether the hot repair state of the application program is a forced repair state; and when the hot repair state of the application program is a forced repair state, judging that the forced repair of the application program is needed.
In some embodiments of the present invention, based on the foregoing scheme, if the application crashes in the running process, the hot repair state of the application is set as the forced repair state.
In some embodiments of the present invention, based on the foregoing solution, the processing unit is configured to: under the condition that the hot repair mechanism indicated by the server is a synchronous repair mechanism, acquiring a hot repair patch of the application program; loading a hot fix patch of the application; running the application after loading the hot fix patch.
In some embodiments of the present invention, based on the foregoing solution, the processing unit is configured to: under the condition that the hot repair mechanism indicated by the server is an asynchronous repair mechanism, judging whether a hot repair patch of the application program is stored or not based on a first thread, and downloading the hot repair patch of the application program based on a second thread; if the first thread determines that the hot repair patch of the application program is stored, loading the hot repair patch of the application program, and running the application program after the hot repair patch is loaded; and if the first thread judges that the hot repair patch of the application program is not stored, directly running the application program.
In some embodiments of the present invention, based on the foregoing solution, the processing unit is further configured to: and when the server indicates that the application program is not subjected to hot repair, directly running the application program.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: the determining unit is used for determining the type of the abnormity if the abnormity of the application program is detected in the running process of the application program; and the reporting unit is used for reporting the type of the abnormity to the server.
In some embodiments of the present invention, based on the foregoing scheme, the type of the exception includes an exception caused by the version of the application and/or an exception caused by a hot fix patch of the application.
In a fourth aspect of the embodiments of the present invention, there is provided an apparatus for application program thermal repair, including: a receiving unit, configured to receive request information from a client; the processing unit is used for responding to the request information so as to distribute a hot repair mechanism for performing hot repair on the application program to the client; an indicating unit, configured to indicate the allocated thermal repair mechanism to the client.
In some embodiments of the invention, based on the foregoing scheme, the client is assigned the hot fix mechanism according to a combination of any one or more of the following factors: the data size of the hot repair patch of the application program, the network state between the application program and the client and the requirement on the starting delay of the client.
In a fifth aspect of embodiments of the present invention, there is provided a readable storage medium, on which a program is stored, which program, when executed by a processor, performs the method according to the first aspect as set forth above.
In a sixth aspect of embodiments of the present invention, there is provided a readable storage medium, on which a program is stored, which program, when executed by a processor, implements the method according to the second aspect described above.
In a seventh aspect of embodiments of the present invention, there is provided a computing device comprising: a processor and a memory, the memory storing executable instructions, the processor being configured to invoke the memory stored executable instructions to perform the method according to the aforementioned first aspect.
In an eighth aspect of embodiments of the present invention, there is provided a computing device comprising: a processor and a memory, the memory storing executable instructions, the processor being configured to invoke the memory stored executable instructions to perform the method according to the second aspect.
According to the method and the device for the application program thermal repair, when the application program is started, the server is requested to perform the thermal repair mechanism for performing the thermal repair on the application program, the application program is thermally repaired based on the thermal repair mechanism indicated by the server, so that the server can manage the thermal repair mechanism of the application program, the thermal repair mechanism of the application program can be flexibly selected according to actual conditions, the defects of the application program can be repaired in time, and the use experience of a user can be guaranteed.
According to the method and the device for the application program hot repair, when the application program is abnormal, the type of the abnormality is determined, namely the abnormality caused by the version of the application program or the abnormality caused by the hot repair patch of the application program is determined, and the type of the abnormality is reported to the server, so that a developer can distinguish whether the abnormality of the application program is caused by the version of the application program or the hot repair patch according to the type of the abnormality, and the developer can conveniently maintain the application program.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates a flow chart of a method of thermal remediation of an application according to a first embodiment of the present invention;
FIG. 2 schematically shows a detailed flowchart of one embodiment of step S16 shown in FIG. 1;
FIG. 3 schematically shows a detailed flowchart of another embodiment of step S16 shown in FIG. 1;
FIG. 4 schematically shows a flow chart of a method of thermal remediation of an application according to a second embodiment of the invention;
FIG. 5 schematically shows a flow chart of a method of thermal remediation of an application according to a third embodiment of the invention;
FIG. 6 schematically shows a flow chart of a method of thermal remediation of an application according to a fourth embodiment of the invention;
FIG. 7 schematically shows a flow chart of a method of thermal remediation of an application according to a fifth embodiment of the invention;
FIG. 8 schematically illustrates a state machine flow diagram for a hot fix state according to an embodiment of the invention;
FIG. 9 schematically shows a flow chart of a method of application hot-fix according to a sixth embodiment of the invention;
FIG. 10 schematically shows a block diagram of an apparatus for application hot fix according to a first embodiment of the present invention;
fig. 11 schematically shows a block diagram of an apparatus for application hot repair according to a second embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a method and a device for hot repairing of an application program are provided.
In this context, it is to be understood that the term "application" as referred to refers to a computer program intended to perform some specific task or tasks, including but not limited to an App in a mobile device (e.g., a smartphone, a tablet, etc.); the term "server" refers to a computer system providing services for an application program, for example, an internet-accessible cloud reading product server provides services such as data computation, user information storage, book management and the like for a cloud reading application client; the term "client" refers to a program corresponding to a server and providing a local service for a user, for example, when a user opens a certain interface in a client, the client sends a request to the server, the server returns data to the client according to the request, the client presents a final interface to the user, and if the user performs an input operation on the interface presented by the client, the client sends corresponding data to a product server, and the product server stores the data. The term "hot fix patch" refers to a series of code used to fix a software bug.
Moreover, any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that the heat repairing mechanism adopted by the App in the prior art cannot be flexibly selected according to actual conditions, so that certain defects exist in the heat repairing process more or less.
In addition, after the application is repaired, if the existing hot repair mechanism has a defect in the hot repair patch, the existing hot repair mechanism cannot be distinguished from the defect of the application version.
Therefore, the embodiment of the invention provides an improved method and device for application program thermal repair, which can flexibly select a thermal repair mechanism of an application program according to actual conditions, further ensure that defects of the application program are repaired in time, and simultaneously ensure the use experience of a user.
In addition, the method and the device can report the type of the application program with the exception to the server, so that a developer can distinguish whether the exception of the application program is caused by the version of the application program or the hot repair patch according to the type of the application program, and the developer can conveniently maintain the application program.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
The following application scenarios are merely illustrative for facilitating an understanding of the spirit and principles of the present invention, and embodiments of the present invention are not limited in any way in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
Scene one: when a user uses a mobile terminal (such as a smart phone, a tablet personal computer and the like), an application program required to be used is started, for example, an icon of the application program required to be used is clicked, the application program can communicate with a server before normal operation, so that a thermal repair mechanism which is indicated by the server and used for performing thermal repair on the application program is determined, and then thermal repair processing is performed on the application program based on the thermal repair mechanism indicated by the server.
Scene two: after the application program is subjected to the hot repair, if an abnormality occurs in the running process, the type of the abnormality is determined, for example, the abnormality is caused by the version of the application program or the abnormality is caused by a hot repair patch of the application program, and the determined type of the abnormality is reported to the server, so that a developer can position a fault point according to the type of the abnormality, and the developer can maintain the application program conveniently.
Exemplary method
In conjunction with the application scenarios described above, a method for application hot-fix according to an exemplary embodiment of the present invention is described below with reference to fig. 1-8.
The first embodiment is as follows:
fig. 1 schematically shows a flow chart of a method of thermal healing of an application according to a first embodiment of the present invention.
As shown in fig. 1, the method for thermal repair of an application according to the first embodiment of the present invention includes the steps of:
step S12, when the application program is started, a hot repair mechanism for performing hot repair on the application program is requested from the server.
Ways to launch an application include, but are not limited to: the method comprises the steps of clicking an icon of an application program on a touch display screen to start the application program, selecting and starting the application program through input settings (such as a mouse, a keyboard and the like), and starting the application program in a voice control mode.
And step S14, acquiring the hot repair mechanism indicated by the server.
Among other things, the server may assign the hot fix mechanism based on factors including, but not limited to: the data size of the hot repair patch of the application program, the network state between the client of the application program and the client, and the starting time delay of the client.
And step S16, performing hot repair on the application program based on the hot repair mechanism indicated by the server.
According to exemplary timeliness of the present invention, server-directed hot fix mechanisms include, but are not limited to: synchronous repair, asynchronous repair, no repair. The following are described separately:
synchronous repair:
as shown in fig. 2, in the case that the server indicates that the hot repair mechanism is a synchronous repair mechanism, step S16 includes:
and step S162, acquiring a hot repair patch of the application program. The hot repair patch may be obtained by downloading the hot repair patch from a server.
Step S164, loading a hot repair patch of the application program;
and step S166, running the application program after the hot repair patch is loaded.
Asynchronous repair:
as shown in fig. 3, in the case that the server-indicated hot repair mechanism is an asynchronous repair mechanism, step S16 includes:
step S162', determining whether a hot fix patch of the application program has been stored based on the first thread, and downloading the hot fix patch of the application program based on the second thread.
The first thread may be referred to as a main thread, and the second thread may be referred to as a hot repair patch download thread.
Step S164', if the first thread determines that the hot repair patch of the application program is already stored, load the hot repair patch of the application program, and run the application program after loading the hot repair patch.
Step S166', if the first thread determines that the hot repair patch of the application program is not stored, the application program is directly run.
And (3) no repair:
and when the server indicates that the application program is not subjected to hot repair, directly running the application program.
Example two:
as shown in fig. 4, a method for thermal repair of an application according to a second embodiment of the present invention includes:
step S402, starting an application program;
step S404, detecting whether the connection with the server can be established;
step S406, when it is detected that the connection with the server can be established, a hot repair mechanism for hot repairing the application program is requested from the server;
step S408, acquiring a thermal restoration mechanism indicated by the server;
and step S410, performing hot repair on the application program based on the hot repair mechanism indicated by the server.
In the same embodiment, the server-directed hot repair mechanism includes, but is not limited to: synchronous repair, asynchronous repair, no repair.
Example three:
as shown in fig. 5, the method for thermal repairing of an application according to the third embodiment of the present invention further includes, on the basis of fig. 4:
step S412, when it is detected that the connection with the server cannot be established, judging whether a hot repair patch of the application program is downloaded;
step S414, if the hot repair patch of the application program is downloaded, loading the hot repair patch, and running the application program after the hot repair patch is loaded;
in step S416, if the hot repair patch of the application program is not downloaded, the application program is directly run.
Example four:
as shown in fig. 6, a method for thermal repair of an application according to a fourth embodiment of the present invention includes:
in step S602, an application program is started.
Step S604, determining whether the application needs to be forcibly repaired.
According to an exemplary embodiment of the present invention, step S604 includes: detecting whether the hot repair state of the application program is a forced repair state; and when the hot repair state of the application program is a forced repair state, judging that the forced repair of the application program is needed.
According to the exemplary embodiment of the present invention, if the application program crashes in the running process, the hot repair state of the application program is set as the forced repair state.
Step S606, when it is determined that the forced repair of the application program is not required, requesting a hot repair mechanism for performing hot repair on the application program from the server.
Step S608, when it is determined that the application program needs to be forcibly repaired, acquiring and loading a hot repair patch of the application program, and running the application program after the hot repair patch is loaded.
It should be noted that the above embodiments of the present invention may be combined according to actual situations, for example, the solution of the fourth embodiment may be combined with any one of the first embodiment, the second embodiment, and the third embodiment.
For any of the above embodiments, or a combination of multiple embodiments, the method may further include the following steps:
in the running process of an application program, if the application program is detected to be abnormal, determining the type of the abnormality; and reporting the type of the exception to the server. Wherein the type of exception comprises an exception caused by the application version and/or an exception caused by a hot fix patch of the application.
When the application program is abnormal, the abnormal type is determined, and the abnormal type is reported to the server, so that a developer can distinguish whether the abnormality of the application program is caused by the version of the application program or the hot repair patch, and the developer can maintain the application program conveniently.
The technical solution of the new embodiment obtained by combination is described below with reference to fig. 7 by taking the combination of the second embodiment, the third embodiment and the fourth embodiment as an example:
referring to fig. 7, a method of thermal healing of an application according to a fifth embodiment of the present invention includes:
step S702, after the App is started, judging whether a network exists, namely judging whether the connection with the server can be established, if so, executing step S710; if it is determined that there is no network, step S704 is executed.
Step S704, judging whether the downloaded patch files need to be loaded, if so, executing step S706; otherwise, step S708 is executed.
In step S706, the patch file is loaded, and then step S708 is performed.
In step S708, App runs normally.
Step S710, determining whether forced repair is needed, if yes, performing step S712; otherwise, step S714 is performed.
In step S712, the patch file is downloaded, and then step S706 is performed.
Step S714, a hot repair mechanism is requested from the server.
In step S716, it is determined whether the server indicates a synchronous repair mechanism, an asynchronous repair mechanism, or no repair. If yes, go to step S712; if not, go to step S708; if the repair is the asynchronous repair mechanism, step S718A and step S718B are executed.
Step S718A, determining whether the downloaded patch file needs to be loaded through the main thread, if yes, executing step S720; otherwise, step S708 is executed.
Step S718B, inquiring the server through the patch downloading thread whether the patch needs to be downloaded, if yes, executing step S722; otherwise the thread ends.
In step S720, the patch file is loaded, and then step S708 is performed.
In step S722, the patch file is downloaded.
In step S724, the patch file is stored, and then the patch downloading thread ends.
Step S726, in the process of normal operation of the App, if the App crashes (Crash), the repair state is set as forced repair, and the Crash type is uploaded. The crash type includes a crash caused by the App version or a crash caused by the patch file, and of course, in addition to the crash report, the crash type may also be reported when the application program is in other abnormalities, so that a developer can determine whether the application program is in an abnormality caused by the App version or an abnormality caused by the patch file.
And when the repair state is set to be the forced repair, starting a forced repair mechanism after the App is started next time.
As can be seen from fig. 7, the hot repair states of App include four states, namely synchronous repair, asynchronous repair, forced repair (forced synchronous repair), and no repair, and a specific state machine flow is as shown in fig. 8, where three states, namely synchronous repair, asynchronous repair, and no repair, are regulated by the server, and may be no repair by default (for example only); the client sets the hot repair state to the forced repair state only when the application crashes.
When the App sends the collapse defect, whether the defect is caused by the App version or the defect is caused by the patch file is distinguished, and the defect is reported to the server so as to be processed by developers, and the next hot repair patch is sent through the server.
For example, taking the IOS App as an example, when the App crashes, the crashed information can be processed through voidsetuncaugmentionhandler (nsulaughtaccentetionhandler).
The method in the above embodiments may be performed by a terminal running an application program, and more specifically, by an application program, where the terminal may be, for example, a mobile phone, a tablet computer, a game machine, a PDA, and other various electronic devices.
In addition, another method for application hot repair is further provided, where the method is executable by a server corresponding to a client of an application, and specifically as shown in fig. 9, the method includes:
step S902, receiving request information from the client.
Step S904, responding to the request information, to allocate a hot repair mechanism for performing hot repair on the application program to the client.
According to an exemplary embodiment of the invention, the client is assigned the hot fix mechanism according to a combination of any one or more of the following factors: the data size of the hot repair patch of the application program, the network state between the application program and the client and the requirement on the starting delay of the client.
Specifically, if the data volume of the hot repair patch of the application program is large, an asynchronous repair mechanism is preferably adopted, so that the waiting time of a user caused by adopting a synchronous repair machine is prevented from being long; if the data volume of the hot repair patch of the application program is small, a synchronous repair mechanism may be preferably adopted, and an asynchronous repair mechanism may be adopted.
If the network state between the server and the client is poor, an asynchronous repair mechanism can be preferably adopted; if the network state between the server and the client is better, a synchronous repair mechanism may be preferably adopted, and an asynchronous repair mechanism may also be adopted.
If the requirement on the starting time delay of the client is higher, an asynchronous repair mechanism can be preferably adopted; if the requirement on the starting time delay of the client is low, a synchronous repair mechanism can be adopted, and an asynchronous repair mechanism can also be adopted.
In practical application, it is also possible to determine the hot repair mechanism allocated to the client by comprehensively considering a plurality of the above three factors.
Step S906, indicating the allocated thermal repair mechanism to the client.
Exemplary devices
Having described the method of the exemplary embodiment of the present invention, the apparatus for application program thermal remediation of the exemplary embodiment of the present invention will next be described with reference to fig. 10 and 11.
Referring to fig. 10, an apparatus 1000 for application thermal remediation according to a first embodiment of the present invention includes: a requesting unit 1002, an obtaining unit 1004, and a processing unit 1006.
Specifically, the requesting unit 1002 is configured to, when an application program is started, request a server for a hot repair mechanism for performing hot repair on the application program; the obtaining unit 1004 is configured to obtain a hot repair mechanism indicated by the server; processing unit 1006 is configured to perform a hot fix on the application based on the server-indicated hot fix mechanism.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: a detecting unit 1008, configured to detect whether a client of the application is able to establish a connection with the server; the requesting unit 1002 is configured to request a hot-fix mechanism for hot-fixing the application from the server when the detecting unit 1008 detects that the client can establish a connection with the server.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: a first determining unit 1010, configured to determine whether a hot fix patch of the application program has been downloaded when the detecting unit 1008 detects that the client cannot establish a connection with the server; the processing unit 1006 is further configured to load the thermal patch when the first determining unit 1010 determines that the thermal patch of the application program has been downloaded, run the application program after the thermal patch is loaded, and directly run the application program when the first determining unit 1010 determines that the thermal patch of the application program has not been downloaded.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: a second determining unit 1012, configured to determine whether forced repair needs to be performed on the application; the requesting unit 1002 is configured to request a hot repair mechanism for performing hot repair on the application program from the server when the second determining unit 1012 determines that forced repair on the application program is not needed; the processing unit 1006 is further configured to, when the second determining unit 1012 determines that the forced repair of the application program is needed, obtain and load a hot repair patch of the application program, and run the application program after the hot repair patch is loaded.
In some embodiments of the present invention, based on the foregoing solution, the second determining unit 1012 is configured to: detecting whether the hot repair state of the application program is a forced repair state; and when the hot repair state of the application program is a forced repair state, judging that the forced repair of the application program is needed.
In some embodiments of the present invention, based on the foregoing scheme, if the application crashes in the running process, the hot repair state of the application is set as the forced repair state.
In some embodiments of the present invention, based on the foregoing scheme, the processing unit 1006 is configured to: under the condition that the hot repair mechanism indicated by the server is a synchronous repair mechanism, acquiring a hot repair patch of the application program; loading a hot fix patch of the application; running the application after loading the hot fix patch.
In some embodiments of the present invention, based on the foregoing scheme, the processing unit 1006 is configured to: under the condition that the hot repair mechanism indicated by the server is an asynchronous repair mechanism, judging whether a hot repair patch of the application program is stored or not based on a first thread, and downloading the hot repair patch of the application program based on a second thread; if the first thread determines that the hot repair patch of the application program is stored, loading the hot repair patch of the application program, and running the application program after the hot repair patch is loaded; and if the first thread judges that the hot repair patch of the application program is not stored, directly running the application program.
In some embodiments of the present invention, based on the foregoing scheme, the processing unit 1006 is further configured to: and when the server indicates that the application program is not subjected to hot repair, directly running the application program.
In some embodiments of the present invention, based on the foregoing scheme, the method further comprises: a determining unit 1014, configured to, in an operation process of the application program, determine a type of an exception if it is detected that the application program is abnormal; a reporting unit 1016, configured to report the type of the exception to the server.
In some embodiments of the present invention, based on the foregoing scheme, the type of the exception includes an exception caused by the version of the application and/or an exception caused by a hot fix patch of the application.
Referring to fig. 11, an apparatus 1100 for application thermal remediation according to a second embodiment of the present invention includes: a receiving unit 1102, a processing unit 1104 and an indication unit 1106.
Specifically, the receiving unit 1102 is configured to receive request information from a client; the processing unit 1104 is configured to respond to the request information to allocate a hot repair mechanism for hot repairing the application program to the client; an indication unit 1106 is configured to indicate the allocated thermal remediation mechanism to the client.
In some embodiments of the invention, based on the foregoing scheme, the client is assigned the hot fix mechanism according to a combination of any one or more of the following factors: the data size of the hot repair patch of the application program, the network state between the application program and the client and the requirement on the starting delay of the client.
Exemplary device
Having described the method and apparatus of an exemplary embodiment of the present invention, an apparatus for application hot-fix according to another exemplary embodiment of the present invention is described next.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, a device for application hot repair according to an embodiment of the present invention may include at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code that, when executed by the processing unit, causes the processing unit to perform the steps of the method for application hot repair according to various exemplary embodiments of the present invention described in the "exemplary methods" section above in this specification. For example, the processing unit may execute step S12 shown in fig. 1, and when an application is started, request a hot repair mechanism for hot repairing the application from a server; step S14, acquiring the hot repair mechanism indicated by the server; and step S16, performing hot repair on the application program based on the hot repair mechanism indicated by the server. As another example, the processing unit may also perform the steps shown in any of fig. 2 to 7 and 9.
Exemplary program product
In some possible embodiments, the various aspects of the present invention may also be implemented in the form of a program product including program code for causing a terminal device to perform the steps in the method for application hot repair according to various exemplary embodiments of the present invention described in the section "exemplary method" above in this specification when the program product is run on the terminal device, for example, the terminal device may perform step S12 shown in fig. 1, and when an application is started, request a hot repair mechanism for hot repairing the application from a server; step S14, acquiring the hot repair mechanism indicated by the server; and step S16, performing hot repair on the application program based on the hot repair mechanism indicated by the server. As another example, the terminal device may also perform the steps shown in any one of fig. 2 to 7 and fig. 9.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although in the above detailed description reference is made to several units or sub-units of a device to which the application is hot-fix, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (26)

1. A method of application hot-fix, comprising:
when an application program is started, a hot repair mechanism for carrying out hot repair on the application program is requested from a server;
acquiring a hot repair mechanism indicated by the server; the server indicates a hot repair mechanism, which is allocated by the server based on a combination of one or more of the data size of a hot repair patch of the application program, the network state between the clients corresponding to the application program, and the requirement on the start delay of the clients, and the server indicates the hot repair mechanism including synchronous repair, asynchronous repair, or no repair;
performing hot repair on the application program based on a hot repair mechanism indicated by the server;
wherein, still include:
judging whether the application program needs to be forcibly repaired or not;
requesting a hot repair mechanism for hot repairing the application program from the server when judging that the forced repairing of the application program is not needed;
and when the application program needs to be forcibly repaired, acquiring and loading a hot repair patch of the application program, and running the application program after the hot repair patch is loaded.
2. The method of claim 1, further comprising:
detecting whether a connection can be established with the server;
and when detecting that the connection with the server can be established, requesting a hot repair mechanism for performing hot repair on the application program from the server.
3. The method of claim 2, further comprising:
when detecting that the connection with the server cannot be established, judging whether a hot repair patch of the application program is downloaded;
if the hot repair patch of the application program is downloaded, loading the hot repair patch, and running the application program after the hot repair patch is loaded;
and if the hot repair patch of the application program is not downloaded, directly running the application program.
4. The method of claim 1, wherein determining whether a forced repair of the application is required comprises:
detecting whether the hot repair state of the application program is a forced repair state;
and when the hot repair state of the application program is a forced repair state, judging that the forced repair of the application program is needed.
5. The method of claim 4, further comprising:
and if the application program crashes in the running process, setting the hot repair state of the application program as the forced repair state.
6. The method of claim 1, wherein in the case that the server-indicated thermal repair mechanism is a synchronous repair mechanism, performing thermal repair on the application based on the server-indicated thermal repair mechanism comprises:
acquiring a hot repair patch of the application program;
loading a hot fix patch of the application;
running the application after loading the hot fix patch.
7. The method of claim 1, wherein in the case that the server-indicated thermal remediation mechanism is an asynchronous remediation mechanism, performing thermal remediation on the application based on the server-indicated thermal remediation mechanism comprises:
judging whether a hot repair patch of the application program is stored or not based on a first thread, and downloading the hot repair patch of the application program based on a second thread;
if the first thread determines that the hot repair patch of the application program is stored, loading the hot repair patch of the application program, and running the application program after the hot repair patch is loaded;
and if the first thread judges that the hot repair patch of the application program is not stored, directly running the application program.
8. The method of claim 1, further comprising:
and when the server indicates that the application program is not subjected to hot repair, directly running the application program.
9. The method of any of claims 1 to 8, further comprising:
in the running process of the application program, if the application program is detected to be abnormal, determining the type of the abnormality;
and reporting the type of the exception to the server.
10. The method of claim 9, wherein the type of exception comprises an exception caused by the application version and/or an exception caused by a hot fix patch of the application.
11. A method of application hot-fix, comprising:
receiving request information from a client;
responding the request information to allocate a hot repair mechanism for performing hot repair on the application program to the client; wherein the hot repair mechanism is allocated based on a combination of one or more of a data size of a hot repair patch of the application, a network state between clients corresponding to the application, and a requirement for a start-up delay of the client, and the hot repair mechanism includes synchronous repair, asynchronous repair, or no repair;
indicating the assigned hot repair mechanism to the client.
12. An apparatus for application thermal remediation, comprising:
the device comprises a request unit, a processing unit and a processing unit, wherein the request unit is used for requesting a hot repair mechanism for performing hot repair on an application program from a server when the application program is started;
an obtaining unit, configured to obtain a thermal repair mechanism indicated by the server; the server indicates a hot repair mechanism, which is allocated by the server based on a combination of one or more of the data size of a hot repair patch of the application program, the network state between the clients corresponding to the application program, and the requirement on the start delay of the clients, and the server indicates the hot repair mechanism including synchronous repair, asynchronous repair, or no repair;
the processing unit is used for performing hot repair on the application program based on the hot repair mechanism indicated by the server;
wherein, still include:
the second judgment unit is used for judging whether the forced repair of the application program is needed or not;
the requesting unit is configured to request a hot repair mechanism for performing hot repair on the application program from the server when the second determining unit determines that forced repair on the application program is not required;
the processing unit is further configured to, when the second determination unit determines that the forced repair of the application program is required, obtain and load a hot repair patch of the application program, and run the application program after the hot repair patch is loaded.
13. The apparatus of claim 12, further comprising: the detection unit is used for detecting whether the client of the application program can establish connection with the server or not;
the request unit is configured to request a hot repair mechanism for hot repair of the application program from the server when the detection unit detects that the client can establish connection with the server.
14. The apparatus of claim 13, further comprising: a first judging unit, configured to judge whether a hot fix patch of the application program has been downloaded when the detecting unit detects that the client cannot establish a connection with the server;
the processing unit is further configured to load the hot repair patch when the first determination unit determines that the hot repair patch of the application program has been downloaded, run the application program after the hot repair patch is loaded, and directly run the application program when the first determination unit determines that the hot repair patch of the application program has not been downloaded.
15. The apparatus of claim 12, wherein the second determining unit is configured to:
detecting whether the hot repair state of the application program is a forced repair state;
and when the hot repair state of the application program is a forced repair state, judging that the forced repair of the application program is needed.
16. The apparatus of claim 15, wherein if the application crashes during running, the application's hot repair state is set to the forced repair state.
17. The apparatus of claim 12, wherein the processing unit is configured to:
under the condition that the hot repair mechanism indicated by the server is a synchronous repair mechanism, acquiring a hot repair patch of the application program;
loading a hot fix patch of the application;
running the application after loading the hot fix patch.
18. The apparatus of claim 12, wherein the processing unit is configured to:
under the condition that the hot repair mechanism indicated by the server is an asynchronous repair mechanism, judging whether a hot repair patch of the application program is stored or not based on a first thread, and downloading the hot repair patch of the application program based on a second thread;
if the first thread determines that the hot repair patch of the application program is stored, loading the hot repair patch of the application program, and running the application program after the hot repair patch is loaded;
and if the first thread judges that the hot repair patch of the application program is not stored, directly running the application program.
19. The apparatus of claim 12, wherein the processing unit is further configured to:
and when the server indicates that the application program is not subjected to hot repair, directly running the application program.
20. The apparatus of any of claims 12 to 19, further comprising:
the determining unit is used for determining the type of the abnormity if the abnormity of the application program is detected in the running process of the application program;
and the reporting unit is used for reporting the type of the abnormity to the server.
21. The apparatus of claim 20, wherein the type of exception comprises an exception caused by the application version and/or an exception caused by a hot fix patch of the application.
22. An apparatus for application thermal remediation, comprising:
a receiving unit, configured to receive request information from a client;
the processing unit is used for responding to the request information so as to distribute a hot repair mechanism for performing hot repair on the application program to the client; wherein the hot repair mechanism is allocated based on a combination of one or more of a data size of a hot repair patch of the application, a network state between clients corresponding to the application, and a requirement for a start-up delay of the client, and the hot repair mechanism includes synchronous repair, asynchronous repair, or no repair;
an indicating unit, configured to indicate the allocated thermal repair mechanism to the client.
23. A readable storage medium on which a program is stored which, when executed by a processor, implements the method of any one of claims 1 to 10.
24. A readable storage medium, on which a program is stored which, when executed by a processor, carries out the method of claim 11.
25. A computing device, comprising: a processor and a memory, the memory storing executable instructions, the processor to invoke the memory-stored executable instructions to perform the method of any of claims 1 to 10.
26. A computing device, comprising: a processor and a memory, the memory storing executable instructions, the processor to invoke the memory stored executable instructions to perform the method of claim 11.
CN201710104390.0A 2017-02-24 2017-02-24 Method and device for hot repairing application program, readable storage medium and computing equipment Active CN106897095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710104390.0A CN106897095B (en) 2017-02-24 2017-02-24 Method and device for hot repairing application program, readable storage medium and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710104390.0A CN106897095B (en) 2017-02-24 2017-02-24 Method and device for hot repairing application program, readable storage medium and computing equipment

Publications (2)

Publication Number Publication Date
CN106897095A CN106897095A (en) 2017-06-27
CN106897095B true CN106897095B (en) 2020-10-13

Family

ID=59184153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710104390.0A Active CN106897095B (en) 2017-02-24 2017-02-24 Method and device for hot repairing application program, readable storage medium and computing equipment

Country Status (1)

Country Link
CN (1) CN106897095B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107437029A (en) * 2017-08-23 2017-12-05 北京奇虎科技有限公司 Leak restorative procedure, leak prosthetic device and server
CN108519925A (en) * 2018-03-06 2018-09-11 北京酷我科技有限公司 Preservation tactics are moved back in a kind of iOS sudden strain of a muscle
CN108446134A (en) * 2018-03-30 2018-08-24 努比亚技术有限公司 Loophole restorative procedure, mobile terminal and the readable storage medium storing program for executing of application program
CN109271187A (en) * 2018-09-17 2019-01-25 五八有限公司 A kind of hot restorative procedure, device, storage medium and the terminal of application program
CN109614133A (en) * 2018-12-11 2019-04-12 江苏电力信息技术有限公司 A kind of method of power industry lightweight heat publication mobile application
CN111897555A (en) * 2019-05-06 2020-11-06 阿里巴巴集团控股有限公司 Dynamic updating method, device and system of client and terminal equipment
CN110427319B (en) * 2019-07-22 2023-06-30 上海易点时空网络有限公司 Lightweight thermal restoration method and device based on IOS and storage medium
CN110471786B (en) * 2019-08-20 2023-09-12 网易(杭州)网络有限公司 Online thermal remediation method, device, equipment and computer readable storage medium
CN114900424A (en) * 2022-05-27 2022-08-12 网易(杭州)网络有限公司 Data hot-repair method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901158A (en) * 2010-08-02 2010-12-01 中颖电子有限公司 Update method and device of firmware
CN102158480A (en) * 2011-03-04 2011-08-17 北京星网锐捷网络技术有限公司 Method, system and device for controlling system service recovery
CN103699844A (en) * 2012-09-28 2014-04-02 腾讯科技(深圳)有限公司 Safety protection system and safety protection method
CN104866307A (en) * 2015-05-14 2015-08-26 百度在线网络技术(北京)有限公司 Application repairing method and apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211265A (en) * 2006-12-28 2008-07-02 英华达(上海)电子有限公司 Terminal embedded type system software update method and apparatus
CN101593118B (en) * 2009-02-24 2013-01-16 浪潮集团山东通用软件有限公司 Software-upgrading method
US9335986B1 (en) * 2013-12-11 2016-05-10 Amazon Technologies, Inc. Hot patching to update program code and/or variables using a separate processor
CN104902472B (en) * 2014-03-04 2018-03-23 中国移动通信集团公司 A kind of WLAN access authentication method, equipment and system
CN105446750B (en) * 2014-05-30 2019-12-03 阿里巴巴集团控股有限公司 The method and apparatus that WebApp starting runs, generates image file
CN105446712B (en) * 2014-08-08 2020-04-03 阿里巴巴集团控股有限公司 Application program defect repairing method and device
CN105320554A (en) * 2015-12-11 2016-02-10 网易(杭州)网络有限公司 Program updating method as well as client and system for program updating

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901158A (en) * 2010-08-02 2010-12-01 中颖电子有限公司 Update method and device of firmware
CN102158480A (en) * 2011-03-04 2011-08-17 北京星网锐捷网络技术有限公司 Method, system and device for controlling system service recovery
CN103699844A (en) * 2012-09-28 2014-04-02 腾讯科技(深圳)有限公司 Safety protection system and safety protection method
CN104866307A (en) * 2015-05-14 2015-08-26 百度在线网络技术(北京)有限公司 Application repairing method and apparatus

Also Published As

Publication number Publication date
CN106897095A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN106897095B (en) Method and device for hot repairing application program, readable storage medium and computing equipment
KR102236522B1 (en) Method and apparatus for processing information
CN107832100B (en) APK plug-in loading method and terminal thereof
USRE48311E1 (en) Apparatus and method for running multiple instances of a same application in mobile devices
US9110699B2 (en) Determining optimal methods for creating virtual machines
CN111611145B (en) Breakdown information collection method and device, storage medium and electronic equipment
CN105809028B (en) Apparatus and method for running multiple instances of the same application in a mobile device
CN107644075B (en) Method and device for collecting page information
US20140289719A1 (en) Automatic version management
KR20150099269A (en) Electronic device and method for firmware updating of a device
CN111782339A (en) Container creation method and device, electronic equipment and storage medium
CN111666217B (en) Method and apparatus for testing code
US10452508B2 (en) Managing a set of tests based on other test failures
CN109828830B (en) Method and apparatus for managing containers
US9075988B2 (en) Inferring security decisions from trusted users
CN110275701B (en) Data processing method, device, medium and computing equipment
CN114968644A (en) System software dump method and device, electronic equipment and readable storage medium
CN108959553A (en) A kind of URL update method, device and electronic equipment
CN104317645A (en) Method and device of monitoring port by virtue of application program embodiment
US10872019B2 (en) Load and save recovery partition using mobile device
CN111124795A (en) Application start monitoring method, device and equipment
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN110764792B (en) Application program installation method, device, equipment and storage medium
CN112534409A (en) Electronic device and operation method thereof
CN114281604B (en) Data recovery method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant