CN107329781A - The hot restorative procedure of software, terminal, system and computer-readable recording medium - Google Patents
The hot restorative procedure of software, terminal, system and computer-readable recording medium Download PDFInfo
- Publication number
- CN107329781A CN107329781A CN201710483251.3A CN201710483251A CN107329781A CN 107329781 A CN107329781 A CN 107329781A CN 201710483251 A CN201710483251 A CN 201710483251A CN 107329781 A CN107329781 A CN 107329781A
- Authority
- CN
- China
- Prior art keywords
- software
- file
- executable
- hot
- terminal
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/656—Updates while running
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of hot restorative procedure of software, terminal, system and computer-readable recording medium, methods described includes:If leak to be repaired meets default reparation logic in software, the reparation instruction of generation software;When terminal detects software reparation instruction, obtain and repair the corresponding executable patch file of instruction;Obtained from software correspondence executable file set and can perform file to be repaired, executable file to be repaired is merged as executable with executable patch file and merges file, to realize the terminal loads executable merging file, to realize that the hot repair to software is answered;Wherein, in the executable merging file, arranged in the way of first arranging and executable file to be repaired is arranged after executable patch file.It is low that the present invention solves software repair process Consumer's Experience in the prior art, the high technical problem of cost.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of hot restorative procedure of software, terminal, system and computer can
Read storage medium.
Background technology
At present, after a software App issue, the bug that starts a leak needs the situation for carrying out emergency repair to happen occasionally,
During the size of code very little of bug correspondence modifications, due to repacking App, test, bag is changed to each application market and channel, is pointed out
The Normal practice Consumer's Experiences such as customer upgrade, user are downloaded, covering installation are low, and cost is high, thus how rapidly and efficiently to repair soft
Part App leak bug, as the technical problem for being badly in need of solving.
The content of the invention
It is a primary object of the present invention to provide a kind of hot restorative procedure of software, terminal, system and computer-readable storage
Medium, it is intended to which it is low to solve existing software repair process Consumer's Experience, the high technical problem of cost.
To achieve the above object, the hot restorative procedure of a kind of software that the present invention is provided, if leak to be repaired meets in software
During default reparation logic, the reparation instruction of generation software;
When terminal detects software reparation instruction, obtain and repair the corresponding executable patch file of instruction;
Obtained from software correspondence executable file set and can perform file to be repaired, by executable file to be repaired and can
Perform patch file to merge as executable merging file, to realize the terminal loads executable merging file, to realize
Hot repair to software is answered;
Wherein, in the executable merging file, arrange executable to be repaired after executable patch file according to first arranging
The mode of multiple file carries out arrangement
Alternatively, the software includes each class file, described when terminal detects software reparation instruction, obtains and repairs
Instruct includes before corresponding executable patch file step:
Each class file of the software is compiled, in compilation process, if detecting the referenced classes for quoting other class files
During file, the class file that will be cited is compiled into the first executable file, and regard the first executable file as the second executable text
The executable subfile storage of part, wherein, second executable file is formed by the compiling of reference class file;
Each class file for compiling completion is stored in software correspondence executable file set.
Alternatively, the executable patch file is preserved in the server, described when terminal detects software reparation instruction
When, obtaining the corresponding executable patch file step of reparation instruction includes:
When terminal detects software reparation instruction, the corresponding executable benefit of request software reparation instruction is sent to server
The solicited message of fourth file;
The software reparation for obtaining server end feedback instructs corresponding executable patch file, and to the executable benefit
All kinds of class files of fourth file carry out validation verification, when verify complete when, perform and load and compile the class file into can hold
The step of row patch file.
Alternatively, also include after the multiple step of the hot repair realized to software:
Detect whether the hot repair of software is succeeded again, and to server end report hot repair to software again whether successful shape
State information.
Alternatively, whether hot repair of the detection to software succeeds again, and reports the hot repair to software to answer to server end
Whether successful state information Step includes:
Detect whether the hot repair to software succeeds again, when successful, the instruction for restarting the software is sent, to refer to based on this
Software is restarted in order, and reports hot repair to software successful first state information again to server end.
Alternatively, whether hot repair of the detection to software succeeds again, and reports the hot repair to software to answer to server end
Whether successful state information Step also includes:
Detect whether the hot repair of software is succeeded again, when not becoming work(, send the prompt message of repairing failure, and to service
Device end reports the second status information to the hot repairing failure of software.
Alternatively, the software includes executable file set, and the executable merging file is in executable file set
In storage location with described former executable to repair the corresponding storage location of file consistent.
In addition, to achieve the above object, the present invention also proposes a kind of software hot repair complex system, the software hot repair complex system
Including server and the corresponding terminal of the hot restorative procedure of software described above is realized, wherein, the server is in receiving terminal
When sending the solicited message of the executable patch file of request, the executable patch file, and pair that receiving terminal is reported are fed back
Software hot repair again whether successful status information.
In addition, to achieve the above object, the present invention also proposes a kind of terminal, and the terminal includes:Memory, processor,
Communication bus and the software hot fix being stored on the memory:
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the software hot fix, to realize following steps:
If leak to be repaired meets default reparation logic in software, the reparation instruction of generation software;
When terminal detects software reparation instruction, obtain and repair the corresponding executable patch file of instruction;
Obtained from software correspondence executable file set and can perform file to be repaired, by executable file to be repaired and can
Perform patch file to merge as executable merging file, to realize the terminal loads executable merging file, to realize
Hot repair to software is answered;
Wherein, in the executable merging file, arrange executable to be repaired after executable patch file according to first arranging
The mode of multiple file is arranged.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable
Storage medium is stored with one or more than one program, one or more than one program can by one or one with
On computing device for:
If leak to be repaired meets default reparation logic in software, the reparation instruction of generation software;
When terminal detects software reparation instruction, obtain and repair the corresponding executable patch file of instruction;
Obtained from software correspondence executable file set and can perform file to be repaired, by executable file to be repaired and can
Perform patch file to merge as executable merging file, to realize the terminal loads executable merging file, to realize
Hot repair to software is answered;
Wherein, in the executable merging file, arrange executable to be repaired after executable patch file according to first arranging
The mode of multiple file is arranged.
The hot restorative procedure of software of technical solution of the present invention, if meeting default reparation logic by leak to be repaired in software
When, the reparation instruction of generation software;When terminal detects software reparation instruction, obtain and repair the corresponding executable patch text of instruction
Part;Obtained from software correspondence executable file set and can perform file to be repaired, by executable file to be repaired with can perform
Patch file is merged as executable merging file, to realize the terminal loads executable merging file, to realize to soft
The hot repair of part is answered;Wherein, in the executable merging file, executable treat is arranged after executable patch file according to first arranging
The mode for repairing file is arranged.Due in this application when application is currently running by burying in the application in advance
Reparation logic, loading install client downloads executable patch file, repair bug.And do not need developer to beat again
Bag App, test, change to each application market and channel bag, point out customer upgrade, user also without re-downloading, cover peace
The ways such as dress, thus solve poor user experience during prior art patching bugs, the high technical problem of cost.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention;
Fig. 2 is the wireless telecommunication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic flow sheet of the hot restorative procedure first embodiment of invention software;
Fig. 4 is the schematic flow sheet of the hot restorative procedure second embodiment of invention software;
Fig. 5 is the interaction scenarios schematic diagram of the hot restorative procedure counterpart terminal of invention software and server end;
Fig. 6 is the loading procedure schematic diagram of the hot restorative procedure correspondence executable file of invention software;
Fig. 7 is that the multiple front and rear class of invention software hot repair replaces different realization principle figures;
Fig. 8 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed
Ground is used.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are moved
Move the fixed terminals such as terminal, and numeral TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of realization each embodiment of the invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent into base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user's transmitting-receiving electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 1 00
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The voice data stored in memory 109 is converted into audio signal and is output as sound.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 1 00 is performed can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
Modem 104 is used for the network access parameters that receiving terminal processor 110 is sent.
Mobile terminal 1 00 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 1 00 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can be wrapped
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(such as user is using any suitable objects such as finger, stylus or annex on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can be wrapped
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, with preprocessor 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be input and the output function that mobile terminal is realized as two independent parts, but in certain embodiments, can
By contact panel 1071 and the input that is integrated and realizing mobile terminal of display panel 1061 and output function, not do specifically herein
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 1 00.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 1 00 or can be with
For transmitting data between mobile terminal 1 00 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, application program (the such as sound that storing program area can be needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data field can be stored uses created data (such as according to mobile phone
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, it can also include non-easy
The property lost memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by operation or performs and is stored in software program and/or module in memory 109, and calls and be stored in storage
Data in device 109, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;It is preferred that, processor 110 can integrated terminal upper strata processor and modulatedemodulate
Processor is adjusted, wherein, terminal upper strata processor mainly handles operating system, user interface and application program etc., and modulatedemodulate is mediated
Reason device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110
In.
Mobile terminal 1 00 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 1 00 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system that the mobile terminal of the present invention is based on is entered below
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, UE (User Equipment, use of the LTE system including communicating connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
There is provided carrying and connection management for the control node of signaling between EPC203.HSS2032 is all to manage for providing some registers
Such as function of attaching position register (not shown) etc, and some are preserved about the use such as service features, data rate
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, propose that the hot restorative procedure of invention software is respectively implemented
Example.
The present invention provides a kind of hot restorative procedure of software, and in the hot restorative procedure first embodiment of software, terminal is built with
Mobile Country Code MCC MCC total relation tables corresponding with contact person's display mode in identification SIM card, reference picture 3, the software hot repair
Compound method includes:
Step S10, if leak to be repaired meets default reparation logic in software, the reparation instruction of generation software;
Hot repair is answered, and by the reparation logic buried in the application in advance when exactly application is currently running, loading is installed
The executable patch file of client downloads, patching bugs bug.
Wherein, leak to be repaired can have a variety of, and different leaks to be repaired generates different software reparation instructions, default to repair
Multiple logic is the pre- reparation logic being embedded in software, when leak meets repairing condition, the reparation instruction of generation software.
Step S20, when terminal detects software reparation instruction, obtains and repairs the corresponding executable patch file of instruction;
The present invention relates to terminal and server end, wherein, software reparation instruction but software find in the process of running be
Automatically generated when system or other leaks, when terminal detects software reparation instruction, in the life of terminal touch screen predeterminable area
Into reminding the prompting message of downloading executable patch file, user by touching or clicking on the terminal touch screen predeterminable area,
The corresponding download address of executable patch file can be linked to, if when user confirms to download executable patch file, terminal is to clothes
Business device end sends the solicited message of the executable patch file of request, and server end responds the solicited message and based on the solicited message
Executable patch file is obtained, and the executable patch file is sent to terminal, wherein, patch file is can perform by compiled
The class file of reason is constituted, the class file of the compiled processing is made up of inhomogeneity method, in addition, as shown in figure 5, server end
Executable patch file is that developer is uploaded by splitting tool or patch Core Generator, splitting tool or patch life
The detailed process for generating executable patch file into instrument is as follows:The first installation kit during software issue is obtained, and obtains solution
The second installation kit of instruction correspondence leak is repaired, the first installation kit and the second installation kit are uploaded to splitting tool or patch is given birth to
Into instrument, to obtain executable patch file, wherein, all kinds of executable patch files for solving leak are pre-stored in server end,
Chosen according to the different solicited message server end of terminal and patch file is can perform in different executable patch files, such as Fig. 5
1, patch file 2 is can perform, patch file 3 etc. is can perform, terminal is receiving holding for the feedback of server end or transmission
After row patch file, executable patch file is verified, checking procedure includes the detection of security, to ensure patch texts
Part is not tampered with or is not forged, after the completion of checking procedure, and terminal preserves the executable patch file, you can perform this
The class file of the compiled processing of patch file is preserved into the file set of terminal.Especially, above-mentioned checking procedure can be at end
Carried out after the end storage executable patch file.
Wherein software includes each class file, as shown in figure 4, it is described when terminal detects software reparation instruction, obtain
Include before repairing the corresponding executable patch file step of instruction:
Each class file of the software is compiled, in compilation process, if detecting the referenced classes for quoting other class files
During file, the class file that will be cited is compiled into the first executable file, and regard the first executable file as the second executable text
The executable subfile storage of part, wherein, second executable file is formed by the compiling of reference class file;
Each class file for compiling completion is stored in software correspondence executable file set.
Software is substantially made up of executable file, before the corresponding executable patch file step of reparation instruction is obtained,
Terminal has downloaded the software of certain version, wherein, what terminal starting was downloaded is the source code file of certain version software, to the source generation
Code file generates executable file and is stored in the corresponding executable file set of software after being compiled, due to terminal system
When installing software, all executable files in installation kit can be scanned, this process is referred to as dexopt, during dexopt, if
Detect and include referenced classes and the class that is cited by the reference class reference in any executable file simultaneously, then the executable file
Pre- verification pre-verify marks can be labeled with.The class being labeled with the executable dex files of pre-verify marks can not draw
With the class in other executable files dex, subsequent thermal repairing failure can be caused.
Illustrated to specific embodiment, in Android system, wherein, due to an executable dex text of Android system
Part has class method bar number to limit, class method sum up to 65536, thus, to prevent from overflowing, it can perform dex files possible
More than one.If detecting software arbitrarily to can perform in dex files while comprising referenced classes with by the reference class reference being drawn
With class, then this, which can perform dex files, can be labeled with pre- verification pre-verify marks.It is labeled with holding for pre-verify marks
Class in row dex files can not quote the class in other executable files dex, cause hot repairing failure.To prevent executable text
Part is labeled with pre-verify marks, during each class file of composing software, and other class files are quoted if detecting
When quoting class file, the class file that will be cited is compiled into the first executable file, and can as second using the first executable file
The executable subfile storage of file is performed, wherein, second executable file is formed by the compiling of reference class file.
Illustrated to specific embodiment, in Android system, it is assumed that have some Hack.class class file, software
Other class files all quote the Hack.class class files, are illustrated to specific embodiment, in compiling, if software
A class files quote the Hack.class class files, wherein, A class files are stored in hackdex files, and the hackdex is first
File is performed, after the Hack.class is quoted, A class files correspondence generates new A1 class files, by new A1 class files
In Hack.class be stored in the second execution dex files, wherein, second to perform dex files be the first executable file
The Hack.class class files performed in sub- dex.dex files, the i.e. new A1 class files are stored in the first executable file
In hackdex.dex files, because Hack.class is stored in hackdex.dex files, rather than in hack.dex, it is
A class files refer to the class in non-dex, thus, substantially it is not to quote same when quoting the Hack.class classes
Dex files, but the sub- dex files in dex files are quoted, or different dex files are quoted, so as to avoid class files
It is labeled with pre-verify marks.It can thus realize that hot repair is answered, i.e., in this application, if in compilation process, when detecting
When quoting the reference class file of other class files, the class file that will be cited is compiled into the first executable file, and first can be held
Style of writing part is stored in corresponding second executable file of reference class file, thus avoids the situation of hot repairing failure.
In the application in hot recovery scenario, it is possible to use ASM Java bytecodes operation framework is loaded into virtual machine in class
Preceding change class behavior etc. prevents from stamping pre-verify marks.
Step S30, obtains from software correspondence executable file set and can perform file to be repaired, will be executable to be repaired
File is merged with executable patch file merges file as executable, to realize the terminal loads executable merging text
Part, to realize that the hot repair to software is answered;
Wherein, in the executable merging file, arrange executable to be repaired after executable patch file according to first arranging
The mode of multiple file is arranged.
In the present embodiment, subpackage processing is carried out to executable patch file using packetization technique in Android system, such as
Multidex packetization techniques, the executable patch file of software Classloader loading is by multiple dex texts in Android system
Part is loaded onto in software correspondence executable file set dexElements1.Multiple dex files are loaded onto into software correspondence to hold
During in row file set dexElements1, the executable file set corresponding to multiple dex files need to be first constructed
DexElements2, correspondence executable file is loaded onto by executable file in executable file set dexElements2 one by one
Corresponding file address in set dexElements1, this document address is arrangement position of the file in dexElements1,
If the reparation instruction based on M class files, then be loaded onto executable file set by the corresponding executable file m of the M class files
M class files respective file address in dexElements1, i.e., obtain patch files pair from software correspondence executable file set
The executable file to be repaired answered, executable file to be repaired is merged with executable patch file and merged as executable
File, and the executable merging file in loading, to realize that the hot repair to software is answered, wherein, in executable merging file, press
Arranged according to the mode for first arranging the executable file to be repaired of arrangement after executable patch file.It is general to use after hot repair is multiple
Family can restart software, due to restarting the dexElements1 that software is meeting traversal in loading software process, recall and add
Carry class loadClass methods and attempt the class to be loaded, in the process, patch is can perform if having loaded in executable merging file
File, if executable patch file is the substitute files that can perform file to be repaired, thus will not can be reloaded executable again
File to be repaired, it is thus possible to realize that hot repair is answered, as shown in fig. 7, figure a, which is loading, can perform executable file before patch file
Dex files can be all stored in dexElements1 in set dexElements1 structural representation, software, and figure b is class
The outside executable patch file process of loader loading, and construct the corresponding dexElements2 of executable patch file;Scheming c is
DexElements1 merges with dexElements2 in figure b in figure a, then by it is different can perform patch files deposit to
DexElements1 correspondence positions, are illustrated to specific embodiment, if as shown in fig. 6, executable class file
There are class file b.class classes to be repaired in classes.dex, have to enter b.class classes in executable patch file patch.dex
B ' the .class classes that row is repaired, and by our replacement, the b ' .class in patch.dex have been put into b.class classes
Above, therefore we can find b ' .class first, it is achieved thereby that bug reparation.
The hot restorative procedure of software of technical solution of the present invention, by the way that when terminal detects software reparation and instructed, acquisition is repaiied
Corresponding executable patch file is instructed again;Obtained from software correspondence executable file set and can perform file to be repaired, will
It can perform file to be repaired and merged with executable patch file and merge file as executable, to realize the hot repair to software
It is multiple;Wherein, in the executable merging file, file to be repaired is can perform according to first arranging to arrange after executable patch file
Mode arranged.Due to being patrolled in this application when application is currently running by the reparation buried in the application in advance
Volume, the executable patch file of client downloads is installed in loading, repairs bug.And do not need developer to repack App, survey
Examination, change to each application market and channel bag, prompting customer upgrade, user also without re-downloading, cover and way be installed etc.,
Thus solve poor user experience during prior art patching bugs, the high technical problem of cost.
Further, there is provided the hot restorative procedure of software on the basis of the hot restorative procedure first embodiment of invention software
Second embodiment, in a second embodiment, the executable patch file is preserved in the server, described when terminal is detected
When software reparation is instructed, obtaining the corresponding executable patch file step of reparation instruction includes:
When terminal detects software reparation instruction, the solicited message of the executable patch file of request is sent to server;
The executable patch file of server end feedback is obtained, and to all kinds of classes text of the executable patch file
Part carries out validation verification, when verifying completion, performs loading and simultaneously compiles the step of class file is into executable patch file.
When terminal detects software reparation instruction, the solicited message of the executable patch file of request is sent to server,
Wherein, because terminal is likely to occur different leaks, thus the solicited message that different terminals are sent to server end can be different, clothes
The solicited message that business device end is sent according to terminal searches corresponding executable patch file, and terminal receives executable patch file
Afterwards, validation verification is carried out to it, validation verification, which includes the executable patch file of checking, the mark for being tampered or being forged
Know etc., when verifying that executable patch file is safe and efficient when completing, perform and load and compile the class file into can hold
The step of row patch file.
In the present embodiment, by when terminal detects software reparation and instructed, being sent to server, request is executable to mend
The solicited message of fourth file;The executable patch file of server end feedback is obtained, and to the executable patch file
All kinds of class files carry out validation verification, when verify complete when, perform load simultaneously compiles the class file into executable patch
The step of file.In the present embodiment, due to after executable patch file is obtained, validation verification is carried out to it, accordingly ensure that
The multiple security of hot repair.
Further, there is provided the hot restorative procedure of software on the basis of the hot restorative procedure first embodiment of invention software
3rd embodiment in, it is in the third embodiment, described to realize to also including after the multiple step of the hot repair of software:
Detect whether the hot repair of software is succeeded again, and to server end report hot repair to software again whether successful shape
State information.
Software is being carried out after hot repair is multiple to be that after installation can perform patch file, terminal detects that the hot repair to software is again
No success, when software vulnerability is repaired successfully, is repaired successfully, when software, which can perform patch file correspondence leak, to be still suffered from, software
Hot repairing failure, no matter whether the hot repair of software succeeds again, terminal to server end report hot repair to software again whether into
The status information of work(.The received server-side status information and correspondence storage.
In the present embodiment, by detecting whether the hot repair to software succeeds again, and reported to server end to software
Hot repair again whether successful status information, thus improve Consumer's Experience.
Further, there is provided the hot restorative procedure of software on the basis of the hot restorative procedure first embodiment of invention software
Fourth embodiment in, in the fourth embodiment, whether the detection succeeds again to the hot repair of software, and is reported to server end
To the hot repair of software, whether successful state information Step includes again:
Detect whether the hot repair to software succeeds again, when successful, the instruction for restarting the software is sent, to refer to based on this
Software is restarted in order, and reports hot repair to software successful first state information again to server end.
When not becoming work(, the prompt message of repairing failure is sent, and the hot repairing failure to software is reported to server end
The second status information.
When the hot repair for detecting software succeeds again, the instruction for restarting the software is sent, it is soft to be restarted based on the instruction
Part, reports hot repair to software successful first state information again, when not becoming work(, send carrying for repairing failure to server end
Show information, to remind the leak to still suffer from, when the leak is still suffered from, terminal can also restart software, and be reported to server end
To the second status information of the hot repairing failure of software.
In the present embodiment, by detecting whether the hot repair to software succeeds again, when successful, the software is restarted in transmission
Instruction, to restart software based on the instruction, and hot repair to software successful first state information again is reported to server end.
When not becoming work(, the prompt message of repairing failure is sent, and the second shape to the hot repairing failure of software is reported to server end
State information.Thus user obtains whether leak repairs success message in time, lifts Consumer's Experience.
Further, there is provided the hot restorative procedure of software on the basis of the hot restorative procedure first embodiment of invention software
The 5th embodiment in, in the 5th embodiment, the software include executable file set, it is described it is executable merging file exist
Storage location storage location corresponding with the executable reparation file of the original in executable file set is consistent.
Software includes executable file set, can perform the storage location and institute for merging file in executable file set
State the corresponding storage location of former executable reparation file consistent.Wherein unanimously refer to that the executable file that merges is repaired with former can perform
File storage location is identical, and former executable file of repairing is stored in executable merging file correspondence neighboring storage locations, so as to
Executable merging file is first read in dexElements, it is rear to read former executable reparation file.
In the present embodiment, because the software includes executable file set, the executable merging file can held
Storage location storage location corresponding with the executable reparation file of the original in row file set is consistent.For the successful heat of software
Reparation lays the foundation, and then lifts Consumer's Experience.
As shown in figure 8, Fig. 8 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Software hot repair apparatus for coating of the embodiment of the present invention can be that PC or smart mobile phone, tablet personal computer, e-book are read
Read device, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard sound
Frequency aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert pressure
Contracting standard audio aspect 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in figure 8, the software hot repair apparatus for coating can include:Processor 110, such as CPU, memory 109, communication are total
Line 1002.Wherein, communication bus 1002 is used to realize the connection communication between processor 110 and memory 109.Memory 109
Can be high-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.
Memory 109 optionally can also be the storage device independently of aforementioned processor 110.
Alternatively, the software hot repair apparatus for coating can also include camera, RF (Radio Frequency, radio frequency) unit
101, sensor 105, voicefrequency circuit, WiFi module 102 etc..Wherein, sensor 105 such as optical sensor, motion sensor
And other sensors.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensing
Device can adjust the brightness of display screen according to the light and shade of ambient light, proximity transducer can when mobile terminal is moved in one's ear,
Close display screen and/or backlight.As one kind of motion sensor, gravity accelerometer can detect (one in all directions
As be three axles) size of acceleration, size and the direction of gravity are can detect that when static, available for identification mobile terminal posture
(such as pedometer, struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc.;Certainly, mobile terminal can also configure gyroscope, barometer, hygrometer, thermometer, infrared ray sensor etc. other sensing
Device, will not be repeated here.
It will be understood by those skilled in the art that the software hot repair apparatus for coating structure shown in Fig. 8 is not constituted to software heat
The restriction of prosthetic device, can include than illustrating more or less parts, either combine some parts or different parts
Arrangement.
As shown in figure 8, leading to as operating system, network can be included in a kind of memory 109 of computer-readable storage medium
Believe module and software hot fix.Operating system is the journey of management and control software hot repair apparatus for coating hardware and software resource
Sequence, supports the operation of software hot fix and other softwares and/or program.Network communication module is used to realize memory
Communication between the 109 each components in inside, and with being communicated in software hot repair apparatus for coating between other hardware and softwares.
In the software hot repair apparatus for coating shown in Fig. 8, software hot fix can be applied to server, and processor 110 is used
The software hot fix stored in execution memory 109, realizes following steps:
The historical record of counting user search, and multiple search keywords are determined according to the historical record;
According to the multiple search keyword, the search result for obtaining each search keyword correspondence search result is clicked on
Rate;
Each described search keyword correspondence search result is ranked up according to the search result clicking rate, obtains each
The ranking data and page location data of individual search keyword correspondence search result;
The ranking data and page location data of search result based on each search keyword, according to preset rules
The search factor of search engine is determined, to be estimated based on the search factor to search engine.
Further, the ranking data and page location number of the search result based on each search keyword
According to the step of determining the search factor of multiple search keywords according to preset rules includes:
The ranking data of search result based on each search keyword, it is default before determining in each search keyword
The target search result of concrete number, and obtain the corresponding target pages position data of target search result;
According to preset rules, the destination name based on target search result time data and correspondence target pages position data are obtained
The target search coefficient of each search keyword;
According to the target search coefficient of each search keyword, the search factor of search engine is determined.
Further, it is described according to preset rules, the destination name based on target search result time data and correspondence page object
The step of face position data obtains the target search coefficient of each search keyword includes:
According to search engine PageRank order, obtain to be assessed in the search engine page of each search keyword and search
Hitch fruit, and obtain the page location data of the search result to be assessed;
It regard the target pages position data of target search result as first set, the page location of search result to be assessed
Data obtain the common factor number of elements that first set intersects with second set as second set;
Using the ratio of common factor number of elements and the number of elements of first set as recall rate, and by common factor number of elements with
The ratio of the number of elements of second set is as accuracy rate, wherein the recall rate and target of the accuracy rate as search keyword
Search factor, to obtain the target search coefficient of each search keyword.
Further, the target search coefficient according to each search keyword, determines the search factor of search engine
The step of include:
According to the recall rate of each search keyword and the number of search keyword, determine that the recall rate of search engine is put down
Average;
According to the accuracy rate of each search keyword and the number of search keyword, determine that the accuracy rate of search engine is put down
Average, wherein the recall rate average value and search factor of the accuracy rate average value as search engine.
Further, it is described according to preset rules, the destination name based on target search result time data and correspondence page object
The step of face position data obtains the target search coefficient of each search keyword includes:
Target pages position data to target search result takes down, obtains the reciprocal value of target pages position data, and
Using the reciprocal value as search keyword target search coefficient, to obtain the target search coefficient of each search keyword.
Further, it is described according to preset rules, the destination name based on target search result time data and correspondence page object
The step of face position data obtains the target search coefficient of each search keyword includes:
According to search engine PageRank order, obtain to be assessed in the search engine page of each search keyword and search
Hitch fruit, and obtain the page location data of the search result to be assessed;
The page location data of search result to be assessed and the target pages position data of target search result are obtained one by one
The first ratio;
Obtain the second ratio of the number of each described first ratio sum and search result to be assessed, and by described second
Ratio as search keyword target search coefficient, to obtain the target search coefficient of each search keyword.
Further, the target search coefficient according to each search keyword, determines the search factor of search engine
The step of include:
According to the target search coefficient and the number of search keyword of each search keyword, the mesh of search engine is determined
Mark search factor average value, and using the target search coefficient average value as search engine search factor.
Further, the historical record of the counting user search, and determine that multiple search are closed according to the historical record
The step of keyword, includes:
Count predetermined period in user search historical record, obtain historical record in each keyword searching times with
And total searching times of user's search;
Judge the keyword with the presence or absence of searching times more than the preset ratio of total searching times in each keyword;
When there is the keyword for the preset ratio that searching times exceed total searching times in each keyword, closed described
Keyword is used as search keyword.
Invention software hot repair apparatus for coating embodiment and each embodiment of the hot restorative procedure of above-mentioned software are essentially identical,
It will not be repeated here.
The invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or
More than one program of person, one or more than one program can also by one or more than one computing device with
In:
The historical record of counting user search, and multiple search keywords are determined according to the historical record;
According to the multiple search keyword, the search result for obtaining each search keyword correspondence search result is clicked on
Rate;
Each described search keyword correspondence search result is ranked up according to the search result clicking rate, obtains each
The ranking data and page location data of individual search keyword correspondence search result;
The ranking data and page location data of search result based on each search keyword, according to preset rules
The search factor of search engine is determined, to be estimated based on the search factor to search engine.
Further, the ranking data and page location number of the search result based on each search keyword
According to the step of determining the search factor of multiple search keywords according to preset rules includes:
The ranking data of search result based on each search keyword, it is default before determining in each search keyword
The target search result of concrete number, and obtain the corresponding target pages position data of target search result;
According to preset rules, the destination name based on target search result time data and correspondence target pages position data are obtained
The target search coefficient of each search keyword;
According to the target search coefficient of each search keyword, the search factor of search engine is determined.
Further, it is described according to preset rules, the destination name based on target search result time data and correspondence page object
The step of face position data obtains the target search coefficient of each search keyword includes:
According to search engine PageRank order, obtain to be assessed in the search engine page of each search keyword and search
Hitch fruit, and obtain the page location data of the search result to be assessed;
It regard the target pages position data of target search result as first set, the page location of search result to be assessed
Data obtain the common factor number of elements that first set intersects with second set as second set;
Using the ratio of common factor number of elements and the number of elements of first set as recall rate, and by common factor number of elements with
The ratio of the number of elements of second set is as accuracy rate, wherein the recall rate and target of the accuracy rate as search keyword
Search factor, to obtain the target search coefficient of each search keyword.
Further, the target search coefficient according to each search keyword, determines the search factor of search engine
The step of include:
According to the recall rate of each search keyword and the number of search keyword, determine that the recall rate of search engine is put down
Average;
According to the accuracy rate of each search keyword and the number of search keyword, determine that the accuracy rate of search engine is put down
Average, wherein the recall rate average value and search factor of the accuracy rate average value as search engine.
Further, it is described according to preset rules, the destination name based on target search result time data and correspondence page object
The step of face position data obtains the target search coefficient of each search keyword includes:
Target pages position data to target search result takes down, obtains the reciprocal value of target pages position data, and
Using the reciprocal value as search keyword target search coefficient, to obtain the target search coefficient of each search keyword.
Further, it is described according to preset rules, the destination name based on target search result time data and correspondence page object
The step of face position data obtains the target search coefficient of each search keyword includes:
According to search engine PageRank order, obtain to be assessed in the search engine page of each search keyword and search
Hitch fruit, and obtain the page location data of the search result to be assessed;
The page location data of search result to be assessed and the target pages position data of target search result are obtained one by one
The first ratio;
Obtain the second ratio of the number of each described first ratio sum and search result to be assessed, and by described second
Ratio as search keyword target search coefficient, to obtain the target search coefficient of each search keyword.
Further, the target search coefficient according to each search keyword, determines the search factor of search engine
The step of include:
According to the target search coefficient and the number of search keyword of each search keyword, the mesh of search engine is determined
Mark search factor average value, and using the target search coefficient average value as search engine search factor.
Further, the historical record of the counting user search, and determine that multiple search are closed according to the historical record
The step of keyword, includes:
Count predetermined period in user search historical record, obtain historical record in each keyword searching times with
And total searching times of user's search;
Judge the keyword with the presence or absence of searching times more than the preset ratio of total searching times in each keyword;
When there is the keyword for the preset ratio that searching times exceed total searching times in each keyword, closed described
Keyword is used as search keyword.
Computer-readable recording medium embodiment of the present invention and each embodiment of the hot restorative procedure of above-mentioned software are basic
It is identical, it will not be repeated here.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in process, method, article or the device of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of hot restorative procedure of software, it is characterised in that the hot restorative procedure of software includes:
If leak to be repaired meets default reparation logic in software, the reparation instruction of generation software;
When terminal detects software reparation instruction, obtain and repair the corresponding executable patch file of instruction;
Obtained from software correspondence executable file set and can perform file to be repaired, by executable file to be repaired with can perform
Patch file is merged as executable merging file, to realize the terminal loads executable merging file, to realize to soft
The hot repair of part is answered;
Wherein, in the executable merging file, text to be repaired is can perform according to first arranging to arrange after executable patch file
The mode of part is arranged.
2. the hot restorative procedure of software as claimed in claim 1, it is characterised in that the software includes each class file, described
When terminal detects software reparation instruction, obtain includes before repairing the corresponding executable patch file step of instruction:
Each class file of the software is compiled, in compilation process, if detecting the reference class file for quoting other class files
When, the class file that will be cited is compiled into the first executable file, and regard the first executable file as the second executable file
Executable subfile storage, wherein, second executable file is formed by the compiling of reference class file;
Each class file for compiling completion is stored in software correspondence executable file set.
3. the hot restorative procedure of software as claimed in claim 1, it is characterised in that the executable patch file is stored in service
In device, described when terminal detects software reparation instruction, obtaining the corresponding executable patch file step of reparation instruction includes:
When terminal detects software reparation instruction, the corresponding executable patch text of request software reparation instruction is sent to server
The solicited message of part;
The software reparation for obtaining server end feedback instructs corresponding executable patch file, and to the executable patch text
All kinds of class files of part carry out validation verification, when verifying completion, perform loading and compile the class file and are mended into executable
The step of fourth file.
4. the hot restorative procedure of software as claimed in claim 1, it is characterised in that the multiple step of hot repair of the realization to software it
Also include afterwards:
Detect whether the hot repair of software is succeeded again, and whether successful state is believed again for the hot repair for reporting to software to server end
Breath.
5. the hot restorative procedure of software as claimed in claim 4, it is characterised in that the detection to the hot repair of software again whether into
Work(, and whether successful state information Step includes again for the hot repair for reporting to software to server end:
Detect whether the hot repair to software succeeds again, when successful, the instruction for restarting the software is sent, with based on the instruction weight
Open software, and hot repair to software successful first state information again is reported to server end.
6. the hot restorative procedure of software as claimed in claim 5, it is characterised in that the detection to the hot repair of software again whether into
Work(, and whether successful state information Step also includes again for the hot repair for reporting to software to server end:
Detect whether the hot repair of software is succeeded again, when not becoming work(, send the prompt message of repairing failure, and to server end
Report the second status information to the hot repairing failure of software.
7. the hot restorative procedure of software as described in claim any one of 1-6, it is characterised in that the software includes executable text
Part set, the executable storage location of the file in executable file set that merge repairs file pair with former can perform
The storage location answered is consistent.
8. a kind of software hot repair complex system, it is characterised in that the software hot repair complex system includes server and realized as weighed
Profit requires the corresponding terminal of the hot restorative procedure of software any one of 1 to 7, wherein, the server is sent in receiving terminal
Solicited message when, feed back corresponding executable patch file, and receiving terminal report it is whether successful again to software hot repair
Status information.
9. a kind of terminal, it is characterised in that the terminal includes:Memory, processor, communication bus and it is stored in described deposit
Software hot fix on reservoir:
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the software hot fix, soft as any one of claim 1-7 to realize
The step of part hot restorative procedure.
10. a kind of computer-readable recording medium, it is characterised in that be stored with software heat on the computer-readable recording medium
Repair procedure, realizes the software as any one of claim 1-7 when the software hot fix is executed by processor
The step of hot restorative procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710483251.3A CN107329781A (en) | 2017-06-21 | 2017-06-21 | The hot restorative procedure of software, terminal, system and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710483251.3A CN107329781A (en) | 2017-06-21 | 2017-06-21 | The hot restorative procedure of software, terminal, system and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107329781A true CN107329781A (en) | 2017-11-07 |
Family
ID=60195478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710483251.3A Pending CN107329781A (en) | 2017-06-21 | 2017-06-21 | The hot restorative procedure of software, terminal, system and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107329781A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967427A (en) * | 2017-12-11 | 2018-04-27 | 北京奇虎科技有限公司 | Monitor the method, apparatus and terminal device of loophole attack |
CN108536464A (en) * | 2018-04-26 | 2018-09-14 | 北京奇艺世纪科技有限公司 | A kind of hot restorative procedure and device of application program |
CN111142922A (en) * | 2018-11-02 | 2020-05-12 | 阿里巴巴集团控股有限公司 | Application program updating method and device, terminal and server |
CN111399892A (en) * | 2020-03-18 | 2020-07-10 | 深圳Tcl数字技术有限公司 | Middleware program repairing method and device and computer readable storage medium |
CN111506904A (en) * | 2020-04-21 | 2020-08-07 | 北京同邦卓益科技有限公司 | Method and device for online vulnerability repair |
CN111796972A (en) * | 2020-06-30 | 2020-10-20 | 苏州三六零智能安全科技有限公司 | File hot-repair method, device, equipment and storage medium |
CN111953475A (en) * | 2020-07-23 | 2020-11-17 | 上海连尚网络科技有限公司 | Method and device for repairing code bugs |
CN112384893A (en) * | 2018-06-15 | 2021-02-19 | 微软技术许可有限责任公司 | Resource efficient deployment of multiple hot patches |
CN113760339A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Vulnerability repair method and device |
CN115296999A (en) * | 2022-09-28 | 2022-11-04 | 深圳依时货拉拉科技有限公司 | Mobile terminal hot repair method, device, hot repair system and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103632098A (en) * | 2012-08-21 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Method and device for repairing bugs |
CN106020873A (en) * | 2016-05-13 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Service pack loading method and device |
CN106055368A (en) * | 2016-06-02 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Application updating method and device |
CN106095502A (en) * | 2016-06-13 | 2016-11-09 | 北京奇虎科技有限公司 | Hot restorative procedure, device, server and the system of a kind of Android application |
CN106339273A (en) * | 2015-07-14 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Application program restoration method, terminal and server |
-
2017
- 2017-06-21 CN CN201710483251.3A patent/CN107329781A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103632098A (en) * | 2012-08-21 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Method and device for repairing bugs |
CN106339273A (en) * | 2015-07-14 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Application program restoration method, terminal and server |
CN106020873A (en) * | 2016-05-13 | 2016-10-12 | 腾讯科技(深圳)有限公司 | Service pack loading method and device |
CN106055368A (en) * | 2016-06-02 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Application updating method and device |
CN106095502A (en) * | 2016-06-13 | 2016-11-09 | 北京奇虎科技有限公司 | Hot restorative procedure, device, server and the system of a kind of Android application |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107967427A (en) * | 2017-12-11 | 2018-04-27 | 北京奇虎科技有限公司 | Monitor the method, apparatus and terminal device of loophole attack |
CN108536464A (en) * | 2018-04-26 | 2018-09-14 | 北京奇艺世纪科技有限公司 | A kind of hot restorative procedure and device of application program |
CN112384893A (en) * | 2018-06-15 | 2021-02-19 | 微软技术许可有限责任公司 | Resource efficient deployment of multiple hot patches |
CN111142922B (en) * | 2018-11-02 | 2023-04-25 | 阿里巴巴集团控股有限公司 | Application program updating method, device, terminal and server |
CN111142922A (en) * | 2018-11-02 | 2020-05-12 | 阿里巴巴集团控股有限公司 | Application program updating method and device, terminal and server |
CN111399892A (en) * | 2020-03-18 | 2020-07-10 | 深圳Tcl数字技术有限公司 | Middleware program repairing method and device and computer readable storage medium |
CN111506904A (en) * | 2020-04-21 | 2020-08-07 | 北京同邦卓益科技有限公司 | Method and device for online vulnerability repair |
CN111506904B (en) * | 2020-04-21 | 2024-01-12 | 北京同邦卓益科技有限公司 | Method and device for online bug repair |
CN111796972A (en) * | 2020-06-30 | 2020-10-20 | 苏州三六零智能安全科技有限公司 | File hot-repair method, device, equipment and storage medium |
CN111796972B (en) * | 2020-06-30 | 2022-11-04 | 苏州三六零智能安全科技有限公司 | File hot-repair method, device, equipment and storage medium |
CN113760339A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Vulnerability repair method and device |
CN111953475A (en) * | 2020-07-23 | 2020-11-17 | 上海连尚网络科技有限公司 | Method and device for repairing code bugs |
CN115296999B (en) * | 2022-09-28 | 2023-01-10 | 深圳依时货拉拉科技有限公司 | Mobile terminal hot repair method, device, hot repair system and readable storage medium |
CN115296999A (en) * | 2022-09-28 | 2022-11-04 | 深圳依时货拉拉科技有限公司 | Mobile terminal hot repair method, device, hot repair system and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107329781A (en) | The hot restorative procedure of software, terminal, system and computer-readable recording medium | |
CN107276789A (en) | Daily record method for uploading, device and computer-readable recording medium | |
CN108536594A (en) | Page test method, device and storage device | |
CN104102500B (en) | The process initiation method and computer system of a kind of application program | |
CN108228230A (en) | Upgrade method, terminal and the computer readable storage medium of UFS firmwares | |
CN107220878A (en) | Transaction processing system, second kill order processing method and apparatus | |
CN106708734A (en) | Software abnormality detection method and apparatus | |
CN107341011A (en) | A kind of desktop display method, mobile terminal and computer-readable recording medium | |
CN107071180A (en) | Desktop customization layout method, mobile terminal and computer-readable recording medium | |
CN107506182A (en) | Software layout method, software merit rating device and computer-readable recording medium | |
CN107256147A (en) | Pop-up control method, terminal and the computer-readable recording medium of application widget | |
CN109922078A (en) | Upgrade control method, mobile terminal and computer readable storage medium | |
CN107040543A (en) | Single-point logging method, terminal and storage medium | |
CN109687974A (en) | APK verification method, device, mobile terminal and readable storage medium storing program for executing | |
CN106484771B (en) | Different information file generated and application process, device | |
CN109561209A (en) | A kind of font switching method, terminal and computer readable storage medium | |
CN107220050A (en) | Adaptive display method, terminal and computer-readable recording medium | |
CN108549826A (en) | Method of calibration, terminal, server and the readable storage medium storing program for executing of application program | |
CN106789866B (en) | A kind of method and device detecting malice network address | |
CN110378107A (en) | A kind of method and relevant apparatus of installation kit detection | |
CN107219951A (en) | Touch screen control method, device, storage medium and terminal device | |
CN107590397A (en) | A kind of method and apparatus for showing embedded webpage | |
CN109885325A (en) | Terminal system upgrade method, terminal and computer readable storage medium | |
CN107608707A (en) | Application detection method, terminal and readable storage medium storing program for executing with hot repair function | |
CN109002547A (en) | Journal file storage method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171107 |
|
RJ01 | Rejection of invention patent application after publication |