CN105260207B - A kind of file loading method and system - Google Patents

A kind of file loading method and system Download PDF

Info

Publication number
CN105260207B
CN105260207B CN201510652749.9A CN201510652749A CN105260207B CN 105260207 B CN105260207 B CN 105260207B CN 201510652749 A CN201510652749 A CN 201510652749A CN 105260207 B CN105260207 B CN 105260207B
Authority
CN
China
Prior art keywords
file
application program
select
count value
file destination
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.)
Active
Application number
CN201510652749.9A
Other languages
Chinese (zh)
Other versions
CN105260207A (en
Inventor
俞斌
杨维琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201510652749.9A priority Critical patent/CN105260207B/en
Publication of CN105260207A publication Critical patent/CN105260207A/en
Application granted granted Critical
Publication of CN105260207B publication Critical patent/CN105260207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of file loading method and systems, wherein method applies select file comprising steps of A, mobile terminal are obtained from server end in advance, and saves;B, when the mobile terminal receives the instruction of load file destination, the type of the file destination is obtained;C, the file destination is loaded using application program associated with the type of the file destination is selected in select file from described.The file loading method provided through the invention can effectively solve randomness of the user when selecting application program load document in the prior art, and the problem of be difficult to select preferably application program.

Description

A kind of file loading method and system
Technical field
The present invention relates to mobile terminal application field more particularly to a kind of file loading method and systems.
Background technique
In the prior art, when the file midpoint of mobile terminal is hit and opens a file, there are two types of situations: the first feelings Condition is to jump out interface if the type (being determined by the suffix of filename) of file is clicked opening for the first time and user's selection is allowed to make With what application program come load document, user is often chosen at random;Second situation is if the type of file is not It is once clicked opening, mobile terminal will load again this document according to the application program of first time selection load.According to It is upper described, it is had the drawback that using prior art load document: a file is loaded using what application program When being opened for the first time just it has been determined that and if not by its functional development after user for the first time selected application program Must become better and better, user also will be unable to using.For example, suffix is that the file of .doc can be by application program A, application program B is loaded, if first time user selects application program A to load, if but being better than application program after the function of application program B A, user also will be unable to enjoy.In addition, when selecting first time, because there is randomness in user, it is also possible to non-selected more excellent Application program.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of file loading method and system, purports Solve user in load document when application program selection randomness, can not select more preferably application program carry out load document Problem.
Technical scheme is as follows:
A kind of file loading method, wherein include:
A, mobile terminal obtains from server end apply select file in advance, and saves;
B, when the mobile terminal receives the instruction of load file destination, the type of the file destination is obtained;
C, it is loaded from described using application program associated with the type of the file destination is selected in select file The file destination.
The file loading method, wherein the step A is specifically included:
A1, when mobile terminal receives the push instruction of the update of server end sending using select file, then it is described The application select file that mobile terminal is updated from server end downloading, and replace the application select file saved.
The file loading method, wherein after the step C further include:
D, when the file destination loads successfully, the application name of load is uploaded to server end, by servicing Device end adds 1 processing to the starting count value of the application program and starting count value is stored in using in select file.
The file loading method, wherein the step C is specifically included:
C1, in the application select file of the acquisition for mobile terminal, search all type phases with the file destination Associated application program and the starting count value for counting the application program found;
C2, the application program found is arranged by starting count value size, the big application program of starting count value Front is come, the small application program of starting count value comes below;
C3, the file is loaded by the application program of the sequential selection foremost arranged.
The file loading method, wherein after the step C further include:
If E, saved using in select file be not present application program associated with the type of the file destination, Then prompt user's file destination that can not load.
A kind of file loading system, wherein include:
Module is obtained using select file, is obtained in advance from server end for mobile terminal and applies select file, and protected It deposits;
Target file type obtains module, when for receiving the instruction of load file destination when the mobile terminal, obtains Take the type of the file destination;
File destination loading module, for from it is described using in select file select it is related to the type of the file destination The application program of connection loads the file destination.
The file loading system, wherein the application select file obtains module and specifically includes:
Download unit, the update for receiving server end sending when mobile terminal are instructed using the push of select file When, then the application select file that the mobile terminal is updated from server end downloading, and replace the application selection saved File.
The file loading system, wherein further include:
Uploading module: for when the file destination loads successfully, the application name of load to be uploaded to service Device end is added 1 processing by starting count value of the server end to the application program and starting count value is stored in using selection text In part.
The file loading system, wherein the file destination loading module specifically includes:
Searching unit: all literary with the target for searching in the application select file of the acquisition for mobile terminal The associated application program of the type of part and the starting count value for counting the application program found;
Arrangement units: for that will arrange the application program found by starting count value size, start count value Big application program comes front, and the small application program of starting count value comes below;
Loading unit: the file is loaded for the application program by the sequential selection foremost arranged.
The file loading system, wherein further include:
Cue module: associated with the type of the file destination using being not present in select file for what ought be saved Application program when, prompt user's file destination can not load.
The utility model has the advantages that the present invention by from server end downloading apply select file, in the terminal selection and target The type of file associated application program loads such file.It can effectively solve in the prior art through the invention User selects there is randomness when application program when first switching on file destination, is difficult selection preferably application program, with And select first time selected application program always when opening same type of file destination later to load, and can not select The problem of selecting preferably application program.
Detailed description of the invention
Fig. 1 is a kind of flow chart of file loading method preferred embodiment of the present invention.
Fig. 2 is the specific flow chart of step S120 in method shown in Fig. 1.
Fig. 3 is a kind of structural framing figure of file loading system preferred embodiment of the present invention.
Specific embodiment
The present invention provides a kind of file loading method and system, to make the purpose of the present invention, technical solution and effect more It is clear, clear, referring to the drawings and give an actual example that the present invention is described in more detail.It should be appreciated that tool described herein Body embodiment is only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of file loading method preferred embodiment of the present invention, as shown, it is wrapped It includes:
S100, mobile terminal obtain from server end apply select file in advance, and save;
S110, when the mobile terminal receive load file destination instruction when, obtain the type of the file destination;
S120, add from described using application program associated with the type of the file destination is selected in select file Carry the file destination.
In the step s 100, specifically, when mobile terminal receives the update of server end sending using select file When push instruction, select file is applied from server end downloading, and replaces the already present application selection text of mobile terminal Part.Use habit for the convenience of the user can be arranged certain time interval in mobile terminal and receive server end sending automatically Update instructed using the push of select file, the time interval may be configured as one day, one week, one month etc..Specifically, such as Fruit user is relatively high to the requirement of application program, and mobile terminal can be received to the update that server end is sent and select practical writing The time interval of part instruction is set as one day, and user can be facilitated to timely update function preferably application program in this way;If user Not high to the requirement of application program and be not desired to often change the use habit of oneself, then user can receive mobile terminal The time interval for the update selection application file instruction that server end is sent is set as one week or one month or three months, in this way may be used Facilitate user fixed using oneself favorite application while user also being avoided often to be pushed away by what server end frequently issued Instruction is sent to bother.
The content using select file can be title including application program and application program can load File type, for example including following content:
.doc application program A;
.doc application program B;
.pdf application program C;
.pdf application program A;
.pdf application program D;
Above content indicates that application program A and application program B can load the file of .doc type, application program C, using journey Sequence D can load the file of .pdf type.The preservation format of above content can be saved by every data, be contained in every data File type and corresponding application name, file type are referred to as a column, are searched with facilitating as a column, application name Rope.
In step s 110, when the mobile terminal receive load file destination instruction when, can be by file after Sew or file header determines the type of file destination, the file header refers to that one section positioned at file beginning undertakes certain task Data, it describes some important attributes an of file, can more accurately determine file type according to the file header of file.
In the step s 120, from described using selection application associated with the type of the file destination in select file Program loads the file destination.After having selected suitable application program in application select file, it is also necessary to from local Corresponding application program is found, so the present invention is respectively applied in local search automatically preferably after getting using select file Program position, and after the information of Starting mode is added to the title of corresponding application programs, it is convenient in load target text Quick start application program when part.Increase by a column, in application select file for saving the information of Starting mode.Certainly, If not installing the application program or starting error (the last time starting error) locally, in a column of Starting mode It fills in and does not install or start the information such as abnormal, convenient for being prompted to user, the application program cannot be selected to load file destination why.
After successfully loading file destination, it is also necessary to carry out upload movement, i.e., after step S120 further include:
S103, when the file destination loads successfully, the application name of load is uploaded to server end, by taking Business device end adds 1 processing to the starting count value of the application program and starting count value is stored in using in select file.
After loading successfully, the application name by this load is needed to upload onto the server end, by server end pair User loads application program used in the type file destination and counts, and can specifically be indicated using a starting count value, Successfully the type file destination successfully is loaded using the application program every time, then starts count value and adds 1, can thus get this The frequency of use and number of each application program of type target file.In addition the starting count value can be also stored in using selection In file, and file type, the application program that can be loaded, starting count value are corresponded and saved as a data, answered With can be reserved for a plurality of data in select file, it is exemplified below:
.doc application program A 22;
.doc application program B 26;
.pdf application program C 90;
.pdf application program A 106;
.pdf application program D 8;
Above content includes three column: first row is file type (postfix notation), and secondary series is load corresponding document type Application program, third column be using the application program load corresponding document type starting count value.Such as above-mentioned Its expression of content: the starting count value using application program A load .doc file is 22, utilizes application program B load .doc text The starting count value of part is 26, and the starting count value using application program C load .pdf file is 90, is added using application program A The starting count value for carrying .pdf file is 106, and the starting count value using application program D load .pdf file is 8 times.
Using above-mentioned starting count value, the selection course of application program can be optimized, select more commonly used application Program loads file destination, and specifically, the step S120 can be refined as following steps, as shown in Figure 2:
S112, in the application select file of the acquisition for mobile terminal, search all with the target file type phase Associated application program and the starting count value for counting the application program found;
S122, the application program found is arranged by starting count value size, the big application journey of starting count value Sequence comes front, and the small application program of starting count value comes below;
S132, the file is loaded by the application program of the sequential selection foremost arranged.
Son illustrates above-mentioned steps as an example below, for example, being .doc when to need file destination to be loaded be suffix Type file when, then from mobile terminal has obtained using searching all type phases with the file destination in select file Associated application program, that is, the application program of file destination can successfully be loaded by finding out those, it is assumed that find application program A, Application program B and application program C can successfully load the file destination, then find following data::
.doc application program A 134
.doc application program B 99
.doc application program C 178
The application program A, application program B and application program C are arranged by the size of starting count value, starting meter The big application program of numerical value comes front, and the small application program of starting count value comes below, as follows:
.doc application program C 178
.doc application program A 134
.doc application program B 99
The starting count value of application program C is maximum at this time, that is, selects application program C to load the suffix as the mesh of .doc Mark file.After application program C successfully loads file destination, the title of application program C (is also needed to include added by this certainly The type of the file destination of load) it is uploaded to server end, 1 processing is added simultaneously by starting count value of the server end to the application program By treated, starting count value is stored in using in select file.User can be facilitated to find and use in time by the above method Preferably application program loads file destination, meets the needs of user is to more excellent application program.
By above-mentioned analysis it is found that the application select file that mobile terminal is downloaded from server end all saves application program Starting count value, and after mobile terminal successfully loads file destination, server end can all be carried out more application select file Newly, thus the application select file downloaded from server end of mobile terminal in use for some time, the starting of each application program Count value may have large change.In embodiments of the present invention, it can be issued according to above-mentioned from server end to mobile terminal It updating and is instructed using the push of select file, such user can be updated the application select file that mobile terminal is kept, Or more specifically to receive push instruction automatically in mobile terminal setting certain time interval, to achieve the purpose that update. But it is further preferred that coming when the starting count value of each application program has reached a biggish variation in application select file Active push more new command.Such as when the application program ranking that a file type can load in application select file becomes Change, as the position of front three is changed or a certain new application program has climbed up TOP V or first place Position decline is very fast, such as reduces by one weekly, and any one of these situations such as have occurred, then all sends out to mobile terminal It send push to instruct, user is prompted to update the application select file of itself mobile terminal.
In the present invention, if in the application select file that mobile terminal has saved search less than with the file destination The associated application program of type, then prompt user's file destination that can not load.Son is as follows as an example: assuming that needing to load File destination be type file that suffix is .rmvb, and can not find in the application select file that mobile terminal has saved can To load the suffix as the application program of the file destination of .rmvb, user's target text can be reminded in several ways at this time Part can not load.For example, voice broadcasting modes or the mobile terminal pop up a text prompt frame by way of or It is prompted by way of vibration, 3 kinds of alerting patterns can intuitively and easily achieve the effect that remind user, Yong Huke Any one mode or simultaneous selection various ways are selected to remind oneself according to the hobby of oneself or habit.
Based on the above method, the present invention also provides a kind of file loading systems, as shown in Figure 3, comprising:
Module 200 is obtained using select file, is obtained in advance from server end for mobile terminal and applies select file, and It saves;
Target file type obtains module 201, when for receiving the instruction of load file destination when the mobile terminal, Obtain the type of the file destination;
File destination loading module 202, for being selected and the type of the file destination from described using in select file Associated application program loads the file destination.
Further, the application select file obtains module 200 and specifically includes:
Download unit, the update for receiving server end sending when mobile terminal are instructed using the push of select file When, then the application select file that the mobile terminal is updated from server end downloading, and replace the application selection saved File.
Further, the file loading system, wherein further include:
Uploading module: for when the file destination loads successfully, the application name of load to be uploaded to service Device end is added 1 processing by starting count value of the server end to the application program and starting count value is stored in using selection text In part.
Further, the file loading system, wherein the file destination loading module 202 specifically includes:
Searching unit: all literary with the target for searching in the application select file of the acquisition for mobile terminal The associated application program of the type of part and the starting count value for counting the application program found;
Arrangement units: for that will arrange the application program found by starting count value size, start count value Big application program comes front, and the small application program of starting count value comes below;
Loading unit: the file is loaded for the application program by the sequential selection foremost arranged.
Further, the file loading system, wherein further include:
Cue module: associated with the type of the file destination using being not present in select file for what ought be saved Application program when, prompt user's file destination can not load.
In conclusion the present invention is by downloading application select file associated with certain type file simultaneously from server end It counts it and starts count value, selection starts the maximum application program of count value to load such text in the terminal Part.Which application program can effectively solve user in the prior art through the invention selects when first switching on file destination There is randomness in load document, be difficult selection preferably application program, and when opening same type of file destination later Always selection first time, selected application program was come the problem of loading, and can not select preferably application program.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, wanted for example, all these modifications and variations all should belong to right appended by the present invention The protection scope asked.

Claims (8)

1. a kind of file loading method characterized by comprising
A, mobile terminal obtains from server end apply select file in advance, and saves;
B, when the mobile terminal receives the instruction of load file destination, the type of the file destination is obtained;
C, it is loaded from described using application program associated with the type of the file destination is selected in select file described File destination;
After the step C further include:
D, when the file destination loads successfully, the application name of load is uploaded to server end, by server end 1 processing is added to the starting count value of the application program and starting count value is stored in using in select file.
2. file loading method according to claim 1, which is characterized in that the step A is specifically included:
A1, when mobile terminal receive server end sending update using select file push instruction when, then the movement The application select file that terminal is updated from server end downloading, and replace the application select file saved.
3. file loading method according to claim 1, which is characterized in that the step C is specifically included:
C1, in the application select file of the acquisition for mobile terminal, search it is all associated with the type of the file destination Application program and the starting count value of application program that finds of statistics;
C2, the application program found is arranged by starting count value size, the big application program of starting count value comes Front, the small application program of starting count value come below;
C3, the file is loaded by the application program of the sequential selection foremost arranged.
4. file loading method according to claim 1, which is characterized in that after the step C further include:
If E, saved using in select file be not present application program associated with the type of the file destination, mention Show that user's file destination can not load.
5. a kind of file loading system characterized by comprising
Module is obtained using select file, is obtained in advance from server end for mobile terminal and applies select file, and saved;
Target file type obtains module, when for receiving the instruction of load file destination when the mobile terminal, obtains institute State the type of file destination;
File destination loading module, for from it is described using in select file select it is associated with the type of the file destination Application program loads the file destination;
Uploading module: for when the file destination loads successfully, the application name of load to be uploaded to server end, Added 1 processing by starting count value of the server end to the application program and starting count value is stored in using in select file.
6. file loading system according to claim 5, which is characterized in that it is specific that the application select file obtains module Include:
Download unit, when the update for receiving server end sending when mobile terminal is instructed using the push of select file, The then application select file that the mobile terminal is updated from server end downloading, and replace the application selection text saved Part.
7. file loading system according to claim 6, which is characterized in that the file destination loading module specifically wraps It includes:
Searching unit: all and the file destination for searching in the application select file of the acquisition for mobile terminal The associated application program of type and the starting count value for counting the application program found;
Arrangement units: for will arrange the application program found by starting count value size, starting count value is big Application program comes front, and the small application program of starting count value comes below;
Loading unit: the file is loaded for the application program by the sequential selection foremost arranged.
8. file loading system according to claim 5, which is characterized in that further include:
Cue module: it is answered using in select file there is no associated with the type of the file destination for what ought be saved When with program, prompt user's file destination that can not load.
CN201510652749.9A 2015-10-10 2015-10-10 A kind of file loading method and system Active CN105260207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510652749.9A CN105260207B (en) 2015-10-10 2015-10-10 A kind of file loading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510652749.9A CN105260207B (en) 2015-10-10 2015-10-10 A kind of file loading method and system

Publications (2)

Publication Number Publication Date
CN105260207A CN105260207A (en) 2016-01-20
CN105260207B true CN105260207B (en) 2019-02-26

Family

ID=55099910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510652749.9A Active CN105260207B (en) 2015-10-10 2015-10-10 A kind of file loading method and system

Country Status (1)

Country Link
CN (1) CN105260207B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250182B (en) * 2016-07-27 2019-12-24 北京金山安全软件有限公司 File processing method and device and electronic equipment
CN109997111A (en) 2016-11-15 2019-07-09 微软技术许可有限责任公司 Contents processing across application
CN109548154A (en) * 2018-11-29 2019-03-29 Tcl移动通信科技(宁波)有限公司 Mobile terminal Frequency Band Selection processing method, system and storage medium
CN110175052A (en) * 2019-04-16 2019-08-27 努比亚技术有限公司 A kind of method, apparatus and computer readable storage medium of file opening
CN110457270A (en) * 2019-07-30 2019-11-15 惠州Tcl移动通信有限公司 A kind of method, apparatus and terminal of file load

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799468A (en) * 2011-05-27 2012-11-28 腾讯科技(深圳)有限公司 Method and device for opening unknown file
CN103488511A (en) * 2013-09-25 2014-01-01 深圳市金立通信设备有限公司 Method and device for inquiring file opening mode
CN103812887A (en) * 2012-11-09 2014-05-21 财团法人资讯工业策进会 File opening method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188695A1 (en) * 2001-06-07 2002-12-12 Frank Tso Auto file opening system and method
JP2014109891A (en) * 2012-11-30 2014-06-12 Toshiba Corp Electronic apparatus and control method of electronic apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799468A (en) * 2011-05-27 2012-11-28 腾讯科技(深圳)有限公司 Method and device for opening unknown file
CN103812887A (en) * 2012-11-09 2014-05-21 财团法人资讯工业策进会 File opening method and system
CN103488511A (en) * 2013-09-25 2014-01-01 深圳市金立通信设备有限公司 Method and device for inquiring file opening mode

Also Published As

Publication number Publication date
CN105260207A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105260207B (en) A kind of file loading method and system
CN104793980B (en) Application program update notification method and its device
CN105867714B (en) Application program method for down loading, apparatus and system
US9258775B1 (en) Location-based software updates
CN102073526B (en) Software transfer installation method and system for mobile terminal
CN103701914B (en) Off-line downloading method and device for serial resources
US20090119388A1 (en) Content relaying device and content relaying method
CN105808094B (en) A kind of application call method and terminal
CN102833350A (en) Processing method and processing device of WebApp updating
JP2013532407A (en) Downloadable application dynamic management device for communication devices
CN109635199A (en) List of application dynamic recommendation method and system based on user behavior
CN104412214A (en) Information processing device, control method therefor, and program
CN105282299A (en) Application starting device and method
CN104216698A (en) Webpage registration method and relative device
CN104092724A (en) Method for song data pulling, terminal and server
CN107301050A (en) A kind of method for pushing, installing and update APP applications
JP2008108007A (en) Communication terminal, communication system, and method for downloading content file
CN103024724A (en) Information processing system and method, server and mobile terminal
CN103440147A (en) Control method and device of software using version
CN104809017A (en) Application program distribution control and execution methods and corresponding devices thereof
CN105931027A (en) Method and device for creating sporting event appointment reminder
CN103218425A (en) Method and device for processing browser extension items
CN107548121B (en) Method and device for determining access network
CN102170476B (en) Cloud computing method and device based on cloud node autonomic learning
RU2515506C1 (en) Data transmission method and device based on slide detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201026

Address after: 6 building, No. 999, Lane 315100, sailing Road, hi tech Zone, Zhejiang, Ningbo, 5

Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Address before: 10 building, No. 999, Lane 5, sailing Road, Ningbo hi tech Zone, Zhejiang, Ningbo, 315100

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.