CN109634913A - Storage method, device and the electronic equipment of document - Google Patents
Storage method, device and the electronic equipment of document Download PDFInfo
- Publication number
- CN109634913A CN109634913A CN201811534526.2A CN201811534526A CN109634913A CN 109634913 A CN109634913 A CN 109634913A CN 201811534526 A CN201811534526 A CN 201811534526A CN 109634913 A CN109634913 A CN 109634913A
- Authority
- CN
- China
- Prior art keywords
- edit
- content
- document
- block
- storage
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The disclosure is directed to a kind of storage method of document, device and electronic equipments, which comprises judge whether to detect the edit operation to document;If detecting the edit operation to document, the corresponding content of edit of edit operation is obtained;By content of edit storage into the block memory space of block chain.As it can be seen that in the present solution, by content of edit storage into the block memory space of block chain, improving the reliability of storage since the content stored in the block memory space of block chain is not easily modified.
Description
Technical field
This disclosure relates to document technical field of memory more particularly to a kind of storage method of document, device and electronic equipment.
Background technique
In relevant programme, multi-user, which can cooperate with, edits same document.For example, different users can pass through text
Shelves editing system carries out the editor such as content modification, increase, deletion to same document.The user currently edited to document may be used also
With user before acquisition to the content of edit of document, and this editor is carried out with reference to acquired content of edit.For example, user A
First document X is edited, content Y is increased in document X;User B again edits document X later, available to arrive
Following information: user A increases content Y in document X, in this way, user B can continue to edit with reference to the information obtained.
In this scheme, user is normally stored in the document editing system the content of edit of document, and the document is compiled
The data stored in the system of collecting are easily modified, in this way, the content of edit of storage is easy to be lost, memory reliability is poor.
Summary of the invention
To overcome the problems in correlation technique, storage method, device and the electronics that the disclosure provides a kind of document are set
It is standby, to improve memory reliability.
According to the first aspect of the embodiments of the present disclosure, a kind of storage method of document is provided, comprising:
Judge whether to detect the edit operation to document;
If detecting the edit operation to document, the corresponding content of edit of the edit operation is obtained;
By content of edit storage into the block memory space of block chain.
Optionally, the method also includes:
User is received to the acquisition request of documents editing content;
Based on the acquisition request, historical compilation content is obtained from the block memory space of the block chain;
The historical compilation content is showed into the user.
Optionally, described the step of obtaining the edit operation corresponding content of edit, comprising:
Obtain the corresponding edit session of the edit operation and content of edit;
It is then described by content of edit storage to the step in the block memory space of block chain, comprising:
According to the sequencing of the edit session, by the block memory space of acquired content of edit storage to block chain
In.
It is optionally, described by content of edit storage to the step in the block memory space of block chain, comprising:
According to the sequencing of the corresponding edit session of the content of edit, the edit session is arranged in operation sequence
Column;
By sequence of operation storage into the block memory space of block chain.
Optionally, before the step of reception user is to the acquisition request of documents editing content, further includes:
Detection document editing system interface checks whether button is selected;
If document editing system interface checks that button is selected, in the search box for detecting document editing system interface
Whether having time inputs;
If having time inputs in search box, executes and receive the step of user is to the acquisition request of documents editing content;
It is described to be based on the acquisition request, the step of historical compilation content is obtained from the block memory space of the block chain
Suddenly, comprising:
The time pair is obtained from the block memory space of block chain according to the time of input based on the acquisition request
The content of edit answered.
According to the second aspect of an embodiment of the present disclosure, a kind of storage device of document is provided, comprising:
Judgment module is configured as judging whether to detect the edit operation to document;
First obtains module, is configured as after detecting to the edit operation of document, and it is corresponding to obtain the edit operation
Content of edit;
Memory module is configured as storing the content of edit into the block memory space of block chain.
Optionally, the device further include:
Receiving module is configured as receiving user to the acquisition request of documents editing content;
Second obtains module, is configured as obtaining from the block memory space of the block chain based on the acquisition request
Historical compilation content;
Display module is configured as the historical compilation content showing the user.
Optionally, described first obtain module, be specifically configured to obtain the corresponding edit session of the edit operation and
Content of edit;
The then memory module is specifically configured to the sequencing according to the edit session, by acquired editor
Content is stored into the block memory space of block chain.
Optionally, the memory module, comprising:
Submodule is arranged, the sequencing according to the corresponding edit session of the content of edit is configured as, by the volume
Time alignment is collected into the sequence of operation;
Sub-module stored is configured as storing the sequence of operation into the block memory space of block chain.
Optionally, the device further include:
First detection module is configured as before receiving user to the acquisition request of documents editing content, detects document
Editing system interface checks whether button is selected;
Second detection module is configured as at document editing system interface when checking that button is selected, and detection document is compiled
Collect in the search box of system interface whether having time inputs;If having time inputs in search box, executes and receive user to text
The step of acquisition request of shelves content of edit;
Described second obtains module, is specifically configured to based on the acquisition request, according to the time of input, from block chain
Block memory space in obtain the time corresponding content of edit.
According to the third aspect of an embodiment of the present disclosure, a kind of electronic equipment is provided, comprising: processor, communication interface, storage
Device and communication bus, wherein the processor, the communication interface, the memory are completed mutual by the communication bus
Between communication;
The memory is configured as storage computer program;
The processor when being configured as executing the program stored on the memory, is realized any of the above-described described
The storage method step of document.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described
When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of storage side of document
Method.
The technical scheme provided by this disclosed embodiment can include the following benefits: by obtaining the editor to document
Corresponding content of edit is operated, by content of edit storage into the block memory space of block chain, since the block of block chain stores sky
Between middle storage content it is not easily modified.It is thus possible to improve the reliability of storage.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the storage method of document shown according to an exemplary embodiment;
Fig. 2 is the flow chart of the storage method of another document shown according to an exemplary embodiment;
Fig. 3 is the edit operation formation sequence schematic diagram by multi-user shown in an exemplary embodiment;
Fig. 4 is the schematic diagram for storing sequence and content of edit shown in an exemplary embodiment;
Fig. 5 is a kind of flow chart of the acquisition methods of document shown according to an exemplary embodiment;
Fig. 6 is the schematic diagram for obtaining sequence in block chain shown in an exemplary embodiment;
Fig. 7 is a kind of block diagram of the storage device of document shown according to an exemplary embodiment;
Fig. 8 is a kind of electronic device block diagram of storage for document shown according to an exemplary embodiment;
Fig. 9 is the electronic device block diagram according to the another kind shown in an exemplary embodiment for the storage of document.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended
The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of flow chart of the storage method of document shown according to an exemplary embodiment, as shown in Figure 1, can
To include the following steps.
In step s101, judge whether to detect the edit operation to document;
For by taking executing subject is document editing system as an example, document editing system can be real-time or periodically detects use
Whether family has carried out edit operation to document.The edit operation of document can be, document is increased, deleted or is changed
Content.The document can be document on the line in document editing system, or may be other can be for multi-person synergy editor
Document on line in the system of document.The document can be office documents, documentation of program etc., specifically without limitation.
In step s 102, if detecting the edit operation to document, the corresponding content of edit of edit operation is obtained.
For example, if edit operation is to increase content A in original text shelves X, the corresponding editor of the edit operation
Content is to increase content A;If edit operation is to delete content B in original text shelves X, in the corresponding editor of the edit operation
Hold to delete content B;If edit operation is to have changed content C in original text shelves X, the corresponding content of edit of the edit operation
To change content C.
In step s 103, by content of edit storage into the block memory space of block chain.
The block memory space of block chain is a kind of not revisable memory space, by the block of content of edit storage to block chain
In memory space, guarantee that the storage content cannot be changed easily.
Using embodiment shown in FIG. 1, obtains to the corresponding content of edit of the edit operation of document, content of edit is stored
Into the block memory space of block chain, since the content stored in the block memory space of block chain is not easily modified, improve
The reliability of storage.
In one embodiment, after detecting to the edit operation of document, the editor behaviour to document can also be obtained
Make corresponding edit session and content of edit.It is possible to which the content of edit that will acquire is deposited according to the sequencing of edit session
It stores up in the block memory space of block chain.
In this embodiment, content of edit is stored according to time sequencing, ensure that the sequence of deposit content, to facilitate user
Obtain the content of storage.
Fig. 2 is the flow chart of the storage method of another document shown according to an exemplary embodiment, as shown in Fig. 2,
Edit session formation sequence is stored into block chain according to the chronological order of edit operation.Specifically, including following
Step.
In step s 201, judge whether to detect the edit operation to document;
In step S202, if detecting the edit operation to document, the corresponding editor of the edit operation is obtained
Time and content of edit;
For example, after detecting user 1, user 2 and user 3 while editing document 1, as shown in figure 3, user 1 does exercises
Make o11, o12 and o15 time be 10 points 01 second 01 minute, user 2 be operation o21, o22 and o24 time be 10 points 01 minute 02
Second, user 3 be operation o31, o33 and o35 time be 10 points 03 second 01 minute.Can after user edits document, by
Document editing system obtains the edit session of user, the chronological order operated according to content of edit, by the edit session
It is arranged in the sequence of operation.
In step S203, according to the sequencing of the corresponding edit session of the content of edit, by the edit session
It is arranged in the sequence of operation;
For a user, multiple operations have been done in synchronization, but for document editing system, this is the same as the moment
Always there are millisecond, microsecond, the nanosecond other successive difference of grade at quarter, so, it can will be edited according to the sequencing of edit session
Time alignment is at sequence, in order to which the sequence according to edit session is managed and obtains to content of edit.
For example, according to the sequencing of edit session, edit session is ranked up to the sequence of generation are as follows: 10: 01
Point 01 second, 10 points 02 second 01 minute, 10 points 03 second 01 minute.
In step S204, by sequence of operation storage into the block memory space of block chain.
For by taking executing subject is document editing system as an example, the sequence of operation is being stored to the block memory space to block chain
While middle, the sequence of operation and corresponding content of edit are stored in the database of document editing system, as shown in figure 4, figure
9 points stored in middle Block3 03 minute and 01 second, 9 points 03 second 04 minute, 9 points 07 second 06 minute ... at the time of to generate current operation sequence
The sequence being stored at the time of before, block 3, the different memory blocks that block 4 is block chain, the memory block is by block head and block
Body composition, stores the head information of block in block head, the cryptographic Hash (PreHash) comprising previous block, local area block
Cryptographic Hash (Hash) etc., wherein the cryptographic Hash of block is the unique identification of block, stores the detailed of this block in block body
Data (Data), this data record comprising several rows, can be Transaction Information, be also possible to other certain information.The present invention
In the sequence of operation that is currently generated can store in chronological order in the block body of block 4.
Edit session is sorted and generates sequence according to the chronological order of edit operation using embodiment shown in Fig. 2
Column are stored into block chain.Due to the order of sequence, so that the content of storage is easier to manage or obtain, and block chain
Block memory space in the content that stores it is not easily modified.Therefore, the reliability for not only increasing storage, also improves storage tube
Manage efficiency.
Fig. 5 is a kind of flow chart of the acquisition methods of document shown according to an exemplary embodiment, as shown in Figure 5.?
It, can be according to lower section when user needs to obtain stored document from the block memory space of block chain after the completion of storage
Formula is obtained, specifically, including the following steps.
In step S501, user is received to the acquisition request of documents editing content;
As an example it is assumed that executing subject is document editing system, then the document editing system can provide exhibition for user
Show interface, may include checking button, search box etc. in the displaying interface.When user requires to look up a certain document at a certain moment
When, this can be clicked and check button, and the time to be inquired of input carries out searching the time corresponding document in search box.
What the document editing system can detecte document editing system interface checks whether button is selected, if detected
Check that button is selected, then whether having time is defeated in the search box at the document editing system detection document editing system interface
Enter, if detecting that having time inputs in search box, receives user to the acquisition request of documents editing content;It is wrapped in the request
Containing check that button is selected and search box in the temporal information to be searched for that inputs.
In step S502, it is based on acquisition request, historical compilation content is obtained from the block memory space of block chain;
In one case, it can be based on acquisition request, according to the temporal information for including in acquisition request, from block chain
Historical compilation content is obtained in block memory space.
In another case, when that store in the block memory space of block chain is editor corresponding according to content of edit
Between the sequence of operation that generates, the sequence and the corresponding content of edit of sequence are stored in the database of document editing system, then may be used
To obtain the time from the block memory space of block chain according to the temporal information for including in acquisition request based on acquisition request
The corresponding sequence of operation of information obtains in the corresponding editor of the sequence stored in database then according to the sequence of return
Hold.
For example, as shown in fig. 6, block 3, the different memory blocks that block 4 is block chain, the memory block is by block head
It is formed with block body, the head information of block, the cryptographic Hash (PreHash) comprising previous block, local area is store in block head
Cryptographic Hash (Hash) of block etc., wherein the cryptographic Hash of block is the unique identification of block, stores this block in block body
Detailed data (Data), this data record comprising several rows, can be Transaction Information, be also possible to other certain information.When
User needs to obtain document 1 in 10 points of 02 second 01 minute content of edit, first clicks at document editing system interface and checks button, so
Search box is input within 02 second 01 minute for 10 points of the time afterwards, and document editing system finds the time according to the time in block chain
Corresponding block 4, by 10 points of the sequence that is stored in the block body of block 4 01 minute and 01 second, 10 points 02 second 01 minute, 10 points 03 second 01 minute
Document editing system is returned to, document editing system is searched corresponding content of edit according to the sequence of return from database and shown
Onto interface, checked for user.
In step S503, the historical compilation content is showed into the user.
Using embodiment shown in fig. 5, the documents editing content of storage is obtained from the block memory space of block chain.Due to
The not alterability of the block memory space of block chain guarantees the reliability for the documents editing content that user obtains.This improves
The reliability of the document got.
Fig. 7 is a kind of storage device block diagram of document shown according to an exemplary embodiment, and referring to Fig. 7, the device includes
Judgment module 701, first obtains module 702 and memory module 703.
The judgment module 701 is configured as judging whether to detect the edit operation to document;
The first acquisition module 702 is configured as after detecting to the edit operation of document, obtains the edit operation
Corresponding content of edit;
The memory module 703 is configured as storing the content of edit into the block memory space of block chain.
Specifically, in the present embodiment, which can also include receiving module (not shown), the second acquisition mould
Block (not shown) and display module (not shown).
The receiving module (not shown) is configured as receiving user to the acquisition request of documents editing content;
The second acquisition module (not shown) is configured as depositing based on the acquisition request from the block of the block chain
It stores up and obtains historical compilation content in space;
The display module (not shown) is configured as the historical compilation content showing the user.
Specifically, in the present embodiment, first obtains module 702, it is specifically configured to obtain the edit operation correspondence
Edit session and content of edit;
Then memory module 703 are specifically configured to the sequencing according to the edit session, will be in acquired editor
Storage is stored into the block memory space of block chain.
Specifically, in the present embodiment, memory module 703, including arrangement submodule (not shown) and storage submodule
Block (not shown).
The arrangement submodule (not shown) is configured as according to the successive of the corresponding edit session of the content of edit
Sequentially, the edit session is arranged in the sequence of operation;
The sub-module stored (not shown) is configured as storing the sequence of operation empty to the block storage of block chain
Between in.
Specifically, in the present embodiment, which further includes first detection module (not shown) and the second detection mould
Block (not shown).
The first detection module (not shown) is configured as receiving user to the acquisition request of documents editing content
Before, that detects document editing system interface checks whether button is selected;
The second detection module (not shown) is configured as checking that button is selected at document editing system interface
When, detect in the search box at document editing system interface whether having time inputs;If having time inputs in search box, execute
The step of receiving acquisition request of the user to documents editing content;
Second obtains module (not shown), is specifically configured to based on the acquisition request, according to the time of input,
The time corresponding content of edit is obtained from the block memory space of block chain.
Using embodiment shown in Fig. 7, obtains to the corresponding content of edit of the edit operation of document, content of edit is stored
Into the block memory space of block chain, since the content stored in the block memory space of block chain is not easily modified.It therefore, can be with
Improve the reliability of storage.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 8 is a kind of 800 block diagram of electronic equipment of storage for document shown according to an exemplary embodiment.Example
Such as, electronic equipment 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, plate
Equipment, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 8, electronic equipment 800 may include following one or more components: processing component 802, memory 804,
Electric power assembly 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814,
And communication component 816.
The integrated operation of the usual controlling electronic devices 800 of processing component 802, such as with display, call, data are logical
Letter, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 to hold
Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more moulds
Block, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, with
Facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown
Example includes the instruction of any application or method for operating on electronic equipment 800, contact data, telephone directory number
According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they
Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable
Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing
Memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe
Reason system, one or more power supplys and other with for electronic equipment 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the electronic equipment 800 and user.
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface
Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding
The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments,
Multimedia component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when electronic equipment 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone
It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical
Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, for providing the state of various aspects for electronic equipment 800
Assessment.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as institute
The display and keypad that component is electronic equipment 800 are stated, sensor module 814 can also detect electronic equipment 800 or electronics
The position change of 800 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 800,800 orientation of electronic equipment
Or the temperature change of acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured to
It detects the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor, such as
CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with
Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment.
Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G),
Or their combination.In one exemplary embodiment, communication component 816 receives via broadcast channel and comes from external broadcasting management
The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 816 further includes that near field is logical
(NFC) module is believed, to promote short range communication.For example, radio frequency identification (RFID) technology, infrared data association can be based in NFC module
Meeting (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuit (ASIC), number
Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of electronic equipment 800 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Fig. 9 is 900 block diagram of electronic equipment of another storage for document shown according to an exemplary embodiment.Example
Such as, electronic equipment 900 may be provided as a server.Referring to Fig. 9, electronic equipment 900 includes processing component 922, into one
Step includes one or more processors, and the memory resource as representated by memory 932, and being used to store can be by processing component
The instruction of 922 execution, such as application program.The application program stored in memory 932 may include one or more
Each correspond to one group of instruction module.In addition, processing component 922 is configured as executing instruction, to execute above-mentioned document
Storage method.
Electronic equipment 900 can also include that a power supply module 926 is configured as executing the power supply pipe of electronic equipment 900
Reason, a wired or wireless network interface 950 are configured as electronic equipment 900 being connected to network and an input and output (I/
O) interface 958.Electronic equipment 900 can be operated based on the operating system for being stored in memory 932, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
The disclosure also shows a kind of non-transitorycomputer readable storage medium according to an exemplary embodiment, when described
When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of storage side of document
Method, the method includes the storage method steps of any document.
The disclosure also shows a kind of computer program product comprising instruction according to an exemplary embodiment, when it is being counted
When being run on calculation machine, so that computer executes the storage method of any document in above-described embodiment.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of storage method of document, which is characterized in that the described method includes:
Judge whether to detect the edit operation to document;
If detecting the edit operation to document, the corresponding content of edit of the edit operation is obtained;
By content of edit storage into the block memory space of block chain.
2. the storage method of document according to claim 1, which is characterized in that the method also includes:
User is received to the acquisition request of documents editing content;
Based on the acquisition request, historical compilation content is obtained from the block memory space of the block chain;
The historical compilation content is showed into the user.
3. the storage method of document according to claim 1, which is characterized in that the acquisition edit operation is corresponding
The step of content of edit, comprising:
Obtain the corresponding edit session of the edit operation and content of edit;
It is then described by content of edit storage to the step in the block memory space of block chain, comprising:
According to the sequencing of the edit session, acquired content of edit is stored into the block memory space of block chain.
4. the storage method of the document according to shown in claim 3, which is characterized in that described by content of edit storage to area
Step in the block memory space of block chain, comprising:
According to the sequencing of the corresponding edit session of the content of edit, the edit session is arranged in the sequence of operation;
By sequence of operation storage into the block memory space of block chain.
5. the storage method of document according to claim 2, which is characterized in that
Before the step of reception user is to the acquisition request of documents editing content, further includes:
Detection document editing system interface checks whether button is selected;
If document editing system interface checks that button is selected, detect in the search box at document editing system interface whether
Having time input;
If having time inputs in search box, executes and receive the step of user is to the acquisition request of documents editing content;
It is described to be based on the acquisition request, from the block memory space of the block chain the step of acquisition historical compilation content, packet
It includes:
Based on the acquisition request, according to the time of input, it is corresponding from the block memory space of block chain to obtain the time
Content of edit.
6. a kind of storage device of document characterized by comprising
Judgment module is configured as judging whether to detect the edit operation to document;
First obtains module, is configured as after detecting to the edit operation of document, obtains the corresponding volume of the edit operation
Collect content;
Memory module is configured as storing the content of edit into the block memory space of block chain.
7. the storage device of document according to claim 6, which is characterized in that the device further include:
Receiving module is configured as receiving user to the acquisition request of documents editing content;
Second obtains module, is configured as obtaining history from the block memory space of the block chain based on the acquisition request
Content of edit;
Display module is configured as the historical compilation content showing the user.
8. the storage device of document according to claim 6, which is characterized in that described first obtains module, is specifically matched
It is set to and obtains the corresponding edit session of the edit operation and content of edit;
The then memory module is specifically configured to the sequencing according to the edit session, by acquired content of edit
It stores in the block memory space of block chain.
9. a kind of electronic equipment characterized by comprising
Processor, communication interface, memory and communication bus, wherein the processor, the communication interface, the memory
Mutual communication is completed by the communication bus;
The memory is configured as storage computer program;
The processor when being configured as executing the program stored on the memory, realizes that claim 1-5 is any described
Method and step.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device executes, so that mobile terminal is able to carry out a kind of storage method of document, the method includes any institutes of claim 1-5
The method and step stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811534526.2A CN109634913A (en) | 2018-12-14 | 2018-12-14 | Storage method, device and the electronic equipment of document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811534526.2A CN109634913A (en) | 2018-12-14 | 2018-12-14 | Storage method, device and the electronic equipment of document |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109634913A true CN109634913A (en) | 2019-04-16 |
Family
ID=66074022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811534526.2A Pending CN109634913A (en) | 2018-12-14 | 2018-12-14 | Storage method, device and the electronic equipment of document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634913A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990346A (en) * | 2019-11-28 | 2020-04-10 | 中国建设银行股份有限公司 | File data processing method, device, equipment and storage medium based on block chain |
CN111523150A (en) * | 2020-04-20 | 2020-08-11 | 中国工商银行股份有限公司 | Block chain-based document editing method, device and system |
CN111581404A (en) * | 2020-06-05 | 2020-08-25 | 山东舜网传媒股份有限公司 | Method and system for marking image-text manuscript through whole process based on block chain technology |
CN112686004A (en) * | 2020-12-30 | 2021-04-20 | 海南大学 | Block chain-based single-document multi-interface editing method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914439A (en) * | 2013-01-04 | 2014-07-09 | 中国移动通信集团公司 | Method, device and system for online document edition |
CN104615586A (en) * | 2015-01-21 | 2015-05-13 | 上海理工大学 | Real-time cooperative editing system |
WO2017132641A1 (en) * | 2016-01-28 | 2017-08-03 | Nasdaq, Inc. | Systems and methods for securing and disseminating time sensitive information using a blockchain |
CN107317856A (en) * | 2017-06-23 | 2017-11-03 | 李波 | A kind of date storage method and device based on block chain |
CN107483181A (en) * | 2017-08-28 | 2017-12-15 | 北京金股链科技有限公司 | Measure of managing contract, device and terminal |
CN108388988A (en) * | 2018-02-26 | 2018-08-10 | 深圳智乾区块链科技有限公司 | Synergetic office work method, system and computer readable storage medium based on block chain |
CN108573071A (en) * | 2018-05-09 | 2018-09-25 | 广东工业大学 | A kind of file operation method and relevant apparatus |
CN108920514A (en) * | 2018-05-31 | 2018-11-30 | 百度在线网络技术(北京)有限公司 | A kind of information storage means based on block chain, device, equipment and storage medium |
-
2018
- 2018-12-14 CN CN201811534526.2A patent/CN109634913A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103914439A (en) * | 2013-01-04 | 2014-07-09 | 中国移动通信集团公司 | Method, device and system for online document edition |
CN104615586A (en) * | 2015-01-21 | 2015-05-13 | 上海理工大学 | Real-time cooperative editing system |
WO2017132641A1 (en) * | 2016-01-28 | 2017-08-03 | Nasdaq, Inc. | Systems and methods for securing and disseminating time sensitive information using a blockchain |
CN107317856A (en) * | 2017-06-23 | 2017-11-03 | 李波 | A kind of date storage method and device based on block chain |
CN107483181A (en) * | 2017-08-28 | 2017-12-15 | 北京金股链科技有限公司 | Measure of managing contract, device and terminal |
CN108388988A (en) * | 2018-02-26 | 2018-08-10 | 深圳智乾区块链科技有限公司 | Synergetic office work method, system and computer readable storage medium based on block chain |
CN108573071A (en) * | 2018-05-09 | 2018-09-25 | 广东工业大学 | A kind of file operation method and relevant apparatus |
CN108920514A (en) * | 2018-05-31 | 2018-11-30 | 百度在线网络技术(北京)有限公司 | A kind of information storage means based on block chain, device, equipment and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990346A (en) * | 2019-11-28 | 2020-04-10 | 中国建设银行股份有限公司 | File data processing method, device, equipment and storage medium based on block chain |
CN111523150A (en) * | 2020-04-20 | 2020-08-11 | 中国工商银行股份有限公司 | Block chain-based document editing method, device and system |
CN111523150B (en) * | 2020-04-20 | 2024-02-09 | 中国工商银行股份有限公司 | Document editing method, device and system based on block chain |
CN111581404A (en) * | 2020-06-05 | 2020-08-25 | 山东舜网传媒股份有限公司 | Method and system for marking image-text manuscript through whole process based on block chain technology |
CN112686004A (en) * | 2020-12-30 | 2021-04-20 | 海南大学 | Block chain-based single-document multi-interface editing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634913A (en) | Storage method, device and the electronic equipment of document | |
CN104539812B (en) | Recommendation information acquisition methods, terminal and server | |
CN105955618A (en) | Information display method and device | |
CN104967683A (en) | Message pushing method, terminal and server | |
CN106096009A (en) | Method for generating message and device | |
KR20160078295A (en) | Method and apparatus for prompting call | |
CN113259226B (en) | Information synchronization method and device, electronic equipment and storage medium | |
CN104639771B (en) | It is a kind of that the method and device of information on services is provided | |
CN104636453A (en) | Illegal user data identification method and device | |
CN104268129A (en) | Message reply method and message reply device | |
CN105677392A (en) | Method and apparatus for recommending applications | |
CN105975540A (en) | Information display method and device | |
CN110113251A (en) | Message coalescing method and device | |
CN105956067A (en) | Resource searching method and apparatus | |
CN105302335B (en) | Vocabulary recommends method and apparatus and computer readable storage medium | |
CN106453774B (en) | Contact information methods of exhibiting and device | |
CN108848303A (en) | Shoot reminding method and device | |
CN105721283B (en) | Method, device and equipment for sending screenshot message | |
CN104836721A (en) | Group session message reminding method and group session message reminding device | |
CN104780207A (en) | Information pushing method and device | |
CN104572848A (en) | Search method and search device based on browser | |
CN106572003A (en) | User information recommendation method and device | |
CN105843894A (en) | Information recommending method and device | |
CN110928425A (en) | Information monitoring method and device | |
CN110286775A (en) | A kind of dictionary management method and 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 |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |