CN106201337A - Date storage method and device - Google Patents
Date storage method and device Download PDFInfo
- Publication number
- CN106201337A CN106201337A CN201610465916.3A CN201610465916A CN106201337A CN 106201337 A CN106201337 A CN 106201337A CN 201610465916 A CN201610465916 A CN 201610465916A CN 106201337 A CN106201337 A CN 106201337A
- Authority
- CN
- China
- Prior art keywords
- file
- picture
- document
- data
- terminal unit
- 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
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/065—Replication mechanisms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses date storage method and device.One detailed description of the invention of described method includes: the operation of the detection user shortcut to presetting on terminal unit;In response to described operation being detected, determine the data form of data in the clipbook of described terminal unit;If described data form is picture format or text formatting, then the data in described clipbook are stored described terminal unit.This embodiment achieves simple and convenient data storage.
Description
Technical field
The application relates to field of computer technology, is specifically related to technical field of information input, particularly relates to data storage side
Method and device.
Background technology
Along with computer technology and the fast development of Internet technology so that (such as, people use information input application
Social networking application) carry out information input time except input word in addition to, the most often input expression, picture, expression character, character draw, spy
The content showed emotion that the energy such as different symbol are vivider.And different information inputs the different expression of application use, picture, expression
Character, character picture, special symbol etc., if it is desired under several different information input application, all use a set of self-defining table
Feelings, picture, expression character, character picture, special symbol etc., need self-defining expression, picture, expression character, character picture, spy
Different symbol etc. is directed respectively in several different information input application.
But, self-defining expression, picture, expression character, character picture, special symbol etc. are directed respectively into several different
The method of information input application operates complicated, waste memory space and is not easy to unified management.
Summary of the invention
The purpose of the application is to propose date storage method and the device of a kind of improvement, solves background above technology department
Divide the technical problem mentioned.
First aspect, this application provides a kind of date storage method, and described method includes: user is to terminal unit in detection
The operation of the upper shortcut preset;In response to described operation being detected, determine data in the clipbook of described terminal unit
Data form;If described data form is picture format or text formatting, then the data in described clipbook are stored institute
State terminal unit.
Second aspect, this application provides a kind of data storage device, and described device includes: detector unit, is configured to
The operation of the detection user shortcut to presetting on terminal unit;Determine unit, be configured in response to described operation being detected,
Determine the data form of data in the clipbook of described terminal unit;First memory element, if being configured to described data
Form is picture format or text formatting, then the data in described clipbook are stored described terminal unit.
The date storage method of the application offer and device, by the detection user shortcut to presetting on terminal unit
Data in the clipbook of terminal unit, then in response to aforesaid operations being detected, are stored terminal unit by operation, it is achieved that
Data storage simply and easily.
Accompanying drawing explanation
By the detailed description that non-limiting example is made made with reference to the following drawings of reading, other of the application
Feature, purpose and advantage will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart of an embodiment of the date storage method according to the application;
Fig. 3 is the flow chart of another embodiment of the date storage method according to the application;
Fig. 4 is the structural representation of an embodiment of the data storage device according to the application;
Fig. 5 is adapted for the structural representation of the computer system of the terminal unit for realizing the embodiment of the present application.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to this invention.It also should be noted that, in order to
It is easy to describe, accompanying drawing illustrate only the part relevant to about invention.
It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can phases
Combination mutually.Describe the application below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 shows the exemplary system of the embodiment that can apply the date storage method of the application or data storage device
System framework 100.
As it is shown in figure 1, system architecture 100 can include terminal unit 101,102,103, network 104 and cloud server
105.Network 104 is in order to provide the medium of communication link between terminal unit 101,102,103 and cloud server 105.Net
Network 104 can include various connection type, the most wired, wireless communication link or fiber optic cables etc..
User can use terminal unit 101,102,103 mutual with cloud server 105 by network 104, to receive
Or send message etc..Can be provided with various client application on terminal unit 101,102,103, such as information input class should
With, input method class application, JICQ, social platform software etc..Certainly, user can also directly use terminal unit
101,102,103 this locality realize data storage function, it is not necessary to the support of cloud server.In this case, exemplary system
System framework 100 can also not have the cloud server 105 described in Fig. 1.
Terminal unit 101,102,103 can be to have display screen and the various electronic equipments supporting information to input, bag
Include but be not limited to pocket computer on knee and desk computer etc..
Cloud server 105 can be to provide the server of various service, such as to aobvious on terminal unit 101,102,103
The information input class application shown provides the background server supported.Background server can be to terminal unit 101,102,103
The request uploading data or more new data is analyzed processing, and by data (such as picture literary composition to be uploaded or to be updated
Part, document files, font file or dictionary file) upload or update background server.
It should be noted that the date storage method that provided of the embodiment of the present application typically by terminal unit 101,102,
103 perform, and correspondingly, data storage device is generally positioned in terminal unit 101,102,103.
It should be understood that the number of terminal unit, network and the cloud server in Fig. 1 is only schematically.According to reality
Now need, can have any number of terminal unit, network and cloud server.
With continued reference to Fig. 2, it illustrates the flow process 200 of an embodiment of the date storage method according to the application.Institute
The date storage method stated, comprises the following steps:
Step 201, the operation of the detection user shortcut to presetting on terminal unit, if be detected that aforesaid operations, turn
To step 202.
In the present embodiment, date storage method runs on electronic equipment thereon (the such as terminal unit shown in Fig. 1
101,102,103) operation of user's shortcut to presetting on terminal unit can be detected in real time, if be detected that above-mentioned behaviour
Make, forwarding step 202 to and carry out next step operation, if being not detected by aforesaid operations, terminating.Here, shortcut can be one
Key or the combination of more than one key, as example, shortcut can be a key (e.g., F6 key), and shortcut can also be two
The combination (e.g., F6 key+Ctrl) of individual key, shortcut can also is that combination (e.g., the F6 key+Ctrl+Shift of three keys
Key).
As example, the date storage method in the application can be specifically by the input method class installed on above-mentioned electronic equipment
Application performs, it is also possible to specifically performed by the application with information input function installed on above-mentioned electronic equipment.
In some optional implementations of the present embodiment, the shortcut preset can be arranged in the following way: first
First, shortcut can be registered to the operating system of terminal unit, then can be using the shortcut of above-mentioned registration as default fast
Prompt key.
Step 202, in response to aforesaid operations being detected, determines the data form of data in the clipbook of terminal unit,
If data form is picture format or text formatting, forward step 203 to.
In the present embodiment, above-mentioned electronic equipment can be behaviour user's shortcut to presetting on terminal unit being detected
After work, first, the data in the clipbook of terminal unit are obtained, it is then determined that the data form of the data in clipbook, as
Really data form is picture format or text formatting, forwards step 203 to.
In the present embodiment, the data form of the data in clipbook can be text formatting, such as, replicate or shear
Word be stored in the specified memory of clipbook;The data form of the data in clipbook can also be picture format, example
Figure sector-meeting as replicated or shear is stored in the specified memory of clipbook;Data in clipbook can also is that tray
Formula, the data during file format refers to clipbook here are the routing informations of file and/or file, and such as user is mine
Computer or explorer have selected file and/or file, and perform duplication or shearing manipulation, at this moment in clipbook
Stored is exactly the routing information of the file selected by user and/or file.Shear plate is also protected while preserving data
There is the data form of data.Such as, data form " CF_BITMAP " representative " bitmap handle ", and data form " CF_
UNICODETEXT " representative " Unicode character string " etc..
In the present embodiment, above-mentioned electronic equipment can judge merit by the clipboard data form that operating system provides
Can, determine the data form of data in clipbook.
Data in clipbook are stored terminal unit by step 203.
In the present embodiment, the data lattice of the data in the clipbook that above-mentioned electronic equipment can determine in step 202.
In the case of formula is picture format or text formatting, the data in the clipbook of terminal unit are stored terminal unit.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can also determine in step 202.
In the case of the data form of the data in clipbook is file format, indicated by the data in the clipbook of terminal unit
Picture file and document files in file store terminal unit.
The method that above-described embodiment of the application provides is by detect that user triggers on the terminal device default fast
After prompt key, the picture in the clipbook of terminal unit or lteral data are stored terminal unit, it is achieved that simply and easily
Data store.
With further reference to Fig. 3, it illustrates the flow process 300 of another embodiment of date storage method.These data store
The flow process 300 of method, comprises the following steps:
Step 301, the operation of the detection user shortcut to presetting on terminal unit, if be detected that aforesaid operations, turn
To step 302.
In the present embodiment, date storage method runs on electronic equipment thereon (the such as terminal unit shown in Fig. 1
101,102,103) operation of user's shortcut to presetting on terminal unit can be detected in real time, if be detected that above-mentioned behaviour
Make, forwarding step 302 to and carry out next step operation, if being not detected by aforesaid operations, terminating
Step 302, in response to aforesaid operations being detected, determines the data form of data in the clipbook of terminal unit,
If above-mentioned data form is text formatting, forward step 303 to, if above-mentioned data form is file format, forward step to
304, if above-mentioned data form is picture format, forward step 305 to.
In the present embodiment, above-mentioned electronic equipment can be behaviour user's shortcut to presetting on terminal unit being detected
After work, first obtain the data in the clipbook of terminal unit, it is then determined that the data form of the data in clipbook, if
Above-mentioned data form is text formatting, forwards step 303 to, if above-mentioned data form is file format, forwards step 304 to, as
The most above-mentioned data form is picture format, forwards step 305 to.
In the present embodiment, the data form of the data in clipbook can be text formatting;Data in clipbook
Data form can also be picture format;Data in clipbook can also is that file format, and file format refers to cut here
Data in pasting board are the routing informations of file and/or file.Shear plate also preserves data while preserving data
Data form.
In the present embodiment, above-mentioned electronic equipment can judge merit by the clipboard data form that operating system provides
Can, determine the data form of data in clipbook.
Step 303, for the data genaration document files in clipbook, stores the default literary composition of terminal unit by document files
Under shelves store path;Or the data in clipbook are stored in character library and/or the dictionary of terminal unit.
In the present embodiment, the data lattice of the data in the clipbook that above-mentioned electronic equipment can determine in step 302
In the case of formula is text formatting, first it is the data genaration document files in clipbook, then above-mentioned document files is stored
Under the default document store path of terminal unit;Or, the data in clipbook are stored terminal unit character library and/or
In dictionary.
In the present embodiment, document files includes but not limited to text, HTML (Hyper Text Markup
Language, HTML) file, XML (Extensible Markup Language, extensible markup language) literary composition
Parts etc. can store the file of text.
In the present embodiment, the method for the data genaration document files in clipbook can be according to the number in clipbook
According to data form generate document files, such as, the data form of the data in clipbook is " CF_HTML " form, just presses
Form according to HTML generates html file as document files;Can also be to use the lteral data in the data in clipbook
Generating document files according to the data form of acquiescence, such as, the data form regardless of the data in clipbook is any literary composition
Word format, all generates text as document files according to the form of text.
In the present embodiment, to all users on terminal unit, presetting document store path can be become by default setting
Unified path, such as, for all users on terminal unit, preset document store path all by default setting be " D:
users\doc”。
In the present embodiment, preset document store path and can also be arranged to different paths according to the difference of user,
And the method arranged can be specified according to the arranging instruction of user by electronic equipment, boundary is set for example, it is possible to provide the user with
Face, being set to the default document store path of user " user1 " " D: user1 mydocument ";Or each user
Default document store path can also be by default setting, such as, the default document store path of user " user3 " is set by default
Being set to " D: user3 doc ", the default document store path of user " user4 " is " D: user4 doc " by default setting.
Step 304, to each file in the file indicated by the data in clipbook, obtains the tray of this document
Formula, if the file format of this document is picture file, forwards step 306 to, if the file format of this document is document files,
Forward step 307 to, if the file format of this document is font file or dictionary file, forward step 308 to.
In the present embodiment, the data lattice of the data in the clipbook that above-mentioned electronic equipment can determine in step 302
In the case of formula is file format, to each file in the file indicated by the data in clipbook, obtain the literary composition of this document
Part form, if the file format of this document is picture file, forwards step 306 to, if the file format of this document is document
File, forwards step 307 to, if the file format of this document is font file or dictionary file, forwards step 308 to.
In the present embodiment, above-mentioned electronic equipment can obtain the file format of file, such as extension name in every way
Mode, characteristic signature mode, metadata mode, type codes mode, magic number mode, file attribute mode and expansion type fashion etc.
Deng.
As a example by extension name mode, first above-mentioned electronic equipment can obtain the extension name of this document, then according to extension
Name identifies file format.Such as, the image class file for extension entitled jpg, gif, bmp, png etc. identifies file format
For picture file, it is document files for extend the document files of entitled txt, doc, html, xml etc. identifying file format,
Be font file for extend the font file of entitled ttf, fon, chr etc. identifying file format, for extend entitled bin,
It is dictionary file that the dictionary file identification of uwl, dat, scel, bgl, mdx, mdd etc. goes out file format.
Step 305, it is judged that whether above-mentioned data form belongs to default picture format, if it is, forward step 309 to, if
No, forward step 312 to.
In the present embodiment, above-mentioned electronic equipment can be with the data form of the data in the clipbook that determines in step 302
In the case of picture format, it is judged that whether above-mentioned data form belongs to default picture format, if it is, forward step 309 to, as
The most no, forward step 312 to.Here presetting at picture format can be at least one picture format, can be such as jpg, gif,
Tetra-kinds of picture formats of bmp, png.
Step 306, it is judged that whether the file format of this document belongs to default picture format, if it is, forward step 311 to,
If it does not, forward step 310 to.
In the present embodiment, the file format of this document that above-mentioned electronic equipment can obtain in step 304 is picture
In the case of file, it is judged that whether the file format of this document belongs to default picture format, if it is, forward step 311 to, if
No, forward step 310 to.
Step 307, stores this document under the default document store path of terminal unit.
In the present embodiment, the file format of this document that above-mentioned electronic equipment can obtain in step 304 is document
In the case of file, this document is stored under the default document store path of terminal unit.
Step 308, stores this document under the store path corresponding to the character library of terminal unit or dictionary.
In the present embodiment, above-mentioned electronic equipment can be with the file format of this document of acquisition in step 304 for character library literary composition
In the case of part or dictionary file, this document is stored under the store path corresponding to the character library of terminal unit or dictionary.
In the present embodiment, this document can be stored terminal to all users on terminal unit by above-mentioned electronic equipment
Under store path corresponding to common user's character library of equipment or dictionary, this document can also be stored end by above-mentioned electronic equipment
Under store path corresponding to the character library of the currently logged on user of end equipment or dictionary.
Step 309, for the data genaration picture file in clipbook and picture file is stored terminal unit preset
Under picture store path.
In the present embodiment, the data lattice of the data in the clipbook that above-mentioned electronic equipment can judge in step 305
Formula is picture format and in the case of this data form belongs to default picture format, for the data genaration picture file in clipbook
And picture file is stored under the default picture store path of terminal unit.
In the present embodiment, picture file include but not limited to jpg, gif, bmp, png etc. can store color of image value,
The picture file of the view data such as brightness value or intensity value.
In the present embodiment, the method for the data genaration picture file in clipbook can be according to the number in clipbook
According to data form generate picture file, such as, the data form of the data in clipbook is " CF_BITMAP " form, just
Bitmap file is generated as picture file, it is also possible to be to use the view data in the data in clipbook according to bitmap format
Generating picture file according to the data form of acquiescence, such as, the data form regardless of the data in clipbook is any figure
Sheet form, all generates picture file according to the form of jpg file.It should be noted that the data form of above-mentioned acquiescence belongs to
Preset picture format.
In the present embodiment, to all users on terminal unit, presetting picture store path can be become by default setting
Unified path, such as, for all users on terminal unit, preset picture store path all by default setting be " D:
users\img”。
In the present embodiment, preset picture store path and can also be arranged to different paths according to the difference of user,
And the method arranged can be specified according to the arranging instruction of user by electronic equipment, boundary is set for example, it is possible to provide the user with
Face, being set to the default picture store path of user " user1 " " D: user1 myimage ";Or each user's is pre-
If picture store path can also be by default setting, such as, the default picture store path of user " user3 " by default setting is
" D: user3 img ", the default picture store path of user " user4 " is " D: user4 img " by default setting.
Step 310, is converted into the picture file of default picture format by this document, is stored by the picture file after conversion
Under the default picture store path of terminal unit.
In the present embodiment, the file format of this document that above-mentioned electronic equipment can judge within step 306 is not belonging to
In the case of presetting picture format, this document is converted into the picture file of default picture format, by the picture file after conversion
Storage is arrived under the default picture store path of terminal unit.
In the present embodiment, the method for the picture file that this document is converted into default picture format can be to use this article
View data in part, generates new picture file according to default picture format.Here, default picture format can be at least one
Plant picture format, such as, can be tetra-kinds of picture formats of jpg, gif, bmp, png.Permissible for being converted into any picture format
It is electronic equipment default setting, such as, is all converted into the picture format of jpg, it is also possible to by electronic equipment according to the finger of user
Make and specify, interface is set for example, it is possible to provide the user with, this document to be converted into the picture file of gif form.
Step 311, stores this document under the default picture store path of terminal unit.
In the present embodiment, the file format of this document that above-mentioned electronic equipment can judge within step 306 belongs to pre-
If in the case of picture format, this document is stored under the default picture store path of terminal unit.
Data in clipbook are converted into default picture format by step 312, for the data genaration picture literary composition after conversion
Part, and picture file is stored under the default picture store path of terminal unit.
In the present embodiment, the data lattice of the data in the clipbook that above-mentioned electronic equipment can judge in step 305
In the case of formula is picture format and above-mentioned data form is not belonging to preset picture format, the data in clipbook are converted into
Preset picture format, for the data genaration picture file after conversion, and picture file is stored the default picture of terminal unit
Under store path.
In the present embodiment, the data in clipbook are converted into default picture format and for conversion after data genaration figure
The method of sheet file can be to use the view data in the data in clipbook, generates new picture according to default picture format
File.Here, default picture format can be at least one picture format, such as, can be jpg, gif, bmp, png tetra-kinds figure
Sheet form.Can be electronic equipment default setting for being converted into any picture format, such as, all be converted into the figure of jpg
Sheet form, it is also possible to specified according to the instruction of user by electronic equipment, arranges interface for example, it is possible to provide the user with, to incite somebody to action
This document is converted into the picture file of gif form.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can be respectively in step 303, step
307, after step 308, step 309, step 310, step 311 and step 312, by least one file in following file
Pass to cloud server: terminal unit is preset the file under picture store path, presets the file under document store path, word
The file under store path corresponding to storehouse, the file under store path corresponding to dictionary.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can also be respectively in step 303, step
307, after step 308, step 309, step 310, step 311 and step 312, in order at least one file in lower file more
Corresponding document in new cloud server: preset the file under picture store path in terminal unit, preset document store path
Under file, the file under store path corresponding to character library, the file under store path corresponding to dictionary.
From figure 3, it can be seen that compared with the embodiment that Fig. 2 is corresponding, the flow process of the date storage method in the present embodiment
300 highlight whether the picture in the data in clipbook belongs to the step of default picture format judgement, in clipbook
Whether the picture file indicated by data belongs to the step of default picture format judgement and according to the difference of content in clipbook
And the step of different store paths is set.Thus, the scheme that the present embodiment describes can realize simple and convenient data classification
Storage.
With further reference to Fig. 4, as to the realization of method shown in above-mentioned each figure, this application provides a kind of data storage dress
The embodiment put, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can apply to respectively
Plant in electronic equipment.
As shown in Figure 4, the data storage device 400 described in the present embodiment includes: detector unit 401, determine unit 402,
First memory element 403.Wherein, detector unit 401, it is configured to the behaviour of the shortcut detecting user to presetting on terminal unit
Make;Determine unit 402, be configured to, in response to aforesaid operations being detected, determine the data in the clipbook of above-mentioned terminal unit
Data form;First memory element 403, if being configured to above-mentioned data form is picture format or text formatting, then will
Data in above-mentioned clipbook store above-mentioned terminal unit.
In the present embodiment, data storage device 400 detector unit 401, determine unit the 402, first memory element 403
The concrete technique effect processing and being brought can be respectively with reference to step 201, step 202 and step in Fig. 2 correspondence embodiment
The related description of rapid 203, does not repeats them here.
In some optional implementations of the present embodiment, the data storage device 400 that the present embodiment provides can wrap
Include: the second memory element 404, if being configured to above-mentioned data form is file format, then by the data in above-mentioned clipbook
The indicated picture file in file and document files store above-mentioned terminal unit.
In some optional implementations of the present embodiment, the first of the data storage device 400 that the present embodiment provides
Memory element 403 may include that the first judge module 4031, if being configured to above-mentioned data form is picture format, then sentences
Whether disconnected above-mentioned data form belongs to default picture format;First memory module 4032, if being configured to above-mentioned data form
Belong to above-mentioned default picture format, then for the data genaration picture file in above-mentioned clipbook and above-mentioned picture file is stored
Under the default picture store path of above-mentioned terminal unit.
In some optional implementations of the present embodiment, the first of the data storage device 400 that the present embodiment provides
Memory element 403 can also include: the second memory module 4033, if being configured to above-mentioned data form to be not belonging to above-mentioned presetting
Picture format, then be converted into above-mentioned default picture format, for the data genaration after above-mentioned conversion by the data in above-mentioned clipbook
Picture file, and above-mentioned picture file is stored under the default picture store path of above-mentioned terminal unit.
First judge module the 4031, first memory module 4032 and the concrete of the second memory module 4033 process and are carried
The technique effect come can respectively with reference to step 305, step 309 and the related description of step 312 in Fig. 3 correspondence embodiment,
This repeats no more.
In some optional implementations of the present embodiment, the first of the data storage device 400 that the present embodiment provides
Memory element 403 can also include: the 3rd memory module 4034, if being configured to above-mentioned data form is text formatting, then
For the data genaration document files in above-mentioned clipbook, the default document that above-mentioned document files stores above-mentioned terminal unit is deposited
Under storage path;Or the data in above-mentioned clipbook are stored in character library and/or the dictionary of above-mentioned terminal unit.3rd storage mould
The concrete technique effect processing and being brought of block 4034 refers to the related description of step 303 in Fig. 3 correspondence embodiment,
This repeats no more.
In some optional implementations of the present embodiment, the second of the data storage device 400 that the present embodiment provides
Memory element 404 may include that acquisition module 4041, is configured in the file indicated by the data in above-mentioned clipbook
Each file, obtains the file format of this document, and above-mentioned file format includes: picture file, document files, font file and word
Library file;Second judge module 4042, if the file format being configured to this document is picture file, it is judged that the literary composition of this document
Whether part form belongs to default picture format;4th memory module 4043, is configured to belong in response to the file format of this document
In above-mentioned default picture format, then this document is stored under the default picture store path of above-mentioned terminal unit;5th storage
Module 4044, is configured to be not belonging to above-mentioned default picture format in response to the file format of this document, then changed by this document
Become the picture file of above-mentioned default picture format, the picture file after above-mentioned conversion is stored the default figure of above-mentioned terminal unit
Under sheet store path.
In some optional implementations of the present embodiment, the second of the data storage device 400 that the present embodiment provides
Memory element 404 can also include: the 6th memory module 4045, if the file format being configured to this document is document literary composition
Part, then store this document under the default document store path of above-mentioned terminal unit.
In some optional implementations of the present embodiment, the second of the data storage device 400 that the present embodiment provides
Memory element 404 can also include: the 7th memory module 4046, if the file format being configured to this document is font file
Or dictionary file, then this document is stored under the store path corresponding to the character library of above-mentioned terminal unit or dictionary.
Acquisition module the 4041, second judge module the 4042, the 4th memory module the 4043, the 5th memory module the 4044, the 6th
Memory module 4045 can be corresponding with reference to Fig. 3 respectively with the concrete technique effect processing and being brought of the 7th memory module 4046
The related description of step 304, step 306, step 311, step 310, step 307 and step 308 in embodiment, at this no longer
Repeat.
In some optional implementations of the present embodiment, the data storage device 400 that the present embodiment provides is all right
Including: uploading unit 405, it is configured at least one files passe in following file to cloud server: above-mentioned terminal
File under above-mentioned default picture store path in equipment, the file under above-mentioned default document store path, above-mentioned character library institute is right
File under the store path answered, the file under store path corresponding to above-mentioned dictionary.Uploading unit 405 concrete process and
Its technique effect brought refers to the related description of Fig. 3 correspondence embodiment, does not repeats them here.
In some optional implementations of the present embodiment, the data storage device 400 that the present embodiment provides is all right
Including: updating block 406, it is configured to the corresponding literary composition updating in cloud server in order at least one file in lower file
Part: the file under above-mentioned default picture store path in above-mentioned terminal unit, the file under above-mentioned default document store path, on
State the file under the store path corresponding to character library, the file under store path corresponding to above-mentioned dictionary.Updating block 406
The concrete technique effect processing and being brought refers to the related description of Fig. 3 correspondence embodiment, does not repeats them here.
Below with reference to Fig. 5, it illustrates the computer system 500 being suitable to the terminal unit for realizing the embodiment of the present application
Structural representation.
As it is shown in figure 5, computer system 500 includes CPU (CPU) 501, it can be read-only according to being stored in
Program in memorizer (ROM) 502 or be loaded into the program random access storage device (RAM) 503 from storage part 508 and
Perform various suitable action and process.In RAM 503, also storage has system 500 to operate required various programs and data.
CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always
Line 504.
It is connected to I/O interface 505: include the importation 506 of keyboard, mouse etc. with lower component;Penetrate including such as negative electrode
The output part 507 of spool (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 508 including hard disk etc.;
And include the communications portion 509 of the NIC of such as LAN card, modem etc..Communications portion 509 via such as because of
The network of special net performs communication process.Driver 510 is connected to I/O interface 505 also according to needs.Detachable media 511, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., be arranged in driver 510, in order to read from it as required
Computer program as required be mounted into storage part 508.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart may be implemented as computer
Software program.Such as, embodiment of the disclosure and include a kind of computer program, it includes being tangibly embodied in machine readable
Computer program on medium, described computer program comprises the program code for performing the method shown in flow chart.At this
In the embodiment of sample, this computer program can be downloaded and installed from network by communications portion 509, and/or from removable
Unload medium 511 to be mounted.When this computer program is performed by CPU (CPU) 501, perform in the present processes
The above-mentioned functions limited.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to system, method and the computer journey of the various embodiment of the application
Architectural framework in the cards, function and the operation of sequence product.In this, each square frame in flow chart or block diagram can generation
One module of table, program segment or a part for code, a part for described module, program segment or code comprises one or more
For realizing the executable instruction of the logic function of regulation.It should also be noted that some as replace realization in, institute in square frame
The function of mark can also occur to be different from the order marked in accompanying drawing.Such as, the square frame that two succeedingly represent is actual
On can perform substantially in parallel, they can also perform sometimes in the opposite order, and this is depending on involved function.Also want
It is noted that the combination of the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart, Ke Yiyong
The special hardware based system of the function or operation that perform regulation realizes, or can refer to computer with specialized hardware
The combination of order realizes.
It is described in the embodiment of the present application involved unit to realize by the way of software, it is also possible to by firmly
The mode of part realizes.Described unit can also be arranged within a processor, for example, it is possible to be described as: a kind of processor bag
Include detector unit, determine unit and the first memory element.Wherein, the title of these unit is not intended that under certain conditions to this
The restriction of unit itself, such as, detector unit is also described as " the detection user shortcut to presetting on terminal unit
The unit of operation ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, this non-volatile calculating
Machine storage medium can be the nonvolatile computer storage media described in above-described embodiment included in device;Can also be
Individualism, is unkitted the nonvolatile computer storage media allocating in terminal.Above-mentioned nonvolatile computer storage media is deposited
Contain one or more program, when one or more program is performed by an equipment so that described equipment: detection
The operation of user's shortcut to presetting on terminal unit;In response to aforesaid operations being detected, determine cutting of above-mentioned terminal unit
The data form of the data in pasting board;If above-mentioned data form is picture format or text formatting, then by above-mentioned clipbook
Data store above-mentioned terminal unit.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, also should contain in the case of without departing from described inventive concept simultaneously, above-mentioned technical characteristic or its equivalent feature carry out
Combination in any and other technical scheme of being formed.Such as features described above has similar merit with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (20)
1. a date storage method, it is characterised in that described method includes:
The operation of the detection user shortcut to presetting on terminal unit;
In response to described operation being detected, determine the data form of data in the clipbook of described terminal unit;
If described data form is picture format or text formatting, then the data in described clipbook are stored described terminal
Equipment.
Method the most according to claim 1, it is characterised in that described method also includes:
If described data form is file format, then by the picture file in the file indicated by the data in described clipbook
Described terminal unit is stored with document files.
Method the most according to claim 1, it is characterised in that if described data form is picture format or word
Form, then store described terminal unit by the data in described clipbook, including:
If described data form is picture format, then judge whether described data form belongs to default picture format;
If described data form belongs to described default picture format, then be the data genaration picture file in described clipbook also
Described picture file is stored under the default picture store path of described terminal unit.
Method the most according to claim 3, it is characterised in that if described data form is picture format or word
Form, then store described terminal unit by the data in described clipbook, also include:
If described data form is not belonging to described default picture format, then the data in described clipbook are converted into described pre-
If picture format, for the data genaration picture file after described conversion, and described picture file is stored described terminal unit
Default picture store path under.
Method the most according to claim 1, it is characterised in that if described data form is picture format or word
Form, then store described terminal unit by the data in described clipbook, including:
If described data form is text formatting, then it is the data genaration document files in described clipbook, by described document
File stores under the default document store path of described terminal unit;Or
Data in described clipbook are stored in character library and/or the dictionary of described terminal unit.
Method the most according to claim 2, it is characterised in that described by the file indicated by the data in described clipbook
In picture file and document files store described terminal unit, including:
To each file in the file indicated by the data in described clipbook, obtain the file format of this document, described literary composition
Part form includes: picture file, document files, font file and dictionary file;
If the file format of this document is picture file, it is judged that whether the file format of this document belongs to default picture format;
File format in response to this document belongs to described default picture format, then this document stores presetting of described terminal unit
Under picture store path;File format in response to this document is not belonging to described default picture format, then be converted into by this document
The picture file of described default picture format, stores the default picture of described terminal unit by the picture file after described conversion
Under store path.
Method the most according to claim 6, it is characterised in that described by the file indicated by the data in described clipbook
In picture file and document files store described terminal unit, also include:
If the file format of this document is document files, then this document is stored the default document storage of described terminal unit
Under path.
Method the most according to claim 7, it is characterised in that described by the file indicated by the data in described clipbook
In picture file and document files store described terminal unit, also include:
If the file format of this document is font file or dictionary file, then this document is stored the word of described terminal unit
Under store path corresponding to storehouse or dictionary.
9. according to the method according to any one of claim 3-8, it is characterised in that described method also includes:
By at least one files passe in following file to cloud server: preset picture storage described in described terminal unit
File under path, the file under described default document store path, the file under store path corresponding to described character library, institute
The file under store path corresponding to predicate storehouse.
10. according to the method according to any one of claim 3-8, it is characterised in that described method also includes:
Update the corresponding document in cloud server: in order at least one file in lower file described in described terminal unit in advance
If the file under picture store path, the file under described default document store path, the store path corresponding to described character library
Under file, the file under store path corresponding to described dictionary.
11. 1 kinds of data storage devices, it is characterised in that described device includes:
Detector unit, is configured to the operation of the shortcut detecting user to presetting on terminal unit;
Determine unit, be configured in response to described operation being detected, determine data in the clipbook of described terminal unit
Data form;
First memory element, if being configured to described data form is picture format or text formatting, then by described clipbook
In data store described terminal unit.
12. devices according to claim 11, it is characterised in that described device also includes:
Second memory element, if being configured to described data form is file format, then by the data institute in described clipbook
Picture file and document files in the file of instruction store described terminal unit.
13. devices according to claim 11, it is characterised in that described first memory element includes:
First judge module, if being configured to described data form is picture format, then judges whether described data form belongs to
In default picture format;
First memory module, if being configured to described data form to belong to described default picture format, is then described clipbook
In data genaration picture file and under described picture file is stored the default picture store path of described terminal unit.
14. devices according to claim 13, it is characterised in that described first memory element also includes:
Second memory module, if being configured to described data form to be not belonging to described default picture format, then clips and pastes described
Data in plate are converted into described default picture format, for the data genaration picture file after described conversion, and by described picture
File stores under the default picture store path of described terminal unit.
15. devices according to claim 11, it is characterised in that described first memory element includes:
3rd memory module, if being configured to described data form is text formatting, is then that the data in described clipbook are raw
Become document files, described document files is stored under the default document store path of described terminal unit;Or
Data in described clipbook are stored in character library and/or the dictionary of described terminal unit.
16. devices according to claim 12, it is characterised in that described second memory element includes:
Acquisition module, is configured to, to each file in the file indicated by the data in described clipbook, obtain this document
File format, described file format includes: picture file, document files, font file and dictionary file;
Second judge module, if the file format being configured to this document is picture file, it is judged that the file format of this document
Whether belong to default picture format;
4th memory module, is configured to belong to described default picture format in response to the file format of this document, then by this article
Part stores under the default picture store path of described terminal unit;
5th memory module, is configured to be not belonging to described default picture format in response to the file format of this document, then should
File is converted into the picture file of described default picture format, and the picture file after described conversion is stored described terminal unit
Default picture store path under.
17. devices according to claim 16, it is characterised in that described second memory element also includes:
6th memory module, if the file format being configured to this document is document files, then stores described by this document
Under the default document store path of terminal unit.
18. devices according to claim 17, it is characterised in that described second memory element also includes:
7th memory module, if the file format being configured to this document is font file or dictionary file, then by this document
Storage is under the store path corresponding to the character library of described terminal unit or dictionary.
19. according to the device according to any one of claim 13-18, it is characterised in that described device also includes:
Uploading unit, is configured at least one files passe in following file to cloud server: described terminal unit
Described in preset the file under picture store path, the file under described default document store path, corresponding to described character library
File under store path, the file under store path corresponding to described dictionary.
20. according to the device according to any one of claim 13-18, it is characterised in that described device also includes:
Updating block, is configured in order to the corresponding document at least one file renewal cloud server in lower file: institute
State and described in terminal unit, preset the file under picture store path, the file under described default document store path, described word
The file under store path corresponding to storehouse, the file under store path corresponding to described dictionary.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610465916.3A CN106201337A (en) | 2016-06-23 | 2016-06-23 | Date storage method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610465916.3A CN106201337A (en) | 2016-06-23 | 2016-06-23 | Date storage method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106201337A true CN106201337A (en) | 2016-12-07 |
Family
ID=57460799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610465916.3A Pending CN106201337A (en) | 2016-06-23 | 2016-06-23 | Date storage method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201337A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107231415A (en) * | 2017-05-25 | 2017-10-03 | 腾讯科技(深圳)有限公司 | The network storage method and device of picture |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090172581A1 (en) * | 2008-01-02 | 2009-07-02 | Erie Processing Corporation | System, method and apparatus for multiple field pasting |
CN102821140A (en) * | 2012-07-17 | 2012-12-12 | 北京小米科技有限责任公司 | Information sharing method and information sharing terminal |
CN103608779A (en) * | 2011-06-15 | 2014-02-26 | 阿玛得斯两合公司 | Improvements in or relating to pasting data |
CN103678706A (en) * | 2013-12-30 | 2014-03-26 | 北京奇虎科技有限公司 | Picture recognition method, system, equipment and device based on screenshot information |
US20150160881A1 (en) * | 2013-12-05 | 2015-06-11 | Insyde Software Corp. | System and method for transferring data between operating systems |
-
2016
- 2016-06-23 CN CN201610465916.3A patent/CN106201337A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090172581A1 (en) * | 2008-01-02 | 2009-07-02 | Erie Processing Corporation | System, method and apparatus for multiple field pasting |
CN103608779A (en) * | 2011-06-15 | 2014-02-26 | 阿玛得斯两合公司 | Improvements in or relating to pasting data |
CN102821140A (en) * | 2012-07-17 | 2012-12-12 | 北京小米科技有限责任公司 | Information sharing method and information sharing terminal |
US20150160881A1 (en) * | 2013-12-05 | 2015-06-11 | Insyde Software Corp. | System and method for transferring data between operating systems |
CN103678706A (en) * | 2013-12-30 | 2014-03-26 | 北京奇虎科技有限公司 | Picture recognition method, system, equipment and device based on screenshot information |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107231415A (en) * | 2017-05-25 | 2017-10-03 | 腾讯科技(深圳)有限公司 | The network storage method and device of picture |
CN107231415B (en) * | 2017-05-25 | 2018-09-07 | 腾讯科技(深圳)有限公司 | The network storage method and device of picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7140536B2 (en) | Method and system for highlighting modified content in a shared document | |
US9460107B2 (en) | Filename-based inference of repository actions | |
US10210142B1 (en) | Inserting linked text fragments in a document | |
GB2518245A (en) | System and method for Rendering Document in Web Browser or Mobile Device regardless of Third-Party Plug-In software | |
CN107231415B (en) | The network storage method and device of picture | |
CN113535176A (en) | Page generation method and device | |
CN105867820A (en) | Text editing method and device for touch screen | |
CN104298721B (en) | A kind of arbitrarily a object split screen layout edit methods of the online courseware development based on Web | |
US10942984B2 (en) | Portal connected to a social backend | |
CN112215923A (en) | Picture generation method and device, electronic equipment and storage medium | |
CN105940370A (en) | Providing print view of document for editing in web-based application | |
CN106201337A (en) | Date storage method and device | |
CN105373310B (en) | Method and apparatus based on the user's operation real-time update page | |
CN118101842A (en) | Information processing apparatus, control method therefor, and storage medium | |
CN111581922A (en) | Document processing method, device, equipment and medium based on document editing software | |
JP2006065467A5 (en) | ||
KR101781844B1 (en) | Apparatus for synchronizing combination letter of markup language based document and operating method thereof | |
CN104615601A (en) | Webpage based recording system and method thereof | |
JP2001076045A (en) | Operation flowchart generation assisting device and recording medium thereof | |
CN107491466A (en) | client device, information processing system and information processing method | |
CN105373524A (en) | Demonstration text editing method and apparatus | |
JP2005107635A (en) | Electronic form input system, method and program, and medium | |
CN107346557B (en) | Method and apparatus for updating animation | |
CN109510812A (en) | Smart electronics job instruction billboard management system and method | |
CN104331390A (en) | Method and device for screening text |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |