CN115296999A - Mobile terminal hot repair method, device, hot repair system and readable storage medium - Google Patents

Mobile terminal hot repair method, device, hot repair system and readable storage medium Download PDF

Info

Publication number
CN115296999A
CN115296999A CN202211185949.4A CN202211185949A CN115296999A CN 115296999 A CN115296999 A CN 115296999A CN 202211185949 A CN202211185949 A CN 202211185949A CN 115296999 A CN115296999 A CN 115296999A
Authority
CN
China
Prior art keywords
thermal
file
hot repair
restoration
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211185949.4A
Other languages
Chinese (zh)
Other versions
CN115296999B (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.)
Shenzhen Yishi Huolala Technology Co Ltd
Original Assignee
Shenzhen Yishi Huolala Technology 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 Shenzhen Yishi Huolala Technology Co Ltd filed Critical Shenzhen Yishi Huolala Technology Co Ltd
Priority to CN202211185949.4A priority Critical patent/CN115296999B/en
Publication of CN115296999A publication Critical patent/CN115296999A/en
Application granted granted Critical
Publication of CN115296999B publication Critical patent/CN115296999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • H04L41/0809Plug-and-play configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The application provides a mobile terminal thermal restoration method, a mobile terminal thermal restoration device, a thermal restoration system and a readable storage medium. The method comprises the following steps: responding to the hot repair request, and starting a hot repair engine; acquiring initialization data required by a thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; performing local version management on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script. The hot repair service that this application was pluggable through providing one-stop type for the user can self-define hot prosthetic relevant subassembly service, can carry out pluggable hot repair task fast, improves hot repair's efficiency and flexibility, and improves data security when reduce cost.

Description

Mobile terminal hot repair method, device, hot repair system and readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a mobile terminal thermal repair method, device, thermal repair system, and readable storage medium.
Background
Nowadays, with the rapid development of mobile terminal technology, various mobile terminal APPs are emerging and applied in various fields. In the existing mobile terminal APP Development technology, the existing scheme is mostly a scheme of a whole set of SDKs (Software Development Kit) with various services such as file distribution, file management, a statistical platform, a hot repair analysis executor and the like built in. Although the method is simple and easy to integrate, the whole set of SDK source codes is closed, and a user does not need to care about the internal implementation problem; the problem that APP appears on a hot repair line can be achieved friendly by a user through directly using a whole set of service provided by a supplier, and the hot repair file analysis executor has certain stability and reliability after being subjected to market verification.
However, in the research and practice of the prior art, the inventors of the present application found that the prior art has some drawbacks as follows: for example, all services are built in a whole set of SDKs, which results in lack of certain customization attributes, failure to implement private deployment of users, and failure to implement user-defined partial component services by self-research; in addition, to the application of the iOS system, the APP using the hot repair technology has the risk of being prohibited to be put on the shelf in apple shops, the risk of being put off the shelf cannot be quickly dealt with in the prior art, the risk needs to be eliminated through the whole set of scheme, the elimination cost is high, and the APP with the hot repair service cannot be put on the shelf quickly again in a mode of simply replacing a certain risk component.
The foregoing description is provided for general background information and is not admitted to be prior art.
Disclosure of Invention
In view of the above technical problems, the present application provides a mobile terminal thermal repair method, apparatus, thermal repair system and readable storage medium, which implement one-stop pluggable thermal repair and improve the efficiency and flexibility of thermal repair.
In order to solve the above technical problem, the present application provides a mobile terminal thermal repair method, which at least includes the following steps:
responding to the hot repair request, and starting a hot repair engine;
acquiring initialization data required by the thermal restoration engine;
initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request;
performing local version management on the hot repair patch data to obtain corresponding local management data information;
downloading a corresponding thermal restoration file according to the local management data information;
and performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script.
Optionally, the mobile terminal thermal repair method further includes:
acquiring a thermal restoration log in real time and reporting the thermal restoration log;
and counting data information in the thermal repair process in real time and reporting the data information.
Optionally, before the obtaining initialization data required by the hot repair engine, the method for mobile-end hot repair further includes:
and configuring initialization data corresponding to the thermal repair engine, wherein the initialization data comprises thermal repair switch information, gray scale data and service conditions of each service component contained in the thermal repair engine.
Optionally, after downloading the corresponding hot repair file according to the local management data information, the mobile terminal hot repair method further includes:
calling back the hot repair file to a downloaded file path through a preset protocol interface, and performing cache management, file decryption and integrity check on the hot repair file;
and updating the patch version information corresponding to the hot repair file.
Optionally, the mobile terminal thermal repair method further includes:
and managing the thermal restoration files, including file uploading, version management, file encryption, gray level management, file issuing, information statistics and log management.
Optionally, the mobile terminal thermal repair method further includes:
and acquiring configuration information corresponding to user requirements, and switching each service component contained in the thermal repair engine according to the configuration information.
Correspondingly, the embodiment of the application also provides a mobile terminal thermal repair device, which comprises:
the starting module is used for responding to the hot repair request and starting the hot repair engine;
the initialization module is used for acquiring initialization data required by the thermal restoration engine;
the patch module is used for initiating a patch request according to the initialization data and acquiring hot repair patch data corresponding to the patch request;
the version management module is used for carrying out local version management on the hot repair patch data to obtain corresponding local management data information;
the file downloading module is used for downloading the corresponding thermal restoration file according to the local management data information;
and the script execution module is used for performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script and then executing the thermal recovery script.
The embodiment of the application also provides a thermal restoration system, which comprises a mobile terminal thermal restoration device and a file issuing device, wherein the mobile terminal thermal restoration device is used for responding to the thermal restoration request and starting the thermal restoration engine; acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; performing local version management on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script; and the file issuing device is used for providing file and information management service for the mobile terminal thermal restoration device.
Optionally, the file issuing device includes a function switch unit, a file uploading unit, a file encrypting unit, a gray level management unit, a file issuing unit, a statistical information unit, and a log management unit.
The embodiment of the present application further provides a mobile terminal thermal repair method, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the mobile terminal thermal repair method when executing the computer program.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor, and the steps of the mobile terminal thermal restoration method are as described above.
The embodiment of the invention has the following beneficial effects:
as described above, the present application provides a mobile terminal thermal repair method, apparatus, thermal repair system and readable storage medium, where the method includes: firstly, responding to a hot repair request, and starting a hot repair engine; then acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; then, local version management is carried out on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and finally, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script. According to the mobile terminal thermal restoration method, the one-stop pluggable thermal restoration service is provided, so that a user can define the related component service of the thermal restoration, the pluggable thermal restoration task can be quickly executed, the efficiency and flexibility of the thermal restoration are improved, and the data safety is improved while the cost is reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a mobile terminal thermal repair method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a mobile terminal thermal repair method apparatus according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a thermal remediation method system provided by an embodiment of the application;
FIG. 4 is a schematic structural diagram of a first implementation of a computer device provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of a second implementation of a computer device provided in an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings. With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the recitation of a claim "comprising a" 8230a "\8230means" does not exclude the presence of additional identical elements in the process, method, article or apparatus in which the element is incorporated, and further, similarly named components, features, elements in different embodiments of the application may have the same meaning or may have different meanings, the specific meaning of which should be determined by its interpretation in the specific embodiment or by further combination with the context of the specific embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if," as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030when" or "in response to a determination," depending on the context. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, items, species, and/or groups thereof. The terms "or," "and/or," "including at least one of the following," and the like, as used herein, are to be construed as inclusive or mean any one or any combination. For example, "includes at least one of: A. b, C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C ", by way of further example," a, B or C "or" a, B and/or C "means" any of the following: a; b; c; a and B; a and C; b and C; a and B and C'. An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
The words "if", as used herein, may be interpreted as "at \8230; \8230when" or "when 8230; \823030, when" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It should be noted that step numbers such as S1 and S2 are used herein for the purpose of more clearly and briefly describing the corresponding contents, and do not constitute a substantial limitation on the sequence, and those skilled in the art may perform S2 first and then S1 in the specific implementation, but these should be within the scope of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The embodiment of the application can be applied to a server, and the server can be an independent server, and can also be a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content Delivery Network (CDN), big data and artificial intelligence platform and the like.
First, an application scenario that can be provided by the present application is introduced, for example, a mobile terminal thermal repair method, an apparatus, a thermal repair system, and a readable storage medium are provided, which can provide a one-stop pluggable thermal repair service, so that a user can customize a related component service of thermal repair, and quickly execute a pluggable thermal repair task.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a mobile terminal thermal repair method according to an embodiment of the present disclosure. The mobile terminal thermal repair method specifically comprises the following steps:
s1, responding to the hot repair request, and starting a hot repair engine.
Specifically, for step S1, a hot repair request initiated by a user through an APP is mainly responded, and a hot repair engine corresponding to the hot repair request is started.
And S2, acquiring initialization data required by the thermal restoration engine.
Specifically, for step S2, the initialization data required by the thermal repair engine is mainly acquired after the thermal repair engine is started.
Optionally, in some embodiments, before step S2, the mobile terminal thermal repair method may further include:
and configuring initialization data corresponding to the thermal repair engine, wherein the initialization data comprises thermal repair switch information, gray data and the service condition of each service component contained in the thermal repair engine.
Specifically, before acquiring initialization data required by the thermal repair engine, the method further includes configuring initial session data required by the thermal repair engine through a thermal repair engine initialization configurator, where the initial session data includes a thermal repair switch and gray scale data configuration, and configuring service usage of each component in a thermal repair engine architecture flow, and component services such as a file download service, a thermal repair analysis execution service, a log and data statistics service are implemented through a built-in component service or through user customization, and here, a pre-configured configuration initialization method is provided for implementing a pluggable mode.
And S3, initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request.
Specifically, for step S3, a patch request is initiated according to the initialization data of the user, and patch data of the file shampoo system is requested, so as to obtain the thermal repair patch data corresponding to the patch request.
And S4, carrying out local version management on the hot repair patch data to obtain corresponding local management data information.
Specifically, for step S4, local version management is performed according to the obtained hot repair patch data, and an updated history is managed, for example, a process of adding or changing a source code is recorded, a rollback is performed to a specific stage, a file deleted by mistake is replied, and after local version management is completed, corresponding local management data information is obtained, so that accurate data information is provided for subsequent process patch downloading and execution.
And S5, downloading the corresponding thermal restoration file according to the local management data information.
Specifically, for step S5, the thermal repair file to be downloaded is triggered according to the local version management information, and in this process, the corresponding component can be triggered as needed to perform the downloading service according to the user pluggable configuration, and the breakpoint continuous transmission is supported.
Optionally, in some embodiments, after step S5, the mobile terminal thermal repair method may further include:
the hot repair file is called back to a downloaded file path through a preset protocol interface, and cache management, file decryption and integrity verification are carried out on the hot repair file;
and updating the patch version information corresponding to the hot repair file.
Specifically, after downloading the corresponding thermal repair file according to the local management data information, the corresponding downloading component recalls the downloaded file path through the protocol interface, performs security processing such as cache management, file decryption and integrity check on the downloaded file, and updates the patch version information to the management database.
And S6, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script.
Specifically, in step S6, the downloaded thermal repair file is subjected to script parsing to obtain a thermal repair script, and then the thermal repair script is executed to complete the thermal repair task. In a specific embodiment, the hot repair script may be parsed by the hot repair script parser, and the hot repair script may be executed by the hot repair script executor, or the above process may be executed according to a pluggable configuration of the user, and the user may execute the hot repair parsing and executing scheme by configuring a built-in method or a custom scheme.
Optionally, in some embodiments, the mobile terminal thermal repair method may further include:
acquiring a thermal restoration log in real time and reporting the thermal restoration log;
and counting data information in the thermal repair process in real time and reporting the data information.
Specifically, in the process of the mobile terminal hot repair method, namely, the key nodes in the whole hot repair engine architecture process can report logs and statistical data information through the information statistics reporting manager, and report the data information and the logs to a back-end management platform provided by the hot repair engine architecture, so that the safety and reliability of data are ensured, and the hot repair process is controllable.
Optionally, in some embodiments, the mobile terminal thermal repair method may further include:
and managing the thermal restoration files, including file uploading, version management, file encryption, gray level management, file issuing, information statistics and log management.
Specifically, the embodiment further provides a series of file and information management services, such as function switching, file uploading and management, file encryption, file distribution, gray scale management, statistical information and log management, for the backend through the file distribution system, and manages the thermal repair files.
Optionally, in some embodiments, the mobile terminal thermal repair method may further include:
and acquiring configuration information corresponding to user requirements, and switching each service component contained in the thermal restoration engine according to the configuration information.
Specifically, for the mobile terminal thermal repair method in this embodiment, a user requirement is obtained, so as to obtain configuration information corresponding to the user requirement, and according to the configuration information, the use state and the function switch of each service component included in the thermal repair engine are determined, so that a user can use the framework engine to provide a built-in component service by starting the service configuration through the component, or the user can implement execution of the whole thermal repair process through a self-defined self-developed component of a protocol interface layer, and finally, the component service is switched according to the user configuration security, so as to implement one-stop pluggable thermal repair.
As can be seen from the above, the method for repairing a mobile terminal by heat provided in the embodiment of the present application includes: firstly, responding to a hot repair request, and starting a hot repair engine; then acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; then, local version management is carried out on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and finally, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script. According to the mobile terminal thermal restoration method, the one-stop pluggable thermal restoration service is provided, so that a user can define the related component service of the thermal restoration, the pluggable thermal restoration task can be quickly executed, the efficiency and flexibility of the thermal restoration are improved, and the data safety is improved while the cost is reduced.
Correspondingly, the present application further provides a mobile terminal thermal restoration apparatus, please refer to fig. 2, where fig. 2 is a schematic structural diagram of the mobile terminal thermal restoration apparatus provided in the present application, and specifically includes a starting module 100, an initialization module 200, a patch module 300, a version management module 400, a file download module 500, and a script execution module 600.
The starting module 100 is configured to respond to the hot repair request and start the hot repair engine.
Specifically, for the starting module 100, it mainly responds to a hot repair request initiated by a user through an APP, and starts a hot repair engine corresponding to the hot repair request.
The initialization module 200 is configured to obtain initialization data required by the thermal remediation engine.
Specifically, the initialization module 200 mainly obtains initialization data required by the thermal repair engine after the thermal repair engine is started.
The patch module 300 is configured to initiate a patch request according to the initialization data, and obtain hot repair patch data corresponding to the patch request.
Specifically, for the patch module 300, a patch request is initiated according to the initialization data of the user, and the patch data of the file shampooing system is requested, so as to obtain the hot repair patch data corresponding to the patch request.
The version management module 400 is configured to perform local version management on the hot repair patch data to obtain corresponding local management data information.
Specifically, for the version management module 400, local version management is performed according to the obtained hot repair patch data, and an updated history is managed, for example, a process of adding or changing a source code is recorded, a file which is deleted by mistake is returned to a specific stage, and after local version management is completed, corresponding local management data information is obtained, so that accurate data information is provided for downloading and executing a subsequent process patch.
And a file downloading module 500, configured to download the corresponding thermal repair file according to the local management data information.
Specifically, for the file downloading module 500, the hot repair file to be downloaded is triggered according to the local version management information, and in this process, the corresponding component can be triggered as required to perform the downloading service according to the pluggable configuration of the user, and the breakpoint resuming is supported.
The script execution module 600 is configured to perform script analysis on the thermal repair file to obtain a corresponding thermal repair script, and then execute the thermal repair script.
Specifically, for the script execution module 600, the downloaded thermal repair file is subjected to script analysis, and after the thermal repair script is obtained, the thermal repair script is executed to complete the thermal repair task. In a specific embodiment, the hot repair script can be analyzed through the hot repair script analyzer, the hot repair script can be executed through the hot repair script executor, the processes can be executed according to the pluggable configuration of the user, and the user can execute the hot repair analysis and execution scheme by using a built-in method or a self-defined scheme through configuration.
Optionally, in some embodiments, the mobile terminal thermal repair device may further include:
the reporting module is used for acquiring the thermal restoration log in real time and reporting the thermal restoration log; and the system is used for counting and reporting data information in the thermal restoration process in real time.
And the file management module is used for managing the thermal restoration files, and comprises file uploading, version management, file encryption, gray level management, file issuing, information statistics and log management.
And the configuration module is used for acquiring configuration information corresponding to user requirements and switching each service component contained in the thermal remediation engine according to the configuration information.
To sum up, the mobile terminal thermal repair apparatus provided in the embodiment of the present application starts the thermal repair engine by responding to the thermal repair request through the starting module 100; acquiring initialization data required by the thermal repair engine through an initialization module 200; initiating a patch request according to the initialization data through the patch module 300, and acquiring hot repair patch data corresponding to the patch request; performing local version management on the hot repair patch data through the version management module 400 to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information through the file downloading module 500; the script execution module 600 performs script analysis on the thermal repair file to obtain a corresponding thermal repair script, and then executes the thermal repair script. Therefore, the mobile terminal thermal restoration device provided by the embodiment of the application can be used for customizing the thermal restoration related component service by a user through providing the one-stop pluggable thermal restoration service, quickly executing the pluggable thermal restoration task, improving the efficiency and flexibility of thermal restoration, and improving the data security while reducing the cost.
The embodiment of the application also provides a thermal restoration system, which comprises a mobile terminal thermal restoration device and a file issuing device, wherein the mobile terminal thermal restoration device is used for responding to the thermal restoration request and starting the thermal restoration engine; acquiring initialization data required by a thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; performing local version management on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script; and the file issuing device is used for providing file and information management service for the mobile terminal thermal restoration device.
In a specific embodiment, as shown in fig. 3, the hot repair system may include a mobile-end hot repair device and a file delivery system, where the mobile-end hot repair device includes a hot repair engine initialization configurator, a hot repair patch version manager, a hot repair file downloader, a hot repair engine core operation manager, and an information statistics reporting manager, and the file delivery system includes a function switch unit, a file uploading unit, a file encryption unit, a file delivery unit, a statistics information unit, and a log management unit.
Specifically, for a hot repair engine initialization configurator, the configurator realizes initialization data configuration, hot repair switch, gray data configuration and service use of each component in the configuration hot repair engine architecture flow, such as file download service, hot repair analysis execution service, log and data statistics service and the like, and the component services are realized through built-in component services or user-defined services. Meanwhile, the user realizes the user-defined component on the protocol interface configured by each component in the hot repair engine architecture flow, and the data interface according to the protocol convention is returned. The hot repair engine architecture can safely switch the component service and realize pluggable through user configuration.
Specifically, for the hot patch version manager, the patch data of the file issuing system is requested mainly according to the initialization data of the user, and local version management is performed after the data is taken, so that accurate data information of patch downloading and execution is provided for subsequent processes.
Specifically, the hot repair file downloader is used for downloading hot repair files according to local version management data information triggering requirements, the component can trigger a corresponding component to perform downloading service according to the pluggable configuration of a user and the requirement, supports breakpoint continuous transmission, and when downloading is completed, the corresponding downloading component calls back a downloaded file path through a protocol interface and performs security processing such as cache management, file decryption and integrity verification on the files. And updating the patch version information management database.
Specifically, for the hot repair engine core operation manager, the core component comprises a hot repair script parser and a hot repair script executor. The core component service supports pluggable, and a user can use a built-in scheme or a self-defined scheme through configuration. The user may use self-research or a hot fix parsing implementation scheme based on Lex, YACC technologies, or JSPatch, tinker, andFix, mangoFix, so long as a pluggable open protocol interface is followed.
Specifically, for the information statistics reporting manager, the component provides log reporting and statistical data information reporting. The component provides a common interface, and key nodes in the whole hot repair engine architecture flow can be used. The module provides pluggable service, a user can use the built-in module service, and data and logs can be reported to a back-end management platform provided by the engine architecture; if the user self-defines the self-developed component service through the open protocol interface, the data and the log are uploaded to a back-end management platform expected by the user, so that the safety and reliability of the data can be guaranteed, and the flow is controllable for the user.
Optionally, in some embodiments, the file issuing device includes a function switch unit, a file uploading unit, a file encrypting unit, a gray scale management unit, a file issuing unit, a statistical information unit, and a log management unit.
In a specific embodiment, the file issuing system provides a series of file and information management services at the back end, such as: function switching, file uploading and management, file encryption, file issuing, gray scale management, statistical information, log management and other services.
The function switch unit is used for realizing whether the App starts the switch function of the hot repair engine or not, the App can perform network request switch configuration when the App is started through the interface, and the related flow of the hot repair engine can be controlled after data are fetched.
The file uploading unit is used for uploading the hot repair file through a file uploading inlet of the file issuing system, and the module controls functions of format, size, safety scanning, automatic script code scanning, auditing and the like of the file; meanwhile, file version management can be achieved, and an accurate file issuing function is provided.
And the file encryption unit is used for encrypting the file according to the negotiated encryption mode after the file is uploaded, and generating MD5 information to be stored in the database.
And the gray level management unit is used for carrying out gray level configuration management on each uploaded file and realizing gray level issuing on configurations such as App versions, users, equipment, system versions, machine types, numbers and the like.
And the file issuing unit provides an accurate file issuing function through a file version management function and gray scale management, and the App can request whether to accord with the file information of gray scale configuration through an interface, if so, downloads the file, and otherwise, ignores the file.
And the statistical information unit is used for providing a key information reporting interface and managing statistical information of the number of issued files, the number of requests, the number of hits, downloading success/failure, decryption success/failure, execution success/failure and the like of the current hot repair file reported by the App, so that data analysis and real-time monitoring of issuing are realized.
And the log management unit is used for providing a log interface reporting interface and managing log records of key nodes of each process of the App, so that related problems can be quickly analyzed and positioned according to logs, and an accurate log searching function is provided for a user.
It can be seen that the hot repair system provided in this embodiment provides a one-stop pluggable hot repair service in a flow protocol interface manner, and implements a flow mobile hot repair service by using pluggable components and a built-in basic function architecture scheme, so that a user can start a service configuration by using a component to provide a built-in component service, or can implement execution of the whole hot repair flow by using a self-defined module in a protocol interface layer, thereby bringing benefits such as lightness, flexibility, self-definition, data security, and low-cost adaptation of future component technical improvements by using a set of engine architecture to the user.
Firstly, responding to a hot repair request, and starting a hot repair engine; then acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; then, local version management is carried out on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and finally, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script. According to the mobile terminal thermal restoration method, the one-stop pluggable thermal restoration service is provided, so that a user can define the related component service of the thermal restoration by user, the pluggable thermal restoration task can be quickly executed, the efficiency and flexibility of the thermal restoration are improved, and the data safety is improved while the cost is reduced.
In an embodiment of the present application, a computer device is further provided, please refer to fig. 4, and fig. 4 is a schematic structural diagram of a first implementation manner of the computer device provided in the embodiment of the present application. The computer device comprises a memory 10 and a processor 20, the memory 10 stores a computer program, and the processor 20 implements a mobile terminal thermal recovery method when executing the computer program, comprising: firstly, responding to a hot repair request, and starting a hot repair engine; then acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; then, local version management is carried out on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and finally, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script.
The embodiment of the application also provides computer equipment, and the computer equipment can be a server. Referring to fig. 5, fig. 5 is a schematic structural diagram of a second implementation manner of a computer device according to an embodiment of the present disclosure. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data such as a mobile terminal thermal restoration method and the like. 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 mobile-end thermal remediation method. The mobile terminal thermal restoration method comprises the following steps: firstly, responding to a hot repair request, and starting a hot repair engine; then acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; then, local version management is carried out on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and finally, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for performing mobile terminal thermal remediation, including the steps of: firstly, responding to a hot repair request, and starting a hot repair engine; then acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; then, local version management is carried out on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; and finally, performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script.
According to the executed mobile terminal thermal restoration method, the one-stop pluggable thermal restoration service is provided, so that a user can define the related component service of the thermal restoration, the pluggable thermal restoration task can be quickly executed, the efficiency and flexibility of the thermal restoration are improved, the cost is reduced, and the data security is improved.
It should be understood that the foregoing scenarios are only examples, and do not constitute a limitation on application scenarios of the technical solutions provided in the embodiments of the present application, and the technical solutions of the present application may also be applied to other scenarios. For example, as can be known by those skilled in the art, with the evolution of system architecture and the emergence of new service scenarios, the technical solution provided in the embodiments of the present application is also applicable to similar technical problems.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
In the present application, the same or similar term concepts, technical solutions and/or application scenario descriptions will be generally described only in detail at the first occurrence, and when the description is repeated later, the detailed description will not be repeated in general for brevity, and when understanding the technical solutions and the like of the present application, reference may be made to the related detailed description before the description for the same or similar term concepts, technical solutions and/or application scenario descriptions and the like which are not described in detail later.
In the present application, each embodiment is described with emphasis, and reference may be made to the description of other embodiments for parts that are not described or illustrated in any embodiment.
The technical features of the technical solution of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the scope of the present application should be considered as being described in the present application.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application or portions contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk) as above, and includes several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device) to execute the method of each embodiment of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, storage Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. A mobile terminal thermal restoration method is characterized by comprising the following steps:
responding to the hot repair request, and starting a hot repair engine;
acquiring initialization data required by the thermal restoration engine;
initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request;
performing local version management on the hot repair patch data to obtain corresponding local management data information;
downloading a corresponding thermal restoration file according to the local management data information;
and performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script.
2. The mobile-end thermal remediation method of claim 1, further comprising:
acquiring a thermal restoration log in real time and reporting the thermal restoration log;
and counting data information in the thermal repair process in real time and reporting the data information.
3. The mobile-end thermal remediation method of claim 1, wherein prior to said obtaining initialization data required by the thermal remediation engine, the method further comprises:
and configuring initialization data corresponding to the thermal repair engine, wherein the initialization data comprises thermal repair switch information, gray scale data and service conditions of each service component contained in the thermal repair engine.
4. The method according to claim 1, wherein after downloading the corresponding hot-fix file according to the local management data information, the method further comprises:
calling back the thermal restoration file to a downloaded file path through a preset protocol interface, and performing cache management, file decryption and integrity verification on the thermal restoration file;
and updating the patch version information corresponding to the hot repair file.
5. The mobile terminal thermal remediation method of claim 1 further comprising:
and managing the thermal restoration files, including file uploading, version management, file encryption, gray level management, file issuing, information statistics and log management.
6. The mobile-end thermal remediation method of claim 1, further comprising:
and acquiring configuration information corresponding to user requirements, and switching each service component contained in the thermal restoration engine according to the configuration information.
7. A mobile-end thermal remediation device, comprising:
the starting module is used for responding to the hot repair request and starting the hot repair engine;
the initialization module is used for acquiring initialization data required by the thermal restoration engine;
the patch module is used for initiating a patch request according to the initialization data and acquiring hot repair patch data corresponding to the patch request;
the version management module is used for carrying out local version management on the hot repair patch data to obtain corresponding local management data information;
the file downloading module is used for downloading the corresponding thermal restoration file according to the local management data information;
and the script execution module is used for performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script and then executing the thermal recovery script.
8. A thermal restoration system is characterized by comprising a mobile terminal thermal restoration device and a file issuing device, wherein the mobile terminal thermal restoration device is used for responding to a thermal restoration request and starting a thermal restoration engine; acquiring initialization data required by the thermal restoration engine; initiating a patch request according to the initialization data, and acquiring hot repair patch data corresponding to the patch request; performing local version management on the hot repair patch data to obtain corresponding local management data information; downloading a corresponding thermal restoration file according to the local management data information; performing script analysis on the thermal recovery file to obtain a corresponding thermal recovery script, and then executing the thermal recovery script; and the file issuing device is used for providing file and information management service for the mobile terminal thermal restoration device.
9. The thermal repair system of claim 8, wherein the file issuing device includes a function switch unit, a file uploading unit, a file encrypting unit, a gray scale management unit, a file issuing unit, a statistical information unit, and a log management unit.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the mobile-end thermal remediation method of any one of claims 1 to 6.
CN202211185949.4A 2022-09-28 2022-09-28 Mobile terminal hot repair method, device, hot repair system and readable storage medium Active CN115296999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211185949.4A CN115296999B (en) 2022-09-28 2022-09-28 Mobile terminal hot repair method, device, hot repair system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211185949.4A CN115296999B (en) 2022-09-28 2022-09-28 Mobile terminal hot repair method, device, hot repair system and readable storage medium

Publications (2)

Publication Number Publication Date
CN115296999A true CN115296999A (en) 2022-11-04
CN115296999B CN115296999B (en) 2023-01-10

Family

ID=83834610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211185949.4A Active CN115296999B (en) 2022-09-28 2022-09-28 Mobile terminal hot repair method, device, hot repair system and readable storage medium

Country Status (1)

Country Link
CN (1) CN115296999B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257278A (en) * 2023-05-15 2023-06-13 北京阿帕科蓝科技有限公司 Patch execution method of application software and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493871B1 (en) * 1999-09-16 2002-12-10 Microsoft Corporation Method and system for downloading updates for software installation
CN107329781A (en) * 2017-06-21 2017-11-07 努比亚技术有限公司 The hot restorative procedure of software, terminal, system and computer-readable recording medium
CN107391171A (en) * 2017-06-14 2017-11-24 广东网金控股股份有限公司 The method and user terminal of a kind of multiple problem of solution iOS hot repairs
CN111026401A (en) * 2019-12-05 2020-04-17 杭州有赞科技有限公司 Mobile terminal thermal restoration method
CN114968406A (en) * 2022-05-27 2022-08-30 北京青云科技股份有限公司 Plug-in management method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493871B1 (en) * 1999-09-16 2002-12-10 Microsoft Corporation Method and system for downloading updates for software installation
CN107391171A (en) * 2017-06-14 2017-11-24 广东网金控股股份有限公司 The method and user terminal of a kind of multiple problem of solution iOS hot repairs
CN107329781A (en) * 2017-06-21 2017-11-07 努比亚技术有限公司 The hot restorative procedure of software, terminal, system and computer-readable recording medium
CN111026401A (en) * 2019-12-05 2020-04-17 杭州有赞科技有限公司 Mobile terminal thermal restoration method
CN114968406A (en) * 2022-05-27 2022-08-30 北京青云科技股份有限公司 Plug-in management method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257278A (en) * 2023-05-15 2023-06-13 北京阿帕科蓝科技有限公司 Patch execution method of application software and storage medium
CN116257278B (en) * 2023-05-15 2023-10-31 北京阿帕科蓝科技有限公司 Patch execution method of application software and storage medium

Also Published As

Publication number Publication date
CN115296999B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN110519380B (en) Data access method and device, storage medium and electronic equipment
JP6742650B2 (en) Application calling method and device using mobile browser
US9600477B2 (en) Acquiring information dynamically regarding a hardware component in the cloud computing system while on the floor of the data center
US10698797B2 (en) Mobile application program testing method, server, terminal, and storage medium
US20060200658A1 (en) Agent framework for mobile devices
US10587422B2 (en) Thresholds on scripts executable by unified extensible firmware interface systems
CN105307195B (en) A kind of method and device updating access point name parameter
WO2015060965A2 (en) Delivery of branding content and customizations to a mobile communication device
CN104506639A (en) Root right acquiring method and device
US11516732B2 (en) Provisioning an embedded universal integrated circuit card (eUICC) of a mobile communication device
US20130111458A1 (en) Method and system for on-demand patch generation and management
CN104021141B (en) Method, device and system for data processing and cloud service
BRPI0520464B1 (en) Method for obtaining telecommunications service through a telecommunications terminal and telecommunications terminal
CN107844306B (en) Application program repairing method and device, storage medium and terminal
CN115296999B (en) Mobile terminal hot repair method, device, hot repair system and readable storage medium
US20230273782A1 (en) Information processing method, device, apparatus and system, medium, andprogram
CN109492181A (en) Method for page jump, device, computer equipment and storage medium
CN113595788A (en) API gateway management method and device based on plug-in
CN112099757A (en) Application keep-alive method and device
CN104580429A (en) Method for loading communication information, server and cloud disk client
CN113760688A (en) Remote debugging method, system, webpage server, equipment and storage medium
CN114637549A (en) Data processing method, system and storage medium for service grid-based application
CA2786879A1 (en) Method and system for on-demand patch generation and management
CN111417109B (en) eSIM card and operator file management method and management system thereof
CN113836881A (en) Report form field configuration dynamic acquisition method and device, storage medium and terminal

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