CN104615622A - Document opening method and device and mobile terminal - Google Patents

Document opening method and device and mobile terminal Download PDF

Info

Publication number
CN104615622A
CN104615622A CN201410308969.5A CN201410308969A CN104615622A CN 104615622 A CN104615622 A CN 104615622A CN 201410308969 A CN201410308969 A CN 201410308969A CN 104615622 A CN104615622 A CN 104615622A
Authority
CN
China
Prior art keywords
file
embedding
open
type
reader
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410308969.5A
Other languages
Chinese (zh)
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410308969.5A priority Critical patent/CN104615622A/en
Publication of CN104615622A publication Critical patent/CN104615622A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a document opening method and device and a mobile terminal, and belongs to the technical field of the internet. The method includes the steps that an opening request of an embedded document corresponding to a document link is acquired according to the document link, and the document type of the embedded document is acquired according to the opening request; whether an existing viewer supports opening of the embedded document or not is determined according to the document type; if the existing viewer supports opening of the embedded document, a built-in downloader downloads the embedded document, and the embedded document is opened through the existing viewer. After the embedded document is determined as the embedded document capable of being opened through support of the existing viewer according to the document type, the built-in downloader directly downloads the embedded document, and the embedded document is opened through the existing viewer. The document opening mode is simple, the document opening efficiency is improved, the content of the embedded document and the content of a webpage where the embedded document is located are combined by a user, and good closed-loop operation experience can be provided for the user.

Description

The method opened file, device and mobile terminal
Technical field
The present invention relates to Internet technical field, particularly a kind of method, device and mobile terminal opened file.
Background technology
Along with developing rapidly of Internet technology, the content that webpage comprises is more and more abundanter.Usually, in order to by a web page interlinkage to another webpage, usually comprise in webpage hyperlink form exist embedding file.Wherein, embed file and for file can be played up, also can play up file for non-.Can play up file is the resource that the render engine support of browser is played up, typesetting needs, as the file of the types such as HTML (Hypertext MarkupLanguage, HTML (Hypertext Markup Language)); Non-file of playing up is that resource that play up, that can not control typesetting do not supported by browser, as DOC (Document, document) file, PDF (PortableDocument Format, Portable document form) file, RMVB (RealMedia Variable Bit Rate, audio frequency and video variable bit rate) file, etc.Wherein, for playing up file and Fei Ke plays up file, the method opened file is not identical.In order to obtain the particular content embedding file, need to open embedding file.
Correlation technique is when opening embedding file, and the method adopted is: what obtain embedding file opens request, and according to opening the file type of acquisition request embedding file; Determine to embed whether file is to play up file according to file type; If embed file be the non-file played up, then obtain user select store path and the filename of user to this embedding file modify after filename; Download according to the filename after this store path and amendment and store this embedding file; Jump out browser, and obtain according to the store path of this embedding file the embedding file downloaded; This embedding file is opened by the software corresponding with this embedding file that terminal is installed.
Realizing in process of the present invention, inventor finds that correlation technique at least exists following problem:
Because correlation technique is when opening embedding file, for the non-file played up, need to obtain store path and user that user selects to the filename etc. embedded after the filename of file is modified, and this embedding file download is stored in the store path that user selects.Therefore, when opening embedding file, need to jump out browser, and open this file by the software corresponding with this embedding file, cause the complex operation opened file, the efficiency opened file is not high.In addition, open the non-process playing up the embedding file of file layout and will jump out the webpage of browser when front opening, cause user the content embedding file not to be combined with the web page contents at this embedding file place well, good close loop maneuver cannot be brought to experience to user.
Summary of the invention
In order to solve the problem of correlation technique, embodiments provide a kind of method, device and the mobile terminal that open file.Described technical scheme is as follows:
First aspect, provide a kind of method opened file, described method comprises:
What obtain embedding file corresponding to described file chaining according to file chaining opens request, and opens according to described the file type embedding file described in acquisition request;
Determine whether carry reader supports to open described embedding file according to described file type;
If described in carry reader support and open described embedding file, then download described embedding file by built-in downloader, and carry reader described in passing through and open described embedding file.
Second aspect, provide a kind of device opened file, described application of installation, in mobile terminal, comprising:
First acquisition module, opens request for what obtain embedding file corresponding to described file chaining according to file chaining;
Second acquisition module, for opening the file type embedding file described in acquisition request described in basis;
First determination module, for determining according to described file type whether carry reader supports to open described embedding file;
Download module, for when described in carry reader support open described embedding file time, download described embedding file by built-in downloader;
Opening module, opening described embedding file for carrying reader described in passing through.
The third aspect, provide a kind of mobile terminal, described mobile terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and be configured to be performed by more than one or one processor, described more than one or one routine package is containing the instruction for performing following operation:
What obtain embedding file corresponding to described file chaining according to file chaining opens request, and opens according to described the file type embedding file described in acquisition request;
Determine whether carry reader supports to open described embedding file according to described file type;
If described in carry reader support and open described embedding file, then download described embedding file by built-in downloader, and carry reader described in passing through and open described embedding file.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the implementation environment schematic diagram of a kind of method opened file that one embodiment of the invention provides;
Fig. 2 is a kind of method flow diagram opened file that another embodiment of the present invention provides;
Fig. 3 is a kind of method flow diagram opened file that another embodiment of the present invention provides;
A kind of interface of mobile terminal schematic diagram when opening file that Fig. 4 is that another embodiment of the present invention provides;
Fig. 5 is a kind of apparatus structure schematic diagram opened file that another embodiment of the present invention provides;
Fig. 6 is a kind of apparatus structure schematic diagram opened file that another embodiment of the present invention provides;
Fig. 7 is a kind of apparatus structure schematic diagram opened file that another embodiment of the present invention provides;
Fig. 8 is a kind of apparatus structure schematic diagram opened file that another embodiment of the present invention provides;
Fig. 9 is a kind of mobile terminal structure schematic diagram that another embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
See Fig. 1, it illustrates the implementation environment schematic diagram of the method opened file that the embodiment of the present invention provides, the executive agent of this method opened file can for the browser that mobile terminal is installed.As shown in Figure 1, this browser includes render engine 101, built-in downloader 102 and carries reader 103.When user browses webpage by browser, for playing up file, render engine 101 is directly played up this file, and opens and display file content by carrying reader 103; Play up file for non-, this class file is given built-in downloader 102 and is processed by browser, downloads this embedding file and open the content of this embedding file by carrying reader 103 by built-in downloader 102.
Wherein, the embodiment of the present invention does not limit the particular type of mobile terminal.During concrete enforcement, this mobile terminal can be smart mobile phone, panel computer, E-book reader, MP3 (Moving PictureExperts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player, etc.About the particular type of browser, the embodiment of the present invention does not do concrete restriction equally.During concrete enforcement, browser can be the browser of any type.
The concrete method opened file refers to each embodiment following:
See Fig. 2, embodiments provide a kind of method opened file.The method flow that the embodiment of the present invention provides comprises:
201: what obtain embedding file corresponding to file chaining according to file chaining opens request, and according to opening the file type of this embedding file of acquisition request.
Alternatively, according to the file type opening acquisition request embedding file, comprising:
According to opening request analysis file chaining, obtain analysis result;
The file type embedding file is obtained according to analysis result.
Alternatively, according to the file type opening acquisition request embedding file, comprising:
Send file type according to the request of opening to server and obtain request, and the file type of carrying file type that reception server returns obtains response, obtain response according to file type and obtain the file type embedding file.
202: determine whether carry reader supports to open this embedding file according to file type.
203: if carry reader support to open this embedding file, then download this embedding file by built-in downloader, and open this embedding file by carrying reader.
Alternatively, according to open acquisition request embed file file type after, also comprise:
Determine to embed whether file is to play up file according to file type;
If embedding file is non-ly play up file, then performs and determine whether carry reader supports to open the step embedding file according to described file type.
Alternatively, after determining whether carry reader supports to open embedding file according to file type, also comprise:
If carry reader not support to open embedding file, then sending file open request to server, server is downloaded according to file open request and embeds file, is carry the file layout that reader support opens by embedding file translations;
Embedding file after the conversion form that reception server returns, and open by carrying reader the embedding file transformed after form.
Alternatively, according to file type determine to embed file be whether can play up file after, also comprise:
If embed file for file can be played up, then play up embedding file.
The method that the embodiment of the present invention provides, by determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
See Fig. 3, embodiments provide a kind of method opened file.The method flow that the embodiment of the present invention provides comprises:
301: what obtain embedding file corresponding to file chaining according to file chaining opens request, and according to opening the file type of this embedding file of acquisition request.
In order to enable webpage comprise abundant content, when a certain web page contents of browser display, many files are had to be that the mode embedding file carries out showing.Such as, many file chainings can be shown in webpage.In order to obtain the particular content that these embed file, needing to open these and embedding file.Open embed file time, what need to obtain embedding file corresponding to file chaining according to file chaining opens request.In addition, determining that browser carries reader and whether supports to open this embedding file in order to follow-up, needing the file type according to opening this embedding file of acquisition request.
About the mode of request of opening obtaining embedding file corresponding to file chaining according to file chaining, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, include but not limited to that whether file chaining is selected realizes by detecting.Wherein, detect the mode whether file chaining is selected, can have a variety of.Such as, can be realized by operation by clicking operation, slide or the length detected on file chaining.
Open the mode of the file type of this embedding file of acquisition request about basis, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, include but not limited to be realized by the following two kinds mode:
First kind of way: because file chaining is often URL (Universal Resource Locator, URL(uniform resource locator)), and often carry the file path of file in URL, and often comprise filename and file type in file path.Therefore, according to opening request analysis file chaining, analysis result can be obtained, and obtain the file type embedding file according to analysis result.
The second way: the server that browser is corresponding usually can store the file type embedding file, as MIME (Multipurpose Internet Mail Extensions, the type of Internet resources).Therefore, can to the file type of this embedding file of server request.Be specifically as follows: send file type according to the request of opening to server and obtain request, and the file type acquisition response of carrying file type that reception server returns, thus obtain according to file type the file type that response obtains embedding file.
Wherein, the file type returning which file is clearly needed in order to make server, when sending file type acquisition request according to the request of opening to server, the identification information carrying this embedding file in request can be obtained in file type, make server according to after the file type of this embedding file of the identification information-enquiry of this embedding file, return the file type of carrying file type and obtain response.
Ask to send to server the mode that file type obtains request about according to opening, and the file type of carrying file type that reception server returns obtains the mode responded, the embodiment of the present invention does not all do concrete restriction.Obtaining about obtaining response according to file type the mode of file type embedding file, including but not limited to that resolving this file type obtains response, and analytically obtain the file type of this embedding file in result.
In addition, about the concrete form of the file type of embedding file, the embodiment of the present invention does not do concrete restriction equally.Such as, the file type embedding file can be html format, DOC form etc.
302: determine whether this embedding file is to play up file according to file type, if this embedding file is non-ly play up file, perform step 303; If this embedding file, for can play up file, skips to step 306.
Wherein, determine that this embedding file be whether the step can playing up file is optional step according to file type.Because the typesetting engine of browser can be carried out typesetting for playing up file and control display format, then can not carry out typesetting for non-file of playing up and control display format.Therefore, for playing up file and Fei Ke plays up file, browser has different processing modes.Therefore, in order to determine whether can be played up, browser needs to determine whether this embedding file is to play up file according to file type if embedding file.About for the Different treatments can playing up file and Fei Ke and play up file, see following content, wouldn't be able to repeat herein.
About determining according to file type whether this embedding file is the mode can playing up file, include but not limited to: prestore and can play up file type corresponding to file and Fei Ke plays up file type corresponding to file, and file type corresponding with the file played up prestored for the file type of this embedding file and Fei Ke are played up file type corresponding to file and compare and realize.Certainly, only can also prestore and can play up file type corresponding to file, when after the file type getting this embedding file, whether the file type determining to get this embedding file belongs to can be played up file type corresponding to file and realize.Particularly, if the file type getting this embedding file belongs to can play up file type corresponding to file, then determine that this embedding file is for can play up file; If the file type getting this embedding file does not belong to can play up file type corresponding to file, then determine that this embedding file is non-ly play up file.
303: determine whether carry reader supports to open this embedding file according to file type, if carry reader support to open this embedding file, perform step 304; If carry reader not support to open this embedding file, then skip to step 305.
Owing to playing up file for non-, the render engine of browser is not supported to play up, and therefore, in order to obtain the non-particular content playing up file, the method support that the embodiment of the present invention provides is downloaded by the built-in downloader of browser and opened this embedding file.But, because built-in downloader only may support the embedding file opening partial document type.Therefore, before this embedding file downloaded by the built-in downloader of control, need to determine whether carry reader supports to open this embedding file according to file type.
Carrying about determining according to file type the mode whether reader supports to open this embedding file, can have a variety of.Such as, the file type carrying reader support and open can be prestored, and by the file type of this embedding file with prestore the file type comparison one by one carrying reader support and open, determine whether carry reader supports to open this embedding file according to comparison result.Certainly, other mode can also be adopted to determine whether support to open this embedding file, the embodiment of the present invention does not do concrete restriction to this if carrying reader according to file type.
304: download this embedding file by built-in downloader, and open this embedding file by carrying reader.
What carry that reader support opens for browser belongs to the non-embedding file playing up file, in order to obtain the particular content of this embedding file, can download this embedding file by built-in downloader, and open this embedding file by carrying reader.About the mode being downloaded this embedding file by built-in downloader, and open the mode of this embedding file by carrying reader, the embodiment of the present invention does not all do concrete restriction.Wherein, when by carrying reader and opening this embedding file, first can be decoded the embedding file that built-in downloader downloads by built-in decoder, and open decoded embedding file by carrying reader.
As shown in Figure 4, it illustrates a kind of by carry reader open non-play up file time interface of mobile terminal schematic diagram.As shown in Figure 4, the method provided by the embodiment of the present invention, can directly show in a browser carry that reader support opens belong to the non-embedding file playing up file.This embedding file is downloaded by built-in downloader, and open this embedding file by carrying reader, make open support open belong to non-play up the embedding file of file time, the store path of this embedding file and the filename after the filename of this embedding file is modified is stored without the need to obtaining again, and obtain this embedding file according to the store path of this embedding file and without the need to jumping out browser and opening this embedding file by the software corresponding with the file type of this embedding file, the web page contents of the content of this embedding file with this embedding file place can be combined by user, thus good close loop maneuver can be brought to experience to user.
305: send file open request to server, server is made to download this embedding file according to file open request, and by embed file translations be carry file layout that reader support opens after, embedding file after the conversion form that reception server returns, and open by carrying reader the embedding file transformed after form.
For carrying the current embedding file also not supporting to open of reader, in order to obtain the content of this embedding file, this step can be performed.About the mode sending file open request to server, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, clearly need which processes in order to allow server and embed file, the identification information of this embedding file can be carried in this file open request.
Download this embedding file about server according to file open request, and be carry the file layout that reader support opens by embedding file translations, the embodiment of the present invention does not do concrete restriction.Particularly, server, when downloading this embedding file, can pull this embedding file from uploading this embedding file server.Such as, if server corresponding to browser is server A, uploading this embedding file server is server B, then server A can realize downloading this embedding file by pulling this embedding file from server B.In addition, server is being when carrying file layout that reader support opens by embedding file translations, first can determine which file layout carries reader support opens, thus be that any one carries the file of the file layout that reader support is opened by this embedding file translations.
In addition, server is by after to embed file translations be carry file layout that reader support opens, return the embedding file transformed after form, now, embedding file after the conversion form that just can be returned by reception server, and open by carrying reader the embedding file transformed after form.About the embedding file after the conversion form that reception server returns mode and open the mode of the embedding file transformed after form by carrying reader, the embodiment of the present invention does not do concrete restriction.
Alternatively, cause increasing extra load because transforming the form embedding file to reduce server as far as possible, the method that the embodiment of the present invention provides also comprises: expand the scope carrying the file type that reader support is opened in real time.
About expanding in real time the mode carrying the scope of the file type that reader support is opened, include but not limited to can open decoder module corresponding to the new file type different from the file type supporting to open carrying in reader to add in real time.
Due to expand carry the scope of the file type that reader support is opened after, carry the embedding file that reader just can support to open more multifile type, and without the need to not supporting that the embedding file of the file layout opened carries out the operation of format conversion by server to carrying reader again, cause increasing extra load therefore, it is possible to reduce server because transforming the form of embedding file.
306: play up this embedding file.
If embed file for file can be played up, in order to obtain the particular content that this can embed file, this embedding file directly can be played up.About the concrete mode playing up this embedding file, the embodiment of the present invention does not do concrete restriction.During concrete enforcement, HTML, XML (eXtensible MarkupLanguage of this embedding file can be obtained, extend markup language) and image etc., and add CSS (Cascading Style Sheets, CSS (cascading style sheet)) and calculate the display mode of this embedding file until the content of this embedding file shown.
The method that the embodiment of the present invention provides, by determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
See Fig. 5, embodiments provide a kind of device opened file, this device is for performing above-mentioned Fig. 2 or the method opened file provided embodiment illustrated in fig. 3.This device comprises:
First acquisition module 501, opens request for what obtain embedding file corresponding to file chaining according to file chaining;
Second acquisition module 502, opens the file type of this embedding file of acquisition request for basis;
First determination module 503, for determining according to file type whether carry reader supports to open this embedding file;
Download module 504, for when carrying reader support and opening this embedding file, downloads this embedding file by built-in downloader;
Open module 505, for opening this embedding file by carrying reader.
Alternatively, see Fig. 6, device, also comprises:
For determining according to file type, second determination module 506, embeds whether file is to play up file;
First determination module 503, for when embed file be non-play up file time, determine whether carry reader supports to open embedding file according to file type.
Alternatively, the second acquisition module 502, for according to opening request analysis file chaining, obtaining analysis result, and obtaining the file type of this embedding file according to analysis result.
Alternatively, second acquisition module 502, obtain request for sending file type according to the request of opening to server, and the file type of carrying file type that reception server returns obtaining response, obtaining according to file type the file type that response obtains this embedding file.
Alternatively, see Fig. 7, device, also comprises:
Sending module 507, for when carrying reader and not supporting to open this embedding file, sending file open request to server, make server download this embedding file according to file open request, is carry the file layout that reader support opens by this embedding file translations;
Receiver module 508, for the embedding file after the conversion form that reception server returns;
Open module 506, also for opening by carrying reader the embedding file transformed after form.
Alternatively, see Fig. 8, device, also comprises:
Rendering module 509, for when this embedding file is for playing up file, plays up this embedding file.
The device that the embodiment of the present invention provides, by determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
Please refer to Fig. 9, it illustrates the structural representation of the mobile terminal involved by the embodiment of the present invention, this mobile terminal may be used for the method opened file implementing to provide in above-described embodiment.Specifically:
Mobile terminal 900 can comprise RF (Radio Frequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (Wireless Fidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 9 does not form the restriction to mobile terminal, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA (Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (Gen8eral Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of storer 120 by running, thus performs the application of various function and data processing.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile terminal 900.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Alternatively, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other input equipments 132.Particularly, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the mobile terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig .9, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Mobile terminal 900 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when mobile terminal 900 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile terminal attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile terminal 900 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and mobile terminal 900.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another mobile terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 900.
WiFi belongs to short range wireless transmission technology, and mobile terminal 900 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 9 shows WiFi module 170, be understandable that, it does not belong to must forming of mobile terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of mobile terminal 900, utilize the various piece of various interface and the whole mobile terminal of connection, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of mobile terminal 900, thus integral monitoring is carried out to mobile terminal.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Mobile terminal 900 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, mobile terminal 900 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of mobile terminal is touch-screen display, and mobile terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be performed by more than one or one processor.Described more than one or one routine package is containing the instruction for performing following operation:
What obtain embedding file corresponding to file chaining according to file chaining opens request, and according to opening acquisition request and embed the file type of file;
Determine whether carry reader supports to open embedding file according to file type;
If carry reader support to open embedding file, then downloaded by built-in downloader and embed file, and open embedding file by carrying reader.
Suppose that above-mentioned is the first possible embodiment, in the embodiment that the second then provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation: according to open acquisition request embed file file type after, also comprise:
Determine to embed whether file is to play up file according to file type;
If embedding file is non-ly play up file, then performs and determine whether carry reader supports to open the step embedding file according to file type.
In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: according to the file type opening acquisition request embedding file, comprising:
According to opening request analysis file chaining, obtain analysis result;
The file type embedding file is obtained according to analysis result.
In the 4th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: according to the file type opening acquisition request embedding file, comprising:
Send file type according to the request of opening to server and obtain request, and the file type of carrying file type that reception server returns obtains response, obtain response according to file type and obtain the file type embedding file.
In the 5th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: after determining whether carry reader supports to open embedding file according to file type, also comprise:
If carry reader not support to open embedding file, then sending file open request to server, server is downloaded according to file open request and embeds file, is carry the file layout that reader support opens by embedding file translations;
Embedding file after the conversion form that reception server returns, and open by carrying reader the embedding file transformed after form.
In the 6th kind of possible embodiment provided based on the second to any one embodiment of the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: according to file type determine to embed file be whether can play up file after, also comprise:
If embed file for file can be played up, then play up embedding file.
The mobile terminal that the embodiment of the present invention provides, by determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
Embodiments provide a kind of computer-readable recording medium, this computer-readable recording medium can be the computer-readable recording medium comprised in the storer in above-described embodiment; Also can be individualism, be unkitted the computer-readable recording medium allocated in terminal.This computer-readable recording medium stores more than one or one program, and this more than one or one program is used for performing the method realizing opening file by one or more than one processor, the method comprises:
What obtain embedding file corresponding to file chaining according to file chaining opens request, and according to opening acquisition request and embed the file type of file;
Determine whether carry reader supports to open embedding file according to file type;
If carry reader support to open embedding file, then downloaded by built-in downloader and embed file, and open embedding file by carrying reader.
Suppose that above-mentioned is the first possible embodiment, in the embodiment that the second then provided based on the embodiment that the first is possible is possible, in the storer of terminal, also comprise the instruction for performing following operation: according to open acquisition request embed file file type after, also comprise:
Determine to embed whether file is to play up file according to file type;
If embedding file is non-ly play up file, then performs and determine whether carry reader supports to open the step embedding file according to file type.
In the third the possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: according to the file type opening acquisition request embedding file, comprising:
According to opening request analysis file chaining, obtain analysis result;
The file type embedding file is obtained according to analysis result.
In the 4th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: according to the file type opening acquisition request embedding file, comprising:
Send file type according to the request of opening to server and obtain request, and the file type of carrying file type that reception server returns obtains response, obtain response according to file type and obtain the file type embedding file.
In the 5th kind of possible embodiment provided based on the embodiment that the first is possible, in the storer of terminal, also comprise the instruction for performing following operation: after determining whether carry reader supports to open embedding file according to file type, also comprise:
If carry reader not support to open embedding file, then sending file open request to server, server is downloaded according to file open request and embeds file, is carry the file layout that reader support opens by embedding file translations;
Embedding file after the conversion form that reception server returns, and open by carrying reader the embedding file transformed after form.
In the 6th kind of possible embodiment provided based on the second to any one embodiment of the 5th kind of possible embodiment, in the storer of terminal, also comprise the instruction for performing following operation: according to file type determine to embed file be whether can play up file after, also comprise:
If embed file for file can be played up, then play up embedding file.
The computer-readable recording medium that the embodiment of the present invention provides, by determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
A kind of graphical user interface is provided in the embodiment of the present invention, this graphical user interface is used on mobile terminals, and this mobile terminal comprises touch-screen display, storer and one or more than one processor for performing one or more than one program; This graphical user interface comprises:
What obtain embedding file corresponding to file chaining according to file chaining opens request, and according to opening acquisition request and embed the file type of file;
Determine whether carry reader supports to open embedding file according to file type;
If carry reader support to open embedding file, then downloaded by built-in downloader and embed file, and open embedding file by carrying reader.
The graphical user interface that the embodiment of the present invention provides, by determine according to file type to embed file be carry embedding file that reader support opens after, directly download this embedding file by built-in downloader, and open this embedding file by carrying reader, owing to storing the store path of this embedding file and the filename after modifying to the filename of this embedding file without the need to obtaining again, not only make the mode that opens file simple, thus the efficiency opened file can be improved; In addition, owing to namely opening this embedding file by carrying reader without the need to jumping out browser, the content embedding file can be combined with the web page contents at this embedding file place by user, thus good close loop maneuver can be brought to experience to user.
It should be noted that: the device opened file that above-described embodiment provides is when opening file, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by device is divided into different functional modules, to complete all or part of function described above.In addition, the device that what above-described embodiment provided open file, mobile terminal and the embodiment of the method opened file belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. the method opened file, is characterized in that, described method comprises:
What obtain embedding file corresponding to described file chaining according to file chaining opens request, and opens according to described the file type embedding file described in acquisition request;
Determine whether carry reader supports to open described embedding file according to described file type;
If described in carry reader support and open described embedding file, then download described embedding file by built-in downloader, and carry reader described in passing through and open described embedding file.
2. method according to claim 1, is characterized in that, after opening the file type embedding file described in acquisition request, also comprises described in described basis:
Determine whether described embedding file is to play up file according to described file type;
If described embedding file is non-ly play up file, then performs and determine to carry the step whether reader supports to open described embedding file according to described file type.
3. method according to claim 1, is characterized in that, opens the file type embedding file described in acquisition request, comprising described in described basis:
Open file chaining described in request analysis according to described, obtain analysis result;
The file type of described embedding file is obtained according to described analysis result.
4. method according to claim 1, is characterized in that, opens the file type embedding file described in acquisition request, comprising described in described basis:
Send file type according to the described request of opening to server and obtain request, and receive the file type of carrying file type that described server returns and obtain response, obtain according to described file type the file type that response obtains described embedding file.
5. method according to claim 1, is characterized in that, described determine whether carry reader supports to open described embedding file according to described file type after, also comprise:
If described in carry reader and do not support to open described embedding file, then send file open request to server, make described server download described embedding file according to described file open request, by described embedding file translations for described in carry the file layout that reader support opens;
Receive the embedding file after the conversion form that described server returns, and carry reader described in passing through and open embedding file after described conversion form.
6. the method according to claim arbitrary in claim 2 to 5, is characterized in that, described according to described file type determine described embedding file be whether can play up file after, also comprise:
If described embedding file is for can play up file, then play up described embedding file.
7. the device opened file, is characterized in that, described application of installation, in mobile terminal, comprising:
First acquisition module, opens request for what obtain embedding file corresponding to described file chaining according to file chaining;
Second acquisition module, for opening the file type embedding file described in acquisition request described in basis;
First determination module, for determining according to described file type whether carry reader supports to open described embedding file;
Download module, for when described in carry reader support open described embedding file time, download described embedding file by built-in downloader;
Opening module, opening described embedding file for carrying reader described in passing through.
8. device according to claim 7, is characterized in that, described device, also comprises:
Second determination module, for determining according to described file type whether described embedding file is to play up file;
Described first determination module, for when described embedding file be non-play up file time, determine whether carry reader supports to open described embedding file according to described file type.
9. device according to claim 7, is characterized in that, described second acquisition module, for opening file chaining described in request analysis described in basis, obtains analysis result, and obtains the file type of described embedding file according to described analysis result.
10. device according to claim 7, it is characterized in that, described second acquisition module, send file type for the request of opening described in basis to server and obtain request, and receive the file type of carrying file type that described server returns and obtain response, obtain according to described file type the file type that response obtains described embedding file.
11. devices according to claim 7, is characterized in that, described device, also comprises:
Sending module, for when described in carry reader do not support to open described embedding file time, file open request is sent to server, make described server download described embedding file according to described file open request, by described embedding file translations for described in carry the file layout that reader support opens;
Receiver module, for receiving the embedding file after conversion form that described server returns;
Describedly opening module, also opening embedding file after described conversion form for carrying reader described in passing through.
Device in 12. according to Claim 8 to 11 described in arbitrary claim, is characterized in that, described device, also comprises:
Rendering module, for when described embedding file is for playing up file, plays up described embedding file.
13. 1 kinds of mobile terminals, it is characterized in that, described mobile terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and be configured to be performed by more than one or one processor, described more than one or one routine package is containing the instruction for performing following operation:
What obtain embedding file corresponding to described file chaining according to file chaining opens request, and opens according to described the file type embedding file described in acquisition request;
Determine whether carry reader supports to open described embedding file according to described file type;
If described in carry reader support and open described embedding file, then download described embedding file by built-in downloader, and carry reader described in passing through and open described embedding file.
CN201410308969.5A 2014-06-30 2014-06-30 Document opening method and device and mobile terminal Pending CN104615622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410308969.5A CN104615622A (en) 2014-06-30 2014-06-30 Document opening method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410308969.5A CN104615622A (en) 2014-06-30 2014-06-30 Document opening method and device and mobile terminal

Publications (1)

Publication Number Publication Date
CN104615622A true CN104615622A (en) 2015-05-13

Family

ID=53150070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410308969.5A Pending CN104615622A (en) 2014-06-30 2014-06-30 Document opening method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN104615622A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597761A (en) * 2019-09-18 2019-12-20 龙芯中科(合肥)技术有限公司 File processing method and device based on browser, electronic equipment and storage medium
CN111309676A (en) * 2020-01-20 2020-06-19 北京字节跳动网络技术有限公司 File loading method and device, storage medium and electronic equipment
CN112506736A (en) * 2020-12-01 2021-03-16 北京北信源软件股份有限公司 office file opening state monitoring method and apparatus
WO2024077565A1 (en) * 2022-10-13 2024-04-18 深圳传音控股股份有限公司 Desktop file opening method, intelligent terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178739A (en) * 2007-11-30 2008-05-14 四川长虹电器股份有限公司 Embedded browsing system and web page browsing method
CN101923572A (en) * 2010-07-30 2010-12-22 中国电信股份有限公司 Application processing method of online file and system
CN103106205A (en) * 2011-11-10 2013-05-15 腾讯科技(深圳)有限公司 Method and device for browsing files on mobile terminal
CN103353878A (en) * 2013-06-14 2013-10-16 陆昀 Method for displaying files of different file formats in webpage
CN103677730A (en) * 2013-12-20 2014-03-26 北京奇虎科技有限公司 Method and device for displaying files in browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178739A (en) * 2007-11-30 2008-05-14 四川长虹电器股份有限公司 Embedded browsing system and web page browsing method
CN101923572A (en) * 2010-07-30 2010-12-22 中国电信股份有限公司 Application processing method of online file and system
CN103106205A (en) * 2011-11-10 2013-05-15 腾讯科技(深圳)有限公司 Method and device for browsing files on mobile terminal
CN103353878A (en) * 2013-06-14 2013-10-16 陆昀 Method for displaying files of different file formats in webpage
CN103677730A (en) * 2013-12-20 2014-03-26 北京奇虎科技有限公司 Method and device for displaying files in browser

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597761A (en) * 2019-09-18 2019-12-20 龙芯中科(合肥)技术有限公司 File processing method and device based on browser, electronic equipment and storage medium
CN110597761B (en) * 2019-09-18 2022-08-16 龙芯中科(合肥)技术有限公司 File processing method and device based on browser, electronic equipment and storage medium
CN111309676A (en) * 2020-01-20 2020-06-19 北京字节跳动网络技术有限公司 File loading method and device, storage medium and electronic equipment
CN112506736A (en) * 2020-12-01 2021-03-16 北京北信源软件股份有限公司 office file opening state monitoring method and apparatus
CN112506736B (en) * 2020-12-01 2024-05-24 北京北信源软件股份有限公司 Method and device for monitoring open state of office file
WO2024077565A1 (en) * 2022-10-13 2024-04-18 深圳传音控股股份有限公司 Desktop file opening method, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN105320687A (en) Webpage display method and device
CN104978115A (en) Content display method and device
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN103279574A (en) Method, device and terminal device for loading explorer pictures
CN104978176A (en) Application program interface calling method and device
CN104794396A (en) Cross-site script vulnerability detection method and device
CN105446726A (en) Method and device for generating webpage
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN104239332A (en) Webpage content processing method, webpage content processing device and browser client side
CN103455330A (en) Application program management method, terminal, equipment and system
CN104301315A (en) Method and device for limiting information access
CN103513987A (en) Rendering treatment method, device and terminal device for browser web page
CN104252341A (en) Method and device for resurfacing application program and client side device of application program
CN104519404A (en) Graphics interchange format file playing method and device
CN103699595A (en) Method and device for webpage caching of terminal browser and terminal
CN103390034A (en) Image display method, device, terminal and server
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN104572690A (en) Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system
CN104159140A (en) Video processing method, apparatus and system
CN104104711A (en) Reading history processing method and device
CN103607431B (en) Mobile terminal resource processing method, device and equipment
CN104735132A (en) Information inquiry method, servers and terminal
CN105530239A (en) Multimedia data obtaining method and device
CN103399911A (en) Access processing method, device and terminal device on basis of browser client
CN103336838A (en) Method and device for processing webpage and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513

RJ01 Rejection of invention patent application after publication