Method and systems for hyperlinking files
First Claim
1. A method for hyperlinking a main file with N target files, said main file and said N target files being stored in a computer readable medium of a computer system, said N at least 2, said main file having a primary filename of a form F.E, said F representing a name component of the primary filename, said E representing an extension component of the primary filename, said N target files denoted as T1, T2, . . . , TN having an associated N target file addresses respectively denoted as A1, A2, . . . , AN, said method comprising:
- hyperlinking the primary filename with the N target file addresses to form a composite filename having a form of F(A).E, said A representing A1, A2, . . . , AN, said symbol (between said F and said A denoting a first control character that separates said F and said A, said symbol) between said A and said E denoting a second control character that separates said A and said E, said second control character differing from the first control character, wherein A is represented in a form of A1{A2{. . . {AN, and wherein said symbol { denotes a third control character that separates An−
1 and An for n=2, . . . , N, and wherein the third control character differs from both the first control character and the second control character; and
storing the composite filename in said computer readable medium,said method further comprising determining whether corresponding path portions of two consecutive target file addresses Ai and Ai 1 is a common path, wherein i is selected from the group consisting of 1, 2, . . . , and N−
1, and if said determining determines that said corresponding path portions is a common path then;
inserting a fourth control character denoted by a symbol} at the end of the common path of Ai, wherein the fourth control character differs from the first control character, the second control character, and the third control character; and
removing the common path from Ai 1.
3 Assignments
0 Petitions
Accused Products
Abstract
According to the method of the invention, a set of target files is linked to a main file by encoding the target addresses or URLs of these target files into the primary filename of the main file. Separator characters are used to distinguish the primary filename of the main file and the encoded address of each linked target file. Linked target files may be of any kind including, source files of the main file, metadata, multimedia information and services. Since most file systems do not accept certain characters on valid filenames, addresses of linked target files are encoded so that any forbidden character is replaced by an associated authorized character. A lexicography table stores all pairs of forbidden and corresponding authorized characters. Likewise, since filenames length is generally limited to 256 characters, the encoding process may be optimized to reduce the length of the encoded addresses or URLs.
27 Citations
24 Claims
-
1. A method for hyperlinking a main file with N target files, said main file and said N target files being stored in a computer readable medium of a computer system, said N at least 2, said main file having a primary filename of a form F.E, said F representing a name component of the primary filename, said E representing an extension component of the primary filename, said N target files denoted as T1, T2, . . . , TN having an associated N target file addresses respectively denoted as A1, A2, . . . , AN, said method comprising:
-
hyperlinking the primary filename with the N target file addresses to form a composite filename having a form of F(A).E, said A representing A1, A2, . . . , AN, said symbol (between said F and said A denoting a first control character that separates said F and said A, said symbol) between said A and said E denoting a second control character that separates said A and said E, said second control character differing from the first control character, wherein A is represented in a form of A1{A2{. . . {AN, and wherein said symbol { denotes a third control character that separates An−
1 and An for n=2, . . . , N, and wherein the third control character differs from both the first control character and the second control character; andstoring the composite filename in said computer readable medium, said method further comprising determining whether corresponding path portions of two consecutive target file addresses Ai and Ai 1 is a common path, wherein i is selected from the group consisting of 1, 2, . . . , and N−
1, and if said determining determines that said corresponding path portions is a common path then;inserting a fourth control character denoted by a symbol} at the end of the common path of Ai, wherein the fourth control character differs from the first control character, the second control character, and the third control character; and removing the common path from Ai 1.
-
-
2. The method of claim 1, wherein the target file Ti is a source file of the main file such that Ai is a source file address of the source file Ti, and wherein i is selected from the group consisting of 1, 2, . . . , and N.
-
3. The method of claim 2, wherein the source file address Ai is a Universal Resource Locator (URL) of an Internet web page.
-
4. The method of claim 1, said method further comprising specifying predetermined character strings and associated substitute characters;
- and for n=1, 2, . . . , N;
identifying in An at least one character string of said predetermined character strings; and replacing in An each identified character string with its associated substitute character.
- and for n=1, 2, . . . , N;
-
5. The method of claim 4, wherein an identified character string consists of one character.
-
6. The method of claim 4, wherein an identified character string consists of at least two characters.
-
7. The method of claim 1, said method further comprising:
-
decoding the composite filename, by parsing the composite filename, to extract from the composite filename a target file address Ai of the N target file addresses, wherein i is selected from the group consisting of 1, 2, . . . , and N; and accessing the target file Ti at the target file address Ai.
-
-
8. The method of claim 7, said method further comprising:
-
analyzing the target file address Ai to determine a file type of the target file Ti; and launching an application that is associated to the file type of the target file Ti.
-
-
9. An apparatus comprising a computer system, said computer system comprising a computer readable medium, said computer readable medium comprising software adapted to be executed by the computer system to implement a method for hyperlinking a main file with N target files, said main file and said N target files being stored in the computer system, said N at least 2, said main file having a primary filename of a form F.E, said F representing a name component of the primary filename, said E representing an extension component of the primary filename, said N target files denoted as T1, T2, . . . , TN having an associated N target file addresses respectively denoted as A1, A2, . . . , AN, said method comprising:
-
hyperlinking the primary filename with the N target file addresses to form a composite filename having a form of F(A).E, said A representing A1, A2, . . . , AN, said symbol (between said F and said A denoting a first control character that separates said F and said A, said symbol) between said A and said E denoting a second control character that separates said A and said E, said second control character differing from the first control character, wherein A is represented in a form of A1{A2{. . . {AN, and wherein said symbol { denotes a third control character that separates An−
1 and An for n=2, . . . N, and wherein the third control character differs from both the first control character and the second control character; andstoring the composite filename in said computer readable medium, said method further comprising determining whether corresponding path portions of two consecutive target file addresses Ai, and Ai 1 is a common path, wherein i is selected from the group consisting of 1, 2, . . . , and N−
1, and if said determining determines that said corresponding path portions is a common path then;inserting a fourth control character denoted by a symbol} at the end of the common path of Ai, wherein the fourth control character differs from the first control character, the second control character, and the third control character; and removing the common path from Ai 1.
-
-
10. The apparatus of claim 9, wherein the target file Ti is a source file of the main file such that Ai is a source file address of the source file Ti, and wherein i is selected from the group consisting of 1, 2, . . . , and N.
-
11. The apparatus of claim 10, wherein the source file address Ai is a Universal Resource Locator (URL) of an Internet web page.
-
12. The apparatus of claim 9, said method further comprising specifying predetermined character strings and associated substitute characters;
- and for n=1, 2, . . . , N;
identifying in An at least one character string of said predetermined character strings; and
replacing in An each identified character string with its associated substitute character.
- and for n=1, 2, . . . , N;
-
13. The apparatus of claim 12, wherein an identified character string consists of one character.
-
14. The apparatus of claim 12, wherein an identified character string consists of at least two characters.
-
15. The apparatus of claim 9, said method further comprising:
-
decoding the composite filename, by parsing the composite filename, to extract from the composite filename a target file address Ai of the N target file addresses, wherein i is selected from the group consisting of 1, 2, . . . , and N; and accessing the target file Ti at the target file address Ai.
-
-
16. The apparatus of claim 15, said method further comprising:
analyzing the target file address Ai to determine a file type of the target file Ti; and
launching an application that is associated to the file type of the target file Ti.
-
17. A computer readable medium comprising software adapted to be executed by a computer system to implement a method for hyperlinking a main file with N target files, said main file and said N target files being stored in the computer system, said N at least 2, said main file having a primary filename of a form F.E, said F representing a name component of the primary filename, said E representing an extension component of the primary filename, said N target files denoted as T1, T2, . . . , TN having an associated N target file addresses respectively denoted as A1, A2, . . . , AN, said method comprising:
-
hyperlinking the primary filename with the N target file addresses to form a composite filename having a form of F(A).E, said A representing A1, A2, . . . , AN, said symbol (between said F and said A denoting a first control character that separates said F and said A, said symbol) between said A and said E denoting a second control character that separates said A and said E, said second control character differing from the first control character, wherein A is represented in a form of A1{A2{. . . {AN, and wherein said symbol { denotes a third control character that separates An−
1 and An for n=2, . . . , N, and wherein the third control character differs from both the first control character and the second control character; andstoring the composite filename in said computer readable mediums, said method further comprising determining whether corresponding path portions of two consecutive target file addresses Ai and Ai 1 is a common path, wherein i is selected from the group consisting of 1, 2, . . . , and N−
1, and if said determining determines that said corresponding path portions is a common path then;inserting a fourth control character denoted by a symbol} at the end of the common path of Ai, wherein the fourth control character differs from the first control character, the second control character, and the third control character; and removing the common path from Ai 1.
-
-
18. The computer readable medium of claim 17, wherein the target file Ti is a source file of the main file such that Ai is a source file address of the source file Ti, and wherein i is selected from the group consisting of 1, 2, . . . , and N.
-
19. The computer readable medium of claim 18, wherein the source file address Ai is a Universal Resource Locator (URL) of an Internet web page.
-
20. The computer readable medium of claim 17, said method further comprising specifying predetermined character strings and associated substitute characters;
- and for n=1, 2, . . . , N;
identifying in An at least one character string of said predetermined character strings; and replacing in An each identified character string with its associated substitute character.
- and for n=1, 2, . . . , N;
-
21. The computer readable medium of claim 20, wherein an identified character string consists of one character.
-
22. The computer readable medium of claim 20, wherein an identified character string consists of at least two characters.
-
23. The computer readable medium of claim 17, said method further comprising:
-
decoding the composite filename, by parsing the composite filename, to extract from the composite filename a target file address Ai of the N target file addresses, wherein i is selected from the group consisting of 1, 2, . . . , and N; and accessing the target file Ti at the target file address Ai.
-
-
24. The computer readable medium of claim 23, said method further comprising:
-
analyzing the target file address Ai to determine a file type of the target file Ti; and launching an application that is associated to the file type of the target file Ti.
-
Specification