CN109324999A - A kind of method and electronic equipment executing operation based on download instruction - Google Patents
A kind of method and electronic equipment executing operation based on download instruction Download PDFInfo
- Publication number
- CN109324999A CN109324999A CN201811455102.7A CN201811455102A CN109324999A CN 109324999 A CN109324999 A CN 109324999A CN 201811455102 A CN201811455102 A CN 201811455102A CN 109324999 A CN109324999 A CN 109324999A
- Authority
- CN
- China
- Prior art keywords
- file
- downloaded
- relevant information
- local
- electronic equipment
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of methods and electronic equipment that operation is executed based on download instruction, in the unwitting situation of user, download file similar with local file with to avoid electronic equipment.This method comprises: being judged in local file according to the relevant information of file to be downloaded with the presence or absence of the file destination to match with file to be downloaded in the case where receiving the download instruction for file to be downloaded;There are file destination, show to user for prompting the prompt information there are file destination;Performance objective operational order, the object run instruction are generated based on the user for the operation of prompt information input.Through the above scheme, when there is file destination similar with file to be downloaded in the local file of electronic equipment, it can determine whether to download file to be downloaded to user's display reminding information and depending on the user's operation, it avoids user from inadvertently downloading a large amount of duplicate files, improves electronic equipment local storage space utilization rate.
Description
Technical field
The present invention relates to field of terminal more particularly to a kind of methods and electronic equipment that operation is executed based on download instruction.
Background technique
Existing electronic equipment often has the function of storage file, and user can according to actual needs will be various
File stores in the electronic device.But the local storage space of electronic equipment is often limited, once reach electronic equipment
The local storage space upper limit, then new file could be stored by needing to delete the file deposited.
During routine use electronic equipment, user may inadvertently download to close with the file deposited
As file, for example, similar picture, identical song etc..This to store in the limited local storage space of electronic equipment
Duplicate file, do not only take up more local storage space, also for user using electronic equipment, arrange the behaviour such as local file
It brings inconvenience.
Therefore, how to avoid electronic equipment in the unwitting situation of user, download file similar with local file, at
For a urgent problem to be solved.
Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of method and electronic equipment that operation is executed based on download instruction, to
It avoids electronic equipment in the unwitting situation of user, downloads file similar with local file.
In a first aspect, providing a kind of method for executing operation based on download instruction, comprising:
In the case where receiving the download instruction for file to be downloaded, according to the relevant information of the file to be downloaded
Judge in local file with the presence or absence of the file destination to match with the file to be downloaded;
There are the file destination, show that there are the prompt of file destination letters for prompting to user
Breath;
Performance objective operational order, the object run instruction are directed to the behaviour of prompt information input based on the user
It generates.
Second aspect provides a kind of electronic equipment, comprising:
Judgment module, in the case where receiving the download instruction for file to be downloaded, according to the file to be downloaded
Relevant information judge in local file with the presence or absence of the file destination that matches with the file to be downloaded;
Display module shows that there are the target texts for prompting to user there are the file destination
The prompt information of part;
Execution module, performance objective operational order, the object run instruction are believed based on the user for the prompt
The operation of breath input generates.
The third aspect provides a kind of mobile terminal, which includes processor, memory and be stored in the storage
On device and the computer program that can run on the processor, such as first party is realized when which is executed by the processor
The step of method that face is somebody's turn to do.
Fourth aspect provides a kind of computer readable storage medium, stores and calculates on the computer readable storage medium
The step of machine program, the method that realization such as first aspect is somebody's turn to do when which is executed by processor.
In the embodiment of the present application, when receiving download instruction, judge whether to have in local file and file to be downloaded
Similar file destination, if there is file destination, then to user's display reminding information.Know user in local file
Comprising file similar with file to be downloaded, operation is executed by user according to actual needs, user is avoided inadvertently to download
A large amount of duplicate files improve electronic equipment local storage space utilization rate.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 be one embodiment of the present of invention it is a kind of based on download instruction execute operation method flow diagram it
One;
Fig. 2 is a kind of schematic diagram of a scenario for the method that operation is executed based on download instruction of one embodiment of the present of invention;
Fig. 3 be one embodiment of the present of invention it is a kind of based on download instruction execute operation method flow diagram it
Two;
Fig. 4 be one embodiment of the present of invention it is a kind of based on download instruction execute operation method flow diagram it
Three;
Fig. 5 be one embodiment of the present of invention it is a kind of based on download instruction execute operation method flow diagram it
Four;
Fig. 6 is the structural schematic diagram of one embodiment a kind of electronic equipment of the application.
A kind of hardware structural diagram of Fig. 7 mobile terminal of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As electronic functionalities are become stronger day by day, user can install a variety of application programs on an electronic device, to full
The different demand of foot.For example, user can install playout software on mobile phone, for playing the files such as audio or video.User
Photo-editing software can also be installed on mobile phone, for editing to picture.
By taking audio playing software as an example, part audio playing software can establish personalized song with hobby according to the demand of user
Single, singing may include multiple songs in list, and user can download the repertoire in song list with a key, realizes and is packaged downloading.But
It is possible in the song list of downloading comprising stored song, if directly downloading the repertoire in song list, mobile phone can be made
The middle duplicate song of storage, does not only take up the local storage space of mobile phone, and be not easy to user and arrange the document.
In addition, being possible to install multiple audio playing softwares in the mobile phone of user, each audio playing software can root
It is single that song is established according to the demand and hobby of user.Such as: it include song a and song b in the song list that audio playing software A is established;Sound
It include song b and song c in the song list that frequency playout software B is established.If user is carried out " one to the two audio playing softwares
Repertoire in key downloading song list ", then after downloading, can store two song b, cause mobile phone that sky is locally stored in mobile phone
Between waste.
For the above-mentioned problems in the prior art, the application provides a kind of side that operation is executed based on download instruction
Method, this method can be applied to the electronic equipments such as mobile phone, tablet computer, Intelligent bracelet, take the mobile phone as an example illustrate this programme below.
As shown in Figure 1, method provided by the present application the following steps are included:
S11: in the case where receiving the download instruction for file to be downloaded, according to the correlation of the file to be downloaded
Information judges in local file with the presence or absence of the file destination to match with the file to be downloaded;
S12: it there are the file destination, shows to user for prompting mentioning there are the file destination
Show information;
S13: performance objective operational order, the object run instruction are inputted based on the user for the prompt information
Operation generate.
In above-mentioned steps S11, above-mentioned download instruction, which can be, to be automatically generated when meeting preset condition by mobile phone, can also
Being generated according to user's operation, user can execute the user's operation by forms such as touch control operation, acoustic control operations.
Above-mentioned download instruction is directed to file to be downloaded, and file to be downloaded can be the types such as picture, text, audio, video
File.It includes information in file to be downloaded that the relevant information of file to be downloaded, which can be, is also possible to and text to be downloaded
The related information being not included in file to be downloaded of part.
The relevant information of above-mentioned file to be downloaded include at least one of the following: file name, file alias, file type,
File size.
Specifically, when file to be downloaded is song files, when the relevant information of file to be downloaded can also include song
The relevant informations such as length, singer, album name.When file to be downloaded is video file, the relevant information of file to be downloaded may be used also
To include the relevant informations such as resolution ratio.
Scheme provided by the present application can be judged according to the relevant information of file to be downloaded in local file with the presence or absence of with to
The file destination that downloading file matches, the relevant information of file to be downloaded may include multinomial, the local text of the many-sided judgement of energy
Whether whether part matches with file to be downloaded, and then included file to be downloaded in determining local file.
The method based on the above embodiment, wherein the relevant information of the file to be downloaded includes that the file is other
Name, the method also includes following steps:
According to the file name, the file alias is determined.
The file name can refer to that the important name of file to be downloaded claims, and can be searched by network to file name
Rope determines one or more file alias based on big data.By taking song as an example, in communication process, due to the spy of song itself
The reasons such as point, route of transmission often play " alias " by people.Specifically, assume existing song " MUSIC ", and the song is made
It is broadcasted for the Presence of the Moment of cartoon M, then the file name of the song is " MUSIC ", and file alias can be " the piece of cartoon M
Cephalic flexure ".
For a song, user can find the song by the title of song, can also pass through the alias of song
Find the song.When the user is downloading a song, the title of the song downloaded to is likely to be the title of song, it is also possible to be
The alias of song.Assuming that above-mentioned song " MUSIC " is local file, title is " MUSIC ", and file to be downloaded is also the song
Song, but entitled " Presence of the Moment of cartoon M " of file to be downloaded passes through above-mentioned side provided by the present application in this case
Case can know that " Presence of the Moment of cartoon M " is the alias of song " MUSIC ", so that it is determined that entitled in local file
The file of " MUSIC " is file destination, which matches with file to be downloaded, to further avoid downloading to identical
File.
Through the above scheme, judge to whether there is and text to be downloaded in local file according to the relevant information of file to be downloaded
The file destination that part matches.There are file destination, show to user for prompting mentioning there are file destination
Show information.
Specifically, prompt information can wrap as shown in Fig. 2, can be by way of pop-up to user's display reminding information
The relevant information for including file destination can also include executing option of operation in prompt information other than the information shown in the figure,
Such as " continuing to download ", " cancelling downloading ", " deleting existing file " etc..Furthermore it is also possible in conjunction with modes such as voice, vibrations into one
Step reminds user.It may include the relevant information of file to be downloaded and the related letter of file destination in prompt information
Breath.Prompt information can make user be intuitive to see the similarity of file to be downloaded and file destination, so as to further by user
Input operation according to actual needs.
After receiving user for the operation of prompt information input, object run is generated according to the operation that user executes
Instruction, and execute object run instruction.Preferably, the object run instruction is used to indicate whether to download the text to be downloaded
Part.According to user execute operation generate object run instruction includes but is not limited to: delete existing file destination and downloading to
File is downloaded, retains file destination and does not download file to be downloaded, retain file destination and download file to be downloaded.
In the embodiment of the present application, when receiving download instruction, judge whether to have in local file and file to be downloaded
Similar file destination then determines whether to user's display reminding information and depending on the user's operation if there is file destination
File to be downloaded is downloaded, this programme is avoided that user inadvertently downloads a large amount of duplicate files, improves electronic equipment and locally deposits
Store up space utilization rate.
The method based on the above embodiment, as shown in figure 3, the method also includes following steps:
S14: the relevant information of the file to be downloaded is obtained;
S15: the relevant information of the local file is obtained;
Wherein, in above-mentioned steps S11, comprising:
S111: according to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file,
Judge in the local file with the presence or absence of the file destination.
In above scheme, step S14 and step S15 can be executed sequentially and also may be performed simultaneously, and step S14 can be in step
It is executed before or after rapid S15.
Above-mentioned steps S14 obtains the relevant information of file to be downloaded, specifically can carry out information to file to be downloaded and mention
It takes, obtains the relevant information of file to be downloaded.The relevant information of file to be downloaded may include the attribute of file to be downloaded itself
Information, file size, file type, primary filename including file to be downloaded etc., in addition to this, the related letter of file to be downloaded
Breath can also include information associated with file to be downloaded, these associated information can be based on web search message, big
Data statistics etc. are obtained by the modes such as searching for, screening.
Above-mentioned steps S15 obtains the relevant information of the local file, can specifically extract in electronic equipment and be locally stored
File information, obtain the relevant information of local file.The relevant information of local file may include file size, files classes
Type, primary filename etc..
Preferably, step S14 is first carried out, then executes step S15.In the feelings for the relevant information for having obtained file to be downloaded
It, can be according to the relevant information of file to be downloaded to local during obtaining the relevant information of local file under condition
File is screened.When file to be downloaded is picture, the file of the picture type in local file can be determined as local
File, for example, the file of the picture formats such as JPEG, BMP, GIF, PNG is determined as local file, then, to the sheet filtered out
The relevant information of ground file is obtained.Scheme provided by the present application can be reduced calculation amount, improve the correlation for obtaining local file
The speed of information improves whole efficiency.
After above-mentioned steps S14 and step S15, step S111 is executed.Specifically, to the relevant information of file to be downloaded
It is matched with the relevant information of local file, in the case where correlated information match, then can determine that there are file destinations.Example
Such as, the relevant information of file to be downloaded is searched in the relevant information of local file.Judge be in the relevant information of local file
No includes file identical with the file name of file to be downloaded, if it is present there are file destinations in local file.
Scheme provided by the present application can obtain the relevant information of file to be downloaded and the relevant information of local file, in turn
Judged in local file according to the match condition of the two kinds of information got with the presence or absence of file destination.Above scheme believes two kinds
Breath carries out matching screening, without comparing screening to file content, reduces calculation amount, target text can be obtained by information sifting
Part.
Preferably, the method based on the above embodiment, as shown in figure 4, in above-mentioned steps S111, including following step
It is rapid:
S1111: according to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file,
Determine target document collection, the relevant information of the local file in the target document collection is related to the file to be downloaded
The matching degree of information is greater than or equal to preset matching degree threshold value;
S1112: according to the text of the local file in the file content of the file to be downloaded and the target document collection
The similarity of part content judges in the target document collection with the presence or absence of the file destination.
In above-mentioned steps S1111, carried out first according to relevant information of the relevant information of file to be downloaded to local file
Matching screening, is then determined as target document collection for the local file that screening obtains, may include in the target document collection
One or more local files, wherein each local file in target document collection can be with the local file filtered out
Relevant information is corresponding.
In this step, of the relevant information of the relevant information and file to be downloaded of the local file in target document collection
It is greater than or equal to preset matching degree threshold value with degree, wherein preset matching degree threshold value can be preset by user, alternatively, by electricity
Sub- equipment is pre-generated.In the matching process, can relevant information and local file to file to be downloaded relevant information into
Row whole matching.For example, being matched respectively to file name, file type, file size this three information, when matching degree is big
When 70%, the relevant information of the relevant information and local file that determine file to be downloaded is mutually matched, at this point, according to
Local file corresponding to the relevant information of the local file filtered out generates target document collection.
Specifically, first carrying out matching screening to the relevant information of local file according to the relevant information of file to be downloaded, sieve
Selecting obtained local file includes local file D, local file E and local file F, the local text obtained according to these three screenings
Part generates target document collection.
After determining target document collection, step S1112 is executed.In the relevant information and file to be downloaded of local file
Relevant information match in the case where, further to file content carry out matching judgment.Specifically, to the text of file to be downloaded
The file content of part content and local file is compared, and obtains similarity.When obtained similarity is greater than certain predetermined standard
When value, it can determine that there are file destinations in target document collection.
Specifically, for above-mentioned determination include local file D, local file E and local file F file destination collection
It closes, in this step, calculates separately the file content of these three local files in target document collection and the text of file to be downloaded
The similarity of part content is compared by the file content with file to be downloaded, and the similarity of local file D is 30%, this
The similarity of ground file E is 90%, and the similarity of local file F is 60%.At this point, determining that there are target texts in local file
Part, file destination can be local file E.
Scheme provided by the present application is compared in the relevant information of relevant information and local file to file to be downloaded
After screening, further the file content of the file content of file to be downloaded and local file is compared.Above scheme is first
Screening is compared to information, reduces the calculation amount of screening to a certain extent, in the target document collection then obtained to matching
The file content of local file further screen, the similarity of file destination and file to be downloaded can be improved.By taking song as an example,
The song name of part song is identical, and author is also identical, but song content is possible to different, it may be possible to the different versions of same song
This, for example a song files are piano versions, another song files is violin version etc..In this case, this Shen
The scheme that please be provided can distinguish the song files of different editions, improve the similarity of file destination and file to be downloaded,
It avoids the different file of file content being determined as file destination, reduces the quantity of file destination to a certain extent, reduce display
To the inner capacities of the prompt information of user, useless prompt information is excluded.
Optionally, the method based on the above embodiment, as shown in figure 5, the application is further comprising the steps of:
S16: in the case where the file destination is not present, the file to be downloaded is downloaded.
Any scheme through the foregoing embodiment, if file destination could not be filtered out from local file,
Show not including file similar with file to be downloaded in local file, file to be downloaded can be directly downloaded, without by user
Manual operation.
Scheme provided by the present application directly downloads file to be downloaded, under capable of improving in the case where file destination is not present
Fluency is carried, user's operation is simplified.
For the above-mentioned problems in the prior art, as shown in fig. 6, the application provides a kind of electronic equipment 60, comprising:
Judgment module 61, in the case where receiving the download instruction for file to be downloaded, according to the text to be downloaded
The relevant information of part judges in local file with the presence or absence of the file destination to match with the file to be downloaded;
Display module 62 shows that there are the targets for prompting to user there are the file destination
The prompt information of file;
Execution module 63, performance objective operational order, the object run instruction are directed to the prompt based on the user
The operation of information input generates.
The electronic equipment provided based on the above embodiment, the electronic equipment 60 further include:
First obtains module 64, obtains the relevant information of the file to be downloaded;
Second obtains module 65, obtains the relevant information of the local file;
Wherein, the judgment module 61, is used for:
According to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file, institute is judged
It states in local file with the presence or absence of the file destination.
The electronic equipment provided based on the above embodiment, the judgment module 61, is used for:
According to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file, mesh is determined
File set is marked, the relevant information of the relevant information and file to be downloaded of the local file in the target document collection
Matching degree is greater than or equal to preset matching degree threshold value;
According to the file content of the local file in the file content of the file to be downloaded and the target document collection
Similarity, judge in the target document collection with the presence or absence of the file destination.
The electronic equipment provided based on the above embodiment, the electronic equipment further include:
Download module 66 downloads the file to be downloaded in the case where the file destination is not present.
The electronic equipment provided based on the above embodiment, the relevant information of the file to be downloaded include following at least one
: file name, file alias, file type, file size.
The electronic equipment provided based on the above embodiment, the relevant information of the file to be downloaded include that the file is other
Name, the electronic equipment 60 further include:
Determining module 67 determines the file alias according to the file name.
In the embodiment of the present application, when receiving download instruction, judge whether to have in local file and file to be downloaded
Similar file destination then determines whether to user's display reminding information and depending on the user's operation if there is file destination
File to be downloaded is downloaded, this programme is avoided that user inadvertently downloads a large amount of duplicate files, improves electronic equipment and locally deposits
Store up space utilization rate.
A kind of hardware structural diagram of Fig. 7 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 700 includes but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, defeated
Enter unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor
The components such as 710 and power supply 711.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 7 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 710, in the case where receiving the download instruction for file to be downloaded, according to described
The relevant information of file to be downloaded judges in local file with the presence or absence of the file destination to match with the file to be downloaded;?
There are in the case where the file destination, show that there are the prompt informations of the file destination for prompting to user;Execute mesh
Operational order is marked, the object run instruction is generated based on the user for the operation of prompt information input.
In the embodiment of the present application, when receiving download instruction, judge whether to have in local file and file to be downloaded
Similar file destination then determines whether to user's display reminding information and depending on the user's operation if there is file destination
File to be downloaded is downloaded, this programme is avoided that user inadvertently downloads a large amount of duplicate files, improves electronic equipment and locally deposits
Store up space utilization rate.
It should be understood that the embodiment of the present invention in, radio frequency unit 701 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 710 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 701 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 701 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 702 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 703 can be received by radio frequency unit 701 or network module 702 or in memory 709
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 703 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 700 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 703 includes loudspeaker, buzzer and receiver etc..
Input unit 704 is for receiving audio or video signal.Input unit 704 may include graphics processor
(Graphics Processing Unit, GPU) 7041 and microphone 7042, graphics processor 7041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 706.Through graphics processor 7041, treated that picture frame can be deposited
Storage is sent in memory 709 (or other storage mediums) or via radio frequency unit 701 or network module 702.Mike
Wind 7042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 701 is converted in the case where telephone calling model.
Mobile terminal 700 further includes at least one sensor 705, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 7061, and proximity sensor can close when mobile terminal 700 is moved in one's ear
Display panel 7061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 705 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 706 is for showing information input by user or being supplied to the information of user.Display unit 706 can wrap
Display panel 7061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 7061.
User input unit 707 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 707 include touch panel 7071 and
Other input equipments 7072.Touch panel 7071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 7071 or in touch panel 7071
Neighbouring operation).Touch panel 7071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 710, receiving area
It manages the order that device 710 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 7071.In addition to touch panel 7071, user input unit 707 can also include other input equipments
7072.Specifically, other input equipments 7072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 7071 can be covered on display panel 7061, when touch panel 7071 is detected at it
On or near touch operation after, send processor 710 to determine the type of touch event, be followed by subsequent processing device 710 according to touching
The type for touching event provides corresponding visual output on display panel 7061.Although in Fig. 7, touch panel 7071 and display
Panel 7061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 7071 and display panel 7061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 708 is the interface that external device (ED) is connect with mobile terminal 700.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 708 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 700 or can be used in 700 He of mobile terminal
Data are transmitted between external device (ED).
Memory 709 can be used for storing software program and various data.Memory 709 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 709 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 710 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 709, and calls and is stored in storage
Data in device 709 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 710 may include one or more processing units;Preferably, processor 710 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 710.
Mobile terminal 700 can also include the power supply 711 (such as battery) powered to all parts, it is preferred that power supply 711
Can be logically contiguous by power-supply management system and processor 710, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 700 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 710, and memory 709 is stored in
On memory 709 and the computer program that can run on the processor 710, the computer program are executed by processor 710
A kind of above-mentioned each process for the embodiment of the method that operation is executed based on download instruction of Shi Shixian, and identical technology effect can be reached
Fruit, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize that a kind of above-mentioned method for executing operation based on download instruction is implemented when being executed by processor
Each process of example, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer
Readable storage medium storing program for executing, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random
Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (14)
1. a kind of method for executing operation based on download instruction characterized by comprising
In the case where receiving the download instruction for file to be downloaded, judged according to the relevant information of the file to be downloaded
With the presence or absence of the file destination to match with the file to be downloaded in local file;
There are the file destination, show that there are the prompt informations of the file destination for prompting to user;
Performance objective operational order, the object run instruction are raw for the operation of prompt information input based on the user
At.
2. the method as described in claim 1, which is characterized in that object run instruction be used to indicate whether downloading it is described to
Download file.
3. the method as described in claim 1, which is characterized in that the case where receiving the download instruction for file to be downloaded
Under, the method also includes:
Obtain the relevant information of the file to be downloaded;
Obtain the relevant information of the local file;
Wherein, the relevant information according to the file to be downloaded judges to whether there is and the text to be downloaded in local file
The file destination that part matches, comprising:
According to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file, described is judged
It whether there is the file destination in ground file.
4. method as claimed in claim 3, which is characterized in that the relevant information according to the file to be downloaded with it is described
The match condition of the relevant information of local file judges in the local file with the presence or absence of the file destination, comprising:
According to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file, target text is determined
Part set, the matching of the relevant information of the relevant information and file to be downloaded of the local file in the target document collection
Degree is greater than or equal to preset matching degree threshold value;
According to the phase of the file content of the file to be downloaded and the file content of the local file in the target document collection
Like degree, judge in the target document collection with the presence or absence of the file destination.
5. the method as described in claim 1, which is characterized in that further include:
In the case where the file destination is not present, the file to be downloaded is downloaded.
6. the method as described in claim 1, which is characterized in that the relevant information of the file to be downloaded includes following at least one
: file name, file alias, file type, file size.
7. method as claimed in claim 6, which is characterized in that the relevant information of the file to be downloaded includes that the file is other
Name, the method also includes:
According to the file name, the file alias is determined.
8. a kind of electronic equipment characterized by comprising
Judgment module, in the case where receiving the download instruction for file to be downloaded, according to the phase of the file to be downloaded
Information is closed to judge in local file with the presence or absence of the file destination to match with the file to be downloaded;
Display module shows that there are the file destinations for prompting to user there are the file destination
Prompt information;
Execution module, performance objective operational order, the object run instruction are defeated for the prompt information based on the user
The operation entered generates.
9. electronic equipment as claimed in claim 8, which is characterized in that the object run instruction is used to indicate whether downloading institute
State file to be downloaded.
10. electronic equipment as claimed in claim 8, which is characterized in that the electronic equipment further include:
First obtains module, obtains the relevant information of the file to be downloaded;
Second obtains module, obtains the relevant information of the local file;
Wherein, the judgment module, is used for:
According to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file, described is judged
It whether there is the file destination in ground file.
11. electronic equipment as claimed in claim 10, which is characterized in that the judgment module is used for:
According to the match condition of the relevant information of the file to be downloaded and the relevant information of the local file, target text is determined
Part set, the matching of the relevant information of the relevant information and file to be downloaded of the local file in the target document collection
Degree is greater than or equal to preset matching degree threshold value;
According to the phase of the file content of the file to be downloaded and the file content of the local file in the target document collection
Like degree, judge in the target document collection with the presence or absence of the file destination.
12. electronic equipment as claimed in claim 8, which is characterized in that further include:
Download module downloads the file to be downloaded in the case where the file destination is not present.
13. electronic equipment as claimed in claim 8, which is characterized in that the relevant information of the file to be downloaded includes following
At least one of: file name, file alias, file type, file size.
14. electronic equipment as claimed in claim 13, which is characterized in that the relevant information of the file to be downloaded includes described
File alias, the electronic equipment further include:
Determining module determines the file alias according to the file name.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811455102.7A CN109324999B (en) | 2018-11-30 | 2018-11-30 | Method and electronic equipment for executing operation based on download instruction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811455102.7A CN109324999B (en) | 2018-11-30 | 2018-11-30 | Method and electronic equipment for executing operation based on download instruction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109324999A true CN109324999A (en) | 2019-02-12 |
CN109324999B CN109324999B (en) | 2021-01-08 |
Family
ID=65255926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811455102.7A Active CN109324999B (en) | 2018-11-30 | 2018-11-30 | Method and electronic equipment for executing operation based on download instruction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324999B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049887A (en) * | 2019-11-29 | 2020-04-21 | 天脉聚源(杭州)传媒科技有限公司 | Download control method, system and storage medium based on dynamic search strategy |
CN114615229A (en) * | 2022-03-02 | 2022-06-10 | 联想(北京)有限公司 | Information processing method and device |
CN115348254A (en) * | 2022-07-21 | 2022-11-15 | 昆仑数智科技有限责任公司 | File packaging and downloading method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103108051A (en) * | 2013-02-27 | 2013-05-15 | 上海够快网络科技有限公司 | Synchronous file sharing method from cloud server |
US8635216B1 (en) * | 2004-09-30 | 2014-01-21 | Avaya Inc. | Enhancing network information retrieval according to a user search profile |
CN103870477A (en) * | 2012-12-12 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Clustering type file management method and device |
CN105160030A (en) * | 2015-09-30 | 2015-12-16 | 北京金山安全软件有限公司 | Method and device for transmitting media cache files on mobile terminal |
CN105404696A (en) * | 2015-12-23 | 2016-03-16 | 北京奇虎科技有限公司 | Method, system and device for downloading photographs in photograph album |
CN106294663A (en) * | 2016-08-04 | 2017-01-04 | 网宿科技股份有限公司 | A kind of electronic equipment and application image processing method and system |
CN106982254A (en) * | 2017-03-30 | 2017-07-25 | 中国联合网络通信集团有限公司 | The method and apparatus of file download |
-
2018
- 2018-11-30 CN CN201811455102.7A patent/CN109324999B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8635216B1 (en) * | 2004-09-30 | 2014-01-21 | Avaya Inc. | Enhancing network information retrieval according to a user search profile |
CN103870477A (en) * | 2012-12-12 | 2014-06-18 | 腾讯科技(深圳)有限公司 | Clustering type file management method and device |
CN103108051A (en) * | 2013-02-27 | 2013-05-15 | 上海够快网络科技有限公司 | Synchronous file sharing method from cloud server |
CN105160030A (en) * | 2015-09-30 | 2015-12-16 | 北京金山安全软件有限公司 | Method and device for transmitting media cache files on mobile terminal |
CN105404696A (en) * | 2015-12-23 | 2016-03-16 | 北京奇虎科技有限公司 | Method, system and device for downloading photographs in photograph album |
CN106294663A (en) * | 2016-08-04 | 2017-01-04 | 网宿科技股份有限公司 | A kind of electronic equipment and application image processing method and system |
CN106982254A (en) * | 2017-03-30 | 2017-07-25 | 中国联合网络通信集团有限公司 | The method and apparatus of file download |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049887A (en) * | 2019-11-29 | 2020-04-21 | 天脉聚源(杭州)传媒科技有限公司 | Download control method, system and storage medium based on dynamic search strategy |
CN114615229A (en) * | 2022-03-02 | 2022-06-10 | 联想(北京)有限公司 | Information processing method and device |
CN115348254A (en) * | 2022-07-21 | 2022-11-15 | 昆仑数智科技有限责任公司 | File packaging and downloading method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109324999B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104123316B (en) | Resource collecting method, device and equipment | |
CN107707828B (en) | A kind of method for processing video frequency and mobile terminal | |
CN108470041A (en) | A kind of information search method and mobile terminal | |
CN109445894A (en) | A kind of screenshot method and electronic equipment | |
CN108228882A (en) | The recommendation method and terminal device of a kind of audition for the songs segment | |
CN108763316A (en) | A kind of audio list management method and mobile terminal | |
CN107831989A (en) | A kind of Application Parameters method of adjustment and mobile terminal | |
CN107402964A (en) | A kind of information recommendation method, server and terminal | |
CN110489573A (en) | Interface display method and electronic equipment | |
CN109561211A (en) | A kind of information display method and mobile terminal | |
CN107908770A (en) | A kind of photo searching method and mobile terminal | |
CN108390998A (en) | A kind of method and mobile terminal for sharing file | |
CN109324999A (en) | A kind of method and electronic equipment executing operation based on download instruction | |
CN109165320A (en) | A kind of information collection method and mobile terminal | |
CN108228902A (en) | A kind of document display method and mobile terminal | |
CN110069675A (en) | A kind of search method and mobile terminal | |
CN108345424A (en) | A kind of method for information display and mobile terminal | |
CN107766505A (en) | A kind of file management method and terminal | |
CN110955788A (en) | Information display method and electronic equipment | |
CN109344125A (en) | A kind of file name update method and terminal device | |
CN110188252A (en) | A kind of searching method and terminal | |
CN107659725B (en) | A kind of audio-frequency processing method and mobile terminal | |
CN109284146A (en) | A kind of light application open method and mobile terminal | |
CN109783722A (en) | A kind of content outputting method and terminal device | |
CN109471524A (en) | A kind of method and mobile terminal controlling motor vibrations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |