Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method and terminal device and cloud server and system of recommending mounting software, and solution is provided cannot open file for terminal time.
In order to solve the problems of the technologies described above, the invention provides a kind of method of recommending mounting software, comprise: terminal device receives that the access request of one file and described terminal device cannot be when set up applications be opened described file, described terminal device or cloud server are judged file type according to the file data of described file, and described cloud server provides the information of the application program that can open described file type respective file according to described file type for described terminal device.
Further, said method can also have following characteristics:
The step that described cloud server is judged file type according to the file data of described file is specially: described terminal device sends the request of opening described file to described cloud server, cloud server judges file type according to the file data of described file after receiving described request.
Further, said method can also have following characteristics:
The step that described terminal device is judged file type according to the file data of described file is specially: described terminal device is judged after file type according to the file data of described file, by extremely described cloud server of described file type notice.
Further, said method can also have following characteristics:
Judging file type according to the file data of described file comprises:
To the analysis of unpacking of described file, analyze the information of its file header and/or analyze the information of its file content, judge corresponding file type.
Further, said method can also have following characteristics:
Described method also comprises the steps:
Described cloud server provides the information of the application program that can open described file type respective file of the described system configuration information of coupling according to the system configuration information of described terminal device for described terminal device.
Further, said method can also have following characteristics:
The information of described application program refers to the content of the application program on program chains address or described cloud server.
In order to solve the problems of the technologies described above, the invention provides a kind of terminal device, comprise control module, sending module, receiver module;
Described control module, for receiving that the access request of one file and described terminal device cannot be when set up applications be opened described file, judge after file type and notify to cloud server or to sending module and send and trigger message according to the file data of described file;
Described sending module sends the request of opening described file to cloud server after receiving the triggering message that described control module sends;
Described receiver module, the information of the application program that can open described file type respective file sending for receiving cloud server.
Further, above-mentioned terminal device can also have following characteristics:
Described control module, also for analysis that described file is unpacked, analyzes the information of its file header and/or analyzes the information of its file content, judges corresponding file type.
In order to solve the problems of the technologies described above, the invention provides a kind of cloud server, comprise receiver module, analysis module, sending module;
Described receiver module, the file type or the file that send for receiving terminal apparatus;
Described analysis module, for in the time that described receiver module is received described file type, determine the information of the application program that can open described file type respective file, also in the time that described receiver module is received described file, judge file type according to the file data of described file, determine the information of the application program that can open described file type respective file;
Described sending module, for sending the information of the application program that can open described file type respective file to described terminal device.
In order to solve the problems of the technologies described above, the invention provides a kind of system of recommending mounting software, comprise above-mentioned terminal device and above-mentioned cloud server.
This programme is in the time cannot opening the file of the machine UNKNOWN TYPE, judge the type of UNKNOWN TYPE file, find comparatively applicable application program, and provide feasible application program to advise, the function of instant down load application program is further provided, help user to comform in multiple utility program and find suitable application program to complete the work opening file, improve user's work efficiency, the operating environment facilitating.
Embodiment
Research finds, it may be that following reason except file is damaged causes that user cannot open the file with the unregistered file suffixes name of terminal operating system:
1, the machine is not installed suitable application program;
2, file extension deleted or amendment;
3, the application version that the machine is installed is crossed old can not opening file.
As shown in Figure 1, a kind of method of recommending mounting software is provided, the method comprises: terminal device receives that the access request of one file and described terminal device cannot be when set up applications be opened described file, and terminal device or cloud server are judged file type according to the file data of described file; Described cloud server provides the information of the application program that can open described file type respective file according to described file type for described terminal device.
As one embodiment of the present of invention, the file that terminal device will be accessed may, from local hard drive, may carry out automatic network, certain file that may preserve from cloud server.
File type refers to document, form, picture, video, animation, the file of all kinds of forms, the file of database type.For example, JPG format picture, PDF document, html format file, AVI format video etc.
As one embodiment of the present of invention, terminal device cannot be when set up applications be opened described file, terminal device is judged file type according to the file data of described file, this file type is notified to cloud server, and cloud server provides the information of the application program that can open described file type respective file according to described file type for described terminal device.
As an alternative embodiment of the invention, terminal device cannot be when set up applications be opened described file, terminal device sends the request of opening described file to described cloud server, cloud server judges file type according to the file data of described file after receiving described request, and provides the information of the application program that can open described file type respective file according to described file type for described terminal device.
Terminal device is computer equipment or mobile communication equipment.The equipment such as such as panel computer, smart mobile phone, mobile phone, notebook computer.
Wherein, the step of judging file type according to the file data of file comprises: to the analysis of unpacking of described file, analyze the information of its file header and/or analyze the information of its file content, judge corresponding file type.Terminal device and cloud server can preserve in advance or default configuration multiple file types and with the corresponding file header format information of file type and/or file content format information.
Cloud server provides the information of the application program that can open described file type respective file of matching system configuration information according to the system configuration information of terminal device for terminal device.
The information of application program refers to the content of the application program on program chains address or cloud server.
In terminal device, be provided with for judging the application program of file type according to the file data of file or being called the client-side program for file type identification at this programme, terminal device completes the implementation of judging file type according to the file data of file after starting this client-side program.
Describe below by specific embodiment.
Specific embodiment one
Terminal device A is PC equipment or mobile communication equipment.
On the terminal device A that starts client-side program, user initiates to open file the demand of B.File B may be from local hard drive, may be from cloud server, and may be from other computing equipments.Other computing equipments comprise the equipment that client-side program is not installed, and the equipment of client-side program is installed.
Terminal device A by client-side program according to the log-on message of application program and file suffixes, judge whether file B can open on this computing equipment, for example, if can not open (, it is unknown suffix that file does not have the suffix of suffix or file), judge file type according to file data.Specific analytical method is: to the analysis of unpacking of described file, analyze the information of its file header, belong to which kind of file type to determine, if still cannot judge, analyze the information of its file content, judge corresponding file type.Wherein in analytic process taking the binary message of file header or file content as analytic target.
File type is sent to cloud server by terminal device A.
Cloud server receives after information, returns to the information of the application program that can open this file type according to file type.The information of application program refers to the content that is equipped with application program installation kit on application name, program chains address or cloud server.
As one embodiment of the present of invention, can comprise the application list that the B that opens file is required, and provide the version of each application program to select for user, and download link is provided.Cloud server is according to the configuring condition of client place computing equipment, and the version of application programs is selected, for example, select to be applicable to the WPS2012 version office software of 32 versions of WIN7 operating system for document files.
In this specific embodiment, as user does not start client-side program, the demand of the B that directly initiates to open file, and the selection Application Program Interface that user can eject cannot open file time, choice for use client is opened, and client can automatic file reading information, completes the prompting process of analyzing.
Specific embodiment two
Terminal device A is PC equipment or mobile communication equipment.
On the terminal device A that client-side program is installed, user initiates to open file the demand of B.File B may be from local hard drive, may be from cloud server, and may be from other computing equipments.Other computing equipments comprise the equipment that client-side program is not installed, and the equipment of client-side program is installed.
Terminal device A by client-side program according to the log-on message of application program and file suffixes, judge whether file B can open on this computing equipment, for example, if can not open (, it is unknown suffix that file does not have the suffix of suffix or file), this file is sent to cloud server.
Cloud server receives after information, judges file type according to file data.Specific analytical method is: to the analysis of unpacking of described file, analyze the information of its file header, belong to which kind of file type to determine, if still cannot judge, analyze the information of its file content, judge corresponding file type.Wherein in analytic process taking the binary message of file header or file content as analytic target.
Cloud server is to the information of the corresponding application program of terminal device backspace file type.The information of application program refers to the content of the application program on program chains address or cloud server.Can comprise the application list that the B that opens file is required, and provide the version of each application program to select for user, and download link is provided.Cloud server is according to the configuring condition of client place computing equipment, and the version of application programs is selected, for example, select to be applicable to the WPS2012 the German edition office software of 64 versions of WIN7 operating system for document files.
Specific embodiment three
Terminal device A is PC equipment or mobile communication equipment.
User is by the information on the web browser access cloud server on terminal device A, and terminal device A receives the request of file on access cloud server.
This request is sent to cloud server by terminal device A.
Cloud server receives after information, judges file type according to file data, and the information of the corresponding application program of file type is provided to terminal device.The page of terminal device, in display file information, can show the application program that this type file suggestion is used after file.Be exemplified below: the document that has lacked extension name doc form, can be opened by application program wps2012 mobile edition office software, the word office of Microsoft application software etc., cloud server can be pushed to terminal device so, show and recommend these two application programs of user by terminal device, and providing corresponding download button for user's download client installation procedure.
As the user of terminal device A finds the application program that oneself does not have installation file corresponding, the application icon that can directly click on webpage on listed files downloads and installs program.
The system of the recommendation mounting software providing in this programme comprises terminal device and cloud server.Terminal device is computer equipment or mobile communication equipment.
Terminal device comprises control module, sending module, receiver module;
Control module, for receiving that the access request of one file and terminal device cannot be when set up applications open file, judges after file type and notifies to cloud server or to sending module and send and trigger message according to the file data of this file;
Sending module for receive control module send triggering message after send to cloud server the request opening file;
Receiver module is used for the information of the application program of the type respective file that can open file that receives cloud server transmission.The information of application program refers to the content of the application program on program chains address or cloud server.
Control module is to the file analysis of unpacking, and analyzes the information of its file header and/or analyzes the information of its file content, judges corresponding file type.
The information of application program refers to the content of the application program on program chains address or cloud server.
Cloud server comprises receiver module, analysis module, sending module;
File type or file that receiver module sends for receiving terminal apparatus.
Analysis module is in the time that receiver module is received file type, determine the information of the application program of the type respective file that can open file, also in the time that receiver module is received file, judge file type according to the file data of file, determine the information of the application program of the type respective file that can open file.
Sending module is for sending the information of the application program of the type respective file that can open file to terminal device.
Cloud server also provides the information of the application program of the type respective file that can open file of matching system configuration information according to the system configuration information of terminal device for terminal device.The information of application program refers to the content of the application program on program chains address or cloud server.
This programme is in the time cannot opening the file of the machine UNKNOWN TYPE, can judge according to the file data of file the file type of this file, find the application program that can open this file type, and provide feasible application program to advise, the function of instant down load application program is further provided, help user to comform in multiple utility program and find suitable application program to complete the work opening file, improve user's work efficiency, the operating environment facilitating.
In this programme, the arbitration functions of file type can be completed by terminal device itself or cloud server, for user provides the selection of different implementations.For example, when terminal device cannot be installed the client-side program of identifying for file type in this programme, can be completed by cloud server, terminal device directly receives corresponding application program suggestion.
It should be noted that, in the situation that not conflicting, the combination in any mutually of the feature in embodiment and embodiment in the application.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in said method can carry out instruction related hardware by program and complete, described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuit.Correspondingly, the each module/unit in above-described embodiment can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.