CN105630637A - Software backup method, software backup terminal, software recovery method and software recovery terminal - Google Patents

Software backup method, software backup terminal, software recovery method and software recovery terminal Download PDF

Info

Publication number
CN105630637A
CN105630637A CN201610085091.2A CN201610085091A CN105630637A CN 105630637 A CN105630637 A CN 105630637A CN 201610085091 A CN201610085091 A CN 201610085091A CN 105630637 A CN105630637 A CN 105630637A
Authority
CN
China
Prior art keywords
software
terminal
server
mark
version number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610085091.2A
Other languages
Chinese (zh)
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 Iessence Science And Technology Co Ltd
Original Assignee
Beijing Iessence Science And 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 Iessence Science And Technology Co Ltd filed Critical Beijing Iessence Science And Technology Co Ltd
Priority to CN201610085091.2A priority Critical patent/CN105630637A/en
Publication of CN105630637A publication Critical patent/CN105630637A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a software backup method, a software backup terminal, a software recovery method and a software recovery terminal.The software backup method includes receiving a backup request sent by a server, wherein the backup request includes identification and version numbers of software on the server; acquiring the identification and the version numbers of the software on the server; determining the identification and the version numbers of the software which do not exist in the server; acquiring installation files of the software according to the determined identification and the version numbers of the software and sending the installation files to the server.The software recovery method includes monitoring all software on the terminal; when something wrong with specific software is monitored, sending a recovery request to the server, wherein the recovery request includes the identification and the version numbers of the software; receiving the installation files sent by the server according to the identification and the version numbers of the software so as to recover the software.The software backup method, the software backup terminal, the software recovery method and the software recovery terminal have the advantages that as for the local software without installation files, the terminal can back up the software and can recover the software successfully when the software goes wrong.

Description

A kind of software backup, method of reducing and terminal
Technical field
The present invention relates to field of terminal technology, in particular to a kind of software backup, method of reducing and terminal.
Background technology
Terminal includes various software, such as operating system, multimedia software and office software etc. When terminal breaks down or collapses, may result in the software corruption in terminal, in order to prevent this from occurring, it is necessary to all softwares of terminal are backed-up, when terminal because when fault or other reason cause software corruption, it is possible to the software of damage is reduced.
In the prior art, it is possible to by the Disk Backup technology system file by the operating system of terminal and have the installation file backup of the software installing file in local disk. When terminal fault or other reason cause operating system or above-mentioned backed up the software corruption installing file time, it is possible to by the mode of the software automatic deployment system file according to backup and the software installing file restoring operation system and damage.
But can only to there being the software installing file to be backed-up, and after terminal also has a lot of installation, can not find the original software installing file, these software being fitted without file cannot be backed-up by above-mentioned prior art, also cannot these software be reduced when these softwares go wrong.
Summary of the invention
In view of this, the invention provides a kind of software backup, method of reducing and terminal, for solving this locality cannot be fitted without by prior art the problem that the software of file is backed-up.
First aspect, embodiments provides a kind of software backup method, and described method includes:
Receiving the backup request that server sends, described backup request includes the first software matrix, and described first software matrix includes mark and the version number of the software of described server storage;
Obtaining the second software matrix, described second software matrix includes mark and the version number of the software in terminal;
From described second software matrix, it is determined that go out mark and the version number of non-existent software in described first software matrix;
Mark according to the described software determined and version number, obtain the installation file of described software;
The described installation file obtained is sent to described server, so that described server stores the installation file of described software.
In conjunction with first aspect, embodiments provide the first possible implementation of above-mentioned first aspect, wherein, before the backup request that described reception server sends, also include:
Whether presence server in scanning network;
Sending to the server scanned and add request, described interpolation request includes the terminal iidentification of terminal, so that described server stores described terminal iidentification;
Receive Internet protocol IP address and the identity sequence number of the described server that described server sends;
Preserve IP address and the identity sequence number of the described server received.
In conjunction with first aspect, embodiments provide the implementation that the second of above-mentioned first aspect is possible, wherein, described acquisition the second software matrix, including:
Scan the operating system of described terminal, application program and operation system;
Obtain mark and the version number of described operating system, application program and operation system;
The mark of described acquisition and version number are formed described second software matrix.
In conjunction with first aspect, embodiments provide the third possible implementation of above-mentioned first aspect, wherein, the described mark according to the described software determined and version number, obtain the installation file of described software, including:
Judge the local installation file that whether there is described software;
If it does not exist, then obtain the configuration information of described software from registration table, resolve the dependent file of described software according to the configuration information of described software, generate the installation file of described software according to described dependent file;
If it is present obtain the installation file of described software from this locality.
The third possible implementation in conjunction with first aspect, embodiments provide the 4th kind of possible implementation of above-mentioned first aspect, if there is no the installation file of described software, the installation file by software described in the Internet download according to the mark of described software and version number.
Second aspect, embodiments provides a kind of software back method, and described method includes:
All softwares on monitoring terminal;
When monitoring certain software existing problems, sending reduction request to server, described reduction request includes mark and the version number of described software;
Receive the installation file that described server sends according to mark and the version number of described software;
According to the described installation file described software of reduction.
The third aspect, embodiments provides a kind of software backup terminal, and described terminal includes:
First receiver module, for receiving the backup request that server sends, described backup request includes the first software matrix, and described first software matrix includes mark and the version number of the software of described server storage;
First acquisition module, is used for obtaining the second software matrix, and described second software matrix includes mark and the version number of the software in terminal;
Determine module, for from described second software matrix, it is determined that go out mark and the version number of non-existent software in described first software matrix;
Second acquisition module, for the mark according to the described software determined and version number, obtains the installation file of described software;
First sending module, for being sent to described server by the described installation file obtained, so that described server stores the installation file of described software.
In conjunction with the third aspect, embodiments providing the first possible implementation of the above-mentioned third aspect, wherein, described terminal also includes:
Scan module, is used for scanning in network whether presence server;
Second sending module, adds request for sending to the server scanned, and described interpolation request includes the terminal iidentification of terminal, so that described server stores described terminal iidentification;
Second receiver module, for receiving IP address and the identity sequence number of the described server that described server sends;
Memory module, for preserving IP address and the identity sequence number of the described server of reception.
In conjunction with the third aspect, embodiments providing the implementation that the second of the above-mentioned third aspect is possible, wherein, described first acquisition module includes:
Scanning element, for scanning the operating system of described terminal, application program and operation system;
First acquiring unit, for obtaining mark and the version number of described operating system, application program and operation system;
Component units, for forming described second software matrix by the mark of described acquisition and version number;
Described second acquisition module includes:
Judging unit, for judging the local installation file that whether there is described software;
Generate unit, during for being absent from the installation file of described software when this locality, then obtain the configuration information of described software from registration table, resolve the dependent file of described software according to the configuration information of described software, generate the installation file of described software according to described dependent file; Or, download unit, the installation file by software described in the Internet download for the mark according to described software and version number;
Second acquisition unit, for when this locality exists the installation file of described software, then obtaining the installation file of described software from this locality.
Fourth aspect, embodiments provides a kind of software back terminal, and described terminal includes:
Monitoring modular, all softwares on monitoring terminal;
Sending module, for when monitoring certain software existing problems, sending reduction request to server, described reduction request includes mark and the version number of described software;
Receiver module, for receiving the installation file that described server sends according to mark and the version number of described software;
Recovery module, for according to the described installation file described software of reduction.
Software backup provided by the invention, method of reducing and terminal, for being absent from installing the software of file in this locality, terminal also is able to these software is backed-up, and can successfully it be reduced when the software being absent from installation file in this locality goes wrong.
For making the above-mentioned purpose of the present invention, feature and advantage to become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, it is described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment will be briefly described below, it is to be understood that, the following drawings illustrate only certain embodiments of the present invention, therefore the restriction to scope it is not construed as, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other relevant accompanying drawings according to these accompanying drawings.
Fig. 1 illustrates the flow chart of a kind of software backup method that the embodiment of the present invention 1 provides;
Fig. 2 illustrates the flow chart of terminal that the embodiment of the present invention 1 provides and server connection procedure;
Fig. 3 illustrates the flow chart of a kind of software back method that the embodiment of the present invention 2 provides;
Fig. 4 illustrates the structural representation of a kind of software backup terminal that the embodiment of the present invention 3 provides;
Fig. 5 illustrates the structural representation of a kind of software back terminal that the embodiment of the present invention 4 provides.
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Generally can with various different configurations arrange and design with the assembly of the embodiment of the present invention that illustrate described in accompanying drawing herein. Therefore, below the detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit claimed the scope of the present invention, but is merely representative of the selected embodiment of the present invention. Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the premise not making creative work, broadly fall into the scope of protection of the invention.
Considering in prior art, adopt Disk Backup technology to there being the software installing file to be backed-up, and can only can not find the original software installing file after also having a lot of installation in terminal, these software being fitted without file cannot be backed-up by prior art. Based on this, embodiments provide a kind of software backup, method of reducing and terminal. It is described by the examples below.
Embodiment 1
Embodiments provide a kind of software backup method. this software can be the operating system in terminal, application program and operation system, and operation system refers to the software system completing a certain item business function being made up of one or more software, such as urban waterlogging early warning system is exactly a kind of operation system, it is by GIS (GeographicInformationSystems, GIS-Geographic Information System) technology, database technology, the operation system of the composition such as forecast calculation software and early warning software, it can to the relevant characteristic of the effectiveness factors in city, spatial distribution such as waterlogging hydrops, depth profile, inundated areas etc. are analyzed and issue early warning. terminal in the embodiment of the present invention can be computer, mobile phone, PAD (PortableAndroidDevice, panel computer) etc.
Server stores some popular softwares, such as operating systems such as Windows, Unix, Linux, office software, the social application program such as software, game, and the operation system such as urban waterlogging early warning system, when certain popular software of terminal damages, the installation file of this software can be obtained from server, reduced. Being additionally provided with terminal list on server, it stores the terminal iidentification of the terminal added, when above-mentioned terminal sends interpolation request to this server, server according to the terminal iidentification of this terminal, can identify this terminal.
As it is shown in figure 1, the software backup method that the embodiment of the present invention provides, including step S110��S150.
S110, receives the backup request that server sends, and this backup request includes the first software matrix, and the first software matrix includes mark and the version number of the software of this server storage.
As an embodiment, terminal is before receiving the backup request that server sends, it is necessary to sets up with server and is connected, and this process is concrete as in figure 2 it is shown, include step S111��S114.
S111, whether presence server in scanning network.
S112, sends to the server scanned and adds request, and this interpolation request includes the terminal iidentification of terminal, so that this server storage terminal iidentification.
After this server receives the interpolation request of above-mentioned terminal, can judge whether the number of terminals being currently connected has reached it and allowed the sum of the terminal connected, without reaching the sum that this server allows the terminal of connection, so oneself IP (InternetProtocol, Internet protocol) address and identity sequence number are sent to above-mentioned terminal by this server.
S113, receives IP address and the identity sequence number of this server that above-mentioned server sends.
S114, preserves IP address and the identity sequence number of the above-mentioned server received.
After terminal preserves IP address and the identity sequence number of above-mentioned server, also can send a response message to this server, notify that this server has successfully preserved IP address and the identity sequence number of this server, after this server receives the response message of above-mentioned terminal, also the terminal iidentification of above-mentioned terminal can be added in the terminal list of server, so, terminal is set up with server and is connected.
Terminal is set up with server after being connected, and server actively can send backup request to terminal, asks this terminal by its software backup to server. Meanwhile, server also can obtain mark and the version number of the software of storage on server, the mark of software and version number is formed the first software matrix, sends jointly to terminal with backup request.
After terminal is connected with server foundation, server is except sending backup request to terminal, also can monitor the ruuning situation of self and connected terminal, percentage ratio, internal memory can be used to use percentage ratio, the network bandwidth and Socket (socket) to connect number etc. by the following ruuning situation of Monitoring Service device: server self CPU (CentralProcessingUnit, central processing unit). Can the following ruuning situation of monitoring terminal: terminal connect number, the backup progress of terminal and reduction progress etc. When the ruuning situation of monitoring server to terminal occurs abnormal, will sending alarm to terminal, prompt terminal processes in time.
S120: obtain the second software matrix, this second software matrix includes mark and the version number of the software in terminal.
As an embodiment, obtain the second software matrix, specifically include following steps:
The operating system of end of scan, application program and operation system;
Obtain mark and the version number of aforesaid operations system, application program and operation system;
Acquired mark and version number are formed above-mentioned second software matrix.
S130: from above-mentioned second software matrix, it is determined that go out mark and the version number of non-existent software in the first software matrix.
In this step, mark and the version number of software can be selected successively from the second software matrix, in the first software matrix, traversal is searched, if searching the mark less than above-mentioned software and version number in the first software matrix, then illustrates to be absent from the first list mark and the version number of this software. The mark of all softwares in the second software matrix and version number are carried out traversal successively in the first software matrix search, and then determine mark and the version number of non-existent software in the first software matrix.
S140: according to the mark of the above-mentioned software determined and version number, obtain the installation file of this software.
Wherein, obtain the installation file of this software, specifically include:
Judge whether terminal local exists the installation file of above-mentioned software, if it is present directly obtain the installation file of above-mentioned software from this locality;
If this locality is absent from the installation file of above-mentioned software, first obtain the configuration information of above-mentioned software from registration table, resolve the dependent file of this software according to the configuration information of this software, and generate the installation file of above-mentioned software according to this dependent file.
Wherein, registration table is an important data base in MicrosoftWindows (Windows operating system), for storing the configuration information of system and application program.
Namely the product of each stage action of software life cycle can be described as the configuration information of software after examination & approval, it is possible to including: the document relevant to software product and data; Source code, object code and executable code; The Related products such as software tool. And dependent file is primarily referred to as the control information of software and installs content, including software information and dependence, and terminal can parse software information and the dependence of this software from the above-mentioned configuration information of software, form the dependent file of this software, terminal, according to the software information in this dependent file and dependence, generates the installation file of this software.
In embodiments of the present invention, the installation file of software is generated by resolving the configuration information of software in registration table, may cause resolving unsuccessfully owing to analysis program goes wrong in running, as read registration table failure or insufficient permission etc., so cause ultimately generating installation file failure. Now terminal demonstration is for pointing out the information of failed regeneration to user and to point out user again to resolve, until successfully resolved.
When successfully resolved and when generating the installation file of software, it is also possible to owing to lacking corresponding associated with in registration table, cause not parsing any file, or installing of causing generating lacks some and installs required necessary file in file. In order to solve this problem, the embodiment of the present invention, after the installation file generating this software, also can generate one and install listed files, and this installation listed files includes the mark of each file installed in file of above-mentioned generation. Show this installation listed files and point out the file that this installation listed files is included by user to confirm. Also showing deletion button while this installation listed files of display and add button, user can choose the mark of the file needing deletion, then clicks on and deletes button from installing the file deleting the mark correspondence chosen file. User can also click interpolation button to installing interpolation alternative document in file.
If user confirms that this installation listed files includes this software and installs unwanted file, then user can click the mark of unwanted file to choose these files, then click on deletion button and trigger delete command, from the installation file generated, when terminal detects delete command, delete the file that the above-mentioned mark chosen is corresponding. If user confirms that lacking this software in this installation listed files installs necessary file, user clicks interpolation button and triggers interpolation order. The file directory that terminal detects when adding order on display terminal is to user, user browses this document catalogue, selecting the file needing to add from this document catalogue, click the file needing to add, clicked file is added in the installation file of this software by terminal.
After by the way the file installed in file generated being confirmed and revises, also again generate new installation listed files, make user that the installation listed files again generated to be confirmed, improve the accuracy installing file ultimately generated. After user carries out finally confirming, terminal also stores the installation file of this software of generation.
In addition, if this locality is absent from the installation file of above-mentioned software, it is also possible to the installation file by this software of the Internet download according to the mark of above-mentioned software and version number.
S150: the installation file of acquisition is sent to above-mentioned server, so that above-mentioned server stores the installation file of this software.
The installation file of acquisition is sent to server and is backed-up by terminal, meanwhile, also the software identification of this software and version number can be formed software matrix, be sent to above-mentioned server, uses during for reduction or backup next time.
In addition, terminal also can point out user can self-defined new business, if the business that User Defined is new, then self-defining new business information needs to upload onto the server to be backed-up, meanwhile, the mark of new business and version number are also required to upload onto the server and are backed-up.
Some data that software can also in use be stored by user send jointly to server and are backed-up.
The software backup method that the embodiment of the present invention provides, for being absent from installing the software of file in this locality, terminal also is able to these software is backed-up, and can successfully it be reduced when the software being absent from installation file in this locality goes wrong.
Embodiment 2
Embodiments provide a kind of software back method. This software can be the operating system in terminal, application program and operation system, and operation system refers to the software system completing a certain item business function being made up of one or more software. Terminal in the embodiment of the present invention can be computer, mobile phone, PAD etc.
As it is shown on figure 3, the software back method that the embodiment of the present invention provides, including step S310��S340.
S310: all softwares on monitoring terminal.
This software includes operating system, application program and operation system.
S320: when monitoring certain software existing problems, sends reduction request to server, and this reduction request includes mark and the version number of above-mentioned software.
Terminal can software on real-time monitoring terminal, it is also possible to the software in periodic monitoring terminal. When terminal system collapse or break down cause wherein certain software corruption time; the software of this damage will be monitored to; at this moment; connected server will be sent reduction request by terminal; this reduction request includes mark and the version number of the software of damage, after server receives the reduction request of this terminal, and can according to the mark of the software damaged and version number; recall the installation file of this software, and this installation file is sent to terminal.
In addition, terminal has also provided the user reduction trigger button. When user is in the process using terminal, find when certain running software is slower, user can unload the software that local runtime is slower, then click on reduction trigger button and trigger reduction order, when terminal detects reduction order, reduction request is sent to connected server, this reduction request includes mark and the version number of above-mentioned software, after server receives the reduction request of this terminal, can according to the mark of this software and version number, recall the installation file of this software, and this installation file is sent to terminal.
S330: receive the installation file that above-mentioned server sends according to mark and the version number of this software.
S340: reduce this software according to above-mentioned installation file.
Will be exemplified below the software back method that the embodiment of the present invention provides:
When terminal system is collapsed, it is possible to by the operating system of mode automatic reduction terminal of server automatic deployment, software and operation system, so before the terminal after reduction and system crash configure exactly the same. Additionally, in embodiments of the present invention, can also be manually selected by user when terminal system is collapsed and need the operating system of reduction, software and operation system, operating system, software and operation system that terminal selects according to user are reduced, so the configuration of the terminal after reduction may with system crash before differently configured.
Mode of separately below above two being reduced is described:
The mode of automatic deployment: the operating system of server meeting this terminal of automatic deployment, is sent to this terminal by the system file of the operating system of this terminal of backup, and this terminal is according to the system file reducing operating system received. Terminal also can obtain configuration file and the data of this system from server, carries out the reduction of configuration file and data, adopts the method, it is possible to is become by the operating system reduction of this terminal and configures identical operating system before system crash; System crash is likely to and can cause that the software in terminal is damaged, now terminal can send reduction request to server, this request includes mark and the version number of the software of damage, after server receives the reduction request of this terminal, can according to the mark of the software damaged and version number, recall the installation file of this software, and this installation file is sent to terminal reduces this software. For terminal local is absent from installing the software of file, it is also possible to reduce. After so the software in terminal being reduced, the quantity of the software in terminal and kind and identical before system crash.
Select to reduce according to user: terminal display action system list is to user, and this operating system list includes mark and the version number of several operation systems. User selects a kind of operating system from this operating system list, and clicks mark and the version number of the operating system of selection. When terminal detects title and the version number of user's clicking operation system, sending reduction request to server, this reduction request includes mark and the version number of the operating system that user clicks. After server receives this reduction request, according to the mark of operating system and version number, the system file of this operating system can be recalled, and this system file is sent to terminal reduce;
Additionally, terminal can not also show that aforesaid operations system list is to user, but directly wanted mark and the version number of the operating system of reduction to input in terminal by user, terminal obtains mark and the version number of the operating system of user's input, send reduction request to server, and in this server, carry mark and the version number of the operating system of user's input;
After new operating system is installed, user can select oneself to think software to be installed, then the mark and version number of thinking software to be installed being sent to server, server recalls the installation file of this software according to the mark of the software received and version number, is sent to terminal and reduces.
The software back method that the embodiment of the present invention provides, it is possible to become by the operating system reduction of this terminal and configure identical operating system before system crash, is absent from installing the software of file, it is also possible to reduce for terminal local.
Embodiment 3
The embodiment of the present invention additionally provides a kind of software backup terminal, and this software can be the operating system in terminal, application program and operation system, and operation system refers to the software system completing a certain item business function being made up of one or more software. This terminal can be computer, mobile phone, PAD etc. This terminal is for performing the software backup method that above-described embodiment 1 provides.
As shown in Figure 4, the software backup terminal that the embodiment of the present invention provides, it is possible to including: scan module the 410, second sending module the 420, second receiver module 430, memory module the 440, first receiver module the 450, first acquisition module 460, determine module the 470, second acquisition module 480 and the first sending module 490.
Scan module 410, is used for scanning in network whether presence server.
Second sending module 420, adds request for sending to the server scanned, and this interpolation request includes the terminal iidentification of terminal, so that this server storage terminal iidentification.
Second receiver module 430, for receiving IP address and the identity sequence number of this server that above-mentioned server sends.
Memory module 440, for preserving IP address and the identity sequence number of the above-mentioned server of reception.
As an embodiment, terminal is before receiving the backup request that server sends, it is necessary to sets up with server and is connected, specifically includes:
Scan module 410 scans in network whether presence server, when scanning presence server in network, second sending module 420 can send to the server scanned and add request, and this request includes the terminal iidentification of terminal, so that this server storage terminal iidentification; After this server receives the interpolation request that the second sending module 420 sends, can judge whether the number of terminals being currently connected has reached it and allowed the sum of the terminal connected, without reaching the sum that this server allows the terminal of connection, oneself IP address and identity sequence number are sent to the second receiver module 430 by this server, second receiver module 430 is preserved by memory module 440 after receiving IP address and the identity sequence number of this server.
After memory module 440 preserves IP address and the identity sequence number of above-mentioned server, also can send a response message to this server, notify that this server has successfully preserved IP address and the identity sequence number of this server, after this server receives the response message of above-mentioned terminal, also the terminal iidentification of above-mentioned terminal can be added in the terminal list of server, so, terminal is set up with server and is connected.
First receiver module 450, for receiving the backup request that server sends, this backup request includes the first software matrix, and the first software matrix includes mark and the version number of the software of this server storage.
First acquisition module 460, is used for obtaining the second software matrix, and this second software matrix includes the mark on the software in terminal and version number.
As an embodiment, described first acquisition module 460 may include that
Scanning element, the first acquiring unit and component units.
Scanning element, for scanning the operating system of this terminal, application program and operation system;
First acquiring unit, for obtaining mark and the version number of aforesaid operations system, application program and operation system;
Component units, for forming the second software matrix by mark and the version number of above-mentioned acquisition.
Obtained the second software matrix by above-mentioned first acquisition module 460, specifically include following steps:
The operating system of scanning element end of scan, application program and operation system, mark and the version number of aforesaid operations system, application program and operation system is obtained by the first acquiring unit, and this mark and version number are sent to component units, the component units mark by above-mentioned acquisition and version number form the second software matrix.
Determine module 470, for from above-mentioned second software matrix, it is determined that go out mark and the version number of non-existent software in the first software matrix.
Second acquisition module 480, for the mark according to the above-mentioned software determined and version number, obtains the installation file of this software.
As an embodiment, described second acquisition module 480 may include that
Judging unit, generation unit, download unit and second acquisition unit.
Judging unit, for judging the local installation file that whether there is above-mentioned software.
Generate unit, during for being absent from the installation file of above-mentioned software when this locality, then obtain the configuration information of above-mentioned software from registration table, resolve the dependent file of above-mentioned software according to the configuration information of above-mentioned software, and generate the installation file of above-mentioned software according to this dependent file.
Download unit, the installation file by this software of the Internet download for the mark according to above-mentioned software and version number.
Second acquisition unit, for when this locality exists the installation file of above-mentioned software, then obtaining the installation file of above-mentioned software from this locality.
Obtained the installation file of software by above-mentioned second acquisition module 480, specifically include following steps:
According to the mark and the version number that determine software that module 470 is determined, it is judged that whether unit judges terminal local exists the installation file of above-mentioned software, if it is present directly obtained the installation file of above-mentioned software from this locality by second acquisition unit; If it does not exist, then generate unit to obtain the configuration information of above-mentioned software from registration table, resolve the dependent file of this software according to the configuration information of this software, and generate the installation file of above-mentioned software according to this dependent file. Or, it is also possible to the installation file by this software of the Internet download by the download unit mark according to above-mentioned software and version number.
First sending module 490, for being sent to above-mentioned server by the installation file of acquisition, so that above-mentioned server stores the installation file of this software.
In embodiments of the present invention, after first receiver module 450 receives the backup request that server sends, first acquisition module 460 obtains mark and the version number of the software in terminal, determine mark and the version number of software in the terminal that module 470 obtains according to the first acquisition module 460, determine mark and the version number of non-existent software in server, second acquisition module 480 is according to the mark and the version number that determine software that module 470 is determined, obtain the installation file of this software, and this installation file is sent to the first sending module 490, it is sent to server by the first sending module 490 to be backed-up.
The software backup terminal that the embodiment of the present invention provides, for being absent from installing the software of file in this locality, terminal also is able to these software is backed-up, and can successfully it be reduced when the software being absent from installation file in this locality goes wrong.
Embodiment 4
The embodiment of the present invention additionally provides a kind of software back terminal, and this software can be the operating system in terminal, application program and operation system, and operation system refers to the software system completing a certain item business function being made up of one or more software. This terminal can be computer, mobile phone, PAD etc. This terminal is for performing the software back method that above-described embodiment 2 provides.
As it is shown in figure 5, the software back terminal that the embodiment of the present invention provides, it is possible to including:
Monitoring modular 510, sending module 520, receiver module 530 and recovery module 540.
Monitoring modular 510, all softwares on monitoring terminal, including operating system, application program and operation system.
Sending module 520, for when monitoring certain software existing problems, sending reduction request to server, this reduction request includes mark and the version number of above-mentioned software.
Receiver module 530, for receiving the installation file that this server above-mentioned sends according to mark and the version number of this software.
Recovery module 540, for reducing this software according to above-mentioned installation file.
In embodiments of the present invention, monitoring modular 510 can software on real-time monitoring terminal, can also software in periodic monitoring terminal, when monitoring modular 510 monitors certain software existing problems, sending module 520 sends reduction request to server, this reduction request includes mark and the version number of above-mentioned software, after server receives the reduction request that sending module 520 sends, can according to the mark of the software damaged and version number, recall the installation file of this software, and this installation file is sent to terminal; After receiver module 530 receives the installation file of this software, recovery module 540 reduce this software according to this installation file.
The software back terminal that the embodiment of the present invention provides, it is possible to become by the operating system reduction of this terminal and configure identical operating system before system crash, is absent from installing the software of file, it is also possible to reduce for terminal local.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention. Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.

Claims (10)

1. a software backup method, it is characterised in that including:
Receiving the backup request that server sends, described backup request includes the first software matrix, and described first software matrix includes mark and the version number of the software of described server storage;
Obtaining the second software matrix, described second software matrix includes mark and the version number of the software in terminal;
From described second software matrix, it is determined that go out mark and the version number of non-existent software in described first software matrix;
Mark according to the described software determined and version number, obtain the installation file of described software;
The described installation file obtained is sent to described server, so that described server stores the installation file of described software.
2. method according to claim 1, it is characterised in that before the backup request that described reception server sends, also include:
Whether presence server in scanning network;
Sending to the server scanned and add request, described interpolation request includes the terminal iidentification of terminal, so that described server stores described terminal iidentification;
Receive Internet protocol IP address and the identity sequence number of the described server that described server sends;
Preserve IP address and the identity sequence number of the described server received.
3. method according to claim 1, it is characterised in that described acquisition the second software matrix, including:
Scan the operating system of described terminal, application program and operation system;
Obtain mark and the version number of described operating system, application program and operation system;
The mark of described acquisition and version number are formed described second software matrix.
4. method according to claim 1, it is characterised in that the described mark according to the described software determined and version number, obtains the installation file of described software, including:
Judge the local installation file that whether there is described software;
If it does not exist, then obtain the configuration information of described software from registration table, resolve the dependent file of described software according to the configuration information of described software, generate the installation file of described software according to described dependent file;
If it is present obtain the installation file of described software from this locality.
5. method according to claim 4, it is characterised in that the if there is no installation file of described software, the installation file by software described in the Internet download according to the mark of described software and version number.
6. a software back method, it is characterised in that including:
All softwares on monitoring terminal;
When monitoring certain software existing problems, sending reduction request to server, described reduction request includes mark and the version number of described software;
Receive the installation file that described server sends according to mark and the version number of described software;
According to the described installation file described software of reduction.
7. a software backup terminal, it is characterised in that including:
First receiver module, for receiving the backup request that server sends, described backup request includes the first software matrix, and described first software matrix includes mark and the version number of the software of described server storage;
First acquisition module, is used for obtaining the second software matrix, and described second software matrix includes mark and the version number of the software in terminal;
Determine module, for from described second software matrix, it is determined that go out mark and the version number of non-existent software in described first software matrix;
Second acquisition module, for the mark according to the described software determined and version number, obtains the installation file of described software;
First sending module, for being sent to described server by the described installation file obtained, so that described server stores the installation file of described software.
8. terminal according to claim 7, it is characterised in that described terminal also includes:
Scan module, is used for scanning in network whether presence server;
Second sending module, adds request for sending to the server scanned, and described interpolation request includes the terminal iidentification of terminal, so that described server stores described terminal iidentification;
Second receiver module, for receiving IP address and the identity sequence number of the described server that described server sends;
Memory module, for preserving IP address and the identity sequence number of the described server of reception.
9. terminal according to claim 7, it is characterised in that described first acquisition module includes:
Scanning element, for scanning the operating system of described terminal, application program and operation system;
First acquiring unit, for obtaining mark and the version number of described operating system, application program and operation system;
Component units, for forming described second software matrix by the mark of described acquisition and version number;
Described second acquisition module includes:
Judging unit, for judging the local installation file that whether there is described software;
Generate unit, during for being absent from the installation file of described software when this locality, then obtain the configuration information of described software from registration table, resolve the dependent file of described software according to the configuration information of described software, generate the installation file of described software according to described dependent file; Or, download unit, the installation file by software described in the Internet download for the mark according to described software and version number;
Second acquisition unit, for when this locality exists the installation file of described software, then obtaining the installation file of described software from this locality.
10. a software back terminal, it is characterised in that including:
Monitoring modular, all softwares on monitoring terminal;
Sending module, for when monitoring certain software existing problems, sending reduction request to server, described reduction request includes mark and the version number of described software;
Receiver module, for receiving the installation file that described server sends according to mark and the version number of described software;
Recovery module, for according to the described installation file described software of reduction.
CN201610085091.2A 2016-02-14 2016-02-14 Software backup method, software backup terminal, software recovery method and software recovery terminal Pending CN105630637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610085091.2A CN105630637A (en) 2016-02-14 2016-02-14 Software backup method, software backup terminal, software recovery method and software recovery terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610085091.2A CN105630637A (en) 2016-02-14 2016-02-14 Software backup method, software backup terminal, software recovery method and software recovery terminal

Publications (1)

Publication Number Publication Date
CN105630637A true CN105630637A (en) 2016-06-01

Family

ID=56045612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610085091.2A Pending CN105630637A (en) 2016-02-14 2016-02-14 Software backup method, software backup terminal, software recovery method and software recovery terminal

Country Status (1)

Country Link
CN (1) CN105630637A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708664A (en) * 2016-12-19 2017-05-24 维沃移动通信有限公司 Installation file backup method and server
CN110519332A (en) * 2019-07-31 2019-11-29 浪潮电子信息产业股份有限公司 A kind of file backup method of server, correlation technique, relevant apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838083A (en) * 2005-03-21 2006-09-27 微软公司 System and method of efficient data backup in a networking environment
CN1852534A (en) * 2005-08-10 2006-10-25 华为技术有限公司 Data backing-up and recovering method and system
US20120117346A1 (en) * 2007-04-27 2012-05-10 Stocklein Carl J User interface indicator for mobile device backup status
CN102508735A (en) * 2011-09-30 2012-06-20 奇智软件(北京)有限公司 Method for backing up and restoring terminal system based on cloud architecture
CN103294487A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method, device and system for installing software

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838083A (en) * 2005-03-21 2006-09-27 微软公司 System and method of efficient data backup in a networking environment
CN1852534A (en) * 2005-08-10 2006-10-25 华为技术有限公司 Data backing-up and recovering method and system
US20120117346A1 (en) * 2007-04-27 2012-05-10 Stocklein Carl J User interface indicator for mobile device backup status
CN102508735A (en) * 2011-09-30 2012-06-20 奇智软件(北京)有限公司 Method for backing up and restoring terminal system based on cloud architecture
CN103294487A (en) * 2012-02-22 2013-09-11 腾讯科技(深圳)有限公司 Method, device and system for installing software

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708664A (en) * 2016-12-19 2017-05-24 维沃移动通信有限公司 Installation file backup method and server
CN110519332A (en) * 2019-07-31 2019-11-29 浪潮电子信息产业股份有限公司 A kind of file backup method of server, correlation technique, relevant apparatus

Similar Documents

Publication Publication Date Title
CN106572173B (en) Configuration information updating method, device and system
CN108874403B (en) Method, device and equipment for issuing rule file and storage medium
JP6374379B2 (en) Offline data transmission and display
CN103164247B (en) The method and device that system application is repaired automatically
CN108108296B (en) Cloud testing method, server and client
CN104717282A (en) Method, device and system for controlling intelligent terminals with Android operating system
CN111147616B (en) Resource acquisition method and device, electronic equipment and storage medium
CN113347037B (en) Data center access method and device
US20170078137A1 (en) Method And System For Clustered Real-time Correlation Of Trace Data Fragments Describing Distributed Transaction Executions
CN111934953B (en) Batch test method based on domestic processor computer platform
CN112149035A (en) Website static resource processing method and device
CN111240892A (en) Data backup method and device
CN110688305A (en) Test environment synchronization method, device, medium and electronic equipment
CN110851303B (en) Data backup method, system and equipment
CN105630637A (en) Software backup method, software backup terminal, software recovery method and software recovery terminal
CN109120432A (en) A kind of failed server localization method and device
CN110347955B (en) Resource detection method and device
CN108900337B (en) Fault recovery method, server, client and system for metadata service
CN116827965B (en) Coal mine underground offline scene data storage and synchronization method based on cloud platform
CN105159692A (en) Application identifying method, application identifying device and server
CN112235128A (en) Transaction path analysis method, device, server and storage medium
CN104376012A (en) Web page application reconnection method, web page application reconnection device and web page application reconnection system
US9852031B2 (en) Computer system and method of identifying a failure
CN111385613A (en) Television system repairing method, storage medium and application server
CN112948020B (en) Configuration file processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160601