CN106776124A - Data back up method and device - Google Patents
Data back up method and device Download PDFInfo
- Publication number
- CN106776124A CN106776124A CN201611055670.9A CN201611055670A CN106776124A CN 106776124 A CN106776124 A CN 106776124A CN 201611055670 A CN201611055670 A CN 201611055670A CN 106776124 A CN106776124 A CN 106776124A
- Authority
- CN
- China
- Prior art keywords
- equipment
- message
- backup
- target
- record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of data back up method and device, belong to network technique field.The method includes:To the first equipment sending data backup request, data backup requests are used to indicate target session to be backed up;Receive the first equipment return target session backup deadline, backup deadline be used for indicate the first equipment be stored with target session back up deadline before entire message record;Determine that target message is recorded according to backup deadline, target message is recorded as the Message Record that target session is produced after deadline is backed up;Target message is sent to the first equipment to record, the first equipment is used to back up the Message Record of session.The Message Record that the Message Record backed up in target session is distinguished He be not backed up using backup deadline, so that when being backed up to target session, only need to transmit the Message Record being not backed up, and without the Message Record that transmission has been backed up, improve the efficiency of data backup.
Description
Technical field
The present invention relates to network technique field, more particularly to a kind of data back up method and device.
Background technology
With the development of network technology, the application of various functions is usually mounted with user equipment, applied in the mistake for using
Cheng Zhonghui produces various data, such as the Message Record of social networking application, multimedia file of multimedia application etc..In order to avoid number
According to loss, it usually needs the data on user equipment are backuped in another equipment, such as, the data in mobile phone are backuped to
Computer is first-class, during so as to loss of data on mobile phone, the data of respective backup can be got from computer.
As a example by the Message Record of social networking application on mobile phone is backed up into computer, the process of the data backup can be:Hand
Machine and computer set up connection, and mobile phone is recorded to the entire message that computer sends social networking application, and computer has received whole Message Records
After stored so that complete backup.And if a piece of news record has been newly increased after backup, on mobile phone, then will disappear again
Breath record is backuped to when on computer, and mobile phone is still needed to whole Message Record (including increased Message Record and standby before
The Message Record of part) send to computer, backed up by computer.
Realize it is of the invention during, inventor find prior art at least there is problems with:
In backup procedure, as long as needing the Message Record of backup to change it is necessary to transmit whole Message Records, its
In will likely include ones which a large amount of Message Records having backed up, cause to transmit many unnecessary data, reduce data standby
The efficiency of part.
The content of the invention
In order to solve problem of the prior art, a kind of data back up method and device are the embodiment of the invention provides.It is described
Technical scheme is as follows:
First aspect, there is provided a kind of data back up method, methods described includes:
To the first equipment sending data backup request, the data backup requests are used to indicate target session to be backed up;
The backup deadline of the target session that first equipment is returned is received, the backup deadline is used for
First equipment is indicated to be stored with the target session in the entire message record backed up before deadline;
Determine that target message is recorded according to the backup deadline, the target message is recorded as the target session and exists
The Message Record produced after the backup deadline;
The target message is sent to first equipment to record, first equipment is used to enter the Message Record of session
Row backup.
Second aspect, there is provided a kind of data back up method, methods described includes:
When the data backup requests of the second equipment are received, backup deadline corresponding with target session, institute are obtained
Data backup requests are stated for indicating target session to be backed up;
The backup deadline of the target session is sent to second equipment, second equipment is used for first
Equipment sends target message record, and the target message is recorded as the target session and is produced after the backup deadline
Message Record;
When the target message record is received, by the message of the target message record storage to the target session
In record.
The third aspect, there is provided a kind of data backup device, described device includes:
First sending module, for the first equipment sending data backup request, the data backup requests to be used to indicate
Target session to be backed up;
Receiver module, it is the backup deadline for receiving the target session that first equipment is returned, described standby
Part deadline is used to indicate first equipment to be stored with the target session in the whole backed up before deadline
Message Record;
Determining module, for determining that target message is recorded according to the backup deadline, the target message is recorded as
The Message Record that the target session is produced after the backup deadline;
Second sending module, records for sending the target message to first equipment, and first equipment is used for
Message Record to session is backed up.
Fourth aspect, there is provided a kind of data backup device, described device includes:
Acquisition module, for when the data backup requests of the second equipment are received, obtaining corresponding with target session standby
Part deadline, the data backup requests are used to indicate target session to be backed up;
Sending module, for the backup deadline of the target session to be sent to second equipment, described second
Equipment is used to send target message record to the first equipment, and the target message is recorded as the target session and is cut in the backup
The Message Record for only being produced after the time;
Memory module, for when receiving the target message and recording, by the target message record storage to described
In the Message Record of target session.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Remembered by the message for the Message Record backed up in target session being distinguished using backup deadline and be not backed up
Record so that when being backed up to target session, it is only necessary to the Message Record that transmission is not backed up, and backed up without transmission
Message Record, improves the efficiency of data backup.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is that a kind of equipment for data backup provided in an embodiment of the present invention interacts schematic diagram;
Fig. 2A is a kind of flow chart of data back up method provided in an embodiment of the present invention;
Fig. 2 B are a kind of flow charts of data back up method provided in an embodiment of the present invention;
Fig. 3 A are a kind of flow charts of data back up method provided in an embodiment of the present invention;
Fig. 3 B are a kind of flow charts of data back up method provided in an embodiment of the present invention;
Fig. 4 is a kind of block diagram of data backup device provided in an embodiment of the present invention;
Fig. 5 is a kind of block diagram of data backup device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of block diagram of data backup device provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is that a kind of equipment for data backup provided in an embodiment of the present invention interacts schematic diagram, as shown in figure 1, bag
The first equipment and the second equipment are included, the first equipment is the target device of data backup, and the second equipment is the source device of data backup.
Wherein, the second equipment can be the terminals such as mobile phone, panel computer, desktop computer, and application is provided with the second equipment,
The application can be social networking application, multimedia application etc., and applying can produce various data during use.First equipment can
Think the terminals such as mobile phone, panel computer, desktop computer, the first equipment can also be server.When the first equipment is terminal, the
Identical application can also be installed with the second equipment in one equipment, or the first equipment is provided with application backup functionality
Using.Wherein, the operating system of the first equipment and the second equipment can be the same or different, and the embodiment of the present invention is not made to this
Limit.
The data backup of the present embodiment is used to back up the data applied in the second equipment, for the ease of description, will
The application referred to as intended application of backup is needed in second equipment.Introduction based on above-mentioned first equipment and the second equipment, this reality
Apply needed for example back up data flow can be from terminal-to-terminal service, or be from terminal to server, detailed data backup
The specific embodiment that flow is provided referring to following Fig. 2A.
Fig. 2A is a kind of flow chart of data back up method provided in an embodiment of the present invention, and referring to Fig. 2A, interaction agent is related to
And first equipment and the second equipment, the method flow includes:
201st, the second equipment obtains the facility information of the first equipment, is set up with the first equipment according to the facility information and is connected.
In the present embodiment, when the first equipment and the second equipment are terminal, the first equipment and the second equipment may be at
In same LAN, the two can be by wired or wirelessly foundation connection.Wherein, wired connection mode includes
USB is connected, netting twine is direct-connected etc..Radio connection includes WiFi (Wireless Fidelity, Wireless Fidelity) connections, bluetooth
Connection etc..The step 201 can be skipped when the first equipment is server and directly performs step 202.
Wherein, the first equipment same with the second equipment can be provided with intended application, it is also possible to be not installed with intended application.
User can be by the first equipment trigger data backup flow, such as, when the first equipment is provided with intended application, can be in mesh
The data backup option for realizing data backup is provided with the function interface for marking application so that user can be somebody's turn to do by clicking on
Data backup option carrys out trigger data backup flow.In addition, when intended application is not installed with, the first equipment can be installed promising
Intended application provides the specified application of backup services, and the data of intended application backup are provided with the function interface of the specified application
Backup options so that user can be by clicking on the data backup option come trigger data backup flow.
Certainly, user can also be by the second equipment trigger data backup flow, such as, when the second equipment is detected to mesh
During the trigger action of the data backup option for marking application, the session list of display target application, user can be in the session list
Middle selection needs the target session of backup;When the selection that the second equipment detects target session confirms operation, trigger data is standby
Part flow.Such as, user can choose session 1 and session 2 as target session etc. in session list.Additionally, the second equipment
Backup can also automatically be triggered according to predetermined period, the predetermined period can be pre-set or more by server or the second equipment
Change, the present embodiment is not construed as limiting to this.After backup flow is triggered, the first equipment detects whether to be had built up with the second equipment
Connection, if not setting up connection, performs the process set up with the second equipment and be connected.If having set up connection, set to second
Preparation send backup instruction, after receiving backup instruction by the second equipment, performs step 202.
Below so that user passes through the first equipment trigger data backup flow as an example, the second equipment and the first equipment are set up and is connected
The process for connecing is introduced:
After trigger data backup flow, the second equipment needs to be set up with the first equipment and is connected, standby so as to carry out data
Part.For example, the second equipment can be set up by the facility information of the first equipment for obtaining with the first equipment connecting.Wherein,
The facility information of one equipment includes the IP address of the first equipment and provides the port numbers of data backup service.Second equipment obtains the
The mode of the facility information of one equipment can include any one in following three kinds:
First way, the second equipment obtain the facility information of the first equipment by server.
In this kind of mode, the first equipment is same with the second equipment to be provided with intended application, and is logged in identical account.When
When first equipment detects the trigger action of the data backup option, send backup flow to server and initiate message, the backup
Flow initiates message and carries the facility information of the first equipment and log in the first account of intended application.Server is according to the first account
Number, sending backup flow to the second equipment for being logged in identical account and initiate to indicate, the backup flow initiates to carry in instruction the
The facility information of one equipment, so that the second equipment gets the facility information of the first equipment.Certainly, the backup flow is initiated
Indicate can also be without carry the first equipment facility information, but by the second equipment receive the backup flow initiate indicate after from
The facility information of server pull first equipment, the embodiment of the present invention is not construed as limiting to this.
The second way, the second equipment are believed by the equipment that the facility information broadcast message of the first equipment obtains the first equipment
Breath.
In this kind of mode, the first equipment can be provided with intended application, it is also possible to be not installed with intended application.Set when first
During for detecting the trigger action to the data backup option of intended application, the facility information of itself is broadcasted in LAN, when
When second equipment is in same LAN with the first equipment, just can be broadcast the message by LAN Access to the facility information,
So as to extract the facility information of the first equipment from facility information broadcast message.
The third mode, the second equipment obtain the facility information of the first equipment by two-dimensional code scanning.
In this kind of mode, the first equipment can be provided with intended application, it is also possible to be not installed with intended application.Set when first
During for detecting the trigger action to the data backup option of intended application, according to the facility information of itself, Quick Response Code is generated.The
Two equipment obtain the facility information of the first equipment by scanning the Quick Response Code.
For the above-mentioned second way and the third mode, when intended application is provided with the first equipment, the data are standby
The flow of part is considered as being the process of intended application data syn-chronization.In order to ensure the security of data backup, it is to avoid by one
To another account, the second equipment can also obtain the first account that the first equipment logs in intended application to the data syn-chronization of account.
Such as, for above-mentioned second situation, the first equipment can also be broadcasted the first account so that the second equipment gets this
First account.For above-mentioned the third situation, first account, the second equipment can be included in the Quick Response Code of the first equipment generation
The first account is got by scanning Quick Response Code.After second equipment gets the first account, with local log-on intended application
Two accounts are contrasted, if the two is identical, is set up with the first equipment and are connected;If it is not the same, then refusing and the first equipment
Connection is set up, meanwhile, the second equipment can show account difference prompt message, to point out user data backup to there may be wind
Danger.
After second equipment gets the facility information of the first equipment, can be by wired or wirelessly set with first
Standby foundation in same LAN is directly connected to, and the process of foundation connection can be:Second equipment is according to the first equipment
IP address, to the first equipment sending data connection request.If the first equipment receives the data connection request, can be to second
Equipment returns to a response message.If the second equipment receives the response message of the first equipment, illustrate the two in same
In individual LAN, connection can be directly set up, then the second equipment is set up with the first equipment and is connected.If the second equipment is not received
To the response message of the first equipment, it is determined that be not in same LAN with the first equipment, it is impossible to which foundation is directly connected to.This
When, in order to guarantee successfully as user carries out data backup, the second equipment display network connection prompt message, the network connection
Prompt message is used to indicate the second equipment to be in different LANs from the first equipment, such as the network connection prompt message can
Think information such as " two equipment are please connected to same LAN ".
Certainly, even if the first equipment and the second equipment are in same LAN sometimes, it is also possible to because network
The reasons such as failure (such as netting twine is not plugged, or router failure etc.) so that the first equipment does not receive the number of the second equipment
According to connection request, or cause that the second equipment does not receive the response message that the first equipment has been returned.Therefore, in order to anti-to user
Reflect real connection, to improve the success rate of connection, the second equipment when response message is not received, can also carry out with
Lower step:According to the IP address and local ip address of the first equipment, judge whether be in same LAN with the second equipment.Than
Such as, whether the IP address of the first equipment of the second equipment detection and the network number of local ip address are identical, if identical, it is determined that with
First equipment is in same LAN.At this point it is possible to point out user to check that a lower network is the presence of failure, such as, check network
Whether connection is normal etc..Wherein, network number is used for the LAN ID of instruction equipment IP address.
Further, since different WLANs generally has different SSID (Service Set Identifier, clothes
Business set identifier), when the first equipment or the second equipment pass through WiFi access networks, the facility information of the first equipment can also include
The SSID of WLAN residing for first equipment, the second equipment can be by contrasting the SSID and local SSID of the first equipment come really
It is fixed whether to be in same LAN with the first equipment.Such as, when the SSID of the two is different, it is determined that the two is not at same local
In net, now the second equipment shows network connection prompt message, and now the network connection prompt message can serve to indicate that and will set
It is standby to be connected to same WiFi, such as, the information such as " two equipment are please connected to same WiFi ", such prompting can be with
Some are made not understand the user of LAN concept, it is also possible to by pointing out to be connected to two equipment in same LAN,
The universality of the data back up method is improve, operability is enhanced.
It should be noted that for the second way of the facility information of above-mentioned acquisition first, due to the equipment of the first equipment
Information by LAN broadcast, therefore, when the second equipment receives the facility information of the first equipment, just can determine that with
First equipment is in same LAN, now can directly be set up with the first equipment according to the facility information for getting and is connected.
Connection is set up in same LAN by by the first equipment and the second equipment, data backup procedure is substantially increased
In data transmission bauds, the efficiency of data backup is improve, simultaneously as LAN is not readily susceptible to external interference, network
Good stability, this improves the reliability of data transfer, it is to avoid the problem for causing backup efficiency to decline due to packet loss.
Fig. 2 B show a kind of flow chart of data backup based on above-mentioned first way, in fig. 2b when the first equipment is examined
When measuring the trigger action of data backup option, send backup flow to server and initiate message, the backup flow initiates message
The facility information for carrying the first equipment and the first account for logging in intended application.Can be to other flows of Fig. 2 B in subsequent step
It is introduced.
In order to ensure the security of data transfer, the data of interaction are encryption data between the first equipment and the second equipment,
Specifically, after detecting data backup flow and being triggered, the first equipment detects whether local cipher key cache area is stored with
Key, if the local key that is not stored with, the first equipment can obtain the key from server.Second equipment can also be from clothes
Business device obtains identical key, and the first equipment and the second equipment can be added using the key to the data sent to opposite end
It is close, and when the data of opposite end are received, can be decrypted using the key.
The security of connection is set up to be further ensured that, the first equipment and the second equipment can also interact password to carry out
Password authentication, the process of the password authentication can be:Second equipment sends password authentication message (Packet to the first equipment
Authenticate Request), the first password (such as hello passwords) to be verified is carried in the password authentication message;The
After one equipment receives the first password, if detect that first password has been locally stored, the password to the second equipment is confirmed
It is proved to be successful, password authentication success message (Packet Authenticate Response) is sent to the second equipment, and at this
The second password (such as ok passwords) to be verified is carried in password authentication success message, the first equipment receives second password
Afterwards, second password has been locally stored if detected, has confirmed the password authentication success to the first equipment, and to the first equipment
Return to password and be proved to be successful message, the password authentication success message also can be by Packet Authenticate Request message
Carry.In addition, after the first equipment receives the password authentication success message of the second equipment, password authentication can be returned and confirm to disappear
Breath, to show that verification process terminates, the confirmation message can also be by Packet Authenticate Response message bearings.
Wherein, the first password and the second password can be respectively configured to the second equipment and the first equipment by server.
It should be noted that the present embodiment provide the first equipment (or second equipment) except provide data backup function it
Outward, when Transmission can also occur in data backup procedure, data backup is proceeded based on the progress backed up when interrupting;
It may, furthermore, provide data recovery function, and when there is Transmission in data recovery procedure, based on recovery when interrupting
Progress proceed data recovery.During specific implementation, corresponding function can be provided in the first equipment (or second equipment)
Option, or corresponding function choosing-item is provided on the function interface of intended application, enable a user to triggering corresponding
Flow.When user triggers certain flow by the first equipment, in order which flow that the second equipment is clearly currently triggered, the
After one equipment and the second equipment set up connection, (Backup Command are indicated to the second equipment transmission flow type
Request), the flow type is indicated for indicating data backup, continuing backup, data recovery, the one kind continued in recovery.The
Two equipment are received to be returned after the flow type is indicated and confirm response message (Backup Command Response).Subsequently,
Two equipment can also be indicated when ready to the first equipment transmitter ready, and the ready instruction can also be by
Backup Command Request message bearings, return confirms that response disappears after receiving the ready instruction by the first equipment
Breath (Backup Command Response).
202nd, to the first equipment sending data backup request, data backup requests are used to indicate mesh to be backed up the second equipment
Rotating savings is talked about.
Based on the connection that step 201 is set up, the second equipment can carry out data transmission with the first equipment, it is necessary to illustrate
It is that the data transfer in the step and subsequent step is all based on the connection, and explanation is no longer repeated this in subsequent step.
After it is determined that being successfully established with the first equipment and being connected, the second equipment enters data backup flow, such as, second sets
It is standby the session list of intended application, the session column to be included with display target session selection interface, the target session selection interface
Table includes multiple session options, and each session option includes session identification, head portrait and the choice box of session, and user can pass through
Choice box is clicked on to choose the target session for needing to back up.Wherein, the session due to there is no need to be recorded as message zero is carried out
Backup, therefore in order to improve the accuracy of data backup, session list can only include shown in target session selection interface
The session that Message Record is not zero, further, corresponds to each session, can also show the session comprising the big of Message Record
It is small, such as 5M etc..Additionally, in order to ensure that backup flow is carried out in order, the second equipment can also send data backup requests it
Before, send backup to the first equipment and start message (Backup Start Request), disappear returning to confirmation by the first equipment
After breath (Backup Start Response), data backup requests are retransmited, the data backup requests can be by Backup
Request Session message bearings.
Wherein, the number of target session can be one or more, and the present embodiment is not construed as limiting to this.When the inspection of the second equipment
Measure when confirming operation to the selection of target session, to the first equipment sending data backup request, the data backup requests can be with
Session identification including target session.Wherein, for one-to-one session, session identification can be the pet name, the account of session opposite end
Deng for cluster conversation, session identification can be group name etc..
In embodiments of the present invention, the Message Record of session refer to interacted between session local terminal and session opposite end word,
The data such as picture, voice and video.Every Message Record includes that the type of the generation time Message Record of the Message Record includes
Word message is recorded and media information record.Wherein, media information record is including picture, voice and video etc..Wherein, media disappear
Breath record includes respective media message in itself and its description information, and the description information is used to describe the message mark of respective media message
Knowledge, medium type, generation time, media information record size etc..
203rd, when the first equipment receives the data backup requests of the second equipment, obtain backup corresponding with target session and cut
Only time.
First equipment be stored with backup messages record backup by the corresponding relation between time and session identification.First
The corresponding relation that equipment can have been stored according to the inquiry of the session identification of target session, when the backup for obtaining target session ends
Between.For example, the corresponding relation can be as shown in table 1.
Table 1
Certainly, the storage address of session identification respective session can also be stored in the corresponding relation so that the first equipment can
Directly to determine the storage region of certain session by the corresponding relation.
204th, the first equipment sends to the second equipment the backup deadline of target session.
If target session includes multiple sessions, the first equipment correspondence each session return backup corresponding with the session
Deadline, the present embodiment is only introduced so that target session includes a session as an example.
It should be noted that the backup deadline of above-mentioned target session can respond (Backup by data backup
Request Session Response) carry, the embodiment of the present invention is not limited its specific bearing mode.
205th, the second equipment determines that target message is recorded according to the backup deadline of target session, target message record
For the Message Record that target session is produced after deadline is backed up.
In the present embodiment, the order arrangement of Message Record included by session according to generation time from after arriving first.Second sets
The standby backup deadline according to target session, the message note produced after the backup deadline is extracted from target session
Record.Specifically, the second equipment can be according to order of the generation time from after arriving first, by target session during the generation of Message Record
Between compare with the backup deadline, until get generation time be later than backup deadline first message note
Record, just the Message Record by first message record and its afterwards is defined as target message record.Certainly, the second equipment can also
According to generation time from rear to first order, the generation time of Message Record in target session is carried out with the backup deadline
Compare, until getting second Message Record of the generation time equal or earlier than the backup deadline, just this second disappears
Message Record after breath record is defined as target message record.
If it should be noted that the second equipment determines that target session does not produce new disappearing after the backup deadline
Breath record, it is determined that the target session does not have data to need backup, now, the second equipment can send to the first equipment and back up
Into message, to terminate the backup flow.If the number of target session is multiple, the second equipment determines that each target session is equal
New Message Record is not produced after respective backup deadline, backup completion message is sent to the first equipment, to terminate to be somebody's turn to do
Backup flow.Wherein, backup completion message can be by Backup Finish Request message bearings.If the second equipment is obtained
The target message record of target session is got, then sending target message to the first equipment records, and the process comprises the steps 206
To 208.
206th, order of second equipment according to the generation time of Message Record from after arriving first, the target message is recorded and is divided
It is at least one massage set.
In the present embodiment, in order to the more fine-grained Message Record to intended application is processed, answered rather than by target
Message Record regards an entirety as, with the breakpoint transmission in the incremental backup and backup procedure of realizing Message Record,
During data backup, Message Record to be backed up can be divided into one or more massage sets by the second equipment.
Wherein, for the different type of Message Record, massage set can include word message set and media information collection
Close.Wherein, word message set includes the description information of word message record and media information record, each description information
For indicating corresponding media information to record.Media information set includes that media information is recorded.
Specifically, order of second equipment according to generation time from after arriving first, by word Message Record in target message and
The description information of media information record is combined into word message set, and media information record is combined into media information set.Example
Such as, order of second equipment according to generation time from after arriving first obtains every Message Record in target message record, if should
Message Record is recorded for word message, then the word Message Record is added into word message set, if the Message Record is
Media information is recorded, then the description information that the media information is recorded is added into word message set, by media information record
It is added to media information set.
Wherein, for more fine-grained division massage set, can also be on the basis of chronologically-based, using as follows
Two ways divides massage set:
First way, massage set is divided based on default size.
Wherein, default size can in advance be configured or changed, and the present embodiment is not construed as limiting to this.Such as, this is preset
Size can be 80M so that can be divided to word message record in multiple word message set by the second equipment, and media are disappeared
Breath record is divided in multiple media information set.Specifically, according to the difference of Message Record type, the division of the massage set
It is divided into two kinds of situations again:
The first situation, when Message Record is recorded for word message, the word Message Record is being added to the word
Before massage set, by indicated by the word massage set and the word massage set media information record total size with should
Default size is compared, if the total size is less than the default size, the word Message Record is added into the word and is disappeared
In breath set;Otherwise, the word Message Record is added to a new word message set.
Second situation, when Message Record is recorded for media information, add by the description information that the media information is recorded
Before being added to the word massage set, by indicated by media information record, word message set and the word massage set
The total size of media information record is compared with default size, if the total size is less than the default size, by the media
The description information of Message Record is added in text massage set, and media information record is added into corresponding media information
In set;Otherwise, the description information that the media information is recorded is added to a new word message set, by the media information
Record is added to a new media information set.Additionally, the second equipment can also be using a media information record as one
Media information set, the present embodiment is not construed as limiting to this.
The second way, massage set is divided based on presetting message number.
The presetting message number can in advance be configured or changed, and the present embodiment is not construed as limiting to this.Such as, the present count
Mesh can be 2000, then according to the difference of Message Record type, the division of the massage set is divided into two kinds of situations again:
The first situation, when Message Record is recorded for word message, the word Message Record is added to word message
Before set, the second equipment detects whether the Message Record number included in the word massage set is less than the presetting message number
Mesh, if it is less, the word Message Record is added in the word massage set;Otherwise, the word Message Record is added
It is added in a new word message set.
Second situation, when Message Record is recorded for media information, then the description information that the media information is recorded is added
Before being added to word message set, the second equipment detects whether the Message Record number included in the word massage set is less than
The presetting message number, if it is less, the description information that the media information is recorded is added in the word massage set, will
Media information record is added in corresponding media information set;Otherwise, the description information addition for the media information being recorded
To in a new word message set, media information record is added in a new media information set.Additionally, the
Two equipment can also be using a media information record as a media information set, and the present embodiment is not construed as limiting to this.
It should be noted that in the case of two kinds of the second way, the description letter of media file in word message set
Breath also illustrates that a piece of news is recorded.
In the present embodiment, the second equipment can use file to be transmitted to massage set for carrier, so as to carry out data
Backup.Wherein, multiple massage sets can constitute a message file, such as, multiple word message collection can be combined into one
Multiple media information collection are combined into a media information file by individual word message file.
207th, for each massage set at least one massage set, the second equipment determines that the message of the massage set refers to
Show information, message configured information is used to indicate the generation time of the last item Message Record in the massage set.
For each massage set, according to the generation time of Message Record, the second equipment can be determined in the massage set
The generation time of the last item Message Record.
208th, the second equipment sends to the first equipment at least one massage set and its message configured information.
For each massage set, the second equipment sends to the first equipment the massage set, by the massage set
Message configured information send to the first equipment.Specifically, the second equipment can be according to Message Record generation time from after arriving first
Order, each massage set is packaged as multiple packets, by each packet (Packet Backup Data Push) according to
It is secondary to send to the first equipment.After be sent for the corresponding multiple packets of massage set by the second equipment, second sets
The standby message configured information (Packet Backup Data Tag) by the massage set is sent to the first equipment.Then, second
Equipment sends next massage set to the first equipment again.
Further, in order to ensure the reliability in data backup, the first equipment can also be to the second equipment feedback data
Bag receive successfully or reception failure message (Packet Backup Data Push Response).When the second equipment connects
After receiving the reception success message of the first equipment, it is further continued for sending next packet data to the first equipment.Further,
First equipment can also carry out data integrity validation to the massage set for receiving, and specifically, the message of massage set is indicated
Information can also include the summary info of massage set, and the first equipment verifies that massage set is according to the summary info of massage set
It is no to receive successfully.Such as, the summary info of massage set can be the message of all Message Records that the massage set includes
Mark, message identifier of first equipment in the summary info is verified to the Message Record having been received by, if connect
Receive the entire message record of summary info instruction, it is determined that the massage set is received successfully, and sends checking to the second equipment
Success message (Packet Backup Data Tag Response).Second equipment receives being proved to be successful for massage set and disappears
After breath, then next massage set is sent to the first equipment.When the corresponding massage set of target message record is sent,
Second equipment can send backup completion message (Backup Finish Request) to the first equipment, so that the first equipment is true
Surely backup flow terminates.
It should be noted that the media information record larger for some data volumes, it is likely that in the first equipment and second
It is stored in equipment, such as, and in the case of the identical account that the first equipment and the second equipment are logged in intended application, when
When receiving the video file of 600M size, video text can be received and stored in the first equipment and the second equipment
Part.Therefore, in order to avoid the larger media information record of the data volume that has been stored with to the first equipment carries out unnecessary backup, from
And improve data transfer validity and backup efficiency, the present embodiment is additionally provided to be tested the larger media information record of data volume
Card mechanism, the process may comprise steps of 108a to 108f:
Step 108a:For each massage set at least one massage set, the second equipment detects the massage set
In whether comprising specify Message Record.
The specified Message Record refers to the Message Record that size exceedes predetermined threshold value in the massage set.The predetermined threshold value can
To be pre-configured with or be changed, such as, the predetermined threshold value can be 500M, and the present embodiment is not construed as limiting to this.
Step 108b:If comprising Message Record is specified in massage set, the second equipment sends backup and tests to the first equipment
Card request (Packet SvrID Request), the backup checking request carries the message identifier for specifying Message Record.
Step 108c:After first equipment receives backup checking request, according to the message identifier of specified Message Record, judge
Whether be stored with the specified Message Record.
Step 108d:If not being stored with specified Message Record, the first equipment is not backed up instruction and disappears to the transmission of the second equipment
Breath, performs step 108e;The specified Message Record if the first equipment has been stored with, has backed up instruction and has disappeared to the transmission of the second equipment
Breath, performs step 108f.Wherein, it is not backed up message instruction and backup messages instruction can be by Packet Svr ID
Response message is carried.
Step 108e:If the second equipment is received to be not backed up indicating message, the specified message is sent to the first equipment
Record.
Step 108f:Specified Message Record is stored into default backup directory deposit corresponding with target session by the first equipment
Storage area domain, so as to complete the backup of the specified Message Record.
Wherein, the default backup directory is used to store the Message Record of session.When the first equipment is provided with intended application,
The default backup directory can be the default directory that the intended application stores Message Record.
In order to ensure the security of data, the second equipment retransmited after the Message Record for sending will be needed to be encrypted to
First equipment, such as, each packet to being sent to the first equipment is encrypted.Specifically, can be using the key specified
Data are encrypted.In order to further improve the security of data so that the application data of user cannot be by other users
Steal, the account of user can correspond to a unique key, and the key can be stepped on by user in the account using oneself
During record intended application, the key is obtained from server so that other users cannot get the key of the user, even if getting
Cannot also be decrypted after the encryption data of the user, so as to ensure that the security of the application data of the user.
209th, the first equipment will be received at least one massage set and the message configured information of each massage set
Storage region corresponding with target session is stored into default backup directory.
For each massage set for receiving, the first equipment is by message configured information, the target session of the massage set
Storage corresponding with the massage set, will the generation time of the last item Message Record of the massage set, target session and should
Massage set correspondence is stored, such as, the list item of the storage address of massage set is added in table 1, to set up the corresponding relation.Its
In, the message configured information and target session of the massage set can be stored as the index of the massage set.When using file come
When carrying multiple massage sets, the index of the massage set can also include storage skew of the massage set in message file
Position, such as, add the list item of the offset address of the storage address list item and massage set of message file in table 1, so that
Obtaining the first equipment can be accurately positioned each massage set.
If it should be noted that in there occurs data transfer due to reasons such as network interruptions during data backup
Disconnected, then after the backup of target session is interrupted, the first equipment and the second equipment can also continue to disappearing for backup target session
Breath record.The process of continuation backup can be triggered by user in the first equipment, it is also possible to be triggered in the second equipment by user, be had
Body can be divided into following three kinds of situations:
The first situation, user are triggered by the first equipment and continue to back up.
When the first equipment detects network connection to be recovered, the prompt message for carrying out continuing backup is displayed whether, if inspection
The trigger action for continuing to back up is measured, triggering the second breakpoint transmission instruction, the first equipment receives second breakpoint transmission instruction
When, sending the first breakpoint transmission to the second equipment and ask, target session during for indicating backup to interrupt is asked in the first breakpoint transmission
The backup break period, specifically, the backup break period refer to generation data-transmission interruptions when, it is last that the first equipment is received
The generation time of the last item Message Record in one massage set.Second equipment sets according to the backup break period to first
Preparation send the target message being not backed up of target session to record, such as, the second equipment is according to the backup break period from least one
Determine to be not backed up massage set in individual massage set, sending this to the first equipment is not backed up massage set, by the first equipment interconnection
The massage set for receiving storage corresponding with the target session.
Second situation, user are triggered by the second equipment and continue to back up.
When the second equipment detects network connection to be recovered, the prompt message for carrying out continuing backup is displayed whether, if inspection
The trigger action for continuing to back up is measured, triggering the first breakpoint transmission instruction, the second equipment receives first breakpoint transmission instruction
When, sending the second breakpoint transmission to the first equipment and ask, second breakpoint transmission is asked for indicating to carry out the target session
Breakpoint transmission.After first equipment receives second breakpoint transmission request, the backup break period of target session is determined, this is standby
Part break period returns to the second equipment.It is not standby that second equipment sends target session according to the backup break period, to the first equipment
The target message record of part, such as, the second equipment determines not standby according to the backup break period from least one massage set
Part massage set, sends this and is not backed up massage set to the first equipment, the massage set received by the first equipment interconnection and the mesh
Rotating savings words correspondence storage.
The third situation, user are triggered by the second equipment and continue to back up, target when the second equipment record has backup to interrupt
The backup break period of session.
When the second equipment detects network connection to be recovered, the prompt message for carrying out continuing backup is displayed whether, if inspection
The trigger action for continuing to back up is measured, triggering the first breakpoint transmission instruction, the second equipment receives first breakpoint transmission instruction
When, according to the backup break period of record, the target message record that target session is not backed up is sent to the first equipment, such as, the
Two equipment determine from least one massage set to be not backed up massage set according to the backup break period, are sent to the first equipment
This is not backed up massage set, the massage set storage corresponding with the target session received by the first equipment interconnection.
Compared to prior art, when there are data-transmission interruptions, whole backup flow still needs to start anew, and has been transmitted through
Data to be backed up be also required to transmit again again, the method that the present embodiment is provided, need to be according to when data cube computation is interrupted
Former backup flow continues to send the data for needing backup, and without the data that transmission had backed up, realizes data
Breakpoint transmission.
In the present embodiment, the Message Record that has been backed up in target session is distinguished using backup deadline and is not backed up
Message Record so that when being backed up to target session, it is only necessary to the Message Record that transmission is not backed up, and without transmission
The Message Record of backup, improves the efficiency of data backup.
It should be noted that above-mentioned steps 201 to 209 are only set the data backup of intended application to first with the second equipment
It is introduced as a example by standby data backup flow.In another embodiment, the target that will can also be backed up on the first device should
To the second equipment, the process of the data recovery can be regarded as the inverse process of above-mentioned data backup, such as Fig. 3 A to data recovery
Shown, the data recovery procedure may comprise steps of 301 to 309:
301st, the second equipment obtains the facility information of the first equipment, is set up with the first equipment according to the facility information and is connected.
The process of foundation connection with the process that is connected is set up in step 201 similarly, therefore not to repeat here.When the first equipment
When being terminal with the second equipment, the connected mode based on step 201, a kind of data recoveries of Fig. 3 B shown in the present embodiment
Flow chart, in figure 3b when the first equipment detects the trigger action of data recovery option, sends to server and recovers flow
Message is initiated, the backup flow initiates message and carries the facility information of the first equipment and log in the first account of intended application.
Accordingly, the first equipment and the second equipment can also carry out password authentication during setting up connection, and the password is tested
With step 201 similarly, the password authentication message and password authentication success message of the second equipment can also be by Packet for the process of card
Authenticate Request message is carried, and the password authentication success message and password authentication that the first equipment is returned confirm to disappear
Breath can be by Packet Authenticate Response message bearings.
Accordingly, can be with interaction flow type between the first equipment and the second equipment, flow in the process and step 201
The process of type interaction is similarly.Wherein, the flow type of the first equipment is indicated and the ready instruction of the second equipment can be by
Backup Command Request message bearings, the confirmation response of confirmation response message and the first equipment that the second equipment is returned
Message can be by Backup Command Response message bearings.Additionally, the first equipment can also send extensive to the second equipment
Start message (Backup Start Request) again, message (Backup Start confirming are returned by the second equipment
Response)。
302nd, the first equipment is to the second equipment sending data recovery request, and the data recovery request is to be restored for indicating
Target session.
With step 202 similarly, therefore not to repeat here for the step.The data recovery request can be by Backup Request
Session message bearings.
303rd, when the second equipment receives data recovery request, determine the recovery initial time of target session, this is recovered
Initial time is sent to the first equipment.
The recovery initial time can be first generation time of Message Record in target session.It should be noted that
The recovery initial time of above-mentioned target session can respond (Backup Request Session Response) by data recovery
Carry, the embodiment of the present invention is not limited its specific bearing mode.
304th, the first equipment is according to the recovery initial time for receiving, from least one message set of the target session of backup
In conjunction, target message set is determined, the target message set refers to the generation time of the last item Message Record earlier than the recovery
The massage set of initial time.
305th, the first equipment sends to the second equipment target message set.
For each target message set, target message set can be sequentially in time packaged into multiple by the first equipment
Packet, each packet (Packet Backup Data Push) is sent to the second equipment successively.For each data
Bag, the second equipment can return packet receive successfully or reception failure message (Packet Backup Data
Push Response).After a massage set has been sent, the first equipment sends the message of the massage set to the second equipment
Configured information (Packet Backup Data Tag).When the massage set indicates to include the summary info of massage set,
Second equipment can also carry out integrity verification to the massage set, if be proved to be successful, return is proved to be successful message
(Packet Backup Data Tag Response), is received after this is proved to be successful message by the first equipment, is sent next
Massage set.
In addition, during massage set is sent, the first equipment can also be to the specified Message Record of larger data amount
Detected, if detecting specified Message Record of the size more than predetermined threshold value, sending recovery checking to the second equipment please
(Packet SvrID Request) is asked, after being verified to the Message Record being locally stored by the second equipment, return does not recover message
Indicate or recovered message instruction.This does not recover message instruction and has recovered message instruction can be by Packet Svr ID
Response message is carried.
When the first equipment be sent recovery in need data after, to the second equipment send recover completion message
(Backup Finish Request)。
306th, the target message set that the second equipment will be received stores storage region corresponding to target session.
It should be noted that the flexibility in order to improve data recovery, 207 the step of backup procedure in, massage set
Message configured information be additionally operable to indicate the massage set in first generation time of Message Record.That is to say, message is indicated
Information be used for indicate massage set comprising the time range corresponding to Message Record.Correspondingly, the first equipment in step 209
By the storage corresponding with the massage set of the message configured information of massage set, target session, as by massage set it is corresponding when
Between the storage corresponding with massage set of scope, target session.Now, the index of massage set is the massage set corresponding time
Scope and target session.In the case where message configured information includes first generation time of Message Record, user is first
During equipment trigger data recovers flow, the target session object time to be restored can be chosen at data recovery interface
Section.Then after step 301, the flow of the data recovery can also be:
When the data recovery that the first equipment detects target session is instructed, according to the target carried in data recovery instruction
Time period and the message configured information of the massage set of target session at least one, from least one target message set really
Set the goal massage set.The target message set refers to that the corresponding time range of Message Record falls into disappearing in the target time section
Breath set.Afterwards, the first equipment sends to the second equipment target message set.Wherein, when by the first equipment trigger data
When recovering flow, the clicking operation triggering of the data recovery option that data recovery instruction can be provided the first equipment by user;
When flow is recovered by the second equipment trigger data, data recovery instruction can be sent to the first equipment by the second equipment.
If it should be noted that data recovery procedure is interrupted, it is also possible to realize the breakpoint transmission of data recovery, should
The process for carrying out breakpoint transmission when backing up and interrupt in process and above-mentioned steps 209 similarly, will not be described here.
In the present embodiment, by data recovery procedure, determining the message for needing to recover using initial time is recovered
Set so that when data recovery is carried out to target session, it is only necessary to the Message Record not stored in transmission objectives equipment, and
Without the Message Record stored in transmission objectives equipment, the efficiency of data recovery is improve.
Fig. 4 is a kind of block diagram of data backup device provided in an embodiment of the present invention.Reference picture 4, the device includes first
Sending module 401, receiver module 402, the sending module 404 of determining module 403 and second.
Wherein, the first sending module 401 is connected with receiver module 402, for the first equipment sending data backup request,
The data backup requests are used to indicate target session to be backed up;Receiver module 402 is connected with determining module 403, for receiving
The backup deadline of the target session that first equipment is returned, the backup deadline is used to indicate first equipment to store
There is entire message of the target session before the backup deadline to record;Determining module 403 connects with the second sending module 404
Connect, for determining that target message is recorded according to the backup deadline, the target message is recorded as the target session in the backup
The Message Record produced after deadline;Second sending module 404, remembers for sending the target message to first equipment
Record, first equipment is used to back up the Message Record of session.
In a kind of possible implementation, second sending module 404 be used for according to Message Record generation time from
Order after arriving first, at least one massage set is divided into by target message record;For at least one massage set
Each massage set, determines the message configured information of the massage set, during the message configured information is used to indicate the massage set
The generation time of the last item Message Record;At least one massage set and its message configured information are sent to this and first is set
It is standby.
In a kind of possible implementation, second sending module 404 is used for at least one massage set
Each massage set, detects that whether the specified Message Record refers to that size exceedes comprising Message Record is specified in the massage set
The Message Record of predetermined threshold value;If including the specified Message Record in the massage set, sent to first equipment and backed up
Checking request, the backup checking request carries the message identifier of the specified Message Record, and first equipment is used to refer to according to this
Determine Message Record message identifier determine do not store the specified Message Record after, return be not backed up indicate message;If received
This is not backed up indicating message, and the specified Message Record is sent to first equipment.
In a kind of possible implementation, the message configured information is additionally operable to indicate the summary info of the massage set,
Second sending module 404 is additionally operable to for each massage set at least one massage set, and the massage set is sent
To first equipment;The message configured information of the massage set is sent to first equipment, first equipment is used in basis
After the summary info is received successfully to massage set checking, return and receive success message;When receiving connecing for the massage set
When receiving success message, next massage set is sent to first equipment.
In a kind of possible implementation, the message configured information is additionally operable to indicate a piece of news in the massage set
The generation time of record.
In a kind of possible implementation, the receiver module is additionally operable to after the backup of the target session is interrupted,
The first breakpoint transmission request of first equipment is received, first breakpoint transmission is asked in the backup for indicating the target session
The disconnected time;Second sending module is additionally operable to, based on the backup break period, the target session be sent not to first equipment
Backup target Message Record;Or, the first sending module is additionally operable to after the backup of the target session is interrupted, if received
When first breakpoint transmission is instructed, send the second breakpoint transmission to first equipment and ask, second breakpoint transmission is asked for referring to
Show carries out breakpoint transmission to the target session;Second sending module is additionally operable to the target session returned based on first equipment
The backup break period, to first equipment send the target session be not backed up target message record;Or, the second transmission mould
Block is additionally operable to after the backup of the target session is interrupted, if receive the first breakpoint transmission instruction, determines the target
The target message that is not backed up of session is recorded, and sending this to first equipment is not backed up target message record.
In a kind of possible implementation, the device also includes:
Acquisition module, the facility information for obtaining first equipment;
Link block, is connected for being set up with first equipment according to the facility information.
In a kind of possible implementation, acquisition module is used to be obtained from server the facility information of the first equipment;Or,
By scanning Quick Response Code, the facility information of the first equipment is obtained, Quick Response Code is used to indicate the facility information of the first equipment;Or, connecing
The facility information broadcast message of the first equipment is received, the facility information of the first equipment is extracted in slave unit information broadcast message.
In a kind of possible implementation, facility information includes the IP address of the first equipment, and link block is used for basis
The IP address of the first equipment, to the first equipment sending data connection request, if the first equipment please for receiving data cube computation
Ask, then return to response message;If receiving response message, set up in LAN with the first equipment and be connected.
In a kind of possible implementation, the acquisition module is additionally operable to obtain the first account logged in first equipment
Number;If first account is consistent with the second account of local log-on, performs and built with first equipment according to the facility information
The step of vertical connection.
In a kind of possible implementation, the data interacted with first equipment are encryption data.
Fig. 5 is a kind of block diagram of data backup device provided in an embodiment of the present invention.Reference picture 5, the device includes obtaining
Module 501, sending module 502 and memory module 503.
Wherein, acquisition module 501 is connected with sending module 502, for when the data backup requests of second equipment that receives
When, backup deadline corresponding with target session is obtained, the data backup requests are used to indicate target session to be backed up;Hair
Module 502 is sent to be connected with memory module 503, for the backup deadline of the target session to be sent to second equipment, should
Second equipment is used to send target message record to the first equipment, and the target message is recorded as the target session to be ended in the backup
The Message Record produced after time;Memory module 503, for when target message record is received, by the target message
In record storage to the Message Record of the target session.
In a kind of possible implementation, the memory module 503 is used at least one message set of second equipment
Close and the message configured information of each massage set stores into default backup directory memory block corresponding with the target session
Domain, the default backup directory is used to store the Message Record of session, and the message configured information of each massage set is used to indicate
The generation time of the last item Message Record in the massage set.
In a kind of possible implementation, the message configured information of each massage set is additionally operable to indicate the message set
The summary info of conjunction, the device also includes:
Authentication module, for for each massage set, the summary info according to the massage set to verify the message set
Whether conjunction receives successfully;
If the sending module is additionally operable to the result to receive successfully, is received to second equipment transmission and successfully disappeared
Breath.
In a kind of possible implementation, the message configured information of each massage set is additionally operable to indicate the message set
First generation time of Message Record in conjunction, the device also includes:
Determining module, for when detect the target session data recovery instruct when, according to target time section and this extremely
A few message configured information for massage set, determines target message set from least one massage set, and the data are extensive
Multiple instruction carries target time section to be restored, and the target message set refers to first generation time of Message Record and last
The massage set that the generation time of a piece of news record is fallen into the target time section;
The sending module is additionally operable to send the target message set to first equipment.
In a kind of possible implementation, the device also includes:
Judge module, if for receiving backup checking request, according to the message identifier for specifying Message Record, judged
Whether the specified Message Record, the backup checking request carries the message identifier of the specified Message Record if being stored with;
If the sending module is additionally operable to the specified Message Record that is not stored with, is sent to second equipment and be not backed up referring to
Show message;If being stored with the specified Message Record, sent to second equipment and backed up instruction message, this specified and is disappeared
Storage region corresponding with the target session in breath record storage to default backup directory, the default backup directory is used to store meeting
The Message Record of words.
In a kind of possible implementation, sending module is additionally operable to after the backup of target session is interrupted, if
The second breakpoint transmission instruction is received, sending the first breakpoint transmission to the second equipment is asked, and the first breakpoint transmission is asked for referring to
Show the backup break period of target session;The target message that is not backed up that memory module is additionally operable to the target session to receiving is recorded
Stored;Or, sending module is additionally operable to after the backup of target session is interrupted, if receiving the second of target session
Breakpoint transmission is asked, then the backup break period of target session is sent to the second equipment;Memory module is additionally operable to receiving
The target message record that is not backed up of target session is stored;Or, memory module is additionally operable in the backup of target session occurs
Have no progeny, the Message Record that is not backed up of the target session to receiving is stored.
It should be noted that:Above-described embodiment provide data backup device in Backup Data, only with above-mentioned each function
The division of module is carried out for example, in practical application, as needed can distribute by different function moulds above-mentioned functions
Block is completed, will the internal structure of equipment be divided into different functional modules, to complete all or part of work(described above
Energy.In addition, the data backup device that above-described embodiment is provided belongs to same design with data back up method embodiment, its specific reality
Existing process refers to embodiment of the method, repeats no more here.
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention, and it is above-mentioned each that the terminal can be used for execution
The data back up method provided in individual embodiment.Referring to Fig. 6, the terminal 600 includes:
Terminal 600 can include RF (Radio Frequency, radio frequency) circuit 110, include one or more meters
The memory 120 of calculation machine readable storage medium storing program for executing, input block 130, display unit 140, sensor 150, voicefrequency circuit 160,
WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include one or the treatment of more than one processing core
The part such as device 180 and power supply 190.It will be understood by those skilled in the art that the terminal structure shown in Fig. 6 do not constitute it is right
The restriction of terminal, can include part more more or less than diagram, or combine some parts, or different part cloth
Put.Wherein:
RF circuits 110 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, transfer to one or more than one processor 180 is processed;In addition, will be related to up data is activation to
Base station.Generally, RF circuits 110 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex
Device etc..Additionally, RF circuits 110 can also be communicated by radio communication with network and other equipment.The radio communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short
Messaging Service, Short Message Service) etc..
Memory 120 can be used to store software program and module, and processor 180 is by running storage in memory 120
Software program and module, so as to perform various function application and data processing.Memory 120 can mainly include storage journey
Sequence area and storage data field, wherein, the application program (ratio that storing program area can be needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data field can be stored and use created number according to terminal 600
According to (such as voice data, phone directory etc.) etc..Additionally, memory 120 can include high-speed random access memory, can also wrap
Include nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.
Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input block 130 to memory
120 access.
Input block 130 can be used to receive the numeral or character information of input, and generation is set and function with user
The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.Specifically, input block 130 may include to touch
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, can collect use
Family thereon or neighbouring touch operation (such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table
Operation on face 131 or near Touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional
, Touch sensitive surface 131 may include two parts of touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection means, and is converted into contact coordinate, then give processor 180, and can receiving processor 180
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used to showing by user input information or be supplied to the information and terminal 600 of user
Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.
Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal
Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel
141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 is detected thereon or neighbouring is touched
After touching operation, processor 180 is sent to determine the type of touch event, with preprocessor 180 according to the type of touch event
Corresponding visual output is provided on display panel 141.Although in figure 6, Touch sensitive surface 131 and display panel 141 are conducts
Two independent parts come realize input and input function, but in some embodiments it is possible to by Touch sensitive surface 131 with display
Panel 141 is integrated and realization is input into and output function.
Terminal 600 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings
Device.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 141, and proximity transducer can close display when terminal 600 is moved in one's ear
Panel 141 and/or backlight.As one kind of motion sensor, in the detectable all directions of Gravity accelerometer (generally
Three axles) acceleration size, size and the direction of gravity are can detect that when static, can be used for recognize mobile phone attitude application (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely
The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that be can also configure in terminal 600, herein
Repeat no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the COBBAIF between user and terminal 600.Audio
Electric signal after the voice data conversion that circuit 160 will can be received, is transferred to loudspeaker 161, and sound is converted to by loudspeaker 161
Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160
Voice data is converted to, then after voice data output processor 180 is processed, through RF circuits 110 being sent to such as another end
End, or voice data is exported to memory 120 so as to further treatment.Voicefrequency circuit 160 is also possible that earphone jack,
To provide the communication of peripheral hardware earphone and terminal 600.
WiFi belongs to short range wireless transmission technology, and terminal 600 can help user's transceiver electronicses by WiFi module 170
Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows
WiFi module 170, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 600, can exist as needed completely
Do not change in the essential scope of invention and omit.
Processor 180 is the control centre of terminal 600, using various interfaces and each portion of connection whole mobile phone
Point, by running or performing software program and/or module of the storage in memory 120, and storage is called in memory 120
Interior data, perform the various functions and processing data of terminal 600, so as to carry out integral monitoring to mobile phone.Optionally, processor
180 may include one or more processing cores;Preferably, processor 180 can integrated application processor and modem processor,
Wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes nothing
Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 600 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can be by electricity
Management system is logically contiguous with processor 180, so as to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.Power supply 190 can also include one or more direct current or AC power, recharging system, power supply event
The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal 600 can also will not be repeated here including camera, bluetooth module etc..Specifically in this reality
In applying example, the display unit of terminal is touch-screen display, and terminal also includes memory, and one or more than one
Program, one of them or more than one program storage is configured to by one or more than one treatment in memory
Device is performed.One or more than one program bag contains executable instruction, and terminal 600 is configured as execute instruction, to perform
Method in above-mentioned income prompting method embodiment performed by terminal.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory of instruction, above-mentioned instruction can be by the computing device in terminal completing data backup side in above-described embodiment
Method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
Fig. 7 is a kind of block diagram of data backup device provided in an embodiment of the present invention.For example, device 700 can be provided
It is a server.Reference picture 7, device 700 includes processing assembly 722, and it further includes one or more processors, Yi Jiyou
Memory resource representated by memory 732, can be by the instruction of the execution of processing component 722, such as application program for storing.
The application program stored in memory 732 can include it is one or more each correspond to the module of one group of instruction.
Additionally, processing assembly 722 is configured as execute instruction, to perform in above-mentioned data back up method embodiment performed by server
Method.
Device 700 can also include that a power supply module 726 is configured as the power management of performs device 700, and one has
Line or radio network interface 750 are configured as device 700 being connected to network, and input and output (I/O) interface 758.Dress
Putting 700 can operate based on the operating system stored in memory 732, such as Windows ServerTM, Mac OS XTM,
UnixTM,LinuxTM, FreeBSDTMOr it is similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory of instruction, above-mentioned instruction can be standby to complete the data in above-described embodiment by the computing device in server
Part method.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-
ROM, tape, floppy disk and optical data storage devices etc..
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (32)
1. a kind of data back up method, it is characterised in that methods described includes:
To the first equipment sending data backup request, the data backup requests are used to indicate target session to be backed up;
The backup deadline of the target session that first equipment is returned is received, the backup deadline is used to indicate
First equipment is stored with the target session in the entire message record backed up before deadline;
Determine that target message is recorded according to the backup deadline, the target message is recorded as the target session described
The Message Record produced after backup deadline;
The target message is sent to first equipment to record, first equipment carries out standby for the Message Record to session
Part.
2. method according to claim 1, it is characterised in that described to send target message record bag to first equipment
Include:
According to order of the generation time of Message Record from after arriving first, target message record is divided at least one message
Set;
For each massage set at least one massage set, the message configured information of the massage set, institute are determined
Message configured information is stated for indicating the generation time of the last item Message Record in the massage set;
At least one massage set and its message configured information are sent to first equipment.
3. method according to claim 2, it is characterised in that described to refer at least one massage set and its message
Showing that information is sent to first equipment includes:
For each massage set at least one massage set, whether comprising specified message in the detection massage set
Record, the specified Message Record refers to the Message Record that size exceedes predetermined threshold value;
If including the specified Message Record in the massage set, backup checking request is sent to first equipment,
The backup checking request carries the message identifier of the specified Message Record, and first equipment is used to be specified according to described
After the message identifier of Message Record determines not storing the specified Message Record, return is not backed up indicating message;
If being not backed up indicating message described in receiving, the specified Message Record is sent to first equipment.
4. method according to claim 2, it is characterised in that the message configured information is additionally operable to indicate the message set
The summary info of conjunction, it is described to send to the first equipment bag at least one massage set and its message configured information
Include:
For each massage set at least one massage set, the massage set is sent to first equipment;
The message configured information of the massage set is sent to first equipment, first equipment is used for according to described
After summary info is received successfully to massage set checking, return and receive success message;
When the reception success message of the massage set is received, next massage set is sent to first equipment.
5. method according to claim 1, it is characterised in that methods described also includes:
After the backup of the target session is interrupted, the first breakpoint transmission request of first equipment is received, described the
The backup break period for indicating the target session is asked in one breakpoint transmission;Based on the backup break period, to described
The target message that is not backed up that first equipment sends the target session is recorded;Or,
After the backup of the target session is interrupted, if receive the first breakpoint transmission instruction, set to described first
Preparation send the second breakpoint transmission to ask, and second breakpoint transmission asks to continue for indicating to carry out the target session breakpoint
Pass;The backup break period of the target session returned based on first equipment, the mesh is sent to first equipment
The target message that is not backed up of rotating savings words is recorded;Or,
After the backup of the target session is interrupted, if receive the first breakpoint transmission instruction, the target is determined
The target message that is not backed up of session is recorded, and is recorded to target message is not backed up described in first equipment transmission.
6. method according to claim 1, it is characterised in that it is described to the first equipment sending data backup request before,
Methods described also includes:
Obtain the facility information of first equipment;
Set up with first equipment according to the facility information and be connected.
7. method according to claim 1, it is characterised in that the facility information of acquisition first equipment includes:
The facility information of first equipment is obtained from server;Or,
By scanning Quick Response Code, the facility information of first equipment is obtained, the Quick Response Code is used to indicate first equipment
Facility information;Or,
The facility information broadcast message of first equipment is received, extracting described first from facility information broadcast message sets
Standby facility information.
8. method according to claim 7, it is characterised in that the facility information includes the IP ground of first equipment
Location, it is described set up according to the facility information and first equipment be connected including:
According to the IP address of first equipment, to the first equipment sending data connection request, first equipment is used for
If receiving the data connection request, response message is returned;
If receiving the response message, set up in LAN with first equipment and be connected.
9. method according to claim 7, it is characterised in that described to be built with first equipment according to the facility information
Before vertical connection, methods described also includes:
Obtain the first account logged in first equipment;
If first account is consistent with the second account of local log-on, perform according to the facility information and described first
The step of equipment sets up connection.
10. the method according to any one of claim 1 to 9, it is characterised in that the data interacted with first equipment are
Encryption data.
11. a kind of data back up method, it is characterised in that methods described includes:
When the data backup requests of the second equipment are received, backup deadline corresponding with target session, the number are obtained
It is used to indicate target session to be backed up according to backup request;
The backup deadline of the target session is sent to second equipment, second equipment is used for the first equipment
Send target message record, the target message be recorded as the target session it is described backup deadline after produce disappear
Breath record;
When the target message record is received, by the Message Record of the target message record storage to the target session
In.
12. methods according to claim 11, it is characterised in that described by the target message record storage to the mesh
The Message Record of rotating savings words includes:
The message configured information of at least one massage set of second equipment and each massage set is stored to default
Storage region corresponding with the target session in backup directory, the default backup directory is used to store the message note of session
Record, the message configured information of each massage set is used to indicate the generation of the last item Message Record in the massage set
Time.
13. methods according to claim 12, it is characterised in that the message configured information of each massage set is also used
In the summary info for indicating the massage set, methods described also includes:
For described each massage set, the summary info according to the massage set verifies whether the massage set receives into
Work(;
If the result sends to second equipment and receives success message to receive successfully.
14. methods according to claim 12, it is characterised in that the message configured information of each massage set is also used
First generation time of Message Record in the massage set is indicated, methods described also includes:
When the data recovery for detecting the target session is instructed, according to target time section and at least one massage set
Message configured information, target message set is determined from least one massage set, data recovery instruction is carried
Target time section to be restored, the target message set refers to first generation time and the last item message of Message Record
The massage set that the generation time of record is fallen into the target time section;
The target message set is sent to first equipment.
15. methods according to claim 11, it is characterised in that methods described also includes:
After the backup of the target session is interrupted, if receiving the second breakpoint transmission instruction, to second equipment
The first breakpoint transmission request is sent, the backup break period for indicating the target session is asked in first breakpoint transmission;
The target message record that is not backed up of the target session to receiving is stored;Or,
After the backup of the target session is interrupted, if receiving the second breakpoint transmission request of the target session,
The backup break period of the target session is then sent to second equipment;To being not backed up for the target session that receives
Target message record is stored;Or,
After the backup of the target session is interrupted, the Message Record that is not backed up of the target session to receiving is carried out
Storage.
16. methods according to claim 11, it is characterised in that methods described also includes:
If receiving backup checking request, according to the message identifier for specifying Message Record, judge whether to be stored with described
Message Record is specified, the backup checking request carries the message identifier of the specified Message Record;
If not being stored with the specified Message Record, sent to second equipment and be not backed up indicating message;
If being stored with the specified Message Record, sent to second equipment and backed up instruction message, by the finger
Determine Message Record and store into default backup directory storage region corresponding with the target session, the default backup directory is used
In the Message Record of storage session.
17. a kind of data backup devices, it is characterised in that described device includes:
First sending module, for the first equipment sending data backup request, the data backup requests to treat standby for instruction
The target session of part;
Receiver module, the backup deadline for receiving the target session that first equipment is returned, the backup cuts
Only the time is for indicating first equipment to be stored with the target session in the entire message backed up before deadline
Record;
Determining module, for determining that target message is recorded according to the backup deadline, the target message is recorded as described
The Message Record that target session is produced after the backup deadline;
Second sending module, records for sending the target message to first equipment, and first equipment is used for meeting
The Message Record of words is backed up.
18. devices according to claim 17, it is characterised in that second sending module is used for according to Message Record
Order of the generation time from after arriving first, at least one massage set is divided into by target message record;For it is described at least
Each massage set in one massage set, determines the message configured information of the massage set, and the message configured information is used
The generation time of the last item Message Record in the massage set is indicated;By at least one massage set and its message
Configured information is sent to first equipment.
19. devices according to claim 18, it is characterised in that second sending module is used for for described at least one
Each massage set in individual massage set, whether comprising specified Message Record, the specified message in the detection massage set
Record refers to the Message Record that size exceedes predetermined threshold value;If including the specified Message Record in the massage set,
Backup checking request is sent to first equipment, the backup checking request carries the message mark of the specified Message Record
Know, first equipment is used to determined not storing the specified Message Record according to the message identifier of the specified Message Record
Afterwards, return and be not backed up indicating message;If being not backed up indicating message described in receiving, described specifying is sent to first equipment
Message Record.
20. devices according to claim 18, it is characterised in that the message configured information is additionally operable to indicate the message
The summary info of set, second sending module is additionally operable to for each massage set at least one massage set,
The massage set is sent to first equipment;The message configured information of the massage set is sent to described first and is set
Standby, first equipment is used for after being received successfully to massage set checking according to the summary info, and return is received into
Work(message;When the reception success message of the massage set is received, next massage set is sent to first equipment.
21. devices according to claim 17, it is characterised in that
The receiver module is additionally operable to after the backup of the target session is interrupted, and receive first equipment first is broken
Point resumes request, and the backup break period for indicating the target session is asked in first breakpoint transmission;Second hair
Module is sent to be additionally operable to based on the backup break period, the target that is not backed up for sending the target session to first equipment disappears
Breath record;Or,
First sending module is additionally operable to after the backup of the target session is interrupted, if receive the first breakpoint continued
During teletype command, send the second breakpoint transmission to first equipment and ask, second breakpoint transmission is asked for indicating to institute
Stating target session carries out breakpoint transmission;Second sending module is additionally operable to the target meeting returned based on first equipment
The backup break period of words, the target message that is not backed up for sending the target session to first equipment is recorded;Or,
Second sending module is additionally operable to after the backup of the target session is interrupted, if receive the first breakpoint continued
During teletype command, determine the target session is not backed up target message record, and mesh is not backed up to described in first equipment transmission
Mark Message Record.
22. devices according to claim 17, it is characterised in that described device also includes:
Acquisition module, the facility information for obtaining first equipment;
Link block, is connected for being set up with first equipment according to the facility information.
23. devices according to claim 22, it is characterised in that the acquisition module is used to obtain described the from server
The facility information of one equipment;Or, by scanning Quick Response Code, obtaining the facility information of first equipment, the Quick Response Code is used for
Indicate the facility information of first equipment;Or, the facility information broadcast message of first equipment is received, from equipment letter
The facility information of first equipment is extracted in breath broadcast message.
24. devices according to claim 22, it is characterised in that the facility information includes the IP ground of first equipment
Location, the link block is used for the IP address according to first equipment, to the first equipment sending data connection request, institute
If stating the first equipment for receiving the data connection request, response message is returned;If receiving the response to disappear
Breath, then set up in LAN with first equipment and be connected.
25. devices according to claim 22, it is characterised in that the acquisition module is additionally operable to obtain first equipment
First account of upper login;If first account is consistent with the second account of local log-on, perform according to the equipment
Information sets up the step of being connected with first equipment.
26. device according to any one of claim 17 to 25, it is characterised in that the data interacted with first equipment
It is encryption data.
27. a kind of data backup devices, it is characterised in that described device includes:
Acquisition module, cuts for when the data backup requests of the second equipment are received, obtaining backup corresponding with target session
Only the time, the data backup requests are for indicating target session to be backed up;
Sending module, for the backup deadline of the target session to be sent to second equipment, second equipment
Recorded for sending target message to the first equipment, the target message is recorded as the target session in the backup cut-off
Between after produce Message Record;
Memory module, for when the target message record is received, by the target message record storage to the target
In the Message Record of session.
28. devices according to claim 27, it is characterised in that the memory module is used for second equipment extremely
The message configured information of a few massage set and each massage set is stored into default backup directory and the target meeting
Talk about corresponding storage region, the default backup directory is used to store the Message Record of session, each massage set disappears
Breath configured information is used to indicate the generation time of the last item Message Record in the massage set.
29. devices according to claim 28, it is characterised in that the message configured information of each massage set is also used
In the summary info for indicating the massage set, described device also includes:
Authentication module, for for described each massage set, the summary info according to the massage set to verify the message
Whether set receives successfully;
If the sending module is additionally operable to the result to receive successfully, is received to second equipment transmission and successfully disappeared
Breath.
30. devices according to claim 28, it is characterised in that the message configured information of each massage set is also used
First generation time of Message Record in the massage set is indicated, described device also includes:
Determining module, for when detect the target session data recovery instruct when, according to target time section and it is described extremely
A few message configured information for massage set, determines target message set, the number from least one massage set
Target time section to be restored is carried according to instruction is recovered, the target message set refers to first generation time of Message Record
The massage set fallen into the target time section with the generation time of the last item Message Record;
The sending module is additionally operable to send the target message set to first equipment.
31. devices according to claim 27, it is characterised in that
The sending module is additionally operable to after the backup of the target session is interrupted, if receive the second breakpoint transmission referred to
Order, sends the first breakpoint transmission and asks to second equipment, and first breakpoint transmission is asked for indicating the target meeting
The backup break period of words;The target message that is not backed up that the memory module is additionally operable to the target session to receiving is recorded
Stored;Or,
The sending module is additionally operable to after the backup of the target session is interrupted, if receiving the target session
Second breakpoint transmission is asked, then the backup break period of the target session is sent to second equipment;The memory module
The target message record that is not backed up for being additionally operable to the target session to receiving is stored;Or,
The memory module is additionally operable to after the backup of the target session is interrupted, to the target session that receives
Message Record is not backed up to be stored.
32. devices according to claim 27, it is characterised in that described device also includes:
Judge module, if for receiving backup checking request, according to the message identifier for specifying Message Record, judged whether
Be stored with the specified Message Record, and the backup checking request carries the message identifier of the specified Message Record;
If the sending module is additionally operable to the specified Message Record that is not stored with, is sent to second equipment and be not backed up
Indicate message;If being stored with the specified Message Record, sent to second equipment and backed up instruction message, by institute
State specified Message Record and store into default backup directory storage region corresponding with the target session, the default backup mesh
Employ in the Message Record of storage session.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611055670.9A CN106776124B (en) | 2016-11-25 | 2016-11-25 | Data backup method and device |
PCT/CN2017/107471 WO2018095175A1 (en) | 2016-11-25 | 2017-10-24 | Communication message synchronization method, data backup method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611055670.9A CN106776124B (en) | 2016-11-25 | 2016-11-25 | Data backup method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776124A true CN106776124A (en) | 2017-05-31 |
CN106776124B CN106776124B (en) | 2020-05-12 |
Family
ID=58913088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611055670.9A Active CN106776124B (en) | 2016-11-25 | 2016-11-25 | Data backup method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776124B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018095175A1 (en) * | 2016-11-25 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Communication message synchronization method, data backup method, device and storage medium |
CN109684132A (en) * | 2018-12-20 | 2019-04-26 | 努比亚技术有限公司 | A kind of data back up method of mobile terminal, mobile terminal and storage medium |
CN111090547A (en) * | 2019-12-24 | 2020-05-01 | 浙江大华技术股份有限公司 | Data backup processing method and device |
CN111385332A (en) * | 2018-12-29 | 2020-07-07 | 顺丰科技有限公司 | Internet of things equipment, Internet of things platform access method and equipment |
CN112417437A (en) * | 2020-10-28 | 2021-02-26 | 北京八分量信息科技有限公司 | Trusted cloud platform based program white list generation method |
CN112702427A (en) * | 2020-12-23 | 2021-04-23 | 武汉湖江科技有限公司 | Industrial internet data synchronization system |
CN113726874A (en) * | 2021-08-27 | 2021-11-30 | 杭州迪普科技股份有限公司 | Backup method of session table, host device and dual-computer hot standby system |
CN114666175A (en) * | 2022-03-09 | 2022-06-24 | 北京达佳互联信息技术有限公司 | Message processing method and device, electronic equipment and storage medium |
CN114845290A (en) * | 2022-06-30 | 2022-08-02 | 荣耀终端有限公司 | Data migration method, electronic device and computer-readable storage medium |
CN116723203A (en) * | 2022-10-10 | 2023-09-08 | 荣耀终端有限公司 | Data backup method, data recovery method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047520A (en) * | 2006-03-28 | 2007-10-03 | 腾讯科技(深圳)有限公司 | Message recording merging method and user terminal |
CN103139259A (en) * | 2011-11-30 | 2013-06-05 | 百度在线网络技术(北京)有限公司 | Method and server of achieving low-flux synchronous message logging |
US20150074458A1 (en) * | 2004-06-01 | 2015-03-12 | Inmage Systems, Inc. | Systems and Methods of Event Driven Recovery Management |
US20160306706A1 (en) * | 2014-11-10 | 2016-10-20 | Commvault Systems, Inc. | Cross-platform virtual machine backup and replication |
-
2016
- 2016-11-25 CN CN201611055670.9A patent/CN106776124B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150074458A1 (en) * | 2004-06-01 | 2015-03-12 | Inmage Systems, Inc. | Systems and Methods of Event Driven Recovery Management |
CN101047520A (en) * | 2006-03-28 | 2007-10-03 | 腾讯科技(深圳)有限公司 | Message recording merging method and user terminal |
CN100473012C (en) * | 2006-03-28 | 2009-03-25 | 腾讯科技(深圳)有限公司 | Message recording merging method and user terminal |
CN103139259A (en) * | 2011-11-30 | 2013-06-05 | 百度在线网络技术(北京)有限公司 | Method and server of achieving low-flux synchronous message logging |
US20160306706A1 (en) * | 2014-11-10 | 2016-10-20 | Commvault Systems, Inc. | Cross-platform virtual machine backup and replication |
Non-Patent Citations (3)
Title |
---|
ZAHED, K.S: "Reducing storage requirements of snapshot backups based on rsync utility", 《COMMUNICATION SYSTEMS AND NETWORKS AND WORKSHOPS, 2009. COMSNETS 2009. FIRST INTERNATIONAL》 * |
唐伟桐 等: "一种快速的差异备份方法", 《计算机工程》 * |
李尚忠: "数据备份策略分析研究", 《中国科技信息》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018095175A1 (en) * | 2016-11-25 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Communication message synchronization method, data backup method, device and storage medium |
CN109684132A (en) * | 2018-12-20 | 2019-04-26 | 努比亚技术有限公司 | A kind of data back up method of mobile terminal, mobile terminal and storage medium |
CN109684132B (en) * | 2018-12-20 | 2023-03-10 | 湖南半岛医疗科技有限公司 | Data backup method of mobile terminal, mobile terminal and storage medium |
CN111385332A (en) * | 2018-12-29 | 2020-07-07 | 顺丰科技有限公司 | Internet of things equipment, Internet of things platform access method and equipment |
CN111090547A (en) * | 2019-12-24 | 2020-05-01 | 浙江大华技术股份有限公司 | Data backup processing method and device |
CN112417437A (en) * | 2020-10-28 | 2021-02-26 | 北京八分量信息科技有限公司 | Trusted cloud platform based program white list generation method |
CN112702427A (en) * | 2020-12-23 | 2021-04-23 | 武汉湖江科技有限公司 | Industrial internet data synchronization system |
CN113726874A (en) * | 2021-08-27 | 2021-11-30 | 杭州迪普科技股份有限公司 | Backup method of session table, host device and dual-computer hot standby system |
CN113726874B (en) * | 2021-08-27 | 2023-10-27 | 杭州迪普科技股份有限公司 | Session table backup method, host equipment and dual-computer hot standby system |
CN114666175A (en) * | 2022-03-09 | 2022-06-24 | 北京达佳互联信息技术有限公司 | Message processing method and device, electronic equipment and storage medium |
CN114666175B (en) * | 2022-03-09 | 2024-01-02 | 北京达佳互联信息技术有限公司 | Message processing method, device, electronic equipment and storage medium |
CN114845290A (en) * | 2022-06-30 | 2022-08-02 | 荣耀终端有限公司 | Data migration method, electronic device and computer-readable storage medium |
CN116723203A (en) * | 2022-10-10 | 2023-09-08 | 荣耀终端有限公司 | Data backup method, data recovery method and electronic equipment |
CN116723203B (en) * | 2022-10-10 | 2024-04-19 | 荣耀终端有限公司 | Data backup method, data recovery method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106776124B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776124A (en) | Data back up method and device | |
US11488234B2 (en) | Method, apparatus, and system for processing order information | |
CN105320598B (en) | Method for testing software and device | |
CN104580167B (en) | A kind of methods, devices and systems transmitting data | |
US10547609B2 (en) | Method, apparatus, and system for controlling intelligent device, and storage medium | |
WO2017118437A1 (en) | Service processing method, device, and system | |
CN106791892A (en) | It is a kind of to take turns the live methods, devices and systems of wheat | |
CN103716793B (en) | Access-in point information sharing method and device | |
WO2014075566A1 (en) | Sensitive operation verification method, terminal device, server and verification system | |
CN105468952A (en) | Authentication method and apparatus | |
CN104135728B (en) | Method for connecting network and device | |
CN104683301B (en) | Password storage method and device | |
US10691819B2 (en) | Method and apparatus for remotely deleting information | |
CN104901806B (en) | A kind of virtual resource processing method, device and system | |
CN104993961A (en) | Equipment control methods, devices and system | |
WO2017067369A1 (en) | Method and device for encrypting picture, method and device for decrypting picture, and equipment | |
CN106709347A (en) | Application running method and application running device | |
CN109743696A (en) | Identifying code encryption method, system and readable storage medium storing program for executing | |
CN105246075B (en) | access point connection method and device | |
WO2018095175A1 (en) | Communication message synchronization method, data backup method, device and storage medium | |
CN104702678B (en) | Document transmission method and device | |
CN107872791B (en) | Access point connection method and device | |
CN105488433B (en) | Terminal key generation method and device | |
WO2017000495A1 (en) | Method and device for adding contacts | |
CN109600340B (en) | Operation authorization method, device, terminal and server |
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 |