CN103812887A - File opening method and system - Google Patents

File opening method and system Download PDF

Info

Publication number
CN103812887A
CN103812887A CN201210447717.1A CN201210447717A CN103812887A CN 103812887 A CN103812887 A CN 103812887A CN 201210447717 A CN201210447717 A CN 201210447717A CN 103812887 A CN103812887 A CN 103812887A
Authority
CN
China
Prior art keywords
file
fileinfo
terminal device
client terminal
opening
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
CN201210447717.1A
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.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Priority to CN201210447717.1A priority Critical patent/CN103812887A/en
Publication of CN103812887A publication Critical patent/CN103812887A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a file opening method and system. The file opening method includes the following steps: a webpage is provided to a client device for the client device to display; the webpage is used to continuously detect whether a file opening request exists for opening a file; when the file opening request is detected, the client device is used to transfer the file opening request and the file; file information of the file is recognized; according to the file information, a target application server is selected from several candidate application servers of an application server pool, wherein the target application server has the function for executing the file; the file is executed through the target application server, and at least one execution picture of the executed file is generated; and the execution picture is transferred to the client device so as to make the client device display the execution picture.

Description

File opening method and system
Technical field
The invention relates to a kind of file opening method and system.
Background technology
Along with the arriving of digital Age, the indispensable medium that electronic installation has become modern's obtaining information, knowledge or linked up with other people.Therefore, the various technology of information of more and more different field, convert digital document to.
Due to the characteristic difference of various realm informations, also just derive file format miscellaneous.Different file formats could be opened after mostly needing different application programs to process.Therefore, file identification and corresponding unlatching are the puzzlements that user cannot grasp completely always.
The current practice is to register corresponding openable file while installing by application program, or by the OS sets of applications of opening of offering suggestions.But it is by which kind of application program to be gone to open that this measure still can not solve most of unknown file extension name institute correspondence.Because very likely system does not have the information of this file extension, openable application program is not even installed in system at all.
Therefore, how assisting user is opened Miscellaneous Documents easily, and real one of the current important research and development problem that belongs to, also becomes current association area and need improved target badly.
Summary of the invention
Therefore, an aspect of of the present present invention is that a kind of file opening method is being provided.In file opening method, by long-range apps server file opening, and execution picture is sent to client shows.File opening method comprises following steps:
(a) provide webpage to client terminal device, show for client terminal device.
(b) whether have a file opening requirement, in order to open a file if continuing detecting by webpage.
(c), in the time detecting file opening requirement, by client terminal device, transmit file opening requirement and file.
(d) fileinfo of identification file.
(e) according to fileinfo, from several candidate's apps servers in an apps server pond, select a destination application server, it has the function of execute file.
(f) pass through destination application server execute file, and produce at least one execution picture of execute file.
(g) transmit and carry out picture to client terminal device, make whereby client terminal device show and carry out picture.
Another aspect of the present invention is that a kind of computer-readable medium storing is being provided, and stores a computer program, in order to carry out above-mentioned file opening method.Method step flow process is described above, and at this, it is no longer repeated.
Another aspect of the present invention is that a kind of file opening system is being provided.The network interface card that file opening system comprises mutual electric connection and a treatment element.Network interface card and a network connect.Treatment element comprises a webpage provides module, an identification module, a server to select module, an Executive Module and a picture delivery module.Webpage provides module to pass through network, and webpage to client terminal device is provided, and shows for client terminal device.Wherein, whether webpage continues detecting a file opening requirement, in order to open a file.Detecting file opening requirement, and in the time that client terminal device transmits file opening requirement and file to file opening system, a fileinfo of identification module identification file.Server selects module according to fileinfo, from several candidate's apps servers in an apps server pond, selects a destination application server, and it has the function of carrying out aforementioned document.Executive Module passes through destination application server execute file, and produces at least one execution picture of execute file.Picture delivery module transmits carries out picture to client terminal device, makes whereby client terminal device show and carries out picture.
Accompanying drawing explanation
For above and other object of the present invention, feature, advantage and embodiment can be become apparent, appended the description of the drawings is as follows:
Fig. 1 is the flow chart according to a kind of file opening method of one embodiment of the invention;
Fig. 2 illustrates the functional block diagram according to a kind of file opening system of one embodiment of the invention.
[main element symbol description]
100: file opening method
110-170: step
200: file opening system
210: network interface card
220: treatment element
221: webpage provides module
222: identification module
222a: number of peaks determining device
222c: peak value determining device
223: server is selected module
223a: requestor
224: Executive Module
225: picture delivery module
300: network
400: client terminal device
500: apps server pond
510,520: candidate's apps server
600: user's definition or rating database
Embodiment
Below will and describe spirit of the present invention in detail with accompanying drawing, under any, in technical field, have and conventionally know that the knowledgeable is understanding after preferred embodiment of the present invention, when can be by technology change and the modification of teachings of the present invention, it depart from spirit of the present invention and scope.
Please refer to Fig. 1, it is the flow chart according to a kind of file opening method of one embodiment of the invention.In file opening method, by long-range apps server file opening, and execution picture is sent to client shows.File opening method can be carried out implementation via computer program.Computer program can be stored in a computer-readable medium storing, and carries out this file opening method after making computer read this recording medium.Computer-readable medium storing can be read-only memory, fast flash memory bank, floppy disk, hard disk, CD, portable disk, tape, can be by the database of network access or be familiar with this skill person and can think easily and have the computer-readable medium storing of identical function.
File opening method 100 comprises following steps:
In step 110, webpage to client terminal device is provided, show for client terminal device.
In step 120, whether have a file opening requirement, in order to open a file if continuing detecting by webpage.Wherein, the webpage that step 110 provides can comprise the interface program of the function of tool monitoring file trigger event, continues detecting and whether has a file opening requirement (step 120) and reach by webpage.In addition, in some embodiments of the invention, more predeterminable specific operations action (as click, double-click, user's interface operation action of towing or other types), as the respective operations mode that produces file opening and require.
In the time not detecting file opening requirement, continue to perform step 120 detecting by webpage.
In step 130, in the time detecting file opening requirement, by client terminal device, transmit file opening requirement and the file server-side device to application file open method 100.
In step 140, a fileinfo of identification file.
In step 150, according to fileinfo, from several candidate's apps servers in an apps server pond, select a destination application server, it has the function of execute file.
In step 160, by destination application server execute file, and produce at least one execution picture of execute file.
In step 170, transmit and carry out picture to client terminal device, make whereby client terminal device show and carry out picture.Wherein, step 170 can, by the image transmission agreement of long-range demonstration communications protocol (remote display protocol) or other types, be sent to client terminal device by execution picture.Thus, user only needs by webpage, gets final product file opening, does not need to know in advance which kind of program file need use open.In addition,, because webpage is a kind of file format of cross-platform support, therefore make file opening method 100 can be applicable to various operating system.In addition, even if the operated client terminal device of user is not supported the file that institute wish opens (application program that file opening uses as do not installed or operating system and the file of installation are incompatible), still can assist its file opening by long-range apps server.
In some embodiment of step 140, a file extension of the file that fechtable wish is opened.Next,, according to the file extension of file, produce the fileinfo of file, as the foundation of step 150 select target apps server.For instance, step 150 can be selected in candidate's apps server, and the file type of its support comprises the file extension person who wants file opening, as destination application server.
In other embodiment of step 140, analyze a file format of the file of wish unlatching.For instance, can be by file header information, label information or the relevant information of alternative document form in file reading, analyze the file format of the file of wish unlatching.Next,, according to the file format of analyzed file, produce the fileinfo of file, as the foundation of step 150 select target apps server.
In the other embodiment of step 140, the multipurpose network internet mail that can identify the file of wish unlatching expands classification (multipurpose internet mail extensions type, MIME tpe), as the fileinfo of file.So in some embodiment of step 150, the multipurpose network internet mail of the file that can open according to wish expands classification, the foundation of select target apps server.
In addition, in some embodiment of step 150, the fileinfo of the file of opening according to wish, inquires about to user's definition or rating database, and according to Query Result, select target apps server.Wherein, can provide in advance user to define or the address information of rating database, as the foundation that links to database and inquire about.In addition, user's definition or rating database can record the setting of previous user for various files, and the setting of user's self-defining candidate's apps server that various files use is provided.In addition, user's definition or rating database also can record each user, carry out the evaluation of Miscellaneous Documents, the foundation of selecting as step 150 for each candidate's apps server.
Please refer to Fig. 2, it illustrates the functional block diagram according to a kind of file opening system of one embodiment of the invention.The network interface card 210 that file opening system 200 comprises mutual electric connection and a treatment element 220.In one embodiment of this invention, treatment element 220 can be provided by the electronic installation of single server, main frame, computer or other types.In another embodiment of the present invention, the electronic installation by multiple servers, main frame, computer, other types or its combination that treatment element 220 dispersibles formula provide.Network interface card 210 can, by wired or wireless network communication agreement, connect with a network 300.
Treatment element 220 comprises a webpage provides module 221, an identification module 222, a server to select module 223, an Executive Module 224 and a picture delivery module 225.Webpage provides module 221 by network 300, and webpage to client terminal device 400 is provided, and shows for client terminal device 400.Wherein, webpage continues whether there is a file opening requirement on detecting client terminal device 400, in order to open a file.Webpage provides the webpage that module 221 provides can comprise the interface program of the function of tool monitoring file trigger event, continues detecting and whether has the function of a file opening requirement and reach by webpage.In addition, in some embodiments of the invention, more predeterminable specific operations action (as click, double-click, user's interface operation action of towing or other types), on webpage, produces the respective operations mode that file opening requires as client terminal device.
Therefore,, in an application scenarios of the present invention, when user wants file opening, can link to file opening system 200 by its client terminal device 400.After line, webpage provides module 221 can comply with its link information, provides webpage to client terminal device 400 by network 300.Next, the user of client terminal device 400 can be by webpage is operated, and produce file opening requirement by client terminal device 400.
Detecting file opening requirement, and in the time that client terminal device 400 transmits file opening requirement and file to file opening system 200, identification module 222 is identified a fileinfo of file.
Server selects module 223 according to fileinfo, from several candidate's apps servers 510,520 in an apps server pond 500, selects a destination application server, and it has the function of carrying out aforementioned document.In the present embodiment, suppose that candidate's apps server 510 has the function of carrying out wish file opening, can select candidate's apps server 510, as destination application server.
Executive Module 224 passes through destination application server 510 execute files, and produces at least one execution picture of execute file.
Picture delivery module 225 transmits carries out picture to client terminal device 400, makes whereby client terminal device 400 show and carries out picture.Wherein, picture delivery module 225 can, by the image transmission agreement of long-range demonstration communications protocol (remotedisplay protocol) or other types, be sent to client terminal device 400 by execution picture.Thus, user only needs by webpage, gets final product file opening, does not need to know in advance which kind of program file need use open.In addition,, because webpage is a kind of file format of cross-platform support, the operating system of therefore installing regardless of client terminal device 400 why, all can be by file opening system 200 file openings.In addition, even if the operated client terminal device 400 of user is not supported the file that institute wish opens (application program that file opening uses as do not installed or operating system and the file of installation are incompatible), still can be by file opening system 200 its file openings of assistance.
In some embodiments of the invention, identification module 222 can comprise a file extension acquisition device 222a.One file extension of the file that file extension acquisition device 222a acquisition wish is opened.So the file extension of the file that identification module 222 can be opened according to wish, produces its fileinfo.
In other embodiment of the present invention, identification module 222 can comprise a file format analyzer 222b.File format analyzer 222b analyzes a file format of the file of wish unlatching.For instance, file format analyzer 222b can be by file header information, label information or the relevant information of alternative document form in file reading, analyzes the file format of the file of wish unlatching.Next, identification module 222, according to the file format of file, produces the fileinfo of file.
In other embodiment of the present invention, identification module 222 can comprise a multipurpose network internet mail and expand classification identifier 222c.The multipurpose network internet mail that multipurpose network internet mail expands the file of classification identification module 222c identification wish unlatching expands classification, as the fileinfo of file.
In addition, server selects module 223 can comprise a requestor 223a.The fileinfo of the file that requestor 223a opens according to wish, inquires about to user's definition or rating database 600, and according to Query Result, select target apps server.
Although the present invention discloses as above with execution mode, so it is not in order to limit the present invention, is anyly familiar with this skill person, without departing from the spirit and scope of the present invention, and when being used for a variety of modifications and variations.Therefore the scope that, protection scope of the present invention ought define depending on appending claims is as the criterion.

Claims (10)

1. a file opening method, is characterized in that, comprises:
(a) provide webpage to client terminal device, show for this client terminal device;
(b) whether have a file opening requirement, in order to open a file if continuing detecting by this webpage;
(c), in the time detecting this file opening requirement, by this client terminal device, transmit this file opening requirement and this file;
(d) identify a fileinfo of this file;
(e) according to this fileinfo, from multiple candidate's apps servers in an apps server pond, select a destination application server, it has the function of carrying out this file;
(f) carry out this file by this destination application server, and produce at least one execution picture of carrying out this file; And
(g) transmit this at least one execution picture to this client terminal device, make whereby this client terminal device show this at least one execution picture.
2. file opening method according to claim 1, is characterized in that, step (d) comprises:
Capture a file extension of this file; And
According to this file extension of this file, produce this fileinfo of this file.
3. file opening method according to claim 1, is characterized in that, step (d) comprises:
Analyze a file format of this file; And
According to this file format of this file, produce this fileinfo of this file.
4. file opening method according to claim 1, is characterized in that, step (e) comprises:
According to this fileinfo of this file, inquire about to user's definition or rating database, and according to Query Result, select this destination application server.
5. file opening method according to claim 1, is characterized in that, step (d) comprises:
A multipurpose network internet mail of identifying this file expands classification, as this fileinfo of this file.
6. a file opening system, is characterized in that, comprises:
One network interface card, connects with a network; And
One treatment element, is electrically connected this network interface card, and wherein this treatment element comprises:
One webpage provides module, by this network, provides webpage to client terminal device, shows for this client terminal device, and whether wherein this webpage continues detecting a file opening requirement, in order to open a file;
One identification module, is detecting this file opening requirement, and when this client terminal device transmits this file opening requirement and this file to this file open system certainly, identifies a fileinfo of this file;
One server is selected module, according to this fileinfo, from multiple candidate's apps servers in an apps server pond, selects a destination application server, and it has the function of carrying out this file;
One Executive Module, carries out this file by this destination application server, and produces at least one execution picture of carrying out this file; And
One picture delivery module, transmits this at least one execution picture to this client terminal device, makes whereby this client terminal device show this at least one execution picture.
7. file opening system according to claim 6, is characterized in that, this identification module comprises:
One file extension acquisition device, captures a file extension of this file, and wherein this identification module, according to this file extension of this file, produces this fileinfo of this file.
8. file opening system according to claim 6, is characterized in that, this identification module comprises:
One file format analyzer, analyzes a file format of this file, and wherein this identification module, according to this file format of this file, produces this fileinfo of this file.
9. file opening system according to claim 6, is characterized in that, this server selects module to comprise:
One requestor, according to this fileinfo of this file, inquires about to user's definition or rating database, and according to Query Result, selects this destination application server.
10. file opening system according to claim 6, is characterized in that, this identification module comprises:
One multipurpose network internet mail expands classification identifier, and a multipurpose network internet mail of identifying this file expands classification, as this fileinfo of this file.
CN201210447717.1A 2012-11-09 2012-11-09 File opening method and system Pending CN103812887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210447717.1A CN103812887A (en) 2012-11-09 2012-11-09 File opening method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210447717.1A CN103812887A (en) 2012-11-09 2012-11-09 File opening method and system

Publications (1)

Publication Number Publication Date
CN103812887A true CN103812887A (en) 2014-05-21

Family

ID=50709086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210447717.1A Pending CN103812887A (en) 2012-11-09 2012-11-09 File opening method and system

Country Status (1)

Country Link
CN (1) CN103812887A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187562A (en) * 2015-09-30 2015-12-23 易士软件(上海)有限公司 System and method for operating remote file
CN105260207A (en) * 2015-10-10 2016-01-20 Tcl移动通信科技(宁波)有限公司 File loading method and system
CN106855833A (en) * 2016-12-02 2017-06-16 航天星图科技(北京)有限公司 A kind of data verification method
CN108153786A (en) * 2016-12-02 2018-06-12 航天星图科技(北京)有限公司 A kind of document handling method
EP3525105A1 (en) * 2018-02-13 2019-08-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and apparatus for opening a file

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392477A (en) * 2001-06-14 2003-01-22 互慧科技股份有限公司 Automatic file opening system and method
CN101493817A (en) * 2008-01-21 2009-07-29 宏达国际电子股份有限公司 File opening method
CN101663647A (en) * 2007-04-25 2010-03-03 高通股份有限公司 Device that determines whether to launch an application locally or remotely as a webapp

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392477A (en) * 2001-06-14 2003-01-22 互慧科技股份有限公司 Automatic file opening system and method
CN101663647A (en) * 2007-04-25 2010-03-03 高通股份有限公司 Device that determines whether to launch an application locally or remotely as a webapp
CN101493817A (en) * 2008-01-21 2009-07-29 宏达国际电子股份有限公司 File opening method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187562A (en) * 2015-09-30 2015-12-23 易士软件(上海)有限公司 System and method for operating remote file
CN105260207A (en) * 2015-10-10 2016-01-20 Tcl移动通信科技(宁波)有限公司 File loading method and system
CN105260207B (en) * 2015-10-10 2019-02-26 Tcl移动通信科技(宁波)有限公司 A kind of file loading method and system
CN106855833A (en) * 2016-12-02 2017-06-16 航天星图科技(北京)有限公司 A kind of data verification method
CN108153786A (en) * 2016-12-02 2018-06-12 航天星图科技(北京)有限公司 A kind of document handling method
EP3525105A1 (en) * 2018-02-13 2019-08-14 Guangdong Oppo Mobile Telecommunications Corp., Ltd Method and apparatus for opening a file
US11061863B2 (en) 2018-02-13 2021-07-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for opening file, and electronic device

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
JP5753350B2 (en) Method and computer program for enhancing screen capture function for form manipulation
CN103812887A (en) File opening method and system
US20140280254A1 (en) Data Acquisition System
US20140006435A1 (en) Searching apparatus, searching method, and searching system
CN105022694B (en) Method for generating test case and system for mobile terminal test
EP2928143A1 (en) Page operation processing method, device and terminal
CN110798445B (en) Public gateway interface testing method and device, computer equipment and storage medium
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN107733967A (en) Processing method, device, computer equipment and the storage medium of pushed information
CN101964813A (en) Method and system for detecting terminal information in GPRS network
CN112597020A (en) Interface testing method and device, computer equipment and storage medium
JP5112401B2 (en) Web action history acquisition system, Web action history acquisition method, gateway device, and program
CN116015842A (en) Network attack detection method based on user access behaviors
CN113094248B (en) User behavior data analysis method and device, electronic equipment and medium
CN103246675A (en) Method and equipment for capturing data of website
CN111506305B (en) Tool pack generation method, device, computer equipment and readable storage medium
CN113746849A (en) Method, device, equipment and storage medium for identifying equipment in network
WO2020248506A1 (en) Evaluation method and device for application program testing, and server and storage medium
CN111209325A (en) Service system interface identification method, device and storage medium
US10803861B2 (en) Method and apparatus for identifying information
CN112612866B (en) Knowledge base text synchronization method and device, electronic equipment and storage medium
CN114531340B (en) Log acquisition method and device, electronic equipment, chip and storage medium
CN115842861A (en) Edge connection device adaptation method, device and computer readable storage medium
CN115510432A (en) Method and device for detecting group control behavior of terminal, storage medium and electronic 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140521