IP Library Granted Patent US 6,959,309
Granted Patent B2
US 6,959,309 · App. 10/066,278 · Granted Oct 25, 2005

Interface between programming languages and method therefor

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,959,309
App. No.
10/066,278
Granted
Oct 25, 2005
Kind
B2
Abstract

An interface implements a file system for supporting Java record and resource management between an operating system using a first programming language other than Java and a suite of Java applications. The interface provides a method for maintaining any number of files to be open in a manner transparent to the Java applications. Location information of a file is put in storage allocated for usage by Java code when a maximum number of open files is exceeded. A table is used to translate between file names of differing length and to identify directories in a manner to provide a hierarchical file system. An identifier is associated with a shortened Java file name in the table to quickly identify an operating system file with a shortened file name.

Claims (64)

1. In a device that uses a Java programming language and a second programming language, a method of emulating more simultaneously open files in the device than is permitted by an operating system of the device comprising:

while running a predetermined program in the Java programming language, attempting to access a file stored within the device;

determining whether the file is already open from prior execution;

if the file is open, access to the file proceeds;

if the file is not open, a determination is made by the device of a number of files the device permits to be simultaneously open;

if the number is not exceeded by opening the file, the file is opened;

if the number is exceeded by opening the file, the device emulates having more files open than the number allowed by:

(1) saving a file position for at least one open file, the file position designating where a next byte in the at least one open file would be accessed;

(2) closing the at least one open file; and

(3) opening the file;

wherein subsequent accesses to the at least one open file that has been closed are made transparently to the predetermined program in the Java programming language by closing at least one currently open file, retrieving the file position previously saved, and opening and restoring the file position for that file.

2. The method of claim 1 further comprising:

saving the file position in storage allocated for usage by Java code.

3. The method of claim 1 further comprising:

implementing the second programming language as C programming language.

4. The method of claim 1 further comprising:

providing a table;

storing arbitrarily long file names in a first format;

storing corresponding shortened names in a second format not exceeding a maximum number of characters; and

translating from the first format to the second format when a file is initially opened under control of the Java programming language, the translating being implemented transparent to any Java programming language application so that the Java programming language does not utilize the corresponding shortened names.

5. The method of claim 4 further comprising:

performing the translating only when the operating system does not permit file names having a length exceeding a predetermined maximum number of characters.

6. The method of claim 4 further comprising:

performing the translating only when the operating system does not support first format file names.

7. The method of claim 4 further comprising:

placing a unique identifier within predetermined positions of the shortened names to identify which file is being retrieved by the operating system.

8. The method of claim 7 further comprising:

using the unique identifier to bypass the translating of the first format to the second format when a predetermined file is reopened after being previously closed.

9. The method of claim 1 further comprising:

providing a table;

storing a directory in the table, the directory indicating a Java language application suite corresponding to a predetermined file; and

using the directory in the table to distinguish files of the same name belonging to different Java language application suites.

10. The method of claim 1 further comprising:

using storage allocated for use by Java code to contain variables such as file position needed by the second programming language.

11. The method of claim 10 further comprising:

using the variables to track the current position within an open file and to reopen and reposition the file if the file is temporarily closed.

12. The method of claim 10 further comprising:

using automatic memory management features of the Java programming language including garbage collection to reclaim storage when the file is no longer in use.

13. The method of claim 1 further comprising:

implementing the device as a portable, wireless device.

14. A method of interfacing a file system in a device that uses both a Java programming language and another programming language, comprising:

selecting a predetermined operating system;

overlying a Java virtual machine for executing programs within the operating system in the another programming language;

overlying the operating system with a file system interface layer;

overlying libraries to the Java virtual machine and the file system interface layer, the libraries running in the Java programming language;

using the file system interface to determine if a maximum number of open Java files has been exceeded, and if so, storing position information of at least one open Java file in a currently open Java application prior to closing the at least one open Java file; and

subsequently reopening the at least one open Java file by restoring the position information transparent to any Java application.

15. The method of claim 14 further comprising:

providing a table;

storing a directory in the table, the directory indicating a Java language application suite corresponding to a predetermined file; and

using the directory in the table to distinguish files of the same name belonging to different Java language application suites.

16. The method of claim 15 further comprising:

using storage allocated for use by Java code to store variables needed by the another programming language.

17. The method of claim 16 further comprising:

using the variables to track the current position within an open file and to reopen and reposition the file if the file is temporarily closed.

18. The method of claim 14 further comprising:

providing a table;

storing arbitrarily long file names in a first format;

storing corresponding shortened names in a second format not exceeding a maximum number of characters; and

translating from the first format to the second format when a file is initially opened under control of the Java programming language, the translating being implemented transparent to any Java programming language application so that the Java programming language does not utilize the corresponding shortened names.

19. The method of claim 18 further comprising:

placing a unique identifier within predetermined positions of the shortened names to identify which file is being retrieved by the operating system.

20. The method of claim 19 further comprising:

using the unique identifier to bypass the translating of the first format to the second format when a predetermined file is reopened after being previously closed.

Assignments (22)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE LISTED CHANGE OF NAME SHOULD BE MERGER AND CHANGE PREVIOUSLY RECORDED AT REEL: 040652 FRAME: 0180. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Jan 12, 2017
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 041354/0148 →
CHANGE OF NAME Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 040652/0180 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0553 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037354/0225 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0143 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded May 13, 2010
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 024397/0001 →
SECURITY AGREEMENT Recorded Feb 2, 2007
From: FREESCALE SEMICONDUCTOR, INC.; FREESCALE ACQUISITION CORPORATION; FREESCALE ACQUISITION HOLDINGS CORP.; FREESCALE HOLDINGS (BERMUDA) III, LTD.
To: CITIBANK, N.A. AS COLLATERAL AGENT
Reel/Frame 018855/0129 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2004
From: MOTOROLA, INC
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 015360/0718 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 31, 2002
From: SU, PAUL SHENG-CHI; LYNCH, JAMES; RAUCH, SAMUEL J.
To: MOTOROLA, INC.
Reel/Frame 012578/0755 →