CN108881481A - A kind of file recovers method, apparatus and its terminal device - Google Patents
A kind of file recovers method, apparatus and its terminal device Download PDFInfo
- Publication number
- CN108881481A CN108881481A CN201810829431.7A CN201810829431A CN108881481A CN 108881481 A CN108881481 A CN 108881481A CN 201810829431 A CN201810829431 A CN 201810829431A CN 108881481 A CN108881481 A CN 108881481A
- Authority
- CN
- China
- Prior art keywords
- file
- terminal device
- recover
- recovered
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of files to recover method, apparatus and its terminal device, for solving after thoroughly losing file in terminal device in the prior art, it is difficult to the problem of file or information lose these are given for change.The method includes:The record message of file to be recovered is obtained, includes the historic transmission path of the file to be recovered in the record message;Based on the historic transmission path in the record message, the determining target terminal equipment with the file association to be recovered;From block chain locating for the target terminal equipment, the file to be recovered is recovered.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of file to recover method, apparatus and its terminal device.
Background technique
Currently, with terminal device fast development and it is universal, the frequency of people's using terminal equipment is also higher and higher, eventually
End equipment is not only merely the tool that people converse, and is also widely applied in work, study and amusement.In this trend
Under, photo, work log, memorandum, chat record, the contact information etc. of user's shooting are often preserved in terminal device
Important file or information.
In the prior art, it may include following two that user, which saves above-mentioned file or the mode of information,:First way is used
Family can choose above-mentioned file or information preservation in the memory headroom of terminal device;The second way, user can also incite somebody to action
Above-mentioned file or information preservation are in cloud storage space.
However, in above-mentioned first way, if user clears up the memory headroom of terminal device or deletes certain using journey
Sequence may then lose some associated documents or information, after these files or information are lost in terminal device, it will be difficult to look for
It returns.And in the second way, if user accidentally deletes certain files or information in cloud storage space, also will permanently lose
These files or information.
Therefore, how these files or information are preferably tracked, to guarantee that these files or information after the loss can be by
It gives for change, it is still urgently to be resolved.
Summary of the invention
The embodiment of the present invention provides a kind of file and recovers method, apparatus and its terminal device, in the prior art to solve
After thoroughly losing file in terminal device, it is difficult to the problem of file or information lose these are given for change.
In order to solve the above-mentioned technical problem, the invention is realized in this way:In a first aspect, the embodiment of the invention provides one
Kind file recovers method, including:
The record message of file to be recovered is obtained, includes the historic transmission road of the file to be recovered in the record message
Diameter;
Based on the historic transmission path in the record message, the determining target terminal with the file association to be recovered is set
It is standby;
From block chain locating for the target terminal equipment, the file to be recovered is recovered.
Second aspect, the embodiment of the invention provides a kind of file searching devices, including:
Acquiring unit includes the text to be recovered in the record message for obtaining the record message of file to be recovered
The historic transmission path of part;
Determination unit, for based on the historic transmission path in the record message, the determining and described file to be recovered to be closed
The target terminal equipment of connection;
Unit is recovered, for from block chain locating for the target terminal equipment, recovering the file to be recovered.
The third aspect, the embodiment of the invention provides a kind of terminal devices, including:Memory, processor and it is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
The step of realizing method as described in relation to the first aspect.
Fourth aspect, the embodiment of the present invention also provide a kind of readable storage medium storing program for executing, on the computer readable storage medium
The step of being stored with computer program, method as described in relation to the first aspect realized when the computer program is executed by processor.
It include wait seek in the record information since the record information of file to be recovered can be obtained in the embodiment of the present invention
The historic transmission path of back into file may then based on the historic transmission path in the record information, determining and file to be recovered
Associated target terminal equipment finally can recover file to be recovered from block chain locating for target terminal equipment.So i.e.
Make user by the file complete deletion in terminal device, can also be recovered from block chain associated with this document.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the specific implementation flow diagram that a kind of file provided in an embodiment of the present invention recovers method;
Fig. 2 is a kind of structural schematic diagram of file searching device provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The technical solution provided below in conjunction with attached drawing, each embodiment that the present invention will be described in detail.
To solve after thoroughly losing file in terminal device in the prior art, it is difficult to the file or information lost these
The problem of giving for change, the present invention provide a kind of file and recover method, and the executing subject of this method can be, but not limited to the energy such as server
It is enough configured as executing at least one of this method user terminal provided in an embodiment of the present invention.
For ease of description, hereafter executing subject in this way is to be able to carry out for the terminal device of this method, to this
The embodiment of method is introduced.It is appreciated that it is that one kind is illustratively said that the executing subject of this method, which is terminal device,
It is bright, it is not construed as the restriction to this method.
Specifically, information push method provided by the invention includes:Firstly, obtaining the record message of file to be recovered, remember
It include the historic transmission path of file to be recovered in record message;Then, based on record message in historic transmission path, determine with
The target terminal equipment of file association to be recovered;Finally, recovering text to be recovered from block chain locating for target terminal equipment
Part.
It include wait seek in the record information since the record information of file to be recovered can be obtained in the embodiment of the present invention
The historic transmission path of back into file may then based on the historic transmission path in the record information, determining and file to be recovered
Associated target terminal equipment finally can recover file to be recovered from block chain locating for target terminal equipment.So i.e.
Make user by the file complete deletion in terminal device, can also be recovered from block chain associated with this document.
The specific implementation flow diagram that method is recovered below with reference to file shown in FIG. 1, to the implementation process of this method
It describes in detail, including:
Step 101, the record message of file to be recovered is obtained, includes the historic transmission road of file to be recovered in record message
Diameter;
As described in the background art, in the prior art, either file is stored in the memory headroom of terminal device also
It is to upload in cloud storage space to be backed up, once user deletes the file for being stored in the two places, is deleted
File will for good and all be lost, and user is difficult again to give these files for change.In order to solve this problem, the embodiment of the present invention can be pre-
It is first based on block chain technology, there can be the terminal device connected each other as the node in block chain for multiple, construct block chain.
Block chain technology (Blockchain Technology, BT), is also referred to as distributed account book information technology, is a kind of interconnection
Grid database technology, its main feature is that decentralization, open and clear, each node each may participate in data-base recording.Block chain is point
The new application mode of the computer technologies such as the storage of cloth data, point-to-point transmission, common recognition mechanism, Encryption Algorithm.Wherein, it knows together
Mechanism is that the mathematical algorithm established between different nodes and trust, obtain equity is realized in block catenary system.
Common recognition mechanism of the embodiment of the present invention based on block chain, using mutual associated terminal device as in block chain
Node constructs block chain, once occur some file loss on some terminal device in the block chain, then it is available to include
There is the record information in the historic transmission path of this document
Step 102, based on the historic transmission path in record message, the determining target terminal with file association to be recovered is set
It is standby;
It, can be based on the historic transmission for including in the record information after obtaining the record information of file to be recovered
Path determines target terminal equipment associated with file to be recovered is somebody's turn to do.Assuming that including node A, node B and node in block chain
C, wherein be lost file X in the corresponding terminal device of node A, got from the record information of this document X file X be by
The corresponding terminal device of node B is transferred to the corresponding terminal device of node A, then can be based on the common recognition mechanism of block chain
This document X is recovered and restored from terminal device corresponding in node B.
Step 103, from block chain locating for target terminal equipment, file to be recovered is recovered.
Wherein, block chain locating for target terminal equipment is to be in advance based on to construct with the terminal device of file association to be recovered
It obtains.
Optionally, from block chain locating for target terminal equipment, the file to be recovered is recovered, may include following two
Kind of situation, the first situation are one in block chain locating for target terminal equipment wait recovering terminal device belonging to file not
The corresponding terminal device of a node;Second situation is locating for target terminal equipment wait recover terminal device belonging to file
The corresponding terminal device of a node in block chain.Process is recovered to specific file below with reference to both of these case to carry out in detail
Thin description.
The first situation:From block chain locating for target terminal equipment, file to be recovered is recovered, it can be firstly, if really
It is fixed wait recover terminal device belonging to file not in the block chain locating for target terminal equipment, it is determined that wait recover belonging to file
Terminal device whether have access in block chain locating for target terminal equipment;Then, however, it is determined that wait recover belonging to file
Terminal device has access in block chain locating for target terminal equipment, then treats and recover the progress body of terminal device belonging to file
Part verifying;Finally, however, it is determined that the authentication wait recover terminal device belonging to file passes through, then locating for the target terminal equipment
Block chain in recover file to be recovered.
Wherein, however, it is determined that wait recover terminal device belonging to file not in the block chain locating for target terminal equipment, then
It determines wait recover whether terminal device belonging to file has access in block chain locating for target terminal equipment, it optionally, can
With by judge wait recover terminal device belonging to file whether at least one of block chain locating for target terminal equipment
There is connection in the corresponding terminal device of node, for example, wait recover terminal device belonging to file whether with locating for target terminal equipment
Block chain in the corresponding terminal device of at least one node between had file transmission log, message registration, short message record
Or the connection such as chat record.
If it is determined that wait recover at least one of block chain locating for terminal device belonging to file and target terminal equipment
There is connection in the corresponding terminal device of node, then can determine that this waits recovering terminal device belonging to file and has access to target end
In block chain locating for end equipment.And if it is determined that wait recover block locating for terminal device belonging to file and target terminal equipment
Connection is all not present in the corresponding terminal device of at least one node in chain, then for information security, this can be determined wait recover
Terminal device belonging to file cannot access in block chain locating for target terminal equipment.
Optionally, however, it is determined that have access to block chain locating for target terminal equipment wait recover terminal device belonging to file
In, then treat recover terminal device belonging to file carry out authentication specifically can be by locating for target terminal equipment
Block chain in, wait recovering terminal device corresponding to the associated node of terminal device belonging to file with this and this waited recovering
Terminal device belonging to file carries out authentication, specific verification mode, for example can be asked by some pre-set close guarantors
Topic carries out authentication.
Second situation recovers file to be recovered from block chain locating for target terminal equipment, can be firstly, if really
It is fixed wait recover terminal device belonging to file in the block chain locating for target terminal equipment, then locating for the target terminal equipment
File to be recovered is recovered in block chain.In this case, as being set wait recover terminal device belonging to file in target terminal
In standby locating block chain, then can the common recognition mechanism based on block chain recovered from block chain locating for the target terminal equipment
File to be recovered.
Optionally, either the first situation or second situation are added when wait recover terminal device belonging to file
To after block chain locating for target terminal equipment, file to be recovered is recovered from block chain locating for target terminal equipment, it can
To recover the request message of file to be recovered firstly, sending to target terminal equipment, target terminal equipment receive this recover to
The request message of file is recovered, it can be in response to the request message, to should be to wait recover that terminal device belonging to file sends
Recover file;Then, file to be recovered is received wait recover terminal device belonging to file.
Optionally, however, it is determined that have access to block chain locating for target terminal equipment wait recover terminal device belonging to file
In, then it treats and recovers the progress authentication of terminal device belonging to file, it can be first, it is determined that wait recover terminal belonging to file
Whether equipment exists with the terminal device for including in block chain locating for target terminal equipment contacts;Then, however, it is determined that wait recover
The terminal device for including in terminal device belonging to file and block chain locating for target terminal equipment is then treated there is no contacting
The user for recovering terminal device belonging to file carries out authentication.
The above situation typically refers to, and is lost owning on the terminal device wait recover terminal device belonging to file
Information, for example the case where terminal device loss, in this case, in order to ensure information security, avoid on the terminal device
It can be utilized, cause damages to the user of terminal device, the embodiment of the present invention can be further by criminal after Information recovering
Authentication is carried out to the user for waiting recovering terminal device belonging to file, only when the authentication of the user passes through it
Afterwards, just allow to wait this recovering terminal device belonging to file and be added in block chain locating for target terminal equipment and recover wait seek
Back into file.
It include wait seek in the record information since the record information of file to be recovered can be obtained in the embodiment of the present invention
The historic transmission path of back into file may then based on the historic transmission path in the record information, determining and file to be recovered
Associated target terminal equipment finally can recover file to be recovered from block chain locating for target terminal equipment.So i.e.
Make user by the file complete deletion in terminal device, can also be recovered from block chain associated with this document.
Referring to Fig. 2, be the structural schematic diagram of file searching device 200 provided in an embodiment of the present invention, as shown in Fig. 2,
Including acquiring unit 201, determination unit 202 and unit 203 is recovered, wherein:
Acquiring unit 201 includes described in the record message wait recover for obtaining the record message of file to be recovered
The historic transmission path of file;
Determination unit 202, for based on the historic transmission path in the record message, the determining and file to be recovered
Associated target terminal equipment;
Unit 203 is recovered, for from block chain locating for target terminal equipment, recovering the file to be recovered.
Optionally, in one embodiment, described to recover unit 203, it is used for:
If it is determined that it is described wait recover terminal device belonging to file not in the block chain locating for the target terminal equipment,
It then determines described wait recover whether terminal device belonging to file has access in block chain locating for the target terminal equipment;
If it is determined that described have access to block locating for the target terminal equipment wait recover terminal device belonging to file
In chain, then authentication is carried out wait recover terminal device belonging to file to described;
If it is determined that the authentication wait recover terminal device belonging to file passes through, then from the target terminal equipment
The file to be recovered is recovered in locating block chain.
Optionally, in one embodiment, described to recover unit 203, it is used for:
If it is determined that it is described wait recover terminal device belonging to file in the block chain locating for the target terminal equipment, then
The file to be recovered is recovered from block chain locating for the target terminal equipment.
Optionally, in one embodiment, described to recover unit 203, it is used for:
The request message for recovering the file to be recovered is sent to target terminal equipment;
Receive the file to be recovered.
Optionally, in one embodiment, described to recover unit 203, it is used for:
Judgement it is described wait recover terminal device belonging to file whether in block chain locating for the target terminal equipment
Including terminal device exist connection;
If it is determined that described wrap wait recover in terminal device belonging to file and block chain locating for the target terminal equipment
There is no connections for the terminal device included, then the user to described wait recover terminal device belonging to file carries out authentication.
Terminal device 300 provided in an embodiment of the present invention can be realized what terminal device in the embodiment of the method for Fig. 1 was realized
Each process, to avoid repeating, which is not described herein again.
A kind of hardware structural diagram of Fig. 3 terminal device 300 of each embodiment to realize the present invention,
The terminal device 300 includes but is not limited to:It is radio frequency unit 301, network module 302, audio output unit 303, defeated
Enter unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor
The components such as 310 and power supply 311.It will be understood by those skilled in the art that terminal device structure shown in Fig. 3 is not constituted
Restriction to terminal device, terminal device may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 310, include for obtaining the record message of file to be recovered, in the record message it is described to
Recover the historic transmission path of file;Based on the historic transmission path in the record message, the determining and file to be recovered
Associated target terminal equipment;From block chain locating for target terminal equipment, the file to be recovered is recovered.
It include wait seek in the record information since the record information of file to be recovered can be obtained in the embodiment of the present invention
The historic transmission path of back into file may then based on the historic transmission path in the record information, determining and file to be recovered
Associated target terminal equipment finally can recover file to be recovered from block chain locating for target terminal equipment.So i.e.
Make user by the file complete deletion in terminal device, can also be recovered from block chain associated with this document.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 310 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 301 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 302 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 303 can be received by radio frequency unit 301 or network module 302 or in memory 309
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 303 can also provide and end
The relevant audio output of specific function that end equipment 300 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 303 includes loudspeaker, buzzer and receiver etc..
Input unit 304 is for receiving audio or video signal.Input unit 304 may include graphics processor
(Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 303.Through graphics processor 3041, treated that picture frame can be deposited
Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike
Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 301 is converted in the case where telephone calling model.
Terminal device 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when terminal device 300 is moved in one's ear
Display panel 3061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 306 is for showing information input by user or being supplied to the information of user.Display unit 306 can wrap
Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 3061.
User input unit 307 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 307 include touch panel 3071 and
Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 3071 or in touch panel 3071
Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area
It manages the order that device 310 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments
3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it
On or near touch operation after, send processor 310 to determine the type of touch event, be followed by subsequent processing device 310 according to touching
The type for touching event provides corresponding visual output on display panel 3061.Although in Fig. 3, touch panel 3071 and display
Panel 3061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 308 is the interface that external device (ED) is connect with terminal device 300.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 300 or can be used in 300 He of terminal device
Data are transmitted between external device (ED).
Memory 309 can be used for storing software program and various data.Memory 309 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 309 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 310 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 309, and calls and is stored in storage
Data in device 309 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Terminal device 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311
Can be logically contiguous by power-supply management system and processor 310, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 300 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 310, and memory 309 is stored in
On memory 309 and the computer program that can run on the processor 310, the computer program are executed by processor 310
The above-mentioned file of Shi Shixian recovers each process of embodiment of the method, and can reach identical technical effect, to avoid repeating, here
It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize that above-mentioned file recovers each process of embodiment of the method, and energy when being executed by processor
Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic or disk etc..
It should be noted that, in this document, term " includes ", " comprising " or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (12)
1. a kind of file recovers method, which is characterized in that including:
The record message of file to be recovered is obtained, includes the historic transmission path of the file to be recovered in the record message;
Based on the historic transmission path in the record message, the determining target terminal equipment with the file association to be recovered;
From block chain locating for the target terminal equipment, the file to be recovered is recovered.
2. the method as described in claim 1, which is characterized in that from block chain locating for the target terminal equipment, recover
The file to be recovered, including:
If it is determined that described wait recover terminal device belonging to file not in the block chain locating for the target terminal equipment, then really
It is fixed described wait recover whether terminal device belonging to file has access in block chain locating for the target terminal equipment;
If it is determined that described have access in block chain locating for the target terminal equipment wait recover terminal device belonging to file,
Then authentication is carried out wait recover terminal device belonging to file to described;
If it is determined that the authentication wait recover terminal device belonging to file passes through, then locating for the target terminal equipment
Block chain in recover the file to be recovered.
3. the method as described in claim 1, which is characterized in that from block chain locating for the target terminal equipment, recover
The file to be recovered, including:
If it is determined that it is described wait recover terminal device belonging to file in the block chain locating for the target terminal equipment, then from institute
It states and recovers the file to be recovered in block chain locating for target terminal equipment.
4. method as claimed in any one of claims 1 to 3, which is characterized in that the block locating for the target terminal equipment
The file to be recovered is recovered in chain, including:
The request message for recovering the file to be recovered is sent to the target terminal equipment;
Receive the file to be recovered.
5. method according to claim 2, however, it is determined that described to have access to the mesh wait recover terminal device belonging to file
It marks in block chain locating for terminal device, then carries out authentication wait recover terminal device belonging to file to described, including:
Judgement it is described wait recover terminal device belonging to file whether with include in block chain locating for the target terminal equipment
Terminal device exist connection;
If it is determined that described include wait recover in block chain locating for terminal device belonging to file and the target terminal equipment
There is no connections for terminal device, then the user to described wait recover terminal device belonging to file carries out authentication.
6. a kind of file searching device, which is characterized in that including:
Acquiring unit includes the file to be recovered in the record message for obtaining the record message of file to be recovered
Historic transmission path;
Determination unit, for based on the historic transmission path in the record message, determination and the file association to be recovered
Target terminal;
Unit is recovered, for from block chain locating for the target terminal equipment, recovering the file to be recovered.
7. device as claimed in claim 6, which is characterized in that it is described to recover unit, it is used for:
If it is determined that described wait recover terminal device belonging to file not in the block chain locating for the target terminal equipment, then really
It is fixed described wait recover whether terminal device belonging to file has access in block chain locating for the target terminal equipment;
If it is determined that described have access in block chain locating for the target terminal equipment wait recover terminal device belonging to file,
Then authentication is carried out wait recover terminal device belonging to file to described;
If it is determined that the authentication wait recover terminal device belonging to file passes through, then locating for the target terminal equipment
Block chain in recover the file to be recovered.
8. device as claimed in claim 6, which is characterized in that it is described to recover unit, it is used for:
If it is determined that it is described wait recover terminal device belonging to file in the block chain locating for the target terminal equipment, then from institute
It states and recovers the file to be recovered in block chain locating for target terminal equipment.
9. the device as described in any in claim 6~8, which is characterized in that it is described to recover unit, it is used for:
The request message for recovering the file to be recovered is sent to the target terminal equipment;
Receive the file to be recovered.
10. device as claimed in claim 7, which is characterized in that it is described to recover unit, it is used for:
Judgement it is described wait recover terminal device belonging to file whether with include in block chain locating for the target terminal equipment
Terminal device exist connection;
If it is determined that described include wait recover in block chain locating for terminal device belonging to file and the target terminal equipment
There is no connections for terminal device, then the user to described wait recover terminal device belonging to file carries out authentication.
11. a kind of terminal device, including:It memory, processor and is stored on the memory and can be on the processor
The computer program of operation is realized as described in Claims 1 to 5 is any when the computer program is executed by the processor
File recovers the step of method.
12. a kind of readable storage medium storing program for executing, computer program, the computer journey are stored on the computer readable storage medium
The step of file as described in Claims 1 to 5 is any recovers method is realized when sequence is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810829431.7A CN108881481A (en) | 2018-07-25 | 2018-07-25 | A kind of file recovers method, apparatus and its terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810829431.7A CN108881481A (en) | 2018-07-25 | 2018-07-25 | A kind of file recovers method, apparatus and its terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108881481A true CN108881481A (en) | 2018-11-23 |
Family
ID=64305356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810829431.7A Pending CN108881481A (en) | 2018-07-25 | 2018-07-25 | A kind of file recovers method, apparatus and its terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881481A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112003906A (en) * | 2020-08-03 | 2020-11-27 | 广州久零区块链技术有限公司 | Point-to-point transmission method with encryption structure for block chain telephone business |
CN115733613A (en) * | 2022-10-18 | 2023-03-03 | 超聚变数字技术有限公司 | File verification method, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281192A (en) * | 2013-05-31 | 2013-09-04 | 腾讯科技(深圳)有限公司 | Method, device and system for retrieving data |
CN103605583A (en) * | 2013-07-08 | 2014-02-26 | 宇龙计算机通信科技(深圳)有限公司 | File recovery method and system |
CN104573559A (en) * | 2015-01-24 | 2015-04-29 | 浙江远望软件有限公司 | File storage and access method capable of supporting password authentication and operation log |
US20160275461A1 (en) * | 2015-03-20 | 2016-09-22 | Rivetz Corp. | Automated attestation of device integrity using the block chain |
CN107347055A (en) * | 2016-05-06 | 2017-11-14 | 腾讯科技(深圳)有限公司 | A kind of processing method and processing device of user profile |
CN107579958A (en) * | 2017-08-15 | 2018-01-12 | 中国联合网络通信集团有限公司 | Data managing method, apparatus and system |
CN108259622A (en) * | 2018-02-07 | 2018-07-06 | 福建南威软件有限公司 | A kind of trans-regional sharing method of electronics license data |
-
2018
- 2018-07-25 CN CN201810829431.7A patent/CN108881481A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103281192A (en) * | 2013-05-31 | 2013-09-04 | 腾讯科技(深圳)有限公司 | Method, device and system for retrieving data |
CN103605583A (en) * | 2013-07-08 | 2014-02-26 | 宇龙计算机通信科技(深圳)有限公司 | File recovery method and system |
CN104573559A (en) * | 2015-01-24 | 2015-04-29 | 浙江远望软件有限公司 | File storage and access method capable of supporting password authentication and operation log |
US20160275461A1 (en) * | 2015-03-20 | 2016-09-22 | Rivetz Corp. | Automated attestation of device integrity using the block chain |
CN107347055A (en) * | 2016-05-06 | 2017-11-14 | 腾讯科技(深圳)有限公司 | A kind of processing method and processing device of user profile |
CN107579958A (en) * | 2017-08-15 | 2018-01-12 | 中国联合网络通信集团有限公司 | Data managing method, apparatus and system |
CN108259622A (en) * | 2018-02-07 | 2018-07-06 | 福建南威软件有限公司 | A kind of trans-regional sharing method of electronics license data |
Non-Patent Citations (1)
Title |
---|
佘维等: "《基于联盟区块链的分布式能源交易认证模型》", 《中国科学技术大学学报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112003906A (en) * | 2020-08-03 | 2020-11-27 | 广州久零区块链技术有限公司 | Point-to-point transmission method with encryption structure for block chain telephone business |
CN112003906B (en) * | 2020-08-03 | 2023-07-18 | 广州久零区块链技术有限公司 | Point-to-point transmission method with encryption structure for block chain electric business |
CN115733613A (en) * | 2022-10-18 | 2023-03-03 | 超聚变数字技术有限公司 | File verification method, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109445894A (en) | A kind of screenshot method and electronic equipment | |
CN107608514A (en) | Information processing method and mobile terminal | |
CN109194818A (en) | A kind of information processing method and terminal | |
CN108021825A (en) | A kind of method for protecting privacy, mobile terminal | |
CN107808084A (en) | A kind of touch operation method and mobile terminal | |
CN108366220A (en) | A kind of video calling processing method and mobile terminal | |
CN109857297A (en) | Information processing method and terminal device | |
CN109284150A (en) | A kind of method and terminal starting application program | |
CN108376096A (en) | A kind of message display method and mobile terminal | |
CN110457888A (en) | A kind of verifying code imput method, device, electronic equipment and storage medium | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN107786739A (en) | A kind of information acquisition method and mobile terminal | |
CN110213438A (en) | A kind of processing method and terminal device of application program | |
CN110536253A (en) | A kind of group's Adding Way and mobile terminal | |
CN110225040A (en) | A kind of information processing method, terminal device and server | |
CN109889756A (en) | A kind of video call method and terminal device | |
CN108881481A (en) | A kind of file recovers method, apparatus and its terminal device | |
CN109218984A (en) | A kind of method for tracing and mobile terminal | |
CN109446794A (en) | A kind of cipher-code input method and its mobile terminal | |
CN107979385A (en) | The information processing method and mobile terminal of a kind of radio-frequency devices | |
CN108494949B (en) | A kind of image classification method and mobile terminal | |
CN110191106A (en) | A kind of data transmission method for uplink, terminal and communication system | |
CN108810276A (en) | A kind of method and mobile terminal of face recognition | |
CN109451143A (en) | A kind of call method and mobile terminal | |
CN109460649A (en) | A kind of document handling method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |