CN109840168B - Software recovery method, device, terminal and medium - Google Patents

Software recovery method, device, terminal and medium Download PDF

Info

Publication number
CN109840168B
CN109840168B CN201910114377.2A CN201910114377A CN109840168B CN 109840168 B CN109840168 B CN 109840168B CN 201910114377 A CN201910114377 A CN 201910114377A CN 109840168 B CN109840168 B CN 109840168B
Authority
CN
China
Prior art keywords
terminal
object data
displayed
data
loading
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
CN201910114377.2A
Other languages
Chinese (zh)
Other versions
CN109840168A (en
Inventor
刘丰恺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910114377.2A priority Critical patent/CN109840168B/en
Publication of CN109840168A publication Critical patent/CN109840168A/en
Application granted granted Critical
Publication of CN109840168B publication Critical patent/CN109840168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure discloses a software recovery method, a device, a terminal and a medium, wherein the method comprises the following steps: when client software on a terminal runs, loading a frame template of an object to be displayed into a memory, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data; under the condition of setting a trigger, carrying out terminal local persistent storage on object data by taking a current running object as a unit; and when the client software is in cold start, loading the stored object data from the local terminal to the memory for recovery. According to the embodiment of the invention, the object entity is stored integrally, so that when the client software is started in a cold state, the stored object data can be directly loaded to recover the interface when the client software is closed, and an object template does not need to be created again, so that the recovery efficiency of the client software is improved, and the problems of complexity and slow response in the recovery process after the client software is closed in the prior art are solved.

Description

Software recovery method, device, terminal and medium
Technical Field
The embodiment of the disclosure relates to the technical field of internet, in particular to a software recovery method, a device, a terminal and a medium.
Background
With the development of internet technology and intelligent terminals, people can not leave the intelligent terminals more and more, the types of client software installed on the intelligent terminals are enriched, and great convenience is brought to daily life of people. For example, an audio-video playing application, an e-commerce application, a news information stream application, and the like.
In the process of using client software by a user, a cold start condition after the client is closed can be met. In the prior art, when the client software is closed, the current running state of the software and the relevant configuration of the current display interface are stored, for example, the current running state and the relevant configuration of the current display interface are stored through some interface functions or storage classes provided by a terminal system, so that when the client software is cold started again, the software can be restored to the interface state before closing through the loading state and the relevant configuration, and the user can conveniently continue to use the software. However, the above method not only needs to store a large amount of data, but also needs to recreate the interface object running when the software is closed when the software is recovered, and the process is cumbersome and slow in response.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
The embodiment of the disclosure provides a software recovery method, a device, a terminal and a medium, which are used for solving the problems of complex recovery process and slow response after client software is closed in the prior art.
In a first aspect, an embodiment of the present disclosure provides a software recovery method, where the method includes:
when client software on a terminal runs, loading a frame template of an object to be displayed into a memory, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data;
under the condition of setting a trigger, carrying out terminal local persistent storage on object data by taking a current running object as a unit;
and when the client software is in cold start, loading the stored object data from the local terminal to the memory for recovery.
Optionally, the performing terminal local persistent storage on the object data by using the currently running object as a unit includes:
with the current running object as a unit, serializing and storing object data in a local persistent storage space of the terminal;
correspondingly, the loading and restoring the stored object data from the terminal to the memory locally includes:
and loading the stored serialized object data into a memory from the terminal locally, and recovering the object through deserialization.
Optionally, the loading the stored serialized object data into the memory from the terminal locally, and recovering the object through deserialization includes:
loading stored serialized object data from a terminal to a memory locally, and judging an object type included in the serialized object data;
and performing corresponding deserialization aiming at different object types to recover the object.
Optionally, the performing terminal local persistent storage on the object data by using the currently running object as a unit includes:
and performing local incremental persistent storage on the object data by taking the current running object as a unit.
Optionally, the object data at least includes interface display elements required for presenting the object, and data related to the use state of the user based on the object.
Optionally, the frame template at least includes: the system comprises an interface display framework, layout constraint parameters, control response codes and template display content filling rules.
Optionally, the setting of the trigger condition includes at least one of: timing trigger, trigger when state changes and trigger when user operates.
In a second aspect, an embodiment of the present disclosure further provides a software recovery apparatus, where the apparatus includes:
the frame template loading module is used for loading a frame template of an object to be displayed into the memory when client software on the terminal runs, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data;
the object data storage module is used for carrying out terminal local persistent storage on the object data by taking the current running object as a unit under the set triggering condition;
and the object data loading module is used for loading the stored object data from the local terminal to the memory for recovery when the client software is in cold start.
Optionally, the object data storage module is specifically configured to: under the condition of setting a trigger, taking a current running object as a unit, and storing object data in a local persistent storage space of the terminal in a serialized manner;
correspondingly, the object data loading module is specifically configured to: and when the client software is in cold start, loading the stored serialized object data into the memory from the local terminal, and recovering the object through deserialization.
Optionally, the object data loading module includes:
the judging unit is used for loading the stored serialized object data from the local terminal to the memory and judging the object type included in the serialized object data when the client software is in cold start;
and the recovery unit is used for performing corresponding deserialization aiming at different object types according to the judgment result of the judgment unit so as to recover the object.
Optionally, the object data storage module is specifically configured to:
and under the condition of setting a trigger, carrying out local incremental persistent storage on the object data by taking the current running object as a unit.
Optionally, the object data at least includes interface display elements required for presenting the object, and data related to the use state of the user based on the object.
Optionally, the frame template at least includes: the system comprises an interface display framework, layout constraint parameters, control response codes and template display content filling rules.
Optionally, the setting of the trigger condition includes at least one of: timing trigger, trigger when state changes and trigger when user operates.
In a third aspect, an embodiment of the present disclosure further provides a terminal, including:
one or more processing devices;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the software recovery method according to any embodiment of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by an apparatus, implements the software recovery method according to any embodiment of the present disclosure.
According to the method and the device, when the client software runs, the frame template of the object to be displayed is loaded into the memory, the content data to be displayed of the object to be displayed is loaded into the frame template of the memory and used as object data, under the set triggering condition, the current running object is taken as a unit, the object data is subjected to terminal local persistent storage, and therefore the whole object entity is stored, so that when the client software is started in a cold state, the stored object data is directly loaded into the memory from the terminal local, the interface when the client software is closed can be recovered, the object template does not need to be created again, the recovery efficiency of the client software is improved, and the problems that the recovery process is complicated and the response is slow after the client software is closed in the prior art are solved.
Drawings
Fig. 1 is a schematic flowchart of a software recovery method provided in an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart diagram illustrating another software recovery method provided by the embodiments of the present disclosure;
fig. 3 is a schematic structural diagram of a software recovery apparatus provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Optional features and examples are provided in each of the embodiments described below, and each of the features described in the embodiments may be combined to form multiple alternatives.
Fig. 1 is a schematic flowchart of a software recovery method provided in an embodiment of the present disclosure, where the present embodiment is applicable to a situation where a software interface before shutdown is recovered when a client software is started in a cold state after shutdown, and the method may be executed by a software recovery device, where the device may be implemented in a software and/or hardware manner, and may be integrated in a terminal, such as a smart phone or a tablet computer.
As shown in fig. 1, a software recovery method provided in an embodiment of the present disclosure may include:
s110, when client software on the terminal runs, loading a frame template of an object to be displayed into a memory, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data.
Various object resources need to be used and managed while the client software is running. The object is a service instance established based on software, such as a music play list, a document reading interface, a recommended document list, and the like. The objects are based on the interface format determined by the program, then the business data are loaded and displayed to the user, and the interface format can also comprise a control for the user to control. When the client software is in cold start, in order to facilitate the user to continue using the software, the interface state when the software is closed needs to be recovered.
In this embodiment, when the client software runs, the frame template of the object to be displayed is loaded into the memory, and the content data to be displayed of the object to be displayed is loaded into the frame template of the memory as object data, and then in the running process of the software, the object data is subjected to terminal local persistent storage by taking the running object as a unit, so that when the client software is in cold start, the stored object data is loaded into the memory from the terminal local for recovery. Wherein, the frame template includes at least: the method comprises the following steps of interface display framework, layout constraint parameters, control response codes, template display content filling rules and the like. And the object data includes at least interface display elements required to render the object, and data relating to the user's usage status based on the object. For example, for a song playlist, the object data at least includes an interface form, display content, entry information in the playlist, a playing position of a current entry, and the like of the playlist; for another example, for an information flow interface, the object data at least includes the interface form and display content of the information flow, category information in the information flow list, channel information, or detailed data of the course.
And S120, under the condition of setting a trigger, performing terminal local persistent storage on the object data by taking the current running object as a unit.
According to different requirements, the storage of the object data can be triggered by a set condition, and the set trigger condition can include at least one of the following items: timing trigger, trigger when state changes and trigger when user operates. Setting specific storage time by timing triggering, and performing local persistent storage on object data when the specific storage time arrives; the trigger when the state is changed can be, for example, storing object data when the playing or displaying state of a playlist or an information stream is changed; the object data storage is triggered when the user operates, that is, when the user performs a specific operation on an object on the current display interface, the operation may be, for example, opening or closing, update loading, and an operation on a related control. The trigger condition is not limited in any way in this embodiment.
Preferably, the object data can be subjected to terminal local incremental persistent storage by taking the currently running object as a unit, so as to improve the utilization rate of the storage space. For example, each time music playing is triggered in the client software, currently available playlist items are collected, and with continuous loading of playlist pages and switching between top and bottom, the playlist grows continuously and is stored as object data, including the current playing position, the total number of music in the playlist, or specific information of audio items in the loaded lesson. For another example, the client software includes a plurality of Feed information flow lists, and after loading the lists using the network function each time, the client software calls an object storage to store data of a current first screen, including, for example, classification information, course information of sub-channels, detailed data of each course, and the like.
And S130, when the client software is in cold start, loading the stored object data from the local terminal to the memory for recovery.
Because the frame template of the object to be displayed is loaded into the memory and the object data is persistently stored in the local terminal by taking the object as a unit, when the client software is in cold start, the data object can be directly loaded into the memory from the local terminal, that is, the corresponding interface when the software is closed can be recovered, and simultaneously, the use state of the user on the object in the interface, such as the playing position of music or the first screen information of an information stream, is recovered. In the process, the object template does not need to be created again, so that the software recovery efficiency is improved.
According to the technical scheme of the embodiment, when client software runs, a frame template of an object to be displayed is loaded into a memory, content data to be displayed of the object to be displayed is loaded into the frame template of the memory to serve as object data, and under the set triggering condition, the object data is subjected to terminal local persistent storage by taking a currently running object as a unit, so that when the client software is started in a cold state, the interface when the client software is closed can be recovered by directly loading the stored object data into the memory from the terminal local, the object template does not need to be created again, the recovery efficiency of the client software is improved, and the problems that the recovery process is complicated and the response is slow after the client software is closed in the prior art are solved.
Fig. 2 is a schematic flow chart of another software recovery method provided in the embodiment of the present disclosure, which is expanded on the basis of various alternatives in the above embodiment, and can be combined with various alternatives in the above embodiment.
As shown in fig. 2, a software recovery method provided by an embodiment of the present disclosure may include:
s210, when client software on the terminal runs, loading a frame template of an object to be displayed into a memory, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data.
And S220, under the condition of setting a trigger, taking the current running object as a unit, and storing the object data in a local persistent storage space of the terminal in a serialized mode.
And S230, when the client software is in cold start, loading the stored serialized object data from the local terminal to the memory, and recovering the object through deserialization.
In this embodiment, the object data may be stored in a serialized storage manner to implement local persistent storage, which is simple and fast and is not prone to error. Correspondingly, when the object is recovered, the object is recovered through deserialization.
Specifically, the step of loading the stored serialized object data from the terminal to the memory locally and recovering the object through deserialization includes:
loading stored serialized object data from a terminal to a memory locally, and judging an object type included in the serialized object data;
and performing corresponding deserialization aiming at different object types to recover the object.
Different object types are different in serialization and deserialization operations, for example, different types of storage addresses or data structures of entries in a playlist related to storage content, and therefore, before deserialization, the object type needs to be judged, and then corresponding deserialization is performed for different object types to recover the object.
According to the technical scheme of the embodiment, when client software runs, a frame template of an object to be displayed is loaded into a memory, content data to be displayed of the object to be displayed is loaded into the frame template of the memory to serve as object data, under a set trigger condition, the current running object is taken as a unit, terminal local persistent storage is carried out on the object data, and therefore the whole object entity is subjected to serialized local persistent storage, so that when the client software is started in a cold state, the stored object data is directly loaded into the memory from the terminal locally, an interface when the client software is closed can be recovered through reverse serialization without recreating the object template, the recovery efficiency of the client software is improved, and the problems that the recovery process is complicated and the response is slow after the client software is closed in the prior art are solved.
Fig. 3 is a schematic structural diagram of a software recovery apparatus according to an embodiment of the present disclosure, which is applicable to a case where a software interface before shutdown is recovered when a client software is started after shutdown. The software recovery device can be implemented in a software and/or hardware manner, and can be configured on a terminal, such as a smart phone or a tablet computer.
As shown in fig. 3, the software recovery apparatus provided in the embodiment of the present disclosure includes:
a frame template loading module 301, configured to load a frame template of an object to be displayed into an internal memory when client software on a terminal runs, and load content data to be displayed of the object to be displayed into the frame template of the internal memory as object data;
an object data storage module 302, configured to perform terminal local persistent storage on object data in units of currently running objects under a set trigger condition;
and an object data loading module 303, configured to load the stored object data from the terminal local to the memory for recovery when the client software is cold-started.
Optionally, the object data storage module 302 is specifically configured to: under the condition of setting a trigger, taking a current running object as a unit, and storing object data in a local persistent storage space of the terminal in a serialized manner;
correspondingly, the object data loading module 303 is specifically configured to: and when the client software is in cold start, loading the stored serialized object data into the memory from the local terminal, and recovering the object through deserialization.
Optionally, the object data loading module 303 includes:
the judging unit is used for loading the stored serialized object data from the local terminal to the memory and judging the object type included in the serialized object data when the client software is in cold start;
and the recovery unit is used for performing corresponding deserialization aiming at different object types according to the judgment result of the judgment unit so as to recover the object.
Optionally, the object data storage module 302 is specifically configured to:
and under the condition of setting a trigger, carrying out local incremental persistent storage on the object data by taking the current running object as a unit.
Optionally, the object data at least includes interface display elements required for presenting the object, and data related to the use state of the user based on the object.
Optionally, the frame template at least includes: the system comprises an interface display framework, layout constraint parameters, control response codes and template display content filling rules.
Optionally, the setting of the trigger condition includes at least one of: timing trigger, trigger when state changes and trigger when user operates.
The software recovery device can execute the software recovery method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects for executing the software recovery method.
Fig. 4 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure. Referring now to fig. 4, a block diagram of a terminal 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The terminal shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal 400 may include one or more processing devices (e.g., central processing units, graphics processors, etc.) 401, and a storage device 408 for storing one or more programs. Among other things, the processing device 401 may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the terminal 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the terminal 400 to communicate with other devices, either wirelessly or by wire, for exchanging data. While fig. 4 illustrates a terminal 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the terminal; or may exist separately and not be assembled into the terminal.
The computer readable medium carries one or more programs which, when executed by the terminal, cause the terminal to: when client software on a terminal runs, loading a frame template of an object to be displayed into a memory, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data; under the condition of setting a trigger, carrying out terminal local persistent storage on object data by taking a current running object as a unit; and when the client software is in cold start, loading the stored object data from the local terminal to the memory for recovery.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules and units described in the embodiments of the present disclosure may be implemented by software or hardware. For example, the frame template loading module may be further described as a module that loads a frame template of an object to be displayed into a memory and loads content data to be displayed of the object to be displayed into the frame template of the memory as object data when client software on the terminal runs.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (8)

1. A method for recovering software, comprising:
when client software on a terminal runs, loading a frame template of an object to be displayed into a memory, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data; the object data comprises content data to be displayed of the object to be displayed and a frame template of the object to be displayed; the frame template at least comprises: the method comprises the following steps of (1) displaying an interface frame, layout constraint parameters, control response codes and template display content filling rules;
under the condition of setting a trigger, carrying out terminal local persistent storage on object data by taking a current running object as a unit; the setting triggering condition comprises at least one of the following items: timing trigger, trigger when state changes and trigger when user operates;
and when the client software is in cold start, loading the stored object data from the local terminal to the memory for recovery.
2. The method of claim 1, wherein the performing terminal local persistent storage on object data in units of currently running objects comprises:
with the current running object as a unit, serializing and storing object data in a local persistent storage space of the terminal;
correspondingly, the loading and restoring the stored object data from the terminal to the memory locally includes:
and loading the stored serialized object data into a memory from the terminal locally, and recovering the object through deserialization.
3. The method according to claim 2, wherein the loading the stored serialized object data from the terminal locally into the memory and recovering the object by deserialization comprises:
loading stored serialized object data from a terminal to a memory locally, and judging an object type included in the serialized object data;
and performing corresponding deserialization aiming at different object types to recover the object.
4. The method of claim 1, wherein the performing terminal local persistent storage on object data in units of currently running objects comprises:
and performing local incremental persistent storage on the object data by taking the current running object as a unit.
5. The method of any of claims 1-4, wherein the object data includes at least interface display elements required to render the object, and data relating to a user's usage status based on the object.
6. A software recovery apparatus, comprising:
the frame template loading module is used for loading a frame template of an object to be displayed into the memory when client software on the terminal runs, and loading content data to be displayed of the object to be displayed into the frame template of the memory as object data; the object data comprises content data to be displayed of the object to be displayed and a frame template of the object to be displayed; the frame template at least comprises: the method comprises the following steps of (1) displaying an interface frame, layout constraint parameters, control response codes and template display content filling rules;
the object data storage module is used for carrying out terminal local persistent storage on the object data by taking the current running object as a unit under the set triggering condition; the setting triggering condition comprises at least one of the following items: timing trigger, trigger when state changes and trigger when user operates;
and the object data loading module is used for loading the stored object data from the local terminal to the memory for recovery when the client software is in cold start.
7. A terminal, comprising:
one or more processing devices;
a storage device for storing one or more programs,
when executed by the one or more processing devices, cause the one or more processing devices to implement the software recovery method of any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processing means, carries out a software recovery method according to any one of claims 1 to 5.
CN201910114377.2A 2019-02-14 2019-02-14 Software recovery method, device, terminal and medium Active CN109840168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910114377.2A CN109840168B (en) 2019-02-14 2019-02-14 Software recovery method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910114377.2A CN109840168B (en) 2019-02-14 2019-02-14 Software recovery method, device, terminal and medium

Publications (2)

Publication Number Publication Date
CN109840168A CN109840168A (en) 2019-06-04
CN109840168B true CN109840168B (en) 2021-11-02

Family

ID=66884692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910114377.2A Active CN109840168B (en) 2019-02-14 2019-02-14 Software recovery method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN109840168B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659189B (en) * 2019-08-15 2021-02-23 华为技术有限公司 Application program generation method and device, cloud server and readable storage medium
CN116166299A (en) * 2023-04-04 2023-05-26 深圳云豹智能有限公司 Software upgrading method and device, storage medium, chip and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673216A (en) * 2008-09-09 2010-03-17 联想(北京)有限公司 Method and device for closing application program
CN104077194A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Text input protection method and text input protection device
CN104102419A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Page display method and device and terminal equipment
CN105468478A (en) * 2015-11-26 2016-04-06 北京京东尚科信息技术有限公司 Recovery method and apparatus for business data after application crash
CN105955803A (en) * 2016-04-22 2016-09-21 上海斐讯数据通信技术有限公司 Terminal and method for recovering state of application program
CN106095318A (en) * 2016-06-16 2016-11-09 北京小米移动软件有限公司 Application program open method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9990363B2 (en) * 2014-11-25 2018-06-05 Emerson Process Management, Valve Automation, Inc. Methods and apparatus of using customizable templates in initializing process control devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673216A (en) * 2008-09-09 2010-03-17 联想(北京)有限公司 Method and device for closing application program
CN104077194A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Text input protection method and text input protection device
CN104102419A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Page display method and device and terminal equipment
CN105468478A (en) * 2015-11-26 2016-04-06 北京京东尚科信息技术有限公司 Recovery method and apparatus for business data after application crash
CN105955803A (en) * 2016-04-22 2016-09-21 上海斐讯数据通信技术有限公司 Terminal and method for recovering state of application program
CN106095318A (en) * 2016-06-16 2016-11-09 北京小米移动软件有限公司 Application program open method and device

Also Published As

Publication number Publication date
CN109840168A (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
CN109857486B (en) Method, device, equipment and medium for processing program page data
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
US20220385836A1 (en) Video special effect configuration file generation method and apparatus, and video rendering method and apparatus
CN111290819B (en) Method and device for displaying operation prompt and electronic equipment
CN109840168B (en) Software recovery method, device, terminal and medium
WO2023030224A1 (en) Information presentation method and apparatus, and electronic device and storage medium
CN109491742B (en) Page table rendering method and device
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
CN113094135A (en) Page display control method, device, equipment and storage medium
CN111723309B (en) Method and device for web page searching
WO2024056040A1 (en) Multimedia information display method and apparatus, and electronic device
WO2023202361A1 (en) Video generation method and apparatus, medium, and electronic device
CN110147283B (en) Display content switching display method, device, equipment and medium
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
CN110717126A (en) Page browsing method and device, electronic equipment and computer readable storage medium
US11962929B2 (en) Method, apparatus, and device for configuring video special effect, and storage medium
CN111460211A (en) Audio information playing method and device and electronic equipment
CN113747226B (en) Video display method and device, electronic equipment and storage medium
CN115033136A (en) Material display method, device, equipment, computer readable storage medium and product
CN109857503B (en) Page interaction effect self-adaption method and device and electronic equipment
CN112162682A (en) Content display method and device, electronic equipment and computer readable storage medium
CN111259287A (en) Page content display method and device, electronic equipment and storage medium
CN115065875B (en) Character display control method and device of network live broadcast system
CN113177174B (en) Feature construction method, content display method and related device

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