Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File opening method based on Linux operating system terminal

An operating system and file opening technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as inability to directly copy and transplant, and inability to open files, so as to improve user experience, save time, and increase ease of use sexual effect

Active Publication Date: 2013-09-25
CHINA STANDARD SOFTWARE
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, this scheme is not aimed at the Linux operating system, and the scheme must identify files based on the file suffix name. The implementation of this scheme is limited by the Windows system and cannot be directly copied and transplanted to the Linux system.
In view of the deficiencies in the prior art, there is an urgent need for a method for opening files based on the Linux operating system terminal to solve the problem that the file cannot be opened through the Linux system terminal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File opening method based on Linux operating system terminal
  • File opening method based on Linux operating system terminal
  • File opening method based on Linux operating system terminal

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0029] figure 1 It is a schematic flowchart of a method for opening a file based on a Linux operating system terminal according to the first embodiment of the present invention. The steps of this embodiment will be described in detail below with reference to the accompanying drawings.

[0030] Step S110, receiving a line of characters input by the user as a character string to be parsed.

[0031] Specifically, a line of characters is input in the Linux terminal, and the input characters include the file name of the file to be opened.

[0032] For example, you can input characters similar to the following / home / cs2c / testA testB~ / testC. / testD, etc., where testA, testB, testC and testD are the file names of the files to be opened.

[0033] Step S120, analyzing the file path and file name of the first file contained in the character string to be parsed, and determining the first file, wherein the first file refers to the first of multiple parallel files to be opened at the same l...

no. 2 example

[0073] image 3 It is a schematic flowchart of a method for opening a file based on a Linux operating system terminal according to the second embodiment of the present invention. The steps of this embodiment will be described in detail below with reference to the accompanying drawings.

[0074] For ease of description, the same steps as those in the foregoing embodiments will not be described in detail, but only the differences from the foregoing embodiments will be highlighted. exist figure 1 , figure 2 with image 3 In the same or similar steps as those in the foregoing embodiments, the same reference numerals are used.

[0075] When the judgment result in step S140 of the first embodiment is no, the following steps are performed:

[0076] Step S150, identifying the file type of the first file.

[0077] This step is the same as the steps in the first embodiment, and will not be repeated here.

[0078] Step S210, judging whether there is an opened non-executable file of ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a file opening method based on a Linux operating system terminal. The method comprises steps as follows: a receiving step capable of receiving a row of characters input by a user as a to-be-analyzed character string; an analyzing step capable of analyzing a file path and a file name of a first file in the to-be-analyzed character string and determining the first file; and a judging step capable of judging whether the first file is a performable file; if not, opening the first file according to the file type of the first file. According to the invention, an input character string is analyzed so as to acquire a to-be-opened file; the file opening method judges performability of a file or inquires a program matched with the to-be-opened file; and therefore, the user can open the file automatically in a method of inputting the character string to a Linux terminal.

Description

technical field [0001] The invention relates to a file opening method of an operating system terminal, in particular to a file opening method based on a Linux operating system terminal. Background technique [0002] Because the Linux system has the characteristics of open source, low software licensing fees and rich application development resources, etc., the Linux system has been widely used, and has more and more users in the civil, office and development fields. [0003] As users have higher and higher requirements for the Linux operating system, when using the Linux operating system terminal, the user generally opens the file based on the graphical desktop, which is just like the Windows operating system, directly double-clicking the file on the desktop icon to open the file. At present, there is no method for directly and automatically opening files on a Linux system terminal. For users who are accustomed to using a Linux system terminal, it brings inconvenience to th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 郑靖何曌君许国昌夏颖胡秋立
Owner CHINA STANDARD SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products