CN107885827A - File acquisition method, device, storage medium and electronic equipment - Google Patents
File acquisition method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN107885827A CN107885827A CN201711087225.5A CN201711087225A CN107885827A CN 107885827 A CN107885827 A CN 107885827A CN 201711087225 A CN201711087225 A CN 201711087225A CN 107885827 A CN107885827 A CN 107885827A
- Authority
- CN
- China
- Prior art keywords
- file
- acquisition
- history
- text information
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application discloses a kind of file acquisition method, device, storage medium and electronic equipment, wherein method includes:When receiving file acquisition instruction, obtain the history to prestore and obtain record;The history obtained according to the history in record obtains file, determines that the history obtains the target document collection where file in default file set storehouse;In the target document collection, Target Acquisition file is obtained, wherein the Target Acquisition file is the indicated file obtained of file acquisition instruction.The embodiment of the present application can greatly improve search efficiency of the system to file in the case where needing to continuously acquire the scene of file, taking needed for locating file be reduced, so as to reduce the power consumption of electronic equipment.
Description
Technical field
The application is related to electronic technology field, and in particular to a kind of file acquisition method, device, storage medium and electronics are set
It is standby.
Background technology
People during work or reading, be likely to encounter with rarely used word or other do not know about the text of its right pronunciation
Chapter or sentence, influence the normal life and work of people.
When running into these sentences, the people of the sentence right pronunciation can only be generally understood at one's side by inquiry, or
Multimedia file of the person by electronic equipment from Network Capture on the right pronunciation of these sentence contents, and pass through electronic equipment
The multimedia file is played out to understand.
But, it is necessary in database during electronic equipment searches multimedia file corresponding to the sentence content
Searched, if now electronics can be influenceed if the data volume deposited in database is larger and the number that requires to look up is more
The operational efficiency of equipment, causes to search required time-consuming longer, and then make it that amount of equipment power consumption is larger.
The content of the invention
The embodiment of the present application provides a kind of file acquisition method, device, storage medium and electronic equipment, can improve acquisition
The efficiency of file, so as to reduce the power consumption of electronic equipment.
In a first aspect, the embodiment of the present application provides a kind of file acquisition method, application and electronic equipment, methods described bag
Include:
When receiving file acquisition instruction, obtain the history to prestore and obtain record;
The history obtained according to the history in record obtains file, and the history is determined in default file set storehouse
Obtain the target document collection where file;
In the target document collection, Target Acquisition file is obtained, wherein the Target Acquisition file is the file
Obtain the indicated file obtained of instruction.
Second aspect, the embodiment of the present application also provide a kind of file acquisition device, including:
Acquisition module is recorded, for when receiving file acquisition instruction, obtaining the history to prestore and obtaining record;
Gather determining module, the history for being obtained according to the history in record obtains file, in default file set
Close the target document collection for determining that the history is obtained where file in storehouse;And
Acquisition module, in the target document collection, Target Acquisition file being obtained, wherein the Target Acquisition is literary
Part is the indicated file obtained of file acquisition instruction.
The third aspect, the embodiment of the present application also provide a kind of storage medium, and the storage medium stores a plurality of instruction, described
When a plurality of instruction is suitable to run on computers so that the computer performs file acquisition method as described above.
Fourth aspect, the embodiment of the present application also provide a kind of electronic equipment, including processor and memory, the memory
A plurality of instruction is stored, the processor is used to perform file acquisition side as described above by loading the instruction in the memory
Method.
A kind of file acquisition method that the embodiment of the present application provides, recorded by obtaining the history to prestore acquisition, and according to
The history obtains record and determines that history obtains the target document collection where file, and preferentially in this document set needed for lookup
Target Acquisition file, search efficiency of the system to file can be greatly improved in the case where needing to continuously acquire the scene of file, is subtracted
It is time-consuming needed for few locating file, so as to reduce the power consumption of electronic equipment.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the application is described in detail, the technical scheme of the application will be made
And other beneficial effects are apparent.
Fig. 1 is the application scenarios schematic diagram for the file acquisition method that the embodiment of the present application provides.
Fig. 2 is the implementation process figure for the file acquisition method that the embodiment of the present application provides.
Fig. 3 is the implementation process figure for the acquisition Target Acquisition file that the embodiment of the present application provides.
Fig. 4 is another implementation process figure for the acquisition Target Acquisition file that the embodiment of the present application provides.
Fig. 5 is the another application schematic diagram of a scenario for the file acquisition method that the embodiment of the present application provides.
Fig. 6 is the implementation process figure for the file set that sets the goal really that the embodiment of the present application provides.
Fig. 7 is the another application scenarios schematic diagram for the file acquisition method that the embodiment of the present application provides.
Fig. 8 is another implementation process figure for the file acquisition method that the embodiment of the present application provides.
Fig. 9 is the structural representation for the file acquisition device that the embodiment of the present application provides.
Figure 10 is the structural representation for the acquisition module that the embodiment of the present application provides.
Figure 11 is another structural representation for the acquisition module that the embodiment of the present application provides.
Figure 12 is another structural representation for the file acquisition device that the embodiment of the present application provides.
Figure 13 is the another structural representation for the file acquisition device that the embodiment of the present application provides.
Figure 14 is the structural representation for the electronic equipment that the embodiment of the present application provides.
Figure 15 is another structural representation for the electronic equipment that the embodiment of the present application provides.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, and the principle of the application is to implement one
Illustrated in appropriate computing environment.The following description is based on illustrated the application specific embodiment, and it should not be by
It is considered as limitation the application other specific embodiments not detailed herein.
Term as used herein " module " can be the software object performed in the arithmetic system.Difference as described herein
Component, module, engine and service can be the objective for implementation in the arithmetic system.And device and method as described herein can be with
The mode of software is implemented, and can also be implemented certainly on hardware, within the application protection domain.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
In one embodiment, electronic equipment, which can be obtained first, reads a file, point read file can be picture, photo or
Coding etc..After a reading file is got, electronic equipment can obtain multimedia file, and multimedia file can be audio text
Part or video file etc..Then, the point got can be read file and multimedia file by electronic equipment is associated.For example,
Electronic equipment associates picture A with audio a, and photo B is associated with audio b, and photo C is associated with video c.By read a file
After being associated with multimedia file, electronic equipment can be by these document data savings in presetting database.
It is understood that in some embodiments, point is read be to correspond between file and multimedia file
Relation or one-to-many relation, or many-to-one relation etc., the present embodiment is not specifically limited to this.
When using read-on-command function, user first can shoot a photo using mobile electronic device or be selected from photograph album
Take a photo or scan some coding.The photo that user shoots the to obtain coding that either photo of selection or scanning obtain
Exactly need to carry out an object read.After getting needs and carrying out an object read, electronic equipment can be in preset data
Searched in storehouse and carry out a photo or coding for the object matching read with the needs.If exist and the needs in presetting database
Carrying out a photo or coding for the object matching read, then electronic equipment can searches the multimedia file being associated, and
Play the multimedia file.
In one embodiment, such as point reading sample is picture A, three sections of words is included in the photo, per passage
All it is associated with a section audio.So, when the photo that user shoots to obtain matches with the picture A in presetting database, due to shining
Include three sections of words in piece A, and every section of word is associated with a corresponding section audio, then user can be by specifically choosing
The mode of certain section of word in picture A, selection play its corresponding audio.Or user can not also specifically select, that
Electronic equipment can be with audio corresponding to three sections of words of played in order.
Referring to Fig. 1, for example, user shoots to obtain a photo X using electronic equipment, electronic equipment is in presetting database
In find matched with photo X for picture A.Three sections of words, wherein first paragraph character associative audio first are included in picture A, the
Two sections of character associative audio second, the 3rd section of character associative audio third.For example, as shown in figure 1, user encloses on screen has selected second
Region where section word, then electronic equipment can correspond to and play audio second.
The text in a certain object (such as photo) is entered it is understood that the present embodiment can be realized on an electronic device
The function that row point is read, this mode have the beneficial effects such as cost is low, convenience is good.
Application scenarios in the embodiment of the present application, wherein electronic equipment, can include mobile phone (or for " honeycomb " electricity
Words, such as smart mobile phone) or with wireless communication module computer, for example, tablet personal computer, can also be portable, pocket
The car-mounted computer of formula, hand-held, they exchange language and/or data with wireless access network.For example, PCS
(Personal Communication Service, PCS) phone, wireless phone, Session initiation Protocol (Session
Initiation Protocol, SIP) phone, WLL (Wireless Local Loop, WLL) stand, individual digital
The equipment such as assistant (Personal Digital Assistant, PDA), are not limited thereto.Wherein, electronic equipment is provided with image
Acquisition module, such as camera, electronic equipment can get the image of needs by the camera.
When this method is applied in electronic equipment, electronic equipment can include but is not limited to smart mobile phone, tablet personal computer, pen
Remember the terminals such as this computer, palm PC, Intelligent bracelet.Wherein, this document acquisition methods may operate at the operation system of electronic equipment
In system, it may include but it is not limited to Windows operating system, Mac OS operating systems, Android operation system, IOS operations system
System, Symbian (Saipan) operating system, Windows Phone operating systems etc., the embodiment of the present application does not limit.
Referring to Fig. 2, the implementation process of the file acquisition method in the embodiment of the present application is shown in figure, for the ease of saying
It is bright, the part related to teachings herein is illustrate only in figure.
As shown in Fig. 2 a kind of file acquisition method, comprises the following steps:
101st, when receiving file acquisition instruction, obtain the history to prestore and obtain record;
Wherein, " acquisition " here refers to obtaining the data of this document so that system can perform certain using the data
A little specific operations, such as file is opened, replicated.It is that electronic equipment receives some operations or reached that this document, which obtains instruction,
To after some conditions, the action command that is sent to obtain certain specific file in equipment or network.
In certain embodiments, user needs to inquire about on an electronic device with the presence or absence of certain content, and such as " file A " is for inquiry
No presence, now user can input content " the file A ", and confirmation behaviour is carried out to the content for needing to inquire about on an electronic device
Make;After electronic equipment receives confirmation operation, then the file acquisition instruction on the content can be generated and sent, so as to refer to
Show that system is inquired about the content, obtained on an electronic device.
It is electronic equipment after the acquisition operation of a file is completed that history, which obtains record, and what is generated operates to the acquisition
The log file of middle particular content.
In certain embodiments, the history is obtained record and can obtained with one or many obtain in operation of certain in log history
The history taken obtains the fileinfo of file, as the history obtains file name, file address and/or the acquisition time of file
Deng.
102nd, the history obtained according to history in record obtains file, determines that history obtains in default file set storehouse
Target document collection where file.
Wherein, history, which obtains file, is the file of the once acquired mistake in electronic equipment or network, such as is setting
The multimedia file that (for example, before 1 day) played out in period.
File set storehouse can include one or more file sets, and this document set is made up of multiple files
Set, the file in this document set are the file with common trait connected by some preset rules.For example, certain
Books have multiple chapters and sections, and all multimedia files corresponding to these chapters and sections can form the related file set of the books.Should
File set storehouse can include multiple file sets.
In certain embodiments, it can be obtained and recorded according to history, know that the history described in it obtains file and its institute
The file set of category, the file set where the history is obtained into file is as target document collection.
Specifically, during the determination that history obtains the file set belonging to file, can be obtained by obtaining the history
Take file attribute corresponding to file to determine the file set belonging to it, or obtained from history in record and directly determine that the history obtains
Take the file set belonging to file.It should be understood that the acquisition pattern that specific history obtains the file set belonging to file can be with
Depending on actual conditions, the application is not construed as limiting to this.
For example, record has the file attribute that history obtains file " 6 grades-audio A of primary school ", root in history obtains record
It can determine that " the 6 grades-audio A of primary school " belongs to the file set of entitled " primary school 6 grades " according to this document attribute, because
This, it may be determined that " primary school 6 grades " is the target document collection of " 6 grades-audio A of primary school ".
103rd, in target document collection, Target Acquisition file is obtained, wherein Target Acquisition file instructs for file acquisition
The file of indicated acquisition.
Wherein, " acquisition " here refers to obtaining the data of this document so that system can perform certain using the data
A little specific operations, such as file is opened, replicated.It is that electronic equipment receives some operations or reached that this document, which obtains instruction,
To after some conditions, the action command that is sent to obtain certain specific file in equipment or network.
In certain embodiments, in target document collection, the process of Target Acquisition file is obtained, following step can be included
Suddenly:
It whether there is Target Acquisition file in searched targets file set, wherein Target Acquisition file instructs for file acquisition
The file of indicated acquisition;
If Target Acquisition file is not present in target document collection, retrieved in remaining file set.
Wherein, file acquisition instruction can typically carry the characteristic information for the file for needing to obtain.For example, user needs to inquire about
It can believe in electronic equipment with the presence or absence of the article for including certain section of content, then this document acquisition instruction using this section of content as feature
Breath association to this document is obtained in instruction.
In certain embodiments, when needing to whether there is Target Acquisition file in searched targets file set, can utilize
The characteristic information of the entrained Target Acquisition file of file acquisition instruction, by itself and the fileinfo progress in file set
Match somebody with somebody, using the file that the match is successful as Target Acquisition file.
Wherein, remaining file set is the file set in addition to target document collection in file set storehouse.
In certain embodiments, can be retrieved when being retrieved to remaining file set by preset rules, for example,
Retrieved according to the sequencing of storage time, can also be according to the title initial of remaining file set, Digital size etc.
Order is retrieved.It should be understood that the specific retrieval mode of remaining file set can be set according to actual conditions.
When Target Acquisition file is not present in the file in target document collection, then examined from remaining file set
Rope so that retrieving has priority, improves system retrieval efficiency.
In the prior art, if after user once obtains to the data in certain file set, it is possible to needing to exist
Alternative document is obtained in identical file set.For example, in the presence of the file set related to certain this books, when user once makes upper
After certain partial content in the books being translated or being played in the action such as multimedia file related to the content, have
May be at it backward to that in the reading process of the books, the other parts content of the books can be translated or played there is also having
The demand of the multimedia file related to the content.Now obtained and recorded according to history, by where the file once obtained
File set obtains file identical file collection when user needs to retrieve to be located at as the target document collection preferentially retrieved with history
During file in conjunction, desired file can be quickly found out.
The file acquisition method that the embodiment of the present application provides, can greatly improve search efficiency of the system to file, reduce
It is time-consuming needed for locating file, so as to reduce the power consumption of electronic equipment.
Referring to Fig. 3, the implementation process of the acquisition Target Acquisition file in the embodiment of the present application is shown in figure, for the ease of
Illustrate, the part related to teachings herein is illustrate only in figure.
In certain embodiments, when needing to be retrieved by the text information that gets, file acquisition instruction can be with
Text information to be matched is carried, at the same time, each file is associated with corresponding default text information in file set.
Wherein, it is related to the content of file to preset text information., can be with for example, the content of speaking in an audio file
Default text information is used as by the use of the word corresponding to content of speaking.
As shown in figure 3, whether there is Target Acquisition file in searched targets file set, may comprise steps of:
201st, the entrained text information to be matched of file acquisition instruction is obtained, by text information to be matched and default word
Information is matched.
When generating file acquisition instruction, the text information for needing to match and file acquisition instruction can be associated.When
, can be by by each text in the text information to be matched and target document collection when needing to retrieve required Target Acquisition file
The default text information of part association is matched, to determine whether there is Target Acquisition file.
202nd, the default text information matched with text information to be matched is judged whether;If so, then will be with associating text
File as Target Acquisition file and is obtained corresponding to word information.
Wherein, by the matching process of text information to be matched and default text information, can be calculated by preset formula
The indexs such as both matching degree, repetitive rate are judged that the matching degree and repetitive rate can be a specific parameters.
In certain embodiments, a predetermined threshold value can be set, when text information to be matched and default text information
Matching degree or repetitive rate are more than the predetermined threshold value, you can think that the text information to be matched matches with the default text information.
For example, certain text information to be matched is " duck swimming ", then when there are in default text information comprising " duck is swum
During swimming ", it is believed that the match is successful.
203rd, file corresponding with association text information as Target Acquisition file and is obtained.
In certain embodiments, then can be with when it is determined that default text information be present, the match is successful with text information to be matched
Using file corresponding to the related information as Target Acquisition file, and perform the step of being obtained to the Target Acquisition file.
When this document is multimedia file, such as audio file either video file, in the prior art multimedia file
Directly it can not be matched with text information.The embodiment of the present application will be obtained by setting the default text information with file association
The text information to be matched for taking file acquisition instruction entrained is matched with associating documentary default text information so that is
System can be easier to retrieve and get required multimedia file, improve file acquisition efficiency.
Referring to Fig. 4, another implementation process of the acquisition Target Acquisition file in the embodiment of the present application is shown in figure, in order to
It is easy to illustrate, the part related to teachings herein is illustrate only in figure.
In the case that if quantity of documents in file set is more, in order to further improve the retrieval to Target Acquisition file
Speed, as shown in figure 4, whether there is Target Acquisition file in described searched targets file set, it may comprise steps of:
301st, obtain history and obtain sequence notation corresponding to file.
Wherein, file set includes multiple files, and sequence notation is equipped with each file.The sequence notation is used for body
Existing ordinal relation of the file in the file set, such as the word of the numeral with size order relation, precedence relationship
Mother etc..
In certain embodiments, sequence notation can be with numeral, letter, or the file that numeral combines with letter
Name, such as entitled " 11,12,13 " file or file entitled " a, b, the c " file of file;Sequence notation can also be set
Put in the attribute of file, the attribute by obtaining this document obtains the sequence notation of this document.It should be noted that order is marked
Note can be uniquely corresponding with file.
302nd, the sequence notation according to corresponding to history obtains file, determines the file to be retrieved in file set.
Wherein, file to be retrieved is the file after the order for obtaining file positioned at history in target document collection.
In certain embodiments, the file to be retrieved in target document collection is determined, can first obtain target document collection
The sequence notation of middle All Files, the sequence notation scope of the target document collection is determined according to the sequence notation of All Files,
File after the order that file will be obtained positioned at history in target document collection is as file to be retrieved.
With reference to figure 5, the file of the sequence notation of " 1-12 " scope for example, in target document collection, is contained, works as acquisition
History obtain file corresponding to sequence notation be " 8 ", then can will be in the file conduct of the sequence notation in the range of " 9-12 "
File to be retrieved.
303rd, retrieved in order in file to be retrieved and obtain Target Acquisition file.
For example, after the file of the sequence notation in the range of by " 9-12 " is as file to be retrieved, can be directly at this
Retrieved in a little files to be retrieved, and Target Acquisition file is obtained after Target Acquisition file is retrieved.
It follows that by setting sequence notation on file, the order of file is obtained according to history for this application embodiment
Mark determines the file to be retrieved in target document collection, can reduce the file extent for needing to retrieve, and then further improve
The document retrieval of electronic equipment and acquisition speed.
Referring to Fig. 6, the implementation process for the file set that set the goal really in the embodiment of the present application is shown in figure, for the ease of
Illustrate, the part related to teachings herein is illustrate only in figure.
In some cases, so that user carries out the process of a read operation to books as an example, if acquisition required for this time of user
File and preceding once acquired file be in same chapters and sections, now if still obtaining text from the history acquired in the last time
File set where part is retrieved, and can expend substantial amounts of retrieval time.It can now be preserved in history obtains record nearest
The multiple acquisition obtained to file record, forms multiple history and obtains file.
Include the acquisition record of multiple history acquisition files when history obtains record, and file acquisition instruction carrying needs
During matching literal information, as shown in fig. 6, before obtaining the history to prestore and obtaining record, it may comprise steps of:
401st, the content keyword in history acquisition file is extracted, content keyword and history are obtained into file is closed
Connection.
In certain embodiments, history obtains the content keyword in file, can be artificial default keyword, also may be used
To be that the keyword in default text information is extracted by machine, specific implementation can be depending on actual conditions.
For example, the higher word of the frequency of occurrences in one section of word is extracted, the keyword as " duck swimming " is obtained,
Then " duck swimming " is obtained into file with history to be associated.
After content keyword and history to be obtained to file and are associated, step 402 is performed:
402nd, when receiving file acquisition instruction, obtain the history to prestore and obtain record.
Wherein, " acquisition " here refers to obtaining the data of this document so that system can perform certain using the data
A little specific operations, such as file is opened, replicated.It is that electronic equipment receives some operations or reached that this document, which obtains instruction,
To after some conditions, the action command that is sent to obtain certain specific file in equipment or network.
After getting history and obtaining record, the history obtained according to the history in record obtains file, default
File set storehouse in determine that the history obtains the target document collection where file, may comprise steps of:
403rd, text information to be matched is obtained into the content keyword in file with multiple history to be matched.
Wherein, by the matching process of text information to be matched and content keyword, two can be calculated by preset formula
The indexs such as the matching degree of person, repetitive rate are judged that the matching degree and repetitive rate can be a specific parameters.
In certain embodiments, a predetermined threshold value can be set, as of text information to be matched and content keyword
Match somebody with somebody or repetitive rate is more than the predetermined threshold value, you can think that the text information to be matched matches with the default text information.
With reference to figure 7, text information to be matched is:Pony, which is wanted to go to, looks for mother.He walks to walk to have encountered duck, just goes forward to ask
Road:" auntie, you are my mothers”.And in history obtains record, including history obtains file A, history obtains file B,
History obtains file C, and the content keyword that wherein history acquisition file A includes is " pony, looking for mother, duck ", and history obtains
The content keyword that file B includes is " crow, drinking water, stone ", and the content keyword that history obtains file C and included is " small red
Cap, wolf grandmother ".At this point it is possible to which the content keyword that text information to be matched is obtained to file with above three history matches, obtain
Obtain matching result.
Obviously, the keyword " pony, looking for mother, duck " in file A is obtained comprising history in text information to be matched,
It is considered that text information to be matched matches with history acquisition file A in the example.
If the 404th, in the presence of with the text information to be matched content keyword that the match is successful, the content that the match is successful is crucial
History corresponding to word obtains file and obtains file as target histories.
The keyword in file A is obtained comprising history " pony, look for mother, duck with reference to figure 7, in text information to be matched
Son ", in this example embodiment it is considered that text information to be matched matches with history acquisition file A, then history can be obtained file A
File is obtained as target histories.
405th, determine that target histories obtain the target document collection where file in default file set storehouse.
In certain embodiments, can be obtained and recorded according to history, know target histories described in it obtain file and
File set belonging to it, the file set where the target histories are obtained into file is as target document collection.
Specifically, during the determination that target histories obtain the file set belonging to file, can be by obtaining the mesh
File attribute corresponding to mark history acquisition file determines the file set belonging to it, or obtains in record from history and directly determine
The target histories obtain the file set belonging to file.It should be understood that specific history obtains the file set belonging to file
Acquisition pattern can be depending on actual conditions, and the application is not construed as limiting to this.
It follows that in the embodiment described in the application Fig. 6, text is obtained comprising multiple history when history is obtained in record
During part, by associating the content keyword related to its content in obtaining file in history, using text information to be matched with it is interior
Hold Keywords matching and obtain file to obtain the immediate target histories of content, it is possible to achieve file is carried out more quick, accurate
Really position, further improve the retrieval to Target Acquisition file and obtain efficiency.
Referring to Fig. 8, another implementation process of the file acquisition method in the embodiment of the present application is shown in figure, for the ease of
Illustrate, the part related to teachings herein is illustrate only in figure.
As shown in figure 8, in one embodiment, this document acquisition methods comprise the following steps:
501st, receive image and obtain instruction, obtaining instruction according to image obtains target image.
In certain embodiments, image obtains instruction, can be that user triggers after electronic equipment inputs certain operational order
Generation, or electronic equipment trigger generation after some preparatory condition is met.Acquisition to target image, electronics can be used
The camera of equipment is realized.
For example, user needs to carry out image acquisition to certain bookish certain page of content, can be first by the shooting of electronic equipment
Head this page of content of alignment, and the graphic button obtained for triggering image is clicked in the operation interface of electronic equipment.Work as system
After the triggering command for receiving the graphic button, the camera on electronic equipment can be transferred, to obtain in certain bookish page
Appearance is used as target image.
502nd, target image is identified, obtains the text information in target image.
In certain embodiments, recognition methods of the prior art can be used by identifying the target image, for example, with
The character image in image is changed with algorithm.
503rd, using text information as text information to be matched, and file acquisition is generated according to text information to be matched and referred to
Order.
For example, following this section of words are shown in image:Pony, which is wanted to go to, looks for mother.He, which walks to walk, has encountered duck, just upper
Before ask:" auntie, you are my mothers", can should corresponding to these picture materials are changed into after text information
Section words are as text information to be matched generation file acquisition instruction, or extraction keyword therein is as text information to be matched
Generate file acquisition instruction.
504th, when receiving file acquisition instruction, obtain the history to prestore and obtain record.
505th, the history obtained according to history in record obtains file, determines that history obtains in default file set storehouse
Target document collection where file.
506th, it whether there is Target Acquisition file in retrieval file set.
507th, the file set in file set storehouse in addition to target document collection is retrieved.
508th, when retrieving Target Acquisition file, Target Acquisition file is obtained.
Wherein, the content in 504-508 may be referred in the application other embodiment above-mentioned steps content part carried out
The content of description is explained, the application will not be repeated here.
In the embodiment shown in fig. 8, the text information in image is obtained, and is obtained and recorded according to history, will once be obtained
File set where the file taken obtains as the target document collection preferentially retrieved when user needs to retrieve to be located at history
When taking the file in file identical file set, desired file can be quickly found out.
Referring to Fig. 9, the structure of the file acquisition device in the embodiment of the present application is shown in figure, for convenience of description, figure
In illustrate only the part related to teachings herein.
As shown in figure 9, a kind of file acquisition device 600, including record acquisition module 601, set determining module 602 and
Acquisition module 603, wherein:
Acquisition module 601 is recorded, for when receiving file acquisition instruction, obtaining the history to prestore and obtaining record;
Wherein, " acquisition " here refers to obtaining the data of this document so that system can perform certain using the data
A little specific operations, such as file is opened, replicated.It is that electronic equipment receives some operations or reached that this document, which obtains instruction,
To after some conditions, the action command that is sent to obtain certain specific file in equipment or network.
In certain embodiments, user needs to inquire about on an electronic device with the presence or absence of certain content, and such as " file A " is for inquiry
No presence, now user can input content " the file A ", and confirmation behaviour is carried out to the content for needing to inquire about on an electronic device
Make;After electronic equipment receives confirmation operation, then the file acquisition instruction on the content can be generated and sent, so as to refer to
Show that system is inquired about the content, obtained on an electronic device.
It is electronic equipment after the acquisition operation of a file is completed that history, which obtains record, and what is generated operates to the acquisition
The log file of middle particular content.
In certain embodiments, the history is obtained record and can obtained with one or many obtain in operation of certain in log history
The history taken obtains the fileinfo of file, as the history obtains file name, file address and/or the acquisition time of file
Deng.
Gather determining module 602, the history for being obtained according to history in record obtains file, in default file set
Determine that history obtains the target document collection where file in storehouse.
Wherein, history obtains the file that file is the once acquired mistake in electronic equipment or network, such as before 1 day
Some multimedia file played out.
File set storehouse can include one or more file sets, and this document set is made up of multiple files
Set, the file in this document set are the file with common trait connected by some preset rules.For example, certain
Books have multiple chapters and sections, and all multimedia files corresponding to these chapters and sections can form the related file set of the books.Should
File set storehouse can include multiple file sets.
In certain embodiments, it can be obtained and recorded according to history, know that the history described in it obtains file and its institute
The file set of category, the file set where the history is obtained into file is as target document collection.
Specifically, during the determination that history obtains the file set belonging to file, can be obtained by obtaining the history
Take file attribute corresponding to file to determine the file set belonging to it, or obtained from history in record and directly determine that the history obtains
Take the file set belonging to file.It should be understood that the acquisition pattern that specific history obtains the file set belonging to file can be with
Depending on actual conditions, the application is not construed as limiting to this.
For example, record has the file attribute that history obtains file " 6 grades-audio A of primary school ", root in history obtains record
It can determine that " the 6 grades-audio A of primary school " belongs to the file set of entitled " primary school 6 grades " according to this document attribute, because
This, it may be determined that " primary school 6 grades " is the target document collection of " 6 grades-audio A of primary school ".
The acquisition module 603, in the target document collection, Target Acquisition file being obtained, wherein the mesh
It is the indicated file obtained of file acquisition instruction that mark, which obtains file,.
Wherein, " acquisition " here refers to obtaining the data of this document so that system can perform certain using the data
A little specific operations, such as file is opened, replicated.It is that electronic equipment receives some operations or reached that this document, which obtains instruction,
To after some conditions, the action command that is sent to obtain certain specific file in equipment or network.
In certain embodiments, acquisition module 603 is specifically used for:
It whether there is Target Acquisition file in searched targets file set, wherein Target Acquisition file instructs for file acquisition
The file of indicated acquisition;
If Target Acquisition file is not present in target document collection, retrieved in remaining file set.
Wherein, file acquisition instruction can typically carry the characteristic information for the file for needing to obtain.For example, user needs to inquire about
It can believe in electronic equipment with the presence or absence of the article for including certain section of content, then this document acquisition instruction using this section of content as feature
Breath association to this document is obtained in instruction.
In certain embodiments, when needing to whether there is Target Acquisition file in searched targets file set, can utilize
The characteristic information of the entrained Target Acquisition file of file acquisition instruction, by itself and the fileinfo progress in file set
Match somebody with somebody, using the file that the match is successful as Target Acquisition file.
Wherein, remaining file set is the file set in addition to target document collection in file set storehouse.
In certain embodiments, can be retrieved when being retrieved to remaining file set by preset rules, for example,
Retrieved according to the sequencing of storage time, can also be according to the title initial of remaining file set, Digital size etc.
Order is retrieved.It should be understood that the specific retrieval mode of remaining file set can be set according to actual conditions.
When Target Acquisition file is not present in the file in target document collection, then examined from remaining file set
Rope so that retrieving has priority, improves system retrieval efficiency.
In the prior art, if after user once obtains to the data in certain file set, it is possible to needing to exist
Alternative document is obtained in identical file set.For example, in the presence of the file set related to certain this books, when user once makes upper
After certain partial content in the books being translated or being played in the action such as multimedia file related to the content, have
May be at it backward to that in the reading process of the books, the other parts content of the books can be translated or played there is also having
The demand of the multimedia file related to the content.Now obtained and recorded according to history, by where the file once obtained
File set obtains file identical file collection when user needs to retrieve to be located at as the target document collection preferentially retrieved with history
During file in conjunction, desired file can be quickly found out.
The file acquisition device 600 that the embodiment of the present application provides, can greatly improve search efficiency of the system to file, subtract
It is time-consuming needed for few locating file, so as to reduce the power consumption of electronic equipment.
Referring to Figure 10, the structure of the acquisition module in the embodiment of the present application is shown in figure, for convenience of description, in figure only
Show the part related to teachings herein.
In certain embodiments, when needing to be retrieved by the text information that gets, file acquisition instruction can be with
Text information to be matched is carried, at the same time, each file is associated with corresponding default text information in file set.
Wherein, it is related to the content of file to preset text information., can be with for example, the content of speaking in an audio file
Default text information is used as by the use of the word corresponding to content of speaking.
As shown in Figure 10, acquisition module 603, the first matched sub-block 6031, the first acquisition submodule 6032 can be included,
Wherein:
First matched sub-block 6031, the to be matched text information entrained for obtaining file acquisition instruction will be treated
Matched with text information with default text information.
When generating file acquisition instruction, the text information for needing to match and file acquisition instruction can be associated.When
, can be by by each text in the text information to be matched and target document collection when needing to retrieve required Target Acquisition file
The default text information of part association is matched, to determine whether there is Target Acquisition file.
First acquisition submodule 6032, for the default word letter for judging whether to match with text information to be matched
Breath;If so, then file corresponding with association text information as Target Acquisition file and is obtained.
Wherein, by the matching process of text information to be matched and default text information, can be calculated by preset formula
The indexs such as both matching degree, repetitive rate are judged that the matching degree and repetitive rate can be a specific parameters.
In certain embodiments, a predetermined threshold value can be set, when text information to be matched and default text information
Matching degree or repetitive rate are more than the predetermined threshold value, you can think that the text information to be matched matches with the default text information.
In certain embodiments, then can be with when it is determined that default text information be present, the match is successful with text information to be matched
Using file corresponding to the related information as Target Acquisition file, and perform the step of being obtained to the Target Acquisition file.
When this document is multimedia file, such as audio file either video file, in the prior art multimedia file
Directly it can not be matched with text information.The embodiment of the present application will be obtained by setting the default text information with file association
The text information to be matched for taking file acquisition instruction entrained is matched with associating documentary default text information so that is
System can be easier to retrieve and get required multimedia file, improve file acquisition efficiency.
Referring to Figure 11, another structure of the acquisition module in the embodiment of the present application is shown in figure, for convenience of description, figure
In illustrate only the part related to teachings herein.
In the case that if quantity of documents in file set is more, in order to further improve the retrieval to Target Acquisition file
Speed, as shown in figure 11, the acquisition module 603, mark acquisition submodule 6033, the first determination sub-module 6034 can be included
And second acquisition submodule 6035:
Acquisition submodule 6033 is marked, sequence notation corresponding to file is obtained for obtaining history.
Wherein, file set includes multiple files, and sequence notation is equipped with each file.The sequence notation is used for body
Existing ordinal relation of the file in the file set, such as the word of the numeral with size order relation, precedence relationship
Mother etc..
In certain embodiments, sequence notation can be with numeral, letter, or the file that numeral combines with letter
Name, such as entitled " 11,12,13 " file or file entitled " a, b, the c " file of file;Sequence notation can also be set
Put in the attribute of file, the attribute by obtaining this document obtains the sequence notation of this document.It should be noted that order is marked
Note can be uniquely corresponding with file.
First determination sub-module 6034, for the sequence notation according to corresponding to history acquisition file, determine in file set
File to be retrieved.
Wherein, file to be retrieved is the file after the order for obtaining file positioned at history in target document collection.
In certain embodiments, the file to be retrieved in target document collection is determined, can first obtain target document collection
The sequence notation of middle All Files, the sequence notation scope of the target document collection is determined according to the sequence notation of All Files,
File after the order that file will be obtained positioned at history in target document collection is as file to be retrieved.
Second acquisition submodule 6035, for retrieving and obtaining Target Acquisition file in order in file to be retrieved.
For example, after the file of the sequence notation in the range of by " 9-12 " is as file to be retrieved, can be directly at this
Retrieved in a little files to be retrieved, and Target Acquisition file is obtained after Target Acquisition file is retrieved.
It follows that by setting sequence notation on file, the order of file is obtained according to history for this application embodiment
Mark determines the file to be retrieved in target document collection, can reduce the file extent for needing to retrieve, and then further improve
The retrieval rate of electronic equipment.
Referring to Figure 12, another structure of file acquisition device described in the embodiment of the present application is shown in figure, for the ease of
Illustrate, the part related to teachings herein is illustrate only in figure.
In some cases, so that user carries out the process of a read operation to books as an example, if acquisition required for this time of user
File and preceding once acquired file be in same chapters and sections, now if still obtaining text from the history acquired in the last time
File set where part is retrieved, and can expend substantial amounts of retrieval time.It can now be preserved in history obtains record nearest
The multiple acquisition obtained to file record, forms multiple history and obtains file.
Include the acquisition record of multiple history acquisition files when history obtains record, and file acquisition instruction carrying needs
During matching literal information, as shown in figure 12, before obtaining the history to prestore and obtaining record, relating module 606, note can be included
Acquisition module 601, set determining module 602, acquisition module 603 are recorded, wherein:
Relating module 606, for extracting the content keyword in history acquisition file, content keyword and history are obtained
File is associated.
In certain embodiments, history obtains the content keyword in file, can be artificial default keyword, also may be used
To be that the keyword in default text information is extracted by machine, specific implementation can be depending on actual conditions.
For example, the higher word of the frequency of occurrences in one section of word is extracted, the keyword as " duck swimming " is obtained,
Then " duck swimming " is obtained into file with history to be associated.
Acquisition module 601 is recorded, for when receiving file acquisition instruction, obtaining the history to prestore and obtaining record.
Wherein, " acquisition " here refers to obtaining the data of this document so that system can perform certain using the data
A little specific operations, such as file is opened, replicated.It is that electronic equipment receives some operations or reached that this document, which obtains instruction,
To after some conditions, the action command that is sent to obtain certain specific file in equipment or network.
After getting history and obtaining record, the set determining module 602, it can include:
Second matched sub-block 6021, for text information to be matched to be obtained to the content in file with multiple history
Keyword is matched;If in the presence of with the text information to be matched content keyword that the match is successful, by the content that the match is successful
History corresponding to keyword obtains file and obtains file as target histories.
Wherein, by the matching process of text information to be matched and content keyword, two can be calculated by preset formula
The indexs such as the matching degree of person, repetitive rate are judged that the matching degree and repetitive rate can be a specific parameters.
In certain embodiments, a predetermined threshold value can be set, as of text information to be matched and content keyword
Match somebody with somebody or repetitive rate is more than the predetermined threshold value, you can think that the text information to be matched matches with the default text information.
Second determination sub-module 6022, for where the determination target histories acquisition file in default file set storehouse
Target document collection.
In certain embodiments, can be obtained and recorded according to history, know target histories described in it obtain file and
File set belonging to it, the file set where the target histories are obtained into file is as target document collection.
Specifically, during the determination that target histories obtain the file set belonging to file, can be by obtaining the mesh
File attribute corresponding to mark history acquisition file determines the file set belonging to it, or obtains in record from history and directly determine
The target histories obtain the file set belonging to file.It should be understood that specific history obtains the file set belonging to file
Acquisition pattern can be depending on actual conditions, and the application is not construed as limiting to this.
Acquisition module 603, in the target document collection, Target Acquisition file being obtained, wherein the target obtains
File is taken as the indicated file obtained of file acquisition instruction.
It follows that in the embodiment described in the application Figure 12, obtained when history is obtained in record comprising multiple history
During file, by associating the content keyword related to its content in obtaining file in history, using text information to be matched and
Content keyword matching obtains file to obtain the immediate target histories of content, it is possible to achieve more quick to file progress,
Position exactly, further improve the retrieval to Target Acquisition file and obtain efficiency.
Referring to Figure 13, another structure of the file acquisition device in the embodiment of the present application is shown in figure, for the ease of saying
It is bright, the part related to teachings herein is illustrate only in figure.
As shown in figure 13, in one embodiment, this document acquisition device 600 includes image collection module 607, information is known
Other module 608, directive generation module 609, record acquisition module 601, set determining module 602 and acquisition module 603, its
In:
Image collection module 607, instruction is obtained for receiving image, and obtaining instruction according to image obtains target image.
In certain embodiments, image obtains instruction, can be that user triggers after electronic equipment inputs certain operational order
Generation, or electronic equipment trigger generation after some preparatory condition is met.Acquisition to target image, electronics can be used
The camera of equipment is realized.
For example, user needs to carry out image acquisition to certain bookish certain page of content, can be first by the shooting of electronic equipment
Head this page of content of alignment, and the graphic button obtained for triggering image is clicked in the operation interface of electronic equipment.Work as system
After the triggering command for receiving the graphic button, the camera on electronic equipment can be transferred, to obtain in certain bookish page
Appearance is used as target image.
Information identification module 608, for target image to be identified, obtain the text information in target image.
In certain embodiments, recognition methods of the prior art can be used by identifying the target image, for example, with
The character image in image is changed with algorithm.
Directive generation module 609, for using text information as text information to be matched, and according to text information to be matched
Generate file acquisition instruction.
For example, following this section of words are shown in image:Pony, which is wanted to go to, looks for mother.He, which walks to walk, has encountered duck, just upper
Before ask:" auntie, you are my mothers", can should corresponding to these picture materials are changed into after text information
Section words are as text information to be matched generation file acquisition instruction, or extraction keyword therein is as text information to be matched
Generate file acquisition instruction.
Acquisition module 601 is recorded, for when receiving file acquisition instruction, obtaining the history to prestore and obtaining record.
Gather determining module 602, the history for being obtained according to history in record obtains file, in default file set
Determine that history obtains the target document collection where file in storehouse.
Acquisition module 603, in the target document collection, Target Acquisition file being obtained, wherein the target obtains
File is taken as the indicated file obtained of file acquisition instruction.
Wherein, the content recorded in acquisition module 601, set determining module 602 and acquisition module 603 may be referred to this
Other embodiment explains the content of description to above-mentioned steps content part in application, and the application will not be repeated here.
In the embodiment shown in fig. 13, the text information in image is obtained, and is obtained and recorded according to history, will once be obtained
File set where the file taken obtains as the target document collection preferentially retrieved when user needs to retrieve to be located at history
When taking the file in file identical file set, desired file can be quickly found out.
In the embodiment of the present application, the file acquisition device belongs to same with a kind of file acquisition method in foregoing embodiments
One design, can run the either method provided in the file acquisition method embodiment on the file acquisition device, its
Specific implementation process refers to the file acquisition method embodiment, and the optional implementation of the application can be formed using any combination
Example, here is omitted.
The embodiment of the present application also provides a kind of electronic equipment, and the electronic equipment can be smart mobile phone, tablet personal computer, desk-top
The equipment such as computer, notebook, palm PC.Figure 14 is referred to, electronic equipment 700 includes processor 701 and memory 702.
Wherein, processor 701 is electrically connected with memory 702.
The processor 700 is the control centre of electronic equipment 700, is set using various interfaces and the whole electronics of connection
Standby various pieces, by the application program of operation or load store in memory 702, and call and be stored in memory
Data in 702, the various functions and processing data of electronic equipment 700 are performed, so as to carry out overall prison to electronic equipment 700
Control.
The memory 702 can be used for storage software program and module, and processor 701 is stored in memory by operation
702 software program and module, so as to perform various function application and data processing.Memory 702 can mainly include depositing
Program area and storage data field are stored up, wherein, storing program area can storage program area, the application program needed at least one function
(such as sound-playing function, image player function etc.) etc.;Storage data field can store uses what is created according to server
Data etc..In addition, memory 702 can include high-speed random access memory, nonvolatile memory can also be included, such as
At least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 702 can be with
Including Memory Controller, to provide access of the processor 701 to memory 702.
In the embodiment of the present application, the processor 701 in electronic equipment 700 can be according to the steps, by one or one
Instruction is loaded into memory 702 corresponding to the process of application program more than individual, and is stored in storage by the operation of processor 701
Application program in device 702 is as follows so as to realize various functions:
When receiving file acquisition instruction, obtain the history to prestore and obtain record;Obtained according to the history in record
History obtain file, determine that the history obtains the target document collection where file in default file set storehouse;
In the target document collection, Target Acquisition file is obtained, wherein the Target Acquisition file instructs institute for the file acquisition
Indicate the file obtained.
In some embodiments, the file acquisition, which instructs, carries text information to be matched, in the file set
Each file presets text information corresponding to being associated with;The processor 701 can be also used for:
Obtain the entrained text information to be matched of file acquisition instruction, by the text information to be matched with it is described
Default text information is matched;Judge whether the default text information matched with the text information to be matched;If so,
Then file corresponding with the association text information as Target Acquisition file and is obtained.
In some embodiments, the file set includes multiple files, and order is equipped with each file
Mark, the sequence notation are used to embody ordinal relation of the file in the file set;The processor 701 may be used also
For:
Obtain the entrained text information to be matched of file acquisition instruction, by the text information to be matched with it is described
Default text information is matched;Judge whether the default text information matched with the text information to be matched;If so,
Then file corresponding with the association text information as Target Acquisition file and is obtained.
In some embodiments, the processor 701 can be also used for:
Obtain the history and obtain sequence notation corresponding to file;Sequentially marked according to corresponding to the history obtains file
Note, determines the file to be retrieved in the target document collection, wherein the file to be retrieved is in the target document collection
File after the order for obtaining file positioned at the history;Retrieved in order in the file to be retrieved and obtain the mesh
Mark obtains file.
In some embodiments, the file acquisition instruction carries text information to be matched, and the history obtains note
Record includes the acquisition record that multiple history obtain file;The processor 701 can be also used for:
The content keyword in the history acquisition file is extracted, the content keyword and the history are obtained into file
It is associated;
The text information to be matched is obtained into the content keyword in file with the multiple history to be matched;
If in the presence of with the text information to be matched content keyword that the match is successful, by the content keyword pair that the match is successful
The history answered obtains file and obtains file as target histories;Determine that the target histories obtain in default file set storehouse
Target document collection where file.
In some embodiments, the processor 701 can be also used for:
Receive image and obtain instruction, obtaining instruction according to described image obtains target image;The target image is carried out
Identification, obtains the text information in the target image;Using the text information as text information to be matched, and according to described
Text information generation file acquisition instruction to be matched.
The a kind of electronic equipment that the embodiment of the present application provides, record is obtained by obtaining the history to prestore, and gone through according to this
History obtains record and determines that history obtains the target document collection where file, and required mesh is preferentially searched in this document set
Mark obtains file, search efficiency of the system to file can be greatly improved in the case where needing to continuously acquire the scene of file, reduction is looked into
Taking needed for file is looked for, so as to reduce the power consumption of electronic equipment.
Also referring to Figure 15, in some embodiments, electronic equipment 700 can also include:Display 703, radio frequency
Circuit 704, voicefrequency circuit 705, wireless fidelity module 706 and power supply 707.Wherein, wherein, display 703, radio circuit
704th, voicefrequency circuit 705, wireless fidelity module 706 and power supply 707 are electrically connected with processor 701 respectively.
The display 703 is displayed for the information inputted by user or is supplied to the information of user and various figures
Shape user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display
703 can include display panel, in some embodiments, can use liquid crystal display (LCD, Liquid Crystal
Display) or the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) is aobvious to configure
Show panel.
The radio circuit 704 can be used for transceiving radio frequency signal, to pass through radio communication and the network equipment or other electricity
Sub- equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The camera 705 can be used for obtaining image.
The sound-electric modular converter 706 can be used for converting sound into the electric signal available for electronic equipment identification, from
And electronic equipment is allowd to form audio file according to the Electric signal processing.
The power supply 707 is used to all parts power supply of electronic equipment 700.In certain embodiments, power supply 707
Can be logically contiguous by power-supply management system and processor 701, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although not shown in Figure 12, electronic equipment 700 can also will not be repeated here including bluetooth module etc..
The embodiment of the present application also provides a kind of storage medium, and the storage medium stores a plurality of instruction, a plurality of instruction
Suitable for being loaded by processor to perform the file acquisition method in above-described embodiment, such as:When receiving file acquisition instruction,
Obtain the history to prestore and obtain record;The history obtained according to the history in record obtains file, in default file set
Determine that the history obtains the target document collection where file in storehouse;In the target document collection, Target Acquisition is obtained
File, wherein the Target Acquisition file is the indicated file obtained of file acquisition instruction.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are by program the hardware of correlation can be instructed to complete, and the program can be stored in computer-readable medium
In, the medium can include but is not limited to:Read-only storage (ROM, Read Only Memory), random access memory
(RAM, Random Access Memory), disk or CD etc..
File acquisition method, device, storage medium and the electronic equipment provided above the embodiment of the present application is carried out
It is discussed in detail, specific case used herein is set forth to the principle and embodiment of the application, above example
Illustrate that being only intended to help understands the present processes and its core concept;Meanwhile for those skilled in the art, according to this
The thought of application, there will be changes in specific embodiments and applications, in summary, this specification content should
It is interpreted as the limitation to the application.
Claims (12)
- A kind of 1. file acquisition method, applied to electronic equipment, it is characterised in that including:When receiving file acquisition instruction, obtain the history to prestore and obtain record;The history obtained according to the history in record obtains file, determines that the history obtains in default file set storehouse Target document collection where file;In the target document collection, Target Acquisition file is obtained, wherein the Target Acquisition file is the file acquisition The indicated file obtained of instruction.
- 2. file acquisition method as claimed in claim 1, it is characterised in that the file acquisition instruction carries text to be matched Word information, in the file set each file be associated with corresponding to default text information;It is described to obtain Target Acquisition file in the target document collection, including:The entrained text information to be matched of the file acquisition instruction is obtained, the text information to be matched is preset with described Text information is matched;Judge whether the default text information matched with the text information to be matched;If so, then file corresponding with the association text information as Target Acquisition file and is obtained.
- 3. file acquisition method as claimed in claim 1 or 2, it is characterised in that the file set includes multiple files, Sequence notation is equipped with each file, the sequence notation is suitable in the file set for embodying the file Order relation;It is described to obtain Target Acquisition file in the target document collection, including:Obtain the history and obtain sequence notation corresponding to file;The sequence notation according to corresponding to the history obtains file, determines the file to be retrieved in the target document collection, its Described in file to be retrieved be the target document collection in positioned at the history obtain file order after file;Retrieved in order in the file to be retrieved and obtain the Target Acquisition file.
- A 4. file acquisition method as claimed in claim 1 or 2, it is characterised in that file acquisition instruction carrying needs With text information, the history, which obtains record, includes the acquisition record that multiple history obtain file;Before the history that the acquisition prestores obtains record, in addition to:The content keyword in the history acquisition file is extracted, the content keyword and the history are obtained into file is carried out Association;The history obtained according to the history in record obtains file, and the history is determined in default file set storehouse The target document collection where file is obtained, including:The text information to be matched is obtained into the content keyword in file with the multiple history to be matched;If in the presence of with the text information to be matched content keyword that the match is successful, the content that the match is successful is crucial History corresponding to word obtains file and obtains file as target histories;Determine that the target histories obtain the target document collection where file in default file set storehouse.
- 5. file acquisition method as claimed in claim 1, it is characterised in that it is described receive file acquisition instruction before, Also include:Receive image and obtain instruction, obtaining instruction according to described image obtains target image;The target image is identified, obtains the text information in the target image;Using the text information as text information to be matched, and referred to according to the text information generation file acquisition to be matched Order.
- A kind of 6. file acquisition device, it is characterised in that including:Acquisition module is recorded, for when receiving file acquisition instruction, obtaining the history to prestore and obtaining record;Gather determining module, the history for being obtained according to the history in record obtains file, in default file set storehouse It is middle to determine that the history obtains the target document collection where file;Acquisition module, in the target document collection, Target Acquisition file being obtained, wherein the Target Acquisition file is The indicated file obtained of file acquisition instruction.
- 7. file acquisition device as claimed in claim 6, it is characterised in that the file acquisition instruction carries text to be matched Word information, in the file set each file be associated with corresponding to default text information;The acquisition module, including:First matched sub-block, the to be matched text information entrained for obtaining file acquisition instruction, treated described Matched with text information with the default text information;First acquisition submodule, for the default text information for judging whether to match with the text information to be matched;If It is then as Target Acquisition file and to be obtained file corresponding with the association text information.
- 8. file acquisition device as claimed in claims 6 or 7, it is characterised in that the file set includes multiple files, Sequence notation is equipped with each file, the sequence notation is suitable in the file set for embodying the file Order relation;The acquisition module, including:Acquisition submodule is marked, sequence notation corresponding to file is obtained for obtaining the history;First determination sub-module, for the sequence notation according to corresponding to history acquisition file, determine the file destination collection File to be retrieved in conjunction, wherein the file to be retrieved is to obtain file positioned at the history in the target document collection File after order;AndSecond acquisition submodule, for retrieving and obtaining the Target Acquisition file in order in the file to be retrieved.
- A 9. file acquisition device as claimed in claims 6 or 7, it is characterised in that file acquisition instruction carrying needs With text information, the history, which obtains record, includes the acquisition record that multiple history obtain file;The file acquisition device, in addition to:Relating module, for extracting the content keyword in the history acquisition file, the content keyword is gone through with described History obtains file and is associated;The set determining module, including:Second matched sub-block, for the text information to be matched to be obtained to the content in file with the multiple history Keyword is matched;If in the presence of with the text information to be matched content keyword that the match is successful, by it is described matching into History corresponding to the content keyword of work(obtains file and obtains file as target histories;AndSecond determination sub-module, for determined in default file set storehouse the target histories obtain file where target File set.
- 10. file acquisition device as claimed in claim 6, it is characterised in that the file acquisition device, in addition to:Image collection module, instruction is obtained for receiving image, and obtaining instruction according to described image obtains target image;Information identification module, for the target image to be identified, obtain the text information in the target image;AndDirective generation module, believe for using the text information as text information to be matched, and according to the word to be matched Breath generation file acquisition instruction.
- 11. a kind of storage medium, it is characterised in that the storage medium stores a plurality of instruction, and a plurality of instruction is suitable to counting When being run on calculation machine so that the computer performs the file acquisition method as described in claim 1 to 5 any one.
- 12. a kind of electronic equipment, it is characterised in that including processor and memory, a plurality of instruction of memory storage is described Processor is used to perform the file acquisition as described in claim 1 to 5 any one by the instruction loaded in the memory Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711087225.5A CN107885827B (en) | 2017-11-07 | 2017-11-07 | File acquisition method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711087225.5A CN107885827B (en) | 2017-11-07 | 2017-11-07 | File acquisition method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107885827A true CN107885827A (en) | 2018-04-06 |
CN107885827B CN107885827B (en) | 2021-06-01 |
Family
ID=61779200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711087225.5A Active CN107885827B (en) | 2017-11-07 | 2017-11-07 | File acquisition method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107885827B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078915A (en) * | 2019-06-09 | 2020-04-28 | 广东小天才科技有限公司 | Click-to-read content acquisition method in click-to-read mode and electronic equipment |
CN113946853A (en) * | 2021-10-29 | 2022-01-18 | 苏州浪潮智能科技有限公司 | File filtering method and device, electronic equipment and storage medium |
CN114020878A (en) * | 2021-11-29 | 2022-02-08 | 清华大学 | Feature text matching method and device, electronic equipment and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838866A (en) * | 2014-03-20 | 2014-06-04 | 广东小天才科技有限公司 | Text conversion method and device |
CN104050838A (en) * | 2014-07-15 | 2014-09-17 | 北京网梯科技发展有限公司 | Reading system, device and method capable of recognizing and reading common printed matter |
CN104253904A (en) * | 2014-09-04 | 2014-12-31 | 广东小天才科技有限公司 | Method for realizing point-reading learning and smart phone |
CN104462307A (en) * | 2014-11-28 | 2015-03-25 | 深圳市中兴移动通信有限公司 | Searching method and device for object in terminal |
CN104794180A (en) * | 2015-04-09 | 2015-07-22 | 广东小天才科技有限公司 | Method and device for scanning and acquiring learning data by point reader |
CN104978369A (en) * | 2014-04-14 | 2015-10-14 | 腾讯科技(深圳)有限公司 | File search method and device |
CN105138586A (en) * | 2015-07-30 | 2015-12-09 | 魅族科技(中国)有限公司 | File searching method and apparatus |
CN105354318A (en) * | 2015-11-13 | 2016-02-24 | 北京金山安全软件有限公司 | File searching method and device |
CN105574062A (en) * | 2015-07-01 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | File retrieval method and apparatus and terminal |
CN106294657A (en) * | 2016-08-04 | 2017-01-04 | 深圳市奇米教育科技有限公司 | Based on books recognition methods and the device of painting this page |
CN106682243A (en) * | 2017-02-28 | 2017-05-17 | 深圳天珑无线科技有限公司 | Browsing method and device |
US20170277737A1 (en) * | 2016-03-23 | 2017-09-28 | Ebay Inc. | Compact index document generation for smart match autocomplete system |
-
2017
- 2017-11-07 CN CN201711087225.5A patent/CN107885827B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103838866A (en) * | 2014-03-20 | 2014-06-04 | 广东小天才科技有限公司 | Text conversion method and device |
CN104978369A (en) * | 2014-04-14 | 2015-10-14 | 腾讯科技(深圳)有限公司 | File search method and device |
CN104050838A (en) * | 2014-07-15 | 2014-09-17 | 北京网梯科技发展有限公司 | Reading system, device and method capable of recognizing and reading common printed matter |
CN104253904A (en) * | 2014-09-04 | 2014-12-31 | 广东小天才科技有限公司 | Method for realizing point-reading learning and smart phone |
CN104462307A (en) * | 2014-11-28 | 2015-03-25 | 深圳市中兴移动通信有限公司 | Searching method and device for object in terminal |
CN104794180A (en) * | 2015-04-09 | 2015-07-22 | 广东小天才科技有限公司 | Method and device for scanning and acquiring learning data by point reader |
CN105574062A (en) * | 2015-07-01 | 2016-05-11 | 宇龙计算机通信科技(深圳)有限公司 | File retrieval method and apparatus and terminal |
CN105138586A (en) * | 2015-07-30 | 2015-12-09 | 魅族科技(中国)有限公司 | File searching method and apparatus |
CN105354318A (en) * | 2015-11-13 | 2016-02-24 | 北京金山安全软件有限公司 | File searching method and device |
US20170277737A1 (en) * | 2016-03-23 | 2017-09-28 | Ebay Inc. | Compact index document generation for smart match autocomplete system |
CN106294657A (en) * | 2016-08-04 | 2017-01-04 | 深圳市奇米教育科技有限公司 | Based on books recognition methods and the device of painting this page |
CN106682243A (en) * | 2017-02-28 | 2017-05-17 | 深圳天珑无线科技有限公司 | Browsing method and device |
Non-Patent Citations (1)
Title |
---|
戴远君 等: ""电子词典研究现状与展望"", 《辞书研究》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078915A (en) * | 2019-06-09 | 2020-04-28 | 广东小天才科技有限公司 | Click-to-read content acquisition method in click-to-read mode and electronic equipment |
CN111078915B (en) * | 2019-06-09 | 2024-02-23 | 广东小天才科技有限公司 | Click-to-read content acquisition method in click-to-read mode and electronic equipment |
CN113946853A (en) * | 2021-10-29 | 2022-01-18 | 苏州浪潮智能科技有限公司 | File filtering method and device, electronic equipment and storage medium |
CN113946853B (en) * | 2021-10-29 | 2024-01-30 | 苏州浪潮智能科技有限公司 | File filtering method and device, electronic equipment and storage medium |
CN114020878A (en) * | 2021-11-29 | 2022-02-08 | 清华大学 | Feature text matching method and device, electronic equipment and storage medium |
CN114020878B (en) * | 2021-11-29 | 2024-08-02 | 清华大学 | Feature text matching method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107885827B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5799621B2 (en) | Information processing apparatus, information processing method, and program | |
US20110282867A1 (en) | Image searching with recognition suggestion | |
US10282061B2 (en) | Electronic device for playing-playing contents and method thereof | |
CN110334344A (en) | A kind of semanteme intension recognizing method, device, equipment and storage medium | |
CN108073303B (en) | Input method and device and electronic equipment | |
JP2009116531A5 (en) | ||
US10275483B2 (en) | N-gram tokenization | |
CN107885826A (en) | Method for broadcasting multimedia file, device, storage medium and electronic equipment | |
CN107885482B (en) | Audio playing method and device, storage medium and electronic equipment | |
CN107885827A (en) | File acquisition method, device, storage medium and electronic equipment | |
CN104599692A (en) | Recording method and device and recording content searching method and device | |
CN103366010A (en) | Method and device for searching audio file | |
CN110276010A (en) | A kind of weight model training method and relevant apparatus | |
CN113596601A (en) | Video picture positioning method, related device, equipment and storage medium | |
CN103455642A (en) | Method and device for multi-media file retrieval | |
CN107908770A (en) | A kind of photo searching method and mobile terminal | |
US20190065517A1 (en) | File preview and selective access to file content of archived file | |
CN111480158A (en) | File management method and electronic equipment | |
CN111046203A (en) | Image retrieval method, image retrieval device, storage medium and electronic equipment | |
CN113822038B (en) | Abstract generation method and related device | |
US11429660B2 (en) | Photo processing method, device and computer equipment | |
CN109299242A (en) | A kind of session generation method, device, terminal device and storage medium | |
CN114398127A (en) | Message display method and device | |
CN108073294A (en) | A kind of intelligent word method and apparatus, a kind of device for intelligent word | |
CN112084359B (en) | Picture retrieval method and device and electronic equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |