CN108762787B - Software repairing method, device, computer equipment and storage medium - Google Patents

Software repairing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108762787B
CN108762787B CN201810547223.8A CN201810547223A CN108762787B CN 108762787 B CN108762787 B CN 108762787B CN 201810547223 A CN201810547223 A CN 201810547223A CN 108762787 B CN108762787 B CN 108762787B
Authority
CN
China
Prior art keywords
code segment
package
packet
restoration
current thermal
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
CN201810547223.8A
Other languages
Chinese (zh)
Other versions
CN108762787A (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.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen 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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN201810547223.8A priority Critical patent/CN108762787B/en
Publication of CN108762787A publication Critical patent/CN108762787A/en
Application granted granted Critical
Publication of CN108762787B publication Critical patent/CN108762787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

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)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a software repair method, a software repair device, computer equipment and a storage medium. The method comprises the following steps: acquiring a current thermal restoration package corresponding to software to be restored from a server, wherein the current thermal restoration package comprises a modification code segment; inquiring an original code segment corresponding to the current hot repair packet, and acquiring a jump code segment corresponding to the original code segment; inquiring an execution switch code section corresponding to the jump code section, and receiving a change instruction for changing the execution switch code section; according to the change instruction, the execution switch code segment is changed; executing the jump code segment according to the changed execution switch code segment; and according to the jump code segment, inquiring the modification code segment in the current thermal restoration package, and executing the modification code segment to finish restoration of the software to be restored. By adopting the method, a series of processes such as long-term development and test are not needed, and the software repairing efficiency is improved.

Description

Software repairing method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a software repairing method, a device, a computer device, and a storage medium.
Background
With the development of computer technology, more and more industries need to use computers, so that software development also needs faster and faster updating iteration, and further needs to develop corresponding software versions continuously and iteratively to meet the use demands of users.
Conventionally, when a problem occurs in a new version of released software, the new version needs to be redeveloped to repair the problem occurring in the current version, and the redeveloped needs to undergo a set of processes of repair, test, online and the like, so that a great deal of time and cost are required to be consumed, and the software repair efficiency is low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a software repairing method, apparatus, computer device, and storage medium capable of improving software repairing efficiency.
A method of software repair, the method comprising:
acquiring a current thermal restoration package corresponding to software to be restored from a server, wherein the current thermal restoration package comprises a modified code segment;
inquiring an original code segment corresponding to the current thermal restoration package, and acquiring a jump code segment corresponding to the original code segment;
inquiring an execution switch code segment corresponding to the jump code segment, and receiving a change instruction for changing the execution switch code segment;
Modifying the execution switch code segment according to the modification instruction;
executing the jump code segment according to the changed execution switch code segment;
and according to the jump code segment, inquiring the modified code segment in the current thermal restoration package, and executing the modified code segment to finish restoration of the software to be restored.
In one embodiment, after the obtaining the current thermal repair package from the server and before the querying the original code segment corresponding to the current thermal repair package, the method further includes:
inquiring whether a hot repair packet to be operated exists or not;
when the thermal restoration package to be operated exists, a first version number of the thermal restoration package to be operated and a second version number of the current thermal restoration package are obtained;
when the first version number of the thermal restoration packet to be operated is lower than the second version number of the current thermal restoration packet, acquiring a first encryption identifier of the thermal restoration packet to be operated and a second encryption identifier of the current thermal restoration packet to be operated;
comparing the first encryption identifier with the second encryption identifier, and deleting the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier.
In one embodiment, the comparing the first encrypted identifier with the second encrypted identifier, and deleting the hot repair packet to be run when the first encrypted identifier is different from the second encrypted identifier, includes:
comparing the first encryption identifier with the second encryption identifier, and unloading the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier;
when the hot repair package to be operated is completely unloaded, loading the current hot repair package;
and when the current thermal restoration packet is successfully loaded, finishing deleting the thermal restoration packet to be operated.
In one embodiment, after the obtaining the current thermal repair package from the server and before the querying the original code segment corresponding to the current thermal repair package, the method further includes:
acquiring availability judgment logic of the current thermal restoration package;
judging whether the current thermal restoration packet is available or not according to the availability judging logic;
and when the current thermal restoration package is not available, acquiring an acquisition instruction of an updated thermal restoration package, and acquiring the updated thermal restoration package from a server according to the acquisition instruction.
In one embodiment, the current thermal repair package is generated by the server according to a modified code segment when the server detects that the modified code segment exists in the original code segment;
the jump code segment is the modified code segment inserted by the server prior to the original code segment for indicating, when executed, a jump to a corresponding one of the current thermal repair packages.
In one embodiment, the modified code segment is a code segment with a change in encryption identification added to the original code segment.
A software repair device, the device comprising:
the system comprises an acquisition module, a restoration module and a restoration module, wherein the acquisition module is used for acquiring a current thermal restoration package corresponding to software to be restored from a server, and the current thermal restoration package comprises a modification code section;
the query module is used for querying an original code segment corresponding to the current thermal restoration package and acquiring a jump code segment corresponding to the original code segment;
the change instruction receiving module is used for inquiring the execution switch code segment corresponding to the jump code segment and receiving a change instruction for changing the execution switch code segment;
the change module is used for changing the execution switch code segment according to the change instruction;
A jump code segment execution module for executing the jump code segment according to the modified execution switch code segment;
and the modified code segment execution module is used for inquiring the modified code segment in the current thermal repair package according to the jump code segment, and executing the modified code segment to finish the repair of the software to be repaired.
In one embodiment, the apparatus further comprises:
the hot repair package to be operated inquiry module is used for inquiring whether the hot repair package to be operated exists or not;
the version number acquisition module is used for acquiring a first version number of the hot repair packet to be operated and a second version number of the current hot repair packet when the hot repair packet to be operated exists;
the encryption identifier acquisition module is used for acquiring a first encryption identifier of the hot repair packet to be operated and a second encryption identifier of the current hot repair packet to be repaired when the first version number of the hot repair packet to be operated is lower than the second version number of the current hot repair packet;
and the comparison module is used for comparing the first encryption identifier with the second encryption identifier, and deleting the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
According to the software repairing method, the device, the computer equipment and the storage medium, new software does not need to be released, the current thermal repairing package corresponding to the software to be repaired is directly obtained, the jump code segment is queried according to the modification code segment contained in the thermal repairing package, the execution switch corresponding to the jump code segment is changed, the jump code segment can be directly executed to execute the corresponding modification code segment, the original code segment is not executed any more, and therefore the software to be repaired is repaired, a series of processes such as long-term development and testing are not needed, and software repairing efficiency is improved.
Drawings
FIG. 1 is an application scenario diagram of a software repair method in one embodiment;
FIG. 2 is a flow diagram of a software repair method in one embodiment;
FIG. 3 is a flow chart of a software repair package query step in one embodiment;
FIG. 4 is a block diagram of a software repair device in one embodiment;
fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The software repairing method provided by the application can be applied to an application environment shown in figure 1. The terminal and the server communicate through a network. The terminal obtains the current thermal restoration package from the server, further inquires an original code segment corresponding to the current thermal restoration package, obtains a jump code segment corresponding to the original code segment, inquires an execution switch code segment corresponding to the jump code segment, receives a change instruction for changing the execution switch code segment, changes the execution switch code segment according to the change instruction, executes the jump code segment according to the changed execution switch code segment, inquires a modification code segment in the current thermal restoration package according to the executed jump code segment, and executes the modification code segment to complete software restoration. The terminal may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers and portable wearable devices, and the server may be implemented by a separate server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a software repairing method is provided, and the method is applied to the terminal in fig. 1 for illustration, and includes the following steps:
s202: and acquiring a current thermal restoration package corresponding to the software to be restored from the server, wherein the current thermal restoration package comprises a modified code segment.
Specifically, the current thermal repairing package refers to a program package stored in a server and capable of repairing a bug occurring in an application program installed in a terminal, and a modified code section exists in the current thermal repairing package, and typically, the terminal executes the corresponding modified code section to replace an original code section where the bug occurs to complete the bug repairing. The modified code segment refers to a code corresponding to an original code segment in which a bug occurs, and execution of the corresponding modified code segment avoids executing the bug of the original code segment. The software to be repaired refers to an application program containing the original code segment. Specifically, the terminal obtains the thermal repairing package from the server, wherein the thermal repairing package includes a modification code segment, and may be that the server detects whether the thermal repairing package exists, when the thermal repairing package is detected, it inquires whether the thermal repairing package has a corresponding obtained mark, when the thermal repairing package does not have the obtained mark, the thermal repairing package is not obtained by the terminal, the thermal repairing package is the current thermal repairing package, the server sends a prompt message that the current thermal repairing package exists to the terminal, and the prompt message includes a software version number corresponding to the current thermal repairing package and a corresponding repairing code identifier, and the terminal receives the corresponding prompt message to obtain the current thermal repairing package from the server. The terminal obtains the thermal repair packet from the server, or the terminal sends a detection request for detecting whether the thermal repair packet exists to the server at regular time, the detection request carries a software version number of the software to be repaired and a corresponding repair code identifier, when the server receives the detection request sent by the terminal, the server detects whether the corresponding thermal repair packet exists according to the software version number of the detection request, and when the corresponding thermal repair packet exists, the terminal sends the corresponding thermal repair packet to the terminal as the current thermal repair packet, so that the terminal obtains the current thermal repair packet.
S204: and inquiring an original code segment corresponding to the current thermal restoration package, and acquiring a jump code segment corresponding to the original code segment.
Specifically, the original code segment is a code segment to be repaired that indicates the vulnerability is found. The jump code segment refers to a code segment inserted by the server before the original code segment, and when the jump code segment is executed, the jump code segment is jumped to a modified code segment in the obtained current thermal restoration packet, that is, the terminal executes the jump code segment first, so that the jump code segment is jumped to the obtained current thermal restoration packet to execute the corresponding modified code segment. Specifically, when the terminal obtains the current thermal restoration package, the original code segment corresponding to the current thermal restoration package is queried, namely, the original code segment to be restored with the vulnerability is queried, and further, the jump code segment inserted before the original code segment is queried. When the terminal obtains the current thermal restoration package, the terminal may query the restoration code identifier corresponding to the thermal restoration package when obtaining the current thermal restoration package, find the original code segment consistent with the code segment to be restored according to the code segment to be restored characterized by the restoration code identifier, and obtain the skip code segment before inserting the original code segment when finding the original code segment, where the query of the skip code segment may be performed according to the corresponding code tag, that is, the code segment with the query of the code tag displayed as the current corresponding code segment is the skip code segment.
S206: inquiring an execution switch code segment corresponding to the jump code segment, and receiving a change instruction for changing the execution switch code segment.
Specifically, the execution switch code segment refers to a code segment corresponding to the skip code segment and capable of indicating whether the terminal executes the corresponding skip code segment, that is, the execution switch code segment may represent a related execution condition, when the terminal detects that the execution switch code segment represents the first execution condition, the skip code segment is skipped, and then the modified code segment in the skip thermal repair packet executes the corresponding original code segment, when the terminal detects that the execution switch code segment represents the second execution condition, the skip code segment is directly executed, and then the original code segment is skipped, so that the skip code segment is executed, and the modified code segment in the thermal repair packet is skipped according to the skip code segment, so that the original code segment is not executed. Specifically, the terminal inquires the execution switch code segment corresponding to the jump code segment, further judges whether the execution switch code segment is a first execution condition representing the direct execution of the original code segment, when the execution switch code segment represents the first execution condition of the direct execution of the original code segment, prompt information is displayed on a display interface corresponding to the terminal, and a user can input changed information to the execution switch code segment according to the prompt information, namely, change the execution switch code segment into the jump code segment representing the jump execution corresponding to the jump code segment without executing the original code segment, so that corresponding change instructions are generated according to the changed information input by the user, and the terminal receives the change instructions generated according to the changed information input by the user.
S208: and according to the change instruction, the switch code segment is executed to change.
Specifically, the terminal receives a modification instruction generated according to modification information input by a user, and modifies the execution switch code segment corresponding to the jump code segment into a second execution condition representing that the jump code segment can be directly executed. The terminal may receive the change instruction, query an execution switch code segment corresponding to the change instruction, query whether the execution switch code segment represents a first execution condition for directly executing the original code, and change the execution switch code segment to a second execution condition when the execution switch code segment represents the first execution condition for executing the original code, so that the terminal executes the skip code segment and executes the repair code segment in the hot repair packet, that is, skips the original code segment.
S210: and executing the jump code segment according to the changed execution switch code segment.
Specifically, when the terminal receives the change instruction, the execution switch code segment is changed according to the change instruction, that is, when the change is completed, the execution switch code segment characterizes a second execution condition which can be a direct execution jump code segment, and the terminal executes the corresponding jump code segment according to the second execution condition.
S212: and according to the jump code segment, inquiring the modification code segment in the current thermal restoration package, and executing the modification code segment to finish restoration of the software to be restored.
Specifically, the terminal directly executes the jump code segment according to the second execution condition represented by the execution switch code segment, when executing the jump code segment, jumps to a hot repair packet corresponding to the jump code segment, extracts the contained modification code segment from the hot repair packet, and when extracting the modification code segment, executes the modification code segment, namely, the terminal skips the original code segment with the bug, thereby directly executing the modification code segment, and completing the repair of the software to be repaired.
In this embodiment, when repairing a corresponding application program, the terminal does not need to redevelop a corresponding software version, but directly obtains a hot repair packet, so as to query an original code segment corresponding to the hot repair packet, obtain a skip code segment corresponding to the original code segment, and further modify an execution switch code segment corresponding to the skip code segment, so that the terminal can directly execute the skip code segment and execute a modified code contained in the hot repair packet, thereby skipping an original code with a bug to complete the repair of the software, improving the repair efficiency and enhancing the applicability.
In one embodiment, please refer to fig. 3, a flowchart of a software repair package query step is provided, and the software repair package query step further includes, after the current thermal repair package is obtained from the server and before the original code segment corresponding to the current thermal repair package is queried: inquiring whether a hot repair packet to be operated exists or not; when the thermal restoration package to be operated exists, a first version number of the thermal restoration package to be operated and a second version number of the current thermal restoration package are obtained; when the first version number of the thermal restoration packet to be operated is lower than the second version number of the current thermal restoration packet, acquiring a first encryption identifier of the thermal restoration packet to be operated and a second encryption identifier of the current thermal restoration packet to be operated; and comparing the first encrypted identifier with the second encrypted identifier, and deleting the hot repair packet to be operated when the first encrypted identifier is different from the second encrypted identifier.
Specifically, the thermal restoration package to be operated refers to a thermal restoration package which is acquired by a terminal and is to be installed, and the thermal restoration package to be installed is a thermal restoration package which is acquired from a server before the current thermal restoration package is acquired. The first version number refers to a software version number to be repaired corresponding to the hot repair packet to be operated, and corresponding software to be repaired can be queried according to the first version number. The second version number refers to a software version number to be repaired corresponding to the current thermal repair packet obtained by the terminal from the server, that is, corresponding software to be repaired can be queried according to the second version number. The first encryption identifier refers to an encrypted repair code identifier corresponding to the thermal repair packet to be operated, namely, according to the first encryption identifier, a corresponding original code segment with a bug to be repaired can be queried, the first encryption identifier can be generated by a server, namely, when the server generates the thermal repair packet to be operated, the server extracts a code segment to be modified, so that the code segment to be modified is subjected to a corresponding encryption Algorithm to obtain a unique encryption value corresponding to the modified code segment, wherein the encryption value is the first encryption identifier, further, the encryption Algorithm adopted by the server can be an MD5 (Message-Digest Algorithm 5, fifth edition of the information-Digest Algorithm) Algorithm, and the obtained first encryption identifier can be a first hash value. The second encryption identifier refers to an encrypted repair code identifier corresponding to the current thermal repair packet, that is, all code segments with vulnerabilities contained in the original code segments can be queried according to the second encryption identifier, and likewise, the second encryption identifier can be generated by a server, that is, when the server generates the current thermal repair packet, the code segments to be modified are extracted, so that the code segments to be modified are subjected to encryption Algorithm, and a unique encryption value corresponding to the modified code segments is obtained, wherein the encryption value is the second encryption identifier, further, the encryption Algorithm adopted by the server can be an MD5 (Message-Digest Algorithm 5) Algorithm, and the obtained second encryption identifier can be a second hash value.
Specifically, when the terminal obtains the current thermal repair packet from the server, it is required to query whether other thermal repair packets have been downloaded, that is, whether there is a thermal repair packet to be run, and determine whether the obtained current thermal repair packet is the same thermal repair packet as the existing thermal repair packet to be run. When the terminal obtains the current thermal restoration package from the server, inquiring whether other thermal restoration packages are obtained, namely, inquiring whether other thermal restoration packages exist in the terminal as thermal restoration packages to be operated, when inquiring that the thermal restoration packages exist, inquiring a first version number corresponding to the thermal restoration packages to be operated, further, the terminal obtains a second version number corresponding to the thermal restoration packages to be operated again, comparing the first version number with the second version number, when the first version number is different from the second version number, inquiring whether the first version number is lower than the second version number, when the first version number is lower than the second version number, the thermal restoration packages to be operated are not new thermal restoration packages, completing first-stage judgment, namely, preliminarily judging that software versions which can be restored by the current thermal restoration packages and the thermal restoration packages to be operated are different versions, however, sometimes, though the version numbers of the software to be repaired added when the hot repairing package generated by the server are different, the version numbers of the software to be repaired added may be different from the version numbers of the software to be repaired added when the hot repairing package generated by the server is generated in advance, so that the hot repairing package to be operated is different from the current hot repairing package only in terms of the version numbers to be repaired, but the original codes of the vulnerabilities in the software to be repaired are the same, further, since each hot repairing package has unique and different encryption identifications, the encryption identifications are adopted to perform the second-stage judgment, the terminal obtains the first encryption identification corresponding to the current hot repairing package, then obtains the second encryption identification of the hot repairing package to be operated, the terminal compares the first encryption identification with the second encryption identification, when the first encryption identification is different from the second encryption identification, the current repairing package is the completely different from the hot repairing package to be operated, that is, the hot repairing package existing in the terminal has been updated, the current thermal restoration package acquired by the terminal is the latest thermal restoration package, the terminal deletes the thermal restoration package to be operated, and the modified code section in the current thermal restoration package can be directly executed subsequently so as to finish restoration; when the first encryption identifier is the same as the second encryption identifier, the software version numbers of the corresponding software to be repaired of the current thermal repair package and the thermal repair package to be operated are the same, but the same repair can be carried out, corresponding deletion prompt information can be displayed on a display interface corresponding to the terminal, a user selects the thermal repair package to be deleted according to the deletion prompt information, a deletion instruction is generated according to the selection of the user, and the terminal receives the deletion instruction to delete the thermal repair package selected by the user.
In this embodiment, when the terminal obtains the current thermal restoration packet, it may query whether there is an existing thermal restoration packet to be operated, when there is an existing thermal restoration packet to be operated, it determines whether the current thermal restoration packet and the thermal restoration packet to be operated are the same thermal restoration packet, and it needs to perform a first-stage determination, that is, a version number determination, and a second-stage determination, that is, an encryption identifier determination, so as to improve the accuracy of the determination, and when it is determined that the current thermal restoration packet and the thermal restoration packet to be operated are different thermal restoration packets, it deletes the thermal restoration packet to be operated, thereby avoiding that there are different thermal restoration packets to cause the software restoration failure to be checked again, improving the restoration efficiency and accuracy, and it may delete the thermal restoration packet that is not needed to be used, so as to save the operation space.
In one embodiment, the first encrypted identifier is compared with the second encrypted identifier, and when the first encrypted identifier is different from the second encrypted identifier, the hot repair packet to be run is deleted, including: comparing the first encrypted identifier with the second encrypted identifier, and unloading the hot repair packet to be operated when the first encrypted identifier is different from the second encrypted identifier; when the unloading of the thermal restoration package to be operated is completed, loading the current thermal restoration package; and when the current thermal restoration package is successfully loaded, finishing deleting the thermal restoration package to be operated.
Specifically, when the terminal obtains the current thermal restoration packet, whether the current thermal restoration packet is the same as the existing thermal restoration packet to be operated is required to be inquired, when the first version number of the thermal restoration packet to be operated is compared with the second version number of the current thermal restoration packet to be operated, the first encryption identifier and the second encryption identifier of the current thermal restoration packet are compared, that is, the method is adopted, the unique encryption value corresponding to the current thermal restoration packet is compared with the unique encryption value corresponding to the thermal restoration packet to be operated, when the comparison result is different, that is, the first encryption identifier and the second encryption identifier are different, the thermal restoration packet to be operated is the same as the current thermal restoration packet, then the thermal restoration packet to be operated is unloaded, that is, the resources of the terminal occupied by the thermal restoration packet to be operated are released, that is, the corresponding memory space is deleted, when the thermal restoration packet to be operated is unloaded, the obtained unique encryption value is compared with the unique encryption value corresponding to the thermal restoration packet to be operated, when the first encryption identifier and the second encryption identifier are different, the thermal restoration packet to be operated is unloaded, the relevant running space is allocated to the current thermal restoration file is deleted, and the thermal restoration packet is unloaded is completed.
In this embodiment, the deletion of the thermal repair package to be operated is completed by unloading the thermal repair package to be operated and loading the current thermal repair package, so that the subsequent modification code segment in the current thermal repair package can be accurately executed, thereby completing the repair of the software and ensuring the accuracy of the software repair.
In one embodiment, after the step of obtaining the current thermal repair package from the server and before the step of querying the original code segment corresponding to the current thermal repair package, the method may further include: acquiring availability judgment logic of a current thermal restoration package; judging whether the current thermal restoration packet is available according to the availability judgment logic; and when the current thermal restoration package is not available, acquiring an acquisition instruction for updating the thermal restoration package, and acquiring the updated thermal restoration package from the server according to the acquisition instruction.
Specifically, the availability judgment logic is a rule capable of verifying a current thermal restoration package acquired by the terminal, and the availability judgment logic can verify at least one of a version of the current thermal restoration package, an encryption identifier of the current thermal restoration package, and a server identifier of a source of the current thermal restoration package. The acquiring instruction refers to a command received by the terminal to re-acquire the thermal repair package, the acquiring instruction can be generated according to the re-acquiring information input by the user, and the terminal acquires a new thermal repair package from the server according to the acquiring instruction so as to repair the software. Updating the thermal repair package is that the terminal re-acquires the thermal repair package from the server when the current thermal repair package is not available.
Specifically, when the terminal obtains the current thermal restoration package, the availability judgment logic of the current thermal restoration package is obtained, the availability judgment logic is prestored in the terminal, according to the obtained availability judgment logic, a judgment item which needs to be judged on the current thermal restoration package is inquired, whether the current thermal restoration package is available or not is judged according to the judgment item, when the current thermal restoration package is judged to be available, the subsequent operation of executing the modified code section in the thermal restoration package is continued, when the judgment result of any judgment item is unavailable, the judgment result of the current thermal restoration package is unavailable, the new thermal restoration package is needed to be obtained, namely, related prompt information is displayed on a display interface corresponding to the terminal, according to the prompt information, the user selects, when the user selects to obtain the updated thermal restoration package, an obtaining instruction is generated according to the selection of the user, and the terminal obtains the updated thermal restoration package from the server according to the obtaining instruction.
When the terminal obtains the current thermal restoration package, the availability judgment logic obtains the current thermal restoration package, if the availability judgment logic displays and judges the version of the current thermal restoration package, judges the encryption identification of the current thermal restoration package and judges the source of the current thermal restoration package, the terminal inquires the version number carried by the current thermal restoration package according to the availability judgment logic, and then the terminal obtains the version number of the current software to be restored, compares the version number of the current software to be restored with the version number carried by the current thermal restoration package according to the version number of the current software to be restored and the version number carried by the current thermal restoration package, thereby determining that the version returned by the current thermal restoration package is the correct version, namely inquiring whether the current thermal restoration package is suitable for the software to be restored or not, when the version number of the current thermal restoration package is consistent with the version number of the software to be restored, inquiring the encryption identifier carried by the current thermal restoration package, inquiring from a server that the corresponding restoration package log file is generated when the thermal restoration package is generated, correspondingly storing the corresponding version number, encryption identifier and other information of the thermal restoration package in the restoration package log file, inquiring the encryption identifier carried by the current thermal restoration package by the terminal, further comparing the encryption identifier with the encryption identifier of the current thermal restoration package contained in the log file, when the comparison is successful, the encryption identifier of the current thermal restoration package is the correct encryption identifier, namely the current thermal restoration package obtained at present is the effective thermal restoration package, when the current thermal restoration package is inquired as the effective thermal restoration package, inquiring whether the source corresponding to the current thermal restoration package is correct, the source of the current thermal restoration package can be interface information corresponding to the server, inquiring whether the interface information carried on the current thermal restoration package is prestored available server interface information, if the interface information is prestored available server interface information, the source of the current thermal restoration package is also the correct source, namely the current thermal restoration package acquired by the terminal is the available thermal restoration package, when the terminal verifies the current thermal restoration package according to the availability judgment logic, if the judgment result of any judgment item is unavailable, corresponding prompt information is displayed on the interface corresponding to the terminal, if the prompt information can be 'whether to reacquire the thermal restoration package', and if the user selects 'yes' option, an acquisition instruction is generated, the terminal acquires the updated thermal restoration package from the server according to the acquisition instruction, and deletes the current thermal restoration package.
In this embodiment, when the terminal obtains the current thermal restoration package from the server, the availability judgment logic is obtained according to the current thermal restoration package, the obtained current thermal restoration package can be judged according to the availability judgment logic, when the judgment result is unavailable, the updated thermal restoration package is obtained from the server according to the obtaining instruction, when the unavailable current thermal restoration package is directly used, the corresponding problem is checked again, the restoration efficiency of the software is low, and the efficiency and accuracy of software restoration are improved.
In one embodiment, the current thermal remediation package is generated by the server according to the modified code segment when the server detects that the modified code segment exists in the original code segment; the jump code segment is a code segment that the server inserts before the original code segment for indicating, when executed, a jump to a corresponding modification in the current thermal repair package.
In one embodiment, the modified code segment is a code segment that has a change in the encryption identification added to the original code segment.
In one embodiment, when the server detects that a modified code segment exists in the original code segment, the modified code segment is generated according to the modified code segment, and the modified code segment is a code segment with changed encryption identification added on the original code segment; the jump code segment is a corresponding modified code segment that the server inserts before the original code segment for indicating a jump to the current hot fix package when executed.
Specifically, when the server detects that the modified code segment exists, the modified code segment is extracted to generate a current thermal repair package, the modified code segment is detected to be an encryption identifier added by the code segment, when the encryption identifier changes, the code segment is modified, the server extracts the modified code segment to generate the current thermal repair package, and the terminal can acquire the current thermal repair package generated by the server to finish software repair. Further, each code segment stored in the server carries a corresponding code segment identifier, the server queries different original code segments according to the code segment identifiers, further generates a corresponding encrypted identifier for each original code segment according to a corresponding encryption algorithm according to the queried different original code segments, the server presets a query time, obtains each original code segment according to the preset query time to generate a corresponding encrypted identifier, compares the obtained encrypted identifier of each original code segment with the encrypted identifier of the last obtained corresponding code segment, and when the comparison result is different, the original code segment corresponding to the successfully-compared encrypted identifier is not changed, so as to query the code segment corresponding to the currently-obtained encrypted identifier, extracts the queried code segment, namely, modifies the code segment, and extracts the modified code segment to generate a thermal restoration package, and when the description is needed, the encryption algorithm adopted by the server can be MD5
(Message-Digest Algorithm 5, fifth edition of the Message-Digest Algorithm) Algorithm, the resulting encrypted identification may be a hash value.
Specifically, the jump code segment refers to a code segment inserted by the server before the original code segment, and when executing the jump code segment, the jump code segment will jump to a modified code segment in the obtained current thermal repair packet, that is, the terminal will execute the jump code segment first, so as to jump to the obtained current thermal repair packet to execute the corresponding modified code segment. Further, the server may search according to the code segment identifier, and insert the jump code segment before the searched code segment identifier, when the terminal queries the corresponding thermal repair packet, the original code segment corresponding to the modified code segment in the thermal repair packet is queried, so that the corresponding jump code segment can be queried, when the terminal obtains the corresponding jump code segment, the corresponding execution switch code segment corresponding to the jump code segment is changed, so that the terminal directly executes the obtained jump code segment in the process of running the application program, and jumps to the current thermal repair packet according to the executed jump code segment, thereby executing the modified code segment in the current thermal repair packet and completing the corresponding software repair.
In this embodiment, the corresponding jump code segment is preset for the server, so that the whole application program does not need to be redeveloped when the software installed in the terminal is repaired, and only the modification code segment in the corresponding thermal repair package is executed according to the jump code segment, thereby improving the efficiency of software repair. When the terminal acquires the hot repair packet, the server inquires the corresponding jump code section of the hot repair packet, and then executes corresponding change of the switch code section, so that the terminal directly executes the jump code section and jumps to the modified code section in the hot repair packet, the jump code section is preset, and the software repair can be completed by quickly jumping to the modified code section in the hot repair packet, thereby improving the efficiency of software repair.
It should be understood that, although the steps in the flowcharts of fig. 2-3 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
In one embodiment, as shown in FIG. 4, a software remediation device 400 is provided, comprising: an acquisition module 410, a query module 420, a change instruction receiving module 430, a change module 440, a jump code segment execution module 450, a change code segment execution module 460, wherein:
the obtaining module 410 is configured to obtain, from a server, a current thermal restoration package corresponding to the software to be restored, where the current thermal restoration package includes a modified code segment.
And the query module 420 is configured to query an original code segment corresponding to the current thermal repair package, and obtain a jump code segment corresponding to the original code segment.
The change instruction receiving module 430 is configured to query an execution switch code segment corresponding to the jump code segment, and receive a change instruction for changing the execution switch code segment.
The modification module 440 is configured to modify the execution switch code segment according to the modification instruction.
The jump code segment executing module 450 is configured to execute the jump code segment according to the modified execution switch code segment.
And the modified code segment execution module 460 is configured to query the modified code segment in the current hot repair package according to the jump code segment, and execute the modified code segment to complete the repair of the software to be repaired.
In one embodiment, the apparatus may further include:
and the hot repair package to be operated inquiry module is used for inquiring whether the hot repair package to be operated exists or not.
And the version number acquisition module is used for acquiring a first version number of the hot repair packet to be operated and a second version number of the current hot repair packet when the hot repair packet to be operated exists.
The encryption identifier acquisition module is used for acquiring a first encryption identifier of the hot repair packet to be operated and a second encryption identifier of the current hot repair packet to be operated when the first version number of the hot repair packet to be operated is lower than the second version number of the current hot repair packet.
And the comparison module is used for comparing the first encryption identifier with the second encryption identifier, and deleting the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier.
In one embodiment, the comparison module may further include:
and the unloading unit is used for comparing the first encryption identifier with the second encryption identifier, and unloading the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier.
And the loading unit is used for loading the current thermal restoration packet when the thermal restoration packet to be operated is unloaded.
And the query unit is used for completing deleting the hot repair packet to be operated when the current hot repair packet is successfully loaded.
In one embodiment, the software repair device further comprises:
the availability judgment logic acquisition module is used for acquiring the availability judgment logic of the current thermal restoration packet.
And the judging module is used for judging whether the current thermal restoration package is available according to the availability judging logic.
And the updated thermal restoration package acquisition module is used for acquiring an acquisition instruction of the updated thermal restoration package when the current thermal restoration package is not available, and acquiring the updated thermal restoration package from the server according to the acquisition instruction.
In one embodiment, the obtaining module 410 is configured to obtain, from a server, a current thermal repair package, where the current thermal repair package is generated by the server according to a modified code segment when the server detects that the modified code segment exists in an original code segment.
The query module 420 is configured to query an original code segment corresponding to a current thermal repair package, and obtain a skip code segment corresponding to the original code segment, where the skip code segment is a code segment inserted by a server before the original code segment and used to instruct, when executed, to skip to a corresponding modification code segment in the current thermal repair package, and the modification code segment is a code segment with a changed encryption identifier added to the original code segment.
For specific limitations of the software repair device, reference may be made to the above limitation of the software repair method, and no further description is given here. The various modules in the software repair device described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a software repair method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of: and acquiring a current thermal restoration package corresponding to the software to be restored from the server, wherein the current thermal restoration package comprises a modified code segment. And inquiring an original code segment corresponding to the current thermal restoration package, and acquiring a jump code segment corresponding to the original code segment. Inquiring an execution switch code segment corresponding to the jump code segment, and receiving a change instruction for changing the execution switch code segment. And according to the change instruction, the switch code segment is executed to change. And executing the jump code segment according to the changed execution switch code segment. And according to the jump code segment, inquiring the modification code segment in the current thermal restoration package, and executing the modification code segment to finish the restoration of the software to be restored.
In one embodiment, after the processor executes the computer program to obtain the current thermal repair package from the server and before the querying the original code segment corresponding to the current thermal repair package, the method further includes: and inquiring whether a hot repair packet to be operated exists. When the thermal restoration package to be operated exists, a first version number of the thermal restoration package to be operated and a second version number of the current thermal restoration package are obtained. And when the first version number of the thermal restoration packet to be operated is lower than the second version number of the current thermal restoration packet, acquiring a first encryption identifier of the thermal restoration packet to be operated and a second encryption identifier of the current thermal restoration packet to be operated. And comparing the first encrypted identifier with the second encrypted identifier, and deleting the hot repair packet to be operated when the first encrypted identifier is different from the second encrypted identifier.
In one embodiment, the processor when executing the computer program performs comparing the first encrypted identifier with the second encrypted identifier, and when the first encrypted identifier is different from the second encrypted identifier, deletes the hot repair packet to be executed, including: and comparing the first encrypted identifier with the second encrypted identifier, and unloading the hot repair packet to be operated when the first encrypted identifier is different from the second encrypted identifier. And when the unloading of the thermal restoration package to be operated is completed, loading the current thermal restoration package. And when the current thermal restoration package is successfully loaded, finishing deleting the thermal restoration package to be operated.
In one embodiment, after the processor executes the computer program to obtain the current thermal repair package from the server and before the querying the original code segment corresponding to the current thermal repair package, the method further includes: availability judgment logic of the current thermal restoration package is obtained. And judging whether the current thermal restoration packet is available or not according to the availability judgment logic. And when the current thermal restoration package is not available, acquiring an acquisition instruction for updating the thermal restoration package, and acquiring the updated thermal restoration package from the server according to the acquisition instruction.
In one embodiment, the processor, when executing the computer program, implements obtaining a current thermal repair package from the server, where the current thermal repair package includes a modified code segment, and the current thermal repair package is generated by the server according to the modified code segment when the server detects that the modified code segment exists in the original code segment. The processor is used for inquiring an original code segment corresponding to the current thermal restoration package when executing the computer program, and acquiring a jump code segment corresponding to the original code segment, wherein the jump code segment is a code segment which is inserted before the original code segment by the server and is used for indicating to jump to the corresponding modification in the current thermal restoration package when executing.
In one embodiment, the processor, when executing the computer program, obtains a current thermal repair package from the server, where the current thermal repair package includes a modified code segment, and the modified code segment is a code segment with a changed encryption identifier added to an original code segment.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: and acquiring a current thermal restoration package corresponding to the software to be restored from the server, wherein the current thermal restoration package comprises a modified code segment. And inquiring an original code segment corresponding to the current thermal restoration package, and acquiring a jump code segment corresponding to the original code segment. Inquiring an execution switch code segment corresponding to the jump code segment, and receiving a change instruction for changing the execution switch code segment. And according to the change instruction, the switch code segment is executed to change. And executing the jump code segment according to the changed execution switch code segment. And according to the jump code segment, inquiring the modification code segment in the current thermal restoration package, and executing the modification code segment to finish the restoration of the software to be restored.
In one embodiment, the computer program when executed by the processor, after implementing the obtaining of the current thermal repair package from the server and before the querying the original code segment corresponding to the current thermal repair package, further includes: and inquiring whether a hot repair packet to be operated exists. When the thermal restoration package to be operated exists, a first version number of the thermal restoration package to be operated and a second version number of the current thermal restoration package are obtained. And when the first version number of the thermal restoration packet to be operated is lower than the second version number of the current thermal restoration packet, acquiring a first encryption identifier of the thermal restoration packet to be operated and a second encryption identifier of the current thermal restoration packet to be operated. And comparing the first encrypted identifier with the second encrypted identifier, and deleting the hot repair packet to be operated when the first encrypted identifier is different from the second encrypted identifier.
In one embodiment, the computer program when executed by the processor performs the comparing the first encrypted identifier with the second encrypted identifier, and when the first encrypted identifier is different from the second encrypted identifier, deletes the hot repair packet to be executed, including: and comparing the first encrypted identifier with the second encrypted identifier, and unloading the hot repair packet to be operated when the first encrypted identifier is different from the second encrypted identifier. And when the unloading of the thermal restoration package to be operated is completed, loading the current thermal restoration package. And when the current thermal restoration package is successfully loaded, finishing deleting the thermal restoration package to be operated.
In one embodiment, the computer program when executed by the processor, after implementing the obtaining of the current thermal repair package from the server and before the querying the original code segment corresponding to the current thermal repair package, further includes: availability judgment logic of the current thermal restoration package is obtained. And judging whether the current thermal restoration packet is available or not according to the availability judgment logic. And when the current thermal restoration package is not available, acquiring an acquisition instruction for updating the thermal restoration package, and acquiring the updated thermal restoration package from the server according to the acquisition instruction.
In one embodiment, the computer program when executed by the processor implements obtaining a current thermal remediation package from the server, the current thermal remediation package including the modified code section, wherein the current thermal remediation package is generated by the server based on the modified code section when the presence of the modified code section is detected. The processor is used for inquiring an original code segment corresponding to the current thermal restoration package when executing the computer program, and acquiring a jump code segment corresponding to the original code segment, wherein the jump code segment is a code segment which is inserted before the original code segment by the server and is used for indicating to jump to the corresponding modification in the current thermal restoration package when executing.
In one embodiment, the computer program when executed by the processor implements obtaining a current thermal repair package from the server, the current thermal repair package including a modified code segment, the modified code segment being a code segment with a changed encryption identification added to the original code segment.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. A method of software repair, the method comprising:
acquiring a current thermal restoration package corresponding to software to be restored from a server, wherein the current thermal restoration package comprises a modified code segment;
inquiring an original code segment corresponding to the current thermal restoration package, and acquiring a jump code segment corresponding to the original code segment;
inquiring an execution switch code segment corresponding to the jump code segment, and receiving a change instruction for changing the execution switch code segment;
Modifying the execution switch code segment according to the modification instruction;
executing the jump code segment according to the changed execution switch code segment;
inquiring the modified code segment in the current thermal repair package according to the jump code segment, and executing the modified code segment to finish the repair of the software to be repaired;
after the current thermal restoration package is obtained from the server and before the original code segment corresponding to the current thermal restoration package is queried, the method further comprises the following steps:
acquiring availability judgment logic of the current thermal restoration package;
judging whether the current thermal restoration packet is available according to the availability judgment logic;
and when the current thermal restoration package is not available, acquiring an acquisition instruction of an updated thermal restoration package, and acquiring the updated thermal restoration package from a server according to the acquisition instruction.
2. The method of claim 1, further comprising, after the obtaining the current thermal remediation package from the server and before the querying the original code section corresponding to the current thermal remediation package:
inquiring whether a hot repair packet to be operated exists or not;
when the thermal restoration package to be operated exists, a first version number of the thermal restoration package to be operated and a second version number of the current thermal restoration package are obtained;
When the first version number of the thermal restoration packet to be operated is lower than the second version number of the current thermal restoration packet, acquiring a first encryption identifier of the thermal restoration packet to be operated and a second encryption identifier of the current thermal restoration packet;
comparing the first encryption identifier with the second encryption identifier, and deleting the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier.
3. The method of claim 2, wherein comparing the first encrypted identifier with the second encrypted identifier, and deleting the hot repair packet to be run when the first encrypted identifier is different from the second encrypted identifier, comprises:
comparing the first encryption identifier with the second encryption identifier, and unloading the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier;
when the hot repair package to be operated is completely unloaded, loading the current hot repair package;
and when the current thermal restoration packet is successfully loaded, finishing deleting the thermal restoration packet to be operated.
4. A method according to any one of claims 1 to 3, wherein the current thermal repair package is generated by the server from the modified code segment upon detecting the presence of the modified code segment in the original code segment;
The jump code segment is the modified code segment inserted by the server prior to the original code segment for indicating, when executed, a jump to a corresponding one of the current thermal repair packages.
5. The method of claim 4, wherein the modified code segment is a code segment with a change in encryption identification added to the original code segment.
6. A software repair device, the device comprising:
the system comprises an acquisition module, a restoration module and a restoration module, wherein the acquisition module is used for acquiring a current thermal restoration package corresponding to software to be restored from a server, and the current thermal restoration package comprises a modification code section;
the query module is used for querying an original code segment corresponding to the current thermal restoration package and acquiring a jump code segment corresponding to the original code segment;
the change instruction receiving module is used for inquiring the execution switch code segment corresponding to the jump code segment and receiving a change instruction for changing the execution switch code segment;
the change module is used for changing the execution switch code segment according to the change instruction;
a jump code segment execution module for executing the jump code segment according to the modified execution switch code segment;
The modified code segment execution module is used for inquiring the modified code segment in the current hot repair package according to the jump code segment, and executing the modified code segment to finish the repair of the software to be repaired;
the availability judgment logic acquisition module is used for acquiring the availability judgment logic of the current thermal restoration packet;
the judging module is used for judging whether the current thermal restoration packet is available according to the availability judging logic;
and the updated thermal restoration package acquisition module is used for acquiring an acquisition instruction of the updated thermal restoration package when the current thermal restoration package is unavailable, and acquiring the updated thermal restoration package from a server according to the acquisition instruction.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the hot repair package to be operated inquiry module is used for inquiring whether the hot repair package to be operated exists or not;
the version number acquisition module is used for acquiring a first version number of the hot repair packet to be operated and a second version number of the current hot repair packet when the hot repair packet to be operated exists;
the encryption identifier acquisition module is used for acquiring a first encryption identifier of the thermal restoration packet to be operated and a second encryption identifier of the current thermal restoration packet when the first version number of the thermal restoration packet to be operated is lower than the second version number of the current thermal restoration packet;
And the comparison module is used for comparing the first encryption identifier with the second encryption identifier, and deleting the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier.
8. The apparatus of claim 7, wherein the comparison module comprises:
the unloading unit is used for comparing the first encryption identifier with the second encryption identifier, and unloading the hot repair packet to be operated when the first encryption identifier is different from the second encryption identifier;
the loading unit is used for loading the current thermal restoration packet when the thermal restoration packet to be operated is completely unloaded;
and the query unit is used for completing deleting the hot repair packet to be operated when the current hot repair packet is successfully loaded.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 5 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
CN201810547223.8A 2018-05-31 2018-05-31 Software repairing method, device, computer equipment and storage medium Active CN108762787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547223.8A CN108762787B (en) 2018-05-31 2018-05-31 Software repairing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547223.8A CN108762787B (en) 2018-05-31 2018-05-31 Software repairing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108762787A CN108762787A (en) 2018-11-06
CN108762787B true CN108762787B (en) 2024-04-05

Family

ID=64000845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547223.8A Active CN108762787B (en) 2018-05-31 2018-05-31 Software repairing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108762787B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134409B (en) * 2019-04-12 2022-05-31 宁波麦度智联科技股份有限公司 Program burning optimization method
CN110457048A (en) * 2019-06-19 2019-11-15 平安普惠企业管理有限公司 Method, apparatus, equipment and the storage medium of unified on-line off-line function point
CN111078256B (en) * 2019-12-20 2024-02-02 广州品唯软件有限公司 Upgrading method of automatic test environment, terminal and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197942A (en) * 2013-03-18 2013-07-10 华为技术有限公司 Patch generation method, patching method and device
CN104239082A (en) * 2013-06-20 2014-12-24 上海博达数据通信有限公司 Hot patching implementation method of embedded system
CN106201868A (en) * 2016-06-28 2016-12-07 Tcl集团股份有限公司 A kind of method and apparatus repairing Android application program
CN107203402A (en) * 2017-04-06 2017-09-26 珠海金山网络游戏科技有限公司 It is a kind of that the multiple method of hot repair is carried out to operation code
CN107908402A (en) * 2017-08-15 2018-04-13 口碑(上海)信息技术有限公司 The hot restorative procedure of Java server-sides and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197942A (en) * 2013-03-18 2013-07-10 华为技术有限公司 Patch generation method, patching method and device
CN104239082A (en) * 2013-06-20 2014-12-24 上海博达数据通信有限公司 Hot patching implementation method of embedded system
CN106201868A (en) * 2016-06-28 2016-12-07 Tcl集团股份有限公司 A kind of method and apparatus repairing Android application program
CN107203402A (en) * 2017-04-06 2017-09-26 珠海金山网络游戏科技有限公司 It is a kind of that the multiple method of hot repair is carried out to operation code
CN107908402A (en) * 2017-08-15 2018-04-13 口碑(上海)信息技术有限公司 The hot restorative procedure of Java server-sides and system

Also Published As

Publication number Publication date
CN108762787A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN110460571B (en) Business system vulnerability processing method and device, computer equipment and storage medium
CN108829477B (en) Interface jump method, device, computer equipment and storage medium
US20180165458A1 (en) Method and apparatus for repairing kernel vulnerability
CN108762787B (en) Software repairing method, device, computer equipment and storage medium
CN107783776B (en) Processing method and device of firmware upgrade package and electronic equipment
US20170169223A1 (en) Detection system and method thereof
CN110633160A (en) Interface calling method and device, computer equipment and storage medium
CN111008034B (en) Patch generation method and device
CN106843947B (en) Method and device for processing code defects
CN109361628B (en) Message assembling method and device, computer equipment and storage medium
CN113835713B (en) Source code packet downloading method, device, computer equipment and storage medium
CN112380130A (en) Application testing method and device based on call dependency relationship
CN110032505B (en) Software quality determination apparatus and method, and non-transitory computer readable medium
CN108196975B (en) Data verification method and device based on multiple checksums and storage medium
CN112241529B (en) Malicious code detection method, device, storage medium and computer equipment
CN108762801B (en) Software repair package processing method, device, computer equipment and storage medium
CN113010199B (en) Application updating method and device, computer equipment and storage medium
CN112579330A (en) Method, device and equipment for processing abnormal data of operating system
CN114138734A (en) Web-based version management method facing database and file resource
KR102310766B1 (en) Application Integrity Checking Method
CN112230939A (en) Hardware module repairing method and device, computer equipment and storage medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN112465612A (en) Receipt information processing method and device, computer equipment and storage medium
CN113177224B (en) Block chain based data sealing method, device, equipment and storage medium
CN113031869B (en) Data processing method and device 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
GR01 Patent grant
GR01 Patent grant